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

/****************************GENERAL****************************/
@font-face {
    font-family: 'CheGuevara Barry Brown';
    src: url('font/CheGuevaraBarry-Brown.woff2') format('woff2'),
        url('font/CheGuevaraBarry-Brown.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Lato';
    font-display: swap;
    src: url('font/Lato-Regular.woff2') format('woff2'),
         url('font/Lato-Regular.woff') format('woff');
    font-style: normal;
    font-weight: normal;
}

@font-face {
    font-family: 'Lato';
    font-display: swap;
    src: url('font/Lato-Italic.woff2') format('woff2'),
         url('font/Lato-Italic.woff') format('woff');
    font-style: italic;
    font-weight: normal;
}

@font-face {
    font-family: 'Lato';
    font-display: swap;
    src: url('font/Lato-Light.woff2') format('woff2'),
         url('font/Lato-Light.woff') format('woff');
    font-style: normal;
    font-weight: 300;
}

@font-face {
    font-family: 'Lato';
    font-display: swap;
    src: url('font/Lato-LightItalic.woff2') format('woff2'),
         url('font/Lato-LightItalic.woff') format('woff');
    font-style: italic;
    font-weight: 300;
}

@font-face {
    font-family: 'Lato';
    font-display: swap;
    src: url('font/Lato-Bold.woff2') format('woff2'),
         url('font/Lato-Bold.woff') format('woff');
    font-style: normal;
    font-weight: bold;
}

@font-face {
    font-family: 'Lato';
    font-display: swap;
    src: url('font/Lato-BoldItalic.woff2') format('woff2'),
         url('font/Lato-BoldItalic.woff') format('woff');
    font-style: italic;
    font-weight: bold;
}

@font-face {
    font-family: 'Lato';
    font-display: swap;
    src: url('font/Lato-Black.woff2') format('woff2'),
         url('font/Lato-Black.woff') format('woff');
    font-style: normal;
    font-weight: 900;
}

@font-face {
    font-family: 'Lato';
    font-display: swap;
    src: url('font/Lato-BlackItalic.woff2') format('woff2'),
         url('font/Lato-BlackItalic.woff') format('woff');
    font-style: italic;
    font-weight: 900;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'CheGuevara Barry Brown'!important;	
}

body {
	font-family: 'Lato'!important;
    font-weight: normal;
}
/**************CUSTOM*******************/
.upcontainer {
	bottom: 120px;
}.upcontainer .elementor-widget-image {
	bottom: 0px!important;
	position: relative;
    transition: all 250ms ease !important;
}
.upcontainer .elementor-widget-image:hover {
	bottom: 30px!important;
    transition: all 250ms ease !important;
}
.upcontainer .elementor-widget-image a {
	display: block;
}
.corsi-home {
	bottom: 50px
}
h1.masterstudy-single-course-title {
    color: #008B6B!important;
}
header {
	border-top: 15px solid #008B6B;
	box-shadow: 0 4px 3px -2px rgba(0, 0, 0, 0.2);
}
.aderisci-big .fs-2,
.aderisci-big .fs-2 .greeny{
    font-family: 'CheGuevara Barry Brown'!important;
}
.greeny {
	color:#DFFF5A;
}
.blog_main_layout_grid .post_list_item_title.h3,
.blog-home .h3{
	font-family: 'CheGuevara Barry Brown'!important;	
	color: #008B6B;
}
.blog_main_layout_grid .post_list_item_title.h3:hover,
.blog-home .h3:hover{
	color: #A2C617!important;
}
.blog-home .h3 {
	font-size: 1.4em
}
.post_list_featured_image {
	border-radius: 6px
}
.stm_post_unit .text_block {
	font-size: 1.25em!important;
	line-height: 1.6em
}
h1.h2.post_title {
	color: #008B6B;
}
.post_by.h6,
.comments_num,
.blog_main_layout_grid .multiseparator,
.masterstudy-curriculum-list__trial,
.masterstudy-curriculum-accordion__trial-hint {
	display: none!important;
}
.entry-header {
	background-image: url("https://fad.tiriuso.it/wp-content/uploads/2025/04/bg.jpg");
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center top;
}

.entry-header h2.h1 {
	color: white;
}
.navxtBreads, 
.navxtBreads span{
	color:#008B6B!important;
	font-weight: 600;
	font-size: 12px!important;
    transition: all 250ms ease !important;
}
.stm_breadcrumbs_unit .navxtBreads>span a span:hover{
	color:#A2C617!important;
    transition: all 250ms ease !important;
}
.masterstudy-single-course-classic img.masterstudy-single-course-thumbnail {
    border-radius: 8px;
    height: 800px!important;
    margin-bottom: 0px!important;
	object-fit:contain!important;
}
.custom-image-wrapper {
	background-color:#faf6e6;
	margin-bottom: 40px!important;
	border-radius: 8px
}
.masterstudy-course-player-content__wrapper h1,
.masterstudy-course-player-content__wrapper h4{
		color:#008B6B!important;
}
.wpcf7-submit {
	background-color:#008B6B!important;
}
.wpcf7-submit:hover {
	background-color:#A2C617!important;
}
.wpcf7-validates-as-required{
	border-radius: 6px!important;
}
.contact-box a {
	color:#4a4a4a!important;
}
.contact-box a:hover {
	color:#A2C617!important;
}
@media (max-width: 1024px) {
	html, body {
	  overflow-x: hidden;
	}

    #wrapper .hfe-nav-menu .hfe-nav-menu__layout-horizontal .menu-item a {
        font-weight: 600;
        text-transform: none!important;
        color: #727272!important;
		background: transparent;
    }
	#wrapper .hfe-nav-menu .hfe-nav-menu__layout-horizontal {
        top: 43px!important;
    }
    #wrapper .hfe-nav-menu .hfe-nav-menu__layout-horizontal {
        background-color: #ffffff!important;
    }
}





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