/*
 Theme Name: Sunday Salon Theme
 Theme URI: https://sunday.salon/
 Description: Divi Child Theme Made with ❤ by Sunday Salon
 Author: Sunday Salon Inc
 Author URI: https://sunday.salon/
 Template: Divi
 Version: 1.0.6
*/

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

/*
/////////////////////////////////////////////////
HEADER
/////////////////////////////////////////////////
*/

#main-header {
  min-height: 80px; /* Default Divi Header Height */
}
#top-header {
  min-height: 31px; /* Default Divi Top Bar Height */
}

body.et_pb_pagebuilder_layout #main-header {
  background-color: rgba(0, 0, 0, 0) !important;
}

#main-header,
body.single-project.et_pb_pagebuilder_layout #main-header,
body.single-post.et_pb_pagebuilder_layout #main-header {
  background-color: rgba(0, 0, 0, 1) !important;
}

#main-header.et-fixed-header,
body.et_pb_pagebuilder_layout #main-header.et-fixed-header {
  background-color: rgba(0, 0, 0, .8) !important;
}

body.et_pb_pagebuilder_layout #top-header {
  background-color: rgba(0, 0, 0, 0) !important;
}

#top-header,
body.single-project.et_pb_pagebuilder_layout #top-header,
body.single-post.et_pb_pagebuilder_layout #top-header {
  background-color: rgba(0, 0, 0, 1) !important;
}

#top-header.et-fixed-header,
body.et_pb_pagebuilder_layout #top-header.et-fixed-header {
  background-color: rgba(0, 0, 0, .8) !important;
}

#main-header {
  box-shadow: 0 0px 50px rgba(0, 0, 0, .1);
}

#main-header.et-fixed-header {
  box-shadow: 0 0px 25px rgba(0, 0, 0, .1) !important;
}

#top-header #et-info {
  position: relative;
  top: 3px;
}

#et-info-phone:before,
#et-info-email:before {
  margin-right: 8px;
  position: relative;
  top: 2px;
}

#et-secondary-menu {
  position: relative;
  top: 2px;
}

#et-secondary-menu a {
  font-size: 18px;
}

@media screen and (max-width : 600px) {
  #top-header #et-info {
    line-height: 1.5em;
  }
}

/*
/////////////////////////////////////////////////
NAVIGATION HEADER
/////////////////////////////////////////////////
*/

#top-menu-nav>ul>li>a:hover {
  opacity: 1;
  color: #A68064;
}

#main-header .nav li ul a {
  color: #fff;
}

#main-header .nav li ul a:hover {
  background-color: transparent;
}

/*
/////////////////////////////////////////////////
NAVIGATION DROP DOWN
/////////////////////////////////////////////////
*/

#top-menu .menu-item-has-children>a:first-child:after,
#et-secondary-nav .menu-item-has-children>a:first-child:after {
  top: -2px;
}

li.sfly_social_media_menu_icon .fab {
  font-weight: 300;
}

#et_top_search {
  margin-top: 0;
}

#top-menu .menu-item-has-children>a:first-child:after {
  content: "3";
}

#top-menu ul.sub-menu {
  border: none;
  box-shadow: 0 30px 60px -15px rgba(166, 128, 100, 0.2);
  top: 30px;
  width: 300px;
  margin-left: 60px;
}

#top-menu ul.sub-menu li {
  font-size: 17px;
  line-height: 1.2em;
  padding: 8px 10px;
  transition: all .3s ease-in-out;
}

#top-menu ul.sub-menu li a {
  width: 300px;
  padding: 8px 20px;
}

#top-menu ul.sub-menu li a:hover {
  background-color: transparent;
  opacity: 1;
  color: #A68064;
}

/*
/////////////////////////////////////////////////
NAVIGATION FIXED HEADER
/////////////////////////////////////////////////
*/

.et-fixed-header #logo {
  max-height: 80% !important;
  top: 0;
  left: 0;
}

#main-header.et-fixed-header {
  box-shadow: 0 10px 20px -5px rgba(0, 0, 0, .05) !important;
}

#main-header.et-fixed-header .container {
  padding-right: 10px;
  padding-left: 10px;
}

.et_header_style_left .et-fixed-header #et-top-navigation {
  padding-top: 35px;
  padding-right: 10px;
}

.et_header_style_left .et-fixed-header #et-top-navigation li a:hover {
  color: #A68064 !important;
}

/* ==========================================================================
   MOBILE MENU
   ========================================================================== */

.mobile_nav ul#mobile_menu .current_page_item>a {
  color: #fff;
}

.mobile_nav ul#mobile_menu li ul li a {
  font-size: 1.05em !important;
  margin: auto;
  padding-top: 0.2em;
}

.et_mobile_menu li a:hover {
  color: #A68064 !important;
  transition: all .2s ease-in-out;
}

.mobile_nav.opened .mobile_menu_bar:before {
  content: "\4d";
}

/* NESTING MOBILE MENU */
#main-header .et_mobile_menu .menu-item-has-children>a {
  background-color: transparent;
  position: relative;
}

#main-header .et_mobile_menu .menu-item-has-children>a:after {
  font-family: 'ETmodules';
  text-align: center;
  speak: none;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  -webkit-font-smoothing: antialiased;
  position: absolute;
}

#main-header .et_mobile_menu .menu-item-has-children>a:after {
  font-size: 27px;
  content: '\4c';
}

#main-header .et_mobile_menu .menu-item-has-children.visible>a:after {
  content: '\4d';
}

#main-header .et_mobile_menu ul.sub-menu {
  display: none !important;
  visibility: hidden !important;
  transition: all 1.5s ease-in-out;
}

#main-header .et_mobile_menu .visible>ul.sub-menu {
  display: block !important;
  visibility: visible !important;
}

/* change logo for fixed header (quick and easy way) */
.et-fixed-header #logo {
  content: url(https://sunday.salon/wp-content/uploads/2023/11/SS_Wordmark_White.png);
}

/*
/////////////////////////////////////////////////
BOOK NOW CTA
/////////////////////////////////////////////////
*/

.buynow a {
  background: rgba(0, 0, 0, 0);
  color: #fff;
  padding: 3px 12px 0 18px !important;
  line-height: 44px;
  text-align: center !important;
  margin-top: -18px;
  border: 2px solid #fff;
}

.buynow a:hover,
.et-fixed-header #top-menu .buynow a:hover {
  background: #fff !important;
  color: #000 !important;
  border: 2px solid #fff;
  opacity: 1 !important;
}

.et-fixed-header #top-menu .buynow a {
  background: #fff !important;
  color: #000 !important;
  border: 2px solid #000 !important;
  opacity: 1 !important;
}

.et-fixed-header #top-menu .buynow a:hover {
  background: #000 !important;
  color: #fff !important;
  border: 2px solid #A68064 !important;
  opacity: 1 !important;
}

/*
/////////////////////////////////////////////////
LOGO Container to fix vertical scroll overlap
/////////////////////////////////////////////////
*/

.et_header_style_left .logo_container {
  position: absolute;
  height: 100%;
  width: 95%
}

/*
/////////////////////////////////////////////////
KEN BURNS - LINEAR
/////////////////////////////////////////////////
*/

@media only screen and (min-width: 767px) {
  .sundayKenBurnsHeader .et-pb-parallax-background {
    animation: Kenburns 45s forwards;
  }

  .sundayKenBurnsSection .et-pb-parallax-background {
    animation: Kenburns 45s infinite;
  }
}

@keyframes Kenburns {
  0% {
    opacity: 0;
    transform: scale3d(1.05, 1.05, 1.05) translate3d(-15px, 0px, 0px);
    animation-timing-function: linear;
  }

  1% {
    opacity: 1;
  }

  100% {
    transform: scale3d(1.3, 1.3, 1.3) translate3d(-25px, -55px, 0px);
  }
}

/* ==========================================================================
   DOWN ARROW ANIMATION
   ========================================================================== */
.et_pb_fullwidth_header_scroll {
  opacity: .6;
}

span.scroll-down.et-pb-icon {
  cursor: pointer;
  height: 60px;
  width: 80px;
  margin: 0px 0 0 -40px;
  line-height: 60px;
  position: absolute;
  left: 50%;
  bottom: 30px;
  color: #fff;
  text-align: center;
  font-size: 70px;
  z-index: 100;
  text-decoration: none;
  text-shadow: 0px 0px 3px rgba(0, 0, 0, 0.4);
  animation: ca3_fade_move_down 2s ease-in-out infinite;
}

@keyframes ca3_fade_move_down {
  0% {
    transform: translate(0, -20px);
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  100% {
    transform: translate(0, 20px);
    opacity: 0;
  }
}

/*
/////////////////////////////////////////////////
NAVIGATION MOBILE (Max-Width 980px)
/////////////////////////////////////////////////
*/

@media screen and (max-width : 980px) {
  #main-header .container {
    width: 100% !important;
    padding: 5px 10px;
  }

  .et_mobile_menu {
    border: none;
    padding: 25px 25px;
    padding-top: 80px;
    box-shadow: 0 30px 60px -15px rgba(166, 128, 100, 0.2);
    background-color: #000;
    background-image: url("https://sunday.salon/wp-content/uploads/2023/11/Hair_Stylist_1_MOBILE_PreEdit-850-x-1275_edited.jpg");
    background-size: cover;
    background-position: center;
    min-height: 95vh;
  }

  .et_mobile_menu:before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, .80);
    transition: all .3s ease-in-out;
    z-index: -1;
  }

  .et_mobile_menu li a {
    text-align: left !important;
    color: #fff;
    text-transform: uppercase;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 4px;
    padding: 15px 5%;
  }

  .et_mobile_menu li li {
    padding-left: 0;
  }

  .et_mobile_menu li li a {
    font-size: 18px;
    padding: 6px 5%;
  }

  .et_mobile_menu li li:last-child a {
    padding-bottom: 12px;
  }

  .et_fixed_nav #main-header.et-fixed-header {
    position: fixed;
    background: rgba(255, 255, 255, 0.8);
    height: 65px !important;
  }

  .et_fixed_nav #top-header.et-fixed-header {
    position: fixed;
    background: rgba(255, 255, 255, 0.8);
    height: 36px !important;
  }

  .et-fixed-header .logo_container {
    height: 55px !important;
  }

  .et-fixed-header .mobile_menu_bar {
    padding-bottom: 5px !important;
  }

  .et-fixed-header #et_search_icon {
    margin-top: 5px;
    position: fixed;
  }

  .et-search-form input {
    width: 70%;
  }

  .et-fixed-header .mobile_menu_bar:before {
    font-size: 45px !important;
  }

  .et_header_style_left .et-fixed-header #et-top-navigation {
    padding-top: 5px !important;
  }

  .et_fixed_nav #et-top-navigation {
    transition: none !important;
  }

  #logo {
    width: auto;
  }

  .buynow a {
    background-color: #A68064;
    border: 2px solid #A68064 !important;
    padding: 20px 10px 21px 10px;
    text-align: center;
    margin-top: 15px;
    margin-bottom: 27px;
    box-shadow: 0 20px 40px -10px rgba(166, 128, 100, 0.5);
    width: 210px;
  }

  .buynow a:hover,
  .et-fixed-header #top-menu .buynow a:hover {
    background: #000 !important;
    color: #000;
    border: 2px solid #A68064;
    opacity: 1 !important;
  }
}