/*
	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
*/

@media (max-width: 450px) {
    .woocommerce ul.stm-courses li.product {
        padding: 20px 40px!important
    }
}
.product__inner img {
    width: 100% !important;
}

/*Sticky header style*/
.header_default.header_6.fixed .sign-up a{
    color: #333
}
.header_default.header_6.fixed .stmlms-heart1.mtc_h{
  color: #CF0073
}
.stm_lms_wishlist_button:hover .stmlms-heart1.mtc_h{
    color: white!important
}

/*stile h1 archive.php come h2*/
.ud-archive-h1{
    box-sizing: border-box;
    margin-top: 0px;
    font-family: Montserrat;
    color: #273044;
    line-height: 46px;
    font-weight: 700;
    font-size: 36px;
    margin-bottom: 40px;
}
/*stile da Aspetto -> Personalizza inizio*/ 
.single-stm-courses .cmplz-btn {display: none !important}
div#searchModal {
    background: rgba(0, 0, 0, 0.7);
}
.transparent_header.sticky {
    background: #263238;
}
.sticky {
	box-shadow: 5px 0 10px rgb(0 0 0 / 20%);
}
p a:hover {
    color: #0b9db6 !important;
}
#cookie-notice{
	background: #fff !important;
}
#cookie-notice .cn-button,
#cookie-notice .cn-button{
	background-color: #FF249E !important;
	font-family: Montserrat !important;
}
#cookie-notice .cn-button:hover,
#cookie-notice .cn-button:hover{
	color:#CF0073 !important;
}

.form-row-first, .form-row-last {
    width: 48%;
}
.form-row-first {
    float: left;
}
.form-row-last {
    float: right;
}
@media (max-width: 426px) {
    #ragione_sociale_field, #partita_iva_field, #codice_destinatario_field, #indirizzo_fatturazione_azienda_field{
        width: 100%;
        float:none
    }
}

div.masterstudy-single-course-stickybar__row > a.masterstudy-button_style-primary {
	background-color: #FF249E!important;
}

/*Fix colore primario inizio*/
/*Tab*/
li.masterstudy-single-course-tabs__item.masterstudy-single-course-tabs__item_active{
    color: #FF249E!important;
}
li.masterstudy-single-course-tabs__item.masterstudy-single-course-tabs__item_active:after{
    border-top: 3px solid #FF249E!important
}
/*Descrizione moduli*/
.masterstudy-single-course-description__content a.elementor-accordion-title{
    color: #FF249E!important;
}
/*Bottone acquista nella sidebar*/
.button,
.btn-default,
.masterstudy-single-course__sidebar .masterstudy-buy-button{
    background: #FF249E !important;
}
.masterstudy-single-course__cta > div{
    background-color: #FF249E !important;
}
/*icone descrizione corsi*/
.masterstudy-single-course-details__icon::before {
    color:#FF249E !important
} 
/*Fix colore primario fine*/

/*Nasconde icona info in sticky bottom bar inizio*/
.masterstudy-single-course-stickybar_show .masterstudy-hint.masterstudy-hint_side-left{
    display: none
}
/*Nasconde icona info in sticky bottom bar fine*/

/*Nasconde il numero recensioni inizio*/
.masterstudy-single-course__info-block.masterstudy-single-course__info-block_students{
border-right: none    
}
div.masterstudy-single-course__main > div.masterstudy-single-course__info > div:nth-child(3){
    display:none
}
/*Nasconde il numero recensioni fine*/

/*Nasconde il duplicato di corsi popolari nella sidebar inizio*/
.masterstudy-popular-courses{display:none!important}
.masterstudy-single-course-widgets .widget.widget_block{
    display:none
}
/*Nasconde il duplicato di corsi popolari nella sidebar fine*/

/*Nasconde il tag "corso speciale" dopo le categorie inizio*/
.masterstudy-single-course-status_special{
    display:none!important
}
/*Nasconde il tag "corso speciale" dopo le categorie fine*/

/*Nasconde il rating nei corsi correlati a fondo pagina - inizio */
.masterstudy-related-courses__rating{
    display:none !important
}
/*Nasconde il rating nei corsi correlati a fondo pagina - fine */

/*Stile corsi correlati inizio*/
.masterstudy-related-courses__link{
    box-shadow: 0 5px 20px 0 rgba(0, 0, 0, .1);
    border-radius: 10px;
    border: none;
    overflow: hidden;
}
.masterstudy-related-courses__instructor{display: none!important}
/*Stile corsi correlati fine*/

/*icona cuore header inizio*/
.header_main_menu_wrapper i.lnr.lnr-heart.mtc_h:before{
    content: "\e9c0";
    font-size: 16px;
    line-height: normal;
    font-family: stmlms;
    color: white;
    transition: .3s;
    font-style:normal;
    top:-3px;
    left:-1px;
}
.stm-courses-template-default.single .header_main_menu_wrapper i.lnr.lnr-heart.mtc_h:before{
    color: #4d5e6f;
}
body.tech .stm_lms_wishlist_button:hover{
    background-color: #FF249E;
}
body.tech .stm_lms_wishlist_button:hover i{
    color: white
}
/*icona cuore header fine*/

/*descrizione corso sotto h1 inizio*/
.masterstudy-single-course .masterstudy-single-course__desc{
    display:none;
}
/*descrizione corso sotto h1 fine*/

/*nascondi "acquista corso per poi mostrarlo come "iscriviti da js dopo che il dom è caricato inizio*/
.masterstudy-buy-button__title{display: none}
/*nascondi "acquista corso per poi mostrarlo come "iscriviti da js dopo che il dom è caricato fine*/

/*larghezza sidebar corso singolo inizio*/
.masterstudy-single-course__sidebar{
    width:270px!important;
}
/*larghezza sidebar corso singolo fine*/

/*allineamento descrizione livello*/
.masterstudy-single-course-details__quantity{
    text-align:right
}
/*allineamento descrizione livello*/

/*categorie sopra h1, mobile inizio*/
@media(max-width: 675px){
    .masterstudy-single-course-categories__list{display:none!important}
}
/*categorie sopra h1, mobile fine*/

/*bottom stickybar allineamento orizzontale cta e prezzi, mobile inizio*/
@media (max-width: 675px) {
    .masterstudy-single-course-stickybar__row {
        justify-content: space-between!important;
    }
    .masterstudy-single-course-stickybar__row h6{
        text-align:left!important
    }
}
/*bottom stickybar allineamento orizzontale cta e prezzi fine*/

/*corsi correlati zoom out inizio*/
.masterstudy-related-courses__image-wrapper img {
    transition: transform 0.3s ease; /* Smooth transition for the transform property */
    transform-origin: center; /* Ensures the zoom effect is centered */
}

.masterstudy-related-courses__image-wrapper:hover img {
    transform: scale(1.1); /* Reduces the image size to 90% of original on hover */
}
/*corsi correlati zoom out fine*/

/*BLOG?*/
.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;
}

/*header mobile*/
#header-mobile .header_mobile{
    padding: 15px 0!important;
}
#header-mobile{
    position: sticky;
    top: 0;
    background-color: white;
    z-index: 999;
    box-shadow: 1px 1px 1px #999999
}
#header-mobile .logo-unit{
    margin-top:8px!important
}
body.tech .navbar-toggle:hover .icon-bar {
    background-color: #FF249E !important;
}

/*media-query inizio*/
/*fix paypal inizio*/
@media (max-width: 575.98px) {
    .cart_totals .wc-proceed-to-checkout {
        display: flex;
        width: 100%;
        flex-direction: column;
    }
}
/*fix paypal fine*/
@media (max-width: 400px) {
    .course-title-holder {
        padding-right: 5px;
    }
}
@media(max-width: 600px){
	#header .header_2 .navbar-collapse.header-menu-mobile.collapse.in{
		display: block!important;
	}
	#header .header_2 .navbar-collapse.header-menu-mobile.collapse{
		display: none!important;
	}
}
.woocommerce-account-fields {display: none}
@media (min-width:690px){

	.woocommerce-account-fields {    display: inline-block;}
	.create-account label {width: 250px; padding-left: 15px;}
		
}
@media all and (max-width: 768px){
	#header button.navbar-toggle,
	#header button.navbar-toggle:hover,
	#header button.navbar-toggle:active {
		color: #09c0df;
	} 
		body.tech #header .navbar-toggle:hover .icon-bar {
			background-color: #09c0df !important;
	}
	
	.header-menu-mobile ul li > a {
		color: #333333;
	}
	.header-menu-mobile ul li.sign-up-item > a {
		color: #FFFFFF;
	}
	.transparent_header.sticky {
			background: #ffffff;
	}
}
@media (max-width:990px){
	.transparent_header_off.sticky,
	.transparent_header.sticky,
	#header.sticky{
		background: #ffffff !important;
	}
}
@media (max-width:1025px){
	.col-xs-12 > .collapse.navbar-collapse.header-menu-mobile{
		display:none !important;
	}
	.col-xs-12 > .navbar-collapse.header-menu-mobile.collapse.in{
		display:block !important;
	}
	#searchform-mobile{
		margin-top:20px !important;
	}
	#searchform-mobile .search-wrapper .search-submit{
		top: 0px;
    bottom: 0px;
    right: 0px;
    width: 70px;
    margin-top: 0px !important;
		color: #fff !important;
	}

}
/*media-query fine*/

/*stile da Aspetto -> Personalizza - NO inizio*/ 
.btn.btn-default,
.stm_lms_courses__single--info_preview .heading_font {
    color: #ffffff;
}

/*prezzo nella sticky sotto*/
.masterstudy-single-course-stickybar a.masterstudy-button .masterstudy-button__title {
    text-transform: uppercase !important;
}
.stm_lms_course_sticky_panel__price{
    width: 100%;
}
.stm_lms_course_sticky_panel__price h6,.stm_lms_course_sticky_panel .stm_lms_courses__single--price{
    display: flex!important;
}
/*prezzo nella sticky sotto*/
/*stile da Aspetto -> Personalizza - NO fine*/

.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;
}

/*stile da Aspetto -> Personalizza fine*/

/* UPD SEPT */
@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;
    }
}

.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: white;
    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;
}

/*TA only*/
.magic_line{
    bottom: -15px!important;
}

/* discount in product sidebar */
span.masterstudy-single-course-details__icon.single-course-details__icon_custom:before {
    font-family: 'Font Awesome 5 Free';
    content: '\f295';
}
.single-course-details__icon_custom + .masterstudy-single-course-details__name + .masterstudy-single-course-details__quantity{
    color:white;
    background-color: red;
    padding: 2px 6px;
    border-radius:5px
}
.masterstudy-single-course-details.masterstudy-single-course-details_default{
    margin-top:17px!important;
}