/*
	Theme Name: Hotel Forum
	Theme URI: https://www.hotelforum.biz/
	Description: 
	Version: 1.0.0
	Author: dhynet (@dhynet)
	Author URI: https://www.dhynet.com
	Tags: 

	License: 
	License URI: 
*/




:root {

	/* Colors Palette */
	--background: #faf5eb;

	--text-color: #2d2012;
	--title-color: #2d1212 /*#53381c*/;

	--text-font:	"Fraunces", serif /*"Inter", sans-serif*/;
	--title-font:	"Fraunces", serif;

	--main-color: #F5EAD2;
	--second-color: #2d1212 /*#2d2012*/;
	--alt-color:#531f1c /*#53381c*/;
	--alt-color-light:#c0a685;

}



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

}

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


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

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

/* wrapper */
.wrapper 		{width: min(96%, 1024px); margin:0 auto;}
.wrapper-big 	{width: min(96%, 1480px); margin:0 auto;}
.wrapper-medium {width: min(96%, 1280px); margin:0 auto;}
.wrapper-small 	{width: min(96%,  960px); margin:0 auto;}



/* header */
.header {transition: 0.4s ease; font-weight:400; background:var(--background); position:fixed; top:0; left:0; width:100%; margin:0; padding:1rem 0; z-index:999;}
.header.sticky {transition: 0.2s ease; background:var(--main-color);}
.inner_header {display:flex; align-items: center; gap:2rem;}

.logo {flex:1; }
.logo-img {}


/* nav */
.nav {margin:0; padding:0;}
.nav ul {display:flex; gap:1.5rem; margin:0; padding:0; list-style:none; text-transform: uppercase;}
.nav ul li {margin:0; padding:0;}
.nav ul li a {display:block; padding:2px 0.5rem; border:1px solid transparent; transition: 0.2s ease;}
.nav ul li a:hover {border-bottom:1px solid var(--alt-color);transition: 0.2s ease;}
.nav ul li.current-menu-item a {border-top:1px solid var(--alt-color-light); border-bottom:1px solid var(--alt-color-light); transition: 0.2s ease;}


/* 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 {top: 13px !important; -webkit-transform: rotate(45deg); transform: rotate(45deg);}
.mid-animate {opacity: 0;}
.bottom-animate {top: 13px !important; -webkit-transform: rotate(-225deg); transform: rotate(-225deg);}

.top-menu {top: 5px; width: 2rem; height: 3px;}
.mid-menu {top: 13px; width: 2rem; height: 3px;}
.bottom-menu {top: 21px; width: 2rem; height: 3px;}

.icon {display:none; width:2rem; height:2rem; padding:0; margin:0;}
.menui {background: var(--second-color); position: absolute; z-index: 99999; transition: 0.6s ease; transition-timing-function: cubic-bezier(.75, 0, .29, 1.01);}
.hamburger {position:relative; display:block; left:0px; top:0px;}

.mobilenav {display:none; position:fixed; top: 0; right:0; z-index: 9; width:auto; height:100vh; overflow-x: hidden; overflow-y: auto; background:var(--second-color); color:white;}
.mobilenav .mobilenav-inner {position:relative; width:100%; height:auto; padding:6rem 1.5rem 1rem 2.5rem; margin:0;}
.mobilenav ul {margin:0; padding:0; list-style:none; font-size:1.5rem; font-family: var(--title-font); font-weight:500; text-transform: uppercase;}
.mobilenav li {padding:1rem; margin:0; text-align:right; border-bottom:1px solid var(--alt-color-light);}
.mobilenav li a {color:white;}
.mobilenav li a:hover {opacity: 0.4;}
.mobilenav li a.selected {color:#ed253c;}
.mobilenav .current_page_item a {color:#87764D;}

.book-now {font-family:var(--title-font); text-transform: uppercase; display:inline-block; background-color:var(--alt-color); color:white; padding:0.75rem 2rem;}
.book-now:hover {background:var(--second-color); color:var(--alt-color-light);}


/* footer */
.footer {background:var(--second-color); color:white; padding-bottom:3rem;}
.footer a {color:var(--main-color);}
.inner_footer {display:flex; gap:3rem; margin-bottom:3rem; padding-top:3rem;}
.inner_footer .col {flex:1;}
.colophon {display:flex; justify-content: space-between; gap:3rem;}




/* 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;}
.cell_padding {padding:2rem;}
.eye-brow {font-weight:400; text-transform: uppercase; margin-bottom:1.5rem;}
.eye-brow:before {content:'_ '; color:var(--alt-color-light);}

.main-hero {position:relative; padding-bottom:7rem; padding-inline:1.5rem;}
.main-hero:before {content:''; position:absolute; left:50%; bottom:0; width:1px; height:5rem; background:white; z-index:99;}
.main-hero:after {content:''; position:absolute; left:calc(50% - 1.5rem); bottom:5rem; width:3rem; height:1px; background:white; z-index:99;}

.main-row {position:relative; padding-block:7rem;}
.main-row:before {content:''; position:absolute; left:50%; top:0; height:100%; width:1px; background:var(--second-color); z-index:99;}

.section-full {position:relative; padding:7rem 1.5rem 4rem 1.5rem; color:white;}
.section-full:before {content:''; position:absolute; left:50%; top:0; width:1px; height:5rem; background:white; z-index:99;}
.section-full:after {content:''; position:absolute; left:calc(50% - 1.5rem); top:5rem; width:3rem; height:1px; background:white; z-index:99;}

.bottom-flex {display:flex; flex-direction: column; justify-content: flex-end;}



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


p {margin-bottom:1rem;}

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

h1, h2, h3, h4, h5 {
	font-family: var(--title-font);
	color:var(--title-color); 
	font-weight:normal; 
	margin:0 0 1rem 0; 
	padding:0;
}

h1 {font-size:4.5rem; 	line-height:1.1;}
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.1;}

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



/* 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:3rem;}
		h2 {font-size:2rem;}

		.nav,
		.main-row:before {display:none;}
		.icon {display:block;}
		.inner_footer, .colophon {flex-direction: column;}

		.book-now {position:fixed; left:0; bottom:0; width:100%; text-align:center; z-index:99;}

	}	


@media only screen
    and (min-width: 768px)
    and (max-width: 1480px)
    and (orientation: portrait) {

		body {overflow-x: hidden;}
		.nav {display:none;}
		.icon {display:block;}
		.cell_padding {padding:1rem;}

	}

@media only screen
    and (min-width: 768px)
    and (max-width: 1179px)
    and (orientation: landscape) {

		body {overflow-x: hidden;}
		.nav {display:none;}
		.icon {display:block;}

	}	