/* 
Theme Name: Leader Connect
Description: Leader Connect Wordpress Theme
Author: We Are Digital
Author URI: www.wearedgtl.co.uk
Template: hello-elementor
Version: 1.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.wearedgtl.co.uk
*/

/* Add your custom styles here */

.elementor-widget-loop-grid .elementor-pagination span {
	font-family:'Roboto';
}

/* Woocommerce Account Styling */
.woocommerce-account #content{
	margin:4rem 30px;
	padding: 30px;
	background-color: #007FBD;
	border-radius:25px;
	max-width: 900px;
    
    padding-left: 15px;
    padding-right: 15px;
    
    box-sizing: border-box; 
    
    width: auto;
}
.woocommerce-account #content .page-header {
	text-align: center;
	color:#fff;
}
.woocommerce-account #content .page-content .woocommerce {
	color:#fff;
	display: flex;
	flex-direction: column;
}
.woocommerce-account #content .page-content .woocommerce .woocommerce-LostPassword.lost_password a {
	color:#fff;
}

.account_content .woocommerce {
	box-shadow: 0px 15px 54px 0px #0000001A;
	padding: clamp(1.25rem, 0.9466rem + 1.2945vw, 2.5rem);
	border-radius: 10px;
	background: #fff;
	max-width: 600px;
	margin: auto;
}
.woocommerce-account .woocommerce-MyAccount-navigation {
	float: left;
	width: 100%;
}
.woocommerce-account .woocommerce::after, .woocommerce-account .woocommerce::before {
	content: " ";
	display: table;
}
.woocommerce-account .woocommerce::after {
	clear: both;
}
.woocommerce-account.member-logged-in #content {
	max-width:1200px;
}
.woocommerce-account.member-logged-in #content .page-content .woocommerce {
		flex-direction: column;
}
.woocommerce-MyAccount-navigation ul {
	list-style: none;
}
.woocommerce-MyAccount-navigation ul li {
	border-bottom: 1px solid #fff;
	margin-bottom: .375rem !important;
	width:100%;
}
.woocommerce-MyAccount-navigation ul li a {
	padding-left: 0;
	color: #FFF;
	text-decoration:none;
	font-size: 1rem;
  	font-family: Poppins;
  	line-height: 45px;
  	font-weight: 400;
}
.woocommerce-MyAccount-navigation ul li a:hover, .woocommerce-MyAccount-navigation ul li.is-active a {
	text-decoration: none;
}
.woocommerce-MyAccount-navigation ul li a:hover, .woocommerce-MyAccount-navigation ul li.is-active a {
	color: #FFB200;
}
.woocommerce-account .woocommerce-MyAccount-content {
	float: right;
	width: 100%;
}
.woocommerce-account .woocommerce-MyAccount-content a {
	color: #ffb200;
	text-decoration:none;
}
.woocommerce-account .woocommerce-MyAccount-content p {
font-size: 1rem;
  color: #fff;
  font-family: Poppins;
  line-height: 28px;
  font-weight: 400;
}
.woocommerce-account .woocommerce-MyAccount-content .woocommerce_account_subscriptions p {
	color:#333;
}
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.member-logged-in .account_content .woocommerce {
	max-width: 100%;
}
.account_content .woocommerce {
	box-shadow: 0px 15px 54px 0px #0000001A;
	padding: clamp(1.25rem, 0.9466rem + 1.2945vw, 2.5rem);
	border-radius: 10px;
	background: #fff;
	max-width: 600px;
	margin: auto;
}


/* Styling for Account dashboard page on mobile */
@media (max-width: 967px) {
	
	/* Dropdown Trigger Button */
	.woocommerce-MyAccount-navigation {
        position: relative;
        width: 100%; 
        border: 1px solid #ddd;
        margin-bottom: 20px;
    }
	
    /* Hide the list by default */
    .woocommerce-MyAccount-navigation ul {
        display: none;
		position: absolute;
        top: 100%;
        left: 0;
        z-index: 100;
        width: 100%; 
        background-color: #fff;
        border: 1px solid #ccc;
        border-top: none; 
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        padding: 0;
        margin: 0;
    }
    
    /* Insert a new element to serve as the button/header */
    .woocommerce-MyAccount-navigation:before {
        content: "Account Menu ▾"; 
        display: block;
        padding: 15px;
		color:#333;
        background-color: #f7f7f7;
        font-weight: bold;
        cursor: pointer;
        text-align: center;
        border-bottom: 1px solid #ddd;
    }
    
    /* Show the list when the 'open' class is applied by JavaScript */
    .woocommerce-MyAccount-navigation.open ul {
        display: block;
        border-top: none; 
    }
    
    /* Basic styling for the list items inside the dropdown */
    .woocommerce-MyAccount-navigation.open ul li {
        border-bottom: 1px solid #eee;
        list-style: none;
        margin: 0;
    }
	.woocommerce-MyAccount-navigation.open ul li.is-active {
        background-color:#007FBD;
    }
    .woocommerce-MyAccount-navigation.open ul li:last-child {
        border-bottom: none;
    }
    .woocommerce-MyAccount-navigation.open ul li a {
        display: block; 
        padding: 10px 15px;
        text-decoration: none;
        color: #333;
    }
	.woocommerce-MyAccount-navigation.open ul li.is-active a {
        color:#fff;
    }
}

@media (min-width: 968px) {
	.woocommerce-account #content{
		margin:4rem 30px;
	}
	
	.woocommerce-account .woocommerce-MyAccount-navigation {
		float: left;
		width: 30%;
	}
	.woocommerce-account .woocommerce-MyAccount-content {
		float: right;
		width: 68%;
	}
		
	.woocommerce-account.member-logged-in #content .page-content .woocommerce {
		flex-direction: row;
	}
}
@media (min-width:1168px){

	.woocommerce-account #content{
		margin:4rem auto;
	}
	
	.woocommerce-MyAccount-navigation ul li {
		width:60%;
	}
}
@media (min-width:1200px){
/* 	.woocommerce-account #content{
		padding: 2rem;
		margin:4rem auto;
	
	} */
}

/* Single Resource Page styling */
.child-resources-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Style the individual resource list item */
.child-resources-list li {
    background-color: #007FBD;
    border-radius: 20px;
    padding: 0;
    margin: 0;
    display: flex;
}

.child-resources-list li a {
    text-decoration: none;
    color: #fff;
    display: inline-block;
    font-size: 1rem ;
    font-weight: 600 ;
    padding: 1rem 1.5rem ;
    -webkit-transition: all .3s ;
    border-radius: .625rem ;
    border: none ;
    line-height: 1.25;
    align-items: center;
}

/* Add an Arrow Icon using the ::after pseudo-element */
.child-resources-list li a::after {
    display:inline-block;
    content: "";
    background-image: url('data:image/svg+xml,<svg width="14" height="15" viewBox="0 0 14 15" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 7.5L13 7.5M13 7.5L7 13.5M13 7.5L7 1.5" stroke="black" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    width: .875rem;
    height: .875rem;
    margin-left: 10px;
    fill:#fff;
}

/*.child-resources-list li a:hover {*/
/*    background-color: #e0e0e0;*/
/*    color: #000;*/
/*}*/

.child-resources-list li a:hover::after {
    transform: translateY(0%) translateX(6px);
}

/*** Filter Styling ***/
.filter__box {
    display:flex;
    flex-direction: column;
    gap:10px;
}
.filter__box .mobile_categories {
    display: flex;
}
.filter__box .desktop_categories {
    display: none;
}
.filter__box .desktop_categories li a {
    /*display: inline-block;*/
    color: #fff;
    padding: 0 14px 10px;
    border-bottom: 1px solid #BFBFBF;
    border-bottom-color: rgb(191, 191, 191);
    transition: all .5s ease;
    position: relative;
    font-size: 1rem;
    font-family: Poppins;
    line-height: 28px;
    font-weight: 400;
}
.filter__box .desktop_categories li a.active {
    font-weight:700;
    border-color:#fff;
    border-bottom-width:2px;
}
.filter__box select {
    border-color: #9b9b9b;
    padding: 17px 40px 17px 17px;
    min-width: 250px;
    width: 100%;
    border-radius: 5px;
    color: #444;
    background-color: #fff;
    background-image: url(assets/icons/arrow.svg);
    background-repeat: no-repeat;
    background-position: calc(100% - 17px) center;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.video-grid .pagination a, .pagination span {
    color: #444;
    padding: 10px;
    border-radius: 2px;
    text-decoration: none;
    font-weight: 500;
    transition: background .3s;
    display: inline-block;
}

.video-grid .pagination a.next, .pagination a.prev {
    background: #105391;
    border-radius: 2px;
    padding: 10px;
}
.video-grid .pagination .current {
    background: #ffb20045;
    color: #ffb200;
}

#video-grid-overlay, #podcast-grid-overlay {
    /* Hide by default */
    display: none;

    /* Position over the entire content area */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    justify-content: center;
    align-items: center;

    /* Background color with transparency */
    background: rgba(255, 255, 255, 0.7); /* Adjust color/opacity as needed */
    z-index: 10; /* Ensure it covers the posts */
}

.grid-overlay .spinner {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border-top: 4px solid #007FBD;
    border-bottom: 4px solid #007FBD;
    border-top: 4px solid #007FBD;
    -webkit-animation: spin 1s infinite linear;
    animation: spin 4s infinite linear;
    position: relative;
}

@media (min-width: 968px) {
    .filter__box {
        display:flex;
        flex-direction: row;
        gap:10px;
        align-items: center;
    }
    .filter__box .mobile_categories {
        display: none;
    }
    .filter__box .desktop_categories {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        column-gap: 12px;
        row-gap: 20px;
        list-style: none;
    }
    .filter__box .other-filters {
        display:flex;
        flex-direction: column;
        gap:10px;
    }
}
