/*
Theme Name: Salient Child Theme
Description: This is a custom child theme for Salient
Theme URI:   https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
Author: ThemeNectar
Author URI:  https://themeforest.net/user/themenectar
Template: salient
Version: 1.0
Text Domain: salient-child
*/

#footer-outer #footer-widgets .col .wp-block-social-links .wp-social-link{ 
	padding: 5px!important; 
	cursor: pointer;
}

#footer-outer #footer-widgets .col .wp-block-social-links .wp-social-link a:hover,
#footer-outer #footer-widgets .col .wp-block-social-links .wp-social-link a:focus,
#footer-outer #footer-widgets .col .wp-block-social-links .wp-social-link a:active{
	color: #fff!important;
}

.vz-owned-badge{
    display:inline-flex;
    align-items:center;
    gap:6px;
    margin:8px 0;
    padding:6px 12px;
    border-radius:999px;
    background:#e8f7ed;
    color:#1e7e34;
    font-size:16px;
    font-weight:600;
    line-height:1;
}

.vz-owned-badge .dashicons{
    width:16px;
    height:16px;
    font-size:16px;
}

.woocommerce-MyAccount-navigation-link--courses a::before {
    content: "\f19d"!important; /* fa-graduation-cap */
    width: 14px!important;
}

.account-courses-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:30px;
}

.account-course-card{
    background:#fff;
    border:1px solid #ececec;
    border-radius:10px;
    overflow:hidden;
    transition:.25s;
}

.account-course-card:hover{
    transform:translateY(-4px);
    box-shadow:0 8px 24px rgba(0,0,0,.08);
}

.account-course-image{
    display:block;
    aspect-ratio:16/9;
    overflow:hidden;
}

.account-course-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.account-course-content{
    padding:18px;
}

.account-course-title{
    margin:0 0 15px;
    font-size:20px;
    line-height:1.35;
}

.account-course-title a{
    color:#222;
    text-decoration:none;
}

.account-course-button{
    display:inline-block;
    color:#3f51b5;
    text-decoration:none;
    font-weight:600;
}

.account-course-button:hover{
    text-decoration:underline;
}

@media (max-width:1024px){

    .account-courses-grid{
        grid-template-columns:repeat(2,1fr);
    }

}

@media (max-width:640px){

    .account-courses-grid{
        grid-template-columns:1fr;
    }

}

.course-status{
    display:inline-block;
    padding:4px 10px;
    margin-bottom:12px;
    border-radius:20px;
    font-size:12px;
    font-weight:600;
    text-transform:uppercase;
}

.course-status.completed{
    background:#dff6e4;
    color:#198754;
}

.course-status.progress{
    background:#fff3cd;
    color:#856404;
}

.course-status.not-started{
    background:#ececec;
    color:#666;
}

.course-progress{
    margin:18px 0;
}

.course-progress-bar{
    height:8px;
    background:#ececec;
    border-radius:999px;
    overflow:hidden;
}

.course-progress-bar span{
    display:block;
    height:100%;
    background:#2e7d32;
    width:0;
    transition:width .3s;
}

.course-progress-info{
    display:flex;
    justify-content:flex-end;
    margin-top:6px;
    font-size:13px;
    color:#777;
}



.woocommerce-MyAccount-navigation ul li.is-active a{
    background: #f8f8f8;
}

.woocommerce-MyAccount-navigation ul li a{
    opacity: initial;
    padding-left: 20px;
}

.woocommerce-MyAccount-navigation ul li a:hover{
    background: #f8f8f8;
}