/*
Theme Name: 	The Araki
Description: 	Responsive WordPress Theme based on Bootstrap and Font Awesome.
Version:     	1.1.0
Author:     	Michael Lau
Text Domain: 	fullbase
Domain Path: 	/languages
Tags:        	grid-layout, blog, custom-menu, featured-images, right-sidebar
License:    	GNU General Public License v3.0
License URI:	http://www.gnu.org/licenses/gpl-3.0.html

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

/* 1 WP-ADMIN */

#wpadminbar{
  top: -28px !important;
  opacity: 0.5;
  cursor: pointer;
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

#wpadminbar .quicklinks ul{
  pointer-events: none;
}

#wpadminbar:hover{
  top: 0px !important;
  opacity: 1;
}

#wpadminbar:hover .quicklinks ul{
  pointer-events: initial;
}

@media (max-width: 782px){
  #wpadminbar{
    top: -42px !important;
  }
}

/* ------------------------------------------------------------------------- *
/* 1 BASE */
/* ------------------------------------------------------------------------- */

@-webkit-keyframes bounceIn {
  from,
  20%,
  40%,
  60%,
  80%,
  to {
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }

  0% {
    opacity: 0;
    -webkit-transform: scale3d(0, 0, 0);
    transform: scale3d(0, 0, 0);
  }

  20% {
    -webkit-transform: scale3d(1.1, 1.1, 1.1);
    transform: scale3d(1.3, 1.3, 1.3);
  }

  40% {
    -webkit-transform: scale3d(0.9, 0.9, 0.9);
    transform: scale3d(0.9, 0.9, 0.9);
  }

  60% {
    opacity: 1;
    -webkit-transform: scale3d(1.03, 1.03, 1.03);
    transform: scale3d(1.03, 1.03, 1.03);
  }

  80% {
    -webkit-transform: scale3d(0.97, 0.97, 0.97);
    transform: scale3d(0.97, 0.97, 0.97);
  }

  to {
    opacity: 1;
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}

@keyframes bounceIn {
  from,
  20%,
  40%,
  60%,
  80%,
  to {
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }

  0% {
    opacity: 0;
    -webkit-transform: scale3d(0, 0, 0);
    transform: scale3d(0, 0, 0);
  }

  20% {
    -webkit-transform: scale3d(1.1, 1.1, 1.1);
    transform: scale3d(1.3, 1.3, 1.3);  }

  40% {
    -webkit-transform: scale3d(0.9, 0.9, 0.9);
    transform: scale3d(0.9, 0.9, 0.9);
  }

  60% {
    opacity: 1;
    -webkit-transform: scale3d(1.03, 1.03, 1.03);
    transform: scale3d(1.03, 1.03, 1.03);
  }

  80% {
    -webkit-transform: scale3d(0.97, 0.97, 0.97);
    transform: scale3d(0.97, 0.97, 0.97);
  }

  to {
    opacity: 1;
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}

@font-face {
  font-family: 'CGBR';
  src: url("fonts/cgbr.ttf"); 
}

@font-face {
  font-family: 'Lato';
  src: url("fonts/Lato-Regular.ttf"); 
}

.lato{
  font-family: 'Lato';
  font-weight: 600;
}

body,
html,
p,
h1,
h2,
h3,
h4,
h5,
h6,
ul,
ol,
form,
address,
dl,
dir,
menu,
blockquote,
article,
figure {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'CGBR';
  font-size: 16px;
  color: #333; 
}

main{
  min-height: 100vh;
}

a{
  position: relative;
  color: #333; 
}

a:hover{
  color: #333;
  text-decoration: none;
}

.huge,
h1 {
  font-size: 1.5rem;
  letter-spacing: 0.1rem;
}

/*56px*/
.large,
h2 {
  font-size: 1.25rem;
  letter-spacing: 0.1rem;
}

/*48px*/
.bigger,
h3 {
  font-size: 1rem;
}

/*32px*/
.big,
h4 {
  font-size: 1rem;
}

/*24px*/
.normal,
h5 {
  font-size: 1rem;
}

.small,
h6 {
  font-size: 12px;
  line-height: 1.5rem;
}

.h6{
  font-size: 14px;
}

h1:first-child,
h2:first-child,
h3:first-child,
h4:first-child,
h5:first-child, 
h6:first-child,
p:first-child{
  margin-top: 0 !important;
}

h1:last-child:not(:first-child), 
h2:last-child:not(:first-child), 
h3:last-child:not(:first-child), 
h4:last-child:not(:first-child),
h5:last-child:not(:first-child),
p:last-child{ 
  margin-bottom: 0 !important;
}

p{
  margin: 1.5rem 0;
  line-height: 2rem;
}

.small,
.small p{
  line-height: 1.5rem;
}

.text-underline{
  text-decoration: underline;
}

.underlined{
  display: inline-block;
  border-bottom: 4px solid #E50011;
}

.text-red{
  color: #E50011;
}

.video{
  width: 100%;
  max-width: 600px;
  margin: auto;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 30px; height: 0; overflow: hidden;
}

.video-container iframe,
.video-container object,
.video-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

img {
  max-width: 100%; 
}

button:focus {
    outline: none;
}

ul.horizontal,
.horizontal li{
  display: inline-block;
  list-style-type: none;
}

.shadow {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.3) !important;
}

.animate {
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.section-break{
  padding: 5rem 0;
}

.dot{
  text-align: center;
  -webkit-transform: scale3d(0, 0, 0);
  transform: scale3d(0, 0, 0);
}

.dot.reached{
  -webkit-transform: scale3d(1, 1, 1);
  transform: scale3d(1, 1, 1);
}

.dot::before{
  display: inline-block;
  content: '';
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background-color: #E50011;
}

.dot.reached::before{
  -webkit-animation-duration: 0.75s;
  animation-duration: 0.75s;
  -webkit-animation-name: bounceIn;
  animation-name: bounceIn;
}

.lazyload, .lazyloading, .lazyloaded {
    transition: 0.5s all;
}

/* ------------------------------------------------------------------------- *
/* 2 HEADER */
/* ------------------------------------------------------------------------- */

header .site-nav li{
  margin: 0.5rem;
}

.site-nav a::after{
  position: absolute;
  bottom: -16px;
  left: 50%;
  display: inline-block;
  content: '';
  width: 100%;
  border-bottom: 0px solid #E50011;
  transform: translateX(-50%);
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.site-nav a:hover::after{
  border-bottom: 12px solid #E50011;
}

header > div{
  height: 100vh;
}

header .logo{
  width: 80%;
  max-width: 580px;
  -webkit-animation-duration: 2s;
  animation-duration: 2s;
  -webkit-animation-name: opac;
  animation-name: opac;
}

@keyframes opac{from{opacity:0} to{opacity:1}}

header nav{
  margin-top: 2rem;
}

@media( min-width: 768px ){
  header .site-nav a{
    margin: 1rem;
  }
}

/* ------------------------------------------------------------------------- *
/* 3 HOMEPAGE */
/* ------------------------------------------------------------------------- */
 
main > section{
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 85vh;
}

main > section:last-of-type{
  min-height: 100vh;
}

main > section > div{
  margin: 1.5rem;
}

main > section h1{
  margin-bottom: 2rem;
}

main > section > div > h2{
  margin-bottom: 4rem;
}

.column-sm{
  max-width: 600px;
}

.column-md{
  max-width: 870px;
}

#the-menu .vat{
  margin-top: 0;
  margin-bottom: 5rem;
}

#the-address address{
  margin-bottom: 5rem;
}

#the-about{
  display: block;
}

#the-about > div{
  display: flex;
  justify-content: center;
  flex-direction: column;
  min-height: 85vh;
}

#the-about > div{
  padding-top: 3rem;
}

#the-about .booking-policy{
  font-size: 1rem;
  margin-top: 3rem;
}

#the-about table{
  width: 100%;
}

#the-about th{
  display: table-cell !important;
}

#the-about td{
  padding-left: 3rem;
}

#the-about > div:last-child > .small{
  margin: 1.5rem 0;
}

@media( min-width: 576px ){
  #the-about .booking-policy{
    font-size: 1.25rem;
    margin-top: 5rem;
  }

  #the-about table{
    font-size: 1.5rem;
  }

  #the-about th{
    width: 276px;
  }
}

@media( min-width: 1200px ){
  #the-about{
    display: flex;
    padding: 2.5rem;
  }

  #the-about > div{
    margin: 2.5rem;
    flex: 1;
    height: auto;
  }
}

#the-timeline dl {
  position: relative;
  min-height: 60vh;
  margin-bottom: 104px;
}

#the-timeline dl::after {
  display: block;
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 88px;
  width: 2px;
  background-color: #E50011;
}

#the-timeline dt {
  clear: both;
  float: left;
  min-width: 88px;
}

#the-timeline dd {
  margin-left: 104px;
  margin-bottom: 1.25rem;
}

@media( min-width: 576px ){
  #the-timeline dl::after {
    left: 132px;
  }

  #the-timeline dt {
    min-width: 132px;
  }

  #the-timeline dd {
    margin-left: 164px;
    max-width: 60vw;
  }
}

@media( min-width: 1200px ){
  #the-timeline dd {
    margin-right: 164px;
    max-width: 32vw;
  }
}

/* ------------------------------------------------------------------------- *
/* 4 FOOTER */
/* ------------------------------------------------------------------------- */

footer{
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  font-size: 14px;
  text-align: center;
  transform: translateY(100%);
}

.scrolled footer{
  transform: translateY(0);  
}

footer nav{
  flex: 1;
  line-height: 42px;
}

footer .logo{
  display: none;
}

footer .site-nav li{
  margin: 0 0.5rem;
}

footer .site-nav a::after{
  position: absolute;
  bottom: -10px;
  left: 50%;
  display: inline-block;
  content: '';
  width: 100%;
  border-bottom: 0px solid #E50011;
  transform: translateX(-50%);
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

footer .site-nav a:hover::after{
  border-bottom: 6px solid #E50011;
}

@media( min-width: 576px ){
  footer{
    font-size: initial;
  }

  footer .logo{
    display: inline-block;
    width: 180px;
    margin: auto;
  }
}

@media( min-width: 992px ){
  footer{
    text-align: initial;
  }

  footer > div{
    display: flex;
    padding: 1rem 1rem 0.4rem 1rem;
}

  footer .site-nav li{
    margin: 0 1rem;
  }

  footer .site-nav a:hover::after{
  border-bottom: 12px solid #E50011;
}

  footer .site-nav a::after{
    bottom: -16px;
  }

  footer .logo{
    position: absolute;
    right: 1.5rem;
    bottom: 0.5rem;
    width: 240px;
  }
}

@media( min-width: 1200px ){
  footer .site-nav li{
    margin: 0 1.5rem;
  }
}

/* ------------------------------------------------------------------------- *
/* 5 INTERNAL */
/* ------------------------------------------------------------------------- */

.internal{
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 3rem 1rem;
}

.internal header{
  text-align: center;
}

.internal header .logo{
  display: inline-block;
  max-width: 200px;
}

.internal header > div{
  height: auto;
}

/* ------------------------------------------------------------------------- *
/* 6 RESERVATION */
/* ------------------------------------------------------------------------- */

#resengo-booknow{
  padding-top: 2.5rem;
}

#resengo-booknow #resengo-process-flow{
  width: 100%;
  max-width: 100%;
}

.reservation-page footer .logo{
  position: static;
  display: inline-block;
  margin: 0 0 0 auto;
  width: 180px;   
}

@media( min-width: 576px){
  .reservation-page{
    padding: 3rem 2rem;
  }
}

/* ------------------------------------------------------------------------- *
/* 7 BOOKING POLICY */
/* ------------------------------------------------------------------------- */

#booking-policy dl dt {
    width: 3em;
    float: left;
    font-weight: 400;
}

#booking-policy .parent-list,
#booking-policy .parent-list dt{
  font-weight: bold;
}

@media( min-width: 768px ){
  .booking-page header{
    position: fixed;
    top: 50%;
    left: initial;
    width: 300px;
    transform: translateY(-50%);
  }

  #booking-policy > article{
    margin-left: 300px;
  }
}

/* ------------------------------------------------------------------------- *
/* 8 GALLERY TEMPLATE */
/* ------------------------------------------------------------------------- */

.page-template-gallery #brand{
  margin-top: 3rem;
}

.page-template-gallery header ul{
  list-style-type: none;
}

.page-template-gallery header ul > li{
  margin: 0.5rem;
  display: inline-block;
  font-size: 14px;
}

.page-template-gallery header ul > li > .active{
  border-bottom: 1px solid #333;
  padding-bottom: 4px;
}

#album-intros{
  margin-top: 1.5rem;
  text-align: center;
}

.album-intro{
  display: none;
}

.intro-0{
  display: block;
}

#gallery{
  display: flex;
  flex-wrap: wrap;
}

#gallery figure{
  width: 50%;
  padding: 0.5rem;
}

#gallery figure img{
  width: 100%;
  height: 100%;
  max-height: 28vw;
  object-fit: cover;
}

.mfp-title{
  font-family: "lato";
}

@media( min-width: 768px ){
  .page-template-gallery header ul > li{
    display: list-item;
    font-size: 1rem;
  }

  #album-intros{
    text-align: left;
  }

  #gallery figure{
    width: 33.3333%;
  }

  #gallery figure img{
    max-height: 16vw;
  }
}

.page-template-gallery .lazyload{
  opacity: 0;
}

.page-template-gallery .lazyloaded{
  opacity: 1;
}

.page-template-gallery .lazyloaded:hover{
  opacity: 0.8;
}

@media( min-width: 768px ){
  .page-template-gallery header{
    position: fixed;
    top: 0;
    left: initial;
    display: flex;
    flex-direction: column;
    width: 300px;
    height: 100%;
    padding: 3rem 0;
  }

  .page-template-gallery header ul{
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-bottom: 10vh;
  }

  .page-template-gallery main{
    margin-left: 300px;
  }
}
