/*
Theme Name: Salient Child Theme
Description: This is a custom child theme for Salient
Theme URI:   https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
Author: ThemeNectar
Author URI:  https://themeforest.net/user/themenectar
Template: salient
Version: 1.0
Client: Brightwater
*/

/* HEADER STUFF */
@media only screen and (min-width: 1000px) {

    .wpb_row.vc_row-o-full-height,
    .wpb_row.vc_row-o-full-height>.col.span_12 {
        min-height: calc(100vh - 165px) !important;
    }

    .wpb_row.vc_row-o-full-height.top-level,
    .wpb_row.vc_row-o-full-height.top-level>.col.span_12 {
        min-height: 100vh !important;
    }
}

/* TEXT SIZE STUFF */
body,
p {
    font-size: max(14px, 1.3vw) !important;
    line-height: max(20px, 3vh) !important;
    letter-spacing: 0.167vw;
}

h1 {
    font-size: clamp(24px, 3vw, 48px);
    line-height: 1.5;
    letter-spacing: 0.1em;
}

h2 {
    font-size: max(30px, 1.5vw) !important;
    line-height: max(30px, 1.953vh) !important;
}

h3 {
    font-size: max(20px, 1.5vw) !important;
    line-height: max(22px, 1.2vh) !important;
}

/* h4 {
    font-size: max(15px, 1.674vw)!important;
    line-height: max(15px, 1.674vw)!important;;
}
h5 {
    font-size: max(12px, 0.837vw)!important;
    line-height: max(15px, 1.674vw)!important;
}
h6 {
    font-size: max(12px, 1.004vw)!important;
    line-height: max(16px, 1.786vw)!important;
} */
#top nav>ul>li>a {
    font-size: clamp(12px, 1.78125vw, 18px);
}

/* HELPER CLASSES */
.uppercase {
    text-transform: uppercase;
}

/* LEAF STUFF */
img.leaf-left {
    position: absolute;
    top: -300px;
    min-width: 30vw;
}

img.leaf-right {
    position: absolute;
    top: -300px;
    right: 0;
    min-width: 30vw;
}
@media only screen and (max-width: 430px) {
    img.leaf-left {
        position: absolute;
        top: -75px;
        min-width: 40vw;
    }
    img.leaf-right {
        position: absolute;
        top: -100px;
        right: -50px;
        min-width: 50vw;
    }
}
@media screen and (min-width: 431px) and (max-width: 1179px) {
    img.leaf-left {
        position: absolute;
        top: -275px;
        min-width: 40vw;
    }
    img.leaf-right {
        position: absolute;
        top: -300px;
        right: 0;
        min-width: 50vw;
    }
}

/* POST LOOP GRID SPACING */
.nectar-post-grid {
    margin-left: -25px;
    margin-right: -25px;
}
.nectar-post-grid .nectar-post-grid-item,
.wpb_row.full-width-content .vc_col-sm-12 .nectar-post-grid {
    margin:25px;
}
.nectar-post-grid .nectar-post-grid-item {
    width: calc(50% - 50px)!important;
}
@media only screen and (max-width: 430px) {
    .nectar-post-grid {
        margin-left: -25px;
        margin-right: -25px;
    }
    .nectar-post-grid .nectar-post-grid-item,
    .wpb_row.full-width-content .vc_col-sm-12 .nectar-post-grid {
        margin:0 auto 25px auto!important;
    }
    .nectar-post-grid .nectar-post-grid-item {
        width: calc(100% - 50px)!important;
    }
}
@media only screen and (min-width: 431px) {
    .nectar-post-grid {
        margin-left: -25px;
        margin-right: -25px;
    }
    .nectar-post-grid .nectar-post-grid-item,
    .wpb_row.full-width-content .vc_col-sm-12 .nectar-post-grid {
        margin:25px;
    }
    .nectar-post-grid .nectar-post-grid-item {
        width: calc(50% - 50px)!important;
    }
}



/* CONTACT FORM CUSTOMIZATION */
#contact .row-bg {
    background-size: contain!important;
}
body #gform_wrapper_1 {
    max-width: 70vw;
    margin: 0 auto;
}

.gform-field-row--span-three {
    grid-row: span 2;
}

body #gform_wrapper_1 .gform_body .gform_fields .gfield input::placeholder {
    text-transform: uppercase;
}

body #gform_wrapper_1 .gform_body .gform_fields .gfield input {
    border-radius: 0;
    padding: 30px 20px;
}

body #gform_wrapper_1 .gform_body .gform_fields .gfield .gfield_checkbox {
    margin-left: 20px;
}

body #gform_wrapper_1 .gform_body .gform_fields .gfield .gfield_checkbox input[type=checkbox] {
    padding: 5px;
    width: 30px;
    height: 30px;
    vertical-align: middle;
}

body #gform_wrapper_1 .gform_body .gform_fields .gfield .gfield_checkbox label {
    text-transform: uppercase;
    height: 50px;
    padding-top: 5px;
}

body #gform_wrapper_1 .gform_footer input[type=submit] {
    background: #004242;
}

body #gform_wrapper_1 .gform_footer input[type=submit]:hover {
    background: #7A9B9B;
}

/* FOOTER STUFF */
.footer-col-left {
    white-space: nowrap;
}
.footer-logo .column-image-bg {
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain!important;
}

.footer-links a {
    display: block;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: #fff;
}

.footer-links a:hover {
    color: #004242;
}

.footer-col-left .footer-address-text .heading-line {
	font-size: max(14px, 1.1vw)!important;
}

body #socials .nectar_icon_wrap[data-style=default]:hover i {
    color: #004242!important;
}
.terms-text p {
    font-size: 14px!important;
}