/*
 Theme Name:   Sapwood
 Description:  A custom theme for Sapwood, based on Divi theme.
 Author:       Ancient Wisdom Productions
 Author URI:   https://awpny.com
 Template:     Divi
 Version:      1.0
*/
@import url("https://fonts.googleapis.com/css2?family=Shrikhand&family=Source+Serif+Pro:wght@400;700&display=swap");
@font-face {
  font-family: Scrubby;
  src: url("font/scrubby.otf") format("opentype");
}
body h1, body h2, body h3, body h4, body h5, .et_pb_post h1, .et_pb_post h2, .et_pb_post h3, .et_pb_post h4, .et_pb_post h5, .et_pb_column_1_2 h1, .et_pb_column_1_2 h2, .et_pb_column_1_2 h3, .et_pb_column_1_2 h4, .et_pb_column_1_2 h5, .et_pb_column_1_3 h1, .et_pb_column_1_3 h2, .et_pb_column_1_3 h3, .et_pb_column_1_3 h4, .et_pb_column_1_3 h5 {
  font-family: Scrubby, display;
  line-height: 1.1;
}
body h1, .et_pb_post h1, .et_pb_column_1_2 h1, .et_pb_column_1_3 h1 {
  font-size: 45px;
}
body h2, .et_pb_post h2, .et_pb_column_1_2 h2, .et_pb_column_1_3 h2 {
  font-size: 40px;
}
body h3, .et_pb_post h3, .et_pb_column_1_2 h3, .et_pb_column_1_3 h3 {
  font-size: 28px;
}
body h4, .et_pb_post h4, .et_pb_column_1_2 h4, .et_pb_column_1_3 h4 {
  font-size: 18px;
}
body h5, .et_pb_post h5, .et_pb_column_1_2 h5, .et_pb_column_1_3 h5 {
  font-size: 16px;
}
@media (min-width: 768px) {
  body h1, .et_pb_post h1, .et_pb_column_1_2 h1, .et_pb_column_1_3 h1 {
    font-size: 65px;
  }
  body h2, .et_pb_post h2, .et_pb_column_1_2 h2, .et_pb_column_1_3 h2 {
    font-size: 48px;
  }
  body h3, .et_pb_post h3, .et_pb_column_1_2 h3, .et_pb_column_1_3 h3 {
    font-size: 30px;
  }
  body h4, .et_pb_post h4, .et_pb_column_1_2 h4, .et_pb_column_1_3 h4 {
    font-size: 20px;
  }
  body h5, .et_pb_post h5, .et_pb_column_1_2 h5, .et_pb_column_1_3 h5 {
    font-size: 18px;
  }
}
@media (min-width: 981px) {
  body h1, .et_pb_post h1, .et_pb_column_1_2 h1, .et_pb_column_1_3 h1 {
    font-size: 80px;
  }
  body h2, .et_pb_post h2, .et_pb_column_1_2 h2, .et_pb_column_1_3 h2 {
    font-size: 54px;
  }
  body h3, .et_pb_post h3, .et_pb_column_1_2 h3, .et_pb_column_1_3 h3 {
    font-size: 32px;
  }
  body h4, .et_pb_post h4, .et_pb_column_1_2 h4, .et_pb_column_1_3 h4 {
    font-size: 24px;
  }
  body h5, .et_pb_post h5, .et_pb_column_1_2 h5, .et_pb_column_1_3 h5 {
    font-size: 20px;
  }
}

#global-footer a:hover,
#global-footer a:focus {
  text-decoration: underline;
}
#global-footer .footer-logo {
  cursor: pointer;
}
@media (max-width: 479px) {
  #global-footer .footer-logo {
    margin-left: auto !important;
    margin-right: auto !important;
  }
  #global-footer .footer-contact,
  #global-footer .footer-newsletter,
  #global-footer .footer-menu,
  #global-footer .footer-social,
  #global-footer .footer-copyright {
    text-align: center;
  }
}
#global-footer .et_bloom_inline_form {
  margin-top: 0;
}
#global-footer .et_bloom_inline_form .et_bloom_form_container,
#global-footer .et_bloom_inline_form .et_bloom_form_header,
#global-footer .et_bloom_inline_form .et_bloom_form_content {
  background-color: transparent !important;
}
#global-footer .et_bloom_inline_form .et_bloom_form_header,
#global-footer .et_bloom_inline_form .et_bloom_form_text,
#global-footer .et_bloom_inline_form .et_bloom_form_content {
  padding: 0;
}
#global-footer .et_bloom_inline_form h2 {
  color: #e8cc91 !important;
  font-family: Scrubby, display;
  font-size: 25px !important;
  margin-bottom: 15px;
}
#global-footer .et_bloom_inline_form input {
  font-family: "Source Serif Pro", Georgia, "Times New Roman", serif;
  color: #936058;
  margin-bottom: 5px;
}
#global-footer .et_bloom_inline_form input::-webkit-input-placeholder {
  color: #666666;
}
#global-footer .et_bloom_inline_form input::-moz-placeholder {
  color: #666666;
}
#global-footer .et_bloom_inline_form input:-ms-input-placeholder {
  color: #666666;
}
#global-footer .et_bloom_inline_form input::-ms-input-placeholder {
  color: #666666;
}
#global-footer .et_bloom_inline_form input::placeholder {
  color: #666666;
}
#global-footer .et_bloom_inline_form button.et_bloom_submit_subscription {
  -webkit-transition: all 0.25s;
  -o-transition: all 0.25s;
  transition: all 0.25s;
}
#global-footer .et_bloom_inline_form button.et_bloom_submit_subscription .et_bloom_button_text {
  font-family: "Source Serif Pro", Georgia, "Times New Roman", serif;
  font-size: 16px;
  letter-spacing: 0;
}
#global-footer .et_bloom_inline_form button.et_bloom_submit_subscription:hover, #global-footer .et_bloom_inline_form button.et_bloom_submit_subscription:focus {
  background-color: #e47724 !important;
}
@media (min-width: 480px) {
  #global-footer .et_bloom_inline_form h2 {
    font-size: 18px !important;
  }
}
@media (min-width: 630px) {
  #global-footer .et_bloom_inline_form h2 {
    font-size: 24px !important;
  }
}
@media (min-width: 981px) {
  #global-footer .et_bloom_inline_form h2 {
    font-size: 16px !important;
  }
}
@media (min-width: 1100px) {
  #global-footer .et_bloom_inline_form h2 {
    font-size: 18px !important;
  }
}
@media (min-width: 1260px) {
  #global-footer .et_bloom_inline_form h2 {
    font-size: 21px !important;
  }
}

#global-header {
  position: relative;
  -webkit-transition: top 0.5s;
  -o-transition: top 0.5s;
  transition: top 0.5s;
}
.home #global-header {
  top: -120px;
}
.home #global-header.show-header {
  top: 0;
}
#global-header .et_pb_fullwidth_menu {
  height: 90px;
  padding-top: 0;
}
#global-header .et_pb_fullwidth_menu:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -15px;
  height: 30px;
  background-image: url("img/menu_accent.png");
  background-repeat: repeat-x;
  background-position: center bottom;
  background-size: 1200px;
}
#global-header img {
  width: auto;
  max-height: 110px;
  margin: 5px 15px 0;
  z-index: 1;
}
#global-header .et_pb_row > .et_pb_menu__logo-wrap {
  margin-bottom: 0;
}
#global-header .et_pb_row > .et_pb_menu__logo-wrap .et_pb_menu__logo {
  margin-bottom: -25px;
}
#global-header .et_pb_row > .et_pb_menu__logo-wrap .et_pb_menu__logo img {
  position: relative;
  z-index: 10000;
}
#global-header .et_mobile_nav_menu .mobile_menu_bar {
  position: absolute;
  right: 0;
  top: 25px;
}
#global-header .et_mobile_nav_menu .mobile_menu_bar:before {
  color: #d7A028;
  font-size: 45px;
}
#global-header .et_mobile_nav_menu .et_mobile_menu {
  border-top-color: #d7A028;
  padding-bottom: 15px;
}
#global-header .et_mobile_nav_menu .et_mobile_menu > li > a {
  border-bottom-color: rgba(215, 160, 40, 0.25);
}
#global-header .et_mobile_nav_menu .et_mobile_menu > li > a:hover, #global-header .et_mobile_nav_menu .et_mobile_menu > li > a:focus {
  opacity: 1;
  background-color: rgba(244, 243, 227, 0.35);
}
#global-header .et_mobile_nav_menu .et_mobile_menu > li:last-child > a {
  border-bottom: none;
}
#global-header ul#menu-top-nav > li {
  display: block;
  padding: 0;
}
#global-header ul#menu-top-nav > li > a {
  display: block;
  position: relative;
  line-height: 1;
  padding: 52px 15px 24px;
  overflow: hidden;
}
#global-header ul#menu-top-nav > li > a:before {
  content: "";
  display: block;
  position: absolute;
  left: 50%;
  right: 0;
  top: -35px;
  width: 30px;
  height: 35px;
  background-image: url("img/menu_hover_indicator.png");
  background-repeat: no-repeat;
  background-size: contain;
  margin-left: -15px;
  -webkit-transition: top 0.25s;
  -o-transition: top 0.25s;
  transition: top 0.25s;
}
#global-header ul#menu-top-nav > li > a:hover, #global-header ul#menu-top-nav > li > a:focus {
  opacity: 1;
}
#global-header ul#menu-top-nav > li > a:hover:before, #global-header ul#menu-top-nav > li > a:focus:before {
  top: -3px;
}
@media (min-width: 601px) {
  .home.admin-bar #global-header.show-header {
    top: 46px;
  }
}
@media (min-width: 783px) {
  .home.admin-bar #global-header.show-header {
    top: 32px;
  }
}

#main-content .location-listing {
  margin-bottom: 30px;
}
#main-content .location-listing h4 {
  font-size: 24px;
}
#main-content .location-listing p {
  padding-bottom: 0;
  line-height: 1.5;
  margin-bottom: 5px;
}
#main-content .location-listing a {
  font-weight: bold;
}
#main-content .location-listing a:hover, #main-content .location-listing a:focus {
  text-decoration: underline;
}
@media (max-width: 479px) {
  #main-content .location-listing {
    text-align: center;
  }
}
@media (min-width: 480px) and (max-width: 767px) {
  #main-content .location-listing {
    float: left;
    width: calc(50% - 15px);
  }
  #main-content .location-listing:nth-child(2n + 1) {
    clear: left;
    margin-right: 30px;
  }
}
@media (min-width: 768px) and (max-width: 980px) {
  #main-content .location-listing {
    float: left;
    width: calc((100% / 3) - 20px);
    margin-right: 30px;
  }
  #main-content .location-listing:nth-child(3n + 1) {
    clear: left;
  }
  #main-content .location-listing:nth-child(3n) {
    margin-right: 0;
  }
}

#sapwood-mini-game {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  z-index: 99999;
}

#close-mini-game {
  display: none;
  position: fixed;
  top: 10px;
  right: 10px;
  width: 45px;
  height: 45px;
  background-color: #44a49a;
  color: white;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 24px;
  font-weight: 100;
  text-align: center;
  line-height: 45px;
  border-radius: 50%;
  z-index: 100000;
  cursor: pointer;
  -webkit-transition: all 0.25s;
  -o-transition: all 0.25s;
  transition: all 0.25s;
}
#close-mini-game:hover, #close-mini-game:focus {
  background-color: white;
  color: #44a49a;
}

body.mini-game-open {
  height: 100vh;
  overflow: hidden;
}
body.mini-game-open #sapwood-mini-game,
body.mini-game-open #close-mini-game {
  display: block;
}

.et_bloom_popup .et_bloom_form_container .et_bloom_with_custom_fields {
  height: auto !important;
  background-color: #44a49a;
}
.et_bloom_popup .et_bloom_form_container .et_bloom_with_custom_fields .et_bloom_form_header img {
  max-height: 135px;
  padding: 5px;
}
.et_bloom_popup .et_bloom_form_container .et_bloom_with_custom_fields form {
  display: block;
}
.et_bloom_popup .et_bloom_form_container .et_bloom_with_custom_fields form .et_bloom_fields p.et_bloom_popup_input {
  width: 100%;
  padding-right: 0;
  margin-bottom: 15px;
}
@media (max-width: 767px) {
  .et_bloom_popup .et_bloom_form_container .et_bloom_with_custom_fields {
    display: block;
  }
  .et_bloom_popup .et_bloom_form_container .et_bloom_with_custom_fields .et_bloom_header_outer,
  .et_bloom_popup .et_bloom_form_container .et_bloom_with_custom_fields .et_bloom_form_content {
    width: 100%;
  }
  .et_bloom_popup .et_bloom_form_container .et_bloom_with_custom_fields .et_bloom_form_header {
    height: auto !important;
    text-align: center;
  }
}

@media (max-width: 767px) {
  #page-banner .et_pb_fullwidth_header_container {
    width: 100%;
    padding: 0 15px;
  }
  #page-banner .et_pb_fullwidth_header_container .header-content {
    padding: 0;
    margin: 0;
  }
}

@-webkit-keyframes wiggle {
  75% {
    -webkit-transform: rotate(-8deg);
            transform: rotate(-8deg);
  }
  80% {
    -webkit-transform: rotate(-3deg);
            transform: rotate(-3deg);
  }
  85% {
    -webkit-transform: rotate(-13deg);
            transform: rotate(-13deg);
  }
  90% {
    -webkit-transform: rotate(-3deg);
            transform: rotate(-3deg);
  }
  95% {
    -webkit-transform: rotate(-13deg);
            transform: rotate(-13deg);
  }
  100% {
    -webkit-transform: rotate(-8deg);
            transform: rotate(-8deg);
  }
}

@keyframes wiggle {
  75% {
    -webkit-transform: rotate(-8deg);
            transform: rotate(-8deg);
  }
  80% {
    -webkit-transform: rotate(-3deg);
            transform: rotate(-3deg);
  }
  85% {
    -webkit-transform: rotate(-13deg);
            transform: rotate(-13deg);
  }
  90% {
    -webkit-transform: rotate(-3deg);
            transform: rotate(-3deg);
  }
  95% {
    -webkit-transform: rotate(-13deg);
            transform: rotate(-13deg);
  }
  100% {
    -webkit-transform: rotate(-8deg);
            transform: rotate(-8deg);
  }
}
.wiggle img {
  display: block;
  -webkit-transform: rotate(-8deg);
      -ms-transform: rotate(-8deg);
          transform: rotate(-8deg);
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  -webkit-animation: wiggle 3.0s infinite;
          animation: wiggle 3.0s infinite;
}
.wiggle img:hover {
  -webkit-animation: none;
          animation: none;
}

#main-content .recipe-ingredients h2 {
  padding-bottom: 0;
}
#main-content .recipe-ingredients ul {
  padding: 0;
}
#main-content .recipe-ingredients li {
  list-style-position: inside;
  line-height: 1.2;
  text-indent: -22px;
  padding: 10px 0 10px 30px;
}
#main-content .recipe-ingredients li:not(:last-child) {
  border-bottom: 1px solid rgba(68, 164, 154, 0.35);
}
#main-content .recipe-process h2 {
  padding: 10px 0 0;
}
#main-content .recipe-process .et_pb_text:not(.no-number) {
  position: relative;
  padding-left: 60px;
  margin-bottom: 45px;
}
#main-content .recipe-process .et_pb_text:not(.no-number) .recipe-step {
  position: absolute;
  width: 50px;
  left: 0;
  top: 8px;
  color: #e47724;
  font-family: Scrubby, display;
  font-size: 40px;
  text-align: center;
}
@media (min-width: 768px) and (max-width: 980px) {
  #main-content .recipe-specs > .et_pb_column {
    width: 50%;
    margin-bottom: 0;
  }
}
