@font-face {
  font-family: 'Futura';
  src: url('fonts/Futura-Book-font.ttf') format('truetype');
}

@font-face {
  font-family: 'Futura Light';
  src: url('fonts/Futura-Light-font.ttf') format('truetype');
}

@font-face {
  font-family: 'Gotham Bold';
  src: url('fonts/GothamHTF-Bold.ttf') format('truetype');
}

.submitted-message {
  text-align: center;
  font-size: 20px;
  font-family: 'Futura';
  color: #7C8950;
}

a, p, button, input, select, pre, * {
  font-family: 'Futura';
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Gotham Bold';
  color: #231F20;
}

.white-space {
  white-space: pre-line;
}

.primary-color {
  font-weight: bold;
}

.title {
  font-family: 'Gotham Bold';
  color: #00D1CA;
}

.subtitle {
  font-family: 'Futura';
  font-weight: bold;
}

.title-noevents {
  font-family: 'Futura';
  font-weight: bold;
}

.title-header {
  font-size: 6rem;
}

html {
  scroll-behavior: smooth;
}

.form-group {
  margin-bottom: 0;
}

.input-group-text {
  background-color: #d3a344;
  color: white;
  border: 1px solid #d3a344 !important;
}

.first-input {
  background-color: #a49684;
  color: white;
  border: 1px solid #a49684 !important;
}

@media only screen and (max-width: 1000px) {
  .w-75 { width: 100% !important; }
}

.size-18 { font-size: 18px; }
.size-16 { font-size: 16px; }
.size-14 { font-size: 14px !important; }

.py-10 {
  padding-left: 6rem;
  padding-right: 6rem;
}

.d-mobile-show { display: none; }

.img-logo-header { width: 16%; }
.img-logo { width: 50%; }

.center-vertically {
  margin: auto;
  width: 50%;
}

.img-hover-zoom { overflow: hidden; }
.img-hover-zoom img { transition: transform .40s ease; }
.img-hover-zoom:hover img { transform: scale(1.1); }

/* Header backgrounds */
.headervideo {
  background: url('../img/silide-rooftop-2.jpg') black no-repeat center center scroll;
  background-size: cover;
  position: relative;
  background-color: black;
  height: 84vh;
  min-height: 25rem;
  width: 100%;
  overflow: hidden;
}

.headerpackage {
  background: url('../img/fives-rooftop-riviera-maya-packages.jpg') black no-repeat center center scroll;
  background-size: cover;
  position: relative;
  background-color: black;
  height: 84vh;
  min-height: 25rem;
  width: 100%;
  overflow: hidden;
}

.headervideo .container,
.headerpackage .container {
  position: relative;
  z-index: 2;
}

@media (pointer: coarse) and (hover: none) {
  .headervideo {
    background: url('../img/silide-rooftop-2.jpg') black no-repeat center center scroll;
    background-size: cover;
  }
}

.headervideo .overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: #31313159;
  opacity: 0.5;
  z-index: 1;
}

.headerpackage .overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.3);
  z-index: 1;
}

.to-bottom {
  position: absolute;
  bottom: 20px;
  width: 100%;
}

.btn-language {
  border: 0;
  color: #231F20;
  font-size: 19px;
  letter-spacing: 0.225em;
  text-transform: uppercase;
  font-weight: bold;
}

.btn-language:hover {
  color: #231F20;
  text-transform: uppercase;
  text-decoration: underline;
}

/* Page wrapper + slide menu */
#page-wrapper {
  -moz-transition: opacity 0.5s ease;
  -webkit-transition: opacity 0.5s ease;
  transition: opacity 0.5s ease;
  opacity: 1;
}

#page-wrapper:before {
  background: rgba(0,0,0,0);
  content: '';
  display: none;
  height: 100%;
  left: 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10001;
}

#menu {
  -webkit-transform: translateX(20em);
  transform: translateX(20em);
  -webkit-transition: transform 0.5s ease;
  transition: transform 0.5s ease;
  -webkit-overflow-scrolling: touch;
  background: #3E3E3F;
  color: #ffffff;
  height: 100%;
  max-width: 80%;
  overflow-y: auto;
  padding: 3em 2em;
  position: fixed;
  right: 0;
  top: 0;
  width: 20em;
  z-index: 10002;
}

#menu ul {
  list-style: none;
  padding: 0;
}

#menu ul > li {
  border-top: solid 1px rgba(0,0,0,0.125);
  margin: 0.5em 0 0 0;
  padding: 0.5em 0 0 0;
}

#menu ul > li:first-child {
  border-top: 0 !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
}

#menu ul > li > a {
  border: 0;
  color: inherit;
  display: block;
  font-size: 18px;
  letter-spacing: 0.225em;
  outline: 0;
  text-decoration: none;
  text-transform: uppercase;
}

@media screen and (max-width: 736px) {
  #menu ul > li > a { line-height: 3em; }
  #menu { padding: 3em 1.5em; }
}

#menu .close {
  background-image: url("images/close.svg");
  background-position: 4.85em 1em;
  background-repeat: no-repeat;
  border: 0;
  cursor: pointer;
  display: block;
  height: 3em;
  position: absolute;
  right: 0;
  top: 0;
  vertical-align: middle;
  width: 7em;
}

body.is-menu-visible #page-wrapper { opacity: 0.35; }
body.is-menu-visible #page-wrapper:before { display: block; }
body.is-menu-visible #menu {
  -webkit-transform: translateX(0);
  transform: translateX(0);
}

/* Header bar */
#header {
  -webkit-transition: background-color 0.2s ease;
  transition: background-color 0.2s ease;
  background: #2e3842;
  height: 3em;
  left: 0;
  line-height: 3em;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 10000;
}

#header nav {
  height: inherit;
  line-height: inherit;
  position: absolute;
  right: 0;
  top: 0;
  font-size: 22px;
}

#header nav > ul {
  list-style: none;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

#header nav > ul > li { display: inline-block; padding: 0; }

#header nav > ul > li > a {
  border: 0;
  color: #231F20;
  font-family: 'Gotham Bold';
  display: block;
  letter-spacing: 0.225em;
  padding: 20px 1.5em;
  text-transform: uppercase;
}

#header nav > ul > li > a.menuToggle { outline: 0; position: relative; }

#header nav > ul > li > a.menuToggle:after {
  background-image: url("images/bars.svg");
  background-position: right center;
  background-repeat: no-repeat;
  content: '';
  display: inline-block;
  height: 2.2em;
  vertical-align: top;
  width: 2em;
  filter: invert(100%) sepia(100%) saturate(315%) hue-rotate(356deg) brightness(88%) contrast(125%);
}

@media screen and (max-width: 736px) {
  #header nav > ul > li > a { padding: 0 0 0 1.5em; }
  #header nav > ul > li > a.menuToggle { padding: 0 1.5em; }
  #header nav > ul > li > a.menuToggle span { display: none; }
}

#header.alt { background: transparent; }
#header.alt h1 { pointer-events: none; opacity: 0; }

/* Layout helpers */
.row-padding {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.separator {
  width: 100px;
  border-bottom: 1px solid #A49684;
  margin: 0 auto;
}

.breadcrumb {
  background: white;
  font-size: 18px;
}

/* Footer */
.icon-rrss { color: #ffffff; font-size: 30px; }
.icon-rrss:first-child { margin-right: 20px; }
.rrss-container { background-color: #00D1CA !important; }

/* Floating social buttons */
.sbuttons {
  bottom: 0%;
  position: fixed;
  margin: 1em;
  left: 80px;
  z-index: 1110;
}

.sbutton {
  display: block;
  width: 60px; height: 60px;
  border-radius: 50%;
  text-align: center;
  color: white;
  margin: 10px auto 0;
  box-shadow: 0px 5px 11px -2px rgba(0,0,0,0.18), 0px 4px 12px -7px rgba(0,0,0,0.15);
  cursor: pointer;
  -webkit-transition: all .1s ease-out;
  transition: all .1s ease-out;
  position: relative;
}

.sbutton > i { font-size: 38px; line-height: 60px; }
.sbutton:not(:last-child) { width: 0; height: 0; margin: 20px auto 0; opacity: 0; }
.sbutton:not(:last-child) > i { font-size: 25px; line-height: 60px; }
.sbuttons:hover .sbutton:not(:last-child) { opacity: 1; width: 60px; height: 60px; margin: 15px auto 0; }

.sbutton.fb { background: #0080F7; }
.sbutton.whatsapp { background: #00e676; }
.sbutton.mail { background: #231f20; }
.sbutton.call { background: #f7de3c; }
.sbutton:hover { color: #f5eeee !important; }

/* Responsive */
@media (max-width: 990px) {
  .title-header { font-size: 3rem; }
  .img-logo { width: 50%; }
  .img-logo-header { width: 30%; }
  .center-vertically { width: 100%; }
  .py-10 { padding-left: 2em; padding-right: 2rem; }
  .to-bottom { bottom: 50px; margin-left: -15px; }
  .pt-sm-4 { padding-top: 1.5rem !important; }
  .btn-language { font-size: 15px; }
  .row-padding { padding-top: 2rem; padding-bottom: 2rem; }
}

@media (max-width: 500px) {
  .img-logo { width: 100%; }
  .center-vertically { width: 100%; }
  .d-mobile-none { display: none; }
  .d-mobile-show { display: inline; }
}
