/*
	Theme Name: Master Study Child
	Theme URI: http://stylemix.net
	Description: MasterStudy Child Theme
	Author: StylemixThemes
	Author URI: http://stylemix.net
	Template: masterstudy
	Version: 3.0
	License: GNU General Public License v2 or later
	License URI: http://www.gnu.org/licenses/gpl-2.0.html
	Tags: classes, courses, education, education center, learning center, tutoring, teaching, study, studying, learning, lessons, instructor, teacher, mentor
	Text Domain: masterstudy-child
*/



/* UPD SEPT */
@media (max-width: 400px) {
    .course-title-holder {
        padding-right: 5px;
    }
}

@media(max-width: 480px){
    .woocommerce-MyAccount-navigation ul {
        padding-left: 0;
    }
    .woocommerce-MyAccount-navigation ul li {
        display: block;
    }
}

@media (max-width: 767px) {
    .table-responsive>.table>tbody>tr>td,
    .table-responsive>.table>tbody>tr>th,
    .table-responsive>.table>tfoot>tr>td,
    .table-responsive>.table>tfoot>tr>th,
    .table-responsive>.table>thead>tr>td,
    .table-responsive>.table>thead>tr>th {
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

@media (max-width: 655px) {
    .course_table tr td.number.number-visible.title, .course_table tr td.title {
        padding-left: 20px;
        display: block;
        width: 100%;
    }
    .course_table tr td.stm_badge {
        display: block;
        width: 100%;
        text-align: left;
    }
    .course_table tr td .meta {
        padding-left: 12px;
    }
    .course_table tr td.stm_badge .badge_unit {
        margin-left: 15px;
    }
    .woocommerce-message {
        padding-right: 26px;
    }
    .woocommerce-message .button {
        position: static;
        float: none;
        display: block;
    }
    .woocommerce-message .button:after {
        display: none;
    }
    .shop_table > tbody > tr td.actions {
        padding-left: 15px;
        padding-right: 15px;
    }
    .woocommerce .shop_table.cart .coupon .button {
        display: block;
        margin-top: 15px;
    }
    .woocommerce .shop_table.cart .coupon {
        float: none;
        margin-bottom: 30px;
    }
    .woocommerce .shop_table.cart .button.update-cart {
        float: none;
        margin-bottom: 15px;
    }
}

.tp-caption .icon_in_btn {
    text-align: center !important;
}

@media (max-width: 991px){
    .overflowed_content .wpb_column .vc_column-inner{
        margin-top: 0 !important;
    }
}

body .vc_row[data-vc-full-width] {
    overflow: visible;
}
body .vc_row[data-vc-full-width].vc_parallax {
    overflow: hidden;
}

.woocommerce-product-gallery {
    position: relative;
    margin-bottom: 3em
}
.woocommerce-product-gallery figure {
    margin: 0
}
.woocommerce-product-gallery .woocommerce-product-gallery__image:nth-child(n+2) {
    width: 25%;
    display: inline-block
}
.woocommerce-product-gallery .flex-control-thumbs li {
    list-style: none;
    float: left;
    cursor: pointer
}
.woocommerce-product-gallery .flex-control-thumbs img {
    opacity: .5
}
.woocommerce-product-gallery .flex-control-thumbs img.flex-active, .woocommerce-product-gallery .flex-control-thumbs img:hover {
    opacity: 1
}
.woocommerce-product-gallery img {
    display: block
}
.woocommerce-product-gallery--columns-3 .flex-control-thumbs li {
    width: 33.3333%
}
.woocommerce-product-gallery--columns-4 .flex-control-thumbs li {
    width: 25%
}
.woocommerce-product-gallery--columns-5 .flex-control-thumbs li {
    width: 20%
}
.woocommerce-product-gallery__trigger {
    position: absolute;
    top: 1em;
    right: 1em;
    z-index: 99
}
ol.flex-control-nav.flex-control-thumbs {
    padding-left: 0px;
}
.woocommerce-product-gallery--columns-4 .flex-control-thumbs li {
    width: 20%;
}
.woocommerce-product-gallery__trigger {
    right: inherit;
    left: .5em;
}
.woocommerce div.product div.images .woocommerce-product-gallery__trigger {
    position: absolute;
    top: .5em;
    right: .5em;
    font-size: 2em;
    z-index: 9;
    width: 36px;
    height: 36px;
    background: #fff;
    text-indent: -9999px;
    border-radius: 100%;
    box-sizing: content-box;
}
.woocommerce div.product div.images .woocommerce-product-gallery__trigger:before {
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    border: 2px solid #000;
    border-radius: 100%;
    position: absolute;
    top: 9px;
    left: 9px;
    box-sizing: content-box;
}
.woocommerce div.product div.images .woocommerce-product-gallery__trigger:after {
    content: "";
    display: block;
    width: 2px;
    height: 8px;
    background: #000;
    border-radius: 6px;
    position: absolute;
    top: 19px;
    left: 22px;
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
    box-sizing: content-box;
}


/* Woo My Account Tabs*/
.woocommerce-account .woocommerce-MyAccount-navigation {
    display: table;
    float: none;
    width: 100%; }
.woocommerce-account .woocommerce-MyAccount-content {
    float: none;
    width: 100%;
}
.woocommerce-MyAccount-navigation ul {
    display: table !important;
    table-layout: fixed;
    width: 100%;
    list-style: none;
    padding: 0;
    margin: 0;
    margin-bottom: 30px; }
.woocommerce-MyAccount-navigation  ul > li {
    display: table-cell; }
.woocommerce-MyAccount-navigation  ul > li > a {
    display: block;
    padding: 12px 20px;
    background-color: #457992;
    border: 0;
    border-left: 1px solid #fff;
    border-radius: 0;
    color: #fff;
    text-transform: uppercase;
    text-align: center;
    font-size: 14px;}
.woocommerce-MyAccount-navigation  ul > li.is-active a,
.woocommerce-MyAccount-navigation  ul > li a:hover,
.woocommerce-MyAccount-navigation  ul > li a:focus {
    background-color: #f0f2f5;
    color: #457992; }
.woocommerce div.product form.cart .variations td.label {
    display: none;
}
.woocommerce-product-gallery {
    position: relative;
    margin-bottom: 3em
}
.woocommerce-product-gallery figure {
    margin: 0
}
a.woocommerce-LoopProduct-link.woocommerce-loop-product__link {
    z-index: 9 !important;
}
.stm_archive_product_inner_unit .stm_archive_product_inner_unit_centered .stm_featured_product_price .price h5 {
    font-weight: normal;
}
.widget_stm_recent_posts span.h6 {
    display: inline !important;
}
.widget_stm_recent_posts .cats_w {
    margin-left: 83px;
}


/* CUSTOM STYLE */
/* ELEMENTI GENERALI */
.btn-default {background-color: #ff1f59 !important; border: 3px solid #ff1f59 !important;}
.stm_image_box.stm_image_box__style_1 {padding:30px !important;}


/* HEADER */
.transparent_header_off:after {content: ""; display: block; position: absolute; width: 100%; height: 3px; z-index: 10; bottom: -3px; left: 0; right: 0; background: rgba(0,0,0,.1);}
#header-mobile .header_mobile {background-color:#fff;}
.masterstudy-theme #wrapper .header_2 .header_top .stm_courses_search .stm_lms_courses_search__button {background-color: #ff1f59;}


/* HOMEPAGE */
.stm_lms_recent_courses__term {color:#000 !important;}
.stm_lms_recent_courses__term:hover {background-color: #ff1f59 !important;}

.sezione-sale .elementor-column > .elementor-widget-wrap, .sezione-sale .elementor-column > .elementor-widget-wrap .elementor-widget-stm_icon_box, .sezione-sale .elementor-column > .elementor-widget-wrap .elementor-widget-stm_icon_box .elementor-widget-container, .sezione-sale .elementor-column > .elementor-widget-wrap .elementor-widget-stm_icon_box .elementor-widget-container .masterstudy_elementor_icon_box {height:100% !important;}

.sezione-home-img .stm_image_box {align-items: center;}
.sezione-home-img .stm_image_box img {width: 60%; margin-right: 10px !important;}
.sezione-home-img .stm_image_box__content {width: 40%;}


/* PROPONI LA TUA IDEA */
.gform_wrapper.gravity-theme .ginput_complex .ginput_container_date {width:26% !important; flex-basis: auto !important;}


/* CORSI */
.stm_lms_courses__single--info_preview a {border: 3px solid #ff1f59 !important;}
.courses_filters__activities .lms_courses.search .stm_lms_courses__search .lms-search-btn, .courses_filters .stm_lms_courses_grid__sort .sort_label {background-color: #ff1f59 !important; border: 2px solid #ff1f59 !important;}
body:not(.academy,.classic_lms,.classic-lms-2) span.select2-container--default .select2-selection--single .select2-arrow b:after, body:not(.academy,.classic_lms,.classic-lms-2) span.select2-container--default .select2-selection--single span.select2-selection__arrow b:after {display:none !important;}

.single-stm-courses .stm-lms-wrapper {margin-bottom:30px;}
.single-stm-courses .stm_lms_course__content {padding:30px;}
.single-stm-courses .stm_lms_course__content p {margin-bottom:0px;}
.masterstudy-theme .stm-lms-course__sidebar .stm-lms-buy-buttons .stm_lms_mixed_button .buy-button {background-color:#ff1f59 !important;}
.masterstudy-theme .stm-lms-course__sidebar .stm-lms-buy-buttons .stm_lms_mixed_button .buy-button:hover, .stm-lms-review-btn:hover {color:#ff1f59 !important;}
.stm-lms-buy-buttons .btn:not(.start-course).btn_big {justify-content:center;}
.single-stm-courses .stm-lms-buy-buttons .stm_lms_mixed_button.subscription_disabled .btn_big {padding-right:0px !important; padding-left:0px !important;}
.stm-lms-buy-buttons .btn:not(.start-course).btn_big span {margin-right:0px !important;}
.stm-lms-buy-buttons .start-course {border-radius: 45px !important;}
.stm-lms-wishlist:hover i, .stm-lms-wishlist:hover i.far {border-color: #ff1f59; background-color: #ff1f59; color: #fff;}
.stm-curriculum-item:hover .stm-curriculum-item__title .heading_font {color: #ff1f59 !important;}


/* USER ACCOUNT */
.masterstudy-theme .stm-lms-wrapper .create-announcement-btn {background-color: #ff1f59!important; border-radius:45px!important;}
body.stm_lms_button .stm-lms-user-courses .stm_lms_instructor_courses__single--enroll a.btn.btn-default, body.stm_lms_button .stm-lms-user-courses .stm_lms_instructor_courses__single--enroll a.btn.btn-default:hover, body.stm_lms_button .stm-lms-user-courses .stm_lms_instructor_courses__single--enroll a.btn.btn-default:visited {background-color: #ff1f59!important; color:#fff!important;}
body.stm_lms_button .stm-lms-user-courses .stm_lms_instructor_courses__single--enroll a.btn.btn-default:hover {color:#ff1f59!important;}
.masterstudy-lms-course-filters .btn-default {border:none !important;}

.stm-lms-user_message_btn .btn {min-width: 180px; background-color: #ff1f59!important;}

.stm-lms-user-account #main .container {margin-top: 80px;}


/* LOGIN */
.stm-lms-modal-login .modal-content {background-color:#ff1f59;}
.modal-body .stm_lms_login_wrapper__actions .btn {background-color: #fff !important; border-color: #fff; color:#ff1f59;}
#stm-lms-register .stm_lms_styled_checkbox {margin-bottom:0px !important;}
.stm_lms_register_wrapper__actions {flex-direction:column; align-items: start !important;}
.stm_lms_register_wrapper__actions .btn {margin:30px auto 0 auto;}
.modal-body .stm_lms_register_wrapper__actions .btn {background-color: #ff1f59 !important;}
.stm-lms-modal-login .stm-lms-message {color:#fff !important; font-weight: 900 !important;}

.page-id-4983 .stm_lms_login_wrapper__actions .btn {background-color: #fff!important; color:#ff1f59!important;}
.page-id-4983 .stm_lms_register_wrapper__actions .btn {background-color: #ff1f59!important;}


/* EVENTS */
.single-events .events .container {padding-bottom:30px;}


/* CONTATTI */
.sez-contatti > div {padding:0px !important;}


/* FOOTER */
#footer, footer {position:relative !important;}
#footer .container {padding-left:30px; padding-right:30px;}
#wrapper:after {content: ""; display: block; position: absolute; width: 100%; height: 3px; z-index: 30; bottom: -3px; left: 0; right: 0; background: rgba(0,0,0,.1);}
#media_image-2 {text-align:right;}


/* MEDIA QUERIES */
@media screen and (max-width:1024px) {
	.sez-telefono {border-bottom:1px solid #E1E2E4;}
}

@media screen and (max-width:991px) {
	/* corsi */
	.single-stm-courses .col-md-3 {margin-top:50px;}
	.stm_lms_course__image img {max-width:100vw; width:100vw; object-fit:cover;}
}

@media screen and (max-width:767px) {
	/* elementi generali */
	.container, .elementor-widget-wrap {padding-left:30px !important; padding-right:30px !important;}
	
	/* homepage */
	.stats_counter.with_border_right:after {display:none !important;}
	.sezione-sale .elementor-column > .elementor-widget-wrap, .sezione-sale .elementor-column > .elementor-widget-wrap .elementor-widget-stm_icon_box, .sezione-sale .elementor-column > .elementor-widget-wrap .elementor-widget-stm_icon_box .elementor-widget-container, .sezione-sale .elementor-column > .elementor-widget-wrap .elementor-widget-stm_icon_box .elementor-widget-container .masterstudy_elementor_icon_box {height:auto !important;}
	
	/* corsi */
	.stm_lms_courses__grid_found_1, .stm_lms_courses__grid_found_2, .stm_lms_courses__grid_found_3, .stm_lms_courses__grid_found_4 {margin-bottom:0px !important;}
	
	/* contatti */
	.sez-contatti .elementor-widget-wrap {padding:0px !important;}
	
	/* footer */
	#media_image-2 {text-align:left;}
}

@media screen and (max-width:649px) {
	/* homepage */
	.stm_lms_courses__single {margin-bottom:20px;}
}

@media screen and (max-width:450px) {
	/* events archive */
	.post-type-archive-events .event_img img {max-width:100vw; width:100vw; object-fit:cover;}
	
	/* corsi */
	.lms_courses.sort {width: 100px; flex-direction: column !important; gap: 20px;}
}