/*
Theme Name: Attesa Child
Theme URI: https://attesawp.com
Author: AttesaWP
Author URI: https://attesawp.com
Description: A child theme of Attesa
Version: 1.0.0
Template: attesa
Text Domain: attesa-child
*/

/*--------------------------------------------------------------
## Contact Form
--------------------------------------------------------------*/
#responsive-form{
	margin:0 auto;
	width:100%;
}
.form-row{
	width: 100%;
}
.form-row:before,
.form-row:after {
	content: "";
	display: table;
	table-layout: fixed;
}
.form-row:after {
	clear: both;
}
.column-half, .column-full{
	float: left;
	position: relative;
	padding: 0.65rem;
	width:100%;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
.clearfix:after {
	content: "";
	display: table;
	clear: both;
}
span.wpcf7-not-valid-tip{
	text-shadow: none;
	font-size: 12px;
	color: #fff;
	background: #ff0000;
	padding: 5px;
}
div.wpcf7-validation-errors { 
	text-shadow: none;
	border: transparent;
	background: #f9cd00;
	padding: 5px;
	color: #9C6533;
	text-align: center;
	margin: 0;
	font-size: 12px;
}
div.wpcf7-mail-sent-ok{
	text-align: center;
	text-shadow: none;
	padding: 5px;
	font-size: 12px;
	background: #59a80f;
	border-color: #59a80f;
	color: #fff;
	margin: 0;
}

/**---------------- Media query ----------------**/
@media only screen and (min-width: 48em) { 
	.column-half{
		width: 50%;
	}
}

/*--------------------------------------------------------------
## Popup Contact Mail
--------------------------------------------------------------*/
.openMail{
	cursor: pointer;
}
.mailBody{
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
	padding: 30px;
    z-index: 99999;
    display: none;
	background: rgba(0, 0, 0, .8);
	box-sizing: border-box;
}
.mailBody.active{
	display: block;
}
body.active{
	overflow: hidden;
}
.mailBox{
	position: relative;
    width: 100%;
    max-height: 100%;
    max-width: 950px;
    margin: 10px auto;
    background: #ffffff;
    border: 3px solid #414040;
    border-radius: 10px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    -webkit-animation-name: tkbounceInUp;
    animation-name: tkbounceInUp;
    -webkit-animation-duration: .8s;
    animation-duration: .8s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}
.mailBody .sectionForm{
	position: relative;
    color: #414040;
    padding: 2em;	
}
@-webkit-keyframes tkbounceInUp {
	0% {
	   opacity: 0;
	   -webkit-transform: translateY(2000px);
	}
	60% {
	   opacity: 1;
	   -webkit-transform: translateY(-30px);
	}
	80% {
	   -webkit-transform: translateY(10px);
	}
	100% {
	   -webkit-transform: translateY(0);
	}
}

@keyframes tkbounceInUp {
	0% {
	   opacity: 0;
	   transform: translateY(2000px);
	}
	60% {
	   opacity: 1;
	   transform: translateY(-30px);
	}
	80% {
	   transform: translateY(10px);
	}
	100% {
	   transform: translateY(0);
	}
}
.mailBox::-webkit-scrollbar {
    width: 8px;
}
/* Handle */
.mailBox::-webkit-scrollbar-thumb {
	background: #242423; 
}
.mailBox::-webkit-scrollbar-thumb:hover {
	background: #242423;  
}
@media screen and (max-width: 980px) {
	.mailBody .sectionForm {
		padding: 1em;
	}
	.closeMail {
		right: 15px;
		top: 5px;
	}
}
.closeMail{
	position: fixed;
    right: 25px;
    top: 25px;
    cursor: pointer;
    float: right;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
	color: #414040;
    font-size: 30px;
    border-radius: 40px;
}
.mailBox .gform_wrapper {
	padding: 0 20px;
}
/*--------------------------------------------------------------
## Messaggi
--------------------------------------------------------------*/
.messaggi-entries{
	display: flex;
	flex-wrap: wrap;
}
.messaggi-entries .entry-content{
	padding: 15px;
    border-radius: 5px;
    margin: 5px!important;
    flex-grow: 1;
    width: 30%;
}
.messaggi-entries .entry-content:nth-child(even){
	background: #ebebeb;
}
.messaggi-entries .entry-content:nth-child(odd){
	background: #fbfbfb;
}
@media only screen and (max-width: 780px){
	.messaggi-entries{
		flex-direction: column;	
	}
	.messaggi-entries .entry-content{
		width: 100%;
	}
}

/*--------------------------------------------------------------
## Catalogo
--------------------------------------------------------------*/
.catalog-contents-list {
	display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}
.catalog-contents-list div {
	width: 100%;
    text-align: center;
    display: grid;
    margin: 0 5px;
}
.catalog-contents-list div a {
	background: #008cc4;
    color: #fff;
    border-radius: 5px;
    padding: 10px;
    font-weight: bold;
}
.catalog-contents-list div a.current {
	background: #273253;
}
.catalog-contents-container{
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	column-gap: 1rem;
	justify-content: space-between;
}
.catalog-contents-container .catalog-single{
	width: 49%;
    padding: 1em;
	margin: 1em 0;
    box-shadow: 0px 0px 40px 0px rgb(0 0 0 / 15%);
    border-radius: 5px;
    cursor: pointer;
}
.tci-paginazione-container {
	padding: 0;
    margin: 0;
    margin-top: 20px;
    list-style: none;
    display: flex;
    justify-content: center;
}
.tci-paginazione-singolo {
	width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: #008cc4;
    color: #fff;
    border-radius: 5px;
    font-weight: bold;
    margin: 0 5px;
}
.tci-paginazione-singolo.attivo {
	background: #273253;
}
.tci-paginazione-singolo a {
	color: #fff !important;
	display: block;
}
.tci-popup-container {
	z-index: 99999;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    background-color: rgba(255,255,255,.8);
    transition: opacity .3s ease-in-out,visibility .3s ease-in-out;
}
.tci-popup-container.mostra {
	opacity: 1;
    visibility: visible;
    pointer-events: all;
}
.tci-popup-container .tci-popup {
	background-color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-30%);
    max-width: 1000px;
    width: 90%;
    padding: 2em 3em;
    border-radius: 5px;
    border: 2px solid #008cc4;
    transition: transform .3s ease-in-out;
}
.tci-popup-container .tci-popup .tci-chiudi-box {
	position: absolute;
    right: -10px;
    top: -10px;
    background: #fff;
    border-radius: 50%;
    border: 2px solid #008cc4;
    width: 50px;
    height: 50px;
    text-align: center;
    line-height: 57px;
    cursor: pointer;
    transition: transform .3s ease-in-out;
}
.tci-popup-container .tci-popup video {
	width:  100%;
}
.tci-popup-container.mostra .tci-popup {
	transform: translate(-50%,-50%);
}
.tci-popup-loader {
	position: fixed;
    top: 50%;
    left: 50%;
    margin-top: -15px;
    margin-left: -15px;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    border: 3px solid transparent;
    border-top-color: #008cc4;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    animation: tciLoaderSpin .5s infinite linear;
}
.tci-popup-loader.mostra {
	opacity: 1;
    visibility: visible;
    pointer-events: all;
}
@keyframes tciLoaderSpin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.tci-box-search-content {
	margin: 40px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.tci-box-search-content form {
	background: #fff;
    border: 1px solid #008cc4;
    border-radius: 5px;
    box-shadow: 0px 0px 40px 0px rgb(0 0 0 / 15%);
}
.tci-box-search-content form input[type="submit"] {
	height: 42px;
	border-radius: 0 !important;
}
.tci-box-search-content form input[type="search"] {
	border-left: 1px solid #008cc4 !important;
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    margin-left: 10px;
}
.tci-box-search-content form input[type="search"]:focus {
	border-color: transparent !important;
	border-left-color: #008cc4 !important;
}
@media screen and (max-width: 780px) {
	.catalog-contents-container .catalog-single {
	    width: 100%;
  	}
	.catalog-contents-container{
		flex-direction: column;
	}
	.catalog-contents-list {
		flex-direction: column;
	}
	.catalog-contents-list div {
		margin: 5px 0;
	}
	.tci-popup-container .tci-popup {
		width: 100%;
    	height: 100%;
    	padding: 2em 1em;
    	border-radius: 0;
    	overflow: auto;
	}
	.tci-popup-container .tci-popup .tci-chiudi-box {
		right: 5px;
    	top: 5px;
	}
	.tci-box-search-content form input[type="submit"],
	.tci-box-search-content form select {
		width: 100%;
	}
	.tci-box-search-content form input[type="search"] {
		width: 100%;
    	margin: 0;
    	border-left: 0 !important;
    	border-top: 1px solid #008cc4 !important;
    	border-top-right-radius: 0 !important;
	}
	.tci-box-search-content form input[type="search"]:focus {
		border-color: transparent !important;
		border-top-color: #008cc4 !important;
	}
}
/*--------------------------------------------------------------
## Tabs Palinsesto
--------------------------------------------------------------*/
.palinsesto_tabs{
    box-shadow: 0px 0px 40px 0px rgb(0 0 0 / 15%);
    border-radius: 20px;
    padding: 20px 40px;
    margin: 10px;
}
.palinsesto_tabs ul.tabs{
	padding-left: 0!important;
	margin: 0;
	border-bottom: 1px solid rgba(76, 76, 76,0.2);
	
}
.palinsesto_tabs ul.tabs li {
	float: left;
	cursor: pointer;
	text-transform: uppercase;
	font-size: 20px;
	font-weight: 600;
	border-bottom: 0px;
	-webkit-transition: all .3s ease-in-out;
	-moz-transition: all .3s ease-in-out;
	-o-transition: all .3s ease-in-out;
	transition: all .3s ease-in-out;
	opacity:.4;
	color: #444444;
	border-bottom: 1px solid transparent;
	display: inline-block;
	margin-bottom: -1px;
	padding: 15px 30px 3px 0px;
}
.palinsesto_tabs ul.tabs li:hover,
.palinsesto_tabs ul.tabs li.active {
	opacity:1;
	border-bottom: 1px solid;
	color: #008cc4;
}
.palinsesto_tabs .tab_container{
	margin-top: 15px;
	padding: 0 10px;
}
.palinsesto_tabs .tab_container ul{
	margin: 0;
	padding: 0;
    list-style: none;
}
.palinsesto_tabs .tab_container ul li{
	border-bottom: 1px solid #f3f3f3;
}
.palinsesto_tabs .tab_container ul li:only-child,
.palinsesto_tabs .tab_container ul li:last-child{
	border-bottom: 1px solid transparent;
}
.palinsesto_tabs ul.tabs:before,
.palinsesto_tabs ul.tabs:after{
	content: "";
	display: table;
	table-layout: fixed;
}
.palinsesto_tabs ul.tabs:after{
	clear: both;
}
@media only screen and (max-width: 780px){
	.palinsesto_tabs{
		padding: 20px;
	}
	.palinsesto_tabs ul.tabs li {
		float: none;
		display: block!important;
	}
}
/*--------------------------------------------------------------
## Programmi
--------------------------------------------------------------*/
.post-type-archive-cpt_programmi .programmi-entries{
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	column-gap: 1rem;
}
.post-type-archive-cpt_programmi article{
	width: 32%;
}
.post-type-archive-cpt_programmi .entry-summary img{
	display: block;
	border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}
.single-cpt_programmi #content.site-content {
	padding: 1em 0;
}
.single-cpt_programmi .entry-header{
    text-align: center;
}
.single-cpt_programmi .entry-header h2{
    text-transform: uppercase;
    font-size: 20px;
    margin-bottom: 0;
}
.single-cpt_programmi .entry-header h3{
	text-align: center;
	border-bottom: 2px solid #008cc4;
    display: inline-block;
	font-size: 15px;
	margin-top: 0;
    margin-bottom: 0;
}
.single-cpt_programmi .entry-content-autore{
	margin: 3em 0;
}
.single-cpt_programmi .entry-content-autore img{
    display: inline-block;
    width: 25%;
    vertical-align: middle;
}
.single-cpt_programmi .entry-content-autore p{
    display: inline-block;
    width: 74%;
    vertical-align: middle;
	padding: 1em;
}
.post-type-archive-cpt_programmi .read-more{
    margin-bottom: 2em;
	text-align: center;
}
.post-type-archive-cpt_programmi .read-more a{
	display: block;
	width: 100%;
	padding: 10px;
    background-color: #008cc4;
    color: #ffffff;
    border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
	-webkit-transition: all .3s ease-in-out;
	-moz-transition: all .3s ease-in-out;
	-o-transition: all .3s ease-in-out;
	transition: all .3s ease-in-out;
}
.single-cpt_programmi .read-more{
    margin-bottom: 2em;
}
.single-cpt_programmi .read-more a{
    padding: 10px;
    background-color: #008cc4;
    color: #ffffff;
    border-radius: 10px;
	-webkit-transition: all .3s ease-in-out;
	-moz-transition: all .3s ease-in-out;
	-o-transition: all .3s ease-in-out;
	transition: all .3s ease-in-out;
}
.single-cpt_programmi .read-more a:hover,
.post-type-archive-cpt_programmi .read-more a:hover{
	background-color: #273253;
	-webkit-transition: all .3s ease-in-out;
	-moz-transition: all .3s ease-in-out;
	-o-transition: all .3s ease-in-out;
	transition: all .3s ease-in-out;
}
@media only screen and (max-width: 780px){
	.post-type-archive-cpt_programmi article{
		width: 100%;
	}
	.entry-content-autore{
		margin: 1em 0;
	}
	.entry-content-autore img,
	.entry-content-autore p{
		display: block;
		width: 100%;
		vertical-align: initial;
	}
}
/*--------------------------------------------------------------
## Memes
--------------------------------------------------------------*/
.memes_tci ul{
    margin: 0;
    padding: 0;
    list-style: none;
	display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    column-gap: 1rem;
}
.memes_tci ul li{
	width: 32%;
	margin: 1em 0;
}
.memes_tci ul li img{
	display: block;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}
.memes_tci ul li a{
	display: block;
    width: 100%;
    padding: 10px;
    background-color: #008cc4;
    color: #ffffff;
	text-align: center;
	font-weight: bold;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}
.memes_tci ul li a:hover{
	background-color: #273253;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}
@media only screen and (max-width: 780px){
	.memes_tci ul li{
		width: 100%;
	}
}
/*--------------------------------------------------------------
## Owl Carousel
--------------------------------------------------------------*/
#owl-tci {
	position: relative;
	margin: 0;
    padding: 0;
	list-style: none;
}
#owl-tci li {
	text-align: center;
}
#owl-tci li a{
	color: #000000;	
}
#owl-tci img{
    display: block;
    width: 100%;
    height: auto;
}
.owl-carousel .owl-wrapper:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}
/* display none until init */
.owl-carousel{
	display: none;
	position: relative;
	width: 100%;
	-ms-touch-action: pan-y;
}
.owl-carousel .owl-wrapper{
	display: none;
	position: relative;
	-webkit-transform: translate3d(0px, 0px, 0px);
}
.owl-carousel .owl-wrapper-outer{
	overflow: hidden;
	position: relative;
	width: 100%;
}
.owl-carousel .owl-wrapper-outer.autoHeight{
	-webkit-transition: height 500ms ease-in-out;
	-moz-transition: height 500ms ease-in-out;
	-ms-transition: height 500ms ease-in-out;
	-o-transition: height 500ms ease-in-out;
	transition: height 500ms ease-in-out;
}
	
.owl-carousel .owl-item{
	float: left;
}
.owl-controls .owl-page,
.owl-controls .owl-buttons div{
	cursor: pointer;
}
.owl-controls {
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

/* mouse grab icon */
.grabbing { 
    cursor:url(./img/grabbing.png) 8 8, move;
}

/* fix */
.owl-carousel  .owl-wrapper,
.owl-carousel  .owl-item{
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility:    hidden;
	-ms-backface-visibility:     hidden;
  -webkit-transform: translate3d(0,0,0);
  -moz-transform: translate3d(0,0,0);
  -ms-transform: translate3d(0,0,0);
}

.widget-area .owl-buttons, .footer-widget .owl-buttons {
	position: absolute;
    top: -25px;
    left: 0;
    width: 100%;
    text-align: center;
    line-height: 1;
}

.imgRelated .owl-buttons {
	position: absolute;
	top: -55px;
	right: 0;
	line-height: 1;
}

.owl-theme .owl-controls .owl-buttons div {
	display: inline-block;
	zoom: 1;
	margin: 3px 3px;
	padding: 0px 5px;
	-o-transition: opacity .3s ease-in-out;
	-moz-transition: opacity .3s ease-in-out;
	-webkit-transition: opacity .3s ease-in-out;
	transition: opacity .3s ease-in-out;
}
.owl-theme .owl-controls.clickable .owl-buttons div:hover{
	opacity:0.5;
}

.owl-item.loading{
	min-height: 150px;
	background: url(./img/ajax-loader.gif) no-repeat center center;
}
/*--------------------------------------------------------------
## Altro
--------------------------------------------------------------*/
.top-block-left {
	font-size: 17px;
}
.nav-middle-top-title{
	background-image: url(https://webyousite.com/tci/wp-content/uploads/2022/11/shutterstock_1928183840.jpg);
	position: relative;
}
.nav-middle-top-title::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    opacity: .1;
}
@media (min-width: 1024px){
	.attesa-social-header-desktop .site-social-header a,
	#tertiary .socialWidget .attesa-social,
	.site-social-footer a{
		font-size: 35px;
	}
}
#tertiary .socialWidget .attesa-social{
	font-size: 35px;
}
.attesa-social-header-desktop .site-social-header i.fa-facebook,
.site-social-footer i.fa-facebook{
	color: #0674e7;
}
.attesa-social-header-desktop .site-social-header i.fa-youtube,
.site-social-footer i.fa-youtube{
	color: #f00000;
}
#tertiary .socialWidget .attesa-social i.fa-facebook{
	color: #0674e7;
}
#tertiary .socialWidget .attesa-social i.fa-youtube{
	color: #f00000;
}
#tertiary .socialWidget .attesa-social {	
	background-color: #ffffff!important;
	width: initial!important;
}
#cookie-law-info-again {
    box-shadow: rgb(0 0 0 / 30%) 0px 5px 20px !important;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.iconStore{
	display: flex;
	gap: 10px;
}

.horizontal_radiogf .gfield_radio .gchoice{
	display: inline;
	background: #f4f4f4;
    border-radius: 10px;
    margin: 0 5px;
	padding: 5px 10px;
}
.horizontal_radiogf .gfield_radio .gchoice .gfield-choice-input{
	
}
.horizontal_radiogf .gfield_radio{
    box-shadow: 0px 0px 14px 0px rgb(0 0 0 / 15%);
    padding: 20px 10px;
    border-radius: 10px;
}
.horizontal_radiogf .gfield_radio .gchoice label{
    font-weight: 600;
    color: #6a6a6a;
}
.gfhidden{
	display: none!important;
}
#gform_3 input[type="submit"]{
	text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 15px;
}
@media only screen and (max-width: 780px){
	.horizontal_radiogf .gfield_radio .gchoice {
		display: inherit;
		margin: 5px;
	}
	.top-block-left {
		font-size: 14px;
	}
}
.iconBoxtci .elementor-icon-box-icon{
	line-height: 0;
	margin-bottom: 0!important;
}
.iconBoxtci .elementor-icon-box-content h3{
	margin: 0;
}
.woocommerce .content-area .images {
    width: 30%;
}
.woocommerce .content-area .summary {
    width: 65%;
}
@media (max-width: 600px){
	.woocommerce .content-area .images, 
	.woocommerce .content-area .summary {
		width: 100%;
		float: left;
	}
}
#carosellotci .awp-carousel-entry-details{
	margin-top: 10px;
}
.mc4wp-form-fields input[type="email"]{
	width: 80%;
	font-size: 15px;
    font-weight: 600;
	border-color: #d7d7d7!important;
}
.mc4wp-form-fields input[type="submit"]{
	width: 19%;
    font-size: 15px;
    font-weight: 600;
	padding: 14px;
}
.iframe-fullscreen-tci {
    position: relative;
    padding-bottom: 56.25%; /* proporzioni per il rapporto larghezza-altezza di 16:9 */
    height: 0;
    overflow: hidden;
}

.iframe-fullscreen-tci iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.tcimrgn p{
	margin: 0;
}
.tcimrgn ul{
    margin: 0;
    padding: 0 0 0 20px;
}
@media (max-width: 600px){
	.mc4wp-form-fields input[type="email"],
	.mc4wp-form-fields input[type="submit"]{
		width: 100%;
		margin-bottom: 10px;
	}
}