/*
Theme Name: Uncode Child
Description: Child theme for Uncode theme
Author: Undsgn™
Author URI: http://www.undsgn.com
Template: uncode
Version: 1.0.0
Text Domain: uncode
*/
:not(.widget-desktop-collapse):not(:last-child).uncode_widget {
	padding-bottom:5px!important;
}
.ajax-grid-system .uncode-toggle-ajax-filters {
	color:#000!important;
}
@media(min-width:900px) {
	.actorFilters .swatch {
		border-color:#000!important;
		color:#000!important;
		margin-bottom:0px!important;
	}
}

@media(max-width:900px) {
	.ajax-filter-sidebar {background:#000!important;}
	.actorFilters .swatch {
		border-color:#fff!important;
		color:#fff!important;
		margin-bottom:5px!important;
	}
}
.top-menu {padding-top:6px; padding-bottom:6px;}
/* FIX LANGUAGE MENU*/
.wpml-ls-item .drop-menu {
	max-width:65px!important;
	padding:5px!important;
	border-top:0px!important;
	/* background-color:rgba(0,0,0,0.6)!important;*/
}
.wpml-ls-item .drop-menu  i {display:none!important;}
@media(min-width:900px) {
	.wpml-ls-item .drop-menu {
		left:43px!important;
		top:110%!important;
	}
}
.menu-smart.top-enhanced-left li {margin-right:4px; margin-left:4px;}
.menu-smart.top-enhanced-left a i{font-size:0.9rem!important;}

.homeCarouselGallery .t-entry-visual-overlay {
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAADCAYAAABWKLW/AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAABRJREFUeNpiYICA/wzoDGTwHyDAADXxAv4Eq8S5AAAAAElFTkSuQmCC);
	background-repeat: repeat!important;
}
@font-face {
    font-family: 'AO-Astoria';
    src: url('https://imacrew.com/wp-content/themes/uncode-child/fonts/AO-Astoria.woff') format('woff');
}
@font-face {
    font-family: 'AO-Astoria';
    src: url('https://imacrew.com/wp-content/themes/uncode-child/fonts/AO-Astoria.woff') format('woff');
}
/* titoli dinamici per attori */
.single-attori h1 {
  font-size: clamp(2.8rem, 6vw, 7rem)!important;
  letter-spacing:0.05em!important;
}

/**********/
/* ASSETS */
/*********/
.btn,
.cf7mls-btns button{
	padding:10px 40px!important;
	border-radius:50px!important;
}
.btnEffect {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  outline: none;
  transition: background-color 0.6s ease-in-out;
}

.btnEffect::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0) 80%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
  z-index: 0;
}

.btnEffect:hover::before {
  width: 300%;
  height: 300%;
}

.btnEffect:hover {
  background-color: #090909; /* Cambia colore se desideri un effetto visibile */
}

.btnEffect span {
  position: relative;
  z-index: 1;
}


.postAttori .t-entry-text hr {border-color:#000!important; border-width:2px!important;}
.postAttori .term-filters-list li{margin-bottom:5px!important;}
@media(min-width:900px){
	.postAttori .t-entry-text-tc{padding-top:15px!important;}
	.postAttori .t-entry-text-tc,
	.postAttori .t-entry-text-tc .t-entry{min-height:80px; }
	.postAttori .t-entry-text-tc .t-entry{display:flex!important; flex-direction:column!important; justify-content:space-between!important;}
	.postAttori .tmb > .t-inside hr{width:100%!important; margin-top:15px!important; margin-bottom:10px!important;}
}



.searchFilter .term-filters-search-input {border:1px solid #000!important;}

.actorFilters .term-filter{margin-bottom:0px!important; height:100%!important;}
.actorFilters .swatch {transition:all 0.1s ease-in-out;  min-height:44px; display: flex; font-weight:700; letter-spacing:0.15em; flex-direction: column; align-items: center; justify-content: center; text-transform:uppercase;}
.actorFilters .swatch:hover,
.actorFilters .term-filter-link--active .swatch{color:#fff!important; background-color:#000;}
.actorFilters a:hover,
.actorFilters .term-filter-link--active{color:#fff!important; background-color:#000;}

/* menu */
.menu-primary-inner li a{
	margin-left:15px;
	margin-right:15px;
}
@media (min-width: 900px) and (max-width: 1400px) {
    .menu-primary-inner li a {
        font-size: 13px !important;
    }
}

/* MOSTRA SEARCH FILTER IN ATTORI */
.ajax-filter-wrapper .ajax-filter-sidebar-wrapper[class*=col-lg-]{display:block!important;}


/* outline */
.whiteOutlineRow {
	outline-offset:10px;	
    outline:2px solid #fff;
}

.iconContattiLeft {}

/* faq section */
.faqSection .wpb_accordion_section {
	border-color:#000!important;
}

/* about */
.polaroidAbout .uncell  {
	border-radius:5px;
}
.polaroidAbout.first {transform:rotate(-1.75deg);}
.polaroidAbout.second {transform:rotate(1.41deg);}
.polaroidAbout.third {transform:rotate(-1.54deg);}
.polaroidAbout.fourth {transform:rotate(1.2deg);}


/* counter */
.counterAbout .counter-text p{
	color:#1f3a5f!important;
	font-weight:700!important;
	letter-spacing:0.55em !important;
	line-height:1!important;
}


/* dots */
.owl-dots .active span {
	background-color:#F9CC42!important;
}


/* FORM */
.style-dark .input-background input[type="text"], .style-light .style-dark .input-background input[type="text"], .style-dark .input-background input[type="email"], .style-light .style-dark .input-background input[type="email"], .style-dark .input-background input[type="number"], .style-light .style-dark .input-background input[type="number"], .style-dark .input-background input[type="url"], .style-light .style-dark .input-background input[type="url"], .style-dark .input-background input[type="tel"], .style-light .style-dark .input-background input[type="tel"], .style-dark .input-background input[type="search"], .style-light .style-dark .input-background input[type="search"], .style-dark .input-background input[type="password"], .style-light .style-dark .input-background input[type="password"], .style-dark .input-background input[type="date"], .style-light .style-dark .input-background input[type="date"], .style-dark .input-background textarea, .style-light .style-dark .input-background textarea, .style-dark .input-background select, .style-light .style-dark .input-background select, .style-dark .input-background .select2-selection--single, .style-light .style-dark .input-background .select2-selection--single, .compose-mode.style-dark .input-background .lateral-nav-parent li, .compose-mode.style-light .style-dark .input-background .lateral-nav-parent li, .style-dark .input-background input[type="checkbox"] {
	border:1px solid #fff;
	border-radius:3px;
}
.input-background .style-dark input[type="text"], .input-background .style-light .style-dark input[type="text"], .input-background .style-dark input[type="email"], .input-background .style-light .style-dark input[type="email"], .input-background .style-dark input[type="number"], .input-background .style-light .style-dark input[type="number"], .input-background .style-dark input[type="url"], .input-background .style-light .style-dark input[type="url"], .input-background .style-dark input[type="tel"], .input-background .style-light .style-dark input[type="tel"], .input-background .style-dark input[type="search"], .input-background .style-light .style-dark input[type="search"], .input-background .style-dark input[type="password"], .input-background .style-light .style-dark input[type="password"], .input-background .style-dark input[type="date"], .input-background .style-light .style-dark input[type="date"], .input-background .style-dark textarea, .input-background .style-light .style-dark textarea, .input-background .style-dark select, .input-background .style-light .style-dark select, .input-background .style-dark .select2-selection--single, .input-background .style-light .style-dark .select2-selection--single, .compose-mode.input-background .style-dark .lateral-nav-parent li, .compose-mode.input-background .style-light .style-dark .lateral-nav-parent li{
	border:1px solid #fff;
	border-radius:3px;	
}
.input-background .style-dark input[type="submit"] {border:2px solid #1f3a5f!important; text-transform:uppercase; background-color:#00000000!important; color:#fff!important; float:right;}	
.input-background .style-dark  input[type="submit"]:hover {background-color:#1f3a5f!important; color:#fff!important;}


.style-dark .input-background input[type="submit"] {border:2px solid #1f3a5f; text-transform:uppercase; background-color:#00000000!important; float:right;}
.style-dark .input-background input[type="submit"]:hover {background-color:#1f3a5f!important;}
.cf7mls-btns button {border:2px solid #1f3a5f!important; text-transform:uppercase; background-color:#000000!important; color:#fff!important;}	
.cf7mls-btns button:hover {background-color:#1f3a5f!important; color:#fff!important;}

.style-dark .input-background input[type="text"], .input-background input[type="number"], .style-dark .input-background input[type="email"], .style-dark .input-background input[type="tel"], .style-dark .input-background input[type="date"] { min-height:54px;}
.style-dark .input-background input[type="text"]::placeholder,
.style-dark .input-background input[type="number"]::placeholder,
.style-dark .input-background input[type="email"]::placeholder,
.style-dark .input-background input[type="tel"]::placeholder,
.style-dark .input-background input[type="date"]::placeholder {color:#B0B0B0!important;}
.style-dark .input-background input[type="date"] i,
.style-dark .input-background input[type="date"]:after,
.style-dark .input-background input[type="date"]:before{color:#fff!important;}
.wpcf7-inline-field {text-transform:uppercase; letter-spacing:0.15em;}
.footerPrivacyPolicy .wpcf7-list-item-label{font-style: italic!important;}

@media(min-width:900px) {
	.fileUpload {display:grid; grid-template-columns:1fr 1fr; gap:15px;}
	.fileUpload br{display:none}
}
@media(max-width:900px) {
	.fileUpload {display:grid; grid-template-columns:1fr; gap:15px;}
	.fileUpload br{display:none}
}
/*steps */
.cf7mls_progress_bar_title {text-transform:uppercase; letter-spacing:0.15em; font-weight:700;}
.cf7_mls_count_step {font-weight:700;}
/* footer */
footer .footer-center {
	padding-top:25px!important;
	padding-bottom:25px!important;
}
footer .text-center {
	text-transform:uppercase;
}
footer .text-center a {
	text-decoration:underline;
}

/******************/
/* PAGINA ATTORE */
/*****************/
.datiAttore {border:0px;}
.datiAttore td {border:0px!important;width:50%!important;}

.datiAttore tr {border-bottom:1px solid #fff; border-left:0px!important; border-right:0px!important; }
.datiAttore tr.noRow{border-bottom:0px!important;}
.datiAttore tr.rowTop{border-top:1px solid #fff;}
.datiAttore tr:first-child { border-top:1px solid #fff;}

.titoloDettaglio{text-align:left; color:#1f3a5f; text-transform:uppercase; letter-spacing:0.15em;}
.titoloDettaglioLingua{font-weight:400;}
.valoreDettaglio{text-align:right; font-weight:400;}
.valoreDettaglioLista{text-align:left; font-weight:400; width:100%;}

.spotlightImg{filter: invert(1);transition:all 0.3s ease-in-out; float:right;}
.spotlightImg:hover{transform:scale(1.1);}

.castingButtonsBox {width:100%!important; display:flex; flex-direction:row;justify-content:space-between;}
.btn-casting {width:100%!important;}

.curriculumAttore, .curriculumAttore thead{border:0px!important;}
.curriculumAttore thead tr{border-bottom:2px solid #000; border-top:0px!important;}
.curriculumAttore thead th {font-weight:700; text-transform:uppercase; letter-spacing:0.1em; border:0px!important;}
.curriculumAttore, .curriculumAttore tbody{border:0px!important;}
.curriculumAttore tbody tr{border:0px!important;}
.curriculumAttore tbody td {font-weight:400; border:0px!important;}
td.campoDescrizioneLunga {max-width:600px;}

.btn.onlyIcon {
	width:
} 
.buttonSectionAttore .onlyIcon {
	padding:10px 15px!important;
	text-align:center!important;
}
.buttonSectionAttore .onlyIcon i {
	margin-right:0px!important;
	padding-right:0px!important;
}
@media(max-width:900px) {
	.buttonSectionAttore a {width:100%!important; transform:scale(1)!important;}
}

	.buttonSectionAttore .btn{font-size:14px!important; padding:10px 24px!important}
	.castingButtonsBox .btn{font-size:14px!important; padding:10px 24px!important; width:100%!important; background-color:rgba(0,0,0,.4)!important;}

/**********/
/* MOBILE */
/**********/
@media(min-width: 960px) {.menu-smart > li > a{padding:0px 0px!important;}}
@media (max-width: 900px) {
  .reducedRow .row {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  .reducedRowTopBottom .row {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }

	
  .wpcf7-inline-wrapper .wpcf7-inline-field {
    width: 100% !important;
    display: block;
    padding: 0px !important;
  }
  .wpcf7-inline-wrapper + .wpcf7-inline-wrapper {
    margin-top: 0px !important;
  }
	.fotoAttore .uncell.single-block-padding {
		padding:10px!important;
	}
	.fotoAttore .btn-container.btn-inline:not(.btn-inline-mobile) {margin-top:0px!important}
}
/* CONTACT MODAL */
#contactModal {
            display: none;
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background: white;
            border-radius:5px;
            padding: 0.5rem 1rem 0.5rem 1rem;
            max-width:360px;
            box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
            z-index: 1000;
        }
        #overlayContact {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 999;
}
.popup-content {
    text-align:center;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
}
.popup-content h4 {
    font-size:1.6rem!important;
}
.popup-content .btn{
    margin:5px auto;
    width:100%;

}
@media(min-width:900px) {
	.customContactsButtons {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 15px;
	}
}
@media(max-width:900px) {
		.customContactsButtons {
		display: grid;
		grid-template-columns: 1fr;
		gap: 15px;
	}
	.customContactsButtons button {
		width:100%!important;
		transform:scale(1)!important;
	}
	.contactEmail {
		transform:scale(1)!important;
	}
}

/* pagina journal */
.acf-repeater-wrapper {
	display:grid;
	grid-template-columns:1fr 1.2fr 1fr;
	gap:15px;
	grid-template-areas: "col1 col2 col3";
}
.acf-repeater-wrapper .colonne:nth-child(1) {
	
}
.acf-repeater-wrapper > .colonne:nth-child(1){ grid-area: col1; }
.acf-repeater-wrapper > .colonne:nth-child(2) { grid-area: col2; }
.acf-repeater-wrapper > .colonne:nth-child(3) { grid-area: col3; }

@media(max-width:900px) {
	.acf-repeater-wrapper {
		grid-template-columns: 1fr;
		grid-template-areas:"col2" "col1" "col3";
	}
}
.secondRow {
	display:grid;
	grid-template-columns:2fr 1fr 1fr;
	gap:15px;
}
@media(max-width: 900px) and (min-width:600px) {
	.secondRow {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 15px;
	}

	.secondRow > :nth-child(1) {
		grid-column: 1 / -1;
		grid-row: 1;
	}

	.secondRow > :nth-child(2) {
		grid-column: 1;
		grid-row: 2;
	}

	.secondRow > :nth-child(3) {
		grid-column: 2; 
		grid-row: 2;
	}
}
@media(max-width: 600px) {
	.secondRow {
	display:grid;
	grid-template-columns: 1fr!important;
	gap:15px;
	}
	.journalGrid .acf-repeater-row.colonne:nth-child(odd) {
		margin-top:0px!important;
	}
}

.journalGrid {
	margin-top:40px;
	display:grid;
	grid-template-columns:1fr 1fr 1fr 1fr;
	gap:15px;
}
@media(max-width: 900px) {
	.journalGrid {
		grid-template-columns:1fr 1fr;
	}
}
@media(max-width: 600px) {
	.journalGrid {
		grid-template-columns:1fr;
	}
}

.journalGrid .acf-repeater-row.colonne:nth-child(odd) {
	display: flex;
	flex-direction:column-reverse!important;
	justify-content:flex-end;
	margin-top:100px;
}
.journalGrid .acf-repeater-row.colonne:nth-child(odd)  .textSection {
	display: flex;
	flex-direction:column!important;
}
.journalGrid .acf-repeater-row.colonne:nth-child(odd) hr {
	margin-top:0px!important;
	margin-bottom:0px!important;
}
.journalGrid .acf-repeater-row.colonne:nth-child(odd) .t-entry-title {
	margin-bottom:27px;
}


.singolaCentrale .colonne {
	display:grid!important;
	grid-template-columns:1fr 2fr!important;
}
@media(max-width:900px) {
	.singolaCentrale .colonne {
		grid-template-columns:1fr!important;
	}
}

.singolaCentrale .textSection {
	background-color:#fff;
	display:flex;
	flex-direction:column;
	justify-content:center;
	padding:30px;
}
.singolaCentrale h4{
	color:#000!important;
}
.singolaCentrale hr{
	border-color:#000!important;
}
.textHeader {
	max-width:490px;
	margin:0 auto;
}
.textHeader .page-title,
.textHeader h4{
	text-align:center;
	text-transform:uppercase;
}
.textHeader .uncode_text_column {
	text-align:center;
	margin-top:15px;
}
.colonne .t-entry-title {
	text-transform:uppercase;
	font-size:18px!important;
	color:#1f3a5f!important;
	margin-top:15px!important;
}
.colonne hr {
	border-width:2px!important;
	border-color:#fff;
}
.acf-repeater-wrapper .imageContainer {
	aspect-ratio: 6 / 3;
  width: 100%; 
  overflow: hidden;
  position: relative; 
}
.singolaCentrale .acf-repeater-wrapper .acf-repeater-row.colonne .imageContainer {
  aspect-ratio: 6 / 3;
  position: relative;
}
.acf-repeater-wrapper .imageContainer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.imageContainer .btn-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}
.acf-repeater-row.colonne {
  display: flex;
  flex-direction: column;
  background: #090909;
}

.acf-repeater-row.colonne > .colonne-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.secondRow .acf-repeater-row.colonne:nth-child(2) {
	display: flex;
	flex-direction:column-reverse!important;
	justify-content:flex-end;
}
.secondRow .acf-repeater-row.colonne:nth-child(2)  .textSection {
	display: flex;
	flex-direction:column!important;
}
.secondRow .acf-repeater-row.colonne:nth-child(2) hr {
	margin-top:0px!important;
	margin-bottom:0px!important;
}
.secondRow .acf-repeater-row.colonne:nth-child(2) .t-entry-title {
	margin-bottom:27px;
}

/* Contenitore immagine */
.imageContainer {
  width: 100%;
  overflow: hidden;
}

/* Aspect ratio diversi */
.secondRow .acf-repeater-row.colonne:first-child .imageContainer {
  aspect-ratio: 7 / 3; 
	position:relative;
}

.secondRow .acf-repeater-row.colonne:nth-child(2) .imageContainer,
.secondRow .acf-repeater-row.colonne:nth-child(3) .imageContainer {
  aspect-ratio: 5 / 5; 
  position:relative;	
}
.singolaCentrale .imageContainer{
  aspect-ratio: 5 / 3;
  position:relative;
}
.journalGrid .imageContainer {
	aspect-ratio: 1 / 1;
	position:relative;
}

.imageContainer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Spingiamo il testo in fondo alla colonna */
.colonne-content .testo {
  margin-top: auto;
  padding: 1rem 0	
}