/*
	Theme Name: Le Tre Isole
	Theme URI: https://letreisole.com
	Description: 
	Version: 1.0.0
	Author: dhynet (@dhynet)
	Author URI: https://www.dhynet.com
	Tags: 

	License: 
	License URI: 
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */
*, *:after, *:before { -moz-box-sizing:border-box; box-sizing:border-box; -webkit-font-smoothing:antialiased; font-smoothing:antialiased; text-rendering:optimizeLegibility;}


/* clear */
.clear:before, .clear:after {content:' '; display:table;}
.clear:after {clear:both;}
.clear {*zoom:1;}
img {max-width:100%; vertical-align: middle;}


html, body {width:100%; margin:0; padding:0;}
html {scroll-behavior: smooth; overflow-x: hidden; scroll-padding-top: 7.5rem;}
body { 
	
	background:var(--background);  
	color:var(--main-text);
	font-size:1rem; /* 16px default */
	line-height: 1.5; /* 24px */
	font-family: "Google Sans Flex", sans-serif;
}

a {color:#444; text-decoration:none; transition: 0.3s ease;}
a:hover {color:#444; transition: 0.3s ease;}
a:focus {outline:0;}
a:hover, a:active {outline:0;}
input:focus {outline:0; border:1px solid #04A4CC;}
ul {list-style: none; margin:0; padding:0;}

/* Hide Scrollbar */
::-webkit-scrollbar {display: none;} /* Chrome, Edge, Safari */
html {scrollbar-width: none;} /* Firefox */
html {-ms-overflow-style: none;} /* IE/Edge vecchio */

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

main {width:100%; margin:0; padding:0;}

/* wrapper */
.wrapper 		{width: 100%; max-width:1024px; margin:0 auto;}
.wrapper-big 	{width: 100%; max-width:1480px; margin:0 auto;}
.wrapper-medium {width: 100%; max-width:1280px; margin:0 auto;}
.wrapper-small 	{width: 100%; max-width: 960px; margin:0 auto;}



/* header */
.header {background: var(--main-color)/*rgba(4, 74, 179, 0.9)*/ /* transparent*/; border-bottom:1px solid rgba(255,255,255,0.3); position:fixed; top:0; left:0; width:100%; margin:0; padding:0 2rem; z-index:9999; transition: 0.6s ease;}
.header.sticky,
.home .header {background:rgba(4, 74, 179, 0.9); transition: 0.6s ease; border-width:0;}
.inner_header {display:flex; align-items: center; gap:1.5rem; height:7.5rem; }
.inner_header a {color:white;}

.logo {background:white; padding:0.5rem 3rem; border-radius:50px;}
.logo-img {width:100%; max-width:12rem; height:auto;}

.get-in-touch {flex:1; display:flex; align-items: center; justify-content: flex-end; gap:1.5rem; margin:0 0.5rem 0 0; font-size:0.9rem; line-height:24px;}
.get-in-touch a {display:flex; gap:0.5rem;}

/* nav */
.nav {flex:1; margin:0; padding:0; font-size:0.9rem;}
.nav ul {display:flex; gap:1rem; margin:0; padding:0; list-style:none;}
.nav ul li {margin:0; padding:0;}
.nav ul li a {color:white;}
.nav ul li a:hover {}


/* Hamburgher Menù */
*{-webkit-tap-highlight-color: rgba(0,0,0,0); -webkit-tap-highlight-color: transparent; /* For some Androids */}

.mobilenav-hidden {overflow:hidden;}

.top-animate {background: #fff !important; top: 13px !important; -webkit-transform: rotate(45deg); transform: rotate(45deg);}
.mid-animate {opacity: 0;}
.bottom-animate {background: #fff !important; top: 13px !important; -webkit-transform: rotate(-225deg); transform: rotate(-225deg);}

.top-menu {top: 5px; width: 30px; height: 3px; border-radius: 0px; background-color: #fff;}
.mid-menu {top: 13px; width: 30px; height: 3px; border-radius: 0px; background-color: #fff;}
.bottom-menu {top: 21px; width: 30px; height: 3px; border-radius: 0px; background-color: #fff;}


.icon {display:flex; align-items: center; justify-content: center; width:4rem; height:4rem; padding:0; margin:0 0.5rem 0 0; border:1px solid rgba(255,255,255,0.4); border-radius:50px;}
.menui {background: #fff; position: absolute; z-index: 99999; transition: 0.6s ease; transition-timing-function: cubic-bezier(.75, 0, .29, 1.01);}
.hamburger {position:relative; width:30px; height:30px;}

.mobilenav {display:none; position:fixed; top: 0; left:0; z-index: 99; width:100vw; height:100vh; overflow-x: hidden; overflow-y: auto;}
.mobilenav .mobilenav-inner {display: flex; align-items: center; justify-content: center; position:relative; width:100%; height:100vh; padding:calc(120px + 2rem) 2rem 4rem 2rem; margin:0; background:rgba(4, 74, 179, 0.7); /*background:var(--alt-color-dark);*/}
.mobilenav ul {text-align:center; margin:0; padding:0; list-style:none; font-size:1.5rem; line-height:1.1; text-transform: uppercase; letter-spacing:2px; font-weight:600;}
.mobilenav li {padding:0.5rem 0; margin:0;}
.mobilenav li a {color:white;}
.mobilenav li a:hover {opacity: 0.4;}
.mobilenav .current-menu-item a {opacity:0.4;}

#bg-video {position:fixed; top:0; left:0; width:100%; height:auto; z-index:-1; min-width: 100%;
    min-height: 100%;
    object-fit: cover;}





/* footer */
.footer {position:relative; background:var(--alt-color-dark); color:white; width:100%; margin:0; padding:4rem 2rem 0;}
.footer a, 
.footer h5,
.footer strong {color:white; font-weight:600;}
.footer a:hover {opacity:0.5;}
.footer .logo-img {background:white; padding:0.5rem 3rem; border-radius:50px; max-width: 16rem;}
.inner_footer {display:flex; gap:1.5rem;}
.inner_footer > div {flex:1;}
.inner_footer > div:first-child {border-right:1px solid var(--alt-color);}
.inner_footer > div:last-child {border-left:1px solid var(--alt-color);}
.ai-badge {width:13rem; height:auto;}

.colophon {text-align:center; font-size:0.7rem; line-height:1.2; padding:4rem 0 5rem 0;}

.back-to-top {position:absolute; bottom:0; left:50%; padding:0.5rem; width:4rem; transform: translate(-50%, 40%); background:var(--second-color); border-radius:50px 50px 0 0; text-align:center; z-index:1;}
.back-to-top svg {width:2.5rem; height:auto; stroke:white;}
.back-to-top:hover {opacity:1 !important; background:var(--alt-color-light);}

.disclaimer {width:100%; margin:0; padding:4rem 1rem; background:white; font-size:0.7rem; line-height:1; color:black; text-align:center;}
.disclaimer img {width:auto; height:4rem; margin-bottom:1rem;}

/* sidebar */
.sidebar {}














/*------------------------------------*\
    PAGES
\*------------------------------------*/

.last-news-home {gap:1rem; row-gap:2rem;}
.last-news-home li {margin:0 !important;}
.last-news-home img {aspect-ratio:3 / 2 !important; width:100%; height:auto; object-fit: cover !important; max-height:100% !important; transition: 0.6s ease;}
.last-news-home img:hover {opacity:0.75; transition: 0.6s ease;}
.last-news-home .wp-block-latest-posts__post-title {font-size:1.5rem; line-height:1.1; font-weight:600; color:var(--second-color);}
.last-news-home .wp-block-latest-posts__post-title:hover {color:var(--main-color);}
.last-news-home .view-article {display:none;}

.post-grid {display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; row-gap: 2rem;}
.post-grid h2 {font-size:1.75rem; line-height:1.1;}
.post-grid img {border-radius: 1rem; overflow:hidden; margin-bottom:1rem; aspect-ratio:16 / 9 !important; width:100%; height:auto; object-fit: cover !important; max-height:100% !important; transition: 0.6s ease;}
.post-grid .view-article {display:none;}

.archive section, .category section {margin-top:8rem; margin-bottom:4rem;}
.archive h1, .category h1 {margin-block:2rem; text-align:center;}

.single_header {margin:8rem 0 2rem 0;}
.single_header img {width:100%; border-radius: 1rem; overflow:hidden; aspect-ratio:16 / 9; object-fit:cover; margin-bottom:3rem;}
.single_header h1 {font-size:2.5rem; line-height:1.1;}

.social-share {display:flex; align-items: center; gap:1rem; padding:0.5rem;}
.social-share a {display:flex; align-items: center; justify-content: center;  aspect-ratio:1 / 1; color:white; border-radius:50px; width:3rem; height:2rem;}
.share-facebook{background:#1877F2;}
.share-x{background:#000000;}
.share-email{background:#EA4335;}

.related-posts {display:flex; gap:3rem; background:white; padding:2rem; margin-bottom:4rem;}
.related-posts img {border-radius: 1rem; overflow:hidden; margin-bottom:1rem; aspect-ratio:16 / 9 !important; width:100%; height:auto; object-fit: cover !important; max-height:100% !important; transition: 0.6s ease;}
.related-posts img:hover {opacity:0.75; transition: 0.6s ease;}


/*------------------------------------*\
    LIBRARY
\*------------------------------------*/

:root {

	/* Colors Palette */
	--background: #f5faff;
	--text-color: #151515;
	--title-color: #043581;
	--title-alt-color:#ACACAC;

	--main-color: #044AB3 /*#24307E*/;
	--second-color: #ff6d00;
	--alt-color:#6FE3FF;
	--alt-color-dark:#043581;
	--alt-color-light:#3A6FC2;
	--alt-color-ultralight:#85A5D9;

}

.test {border:1px solid red;}
.hidden {display:none !important;}
.flex {display:flex;}
.flex-center {justify-content: center;}
.flex-end {justify-content: flex-end;}
.grid {display:grid;}
.txt-center {text-align:center;}
.txt-right {text-align:right;}

.cell_padding {padding:4rem;}
.cell_padding-inline {padding-inline:4rem;}
.row_margin {margin:0 1.5rem 5rem 1.5rem !important;}
.extra_padding-inline {padding-inline:8rem !important;}
.border-radius {border-radius: 1rem; overflow:hidden;}

.question {font-size:1.5rem; line-height:1.1; color:var(--main-color); font-weight:600;}

.book-now a{background:var(--second-color); color:white; padding:0.5rem 3rem; border-radius:50px; text-transform: uppercase; margin:0; display:inline-block; /*box-shadow: 0 0 1.5rem rgba(111, 227, 255, 0.5); border:1px solid rgba(255,255,255,0.5);*/}
.book-now a {text-transform: uppercase; letter-spacing:2px; font-weight:600;}
.book-now a:hover {color:white;}
.languages {display:none; color:white; line-height:1.5; font-size:0.9rem; text-align:center;}
.wa {display:inline-block; position:fixed; bottom:1.5rem; right:1.5rem; z-index:999;}
.main-hero {position:relative;}
.main-hero:before {content:''; position:absolute; top:0; left:0; width:100%; height:100%; background:rgba(0,0,0,0.5); z-index:0;}
.main-hero:after {content:''; position:absolute; bottom:2rem; right:6rem; width:170px; height:60px; background: url(img/logo-umbria-cvdi-white.png) center center no-repeat; background-size: 160px auto; z-index:1;}
.main-hero strong {color:white;}

.page-hero {padding:1rem 1rem 5rem 1rem; margin-inline: 1.5rem !important; border-bottom-left-radius: 1rem !important;  border-bottom-right-radius: 1rem !important; overflow:hidden;}
.page-hero p {color:white; text-transform: uppercase; font-weight:600;}

.slide-services strong {font-size:1.5rem;}

.list_chess {color:white; counter-reset: item;}
.list_chess h3 {color:white;}
.list_chess > div {padding:2rem; min-height:30vh; counter-increment: item; position: relative; overflow:hidden;}
.list_chess > div::after {content: counter(item); position: absolute; left: 0; bottom: -48px; font-size: 6rem; font-weight:bold; color:rgba(255,255,255,0.1);}

.list_chess > div:nth-child(8n+1),
.list_chess > div:nth-child(8n+3),
.list_chess > div:nth-child(8n+6),
.list_chess > div:nth-child(8n+8) {
    background: var(--alt-color-light); /* Pattern A */
}
.list_chess > div:nth-child(8n+2),
.list_chess > div:nth-child(8n+4),
.list_chess > div:nth-child(8n+5),
.list_chess > div:nth-child(8n+7) {
    background: var(--main-color); /* Pattern B */
}

.list_border > div > div {border-left:1px dotted var(--title-alt-color); padding:2rem;}
.list_border > div > div:first-child {border-left:0px solid white;}

.gspb_heading_subtitle {line-height:1.2 !important;}



/* Booking Engine
--------------------------------------------- */
#booking-form form {display:flex; align-items: center; justify-content: center; gap:1.5rem; padding:1rem; margin:0 auto; background:white;}
#booking-form label {text-transform:uppercase; font-size:0.9rem; line-height:1; margin:0 1rem 0 0;}
#booking-form input, #booking-form select {padding:0.8rem; width:auto !important;}
#booking-form button {background:black; color:white; text-transform: uppercase; font-size:1rem; line-height:1; padding:1rem 2rem; border-width: 0; margin:0;}

.bookingmobile {display:none;}










/* Typography
--------------------------------------------- */  

p {margin:0 0 1rem 0;}

p b, p strong, strong {font-weight:600; color:var(--main-color);}

h1, h2, h3, h4, h5 {
	/*font-family: "Gilda Display", serif;*/
	color:var(--title-color); 
	font-weight:500; 
	margin:0 0 1rem 0; 
	padding:0;
	letter-spacing:1;
}

h1 {font-size:5rem; line-height:1.1;}
h2 {font-size:2.5rem; line-height:1.1; margin-bottom:2rem;}
h3 {font-size:1.75rem; line-height:1.1;}
h4 {font-size:1.5rem; line-height:1.1;}
h5 {font-size:1.25rem; line-height:1.1;}

small, .text-small {font-size: 0.75rem; line-height:1;}



/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border-width:0;
	border-radius: 0.5rem;
	background: var(--main-color);
	color: white;
	line-height: 1;
	padding: 1rem 2rem;
	text-transform: uppercase;
	margin-top:1rem;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: var(--text-color);
	border: 1px solid #ccc;
	border-radius: 0.5rem;
	padding: 0.8rem;
	width:100%;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
	padding:0.8rem;
}

textarea {
	width: 100%;
	padding:0.8rem;
}








/*------------------------------------*\
    ANIMATIONS
\*------------------------------------*/


/* Fade-in */

@keyframes fadeIn {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}
  
.fade-in {animation: fadeIn 1s ease-in-out 1s forwards;}


/* Fade-up */

@keyframes fadeUp {
	0% {
		opacity: 0;
		transform: translateY(20px);
	}
	100% {
		opacity: 1;
		transform: translateY(0);
	}
}

.fade-up {animation: fadeUp 1s ease-out 1s forwards;} 
  
  
/* Ritardi progressivi */
.fade-up:nth-child(1) {animation-delay: 0s;}
.fade-up:nth-child(2) {animation-delay: 0.2s;}
.fade-up:nth-child(3) {animation-delay: 0.4s;}
.fade-up:nth-child(4) {animation-delay: 0.6s;}
.fade-up:nth-child(5) {animation-delay: 0.8s;}
.fade-up:nth-child(6) {animation-delay: 1s;}  





/*------------------------------------*\
    MISC
\*------------------------------------

::selection {background:yellow; color:black; text-shadow:none;}
::-webkit-selection {background:yellow; color:black; text-shadow:none;}
::-moz-selection {background:yellow; color:black; text-shadow:none;}

*/

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

/* Galleries
--------------------------------------------- */
.gallery {margin-bottom: 1.5em; display: grid; grid-gap: 1.5em;}
.gallery-item {display: inline-block; text-align: center; width: 100%;}
.gallery-columns-2 {grid-template-columns: repeat(2, 1fr);}
.gallery-columns-3 {grid-template-columns: repeat(3, 1fr);}
.gallery-columns-4 {grid-template-columns: repeat(4, 1fr);}
.gallery-columns-5 {grid-template-columns: repeat(5, 1fr);}
.gallery-columns-6 {grid-template-columns: repeat(6, 1fr);}
.gallery-columns-7 {grid-template-columns: repeat(7, 1fr);}
.gallery-columns-8 {grid-template-columns: repeat(8, 1fr);}
.gallery-columns-9 {grid-template-columns: repeat(9, 1fr);}
.gallery-caption {display: block;}

/* Alignments
--------------------------------------------- */
.alignnone {margin:1.5em;}
.alignleft {float: left; margin-right: 1.5em; margin-bottom: 1.5em;}
.alignright {float: right; margin-left: 1.5em; margin-bottom: 1.5em;}
.aligncenter {clear: both; display: block; margin-left: auto; margin-right: auto; margin-bottom: 1.5em;}

a img.alignright {float:right; margin:5px 0 20px 20px;}
a img.alignnone {margin:5px 20px 20px 0;}
a img.alignleft {float:left; margin:5px 20px 20px 0;}
a img.aligncenter {display:block; margin-left:auto; margin-right:auto;}

.wp-caption {background:#FFF; border:1px solid #F0F0F0; max-width:96%; padding:5px 3px 10px; text-align:center;}
.wp-caption.alignnone {margin:5px 20px 20px 0;}
.wp-caption.alignleft {margin:5px 20px 20px 0;}
.wp-caption.alignright {margin:5px 0 20px 20px;}
.wp-caption img {border:0 none; height:auto; margin:0; max-width:98.5%; padding:0; width:auto;}
.wp-caption .wp-caption-text, .gallery-caption {font-size:11px; line-height:17px; margin:0; padding:0 4px 5px;}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {background:transparent !important; color:#000 !important; box-shadow:none !important; text-shadow:none !important;}
	a, a:visited {text-decoration:underline;}
	a[href]:after {content:" (" attr(href) ")";}
	abbr[title]:after {content:" (" attr(title) ")";}
	.ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after {content:"";}
	pre,blockquote {border:1px solid #999; page-break-inside:avoid;}
	thead {display:table-header-group;}
	tr,img {page-break-inside:avoid;}
	img {max-width:100% !important;}
	@page {margin:0.5cm;}
	p, h2, h3 {orphans:3; widows:3;}
	h2, h3 {page-break-after:avoid;}
}






/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/


/* Smartphone Portrait */
@media only screen
    and (max-width: 767px)
    and (orientation: portrait) {

		body {overflow-y: hidden;}

		h1 {font-size:3.5rem;}
		h2 {font-size:2rem;}
		h3 {font-size:1.5rem;}

		.cell_padding {padding: 2rem;}
		.row_margin {margin: 0 0.75rem 3rem 0.75rem !important;}
		.page-hero {height:60vh; padding-bottom:3rem;}

		.header {padding-inline:1rem; background:rgba(4, 74, 179, 0.9); border-width:0;}
		.inner_header {justify-content: space-between; gap:0.5rem;}
		.icon {width:3rem; border-width:0;}
		.mobilenav ul {font-size:1.25rem;}
		.get-in-touch {flex-direction: column; row-gap:0.5rem; margin-left:1rem;}
		.get-in-touch a {background: var(--alt-color-light); border-radius: 50px; padding: 0.5rem;}
		.get-in-touch span {display:none;}
		.book-now {opacity:0; position:fixed; z-index:99; bottom:2rem; left:50%; transform: translateX(-50%); width:70%; text-align:center; border-radius:50px;}
		.book-now a {padding-block:1rem;}
		.main-hero:after {right:calc(50% - 85px); background-size: 120px auto;}

		.inner_footer > div {border-width:0 !important; text-align:center !important;}
		.inner_footer, .colophon {flex-direction: column; row-gap:3rem;}
		.disclaimer {padding-bottom:8rem;}

		.related-posts {flex-direction: column;}
		.post-grid {grid-template-columns: repeat(1, 1fr);}

	}	


/* Tablet Portrait */
@media only screen
	and (min-width: 768px)
    and (max-width: 1023px)
    and (orientation: portrait) {

		body {overflow-y: hidden;}

		h1 {font-size:3.5rem;}
		h2 {font-size:2rem;}
		h3 {font-size:1.5rem;}

		.cell_padding {padding: 2rem;}
		.row_margin {margin: 0 0.75rem 3rem 0.75rem !important;}
		.page-hero {min-height:40vh !important; padding-bottom:3rem;}

		.header {padding-inline:1rem; background:rgba(4, 74, 179, 0.9); border-width:0;}
		.inner_header {justify-content: space-between; gap:0.5rem;}
		.icon {width:3rem; border-width:1px;}
		.mobilenav ul {font-size:1.25rem;}
		.get-in-touch span {display:none;}
	}	

@media only screen
    and (min-width: 1024px)
    and (max-width: 1279px)
    and (orientation: landscape) {
		.inner_header {justify-content: space-between;}
		.get-in-touch span {display:none;}
	}