/**
Theme Name: Trade In Ease
Author: Shane Bou Hamdan
Author URI: http://wpastra.com/about/
Description: Trade In Ease theme - child theme of Astra
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: trade-in-ease
Template: astra
*/

/*course block*/
.course-block {
    transition: transform .2s;
    filter: drop-shadow(0mm 0mm 3px rgba(0, 100, 0, 0.3));
    background: white;
    padding: 10px;
}

.course-block:hover {
    transform: scale(1.04);
}

.course-block a, .learn-press-courses .lp_course a {
    color: black;
}

.course-block a:hover, .learn-press-courses .lp_course a:hover {
    color: #5cb554;
}

.course-block h3 {
    margin-top: 15px;
}

/*sticky footer*/
html, body {
    height: 100%;
}
#page {
    min-height: 100%;
    display: flex;
    flex-direction: column;
}
#content {
    flex-grow: 1;
}
.site-header,
.site-footer {
    flex-shrink: 0;
}

.rtsw-avtar-image img {
    width: auto;
}

/**
Affiliate Manager overrides
**/
.wpam-login-form {
    text-align: center;
}

.pure-menu .pure-menu-selected a {
    color: #000;
}

.pure-menu a, .pure-menu .pure-menu-can-have-children > li:after {
    color: #5cb554;
}

/**
PMPRO overrides
*/
.pmpro-checkout .pmpro_form {
    max-width: 600px;
}
.pmpro_login_wrap, .pmpro_lost_password_wrap, .pmpro_reset_password_wrap, .pmpro_lost_password_wrap {
    text-align: center;
}

#loginform label, #lostpasswordform label {
    text-align: center;
}

form.pmpro_form .pmpro_submit {
    margin-bottom: 1em;
}

/**
Learnpress overrides
*/

ul.learn-press-courses .course {
    filter: drop-shadow(0mm 0mm 3px rgba(0, 100, 0, 0.3));
    background: white;
    padding: 10px;
}

ul.learn-press-courses .course {
    transition: transform .2s;
}

ul.learn-press-courses .course:hover {
    transform: scale(1.04);
}

.single .entry-header .post-thumb-img-content img {
    width: 100%;
    max-width: 700px;
    margin-bottom: 20px;
}

#learn-press-content-item .learn-press-form {
    margin-top: 20px;
}

#course-item-content-header .course-title {
    float: none;
}

#learn-press-profile-header {
    background: #5cb554;
}

#learn-press-profile-header .lp-profile-avatar img {
    border-radius: 50%;
}

#learn-press-profile-nav {
    background: #5cb554;
    padding-bottom: 40px;
}

#learn-press-profile-nav:before {
    background: #5cb554;
}

#learn-press-profile-header {
    height: 118px;
}

#learn-press-profile-header .lp-profile-avatar {
    position: absolute;
    top: 10px;
    left: 10px;
}

.lp-user-profile .profile-name {
    font-size: 13px;
    color: #fff;
    font-weight: bold;
    top: 30%;
    left: 110%;
    white-space: nowrap;
}

#learn-press-profile-nav a {
    font-weight: bold;
}

#learn-press-profile-nav .tabs>li a {
    color: #fff;
}

#learn-press-profile-nav .tabs>li.active>a {
    color: #5cb554;
    background: #c0e8bc;
    font-weight: bold;
}

#learn-press-profile-nav .tabs>li:hover a:hover {
    color: #5cb554;
    background: #c0e8bc;
}

#learn-press-profile-nav .tabs>li.active ul {
    color: #5cb554;
    background: #c0e8bc;
}

#learn-press-profile-nav .tabs>li ul li.active a {
    color: #5cb554;
}

#learn-press-profile-nav .tabs>li:hover:not(.active)>a {
    background: #c0e8bc;
    color: #5cb554;
}

#learn-press-profile-nav .tabs>li:hover:not(.active) ul {
    background: #c0e8bc;
    color: #FFF;
}

.course-item-nav .prev a, .course-item-nav .next a {
    color: #5cb554;
}

@media screen and (max-width: 480px) {
    #learn-press-profile-nav .learn-press-tabs {
        z-index: 10;
    }

    #learn-press-profile-nav .learn-press-tabs {
        background: #5cb554;
        color: #FFF;
    }

    #learn-press-profile-nav .tabs > li.active ul, #learn-press-profile-nav .tabs > li.active a, #learn-press-profile-nav .tabs > li:hover ul, #learn-press-profile-nav .tabs > li:hover a {
        background: #5cb554;
    }

    #learn-press-profile-nav .tabs>li ul li.active a {
        color: #5cb554;
        background: #c0e8bc;
    }

    #learn-press-profile-nav a {
        font-weight: bold;
    }
    
    #learn-press-profile-nav .tabs>li a {
        color: #fff;
    }
    
    #learn-press-profile-nav .tabs>li.active>a {
        color: #5cb554;
        background: #c0e8bc;
        font-weight: bold;
    }
    
    #learn-press-profile-nav .tabs>li:hover a:hover {
        color: #5cb554;
        background: #c0e8bc;
    }
    
    #learn-press-profile-nav .tabs>li.active ul {
        color: #5cb554;
        background: #c0e8bc;
    }
    
    #learn-press-profile-nav .tabs>li:hover:not(.active)>a {
        background: #c0e8bc;
        color: #5cb554;
    }
    
    #learn-press-profile-nav .tabs>li:hover:not(.active) ul {
        background: #c0e8bc;
        color: #FFF;
    }
}

.lp-avatar-preview .profile-picture {
    margin-top: 0;
}

#profile-mobile-menu.fa-bars:before {
    color: #fff;
}

#learn-press-profile-nav:hover #profile-mobile-menu {
    background: #c0e8bc;
    color: #5cb554;
}

.course-author .author-caption {
    display: block;
    font-weight: bold;
}

/**
Astra overrides
*/
.ast-hfb-header .site-footer {
    margin-top: 30px;
}