/*
 Theme Name:     Divi Child
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Elegant Themes
 Author URI:     https://www.elegantthemes.com
 Template:       Divi
 Version:        1.0.13
*/

/* =Theme customization starts here
------------------------------------------------------- */

/* Custom Slide in Menu */
/** #slide-in-menu -- see Theme Builder Slide-in Menu Advanced CSS **/

#slide-in-menu .et-menu.nav {
  display: flex;
  flex-direction: column;
}

#slide-in-menu .et-menu > li {
  flex-direction: column;
}

#slide-in-menu .sub-menu {
  position: relative;
  display: flex;
  flex-direction: column;
  /*flex-wrap: wrap;*/
  padding: 0;
  top: 0;
  left: 0;
  width: 100%;
  transition: 0.5s ease-in-out;
}

#slide-in-menu .sub-menu li {
  line-height: normal;
  padding: 0;
  display: flex;
  align-items: center;
}
/*#slide-in-menu .sub-menu li:after {
  content: "";
  height: 18px;
  background: white;
  width: 2px;
}*/
#slide-in-menu .sub-menu li:last-of-type:after {
  width: 0;
}
#slide-in-menu .sub-menu a {
  font-size: 18px;
  width: initial;
  height: initial;
  padding: 0 5px;
  line-height: normal;
}

/* Custom Hamburguer Menu Icon */
/** #custom-menu-btn -- see Theme Builder Hamburger Menu Code Block **/
.menu-btn-close {
  display: flex;
  align-items: center;
  cursor: pointer;
}
.menu-btn-close a {
  font-size: 16px !important;
  margin-left: 60px;
  transition: 0.5s ease-in-out;
}
.menu-btn-close:hover a {
  opacity: 0.75;
}
.menu-btn-close:before {
  position: absolute;
  top: 12px;
  content: "";
  border-radius: 50%;
  border: 1px solid #fff;
  width: 46px;
  height: 46px;
}
.close-icon {
  position: absolute;
  width: 46px;
  height: 46px;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 12px;
  transition: 0.5s ease-in-out;
}
.close-icon img {
  position: absolute;
  top: 12px;
}
.menu-btn-close:hover .close-icon {
  transform: rotate(90deg);
}

/* Gallery Slider Custom Arrows */
/*Gallery Slider Options*/
.et_pb_gallery.et_pb_slider {
  overflow: unset;
}

.et_pb_gallery.et_pb_slider .et-pb-slider-arrows {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  bottom: -130px;
  gap: 20px;
  width: 100%;
}

.et_pb_gallery.et_pb_slider .et-pb-slider-arrows > * {
  opacity: 1;
  top: auto;
  position: relative;
  bottom: auto;
  left: auto !important;
  right: auto !important;
  margin: 0;
  line-height: 0 !important;
}

.et_pb_gallery.et_pb_slider .et-pb-slider-arrows > a > span {
  display: block;
  font-size: 10px;
  opacity: 0;
}

.et_pb_gallery.et_pb_slider .et-pb-arrow-next {
  order: 3;
}

.et_pb_gallery.et_pb_slider .slide-count {
  order: 2;
  color: var(--gold);
  text-align: center;
  font-family: "chaparral-pro";
  font-size: 24px;
  font-style: italic;
  font-weight: 400;
  line-height: 37px;
  letter-spacing: 1.2px;
}

.et_pb_gallery.et_pb_slider .et-pb-slider-arrows > a:before {
  display: none;
}

.et_pb_gallery.et_pb_slider .et-pb-slider-arrows > a:after {
  content: "";
  background-image: url(/wp-content/themes/divi-child/custom-icons/arrow-right-gold.svg);
  width: 65px;
  height: 65px;
  display: block;
  background-size: 35px;
  background-repeat: no-repeat;
  background-position: center;
  border: 1px solid var(--navy);
  border-radius: 50%;
  transition: 0.5s ease-in-out;
}

.et_pb_gallery.et_pb_slider .et-pb-arrow-prev:after {
  transform: scaleX(-1);
}

.et_pb_gallery.et_pb_slider .et-pb-slider-arrows > a:hover:after {
  background-color: var(--navy);
}

@media (max-width: 800px) {
    .et_pb_gallery.et_pb_slider .et-pb-slider-arrows {
        bottom: -95px;
    }
    .et_pb_gallery.et_pb_slider .et-pb-slider-arrows > a:after {
      width: 45px;
      height: 45px;
      background-size: 25px;
    }
}

/* Custom Buttons with Arrows */
.btn-arrow-circle {
  display: flex !important;
  gap: 20px;
  align-items: center;
  max-width: max-content;
}
.btn-arrow-circle .arrow-icon {
  width: 65px;
  height: 65px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #cc9b51;
  border-radius: 50%;
  transition: 0.5s ease-in-out;
}

/* Custom Toggle Plus Icons */
.et_pb_section .et_pb_module.et_pb_toggle .et_pb_toggle_title:before,
.et_pb_section .et_pb_module.et_pb_toggle .et_pb_toggle_title:after {
  top: auto;
  position: absolute;
  content: "" !important;
  background-color: #cc9b51;
  transition: 0.5s ease-in-out;
}

.et_pb_section .et_pb_module.et_pb_toggle .et_pb_toggle_title:before,
.et_pb_section .et_pb_module.et_pb_toggle .et_pb_toggle_title:after {
  bottom: 9px;
  right: 0;
  width: 20px;
  height: 1px;
}

.et_pb_section .et_pb_module.et_pb_toggle.et_pb_toggle_open
  .et_pb_toggle_title:before {
  transform: rotate(180deg);
}

.et_pb_section .et_pb_module.et_pb_toggle .et_pb_toggle_title:after {
  right: 9px;
  bottom: 0;
  width: 1px;
  height: 20px;
}

.et_pb_section .et_pb_module.et_pb_toggle.et_pb_toggle_open
  .et_pb_toggle_title:after {
  transform: rotate(-90deg);
}

/* Custom Toggle Arrow Icons*/
.et_pb_section .et_pb_module.et_pb_toggle.custom-arrow-icon .et_pb_toggle_title:before, .et_pb_section .et_pb_module.et_pb_toggle.custom-arrow-icon .et_pb_toggle_title:after {
  content: none !important;
}

.custom-arrow-icon svg {
  position: absolute;
  right: 0;
  top: 25%;
  transition: 0.2s ease-in-out;
}

.custom-arrow-icon svg path {
  stroke: #cc9b51;
}

.custom-arrow-icon.et_pb_toggle_open svg {
  transform: scaleX(-1);
}
