/* .container{
    max-width: 1400px !important;
} */

#learndash-page-content{
    padding: 30px 30px !important;
}
.lms-header-instructor
{
    display: none !important;
}
.single #learndash-course-header
{
    max-width: 1400px !important;
}
.body .login .login-heading a {
    text-decoration: underline !important;
    text-decoration-style: dashed !important;
}
@media (min-width: 1024px) {
    .learndash-wrapper .learndash_content_wrap {
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    .learndash-wrapper .bb-lms-header .lms-header-title {
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

/* WDM LearnDash Course Cards Styles */

/* Container for all course cards */
.wdm-course-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1320px;
    margin: 0 auto;
}

/* Individual course card */
.wdm-course-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.wdm-course-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

/* Course image container */
.wdm-course-image-container {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.wdm-course-image {
    position: absolute;
    top: 0;
    bottom: 0;
    left: -2px;
    right: -2px;
    margin: auto;
    z-index: 0;
    min-height: 100%;
    width: auto;
    min-width: 100%;
    object-fit: cover;
}

.wdm-course-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    font-weight: 500;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

/* Course tags */
.wdm-course-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 16px 20px 0;
    margin-bottom: 12px;
}

.wdm-tag {
    display: inline-block;
    padding: 0px 12px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 400;
}

.wdm-tag-paid {
    background-color: #1e40af;
    color: white;
}

.wdm-tag-free {
    background-color: #059669;
    color: white;
}

.wdm-tag-type,
.wdm-tag-language {
    background-color: #f3f4f6;
    color: #374151;
}

/* Course title */
.wdm-course-title {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 12px 0;
    padding: 0 20px;
    line-height: 1.3;
}

.wdm-course-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.wdm-course-title a:hover {
    color: #111827;
}

/* Course description */
.wdm-course-description {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
    margin: 0 0 20px 0;
    padding: 0 20px;
    flex-grow: 1;
}

/* Course details list */
.wdm-course-details {
    list-style: none;
    margin: 0 0 20px 0;
    padding: 0 20px;
}

.wdm-detail-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-size: 14px;
    color: #374151;
}

.wdm-detail-item:last-child {
    margin-bottom: 0;
}

.wdm-detail-icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    flex-shrink: 0;
}

.wdm-detail-icon svg {
	width: 24px;
	height: 24px;
}

.wdm-detail-text {
	font-size: 12px;
	margin-top: 5px;
	color: #012D68;
    flex-grow: 1;
}

/* Learn More button */
.wdm-course-actions {
    margin: 0 20px 20px;
    padding-top: 20px;
	border-top: 1px solid #0000002e;
	text-align: center;
	display: flex;
	justify-content: center;
}

.wdm-learn-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: start;
    width: fit-content;
	gap: 10px;
	max-height: 44px;
    padding: 3px 10px 3px 20px;
    background-color: white;
    color: #161616;
    border: 1px solid #161616;
    border-radius: 30px;
    font-weight: 600;
    font-size: 18px;
	line-height: 40px;
    transition: all 0.3s ease;
}

.wdm-learn-more-btn:hover {
	background-color: #003478;
    color: #FFFFFF;
    border-color: #003478;
}
}

.wdm-arrow {
	height: 35px;
	width: 35px;
}

.wdm-arrow svg {
	height: 100%;
	width: 100%;
}

/* .wdm-learn-more-btn:hover .wdm-arrow {
    transform: translateX(2px);
} */

/* Error messages */
.wdm-error {
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
    padding: 12px 16px;
    border-radius: 8px;
    margin: 20px 0;
    font-size: 14px;
}

/* Responsive design */
@media (max-width: 768px) {
    .wdm-course-cards-container {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 16px;
    }
    
    .wdm-course-card {
        margin-bottom: 0;
    }
    
    .wdm-course-title {
        font-size: 18px;
    }
    
    .wdm-course-description {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .wdm-course-cards-container {
        padding: 12px;
    }
    
    .wdm-course-tags {
        padding: 12px 16px 0;
    }
    
    .wdm-course-title {
        padding: 0 16px;
        font-size: 16px;
    }
    
    .wdm-course-description {
        padding: 0 16px;
    }
    
    .wdm-course-details {
        padding: 0 16px;
    }
    
    .wdm-course-actions {
        padding: 0 16px 16px;
    }
}

/* Loading state */
.wdm-course-cards-container.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Animation for card appearance */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wdm-course-card {
    animation: fadeInUp 0.6s ease-out;
}

.wdm-course-card:nth-child(2) {
    animation-delay: 0.1s;
}

.wdm-course-card:nth-child(3) {
    animation-delay: 0.2s;
}

.wdm-course-card:nth-child(4) {
    animation-delay: 0.3s;
}

.wdm-course-card:nth-child(5) {
    animation-delay: 0.4s;
}

.wdm-course-card:nth-child(6) {
    animation-delay: 0.5s;
}

@media (max-width: 1024px) {
	.wdm-course-cards-container {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		align-items: stretch;
	}	
	
	.wdm-course-card {
		width: 45%;
		height: auto;
	}
	
	.wdm-learn-more-btn {
		font-size: 14px;
	}
	
	.wdm-arrow {
		top: 4px;
	}
}

@media (max-width: 767px) {
    .wdm-course-card {
        width: 100%;
        height: auto;
    }
	
	.wdm-course-cards-container {
		padding: 0px;
	}
	
	.wdm-learn-more-btn {
		margin-top: 10px;
		margin-bottom: 0px;
        font-size: 14px;
    }
	
	.wdm-course-actions {
		margin-bottom: 0px;
	}
}

.eael-entry-header-after {
	width: 90%;
}

.eael-tags-list {
	padding: 3px 12px;
	background: #012D68;
	border-radius: 30px;
	margin-left: 10px;
	font-size: 9px;
    align-self: center;
}

.eael-grid-post-holder .eael-entry-header {
	margin-top: 50px;
}

.eael-grid-post-holder .eael-posted-on::before {
	content: none!important;
}

.eael-grid-post-holder .eael-posted-on {
	display: inline-flex;
	align-items: center;
	justify-content: flex-end;
	gap: 7px;
}


.eael-grid-post-holder .eael-posted-on i {
	font-size: 20px;
}

.eael-grid-post-holder .eael-posted-on time {
	font-size: 12px;
	line-height: 24px;
	padding-top: 5px;
}

.eael-tags-list a {
	font-size: 10px;
	color: #FFFFFF;
}

.eael-entry-meta {
	justify-content: space-between;
	width: 100%;
}

#course-dir-list .bb-course-items.grid-view .bb-course-item-wrap {
    flex: 0 0 31%;
}

.ld-secondary-header {
	background: #EFEFEF;
	border: 1px solid #CECECE;
	padding: 20px 20px 20px 30px;
}

.ld-secondary-header .sfwd-courses-filters .bp-navs {
	margin-top: 0px;
	margin-bottom: 0px;
}

#courses-all a {
	padding: 0px;
}

#bb-courses-directory-form .bb-secondary-list-tabs {
	justify-content: space-between;
}

.wdm_search_container {
	display: flex;
	align-items: center;
}

#courses-dir-search {
	margin: 0px;
	margin-right: 12px;
}

#course-dir-list .bb-grid {
	justify-content: center;
	column-gap: 42px;
	row-gap: 70px;
}

.wdm-detail-icon img {
	width: 100%;
	height: 100%;
}

.wdm-learn-more-btn i {
    transform: rotate(45deg);
}

@media (max-width: 1024px) {

	#course-dir-list .bb-course-items.grid-view .bb-course-item-wrap {
    	flex: 0 0 47%;
	}	
}

@media (max-width: 767px) {
    #course-dir-list .bb-course-items.grid-view .bb-course-item-wrap {
        flex: 0 0 100%;
    }
	
	#course-dir-list .bb-grid {
		row-gap: 40px;
	}
	
	.eael-grid-post-holder .eael-posted-on i {
		font-size: 14px;
	}
	
	.eael-grid-post-holder .eael-posted-on time {
    	font-size: 10px;
    	line-height: 24px;
    	padding-top: 2px;
	}
	
	.wdm-learn-more-btn {
    	line-height: 30px;
	}
}

.bb-header-buttons a.signup {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background-color: #012D68;
	border-radius: 25px;
	padding-right: 5px;
    border: none;
}

.bb-header-buttons a.signup i {
	rotate: -45deg;
	font-size: 14px;
	padding: 5px;
	border-radius: 50%;
	background-color: #FFFFFF;
	color: #012D68;
}

#sfwd_prs-order-by {
	border-radius: 25px;
}

#course-dir-list .bb-lms-pagination a.next::before {
	font-size: 25px;
}

#primary-navbar {
	justify-content: flex-end;
}

@media (min-width: 1024px) and (max-width: 1024px) {
    /* Replace '.your-element-class' with the actual class of the element you want to target */
    .bb-elementor-content .elementor-5657 .elementor-element.e-flex.e-con-boxed.e-con.e-child {
        margin: 0 !important;
        max-width: 100% !important;
    }
}

div#primary-navbar .primary-menu li a {
    color:#161616;
}

.site-header .header-aside i{
    color:#161616 !important;
}

.bb-template-v2 .site-header .user-wrap.menu-item-has-children .user-link .user-name{
    color:#161616 !important;
}

.bb-header-buttons a.button.outline.signin-button{
    color:#161616;
    font-weight: 400;
}

.eael-team-member-name{
    font-size: 20px !important;
}

.page-id-6032 .bb-grid-cell:not(.no-gutter), .bb-grid>:not(.no-gutter){
    padding: 0px;
}

#post-6032 .entry-header{
    display: none !important;
}

.page-id-6032 #content{
    padding-left: 0px !important;
    padding-right: 0px !important;
}

/* Header */

.bb-single-icon .bb-mobile-header .mobile-logo-wrapper,
body:not(.logged-in) .bb-single-icon .bb-mobile-header .mobile-logo-wrapper {
    justify-content: flex-start;
}

.bb-mobile-header .bb-left-panel-icon-wrap {
    padding-right: 15px;
}

.bb-single-icon .bb-mobile-header .header-aside {
    padding-right: 0px;
}

.bb-mobile-panel-wrapper .bb-mobile-panel-inner .main-navigation {
    flex-direction: column;
}

.bb-mobile-panel-inner .bb-header-buttons .link.signin-button {
    padding-left: 0px;
}

.bb-template-v2 .bb-mobile-panel-inner #menu-header-menu.side-panel-menu .menu-item>a {
    padding: 22px 0px 22px 0px;
    border-radius: 0px;
    border-bottom: 1px solid #333333;
	background-color: transparent;	
}

.bb-template-v2 .bb-mobile-panel-inner #menu-header-menu.side-panel-menu .menu-item a span{
    font-size: 18px;
	color: #161616;
    font-weight: 500;
    line-height: 100%;
}

.bb-template-v2 .bb-mobile-panel-inner .bb-primary-menu .current-menu-item a span{
    font-weight: 700 !important;
}

.wdm-mobile #menu-header-menu li {
	min-height: 63px;
}

.wdm-mobile.bb-mobile-panel-inner {
    padding: 0px;
}

#masthead .wdm-mobile .bb-mobile-panel-header {
    padding-left: 20px;
    padding-right: 20px;
    margin: 0px;
    box-shadow: none;
}

#masthead .wdm-mobile .main-navigation {
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 40px;
    /* background-image: linear-gradient(179.98deg, rgba(1, 45, 104, 0) 0.02%, rgba(2, 89, 206, 0.15) 99.98%), url('../images/mobile-menu-bg.png'); */
    background-image: url('../images/1.png');
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat;
}

.wdm-social-icons {
  display: flex;
  gap: 10px;
  justify-content: flex-start;
  align-items: center;
  margin: 40px 0px;
}

.wdm-social-icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  background-color: #3A86FF;
}

.site-header .wdm-social-icons i {
	color: #FFFFFF;
}

/* Hover Effects */
.wdm-social-icon:hover {
  transform: scale(1.1);
  opacity: 0.9;
}

@media screen and (max-width: 782px) {
	.wdm-social-icon { 
		width: 35px;
		height: 35px;
	}
	
	.site-header .wdm-social-icons i { 
		font-size: 20px;
	}
    .bb-mobile-panel-header .logo-wrap img{
        height: 60px;
    }
    .bb-mobile-panel-inner .bb-header-buttons .link.signin-button{
        padding-right: 9px;
    }
    .bb-header-buttons a.signup{
        margin-left: 9px;
    }
}

@media (max-width: 799px) {
    .bb-template-v2 .bb-header-buttons a.button.outline{
        font-weight: 400 !important;
    }
    .bb-header-buttons .bb-separator{
        background: #161616;
        width: 1.38px;
        opacity: 1;
        height: 17px;
    }
    .bb-header-buttons a.signup{
        margin-left: 9px;
    }

    .bb-header-buttons a{
        font-size: 15px !important;
    }
    .bb-mobile-panel-header .logo-wrap img{
        height: 56px;
    }
    .bb-mobile-panel-inner .bb-header-buttons .link.signin-button{
        padding-right: 9px;
    }
}

.elementor-page .site-content .container{
    max-width: 100% !important;
}

