/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.2
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/*
    Add your custom styles here
*/

/* Menu */
.jet-mega-menu.jet-mega-menu--animation-fade.jet-mega-menu--layout-horizontal .jet-mega-menu-list .jet-mega-menu-sub-menu {
    background-color: var(--jmm-top-hover-item-bg-color, inherit);
    border-radius: 5px;
    margin-top: 5px;
}

.jet-mega-menu.jet-mega-menu--layout-horizontal .jet-mega-menu-sub-menu {
    min-width: 125px;
}

.jet-mega-menu.jet-mega-menu--layout-horizontal .jet-mega-menu-sub-menu .jet-mega-menu-item__inner,
.jet-mega-menu.jet-mega-menu--layout-horizontal .jet-mega-menu-item__link--sub-level,
.jet-mega-menu.jet-mega-menu--layout-horizontal .jet-mega-menu-sub-menu .jet-mega-menu-item__title,
.jet-mega-menu.jet-mega-menu--layout-horizontal .jet-mega-menu-item__label
{ 
    width: 100%;
    text-align: center;
}

.jet-mega-menu.jet-mega-menu--layout-horizontal .jet-mega-menu-sub-menu__list {
    gap: 0px;
}

.jet-mega-menu.jet-mega-menu--layout-horizontal .jet-mega-menu-sub-menu .jet-mega-menu-item {
    padding-top: 5px;
    padding-bottom: 5px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.jet-mega-menu.jet-mega-menu--layout-horizontal .jet-mega-menu-sub-menu__list li:last-child {
    border-bottom: 0px;
}

/* WooCommerce */
.woocommerce div.product form.cart .variations th, .woocommerce div.product form.cart .variations td {
    background: transparent;
    text-align: left;
    padding-left: 0px;
}

.woocommerce .elementor-widget-woocommerce-product-images span.onsale {
    background-color: #E63E44;
    top: 10px; 
    left: 10px;
}

.woocommerce-variation-description p {
    margin-bottom: 0px;
}

.woocommerce.woocommerce-shop ul.products li.product a img, .post-loop a img {
    transition: all 0.5s;
}

.woocommerce.woocommerce-shop ul.products li.product a img:hover, .post-loop a img:hover {
    transform: scale(1.05);
}

.post-loop a:hover {
    color: rgb(63, 165, 135) !important;
}

.elementor-wc-products ul.products li.product .woocommerce-loop-product__title {
    margin-bottom: 3px !important; 
}

/* Mailchimp */
#mc_embed_signup .mc-field-group input{
    width: 100% !important;
    border-radius: 50px !important;
    font-size: 16px !important;
    padding: 15px 10px !important;
    background-color: rgb(247, 250, 253) !important;
}

#mc_embed_signup form {
    padding: 0px !important;
}

#mc_embed_signup .mc-field-group {
    width: 100% !important;
}

#mc_embed_signup #mc-embedded-subscribe-form div.mce_inline_error {
    background-color: transparent !important;
}
#mc_embed_signup .mc-field-group{
    padding-bottom: 10px !important;
}

#mc_embed_signup .button {
    width: 100% !important;
    background-color: rgb(63, 165, 135) !important;
    color: rgb(255, 255, 255) !important;
    padding: 20px 20px 20px 20px !important;
    border-radius: 50px !important;
    font-family: Outfit, sans-serif !important;
    font-size: 20px !important;
    line-height:20px !important;
    height: auto !important;
    margin-top: 10px !important;
}

#mc_embed_signup div#mce-responses {
    margin: 0px !important;
    top: 0px !important;
}

#mc_embed_signup div.response, #mc_embed_signup #mce-error-response {
    top: 0px !important;
    padding: 0px !important;
    margin: 0px !important;
}

/* Elementor Post */

.elementor-widget-theme-post-content ul li:last-child {
    margin-bottom:20px;
}

/* MemberPress */

.elementor-shortcode .mepr_error {
    margin-top:10px;
    margin-bottom: 0px !important;
}

.elementor-shortcode .mp_wrapper {
    padding: 10px !important;
}

.elementor-shortcode .mepr-product-access-url {
    padding: 20px 10px 0px;
}

.elementor-shortcode .mp_wrapper .mepr_payment_method {
    background-color: transparent !important;
    padding: 0px !important;
    margin-bottom: 10px !important;
}

.elementor-shortcode .mp-form-submit {
    text-align: center;
}

.elementor-shortcode .mepr-submit, .elementor-shortcode .mepr-submit:hover {
    padding: 15px 25px !important;
    font-size: 16px !important;
}

.elementor-shortcode .cc-error {
    font-size: 14px;
}

/* Menu */

.mobile-only {
    display: none !important;
}

@media(max-width:767px) {
    .mobile-only {
        display: block !important;
    }   

    .elementor-widget-jet-mobile-menu {
        margin-top: 20px;
    }
}

.home .jet-mobile-menu__container-inner {
    padding-top: 100px !important;
}

/* Thank You */
#mepr-thank-you-page-message {
    text-align: center;
    margin-top: 70px;
    margin-bottom: 100px;
}

/* Events */

@media(max-width: 767px) {
	.single-mec-events .mec-container {
		width: 100%;
	}
	.single-mec-events .mec-wrap .mec-single-title, .single-mec-events .mec-wrap.mec-no-access-error h1 {
		font-size: 35px !important;
		font-weight: 600  !important;
	    line-height: 1.3em  !important;
	}
}

/* SHORTCODE - Teacherlink */
.teacherlink-mainwrapper {
    margin-bottom:40px;
}

.teacherlink-mainwrapper .main-title {
    font-size:40px;
    font-weight: 500;
    margin-bottom:30px;
    text-align: center;
}

.teacherlink-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap:20px;
    margin-bottom:30px;
}


.teacherlink {
    border:1px solid var( --e-global-color-4afe8d0 );
    transition: background .3s,border .3s,border-radius .3s,box-shadow .3s;
    text-align: center;    
    width:calc( ( 100% - 60px ) / 4 );
    display: flex;
    flex-direction: column;
}

.teacherlink .thumb {
    display: flex;
    margin-bottom:20px;
    height:300px;
}

.teacherlink .thumb img {
    height:100%;
}

.teacherlink .title {
    padding:0 20px 20px;
    margin:0;
    border-bottom:1px solid var( --e-global-color-4afe8d0 );
    flex:1;
}

.teacherlink .title a {
    color:var( --e-global-color-primary );
    font-size:20px;
    font-family: Outfit;    
}

.teacherlink .cta {
    margin:0;
}

.teacherlink .cta a {
    padding:10px 20px;    
    color:var( --e-global-color-primary );
    width:100%;
    display: block;
}

.teacherlink .cta a:hover,
.teacherlink .cta a:focus {
    background-color: var( --e-global-color-4afe8d0 );
}

.teacherlink-mainwrapper .button {
    display: flex;
    justify-content: center;
}

.teacherlink-mainwrapper .button a {
    color:var( --e-global-color-be955b7 );
    background-color: var( --e-global-color-682aae9 );
    padding:10px 20px;
    border-radius: 5px;
    cursor: pointer;
}

.teacherlink-mainwrapper .button a:hover,
.teacherlink-mainwrapper .button a:focus {
    color:var( --e-global-color-be955b7 );
    background-color: var( --e-global-color-af0762e );
}


@media( max-width:991px ) {
    .teacherlink {
        width:calc( ( 100% - 60px ) / 2 );
    }
}

@media( max-width:767px ) {
    .teacherlink {
        width:100%;
    }
}