@import url(https://fonts.googleapis.com/css?family=Crimson+Text|Libre+Franklin&display=swap);

body, html {
	font-size: 80%
}
body {
	background-color: rgba(16, 34, 64, 1);
	font-family: 'Libre Franklin', sans-serif;
	color: rgba(255, 255, 255, 1)
}

.ff-crimson{
	font-family: 'Crimson Text', serif;
}
.ff-barlow-cond{
	font-family: 'Barlow Condensed', sans-serif;
}
 
.v-line-50px{
	height: 50px;
	line-height:50px;
	width: 1px;
}
.v-line-100px{
	height: 100px;
	line-height:100px;
	width: 1px;
}

#splash-hero {
	height: 100vh;
	width: 100%;
	background-image: url(../immagini/home/marinato-knots.jpg);
	background-size: cover;
	background-position: center;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: center;
	text-align: center
}
#splash-hero h1 {
	font-family: 'Crimson Text', serif;
	font-size: 3.75em;
	font-weight: 400;
	position: relative;
	z-index: 3
}
#splash-hero-v-line {
	height: 15%;
	width: 1px;
	background-color: rgba(255, 255, 255, .6)
}
#hero-scroll{
	color: rgba(255,255,255,1.00);
	text-decoration: none;
	line-height:40px;
	display: inline-block;
	text-align: center;
	position: absolute;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	transition: all 300ms ease 0s;
}
#hero-scroll:before{
	content: '';
	height: 10vh;
	width: 1px;
	background-color: rgba(255,255,255,0.60);
	display: block;
	position: relative;
	left: 50%;
	transition: all 300ms ease 0s;
}
#hero-scroll:hover{
	color: rgba(58,141,222,1.00);
}
#hero-scroll:hover:before{
	background-color: rgba(58,141,222,1.00);
}



/************************************************************************ header nav hamburger prenota  */
body.nav-main-active #nav-main-opener:after{
	color: rgba(49, 65, 105, 1);
}
body.nav-main-active #nav-main{
	left: 0px;
	opacity:1;
}
body.header-sticky #header-main{
	background-color: rgba(16, 34, 64,0.90);
}
body.header-sticky #header-main #header-main-line-left, body.header-sticky #header-main #header-main-line-right {
	width: calc( 100% / 2);
}
body.header-sticky #header-main #header-main-logo {
	top: 15px;
	height: 60px;
	width: 140px;
	background-image: url("logo-marinato-sticky.png");
}
#header-main{
	position: fixed;
	left: 0;
	top:0;
	height: 90px;
	width:100%;
	z-index: 10;
	transition: all 400ms ease 0s;
}
#header-main-line-left {
	position: absolute;
	top: 0;
	left: 0;
	height: 90px;
	width: calc(100% / 2 - 60px);
	border-bottom: 1px solid rgba(255, 255, 255, .6)
}
#header-main-line-left:after {
	position: absolute;
	top: 0;
	left: 0;
	height: 90px;
	width: 70px;
	content: '';
	border-right: 1px solid rgba(255, 255, 255, .6)
}
#header-main-line-right {
	position: absolute;
	top: 0;
	right: 0;
	height: 90px;
	width: calc(100% / 2 - 60px);
	border-bottom: 1px solid rgba(255, 255, 255, .6)
}
#header-main-line-right:after {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	height: 90px;
	width: 70px;
	border-left: 1px solid rgba(255, 255, 255, .6)

}
#header-main-logo {
	position: absolute;
	top: 25px;
	left: 50%;
	width: 90px;
	transform: translateX(-50%);
	background-image: url("logo-marinato-ver-white-128.png");
	background-position: center center;
	background-size: 100%;
	background-repeat: no-repeat;
	height:128px;
}
#nav-main-opener{
	position:fixed;
	top:15px;
	z-index:12;
}
#nav-main-opener:after{
	position: absolute;
	top: 20px;
	left: 80px;
	color:rgba(255,255,255,1.00);
	font-family:'Crimson Text', serif;
	font-size: 1rem;
}
#prenota-opener{
	position:fixed;
	top: 18px;
	right: 0px;
	padding:5px 16px;
	z-index:11;
}
#prenota-opener:before{
	position: absolute;
	top: 20px;
	right: 70px;
	color:rgba(255,255,255,1.00);
	font-family:'Crimson Text', serif;
	font-size: 1rem;
}
#nav-main{
	position: fixed;
	z-index: 12;
	width: 320px;
	height: 100%;
	top: 0px;
	left:-300px;
	background-color: rgba(255,255,255,1.00);
	transition: all 500ms ease-out 0s;
	opacity:0;
}
#nav-list{
	margin: 0;
	padding: 0;
	list-style-type: none;
	counter-reset: nav-list-counter;
}
#nav-list:before, #nav-list:after{
	content: url("menu-waves.png");
	display: block;
}
#nav-list:before{
	margin-bottom: 1rem;
}
#nav-list li {
	counter-increment: nav-list-counter;
	margin-bottom: .75rem;
}
#nav-list li::before {
	content: "0" counter(nav-list-counter);
	color: rgba(58, 141, 222, 1);
	display: block;
}
#nav-list li a {
	color: rgba(16,34,64,1);
	display: inline-block;
	line-height: 100%;
  	transition: all 300ms ease-out 0s;
	text-decoration: none;
	padding: 5px;
}
#nav-list li a:hover {
	color: rgba(58, 141, 222, 1);
}
#nav-list li a:hover {
	color: rgba(58, 141, 222, 1);
}
#nav-socials a {
  	transition: all 300ms ease-out 0s;
}
#nav-socials a:hover {
	opacity: .6;
}
@media screen and (min-width: 768px){
	body.header-sticky #header-main #header-main-logo {
		top: 5px;
		width:  214px;
		height: 80px;
	}
	#header-main-line-left, #header-main-line-right {
		width: calc((100% - 208px) / 2);
	}
	#header-main-line-left:after {
		width: calc((100% -214px) / 2);
	}
	#header-main-line-right:after {
		width: calc((100% -214px) / 2);
	}
	#header-main-logo {
		width: 214px;
		height: 110px;
		top: 20px;
		background-image: url("logo-marinato-desktop-213.png");
	}
	#nav-main-opener{
		border-right: none;
	}
	#nav-main-opener:after{
		content: 'MEN\00d9';
	}
	#prenota-opener{
		border-left: none;
	}
	#prenota-opener:before{
		content: 'PRENOTA';
	}
}
/********************************************************************** prenota widget */
body.prenota-widget-active #prenota-widget{
	right: 0px;
	opacity:1;
}

#prenota-widget{
	position: fixed;
	z-index: 15;
	width: 320px;
	height: 100%;
	top: 0px;
	right:-300px;
	background-color: rgba(255,255,255,1.00);
	transition: all 500ms ease-out 0s;
	opacity:0;
}






.pattern-waves{
	background-image: url(../immagini/patterns/waves.png);	
}

#hero-mid-line {
	position: absolute
}
.social-icons a {
	border: 1px solid rgba(255, 255, 255, .6);
	width: 54px;
	height: 54px;
	display: inline-block;
	transition: all .5s ease 0s
}
.social-icons a:last-child {
	border-left: none;
	width: 53px
}
.social-icons a:hover {
	background-color: rgba(0, 88, 151, 1)
}
a {
	color:rgba(255,255,255,1.00);
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}

@media screen and (min-width: 768px) {
	body, html {
		font-size: 100%
	}
}
@media only screen and (min-device-width:1024px) and (max-device-width:1366px) and (-webkit-min-device-pixel-ratio:2) {
	#splash-hero {
		height: -webkit-fill-available!important
	}
}