/*
Theme Name: Salient Child Theme
Theme URI: http: //mysite.com/
Description: This is a custom child theme for Salient
Author: My Name
Author URI: http: //mysite.com/
Template: salient
Version: 0.1
*/

/** remove white line */
.transparent-el .column-bg-overlay {
    background-color: transparent !important;
}

/** add shadow on hover */
.hover-shadow {
    box-shadow: 0 30px 80px transparent, 0 20px 70px transparent;
    transition: box-shadow 0.25s ease-in-out;
}

.hover-shadow:hover {
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.14), 0 20px 70px rgba(0, 0, 0, 0.12);
}

/** style form */
.nf-form-cont .checkbox-container,
.nf-form-cont .submit-container {
    padding: 0 10px;
}

.nf-form-cont .submit-container .ninja-forms-field {
    box-shadow: none !important;
    padding: 9px 14px !important;
    background-color: transparent !important;
    border: 2px solid rgba(255, 255, 255, 0.7);
    font-family: caslon-reg-pro;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px;
    font-weight: 700;
}

.nf-form-cont .submit-container .ninja-forms-field:hover {
    background-color: #d41839 !important;
    border-color: #d41839 !important;
    color: #ffffff !important;
}

#nf-field-52-container {
    padding: 0 10px;
}

/** hover red to link */
.hover-red a:hover {
    color: #d41839 !important;
}

.wpb_text_column a,
.wpb_text_column span {
    transition: color 0.2s;
}

.wpb_text_column a:hover,
.wpb_text_column a:hover span {
    color: #d41839 !important;
}

/** style slider on mobile */
@media only screen and (max-width: 1300px) and (min-width: 1000px) {
    body .nectar-slider-wrap[data-full-width="false"] .swiper-slide .content p {
        font-size: 22px !important;
        line-height: 30px !important;
        padding-top: 15px !important;
    }

    body .swiper-slide .content .buttons {
        padding-top: 20px !important;
    }
}

@media only screen and (max-width: 1000px) and (min-width: 690px) {
    body .nectar-slider-wrap[data-full-width="false"] .swiper-slide .content p {
        font-size: 22px !important;
        line-height: 30px !important;
        padding-top: 15px !important;
    }

    html body .nectar-slider-wrap[data-fullscreen="false"] .swiper-slide .button.transparent a, html body .nectar-slider-wrap[data-fullscreen="false"] .swiper-slide .button.transparent_2 a {
        padding: 10px 15px !important;
        font-size: 11px !important;
    }
}

@media only screen and (max-width: 690px) {
    body .nectar-slider-wrap[data-full-width="false"] .swiper-slide .content h2, body #boxed .swiper-slide .content h2 {
        font-size: 20px !important;
        padding-bottom: 5px !important;
    }

    body .nectar-slider-wrap[data-full-width="false"] .swiper-slide .content p {
        font-size: 16px !important;
        line-height: 24px !important;
    }

    html body .nectar-slider-wrap[data-fullscreen="false"] .swiper-slide .button.transparent a, html body .nectar-slider-wrap[data-fullscreen="false"] .swiper-slide .button.transparent_2 a {
        padding: 10px 15px !important;
        font-size: 10px !important;
    }
}

/** burger icon right */
header#top .span_9 > .slide-out-widget-area-toggle {
    right: 0 !important;
    left: auto !important;
}

/** product portfolio */
.product-portfolio.work-item img {
    height: 265px;
    object-fit: cover;
}

@media only screen and (max-width: 690px) and (min-width: 471px) {
    .product-portfolio.work-item img {
        height: 150px;
    }
}

.product-portfolio.work-meta h4 {
    font-size: 20px !important;
    line-height: 24px !important;
    letter-spacing: .25px;
}

@media only screen and (max-width: 999px) {
    .product-portfolio.work-meta h4 {
        font-size: 16px !important;
        line-height: 24px !important;
        letter-spacing: .25px;
    }
}

/** Hover on footer links */
#footer-outer a:not(.nectar-button):hover {
    color: #d41839 !important;
}

/** Link teaser */
.link-teaser > a {
    height: calc(100% - 126px) !important;
}

.link-teaser .padding-6-percent {
    padding: 35px !important;
}

@media only screen and (max-width: 1000px) {
    .link-teaser > a {
        height: calc(100% - 120px) !important;
    }
}

@media only screen and (max-width: 690px) {
    .link-teaser > a {
        height: calc(100% - 94px) !important;
    }

    .link-teaser .padding-6-percent {
        padding: 22px !important;
    }
}

.link-teaser.wpb_column.column_container:hover > .column-bg-overlay {
    background-color: #092232 !important;
    opacity: 0.6 !important;
}

.link-teaser.wpb_column.column_container > a:hover + .column-image-bg-wrap + .column-bg-overlay {
    opacity: 1 !important;
    background-color: #d41839 !important;
}

/** Nectar-Love-Button Portfolio */
div#project-meta {
    display: none !important;
}