/* Begin main section styling for DGFW Theme 5 */
/*  Begin remove contact form box in mobile/tablet view*/
@media only screen and (max-width:1000px){
    .contact-form-box-5{
        display: none;
    }
}
/* End remove contact form box in mobile/tablet view*/
/* Begin main section styling for DGFW Theme 2 */
.variation-five .nav-wrapper a.btn-transparent:not(.multi-location-nav):hover {
    background: none;
}
.variation-five nav.large .nav-wrapper li.phone, body.variation-five nav.large a.multi-phone, body.variation-five .btn-tertiary {
    border-radius: 5px;
}
.variation-five nav.small .nav-wrapper li.phone { border-radius: 0; }
.variation-five nav.large .nav-wrapper li.phone a { padding: 0 20px; }
/* Begin Slider Styling */
.slider-variation-five {
    height: 687px !important;
    width: 100%;
    margin: 0 auto;
}

.slider-variation-five .slides.slides-variation-5 {
    height: 687px !important;
}

.slider-variation-five .slides li img {
    background-position: 100% 45%;
}

.slider-variation-five .caption-variation-5 {
    color: white;
    position: absolute;
    top: 0;
    /*left: calc(100vw/10);*/
    left: calc(100vw/4.5);
    height: 100%;
    /*max-width: 795px;*/
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    padding: 5rem 5rem 15.5rem 9rem;
}

.transparent-background {
    position: absolute;
    top: 0;
    width: inherit;
    height: inherit;
    background: rgba(26, 26, 26, 0.35);
}

.slider-variation-five .caption-variation-5 .slide-name {
    text-align: left;
    color: #FFF;
    font-size: 42px;
    font-style: normal;
    font-weight: 600;
    line-height: 53px; /* 126.19% */
    margin: 0.5rem 0;
    /*width: 350px;*/
    width: 80%;
}

.slider.slider-variation-five .caption-body {
    width: 70%;
}

.slider-variation-five .caption-body * {
    color: #FFF;
    font-size: 19px;
    font-style: normal;
    font-weight: 300;
    line-height: 29px;
    /* 152.632% */
}

.slider.slider-variation-five .slides-variation-5 a {
    font-size: 1.1rem;
    font-weight: normal;
    border: none;
    border-radius: 5px;
    margin-top: 1rem;
    max-height: 40px;
}

.slider-header-bar {
    min-width: 300px;
    height: 0.5em;
    margin: 5px 0px;
}
/* End Slider Styling */

/* Begin Contact Form on Top of Slider Styling */
.contact-form-box-5 .contact-form{
    min-width: 349px;
    position: absolute;
    z-index: 5;
    top: 27em;
    left: calc(100vw/5);
    background-color: white;
    display: flex;
    box-shadow: 20px 20px 20px 5px rgba(0,0,0,0.26);
}

.contact-form-box-5 .input-container-five {
    display: flex;
}

.contact-form-box-5 .input-content-one{
    padding: 2.5em 1em 2.5em 2.5em;
}
.contact-form-box-5 .input-content-two{
    padding: 2.5em 2.5em 2.5em 0em;
}
.contact-form-box-5 .input-content-one,.input-content-two {
    display: flex;
    /* max-width: 360px; */
    /*padding: 2.5em;*/
    flex-direction: column;}

.contact-form-box-5 .input-container-five > .input-content-one > input,
.contact-form-box-5 .input-container-five > .input-content-two > input {
    padding: 10px;
    width: 320px;
    margin: 7px 0;
    height: 25px;
}
.contact-form-box-5 .contact-form p {
    padding: 0;
    margin: 0;
}

.contact-form-header-five{
    max-width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.contact-form-header-five header {
    font-size: 28px;
    font-weight: 600;
    text-align: center;
    line-height: 1.25;
}
.contact-form-header-five .g-recaptcha { padding: 0; }
.contact-form-header-five .btn.btn-tertiary {
    font-size: 17px;
    min-width: 270px;
    border-radius: 5px;
    height: 50px;
    margin-bottom: 0;
    font-weight: 600;
    margin-top: 1rem;
    line-height: 3;
    text-align: center;
}

@media only screen and (max-width: 1200px) {
    .contact-form-box-5 .contact-form {
        left: 5em;
    }

    .input-container-five > .input-content-one > input,
    .input-container-five > .input-content-two > input {
        width: 200px;
    }

}
/* End Contact Form on Top of Slider Styling */
/* End desktop view*/

/* Theme Two Main Content Section */
.theme-five-main-section{
    background-image: none;
    background-clip: initial;
    background-origin: initial;
    background-position: center center;
    background-repeat: repeat;
    -webkit-background-size: cover;
    background-size: initial;
    background-attachment: initial;
    padding-bottom: 7rem;
}
.theme-five-main-section.main-section p { margin: 2vh .25vw; }
.theme-five-main-section h1, .theme-five-main-section h2 { font-size: 4rem; }

.theme-five-main-section .intro-heading{
    font-size: 26px;
    font-weight: 600;
    padding-bottom: 1rem;
}

.theme-five-main-section .intro-heading .text-contrast {
    margin-bottom: 15px;
}

.theme-five-main-section .hr-half{
    display: inline-block;
    width: 68%;
    opacity: .5;
    font-size: 13px;
    margin-left: 15px;
    color: #D8D8D8;
    border: 1px solid #D8D8D8;
}

.theme-five-main-section .hr-grey{
    opacity: .5;
    color: #D8D8D8;
    border: 1px solid #D8D8D8;
    width: 95%;
    margin-left: 0;
}
.theme-five-welcome-section{
    padding-top: 2rem;
}

.theme-five-main-section .intro-heading h1 {
    text-align: left;
}
.theme-five-main-section .theme-five-profile-box-container
{ margin: auto;
    background-color: #F9F9F9;
    padding: 2rem 0 4rem 0;
}
.theme-five-main-section .theme-five-profile-boxes{
    background-color: #fff;
    /*padding: 0 !important;*/
    box-shadow: 0 15px 15px 0 lightgrey;
    height: 400px;
    position: relative;
    border-radius: 4px;
    margin: 0 0.75rem 2em 0.75rem;
}

.theme-five-main-section .theme-five-profile-boxes .profile-box-border {
    height: 10px;
    border-radius: 4px 4px 0 0;
}
.theme-five-main-section .theme-five-profile-boxes .profile-icon {
    padding-right: 20px;
}
.theme-five-main-section .theme-five-profile-boxes .heading-image-and-text{
    display: flex;
    align-items: flex-end;
    padding: 1.5rem 30px 1rem 30px;
}
.theme-five-main-section .theme-five-profile-boxes .heading-image-and-text h3, .theme-five-main-section .theme-five-profile-boxes .heading-image-and-text h2 {
    font-size: 26px;
    font-weight: 600;
}
.theme-five-main-section .theme-five-profile-boxes .heading-paragraph{
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 8;
    -webkit-box-orient: vertical;
    padding: 0 2rem;
    line-height: 1.8em;
}
.theme-five-main-section .theme-five-profile-boxes div.cta-holder {
    position: absolute;
    bottom: 0;
    display:block;
    text-align: right;
    padding: 25px 30px;
    width: 100%;
}
.theme-five-main-section .theme-five-profile-boxes div.cta-holder a {
    text-decoration: none;
    font-size: 17px;
    font-weight: 500;
}

/* END Theme Five Main Content Section */

/* End desktop view*/

/* Begin tablet view*/
@media only screen and (max-width: 768px){

    /* Begin Slider Styling */
    .transparent-background{
        background: none;
    }

    .slider-variation-five .caption-variation-5 {
        top:-10em;
        left:unset;
        width: 100%;
        padding: 5em;
    }

    .slider-header-bar{
        display: none;
    }

    .caption-variation-5 .caption-body.full-caption {
        display: flex;
        justify-content: center;
        margin: 1em 0;
        text-align: center;
        width: 100%;
    }

    #home-slider.slider .caption-variation-5 .slide-name {
        font-size: 2.5rem;
        line-height: 1.5;
        margin: 0;
        width: 100%;
    }
    /* End Slider Styling */

    .show-small-desktop-view-only{
        display: none;
    }
}
/* End tablet view*/

/* No less than 1600px, no greater than 2000px */
@media (min-width:2001px) and (max-width:3000px) {
    .contact-form-box-5 .contact-form{
        left: calc(100vw/4);

    }
}
@media (min-width:1600px) and (max-width:2000px) {
    .contact-form-box-5 .contact-form{
        left: calc(100vw/5);

    }

    .slider-variation-five .caption-variation-5 {
        left: calc(100vw/7.5);
    }
}

/* No less than 1201px, no greater than 1599px */
@media (min-width:1201px) and (max-width:1599px) {
    .contact-form-box-5 .contact-form{
        left: calc(100%/9);
    }
    .slider-variation-five .caption-variation-5 .slide-name { width: 100%; }

    .input-container-five > .input-content-one > input,
    .input-container-five > .input-content-two > input {
        width: 250px;
    }

    .slider-variation-five .caption-variation-5{
        left: calc(100vw/30);

    }
}
/* No less than 950px, no greater than 1202px */
@media (min-width:1001px) and (max-width:1202px) {
    .contact-form-box-5 .contact-form{
        left: calc(100%/10);
        top: 31em;
    }

    .input-container-five > .input-content-one > input,
    .input-container-five > .input-content-two > input {
        width: 200px;
    }
    .slider-variation-five .caption-variation-5{
        left: 0;
        width: 70%;
    }
}

/* No less than 769px, no greater than 1000px */
@media (min-width:769px) and (max-width:1000px) {
    .slider-variation-five .caption-variation-5 { width: 100%; left: 0; justify-content: start; }
    .show-small-desktop-view-only {
        display: flex;
        flex-direction: column;
        z-index: 100;
        position: relative;
        transform: translateY(-120%);
        max-width: 270px;
        margin: auto;
    }
    .show-small-desktop-view-only > .address {
        font-size: 20px;
        text-align: center;
        line-height: 1.2em;
        color: #fff;
        margin-top: 1em;
    }
    .show-small-desktop-view-only > .btn {
        margin-top: 1em
    }

}
/* Begin mobile view*/
@media only screen and (max-width: 601px) {

    /* Begin Slider Styling */
    .slider-variation-five .caption-variation-5 {
        padding: 0rem 5rem;

    }

    .caption-variation-5 #home-slider.slider .slide-name {
        width: 15em;
        padding: 0rem 5rem;
    }

    .slider-header-bar {
        display: none;
    }

    /* End Slider Styling */

}
/* End mobile view*/
