.header, .content-block, .callout-overlay {
	position: relative;
	z-index: 0;
}

.header .container, .content-block .container,  .callout-overlay div {
	position: relative;
	z-index: 2;
}

.default-padding {
	padding: 100px 0;
}

.footer.default-padding {
    padding: 50px 0 15px;
}

.fa-ul>li {
    position: relative;
    margin-bottom: 18px;
}

#player_wrapper,#player {
  position:absolute;
  top:0;
  right:0;
  bottom:0;
  left: 0;
  z-index: -1;
}

#player_wrapper {
  overflow:hidden;
}

video.b-bgvideo {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
    transform: translateX(-50%) translateY(-50%);
    background-size: cover;
}

/* Overlay style */
.overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(1, 69, 126, 0.99);
}

/* Overlay closing cross */
.overlay .overlay-close {
    position: absolute;
    right: 15px;
    top: 0.25rem;
    overflow: hidden;
    border: none;
    color: #fefefe;
    outline: none;
    z-index: 5001;
    font-size: 2rem;
    padding: 1rem;
    margin-right: 0.9375rem;
    background: transparent;
    border: none;
}

/* Menu style */
.mobilemenu nav {
    position: relative;
    top: 40%;
    height: 55%;
    font-size: 2.5rem;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    margin-right: auto;
    margin-left: auto;
}

.mobilemenu ul {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    display: inline-block;
    height: 100%;
    position: relative;
}

.mobilemenu ul li {
    display: block;
    padding: 0 0 1.5rem;
}

.mobilemenu ul li a {
  font-family: 'Open Sans', sans-serif !important;
  font-size: 18px !important;
  letter-spacing: 1px;
  font-weight: 400;
  color: #000;
  display: block;
  -webkit-transition: color 0.2s;
  transition: color 0.2s;
  line-height: 1;
  text-align: center;
}

.mobilemenu ul li a.phone {
    color: #fefefe;
    font-size: 2rem;
}

.mobilemenu ul li a:hover, .mobilemenu ul li a:focus {
    color: #caccce;
}

#mobile_menu {
    height: 100vh;
    background: #4d5c49;
    display: flex;
    align-items: center;
    color: #000;
    width: 0;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 100;
    transition: all 0.5s ease-in;
}

#mobile_menu.active {
    width: 100%;
    position: fixed;
    transition: all 0.25s ease-in;
}

@media only screen and (max-width: 500px) {
    #mobile_menu.active {
        width: 100%;
        position: fixed;
        transition: all 0.25s ease-in;
    }
}

#mobile_menu.active a i {
    opacity: 0;
    transition: opacity 0.25s ease-in;
}

#mobile_menu .closenav {
    position: absolute;
    top: 2rem;
    right: 1rem;
    opacity: 0;
    display: none;
}

#mobile_menu.active h3, #mobile_menu.active .closenav  {
    opacity: 1;
    display: block;
    transition: opacity 1s ease-in;
}

button.overlay-close {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 11;
    background: none;
    outline: none;
    border: none;
}

.dropdown-menu {
    padding: 0;
}

.callout-overlay {
    min-height: 300px;
    display: flex;
}

@media (min-width: 576px) {

    .card-columns {
        -webkit-column-count: 2;
        -moz-column-count: 2;
        column-count: 2;
        -webkit-column-gap: 1.25rem;
        -moz-column-gap: 1.25rem;
        column-gap: 1.25rem;
        orphans: 1;
        widows: 1;
    }

}

.wpcf7-response-output {
    display: none;
}

.footer .fa-ul {
    margin-left: 30px;
    padding-left: 0;
}

.footer .fa-ul>li {
    position: relative;
    margin-bottom: 10px;
}

ul.footer-menu {
    display: block;
    list-style-type: none;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    padding-inline-start: 0;
}

#accordion .card-header .btn {
    font-weight: 400;
    font-style: normal;
    font-size: 18px;
    padding-right: 10%;
    position: relative;
    text-align: left;
}

#accordion .card {
    border: none;
    border-radius: 0;
    background-color: none;
    background: transparent;
}

#accordion .card .card-header {
    padding: 0.75rem 1.25rem;
    background-color: transparent;
    border-bottom: 1px solid rgba(0,0,0,.125);
}

#accordion .card .card-header .btn-link {
    font-weight: 600;
    text-decoration: none;
}

#accordion i {
    position: absolute;
    right: 14px;
    font-size: 18px;
    top: calc( 50% - 9px);
}

.layer-control .container, .layer-control .container-full {
    z-index: 1;
    position: relative;
}

h1 {
    font-family: 'DM Serif Display', serif;
    font-size: 5.5rem;
    font-weight: 400;
    margin-bottom: 20px;
}

h2 {
    font-family: 'DM Serif Display', serif;
    font-size: 3rem;
    font-weight: 400;
    margin-bottom: 1rem;
}

p.sub {
    font-family: 'Roboto', sans-serif !important;
    font-size: 18px !important;
    line-height: 28px !important;
    letter-spacing: 2px;
    text-transform: uppercase;
}

h3 {
    font-family: 'Roboto', sans-serif !important;
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px !important;
}

h4 {
    font-family: 'Roboto', sans-serif !important;
    font-size: 18px !important;
    letter-spacing: 1px !important;
    margin-bottom: 14px !important;
    text-transform: uppercase !important;
}

p {
    font-family: 'Roboto', sans-serif !important;
    font-size: 16px !important;
    line-height: 28px !important;
    letter-spacing: 0;
}

p.subtitle {
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 10px;
    font-size: 14px !important;
    line-height: 12px !important;
}

@media (max-width: 800px) {

    h1 {
        font-family: 'DM Serif Display', serif;
        font-size: 4rem;
        font-weight: 400;
    }

}

@media (max-width: 650px) {

    h1 {
        font-family: 'DM Serif Display', serif;
        font-size: 3rem;
        font-weight: 400;
    }

}

@media (max-width: 500px) {

    h1 {
        font-family: 'DM Serif Display', serif;
        font-size: 2.5rem;
        font-weight: 400;
    }

    h2 {
        font-family: 'DM Serif Display', serif;
        font-size: 2rem;
        font-weight: 400;
        margin-bottom: 1rem;
    }

    p {
        font-size: 14px !important;
        line-height: 26px !important;
    }

    p.subtitle {
        font-size: 12px !important;
    }

}

.lead {
    font-size: 1.25rem !important;
    font-weight: 300;
    line-height: 2.25rem !important;
    letter-spacing: 0.5px;
}

.dk-green-text {
    color: #585847;
}

.quarter-fill {
    background: linear-gradient(to top, #f4f4f4 20%, white 0%);
    transition: all ease-in-out 0.5s;
}

@media (max-width: 1199px) {
    .quarter-fill {
        background: linear-gradient(to top, #f4f4f4 10%, white 0%);
        transition: all ease-in-out 0.5s;
    }
}

.slider-container {
  width: 100%;
  display: block;
}

#before-after-slider {
  width:100%;
  position:relative;
  overflow:hidden;
  border:3px solid white;
}

#after-image {
  display:block
}

#before-image {
  position:absolute;
  height:100%;
  width:50%;
  top:0;
  left:0;
  overflow:hidden;
  z-index:2;
}

#resizer {
  position:absolute;
  display:flex;
  align-items:center;
  z-index:5;
  top:0;
  left:50%;
  height:100%;
  width:4px;
    color: #030303;
  background:white;
  -ms-touch-action: pan-y;
    touch-action: pan-y;
}

#resizer:after {
    background: #fefefe;
    font-family: 'Open Sans', sans-serif;
    content: 'Drag';
    font-weight: 300;
    font-size: 1em;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #76767;
    position: absolute;
    margin: 0 0 0 -37.5px;
    width: 75px;
    height: 75px;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 .125rem .25rem rgba(0,0,0,.075)!important;
}

.light-green {
    color: #33AC46;
}

.btn {
    font-family: 'Open Sans', sans-serif !important;
    text-transform: uppercase !important;
    font-weight: 400 !important;
    letter-spacing: 1px !important;
    font-size: 16px !important;
    padding: 0.75rem 2.5rem !important;
}

div#otherservices {
    margin-top: 12px;
}

label {
    width: 100%;
}

.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0; /* remove the gap so it doesn't close */
}

.img-fluid {
    border-bottom-left-radius: 50px;
    border-top-right-radius: 50px;
}

.img-fluid.logo {
    border-bottom-left-radius: 0;
    border-top-right-radius: 0;
}

.multi-collapse {
    margin-top: 20px;
}