/*
 * basic markup
 */

@font-face{
	font-family: "CormorantGaramond";
	font-style: normal;
	font-weight: normal;
	src: url(./font/CormorantGaramond-Light.ttf);
}

@font-face{
	font-family: "CormorantGaramond";
	font-style: normal;
	font-weight: bold;
	src: url(./font/CormorantGaramond-SemiBold.ttf);
}

*{
	font-family: 'CormorantGaramond', 'Adobe Garamond Pro', 'Garamond', serif;
	font-weight: 400;
	font-size: 10pt;
  -webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	-webkit-touch-callout: none;
	margin: 0;
	padding: 0;
	color: #191919;
}

html, body{
	padding: 0;
	margin: 0;
	border: 0;
	overflow-x: hidden;
}

a{
	text-decoration: none;
	background-color: transparent;
	-webkit-text-decoration-skip: objects;
	color: inherit;
}
	
a:active, a:hover {
	outline-width: 0;
}

a:hover *{
	transition: opacity 0.1s ease-out;
	opacity: 0.7;
}

/*
 * common elements
 */
.pcOnly{
	display: none;
}

.showUpObject{
	opacity: 0;
	transform: translate3d(0, 0, -30px);
}

.showUpObject.screened{
	opacity: 1;
	transform: translate3d(0, 0, 0);
	transition: transform 600ms cubic-bezier(.25,.75,.45, 1) 300ms, opacity 800ms cubic-bezier(.59,.07,.62,.43) 100ms;
}

.redline{
	position: relative;
	padding-left: 10vw;
	padding-right: 10vw;
	width: 80vw;
}

.redline:after{
	content: "";
	position: absolute;	
	height: 1px;
	background-color: red;
	width: 100%;
	bottom: 1vw;
}

.redline.screened:after{
	animation: sk-redline;
	-webkit-animation: sk-redline;
	animation-duration: 500ms;
	-webkit-animation-duration: 500ms;
	animation-delay: 800ms;
	-webkit-animation-delay: 800ms;
	animation-fill-mode: both;
}

.typedText > span{
	opacity: 0;
	color: inherit;
	font-size: inherit;
}

.typedText.screened > span{
	opacity: 1;
	transition-duration: 10ms;
	transition-property: opacity;
	transition-timing-function: cubic-bezier(.59,.07,.62,.43);
}

@keyframes sk-redline{
	0%{
		max-width: 0;
		left: 0;			
	}
	80% {
		max-width: 90vw;
		left: 0;		
	}
	100% {
		max-width: 80vw;
		left: 10vw;		
	}
}

@-webkit-keyframes sk-redline{
	0%{
		max-width: 0;
		left: 0;			
	}
	80% {
		max-width: 90vw;
		left: 0;		
	}
	100% {
		max-width: 80vw;
		left: 10vw;		
	}
}

.flyingIn{
	position: relative;
	left: 0;
	transition: left 800ms ease-out, opacity 1000ms ease-out 300ms;
}

.flyingIn:not(.screened){
	opacity: 0;
	left: -100vw;
}

header{
	position: fixed;
	top: 0;
	left: 0;
  width: 100vw;
	height: 15vw;
	padding-top: 2vw;
	display: flex;
	justify-content: space-between;
	align-items: center;
	transition: opacity 1500ms ease-in-out 300ms, background-color 400ms ease-in-out, backdrop-filter 400ms ease-in-out, -webkit-backdrop-filter 400ms ease-in-out, height 400ms ease-in-out;
	opacity: 0;
	z-index: 1;
}

header.squeezed{
	height: 12vw;
	padding-top: 0;	
}

body:not(.spMenuOpen) header.squeezed{
	background-color: rgba(255, 255, 255, 0.8);
	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);
}

header.squeezed.black{
	background-color: transparent;
}

body.screened header{
	opacity: 1;
}

header > img{
	width: 20%;
	margin: 15vw 0 20px 40%;
	transition: all 400ms;
	cursor: pointer;
}

header.squeezed > img{
	height: 80%;
	width: auto;
	margin: 0 auto;
}

header > img.logoBlack.logoSmall{
	display: none;
}

header > img.logoWide{
	display: none;
}

header.black > img.logoWhite.logoSmall,
header.squeezed > img.logoWhite.logoSmall{
	display: none;
}

header.black > img.logoBlack.logoSmall,
header.squeezed > img.logoBlack.logoSmall{
	display: block;
}

.spMenuOpen header > img.logoWhite.logoSmall{
	display: block;	
}

.spMenuOpen header > img.logoBlack.logoSmall{
	display: none;
}

/* humburger */
.humburger{
  position: absolute;
  right: 4vw;
  width: 8vw;
	height: 8vw;
	top: 50%;
	transform: translateY(-50%);
	cursor: pointer;
}

header.squeezed > .humburger{
  width: 6vw;
	height: 6vw;	
}

.humburger > span{
	position: absolute;
	top: 50%;
	left: 0;
	display: block;
	width: 100%;
  height: 1px;
  margin: 0;
  background-color: white;
  transition: .2s;	
}
.humburger > span:before,
.humburger > span:after{
  display: block;
  content: "";
  position: absolute;
  width: 100%;
  height: 1px;
  background-color: white;
  transition: .3s;
}
header.black .humburger > span,
header.black .humburger > span:before,
header.black .humburger > span:after,
header.squeezed .humburger > span,
header.squeezed .humburger > span:before,
header.squeezed .humburger > span:after{
	background-color: #191919;
}

.spMenuOpen header .humburger > span{
	background-color: transparent;
}

.spMenuOpen header .humburger > span:before,
.spMenuOpen header .humburger > span:after{
	background-color: white;
}

.humburger > span:before{
  margin-top: -35%;
}
.humburger > span:after{
  margin-top: 35%;
}

.spMenuOpen .humburger > span,
.spMenuOpen header.black .humburger > span{
	background: transparent;
}
.spMenuOpen .humburger > span:before,
.spMenuOpen .humburger > span:after{
  margin-top: 0;
}
.spMenuOpen .humburger > span:before{
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
.spMenuOpen .humburger > span:after{
  -webkit-transform: rotate(-135deg);
  transform: rotate(-135deg);
}

#backToTop{
	position: fixed;
	bottom: 10px;
	right: 5px;
	width: 50px;
	height: 50px;
	cursor: pointer;
}

footer{
	width: 100vw;
	padding: 20px 0;
	color: #808080;
	position: relative;
	border-top: 1px solid #aaa;
}

footer:before{
	content: "";
	left: 0;
	top: -1vw;
	width: 100vw;
	height: 1px;
	background-color: #aaa;
	position: absolute;
}

footer *{
	font-size: calc(12pt + 0.3vw);
	line-height: 1.5em;
}

footer > div{
	margin: 10px auto;
	text-align: center;
}

footer > div > a > img{
	width: 6vw;
	margin: 3vw 2vw;
}

footer > div:first-child{
	width: 60vw;
	padding-bottom: 20px;
	border-bottom: 1px solid #808080;
}

footer > ul{
	list-style: none;
	text-align: center;
	margin: 40px auto;
}

footer > ul > li{
	margin: 10px auto;
}

footer > ul > li > a{
	font-size: calc(11pt + 1vw);	
}

footer > div:last-child{
	width: 80vw;
	border-top: 1px solid #808080;
	padding-top: 20px;
}

.modal{
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-color: rgba(0,0,0,.75);
  text-align: center;
	z-index: 1;
	overflow-y: scroll;
}

.modal:not(.shown){
  display: none;
}

.modal > div{
	width: calc(90% - 100px);
	font-size: calc(10pt + 0.5vw);
	font-weight: bold;
	text-align: center;
	background-color: rgba(255, 255, 255, 0.9);
	border-radius: 10px;
	padding: 20px 50px;
	position: relative;
	margin: 10% auto;
	display: flex;
	justify-content: flex-start;
	flex-wrap: wrap;
}

.modal > div > img.closeButton{
	position: absolute;
	width: 30px;
	height: 30px;
	top: -15px;
	right: -15px;
	cursor: pointer;
}

.forProgressIndicator{
  transition: opacity 200ms ease-in-out;
	position: relative;
}

.forProgressIndicator.sending > *:not(.progressIndicator){
  opacity: 0;
  transition: opacity 200ms ease-in-out;
}

.progressIndicator{
  display: none;
  position: fixed;
	left: calc(50vw - 65px);
	top: calc(50vh - 30px);
	width: 130px;
	text-align: center;
}

.forProgressIndicator.sending .progressIndicator{
  display: block;
}

.progressIndicator > div {
  width: 18px;
  height: 18px;
  border-radius: 100%;
  display: inline-block;
  -webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
  animation: sk-bouncedelay 1.4s infinite ease-in-out both;
	margin: 0 10px;
}

.progressIndicator .bounce1 {
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
  background-color: rgb(0, 0, 191);
}

.progressIndicator .bounce2 {
  -webkit-animation-delay: -0.16s;
  animation-delay: -0.16s;
  background-color: rgb(0, 0, 159);
}

.progressIndicator .bounce3{
  background-color: rgb(0, 0, 127);
}


@-webkit-keyframes sk-bouncedelay {
  0%, 80%, 100% { -webkit-transform: scale(0) }
  40% { -webkit-transform: scale(1.0) }
}

@keyframes sk-bouncedelay {
  0%, 80%, 100% { 
    -webkit-transform: scale(0);
    transform: scale(0);
  } 40% { 
    -webkit-transform: scale(1.0);
    transform: scale(1.0);
  }
}

.stylishArrow:after{
	content: "";
	width: 0;
	height: 0;
	border-top: 10px solid black;
	border-right: 20px solid black;
	border-bottom: 10px solid transparent;
	border-left: 20px solid transparent;
}

#spMenu{
	position: fixed;
	overflow-y: scroll;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0, 0, 0, 0.7);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}

body:not(.spMenuOpen) #spMenu{
	display: none;
	opacity: 0;
	transition: opacity 600ms ease-in-out; 
}

#spMenu > ul{
	list-style: none;
	text-align: center;
	width: 100vw;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
}

#spMenu > ul > li{
	margin: 5vw 0;
}
#spMenu > ul > li > a{
	font-size: calc(11pt + 1.1vw);
	color: white;
}

/*
 ** FORM **
 */

.inputItems{
  width: 90%;
  max-width: 700px;
  margin: 50px auto;
}

.inputItems label{
  width: 200px;
  display: inline-block;
  font-size: calc(8pt + 0.3vw);
  font-weight: bold;
}

.inputItems input{
  width: calc(95% - 230px);
  margin: 10px 0 10px 5%;
  font-size: calc(8pt + 0.3vw);
  padding: 10px;
	border-radius: 5px;
}

.inputItems > div{
	display: flex;
	flex-wrap: nowrap;
	justify-content: center;
}

.inputItems > div > a {
  font-size: calc(8pt + 0.3vw);
  margin: 0 10px;
}

button{
  font-weight: bold;
  margin: 30px auto 0 auto;
  width: 200px;
  font-size: calc(8pt + 0.4vw);
  display: block;
}

button:disabled{
	display: none;
}

.video_container{
	position: relative;
	width: 85vw;
	height: 47.8vw;
	margin: 10vw auto 0 auto;
}

.video_container button{
	margin: 0;
}

.video_container .video_poster{
	position: absolute;
	top: 0px;
	left: 0px;
	object-fit: cover;
	width: 100%;
	height: 100%;
}

.video_container .video_playButton{
	position: absolute;
	top: calc(50% - 30px);
	left: calc(50% - 30px);
	width: 60px;
	height: 60px;
	padding: 0;
	background-image: url(../resources/common/play_circle_outline-white-18dp.svg);
	background-size: cover;
	border: none;
	background-color: transparent;
}

#payment-form{
	width: 400px;
	margin: 30px auto;
  background-color: white;
  padding: 15px 20px;
  border-radius: 3px;
}

#confirmBooking{
	margin-top: 30px;
}

#card-errors{
	color: white;
}

.combo{
	background-color: red;
	color: white;
	padding: 3px 10px;
	border-radius: 15px;
	font-weight: bold;
	margin: 3px 0;
	display: inline-block;
}

.comboNote{
	font-size: calc(7pt + 0.2vw) !important;
}

.comboAdditional{
	font-size: calc(8pt + 0.3vw) !important;
	margin-left: 10px;
}

.coupon{
	background-color: #4399EF;
	color: white;
	padding: 3px 10px;
	border-radius: 15px;
	font-weight: bold;
	margin: 3px 0;
	display: inline-block;
}

select{
  background-color: white;
  border: thin solid #BDB08A;
  border-radius: 4px;
  display: inline-block;
  font-size: calc(8pt + 2vw);
	line-height: calc(12pt + 2vw);
	margin: 0.5em 0;
  padding: 0.5em 3.5em 0.5em 1em;

  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-appearance: none;
  -moz-appearance: none;
	
	background-image:
    linear-gradient(45deg, transparent 50%, #BDB08A 50%),
    linear-gradient(135deg, #BDB08A 50%, transparent 50%),
    linear-gradient(to right, #ccc, #ccc);
  background-position:
    calc(100% - 20px) calc(1em - 1px),
    calc(100% - 15px) calc(1em - 1px),
    calc(100% - 2.5em) calc(0.5em - 3px);
  background-size:
    5px 5px,
    5px 5px,
    1px 1.5em;
  background-repeat: no-repeat;
}

button{
	background-color: #399ee2;
	color: white;
	cursor: pointer;
  border: 0;
	border-radius: 10px;
	padding: 10px 50px;
	font-size: 14pt;
	font-weight: bold;
	margin: 10px auto;
	width: auto;
}

.commonFormContainer label{
	width: 100%;
	display: block;
	font-size: calc(8pt + 1.2vw);
	margin-left: calc(9pt + 1.2vw);
	position: relative;
}

.commonFormContainer label:before{
	content: "";
	background-color: #174880;
	width: calc(6pt + 1.2vw);
	height: calc(6pt + 1.2vw);
	border-radius: 0.8vw;
	position: absolute;
	left: calc(-9pt - 1.2vw);
	top: 1vw;
}
.commonFormContainer input, .commonFormContainer textarea{
	width: calc(94% - 2vw);
	margin: 1vw auto 3vw auto;
	display: block;
	font-size: calc(8pt + 1.8vw);
	padding: 0.5vw 1vw;
}

.graybaseInputContainer{
	border-radius: 5px;
	background-color: #eee;
	width: 80vw;
	margin: 10vw auto 5vw auto;
	padding: 5vw;
}

.graybaseInputContainer > span{
	display: block;
	font-size: calc(8pt + 1.2vw);
	font-weight: bold;
	margin-bottom: 3vw;
}

.graybaseInputContainer > a{
	text-decoration: underline;
	font-size: calc(8pt + 1.2vw);
	text-align: center;
	display: inline-block;
	width: 100%;
	margin: 1vw 0;
}

h1.commonH1{
	font-size: calc(20pt + 2vw);
	letter-spacing: 0.02em;
	margin-top: 30vw;
	text-align: center;
}

@media screen and (min-width: 769px){
	
	.pcOnly{
		display: initial;
	}
	
	.spOnly{
		display: none;
	}
	
	header, header.squeezed{
		height: 6vh;
		padding-top: 1.5vh;
    padding-bottom: 1.5vh;
	}
	
	header > img, header.squeezed > img{
		width: auto;
		height: 100%;
		margin: 20px 4vw;
	}
		
	header > img.logoSmall,
	header.black > img.logoBlack.logoSmall,
	header.squeezed > img.logoBlack.logoSmall{
		display: none;
	}
	
	header > img.logoWhite.logoWide{
		display: block;
	}
	
	header.black > img.logoWhite.logoWide,
	header.squeezed > img.logoWhite.logoWide{
		display: none;
	}
	
	header.black > img.logoBlack.logoWide,
	header.squeezed > img.logoBlack.logoWide{
		display: block;
	}
	
	#spMenu, body:not(.spMenuOpen) #spMenu{
		height: 8vh;
    left: calc(30vh + 30px);
    width: calc(100vw - 30vh - 60px);
    display: block;
    opacity: 1;
    background-color: transparent;
    backdrop-filter: none;
    padding-top: 2vh;
    padding-bottom: 2vh;
	}
	
	header ~ #spMenu, header.squeezed ~ #spMenu{
		height: 4vh;
		padding-top: 2.5vh;
    padding-bottom: 2.5vh;
		z-index: 1;
	}
	
	#spMenu > ul{
		width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    position: relative;
	}
	
	#spMenu > ul > li{
		margin: 0;
		position: relative;
    width: 10%;
	}

	#spMenu > ul > li > a{
    font-size: calc(12pt + 0.7vw);
    color: white;
    margin-top: 4vh;
    position: relative;
    transform: translateY(-50%);
    display: inline-block;
    text-align: center;
	}
	
	header ~ #spMenu > ul > li > a{
		font-size: calc(10pt + 0.4vw);
		margin-top: 2vh;	
	}
	
	header.squeezed ~ #spMenu > ul > li > a{
		color: #191919;
	}
	
	header.black ~ #spMenu > ul > li > a{
		color: #191919;
	}
		
	header div.humburger{
		display: none;
	}
	
	.redline{
		padding-left: 0;
    padding-right: 0;
    width: 40%;
    margin-left: 30%;
    margin-right: 30%;
	}
	
	.redline:after{
		width: 50%;
    bottom: 0;
	}
	
	h1.commonH1{
		margin-top: 150px;
		font-size: 32pt;
	}
	
	.graybaseInputContainer{
		margin: 50px auto;
	}
	
	footer *{
		line-height: 1;
	}
	
	footer > ul {
		display: none;
	}
	
	footer > div:first-child{
		border-bottom: none;
	}
	
	footer > div > a > img{
		width: 30px;
		margin: 5px;
	}
	
	.commonFormContainer{
		max-width: 800px;
	}
	
	.commonFormContainer > span{
		font-size: 14pt;
	}
	
	.commonFormContainer label{
		font-size: 16pt;
	}
	
	.commonFormContainer label:before{
		width: 16pt;
    height: 16pt;
    top: 3px;
	}
	
	.commonFormContainer input, .commonFormContainer textarea{
		font-size: 18pt;
	}
	
	.commonFormContainer th,
	.commonFormContainer td{
		font-size: 14pt;
	}
	

}

@media screen and (min-width: 769px) and (max-width: 1599px){
	
	#spMenu > ul > li:nth-of-type(3),
	#spMenu > ul > li:nth-of-type(4),
	#spMenu > ul > li:nth-of-type(5){
		display: none;
	}
	
	#spMenu > ul > li{
		width: 15%;
	}
	
}
