/*
	Theme Name: HTML5 Blank
	Theme URI: http://html5blank.com
	Description: HTML5 Blank WordPress Theme
	Version: 1.4.3
	Author: Todd Motto (@toddmotto)
	Author URI: http://toddmotto.com
	Tags: Blank, HTML5, CSS3

	License: MIT
	License URI: http://opensource.org/licenses/mit-license.php
*/

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

:root {

	/* Colors Palette */
	--background: #eff3ff;
	--text-color: #222736;
	--title-color: #222736;

	--main-color: #FBCB00;
	--second-color: #222736;
	--alt-color:#2e3650;
	--alt-color-light:#b6cee8;

	--corporate-color: #174025;

	/* Typo */
	--main-font: "Valley Sans", sans-serif;
	--title-font: "Inter", sans-serif;

}

/* 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;}
body { 
	
	background:var(--background);  
	color:var(--text-color);
	font-size:1rem;
	line-height:1.5;
	font-family: var(--main-font);

}

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


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

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

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



/* header */
.header {background:var(--second-color); padding-block:1rem; position:fixed; top:0; left:0; width:100%; z-index:99; color:white;}
.inner-header {display:flex; align-items: center;}
.inner-header a {color:white; font-weight:700; font-size:0.75rem;}

.logo {position:relative; flex:1; text-align:center;}
.logo:after {content:''; position:absolute; width:100%; height:0.5rem; bottom:-1.25rem; left:0; background:var(--main-color); border-bottom-left-radius: 100%; border-bottom-right-radius: 100%;}
.logo-img {width:10rem; height:auto;}

.left_nav, .right_nav {width:33.33%; display:flex; align-items: center; gap:2vw;}
.right_nav {justify-content: flex-end;}


/* nav */
.nav {}
.nav ul {margin:0; padding:0; list-style: none;}
.nav ul li {margin:0; padding:0;}
.nav ul li a {}
.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: 2rem; height: 2px; border-radius: 0px; background-color: #fff;}
.mid-menu {top: 13px; width: 1.5rem; height: 2px; border-radius: 0px; background-color: #fff;}
.bottom-menu {top: 21px; width: 2rem; height: 2px; border-radius: 0px; background-color: #fff;}


.icon {background:var(--alt-color); display:flex; align-items: center; justify-content: center; width:3.75rem; height:3.75rem; padding:0; margin:0;}
.menui {background: #fff; position: absolute; z-index: 99999; transition: 0.6s ease; transition-timing-function: cubic-bezier(.75, 0, .29, 1.01);}
.hamburger {width:2rem; height:30px; position:relative; display:block; left:0px; top:0px;}

.mobilenav {background:var(--alt-color); display:none; position:fixed; top: 105px; left:0; z-index: 9; width:100vw; height:auto; overflow-x: hidden; overflow-y: auto;}
.mobilenav .mobilenav-inner {position:relative; padding:1.5rem;}
.mobilenav ul {display:flex; gap:1rem; margin:0; padding:0; list-style:none;}
.mobilenav li {flex:1; padding:0; margin:0; text-align:center; text-transform: uppercase; font-size:0.875rem; letter-spacing: 2px;}
.mobilenav li a {color:white; font-weight:500;}
.mobilenav li a:hover {opacity: 0.4;}
.mobilenav li a.selected {}
.mobilenav .current_page_item a {color:var(--main-color);}

.book_now {text-transform: uppercase; display:inline-block; padding:1rem 2rem; border-top:2px solid var(--main-color); border-bottom:2px solid var(--main-color);}



/* footer */
.footer {background:var(--second-color); color:white; padding-top:4rem; padding-bottom:8rem; margin:0;}
.inner-footer {display:flex; align-items: flex-end; gap:4vw;}
.inner-footer a {color:white;}
.inner-footer > div {width:25%;}
.footer_title {display:block; color:var(--main-color); text-transform: uppercase; margin-bottom:1rem; font-weight:600; letter-spacing:2px; font-size:0.875rem;}
.copyright {text-align:right; font-size:0.75rem;}


/* sidebar */
.sidebar {}














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







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

.hidden {display:none !important;}
.flex {display:flex;}
.grid {display:grid;}

.row_margin {margin-bottom:6rem !important;}
.row_padding {padding-inline:1.5rem !important;}
.cell_padding {padding:5rem;}
.img_radius {border-radius:1.25rem; overflow:hidden;}
.eyebrow {text-transform: uppercase; margin-bottom:1.5rem; font-size:0.75rem; letter-spacing:2px; font-weight:700;} 
.eyebrow:before, .eyebrow:after {content:'.'; color:var(alt-color-light);}







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


p {margin-bottom:1rem;}

p b, p strong {font-weight:800;}

h1, h2, h3, h4, h5 {
	font-family: var(--title-font);
	color:var(--alt-color); 
	font-weight:800; 
	margin:0 0 1.5rem 0; 
	padding:0; 
	clear:both;
	letter-spacing:1.4px;
}

h1 {font-size:3.5rem; line-height:1.2;}
h2 {font-size:2.5rem; line-height:1.2;}
h3 {font-size:1.75rem; line-height:1.2;}
h4 {font-size:1.5rem; line-height:1.2;}
h5 {font-size:1.25rem; line-height:1.2;}

small, .text-small {font-size: 12px; line-height:14px;}



/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

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: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

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

textarea {
	width: 100%;
}








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

@media only screen
    and (max-width: 767px)
    and (orientation: portrait) {
		
		body {overflow-x: hidden;}
		h1 {font-size: 4rem !important; line-height: 2.5rem !important;}
		.home h1 {line-height: 3rem !important;}
		h2 {font-size: 2rem;}
		.cell_padding {padding: 1rem;}

		.header-email, .header-phone, .logo:after {display:none;}
		.book_now {padding-inline:0.75rem;}
		.mobilenav {top:90px;}
		.mobilenav ul {flex-direction: column;}

		.inner-footer {flex-direction: column; text-align: center;}
		.inner-footer > div {width:100%;}
		.inner-footer .logo-img {margin-bottom:2rem;}
		.copyright {text-align: center;}

	}	


@media only screen
	and (min-width: 768px)
	and (max-width: 1479px)
	and (orientation: portrait) {
		body {overflow-x: hidden;}
		h2 {font-size: 2rem;}

		.cell_padding {padding: 2rem;}
		.row_margin {margin-bottom: 4rem !important;}
		.logo-img {width:8rem;}
		.mobilenav {top:90px;}

	}