/*
 Theme Name:   Agua Caliente - GP Child
 Theme URI:    https://foundryideas.com
 Description:  Agua Caliente Theme by Foundry
 Author:       Foundry
 Author URI:   https://foundryideas.com
 Template:     generatepress
 Version:      1.0.3
*/

/* Styles from the GreenSock website */
body {
  font-weight: 300;
}
p {
  margin-bottom: 1rem;
}
.ipsType_right {
  text-align: right;
}
.ipsType_center {
  text-align: center;
}
.cInnerContent {
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
}
.ipsSpacer_bottom_double {
  margin-bottom: 30px;
}
.ipsGrid {
  display: inline-block;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
}
.ipsGrid::before, .ipsGrid::after {
  display: table;
  content: "";
  line-height: 0;
}
.ipsGrid > [class*="ipsGrid_span"] {
  display: block;
  width: 100%;
  min-height: 30px;
  box-sizing: border-box;
}
.ipsGrid > .ipsGrid_span5 {
  width: 40.42553191489362%;
}
.ipsGrid > .ipsGrid_span7 {
  width: 57.44680851063829%;
}
.ipsGrid > [class*="ipsGrid_span"] {
  float: left;
  margin-left: 2%;
}
.ipsGrid > [class*="ipsGrid_span"]:first-child {
  margin-left: 0;
}
.feature {
  display: flex;
  align-items: center;
}
.card {
  margin-bottom: 30px;
  border: 1px solid #cccccc;
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 1px 1px 5px 1px #CCCCCC;
  transition: 0.3s;
}
.featured-image-container .card {
  padding: 10px;
  height: 0;
  padding-bottom: calc(100% - 10px);
}

.gs_reveal {
  opacity: 0;
  visibility: hidden;
  transition: transform 0s;
}

.scale_reveal {
  opacity: 0;
  visibility: hidden;
  transition: transform 0s;
}

.ag-flex-center {
  display: grid;
  grid-template-columns: auto auto auto auto;
  justify-content: center;
  max-width: 1000px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .ag-flex-center {
    display: flex;
    flex-direction: column;
  }
}
.ag-flex-center > div:nth-child(3n+1) {
  grid-column-end: span 2;
  grid-row-end: span 2;
}
.ag-ent-wrapper {
  position: relative;
  height: 100%;
}

.ag-ent {
  display: flex;
}

.ag-ent-img {
  left: 0px;
}

.ag-ent-desc {
  height: 100%;
  width: 100%;
  color: #BC962C;
  background-color: rgba(0, 0, 0, 0.7);
  text-align: center;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  flex-direction: column;
  padding: 10px 0;
}

.ag-ent-desc h2 {
  color: #ffffff;
}

.ag-ent-wrapper .ag-ent-desc {
  display: none;
}

.ag-gold-div {
  height: 1px;
  width: 75%;
  background-color: #BC962C;
  margin: 10px 0;
}

@media (min-width: 768px) {

  .ag-ent-wrapper:hover .ag-ent-desc {
    display: flex;
    animation: fade-in 0.4s;
  }

  .ag-ent-wrapper:not(:hover) .ag-ent.did-fade-in {
    display: flex;
    animation: fade-out 0.4s;
  }
}

@media (max-width: 767px) {

  .ag-ent-wrapper {
    margin: 10px 0;
  }

  .ag-ent-wrapper .ag-ent-desc {
    display: flex;
  }
  .ag-ent-desc {
    height: auto;
    background-color: #fff;
    position: relative;
  }
  
  .ag-ent-desc h2 {
    color: #383235;
  }

  .ag-no-m-bg {
    background-image: none!important;
  }
  
  
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fade-out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

/*POSITIONS ICON ADDED TO GRAVITY FORMS SUBMIT BUTTONS
 * 1. Adjust the margin-left to bring the icon on the button
 * 2. Font-size adjust the size of the icon
 * 3. z-index prevens the icon disappearing on submissions
 * */
 .gform_wrapper FORM .gform_footer SPAN:after {
  color: #FFFFFF;
 content: "\f0da";
 font-family: FontAwesome;
 z-index: 100; 
 margin-left: -50px;
 font-size: 32px;
 vertical-align: top;
}
 
 /*POSITIONS GRAVITY FORMS SUBMIT BUTTONS TEXT TO MATCH BEAVER BUILDER'S OFF CENTRE
  * 1. Adjust the padding-left */
 BODY #gform_wrapper_1 .gform_footer INPUT[type=submit]
 {
  text-align: left;
  padding: 12px 60px 12px 40px; }

  .gform_wrapper.gravity-theme .gfield_label {
    font-size: 23px;
    font-weight: 400;
    margin-bottom: 8px;
    display: inline-block;
    padding: 0;
    text-transform: uppercase;
}

.gform_wrapper.gravity-theme input[type=color], .gform_wrapper.gravity-theme input[type=date], .gform_wrapper.gravity-theme input[type=datetime-local], .gform_wrapper.gravity-theme input[type=datetime], .gform_wrapper.gravity-theme input[type=email], .gform_wrapper.gravity-theme input[type=month], .gform_wrapper.gravity-theme input[type=number], .gform_wrapper.gravity-theme input[type=password], .gform_wrapper.gravity-theme input[type=search], .gform_wrapper.gravity-theme input[type=tel], .gform_wrapper.gravity-theme input[type=text], .gform_wrapper.gravity-theme input[type=time], .gform_wrapper.gravity-theme input[type=url], .gform_wrapper.gravity-theme input[type=week], .gform_wrapper.gravity-theme select, .gform_wrapper.gravity-theme textarea {
  font-size: 23px;
  padding: 27px;
  margin-bottom: 28px;
  margin-top: 0;
  text-transform: uppercase;

}

button:not(.menu-toggle), html input[type="button"], input[type="reset"], input[type="submit"], .button, .wp-block-button .wp-block-button__link {
  font-size: 21px;
  text-transform: uppercase;

}

.separate-containers .inside-article, .separate-containers .comments-area, .separate-containers .page-header, .separate-containers .paging-navigation, .one-container .site-content, .inside-page-header, .wp-block-group__inner-container {
  padding: 50px;
}

#ag-booking-header.clone {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  transform: translateY(-100%);
  opacity: 0;
  transition: 0.2s transform cubic-bezier(.3,.73,.3,.74);
}

body.down #ag-booking-header.clone {
  transform: translateY(80px);
  opacity: 1;
}

body.logged-in.down #ag-booking-header.clone {
  transform: translateY(110px);
  opacity: 1;
}
.gform_confirmation_message_3 {
  color: white;
  text-align: center;
}

/* Nighlife page - accomodate hero with CTA element */
.nightlife-hero {
  max-height: 660px;
  height: 43.5vw;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 5vw;
  position: relative;
  transition: .2s ease;
  aspect-ratio: 16 / 9;
  width: 100%;
}
.nightlife-hero-cta {
  color: #ffffff !important;
  font-size: 19px;
  background: #bc962c;
  padding: 11px 40px;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 2px;
}
.nightlife-hero-cta:hover {
  background-color: #222222;
}
@media (max-width: 768px) {
  .nightlife-hero {
    height: auto;
  }
}
@media (max-width: 480px) {
  .nightlife-hero-cta {
    position: absolute;
    width: 100%;
    left: 0;
    bottom: -30px;
    font-size: 15px;
    padding: 10px;
    z-index: 999;
  }
}

/* Video heroes */
.video-hero {
  object-fit: cover;
  max-height: calc(660px + 130px);
  height: calc(43.5vw + 130px);
  width: 100%;
  margin-bottom: -100px;
}


/* View pagination */
.wpv-pagination-nav-links {
  justify-content: center !important;
  margin-top: 50px;
}
.wpv-pagination-nav-links-container .page-link,
.wpv-pagination-nav-links .page-link {
  font-size: inherit;
  background-color: white;
  border: none;
  padding: 20px 12px;
  line-height: 1;
}




.kt-row-layout-right-golden>.wp-block-kadence-column.inner-column-1 .kt-inside-inner-col,
.kt-row-layout-left-golden>.wp-block-kadence-column.inner-column-2 .kt-inside-inner-col {
    padding-left: 50px !important;
    padding-right: 50px !important;
}
.body:not(.page-id-5613) .kt-inner-column-height-full>.wp-block-kadence-column>.kt-inside-inner-col {
  padding-left: inherit !important;
  padding-right: inherit !important;
}
@media (max-width: 1240px) {
  .kt-tab-layout-equal>.wp-block-kadence-column {
    -webkit-flex: 2 !important;
    flex: 2 !important;
  }
  .kt-row-layout-equal .kt-tab-layout-inherit.kt-row-column-wrap.kb-theme-content-width>.wp-block-kadence-column {
    flex-direction: row;
  }
}
@media (max-width: 1000px) {
/*  .kt-row-column-wrap.kt-mobile-layout-row>.wp-block-kadence-column {
    -webkit-flex: none !important;
    flex: none !important;
    width: 100%;
    margin-right: 0;
    margin-bottom: 30px;
  }*/
  .kt-row-column-wrap.kt-mobile-layout-row {
    -webkit-flex-direction: column;
    flex-direction: column;
  }
  .kt-layout-id_f7e3e8-ca .kt-row-column-wrap.kt-mobile-layout-row {
    -webkit-flex-direction: inherit;
    flex-direction: inherit;
  }
  .kt-row-column-wrap>.wp-block-kadence-column {
    width: 100% !important;
    -webkit-flex-basis: unset !important;
    flex-basis: unset !important;
  }
}
@media all and (max-width: 767px) {
  .kt-layout-id_f7e3e8-ca .kt-row-column-wrap.kt-mobile-layout-row {
    -webkit-flex-direction: column !important;
    flex-direction: column !important;
  }
}
@media all and (max-width: 480px) {
  .kt-row-layout-right-golden>.wp-block-kadence-column.inner-column-1 .kt-inside-inner-col .wp-block-kadence-advancedheading,
  .kt-row-layout-left-golden>.wp-block-kadence-column.inner-column-2 .kt-inside-inner-col .wp-block-kadence-advancedheading {
    font-size: 30px;
  }
}


.tb-button__content {color: white;}

/* google translate widget */
@media all and (min-width: 1101px) {
  .menu-translate__wrapper {
    margin-left: 10px;
  }
  .menu-translate__icon {
    width: 25px;
    position: relative;
    left: -42px;
    bottom: -8px;
  }
  .menu-translate__select {
    padding-right: 3em;
    background: transparent !important;
  }
  #glt-translate-trigger {
    visibility: hidden;
  }
}
#glt-translate-trigger {
  background-color:  #bc962c !important;
}

@media all and (max-width: 1100px) {
  .menu-translate__wrapper {
    display: none;
  }
}

/* fix for images on nightlife page */
#post-5801 .tb-image img {
	min-height: 270px;
	object-fit: cover;
}
#post-5581 .tb-image img {
	min-height: 300px;
	object-fit: cover;
}
#post-5599 .tb-image img {
	min-height: 225px;
	object-fit: cover;
}

/* styling for email sign up form from acoustic */
#agua-email-signup-form .half-col {
	width: 50%;
	vertical-align: text-bottom;
}