/*
Theme Name: the7dtchild
Author: Dream-Theme
Author URI: http://dream-theme.com/
Description: The7 is perfectly scalable, performance and SEO optimized, responsive, retina ready multipurpose WordPress theme. It will fit every site – big or small. From huge corporate portals to studio or personal sites – The7 will become a great foundation for your next project!
Version: 1.0.0
License: This WordPress theme is comprised of two parts: (1) The PHP code and integrated HTML are licensed under the GPL license as is WordPress itself.  You will find a copy of the license text in the same directory as this text file. Or you can read it here: http://wordpress.org/about/gpl/ (2) All other parts of the theme including, but not limited to the CSS code, images, and design are licensed according to the license purchased. Read about licensing details here: http://themeforest.net/licenses/regular_extended
Template: dt-the7
*/

.boraid-rotate-360 { animation: boraid-spin 6s linear infinite; }
.boraid-rotate-360-slow { animation: boraid-spin 30s linear infinite; }

@keyframes boraid-spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* Phantom logo (shown on scroll) */
.phantom-logo-1,
.phantom-logo-2,
.phantom-logo-3 {
    max-height: 51px !important;
    width: auto !important;
}

.sticky-mobile-on .mobile-branding .sticky-mobile-logo-first-switch,
.sticky-mobile-on .mobile-branding .sticky-mobile-logo-second-switch {
    flex-direction: row !important;
}

.sticky-mobile-on .mobile-branding .sticky-mobile-logo-first-switch img,
.sticky-mobile-on .mobile-branding .sticky-mobile-logo-second-switch img {
    display: inline-block !important;
}

.phantom-logo-1 {
    padding-left: 1px !important;
    padding-right: 2px !important;
}
.phantom-logo-3 { padding-left: 2px !important; }

.text-white { color: #fff; }
.text-center { 	text-align: center; }

p { margin-bottom: 20px }

.masthead.inline-header { background-color: rgba(2, 29, 82, 0.8) !important; }

.hero-text-bg {
    background-color: rgba(2, 29, 82, 0.6);
    color: rgb(255, 255, 255);
    padding: 40px 50px;
    display: inline-block;
    margin: 0 auto;
}

.branding, .mobile-branding {
    padding: 2px 0;
}

#page .page-title {
    margin-top: -90px
}

.max-width-1024 {
    max-width: 1024px;
    margin: 0 auto;
}

.dt-btn.boraid-button-blue {
    border-radius: 100px;
    font-size: 22px;
    line-height: 24px;
}

.dt-btn.boraid-button-blue:not(:hover) {
    border-width: 0;
    color: #ffffff;
    background: #021D52 !important;
    padding: 21px 27px 21px 27px;
}

.dt-btn.boraid-button-blue:hover {
    border-width: 0;
    color: #ffffff;
    background: #022975 !important;
    padding: 21px 27px 21px 27px;
}

/* Our Products Page */
.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 60px;
}

.product-gallery.product-gallery--two-per-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-gallery.product-gallery--three-per-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-gallery.product-gallery--two-per-row .product-wrapper {
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 0;
    height: 100%;
}

.product-gallery.product-gallery--two-per-row .product-wrapper .product-img {
    flex: none;
    max-width: 100%;
    width: 100%;
    min-width: 0;
    min-height: 180px;
}

.product-gallery.product-gallery--two-per-row .product-wrapper .product-img img {
    width: 100%;
    height: auto;
    max-width: 100%;
}

.product-gallery.product-gallery--two-per-row .product-wrapper .product-details,
.product-gallery.product-gallery--two-per-row .product-wrapper .project-title,
.product-gallery.product-gallery--two-per-row .product-wrapper .project-subtitle,
.product-gallery.product-gallery--two-per-row .product-wrapper .project-description,
.product-gallery.product-gallery--three-per-row .product-wrapper .product-details,
.product-gallery.product-gallery--three-per-row .product-wrapper .project-title,
.product-gallery.product-gallery--three-per-row .product-wrapper .project-subtitle,
.product-gallery.product-gallery--three-per-row .product-wrapper .project-description {
    flex: none;
}

.product-gallery.product-gallery--three-per-row .product-wrapper {
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 0;
    height: 100%;
}

.product-gallery.product-gallery--three-per-row .product-wrapper .product-img {
    flex: none;
    max-width: 100%;
    width: 100%;
    min-width: 0;
    min-height: 160px;
}

.product-gallery.product-gallery--three-per-row .product-wrapper .product-img img {
    width: 100%;
    height: auto;
    max-width: 100%;
}

.product-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    background-color: #f1f1f1;
    border-left: 4px solid #e51937;
    margin-bottom: 70px;
}

.product-gallery.product-gallery--two-per-row .product-wrapper,
.product-gallery.product-gallery--three-per-row .product-wrapper {
    border: 2px solid #aeaeae;
}

.product-gallery.product-gallery--two-per-row .product-wrapper .product-title,
.product-gallery.product-gallery--three-per-row .product-wrapper .product-title {
    font-size: 24px;
}

.product-gallery.product-gallery--two-per-row .product-wrapper .product-subtitle,
.product-gallery.product-gallery--three-per-row .product-wrapper .product-subtitle {
    font-size: 20px;
}

.product-wrapper .product-img {
    flex: 0 0 25%;
    max-width: 25%;
    min-width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-wrapper .product-img img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    margin: 0 auto;
    object-fit: cover;
    border-radius: 2px;
}

.product-wrapper .product-details,
.product-wrapper .project-title,
.product-wrapper .project-subtitle,
.product-wrapper .project-description {
    flex: 1 1 75%;
    padding: 0.25rem 0.5rem;
}

.product-wrapper .product-details {
    padding: 1rem;
}

.product-wrapper .product-buttons .dt-btn.boraid-button-blue {
    margin-right: 0.5rem;
}

.product-gallery.product-gallery--two-per-row .product-wrapper .dt-btn.boraid-button-blue,
.product-gallery.product-gallery--three-per-row .product-wrapper .dt-btn.boraid-button-blue {
    padding: 12px 22px 12px 22px;
}

/* Boraid Singe Product Page */

.single-boraid_products.single .hero-text-bg {
    font-size: 60px;
    line-height: 60px;
    text-transform: uppercase;
    font-weight: 900;
    font-family: 'Dosis', sans-serif;
}

.single-boraid_products.single .boraid_products.has-post-thumbnail .post-thumbnail img {
    display: none !important;
}

.single-boraid_products.single .single-postlike:not(.type-event) .post-thumbnail {
    position: relative;
    margin-bottom: 0;
    line-height: 0;
}

.single-boraid_products.single .single-product-data-buttons .boraid-button-red {
    margin: 10px 10px 10px 0;
    padding: 14px 18px;
    font-size: 16px;
}

.single-boraid_products.single .wpcf7-form-control.wpcf7-submit {
    background: #021D52 !important;
    text-transform: uppercase;
}

.single-boraid_products.single .wpcf7 {
    max-width: 500px;
}

.single-boraid_products.single .wpcf7 p {
    margin-bottom: 10px;
}

.wpcf7-response-output.run-animation {
    opacity: 1 !important;
}

.popup-message-style #page .wpcf7-response-output,
.popup-message-style #page .wpcf7-validation-errors {
    position: static !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    animation: none !important;
    display: block !important;
    width: auto !important;
    max-height: none !important;
    padding: 0.5em 1em !important;
    box-shadow: none !important;
    z-index: auto !important;
}

.popup-message-style #page .wpcf7-mail-sent-ok:before, .popup-message-style #page .wpcf7-response-output.run-animation:before, .popup-message-style #page .wpcf7-validation-errors:before {
    display: none !important;
}

#rev_slider_16_1_wrapper a {
    color: #ffffff;
    font-weight: 700;
}

/* Contact Form 7 */

.wpcf7-turnstile.cf-turnstile {
    display: none !important;
}

/* Misc */

.l-to-r-line > li.current-menu-item > a i.underline {
    background-color: #e41c38 !important;
}

#branding-bottom img {
    max-width: 160px;
    height: auto;
}

.font-weight-normal {
    font-weight: normal !important;
}

.uvc-main-heading h1 {
    font-size: 60px;
}

/* WPBakery Modal Button */
.btn-modal.btn-primary {
    border-width: 0px !important;
    color: #ffffff !important;
    padding: 18px 27px 18px 27px !important;
    border-radius: 100px !important;
    font-size: 20px !important;
    line-height: 22px !important;
    background-color: #e41c38 !important;
}

/* Tabs */

.vc_tta.vc_general .vc_tta-tab.vc_active {
    color: #e41c38;
}

.vc_tta-color-grey.vc_tta-style-classic .vc_tta-tab.vc_active>a {
    color: #e41c38 !important;
}

.vc_tta-color-grey.vc_tta-style-classic .vc_tta-tab {
    font-size: 23px !important;
}

.vc_tta.vc_general {
    font-size: 23px !important;
    line-height: 1.4em !important;
}

.vc_tta.vc_general p {
    margin-bottom: 23px !important;
}

.vc_tta.vc_general .vc_tta-panel-body {
    padding: 35px 35px !important;
}

.text-shadow {
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.text-shadow-light {
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

#boraid-commitment {
    background-position: 50% 65% !important;
}

/* Hide on non-mobile */
.mobile-only {
    display: none !important;
}

/* Hide Lightbox Caption */
#lightbox .lb-caption {
    display: none !important;
}

/* Center Login form */
div.nsl-container[data-align="left"] {
    text-align: center !important;
}

.max-width-1024 {
    max-width: 1024px;
    margin: 0 auto;
}

.max-width-800 {
    max-width: 800px;
    margin: 0 auto;
}

@media screen and (max-width: 992px) {
    .sticky-mobile-on.masthead:not(.side-header),
    .side-header.masthead-mobile-header.sticky-mobile-on {
        background-color: rgba(0, 0, 0, 0.6) !important;
    }
}

@media (max-width: 778px) {
    /* Hide on Mobile */
    .hide-mobile { display: none !important; }
    /* Show on Mobile */
    .mobile-only { display: block !important; }

    /* Site-Wide */
    .masthead:not(.side-header) .mobile-header-bar, .side-header.masthead-mobile-header .mobile-header-bar {
        padding: 0 30px 0 10px !important;
    }
    body .vc_column_container > .vc_column-inner {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    body .vc_row {
        margin-left: -15px !important;
        margin-right: -15px !important;
    }
    .hero-text-bg {
        font-size: 40px !important;
        line-height: 42px !important;
        padding: 20px 25px !important;
    }
    .dt-btn.boraid-button-blue {
        padding: 12px 16px 12px 16px !important;
        font-size: 18px !important;
        line-height: 18px !important;
    }

    /* Background for the modal close button (was white on white on mobile) */
    .ult_modal.ult-medium {
        width: 90% !important;
    }
    .ult-overlay-close {
        background: rgba(0, 0, 0, 0.5) !important;
    }
    .content .uvc-sub-heading {
        line-height: 1.1em;
    }
    .manager-bio img {
        max-width: 50% !important;
    }
    #nav-leadership .uvc-heading .uvc-main-heading h2 {
        line-height: 1.1em
    }

    /* Home Page */
    #boraid-tbm {
        max-width: 80%;
        margin: 0 auto;
    }
    #boraid-featured-product-right .vc_column-inner {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    #boraid-featured-product-right .vc_column-inner .uvc-main-heading h1 {
        font-size: 40px;
    }
    #boraid-projects .boraid-projects-row-1 {
        padding-bottom: 0 !important;
    }

    /* Products Page */
    .page-id-4182 #boraid-header-hero .uvc-main-heading h1 {
        font-size: 36px !important;
    }

    .product-gallery.product-gallery--two-per-row,
    .product-gallery.product-gallery--three-per-row {
        grid-template-columns: 1fr;
    }

    .product-wrapper {
        flex-direction: column;
        align-items: stretch;
    }

    .product-wrapper .product-img {
        display: flex;
        max-width: 100%;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        min-height: 120px;
    }

    .product-wrapper .product-img img {
        display: block;
        width: auto !important;
        height: auto !important;
        max-width: 300px;
        max-height: 100%;
        margin: 0 auto;
        object-fit: cover;
        border-radius: 2px;
    }

    .product-wrapper .product-details,
    .product-wrapper .project-title,
    .product-wrapper .project-subtitle,
    .product-wrapper .project-description {
        flex: none;
        padding-top: 0.5rem;
    }

    /* Products Page: Buttons */
    .page-id-4182 .product-buttons {
        text-align: center !important;
    }

    /* Single Products Page */

    .single-boraid_products .product-page-header {
        padding-right: 0 !important;
        padding-left: 0 !important;
    }

    .single-boraid_products .boraid-button-blue {
        margin-bottom: 26px !important;
    }

    /* Footer */
    #google_translate_element {
        text-align: center !important;
    }
    #google_translate_element div {
        display: block !important;
    }
}