/*
 Theme Name:   Story Lake Cottage Rentals Child Theme
 Template:     Divi
 Description:  Divi Child Theme
 Author:       Lee Kierstead - Studio 6AM
 Author URI:   https://studio6am.com
 License:      GNU General Public License v2 or later
 Version:      1.0.0
*/

/*temp*/
.note::before{
  position:absolute;
  top:-20px;
  left:-20px;
  padding:20px;
  width:20px;
  height:20px;
  background-color:#FF6D00;
  border-radius: 100%;
  font-family:Roboto;
  font-size:30px;
  font-weight: 800;
  text-align: center;
  color:#fff;
  z-index:100;
}

/* Fonts */

@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/roboto/roboto400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/roboto/roboto700.woff2') format('woff2');
  /* src: url(https://fonts.gstatic.com/s/roboto/v30/KFOlCnqEu92Fr1MmWUlfBBc4.woff2) format('woff2'); */
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  /* src: url(https://fonts.gstatic.com/s/roboto/v30/KFOlCnqEu92Fr1MmYUtfBBc4.woff2) format('woff2'); */
  src: url('fonts/roboto/roboto900.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Pine-Forest';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/pine-forest/pineforest.woff2') format('woff2'),
       url('fonts/pine-forest/pineforest.woff') format('woff'),
       url('fonts/pine-forest/pineforest.ttf') format('truetype');
}

@font-face {
  font-family: 'Slcr-Icons';
  font-weight: normal;
  font-style: normal;
  font-display: swap;
  src:  url('fonts/slcr-icon/slcr-icon.eot');
  src:  url('fonts/slcr-icon/slcr-icon.eot') format('embedded-opentype'),
    url('fonts/slcr-icon/slcr-icon.ttf') format('truetype'),
    url('fonts/slcr-icon/slcr-icon.woff') format('woff'),
    url('fonts/slcr-icon/slcr-icon.svg') format('svg');
}

a,abbr,acronym,address,applet,b,big,blockquote,body,center,cite,code,dd,del,dfn,div,dl,dt,em,fieldset,font,form,h1,h2,h3,h4,h5,h6,html,i,iframe,img,ins,kbd,label,legend,li,object,ol,p,pre,q,s,samp,small,span,strike,strong,sub,sup,tt,u,ul,var {
  font-family: Roboto;
  font-weight: 400;
  font-size: 16px;
}

strong {
  font-weight:700;
}

h1, h2, h2>a{
  font-family: Roboto;
  font-weight:800;
}

h1 {
  font-size: 70px!important;
}

h2, h2>a {
  font-size: 35px!important;

}

h3{
  font-size: 25px;
  font-weight: 600;
}
h4{
  font-size: 20px;
  font-weight: 600;
}

.pine-forest h1, .pine-forest h2{
  font-family: Pine-Forest!important;
  font-weight:normal;
  }
.pine-forest h1{
  font-size:100px!important;
}

.pine-forest h2{
  font-size:70px!important;
}
/* Ensure Pricing Element Shows 45px */
.cottages-template-default .et_pb_text_1_tb_body .et_pb_text_inner p{
  font-size: 45px;
  font-weight: 800;
}

.slcr-icon {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: 'Slcr-Icons';
  speak: never;
  font-size: 50px;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.slcr-boat-inv:before {
  content: "\e908";
}
.slcr-canoe-inv:before {
  content: "\e909";
}
.slcr-fire-inv:before {
  content: "\e90a";
}
.slcr-fish-inv:before {
  content: "\e90b";
}
.slcr-hiker-inv:before {
  content: "\e90c";
}
.slcr-loon-inv:before {
  content: "\e90d";
}
.slcr-paddles-inv:before {
  content: "\e90e";
}
.slcr-snowmobile-inv:before {
  content: "\e90f";
}
.slcr-swim-inv:before {
  content: "\e910";
}
.slcr-trees-inv:before {
  content: "\e911";
}
.slcr-boat:before {
  content: "\e901";
}
.slcr-canoe:before {
  content: "\e902";
}
.slcr-fire:before {
  content: "\e900";
}
.slcr-fish:before {
  content: "\e903";
}
.slcr-hiker:before {
  content: "\e904";
}
.slcr-loon:before {
  content: "\e905";
}
.slcr-paddles:before {
  content: "\e906";
}
.slcr-snowmobile:before {
  content: "\e907";
}
.slcr-swim:before {
  content: "\e912";
}
.slcr-trees:before {
  content: "\e913";
}
.slcr-car:before {
  content: "\e914";
}

/* Add space under header for all pages and ensure doesnt overflow x*/

  #main-content {
      /* padding-top: 105px; */
      overflow-x: hidden;
  }

  @media all and (max-width: 479px) {
    #main-content {
        padding-top: 100px;
    }
  }

/* Ensure Main Content with sticky sits under header */
.et_builder_inner_content.has_et_pb_sticky{
  z-index:1!important;
}

@media all and (min-width: 1200px) {
  #et-boc > header > div > div.et_pb_section.et_pb_section_1_tb_header.et_section_regular.et_pb_section--fixed.et_pb_section--with-menu{
    padding-top: 0px;
  padding-right: 0px;
  padding-bottom: 0px;
  padding-left: 0px;
  z-index: 10;
  box-shadow: 0px 12px 18px -6px rgba(0,0,0,0.3);
  z-index: 10;
  position: fixed!important;
  top: 0px;
  bottom: auto;
  left: 0px;
  right: auto;

  }

  #et-boc > header > div > div.et_pb_section.et_pb_section_1_tb_header.et_section_regular.et_pb_section--fixed.et_pb_section--with-menu > div{
    padding-top: 10px!important;
  padding-right: 30px!important;
  padding-bottom: 10px!important;
  padding-left: 30px!important;
  width: 100vw;
  max-width: 100vw;
  }
}
/* Divi - Divi Blog Extra Rendering Fix */

.blog-extra-fix .et-waypoint:not(.et_pb_counters) {
    opacity: 1!important;
}

/* Google Map Styling */

.slcr-map-label-cottage{
  padding:5px 10px;
  background-color: rgba(0,0,0,0.8);
  border-radius: 5px;
}

#directions-container{
  box-shadow: 0px 2px 18px 0px rgba(0,0,0,0.3);
  position: absolute;
  top: -60px;
  transition: all 0.5s ease;
  z-index: 99!important;
  }

#directions-container.close{
  right:-600px;
}

.directions-container-inner{
  background-color: #fff;
  padding:20px;
  min-width: 600px;
  max-width: 600px;
  min-height: 120px;
  max-height: 650px;
  position: relative;

}

.slcr-directions-button{
  background-color: #228b22;
  border-radius: 15px;
  display: flex;
  position: absolute;
  z-index: -11;
  width: 100px;
  height: 120px;
  margin: auto;
  left: -85px;
  top: 0;
  align-items: center;
  color: #fff;
  padding-left: 20px;
  box-shadow: 0px 2px 18px 0px rgba(0,0,0,0.3);
  cursor: pointer;

}
.et-arrow-right{
font-family: etmodules;
color: #fff;
font-size: 50px;

}
.et-arrow-right:before{
content: "\e04e";
}

.directions-input{
  width: 75%;
  margin-right: 5px!important;
  font-size: 16px!important;
  height: 38px!important;
  line-height: 38px!important;
  font-family: inherit!important;
  background-color: #fff!important;
  border: 1px solid #ccc!important;
  border-radius: 2px!important;
  transition: border-color .2s ease;
}

a#get-directions{
  font-size: 16px;
  font-weight: 500;
  padding: 0px 1em;
  line-height: 38px!important;
  position: relative;
  display: inline-block;
  color: #6b6b6b;
  border-color: #6b6b6b;
  background-color: #228b22;
  color: #fff;
  border-color: #fff;
}

.directions-container-inner .slcr-close-button{
  right:10px;
  display: none;
}

#map-directions-layer{
  max-height: 550px;
  overflow:auto;
  z-index: 1!important;
}

@media screen and (max-width: 479px) {
  #directions-container {
    width:100vw;
    max-width: 100vw;
    right:0;
    background-color:#fff;
    box-shadow: none;
    /* position:relative; */
  }
  #directions-container.close {
    right:-360px;
  }

  .directions-container-inner{
    max-height:560px;
  }
  .directions-input{
    width:45%;
  }
  #map-directions-layer{
    max-width: 328px;
    max-height: 432px;
  }
  .directions-container-inner .slcr-close-button{
    position:relative;
    display:block;
    left:0;
    margin-bottom: 10px;
  }
}



.middle-align .et_pb_text_inner .slcr-icon{
  vertical-align: middle;
}


/* Style included slcr-booking container template */

.post-type-archive-news #slcr-booking-container .wpbs-container, .single-news #slcr-booking-container .wpbs-container, .post-type-archive-reviews #slcr-booking-container .wpbs-container, .single-reviews #slcr-booking-container .wpbs-container {
  visibility:visible!important;
}

.wpbs-calendars {
  display:flex;
  flex-wrap: nowrap;
}

@media screen and (max-width: 479px) {
  .wpbs-calendars {
    flex-wrap: wrap;
  }

}



#wpbs-form-1, #wpbs-form-2, #slcr-booking-container .wpbs-payment-confirmation {
  width:100%!important;
  max-width: 100%!important;
  margin:0!important;
  padding:2em!important;
  background-color: #ebf5fa!important;
}

#slcr-booking-container{
  border: 0 solid #333;
  /* animation-timing-function: linear;
  animation-duration: .2s; */
  background-color: #FFFFFF;
  border-radius: 5px 5px 5px 5px;
  overflow: hidden;
  border-left-width: 10px;
  border-left-color: #0c71c3;
  height: 100vh;
  min-height: 100vh;
  max-height: 100vh;
  padding: 0;
  width: 45vw;
  max-width: 45vw;
  box-shadow: 0px 2px 18px 0px rgba(0,0,0,0.3);
  position: fixed;
  top: 0;
  bottom: auto;
  left: auto;
  /* transform: translateY(-50%); */
  z-index: 3;
  transition: right 1.0s ease;
  -webkit-font-smoothing: antialiased;
  /* overflow-y: auto; */
}

@media screen and (max-width: 479px) {
  #slcr-booking-container {
    width:100vw;
    max-width: 100vw;
  }
}



.text-shadow{
  text-shadow: 2px 5px 3px rgba(0,0,0,0.25);
}

.grecaptcha-badge{
  z-index:9999999999;
}

.open{
  right: 0;
}

.close {
  right: -100vw;;
}


.slcr-booking-inner{
  width:100%;
  height:100%;
  position: relative;
  padding-top: 50px;
  padding-right: 20px;
  padding-bottom: 20px;
  padding-left: 20px;
  overflow-y:auto;

}

.slcr-close-button {
  position:absolute;
  left:10px;
  top:10px;
  width:30px;
  background-color: #BDC3C7;
  font-weight:700;
  color: #000;
  text-align:center;
  cursor:pointer;
  z-index:10;
}

/****** Add overlay to parallax sections *******/
.gradient-overlay:before {
    content:"";
    position:absolute;
    z-index:1;
    background:inherit;
    top:0;
    bottom:0;
    width:100%;
}

.gradient-overlay .et_pb_row {
    z-index:2 !important;
}

.gradient-overlay {
    background-color: transparent;
 }



/* Hide secondary mobile menu on Cottages CPT pages and buttonize booking trigger */

.hide-mobile-menu.et_pb_menu .et_pb_menu__menu,.lwp-hide-mobile-menu.et_pb_fullwidth_menu .et_pb_menu__menu {
    display: flex!important;
}

.hide-mobile-menu .et_mobile_nav_menu {
    display: none;
}

#menu-cottages-sub{
  align-items: baseline;
}

#menu-cottages-sub li.booking-trigger a{
background: transparent;
text-decoration: none;
font-family: Roboto;
font-size: 16px;
font-weight: 500;
padding: .3em 1em;
line-height: 1.7em!important;
background-color: transparent;
border: 2px solid;
border-radius: 3px;
transition-property: all!important;
position: relative;
transition: all 300ms ease 0ms;
display: inline-block;
color: #6b6b6b;
border-color: #6b6b6b;
}

/* Add box shadow to cottage submenu when stuck */
#main-content > div > div > div.et_pb_section.et_pb_section_1_tb_body.et_pb_with_background.et_section_regular.et_pb_section--with-menu > div.et_pb_row.et_pb_row_1_tb_body.et_pb_sticky_module.et_pb_row--with-menu.et_pb_sticky.et_pb_sticky--top{
box-shadow: 0px 12px 18px -6px rgba(0,0,0,0.5);
}

/* Change Book Now button styles when stuck */
.et_pb_row--with-menu.et_pb_sticky.et_pb_sticky--top #menu-cottages-sub .booking-trigger a{
  background-color: #228b22;
  color:#fff;
  border-color:#fff;
}

/* SLCR Table Formating */

.slcr-table{
  width:100%;
  display: flex;
  flex-direction: column;
}

.slcr-table .slcr-table-tr{
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  border: 1px solid #E7E9EB;
}

.slcr-table .slcr-table-tr:nth-child(5) {
  margin-bottom:15px;
}


.slcr-table .slcr-table-tr .slcr-table-td{
  width: 50%;
  display: block;
  padding:5px;
  overflow-wrap: break-word;
  margin-right:1px;
}

.slcr-table .slcr-table-tr .slcr-table-td.dark {
  background-color:#ebf5fa;
  /* color:#fff; */
}

/* Review Card Layouts */

.slcr-review-card{
  width:100%;
  background-color: rgba(255,255,255,0.6);
  padding:30px;
  border-top-color: #FFFFFF;
  border-top: solid 50px #ffffff;
  border-radius: 5px 5px 5px 5px;
  overflow: visible;
  /* box-shadow: 0px 2px 18px 0px rgba(0,0,0,0.3); */
  min-height:200px;
  position:relative;
  margin-bottom: 65px;
}

.slcr-review-card-inner{
  width:100%;
  padding:5%;
}

.slcr-review-card-content{
  text-align:justify;
  margin-bottom:20px;
}

.slcr-review-card-category{

  position:absolute;
  top:0;
  right:0px;
  padding:15px;
  font-size:20px;
  font-weight:700;
  color:white;
  z-index: 10;
  background-color: #228b22;
  width:25%;
  text-align:center;
}



.slcr-review-card-stars{
  font-family: ETmodules;
  font-size: 25px;
  color: #daa520;
  display: block;
  position: relative;
  margin:5px 0;
}

.slcr-review-card-avatar{
  background-position: 50%;
  background-size: cover;
  padding-bottom: 0px;
  width: 140px;
  height: 140px;
  position: absolute;
  top: -100px;
  border: solid 10px #ebf5fa;
  border-radius: 90px;
  box-shadow: inset 0px 0px 25px 0px rgba(0,0,0,.2);
}

.et_pb_text.slcr-heading-with-meta{
  margin-bottom: 0px!important;
  position: absolute;
  top: -20px;
  bottom: auto;
  left: -20px;
  right: auto;
}

.heading-meta{
  font-weight: 700;
  border-bottom: 2px solid #ccc;
  width: 100%;
  text-align: right;
  margin-bottom: 2.5%;
}

/* Add a bit more bottom margin to make room for review avatar */
.reviews-heading-meta{
  margin-bottom: 5%;
}

@media all and (max-width: 479px) {

  .heading-meta{
    display:block;
  }
  .slcr-review-card-category{
    position: inherit;
    width:100%;
  }
  .slcr-review-card-avatar{
    left:50%;
    transform: translatex(-50%);
  }
  .et_pb_text.slcr-heading-with-meta{
    position: relative;
  }
  .slcr-review-card-inner{
    padding:0;
  }

}

/* Mosiac Layout  Single Cottage CPT pages*/
@media screen and (max-width: 650px) {
  .mosiac {
    display: block !important;
  }

  .tile {
    margin-bottom: 1rem !important;
  }
}


.mosiac {
  padding: 0.5rem;
  background-color: #fff;
  display: grid;
  grid-template-columns: repeat(5,1fr);
  grid-template-rows: 200px 150px;
  grid-gap: 0.5rem;
}

.tile {
  display:none;
  position: relative;

}

.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tile .photo-count {
  width:100%;
  height:100%;
  position: absolute;
  top:0;
  left:0;
  bottom:auto;
  right:auto;
  font-family: Roboto;
  font-weight: 800;
  font-size: 40px;
  color:#fff;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;

}

.tile:nth-child(1) {
  grid-column: span 3;
  grid-row: span 2;
  display:block;
}

.tile:nth-child(2) {
  grid-column: span 2;
  grid-row: span 1;
  display:block;
}

.tile:nth-child(3), .tile:nth-child(4) {
  grid-column: span 1;
  grid-row: span 1;
  display:block;

}




.fl-highlight{
  font-family: Roboto;
  font-size: 45px;
  padding:10px;
  background-color: #0C71C3;
  color:#fff;
  font-weight: 800;
  margin-right: 3px;
}

/* Add a bit more margin to h2s that include .fl-highlight */
h2:has(span.fl-highlight){
  margin-bottom:10px;
}

/* CPT Descriptor Card Styling */

.slcr-card-container .et_pb_code_inner{
  display:flex;
  flex-wrap: wrap;
}


.slcr-card{
position: relative;
background-color: rgba(255,255,255,0.2);
border-style: solid;
border-radius: 5px 5px 5px 5px;
border-top-width: 25px;
border-top-color: #FFFFFF;
padding: 20px;
min-height:300px!important;
box-shadow: 0px 2px 20px 3px rgba(0,0,0,0.19);
overflow: visible;
width: 47%;
margin-right:3%;
margin-bottom:50px;
}

.slcr-card-title{
font-family:Pine-Forest;
font-size: 45px;
content: '';
position: absolute;
top:-50px;
padding:20px;
left:50%;
transform:translatex(-50%);
text-shadow:2px 5px 3px rgba(0,0,0,0.25);
color:#fff;
background-color:#0C71C3;
border-radius:5%;
border-width: 5px;
border-color:#fff;
border-style:solid;
white-space:nowrap;
}

.slcr-card-inner::before{
  position: absolute;
  left: auto;
  right:0;
  opacity: 0.2;
  bottom: 50px;
  font-family: 'slcr-icon';
  font-size: 150px;
  color: #ccc;
}

.slcr-card-inner{
  position: relative;
  width:100%;
  height:100%;
  overflow:hidden;
}

.slcr-card-inner ul{
  padding:5%;
}

.slcr-card-inner ul>li{
  font-weight:700;
}

@media screen and (max-width: 479px) {
  .slcr-card {
    width:100%;
    max-width:100%;
  }
}
