/*
Theme Name: Salient Child Theme
Theme URI: https://themeforest.net/user/themenectar
Description: Child Theme using Salient Theme for SaffireTech Website
Author: SaffireTech
Author URI: https://www.saffiretech.com/
Template: salient
Version: 2.0.13
*/

/* ===== Header Navigation Section CSS Begin ===== */

/* Adding Spacing Between Cart Icon and Login - My Account Link */
li#menu-item-4613, li#menu-item-4612 {
    padding-left: 20px !important;
}

/* Changing Padding for Certain Resolution */
@media screen and (min-width: 1000px) and (max-width: 1350px) {
    #header-outer[data-full-width="true"] header>.container {
        padding: 0 30px;
    }
}

/* Adjusting font-size to Fit Desktop Nav Links in Single Line */
@media screen and (max-width: 1110px) {
    #header-outer[data-lhe="animated_underline"] #top nav>ul>li>a {
        font-size: 16px !important;
    }
}

@media screen and (max-width: 1060px) {
    #header-outer[data-lhe="animated_underline"] #top nav>ul>li>a {
        font-size: 14px !important;
    }
}

/* When the Navigation Links are Hidden and Menu Hamburger Shows */
@media screen and (max-width: 1000px) {
    header#top div.col {
        padding-bottom: 10px !important;
    }

    body #header-outer {
        margin-bottom: 0;
        padding-top: 10px !important;
        padding-bottom: 0px !important;
    }
}

/* Mobile Navigation Menu - Cross Icon Color Change */
body[data-slide-out-widget-area-style=slide-out-from-right] .slide_out_area_close:before,
body[data-slide-out-widget-area-style=slide-out-from-right].material a.slide_out_area_close:before {
    background-color: #20bda5 !important;
}

/* Mobile Navigation Menu Adjustments */
#slide-out-widget-area.slide-out-from-right {
    padding-left: 0px !important;
    padding-right: 45px !important;
}

@media screen and (min-width: 690px) {
    #slide-out-widget-area.slide-out-from-right {
        padding-right: 60px !important;
    }
}

/* Mobile Menu - Main Outer Menu */
#slide-out-widget-area .off-canvas-menu-container.mobile-only .menu li a {
    font-size: 18px !important;
}

/* Mobile Menu - Inner Menu */
#slide-out-widget-area .off-canvas-menu-container.mobile-only .sub-menu li a {
    font-size: 16px !important;
}

/* Mobile Menu - Inner Most Menu (Products Menu) */
#slide-out-widget-area .off-canvas-menu-container.mobile-only .sub-menu .sub-menu li a {
    font-size: 14px !important;
}

/* Main Menu - MegaMenu for Products Tab */
.sft-product-megamenu .sub-menu {
    max-width: 760px;
    left: auto !important;
    right: 10%;
}

/* Color of MegaMenu Column Header */
#top nav .sft-product-megamenu.megamenu ul.sub-menu li.sft-inner-menu-heading > a:hover,
#top nav .sft-services-megamenu.megamenu ul.sub-menu li.sft-inner-menu-heading > a:hover {
    background-color: transparent !important;
}

.sft-product-megamenu .sub-menu .sft-inner-menu-heading > a span,
.sft-services-megamenu .sub-menu .sft-inner-menu-heading > a span {
    display: block;
    margin-bottom: 10px;
    font-size: 20px;
    color: #00998e !important;
    cursor: default !important;
}

.sft-services-megamenu .sub-menu {
    max-width: 900px;
    left: auto !important;
    right: 7%;
}

/* Resetting MegaMenu CSS for Hamburger Menu */
@media screen and (max-width: 1000px) {
    .sft-product-megamenu .sub-menu,
    .sft-services-megamenu .sub-menu {
        max-width: auto;
        left: auto;
        right: auto;
    }
}

/* ===== Header Navigation Section CSS Ends ===== */

/* ===== Footer Section CSS Begin ===== */

/* Adjusting Footer Header Margin and Font Size */
@media screen and (max-width: 1000px) {
    #footer-widgets .container div.col h4 {
        margin-bottom: 5px !important;
    }
}

@media screen and (max-width: 690px) {
    #footer-widgets .container div.col h4 {
        font-size: 18px !important;
    }
}

/* Footer Links Text */
#footer-widgets .container div.col .textwidget a {
    font-family: 'Roboto' !important;
    font-size: 16px !important;
}

/* Footer Social Media Icons Container */
#footer-widgets .container .textwidget.custom-html-widget .sft-footer-follow-links {
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

#footer-widgets .container .sft-footer-follow-links>a {
    display: flex;
}

/* Font size for Font Awesome Icons */
#footer-widgets .container .sft-footer-follow-links i {
    font-size: 25px;
}

/* Footer Copyright Section */
#footer-outer #copyright {
    padding: 10px 0 !important;
}

/* Hiding Default Footer Icons */
#footer-outer #copyright li {
    display: none !important;
}

/* ===== Footer Section CSS Ends ===== */

/* ===== Accept Cookies Message CSS Begin ===== */

#cn-accept-cookie {
    background: #808080 !important;
}

#cn-more-info {
    background: transparent !important;
    text-decoration: underline !important;
}

/* ===== Accept Cookies Message CSS Ends ===== */

/* ===== Critical CSS Begin ===== */

/* Heading H2 - For New Sections */
h2.sft-section-heading.vc_custom_heading {
    font-size: clamp(24px, 3vw, 36px) !important;
    margin-top: 30px;
    padding: 0px !important;
}

/* Heading H3 - For Service Cards and Sub Sections */
h3.sft-content-heading, h3.sft-content-heading.vc_custom_heading {
    color: #333 !important;
    font-size: clamp(16px, 2.5vw, 22px) !important;
}

/* Paragraph and Site Content */
p, .wpb_wrapper li, form label {
    font-size: clamp(16px, 2vw, 18px) !important;
}

/* Home and Landing Page Services Card CSS */
.sft-dev-serv-fcbox .vc_column-inner {
    overflow: hidden;
    background-color: white;
    border-radius: 5px !important;
    box-shadow: 0px 0px 10px #ddddddd9;
}

/* Adjusting the Height of Card Container (Hover Gets Applied in Full Height) */
.sft-dev-serv-fcbox .vc_column-inner .wpb_wrapper,
.sft-dev-serv-fcbox .vc_column-inner .wpb_wrapper .nectar-fancy-box {
    height: 100%;
}

.sft-dev-serv-fcbox .box-inner-wrap {
    padding: 10px 20px !important;
    height: 100% !important;
}

.sft-dev-serv-fcbox .box-inner-wrap .inner .inner-wrap p {
    color: #111111 !important;
    font-size: clamp(14px, 2vw, 16px) !important;
}

.sft-dev-serv-fcbox .nectar-fancy-box[data-style=color_box_hover]:hover .inner .inner-wrap p {
    color: #FFF !important;
}

/* FAQ Section Heading */
.toggles h3.toggle-title .toggle-heading {
    font-size: clamp(16px, 2.5vw, 20px) !important;
}

/* ===== Critical CSS Ends ===== */

/* ===== Popup Maker BFCM Sale Popup CSS Begins ===== */

.sft-site-wide-sale-popup {
    background: url('https://www.saffiretech.com/wp-content/uploads/2024/11/bfcm-notice-popup-background-min-1.png');
    background-position: center;
    padding: 25px 20px;
    display: flex;
    align-items: center;
}

.sft-site-wide-sale-popup p {
    margin: 0px !important;
    padding: 0px !important;
    text-align: center;
}

.sft-site-wide-sale-popup img {
    max-width: 375px;
    height: auto;
}

.sft-site-wide-sale-popup h3 {
    color: #FFF;
    text-align: center !important; 
}

.sft-site-wide-sale-popup .sft-site-wide-sale-popup-text {
    text-align: center;
    line-height: 1.5;
    font-size: 16px !important;
    color: #FFF;
    margin-bottom: 20px !important;
}

.sft-site-wide-sale-popup a {
    display: flex;
    justify-content: center;
}

.sft-site-wide-sale-popup button {
    position: relative;
    overflow: hidden;
    padding: 15px 20px;
    border: none;
    background: #d72929;
    color: #FFF;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0px 0px 5px darkred;
    cursor: pointer;
    transition: transform 0.3s;
}

.sft-site-wide-sale-popup button:hover {
    transform: scale(1.05);
}

.sft-site-wide-sale-popup button::before,
.sft-site-notice-cta a.sft-wide-shop-notice-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75px;
    width: 50px;
    height: 100%;
    background: rgba(255, 255, 255, 0.377);
    box-shadow: 0px 0px 20px 5px #ffffffa1;
    /* transform: skewX(-45deg); */
    opacity: 0;
    animation: shine_sale_btn 2s infinite;
}

@keyframes shine_sale_btn {
    0% {
        left: -75px;
        opacity: 0;
    }

    25% {
        opacity: 1;
    }

    50% {
        left: 160%;
        opacity: 1;
    }

    75% {
        opacity: 0;
    }

    100% {
        left: 200%;
        opacity: 0;
    }
}

/* Use Popup Id Here */
#popmake-12278 .popmake-close,
#popmake-12885 .popmake-close,
#popmake-14909 .popmake-close {
    color: #FFF;
}

.page-id-6412 .pum-overlay.pum-active,
.page-id-6412 .pum-overlay.pum-active .popmake.active,
.page-id-3690 .pum-overlay.pum-active,
.page-id-3690 .pum-overlay.pum-active .popmake.active {
    display: none !important;
}

.sft-site-wide-sale-popup #sft-site-notice-countdown {
    line-height: 1.3;
    color: #FFF;
    justify-content: center;
    text-align: center;
    margin-bottom: 15px;
}

/* ===== Popup Maker BFCM Sale Popup CSS Ends ===== */

/* ===== Black Friday Sale Notice Banner CSS ===== */

/* Resetting the Notice Plugin CSS - Announcer Plugin */
.ancr .ancr-container {
    display: block;
}

.sft-bfcm-sale-notice {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* gap: 20px; */
}

.sft-bfcm-sale-notice p, 
.sft-bfcm-sale-notice div {
    margin: 0px !important;
    padding: 0px !important;
    line-height: 1.5;
}

/* Countdown Timer CSS */
#sft-site-notice-countdown {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 7px;
    line-height: 1.5;
    color: #FFF;
    justify-content: center;
    text-align: center;
}

#sft-site-notice-countdown .sft-swn-countdown-colon {
    font-size: 20px;
    font-weight: 600;
}

#sft-site-notice-countdown .sft-swn-number-container {
    min-width: 47px;
    padding: 5px 8px;
    border-radius: 5px;
    color: #333;
    background: #fff;
}

#sft-site-notice-countdown .sft-swn-number-container .time {
    font-size: 16px;
    font-weight: 600;
}

#sft-site-notice-countdown .sft-swn-number-container .sft-swn-countdown-text {
    font-size: 12px;
}

/* Notice Text Content */
.sft-bfcm-sale-notice .sft-site-notice-text-content {
    font-size: 18px !important;
    text-shadow: 0 0 5px #282828 !important;
}

.sft-bfcm-sale-notice .sft-site-notice-text-content img {
    width: 40px;
    height: 40px;
}

.sft-site-notice-text-content .sft-site-notice-coupon-code {
    color: #ffe200;
}

.sft-site-notice-text-content .sft-site-notice-mobile-link {
    display: none;
}

/* Notice Button */
.sft-site-notice-cta .sft-wide-shop-notice-button {
    min-width: 140px;
    display: block;
    position: relative;
    overflow: hidden;
    padding: 10px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 5px;
    background-color: #d72929;
    text-decoration: none !important;
}

.sft-site-notice-cta a.sft-wide-shop-notice-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75px;
    width: 50px;
    height: 100%;
    background: rgba(255, 255, 255, 0.377);
    box-shadow: 0px 0px 20px 5px #ffffffa1;
    opacity: 0;
    animation: shine_sale_btn 2s infinite;
}

@keyframes shine_sale_btn {
    0% {
        left: -75px;
        opacity: 0;
    }

    25% {
        opacity: 1;
    }

    50% {
        left: 160%;
        opacity: 1;
    }

    75% {
        opacity: 0;
    }

    100% {
        left: 200%;
        opacity: 0;
    }
}

@media screen and (max-width: 1410px) {
    .sft-bfcm-sale-notice .sft-site-notice-text-content img {
        display: none;
    }
}

@media screen and (max-width: 1000px) {
    #sft-site-notice-countdown {
        display: none;
    }

    .sft-bfcm-sale-notice .sft-site-notice-text-content {
        text-align: left;
        font-size: 16px !important;
    }
}

@media screen and (max-width: 650px) {
    .sft-site-notice-cta .sft-wide-shop-notice-button {
        display: none;
    }

    .sft-bfcm-sale-notice .sft-site-notice-text-content {
        text-align: center;
        font-size: 14px !important;
    }

    .sft-site-notice-text-content .sft-site-notice-mobile-link {
        display: inline-block;
        text-decoration: underline;
    }
}

body[data-slide-out-widget-area-style=slide-out-from-right] .slide_out_area_close {
    top: 110px !important;
}

/* ===== Individual Changelog Page CSS Begins ===== */

.sft-changelog-content-container .sft-changelog-tag {
    font-size: 18px;
    display: flex;
    align-items: flex-start;
    margin-bottom: 5px;
}

.sft-changelog-content-container .sft-changelog-tag span {
    margin-top: 6px;
    background: #212529;
    border-radius: 4px;
    color: #fff;
    display: inline-block;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    margin-right: .5rem;
    min-width: 60px;
    padding: 4px;
    text-align: center;
}

.sft-changelog-tag span.sft-changelog-tweak {
    font-size: 13px;
    padding: 6px 4px;
    transform: translateY(-1px);
}

.sft-changelog-tag span.sft-changelog-fix {
    background-color: #f58b07;
}

.sft-changelog-tag span.sft-changelog-new {
    background-color: #43a187;
}

.sft-changelog-tag span.sft-changelog-dev {
    background-color: #e7c300;
}

.sft-changelog-tag span.sft-changelog-test {
    background-color: #0B58D1;
}

/* ===== Individual Changelog Page CSS Ends ===== */

/* ===== Changelog + Documentation Page CSS Begins ===== */

.sft-product-clog-docs-container .sft-product-archive-card .vc_column-inner {
    padding: 20px !important;
}

.sft-product-clog-docs-container .sft-product-archive-card .vc_column-inner .wpb_wrapper .hover-wrap {
    margin: 0px !important;
}

.sft-product-clog-docs-container .sft-product-archive-card .vc_column-inner .wpb_wrapper p {
    margin-top: -15px !important;
    font-size: 16px !important;
    color: #666666;
}

.sft-product-clog-docs-container .sft-product-archive-card .vc_column-inner .wpb_wrapper .hover-wrap img {
    object-fit: contain;
    height: 100px !important;
    min-width: 120px !important;
    max-width: 120px !important;
}

@media screen and (max-width: 430px) {
    .sft-product-clog-docs-container .sft-product-archive-card .vc_column-inner .wpb_wrapper {
        flex-direction: column !important;
        align-items: flex-start !important;
    }
}

/* ===== Changelog + Documentation Page CSS Ends ===== */

/* ===== Contact Form - Cloudfare Verification Container Adjustment ===== */

.contact-form-services .wpcf7-turnstile.cf-turnstile {
    display: flex !important;
}






/* Single Blog Page Changes */
#ajax-content-wrap .container-wrap:has(.container-sft-blog-single) {
    background-color: #f8f8f8;
}

.container-sft-blog-single .sft-single-post-content-area {
    background-color: #fff;
    padding: 0px 30px 50px 30px !important;
    margin-top: 0px;
}

.container-sft-blog-single .sft-single-post-sidebar > div.widget {
    background-color: #fff;
    padding: 20px;
    margin-bottom: 30px !important;
}

.sft-single-post-content-area .section-title.blog-title h1 {
    margin: 0px;
    text-align: left !important;
    width: 100% !important;
}

.sft-single-post-content-area #single-below-header {
    width: 100% !important;
    text-align: left !important;
    margin: 0px !important;
}