/**
 * Theme Name: BAP - Landing
 * Description: Child theme for Bavaro Adventure Park landing pages.
 * Author: Tráfico
 * Author URI: https://trafico.ca
 * Template: hello-elementor
 * Version: 1.0.0
 * Text Domain: tfco-bap
 */

:root {
  --bap-col-dark: #f89837;
  --bap-col-light: #f7ca25;

  --bap-button-gradient: linear-gradient(
    90deg,
    var(--bap-col-dark) 0%,
    var(--bap-col-light) 50%,
    var(--bap-col-dark) 100%
  );
}

.bap-gradient-button a.elementor-button {
  background: var(--bap-button-gradient);
}

:not(.bap-no-bg) > a.elementor-button {
  background: var(--bap-button-gradient);
}

.elementor-icon-list-items {
  max-width: 100%;
}

.no-wrap {
  white-space: nowrap;
}

.e-con.bap-mw-4x > .e-con-inner { max-width: 896px; }
.e-con.bap-mw-7x > .e-con-inner { max-width: 1280px; }

.e-n-accordion-item:first-of-type > .e-n-accordion-item-title {
  border-top: none !important;
}

#bap-header {
  position: fixed;
  top: 0;
  z-index: 100;
}

/* Add some extra vertical spacing on the mobile dropdown menu */
#bap-header-menu nav.e-n-menu[data-layout="dropdown"] .e-n-menu-heading {
  padding: 10px 0 20px;
  background-color: #FFFFFF;
}

/* The "Get Tickets" link in the menu (only show in mobile menu) */
nav.e-n-menu[data-layout="horizontal"] #bap-menu-cta {
  display: none;
}
#bap-menu-cta > a.e-n-menu-title-container {
  /* Style the link element like an Elementor button */
  justify-content: center;
  width: 100%;
  padding: 12px 32px;
  line-height: 1.5em;
  font-size: 15px;
  text-align: center;
  background: var(--bap-button-gradient);
  border-radius: 100px;
}
#bap-menu-cta > a.e-n-menu-title-container .e-n-menu-title-text {
  color: #FFFFFF;
}

/*** Menus ***/
.bap-menu ul {
  list-style: none;
  display: flex;
  column-gap: 32px;
  margin: 0;
  padding: 0;
}
.bap-menu ul li {
  /*margin-right: 32px;*/
  font-family: var(--e-global-typography-primary-font-family), Sans-serif;
}

/* Header menu */
#header-menu ul li > a {
  font-weight: 500;
  color: #364153;
}

/* Footer menu */
#footer-menu ul li > a {
  color: #6a7282;
}
@media (max-width: 767px) {
  #footer-menu ul {
    flex-direction: column;
    align-items: center;
    row-gap: 8px;
  }
}

/* Overlays */
.bap-peek-overlay {
  position: fixed;
  left: 0;
  bottom: 0;
  display: none;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  user-select: auto;
  pointer-events: all;
  overflow: auto;
}
.bap-peek-overlay .bap-peek-close {
  position: absolute;
  /*
  top: 16px;
  left: 16px;
  */
  top: 0;
  left: 0;
  width: 64px;
  height: 64px;
  cursor: pointer;
  z-index: 10000;
}
.bap-peek-overlay .bap-peek-close .bap-peek-close-icon {
  position: relative;
  top: 16px;
  left: 16px;
  width: 30px;
  object-fit: contain;
  fill: #FFFFFF;
}
.bap-peek-overlay .bap-peek-inner {
  position: absolute;
  width: 1000px;
  max-width: 100%;
  max-height: 100%;
  padding: 20px 0; /* Give top padding to allow space for the close button */
  /*
  display: flex;
  align-items: center;
  justify-content: center;
  */
  /*
  box-shadow: 2px 8px 23px 3px rgba(0,0,0,0.2);
  background-color: #FFFFFF;
  */
  background-color: transparent;
  pointer-events: all;
}


.bap-peek-overlay #spinnaker-modal.embedded #spinnaker-modal-overlay,
.bap-peek-overlay .spinnaker-modal.embedded #spinnaker-modal-overlay {
  overflow-y: auto;
}

