/*
Theme Name:     CMOnline Child theme
Theme URI: 		https://www.2kind.it
Description:    Child theme made by 2Kind
Author:         2Kind
Author URI: 	https://www.2kind.it
Template:       CMOnline
Version:        9.0c
*/


/*  ----------------------------------------------------------------------------
    This file will load automatically when the child theme is active. You can use it
    for custom CSS.
*/


h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
	line-height:1.32;
}
h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
}

h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
}

h3{
    font-size: clamp(1.2rem, 3.2vw, 1.8rem);
    margin-top: 24px;
    margin-bottom:20px;
    color: #1d4c9c;
}

.relative{
	position:relative;
}

.relative .absolute-bottom{
	position:absolute !important;
	bottom:1vh !important;
	top:unset !important
}

.td-post-header .tdb-entry-category{
    font-size:1.3rem;
    letter-spacing: .2rem;
    color:#fff;
}

.body, .td-content, .td-excerpt, .td-post-header .no_image .tdb-entry-category{
    color:#000 !important;
}

.bianco .td-excerpt{
    color:#fff !important;
}


body, p, .tagdiv-type{
	 font-size: clamp(15px, .76vw, 1.1em) !important
	line-height: 1.8 !important;
	letter-spacing:0.03ch;
}

.td-excerpt {
	font-family: 'Inter', sans-serif;
	font-size: clamp(14px, .74vw, 1.4em) !important;
	line-height: 1.6 !important;
	font-weight:400;
}



.td-post-template-3 .td-post-header .no_image .entry-title {
    color: #1d4c9c;
}


.pubbli{
    margin:24px auto;
}

.linea_sep{
    width:45%;
    max-width:350px;
    height:1px;
    background: #fff;
    margin:10px 0;
    display: block;
}

header.no_image{
    padding-left:1%;
}

.no_image .linea_sep{
    background: #000;
}

.td-read-more a, .more-link-wrap a {
    background-color: #1d4c9c;
}

p a{
 color: #1d4c9c !important;
        text-decoration: underline;
}

.td_block_wrap {
    margin-bottom: 24px !important;
}

.td_block_wrap.tdb_header_menu{
       margin-bottom: 0px !important; 
}


/*
.tdc-row.stretch_row_content, .tdc-row-composer.stretch_row_content{
    width: 100vw !important;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.td-boxed-layout .td-container-wrap.td-main-page-wrap {
    overflow: unset !important;
}
*/
.sezione{
    border-bottom:1px solid #000;
    padding-bottom:24px;
    margin-bottom: 24px !important;
}

.td_block_template_9 .td-block-title > * {
    color: #000;
    font-weight: bold;
    font-size: 24px;
}

.entry-title a:hover, .td-post-category:hover, .widget a:hover, .td_block_wrap a:hover {
    text-decoration: underline !important;
}

.td_module_wrap:hover .entry-title a{
    color:#000 !important;
}

.dark .td_module_wrap:hover .entry-title a{
    color:#fff !important;
}

.block-9 h3::before, .td_block_template_9 .td-block-title::before {
    content: '';
    width: 100%;
    height: 2px;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #e2e2e2;
}

.block-9 h3{
    font-size:24px;
    font-weight: bold;
}

.block-9 h3::after {
    background-color: #1d4c9c !important;
}

.block-9 h3 {
margin-bottom: 10px !important;
}

.block-9. h3::after {
    content: '';
    width: 50px;
    height: 2px;
    position: absolute;
    top: 100%;
    left: 0;
    margin: auto;
    background-color: #e2e2e2;
}

.block-9.bgwhite h3::before {
    background-color: #fff;
}

.block-9.bgwhite h3:after {
    background-color: #1d4c9c;
}


.tdi_54, .tdi_54 .tdc-columns {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap !important;
    justify-content: flex-start;
    align-items: stretch;
}

.tdi_106, .tdi_106 .tdc-columns {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap !important;
}

.td-post-category, .tdb-module-term {
    font-weight: 600;
    line-height: 1;
    background-color: #fff;
}

.tdi_152 .td-post-category {
    padding: 3px 6px 3px !important;
}

.logo_azienda{
    width:100%;
    display: block;
    overflow: hidden;
	margin: 20px 0;
	border: 1px solid #000;
	padding:10px;
}

.logo_azienda img {
    display: block;
    max-height:200px;
	margin:auto;
}

.portrait img {
    width: 100%;
    height:auto;
}
.landscape img {
    width:auto;
}

.embed-video { 
        position: relative; 
        padding-bottom: 56.25%;
        overflow: hidden;
        max-width: 100%;
        height: auto;
    } 

    .embed-video iframe,
    .embed-video object,
    .embed-video embed { 
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

.woocommerce div.product .woocommerce-tabs ul.tabs li a, .woocommerce .product .products h2:not(.woocommerce-loop-product__title), .td-theme-wrap .td-block-title {
    font-size: 1.2em !important;
    line-height: 40px;
    font-weight: 400;
}



.td-footer-template-wrap{
    background:#EDEDED;
}

.td-footer-wrap .tdc-row{
        padding: 0;
}

.td-header-desktop-sticky-wrap .tdc-row{
    padding:0 1%;
}

.td-container{
    padding: 3%;
    background: #fff;
}

.td-post-header.td-container{
    padding:0;
    width:100%;
}

.yarpp-thumbnail > img, .yarpp-thumbnail-default {
    height: auto !important;
}


.yarpp-thumbnails-horizontal .yarpp-thumbnail{
    height: auto !important;
}

.td-boxed-layout .td-post-template-3 .td-post-header-holder {
    width: 100% !important;
    left:0 !important;
}

.woocommerce #content div.product div.summary, .woocommerce div.product div.summary, .woocommerce-page #content div.product div.summary, .woocommerce-page div.product div.summary {
    float: right;
    width: 26%;
}

.woocommerce #content div.product div.images, .woocommerce div.product div.images, .woocommerce-page #content div.product div.images, .woocommerce-page div.product div.images {
    float: left;
    width: 70%;
}

.yarpp-thumbnail{
    background: #fff;
}

.td-post-sharing-bottom{
    border:0 !important;
}

.menu_contestuale a {
    display: block;
    text-transform: uppercase;
    margin-top: 10px;
    color: #000;
    font-weight: bold;
}

.tdb_header_search .tdb-head-search-btn {
    color: #1d4c9c !important;
}

a.tdb-logo-a{
    color:#000;
}

a.tdb-logo-a:hover{
    text-decoration:none !important;
}

.marchio_faita{
    position: absolute !important;
    right: 0;
    top: 0;
    max-height: 220px;
    padding: 10px 0;
}


    .adguru-ad-banner div{
        width:100% !important;
        height:auto !important;
    }

.tdi_2:before{
    box-shadow: none !important;
    margin-bottom:24px;
    }

.tdb_header_mega_menu .block-mega-child-cats .cur-sub-cat {
    color: #1d4c9c !important;
}

#adguru_zone_wrap_2805_1{
    max-width: 100%;
    width: 1164px;
    padding: 24px 0px 0 0;
    background: #fff;
    margin: 0px auto !important;
}

#mailpoet_form_2 {
    width: 80%;
    max-width: 650px;
    margin: auto !important;
}

#mailpoet_form_2 p a {
    color: #fff!important;
}

/* -- quote-- */
.tagdiv-type blockquote:after {
    content: '\201D';
    bottom: -16px;
}
.tagdiv-type blockquote:before, .tagdiv-type blockquote:after {
    font-weight:bold;
    font-style: normal;
    font-size: 3rem;
    line-height: 0;
    display: block;
    position: absolute;
    z-index:999;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    background: #fff;
    padding: 1.5rem 1.5rem 0;
}

.tagdiv-type blockquote:before {
    content: '\201C';
    top: -3px;
}

.tagdiv-type blockquote:after {
    content: '\201D';
    bottom: -16px;
}

.tagdiv-type blockquote p {
    position: relative;
    font-size: 1.3rem;
    line-height: 1.4;
    font-style: italic;
    font-weight: 500;
    text-align: center;
    margin: 60px auto;
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
    padding: 20px;
}

.td-post-template-3 .td-post-header-holder {
    position: relative;
    height: 450px;
    background-color: #444;
    margin-bottom: 36px;
    overflow: hidden;
}

.titolo_categoria {
    position: absolute !important;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.nascosto{
	display:none !important;
}

.td-boxed-layout.leggi-online .td-main-content-wrap.td-container-wrap {
    width: 90% !important;
}

.td-boxed-layout.leggi-online .tagdiv-type iframe {
    max-width: 100% !important;
    height: 100vh !important;
}

.td-social-network .td-social-but-icon {
    border-radius: 100px !important;
    border-radius: 100px !important;
    background-color: #144a8b !important;
}

.wpcf7-acceptance .wpcf7-list-item input{
    display: inline !important;
    margin-top: 10px;
    margin-right: 10px;
}

.acceptance-402{
	text-align:left !important;
	display:inline-block !important;
}

.wpcf7-form p{
		font-size: .8em !important;
}

.single-mailpoet_page .td-module-meta-info, .single-mailpoet_page .author-box-wrap{
	display:none;
}

.grv-helper-bell-host{
	display:none !important;
}

.adguru_content_image {
    margin: 0 !important;
}

.nolink a{
cursor: default;
        pointer-events: none;        
        text-decoration: none;
}

.td-post-title.titolo-azienda {
    position: absolute;
    bottom: 0;
    padding: 0 30px 9px 30px;
    width: 80%;
    z-index: 1;
}

.td-post-title.titolo-azienda .entry-title {
    font-size: 44px;
    line-height: 54px;
    font-weight: 500;
    margin-bottom: 14px;
    color: #fff;
}

.single-azienda .td-post-featured-image img, .single-prodotto .td-post-featured-image img {
    display: block;
    margin-bottom: 0;
    width: 100%;
    object-fit: cover;
    height: 100%;
}

.single-azienda .td-post-featured-image, .single-prodotto .td-post-featured-image{
    position: relative;
    width: 100%;
    height: 100%;
}

div.social ul {margin:0; padding:0; list-style:none}
div.social ul li {display:inline-block; font-size:1.8rem; margin:0 0.5rem}
div.social ul li a {color:gray}
div.social ul li a span.hidden {display:none}
div.social ul li a:hover {color:black}

.td-post-sharing-bottom{
    border-top-width: 1px;
}

.td-post-sharing-top{
    border-bottom-width: 1px;
}




.yarpp-thumbnails-horizontal .yarpp-thumbnail-title {
 width:auto !important;   
}

.yarpp-thumbnails-horizontal .yarpp-thumbnail>img {
    display: block;
    text-align: center !important;
    margin: auto !important;
    padding: 10px;
    width: auto !important;
    max-height: 230px !important;
}

.yarpp-related .yarpp-thumbnail-title {
    font-size: 120% !important;
    margin-top:12px !important;
    color:#000;
}

.yarpp-related .yarpp-thumbnail-title {
	text-align:center;
}

.yarpp-thumbnails-horizontal .yarpp-thumbnail {
    width:100% !important;
}

#servizi img{
	width:312px;
	height:121px;
	object-fit:cover;
}


/* --restyling 2024 --*/

/*.td-header-desktop-wrap {
	max-width:1164px;
}
*/

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif !important;
	color:#111111;
}

.single h2{
	color:#1d4c9c;
	line-height:1.2;
}

.single h3{
	color:#1d4c9c;
}





.td-post-category, .tdb-module-term, .td-block-title, .td-ct-item {
	text-transform:uppercase !important;
	letter-spacing:.1ch;
	font-weight:300 !important;
}

.td-post-category, .tdb-module-term, .td-post-category:hover, .tdb-module-term:hover {
    line-height: 1;
    border: 1px solid #1d4c9c;
	border-radius:10px;
	padding: 5px 10px;
	color:#1d4c9c;
	background:none;
	font-size: .9em !important;
	margin-bottom:16px;
}


.dark .td-post-category, .dark.td-post-category:hover {
	border-color:#fff;
}

.td-ct-wrap{
    border-bottom: 1px solid var(--td_theme_color);
}

.td-ct-item{
	white-space:nowrap;
}
.td-ct-wrap:before {
    content: "Trends dell'open air";
    background: var(--td_theme_color);
    color: #fff;
    padding: 4px 8px;
}

.td-header-desktop-wrap {
    width: 100%;
    margin: auto;
}
.td-header-desktop-wrap,  .category-faita-regionale .td-header-desktop-wrap{
    width: auto;
    max-width: 1164px;
    margin: auto;
}

.td-boxed-layout .td-container-wrap, .category-faita-regionale.td-boxed-layout .td-container-wrap {
  width: 1260px;
	max-width:100%;

}

/*.page-id-7249 #td-outer-wrap {
    overflow: hidden;
    margin: 0 2vw;
}
*/

.td-header-template-wrap, .category-faita-regionale.td-boxed-layout .td-container-wrap {
    width: 1260px;
    max-width: 100%;
    margin: auto;
}

.td-container, .tdc-row, .tdc-row-composer, .category-faita-regionale .td-container, .category-faita-regionale .tdc-row, .category-faita-regionale .tdc-row-composer {
    width: 1260px;
    margin-right: auto;
    margin-left: auto;
    max-width: 100%;
}

.td-module-thumb {
	margin-left: 0 !important;
}

.bordertopradius img{
	border-radius:20px 20px 0 0;
}

.dark .tnp-subscription label{
	color:#fff;
}

.tnp-subscription input.tnp-submit{
	color:#fff;
	background:#1d4c9c;
}

.dark .tnp-subscription input.tnp-submit{
	color:#1d4c9c;
	background:#fff;
}

.tnp-subscription input, .tnp-subscription select{
	text-align:left;
	border-radius:0.6rem;
}

.dark .tnp-subscription a{
	color:#fff;
}

.tdb_category_sibling_categories .td-subcat-more {

    height: auto !important;
}

.tdi_43 .tdb-category-siblings .td-subcat-dropdown .td-pulldown-filter-list li a {
    text-wrap: wrap;
}

.tdi_43 .tdb-category-siblings .td-subcat-dropdown .td-pulldown-filter-list {
    background-color: rgb(255 255 255 / 90%);
}

.tdb_module_template_7593 .tdc-row .tdb_module_read_more_0 .tdb-mrm-icon {
    color: #fff !important;
    background: var(--td_theme_color);
    padding: 16px;
    border-radius: 50%;
}

/*-- css prenotazione -------------*/

#tdBookingModal{
  position: fixed;
  inset: 0;
  display: none !important;
  background: rgba(0,0,0,.65);
  align-items: center;
  justify-content: center;
  z-index: 999999;
}
#tdBookingModal.is-open{
  display: flex !important;
}

#tdBookingModal .td-booking-box{
  width: min(980px, 92vw);
  height: min(85vh, 820px);
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
}

#tdBookingModal .td-booking-close{
  position: absolute;
  top: 10px;
  right: 10px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: rgba(0,0,0,.65);
  color: #fff;
  cursor: pointer;
  z-index: 2;
}

#tdBookingFrame{
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}



/*----- MEDIA QUERIES ------*/
@media only screen and (max-width: 767px){
.td-ct-wrap {
    overflow-x: scroll;
    -ms-overflow-style: none;
    scrollbar-width: none;
	display:flex;
}

.td-ct-wrap:before {
    content: "Trends:";
    padding: 2px 4px;
}
	.tdb_category_sibling_categories .tdb-category-siblings .td-subcat-dropdown {
		position:static !important;
		width: 100% !important;
}
	.tdb_category_sibling_categories.tdb-category-siblings-list .td-subcat-more {
    position: relative;
    display: flex;
    justify-content: space-between;
}
	
		.td-pb-row [class*="td-pb-span"] {
		position:static;
	}	
}



@media only screen and (min-width: 768px){
.tdi_106.tdc-row-content-vert-center, .tdi_106.tdc-row-content-vert-center .tdc-columns, .tdi_54.tdc-row-content-vert-center, .tdi_54.tdc-row-content-vert-center .tdc-columns {
    display: flex;
    align-items: stretch !important;
    flex: 1;
}
	
	
.flex .td_block_inner{
    display:flex;
}
    .td-container{
    padding: 1.5%;
    background: #fff;
}

    .top-90 .wpb_wrapper{
        top:90px !important;
    }
    
  
.flex_menu .wpb_wrapper{
    display: flex !important;
    justify-content: center;
}
.tdi_106.tdc-row-content-vert-center .vc_column{
    display: flex;
    align-items: center;
}
.stretch{
    align-items: stretch !important;
}

.yarpp-thumbnails-horizontal{
	display:flex;
}
.yarpp-thumbnails-horizontal .yarpp-thumbnail {
    width:50% !important;
}

}

@media only screen and (min-width: 1200px){

.tdc-row {
    margin-right: auto;
    margin-left: auto;
}
	
.yarpp-thumbnails-horizontal .yarpp-thumbnail {
    width:33.333% !important;
}
    
}