/* =======================================================
   ZIPTIE MAN — Theme Overrides v3.0
   File: cubecart.default.css
   Header + Footer rebuilt to match ZippyTieMan reference design
   ======================================================= */

html, body {
    overflow-x: hidden;
    max-width: 100%;
}

/* -------------------------------------------------------
   RESET: Remove old conflicting rules
------------------------------------------------------- */
.page-head,
.page-header-sec,
.page-head-bar,
.header-main-row,
.header-actions-wrapper,
.ztm_big_logos,
.ztm_mobile_logos,
.acnt-bsk-list,
.top-bar-phone,
.page-footer,
.footer-copyright {
    all: revert;
}

/* -------------------------------------------------------
   UNIFIED HEADER WRAPPER
------------------------------------------------------- */
.ztm-header {
    position: relative;
    z-index: 10;
    background-color: #ffff00;
    width: 100%;
    padding: 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.25);
}

/* -------------------------------------------------------
   DESKTOP HEADER MAIN ROW
------------------------------------------------------- */
.ztm-header-main {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    min-height: 170px;
    overflow: visible;
    width: 100%;
    max-width: 100%;
    margin: 0;
}

/* -------------------------------------------------------
   LEFT SIDE: mascot + brand block
------------------------------------------------------- */
.ztm-header-left {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex: 0 0 auto;
}

/* Mascot image */
.ztm-mascot-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    align-self: center;
    text-decoration: none;
}
.ztm-mascot-link:hover {
    text-decoration: none;
}
.ztm-mascot-img {
    height: 190px;
    width: auto;
    display: block;
}

/* Brand block: logo + tagline + nav */
.ztm-brand-block {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* Logo image */
.ztm-logo-img {
    max-width: 600px;
    width: auto;
    height: auto;
    max-height: 190px;
    display: block;
}

/* Tagline: — CABLE TIES WHOLESALER — */
.ztm-tagline {
    font-family: Arial, sans-serif;
    font-size: 19px;
    font-weight: 900;
    color: #1a2f6e;
    letter-spacing: 2px;
    text-align: center;
    margin: 6px 0 8px 0;
    text-transform: uppercase;
}
.ztm-tagline span {
    color: #1a2f6e;
    margin: 0 5px;
}

/* Desktop navigation links */
.ztm-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    gap: 0;
}
.ztm-nav ul li {
    display: inline-block;
}
.ztm-nav ul li a {
    display: inline-block;
    font-family: Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #1a1a1a;
    text-decoration: none;
    padding: 4px 18px 4px 0;
    letter-spacing: 0.5px;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s, color 0.2s;
    text-transform: uppercase;
}
.ztm-nav ul li a:hover,
.ztm-nav ul li.active > a {
    border-bottom-color: #233f92;
    color: #233f92;
}

/* -------------------------------------------------------
   RIGHT SIDE: search+icons (top) | phone+email (bottom)
------------------------------------------------------- */
.ztm-header-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    padding: 10px 0;
    gap: 10px;
    min-width: 480px;
    max-width: 560px;
}

/* Currency row: standalone, above search row */
.ztm-right-currency {
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

/* Top row: search + account/basket/currency icons */
.ztm-right-top {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: flex-end;
    gap: 10px;
    width: 100%;
}

/* Search bar wrapper */
.ztm-search-wrap {
    flex: 1 1 auto;
    min-width: 160px;
    overflow: hidden;
    border-radius: 6px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    position: relative;
    z-index: 0;
}
.ztm-search-wrap .search-form,
.ztm-search-wrap form {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: 0;
    height: 100%;
}
.ztm-search-wrap .input-group {
    width: 100%;
    height: 100%;
    display: flex;
    position: relative;
    z-index: 1;
}
.ztm-search-wrap input[type="text"],
.ztm-search-wrap input[type="search"] {
    min-width: 0;
    border: 1px solid #dcdcdc;
    border-right: none;
    border-radius: 0;
    padding: 0 14px;
    font-size: 14px;
    height: 48px;
    flex: 1 1 auto;
    background: #fff;
    outline: none;
    color: #555;
    width: 100%;
}
.ztm-search-wrap .input-group-btn {
    display: flex;
    width: auto !important;
}
.ztm-search-wrap button[type="submit"],
.ztm-search-wrap .btn-search {
    background-color: #233f92 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 0 !important;
    height: 48px !important;
    width: 48px !important;
    font-size: 16px !important;
    cursor: pointer;
    flex-shrink: 0;
    transition: background-color 0.2s;
    box-shadow: none !important;
}
.ztm-search-wrap button[type="submit"]:hover,
.ztm-search-wrap .btn-search:hover {
    background-color: #1a2f6e !important;
    color: #fff !important;
}

/* Icons wrapper: account, basket, currency */
.ztm-icons-wrap {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 10px;
    flex-shrink: 0;
    flex-grow: 0;
    position: relative;
    z-index: 2;
}
.ztm-icon-item {
    display: inline-flex;
    align-items: center;
}
/* Reset dropdown wrapper inside icon items so it doesn't add extra box */
.ztm-icon-item .dropdown,
.ztm-icon-item .basket-box {
    display: inline-flex;
    align-items: center;
}

/* Fix existing box.session / box.basket / box.currency button styles */
.ztm-icon-item a.parent-link,
.ztm-icon-item a.basket-widget {
    background: #fff;
    border: 1px solid #dcdcdc;
    color: #233f92;
    border-radius: 6px;
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 48px;
    min-width: 50px;
    padding: 0 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    white-space: nowrap;
    transition: all 0.2s;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.ztm-icon-item a.parent-link:hover,
.ztm-icon-item a.basket-widget:hover {
    background: #233f92 !important;
    color: #ffffff !important;
    border-color: #233f92 !important;
    text-decoration: none !important;
}

/* Column layout for Account and Cart buttons */
.ztm-btn-column {
    flex-direction: column !important;
    gap: 3px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 4px 16px !important;
    min-width: 68px !important;
    height: 48px !important;
}
.ztm-btn-column .ztm-icon-badge-wrap i,
.ztm-btn-column > i {
    font-size: 15px;
}
/* Hide Bootstrap's default dropdown caret arrow on our custom buttons */
.ztm-btn-column::after {
    display: none !important;
}

/* Badge and Icon styles */
.ztm-icon-badge-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.ztm-icon-badge-wrap i {
    font-size: 16px;
}
.ztm-badge {
    position: absolute;
    top: -6px;
    right: -10px;
    background: #233f92;
    color: #fff;
    border-radius: 10px;
    font-size: 9px;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    line-height: 14px;
    text-align: center;
    border: 1px solid #fff;
    padding: 0 3px;
}
.ztm-icon-item a:hover .ztm-badge {
    background: #fff;
    color: #233f92;
    border-color: #233f92;
}



/* Bottom row: email button */
.ztm-right-bottom {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    width: 100%;
}

/* Phone block */
.ztm-phone-block {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    flex: 1 1 auto;
    justify-content: flex-start;
}

/* Phone circle icon */
.ztm-phone-icon {
    width: 48px;
    height: 48px;
    border: 2px solid #233f92;
    background-color: #ffff00;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #233f92;
    font-size: 20px;
    flex-shrink: 0;
}

/* Phone text stack */
.ztm-phone-text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}
.ztm-need-help {
    font-size: 12px;
    color: #444;
    font-weight: 500;
    font-family: Arial, sans-serif;
}
.ztm-phone-number {
    font-size: 22px;
    font-weight: 700;
    color: #233f92;
    text-decoration: none;
    font-family: Arial, sans-serif;
    letter-spacing: 0.5px;
}
.ztm-phone-number:hover {
    color: #1a2f6e;
    text-decoration: none;
}

/* Email Us button */
.ztm-email-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #233f92;
    color: #fff !important;
    font-size: 16px;
    font-weight: 700;
    font-family: Arial, sans-serif;
    padding: 0 32px;
    height: 48px;
    min-width: 170px;
    border-radius: 8px;
    text-decoration: none !important;
    white-space: nowrap;
    transition: background 0.15s;
    flex-shrink: 0;
}
.ztm-email-btn:hover {
    background-color: #1a2f6e !important;
    color: #fff !important;
    text-decoration: none !important;
}

/* -------------------------------------------------------
   DESKTOP SIDEBAR
------------------------------------------------------- */
.page-side-bar {
    padding-right: 0;
    background: #fff;
}
.page-side {
    padding: 10px 5px;
}

/* -------------------------------------------------------
   RIGHT COLUMN
------------------------------------------------------- */
.ztm-right-col {
    padding-left: 0;
    padding-right: 0;
}

/* -------------------------------------------------------
   MOBILE BAR (xs and sm only, max-width: 991px)
------------------------------------------------------- */
.ztm-mobile-bar {
    display: none;
}

@media (max-width: 991px) {
    /* Hide desktop header on mobile/tablet */
    .ztm-header-main {
        display: none !important;
    }

    /* Show mobile bar */
    .ztm-mobile-bar {
        display: block;
        background-color: #ffff00;
        padding: 12px 8px 14px 8px;
    }

    /* --- ROW 1: Menu | Mascot+Logo | Cart --- */
    .ztm-mobile-row-1 {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        padding-bottom: 12px;
    }

    /* Hamburger menu button */
    .ztm-mobile-menu-btn {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 50px;
        height: 50px;
        background: #fff;
        border: none;
        border-radius: 8px;
        cursor: pointer;
        padding: 10px;
        flex-shrink: 0;
        box-shadow: 0 1px 4px rgba(0,0,0,0.12);
    }
    .ztm-mobile-menu-btn span {
        display: block;
        width: 22px;
        height: 2px;
        background: #1a1a1a;
        margin: 3px 0;
        border-radius: 2px;
    }

    /* Center: mascot + logo group */
    .ztm-mobile-brand {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 8px;
        flex: 1 1 auto;
        justify-content: center;
        padding: 0 16px;
        max-width: 100%;
        overflow: hidden;
        box-sizing: border-box;
        min-width: 0;
    }
    .ztm-mobile-mascot-link {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-decoration: none;
        margin-right: 6px;
        flex-shrink: 1;
        min-width: 0;
    }
    .ztm-mobile-mascot-link:hover {
        text-decoration: none;
    }
    .ztm-mobile-logo-link {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-decoration: none;
        flex-shrink: 1;
        min-width: 0;
    }
    .ztm-mobile-logo-link:hover {
        text-decoration: none;
    }
    .ztm-mobile-tagline {
        font-family: Arial, sans-serif;
        font-size: 14px;
        color: #14224f;
        font-weight: 900;
        text-transform: uppercase;
        margin-top: 5px;
        letter-spacing: 0.5px;
        white-space: normal;
        text-align: center;
        width: 100%;
    }
    .ztm-mobile-logo {
        max-height: 60px !important;
        max-width: 250px !important;
        width: auto !important;
        height: auto !important;
        display: block;
        margin: 0 auto;
        object-fit: contain;
    }
    .ztm-mobile-mascot {
        height: 90px !important;
        width: auto !important;
        max-width: 90px !important;
        display: block;
        flex-shrink: 1;
        object-fit: contain;
    }

    /* Right: cart icon button */
    .ztm-mobile-cart-wrap {
        display: flex;
        align-items: center;
        flex-shrink: 0;
    }
    .ztm-mobile-cart-wrap .header-basket {
        background: #fff;
        border-radius: 8px;
        padding: 4px;
        box-shadow: 0 1px 4px rgba(0,0,0,0.12);
    }

    /* --- ROW 2: Search --- */
    .ztm-mobile-row-2 {
        margin-bottom: 12px;
        width: 100% !important;
        display: block;
    }
    .ztm-mobile-row-2 form,
    .ztm-mobile-row-2 .search_form {
        display: flex;
        flex-direction: row;
        align-items: center;
        margin: 0;
        width: 100% !important;
    }
    .ztm-mobile-row-2 .input-group {
        display: flex;
        width: 100% !important;
    }
    .ztm-mobile-row-2 input[type="text"],
    .ztm-mobile-row-2 input[type="search"] {
        flex: 1 1 auto;
        height: 50px;
        border: none;
        border-radius: 8px 0 0 8px;
        padding: 0 16px;
        font-size: 15px;
        background: #fff;
        color: #555;
        outline: none;
        width: 100%;
    }
    .ztm-mobile-row-2 .input-group-btn {
        display: flex;
        width: auto !important;
    }
    .ztm-mobile-row-2 button[type="submit"] {
        height: 50px !important;
        width: 56px !important;
        background: #233f92 !important;
        color: #fff !important;
        border: none !important;
        border-radius: 0 8px 8px 0 !important;
        font-size: 18px !important;
        cursor: pointer;
        flex-shrink: 0;
        box-shadow: none !important;
    }
    .ztm-mobile-row-2 button[type="submit"]:hover {
        background: #1a2f6e !important;
        color: #fff !important;
    }

    /* --- ROW 3: Phone contact card --- */
    .ztm-mobile-row-3 {
        background: #fff;
        border: 1px solid rgba(35, 63, 146, 0.25);
        border-radius: 10px;
        display: flex;
        flex-direction: row;
        align-items: center;
        padding: 14px 20px;
        gap: 18px;
        margin-bottom: 12px;
        text-decoration: none;
        transition: background 0.15s;
    }
    .ztm-mobile-row-3:hover {
        background: #f8f8f8 !important;
    }
    .ztm-mob-phone-icon {
        width: 52px;
        height: 52px;
        border: 2px solid #233f92;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #233f92;
        font-size: 22px;
        flex-shrink: 0;
    }
    .ztm-mob-phone-text {
        display: flex;
        flex-direction: column;
        line-height: 1.3;
    }
    .ztm-mob-need-help {
        font-size: 13px;
        color: #233f92;
        font-weight: 600;
        font-family: Arial, sans-serif;
    }
    .ztm-mob-phone-num {
        font-size: 24px;
        font-weight: 700;
        color: #233f92;
        font-family: Arial, sans-serif;
        letter-spacing: 0.5px;
    }

    /* --- ROW 4: Email Us button --- */
    .ztm-mobile-row-4 {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 12px;
        background: #233f92;
        color: #fff;
        border-radius: 10px;
        padding: 16px;
        font-size: 17px;
        font-weight: 700;
        font-family: Arial, sans-serif;
        text-decoration: none;
        transition: background 0.2s;
        width: 100%;
        box-sizing: border-box;
    }
    .ztm-mobile-row-4:hover {
        background: #1a2f6e !important;
        color: #fff !important;
        text-decoration: none !important;
    }
}

/* Tablet-specific tweaks (sm: 768–991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .ztm-mobile-logo {
        max-height: 50px !important;
        max-width: 150px !important;
    }
    .ztm-mobile-mascot {
        height: 75px !important;
    }
    .ztm-mob-phone-num {
        font-size: 28px;
    }
}

/* Small/laptop desktop widths (992px-1400px): trim sizing so header fits without horizontal overflow */
@media (min-width: 992px) and (max-width: 1400px) {
    .ztm-header-main {
        padding: 10px 12px;
    }
    .ztm-mascot-img {
        height: 140px;
    }
    .ztm-logo-img {
        max-width: 380px;
        max-height: 120px;
    }
    .ztm-tagline {
        font-size: 15px;
    }
    .ztm-header-right {
        min-width: 380px;
        max-width: 460px;
    }
    .ztm-phone-number {
        font-size: 18px;
    }
    .ztm-email-btn {
        padding: 0 20px;
        min-width: 140px;
        font-size: 14px;
    }
}

/* -------------------------------------------------------
   HOMEPAGE SEO CONTENT
------------------------------------------------------- */
.homepage-seo-content {
    line-height: 1.85;
    font-size: 15px;
    color: #444;
}
.homepage-seo-content .seo-h1 {
    font-size: 2em;
    color: #233f92;
    margin: 20px 0;
}
.homepage-seo-content .seo-h2 {
    font-size: 1.5em;
    color: #800000;
    margin-top: 32px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #eaeaea;
}
.homepage-seo-content .seo-h3 {
    font-size: 1.2em;
    color: #333;
    margin-top: 22px;
    margin-bottom: 8px;
}
.homepage-seo-content p { margin-bottom: 14px; }
.homepage-seo-content ul { margin-bottom: 14px; padding-left: 20px; }
.homepage-seo-content ul li { margin-bottom: 6px; }
.homepage-seo-content a { color: #233f92; text-decoration: underline; }
.homepage-seo-content a:hover { color: #800000; }

/* -------------------------------------------------------
   BLOG PAGE
------------------------------------------------------- */
.blog-panel-heading {
    background-color: #233f92 !important;
    color: #fff !important;
    font-weight: 600;
}
.blog-read-more {
    background-color: #233f92;
    border-color: #1a2f6e;
    color: #fff;
    font-size: 13px;
}
.blog-read-more:hover { background-color: #800000; border-color: #600000; color: #fff; }
.blog-post-title { color: #800000; margin-top: 0; }
.blog-post-meta { color: #888; font-size: 12px; margin-bottom: 10px; }

/* =======================================================
   FOOTER — full overhaul
   ======================================================= */
.ztm-footer {
    background-color: #ffff00;
    color: rgba(26,47,110,0.85);
    padding: 50px 24px 0;
    font-family: Arial, sans-serif;
}
.ztm-footer a {
    color: #1a2f6e;
    text-decoration: none;
    transition: color 0.15s;
}
.ztm-footer a:hover {
    color: #800000;
}

.ztm-footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding-bottom: 36px;
}

/* Brand column */
.ztm-footer-brand {
    flex: 1 1 260px;
}
.ztm-footer-logo {
    max-width: 220px;
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 14px;
}
.ztm-footer-tagline {
    font-size: 14px;
    color: rgba(26,47,110,0.75);
    margin: 0 0 16px 0;
    line-height: 1.5;
}
.ztm-footer-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.ztm-footer-contact a {
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.ztm-footer-contact a i {
    color: #800000;
    width: 14px;
    text-align: center;
}

/* Generic column */
.ztm-footer-col {
    flex: 1 1 220px;
}

/* Shared panel resets — documents/newsletter/social all use CubeCart's panel markup */
.ztm-footer .panel {
    background: transparent;
    border: none;
    box-shadow: none;
    margin-bottom: 0;
}
.ztm-footer .panel-heading {
    background: transparent !important;
    border: none;
    border-bottom: 2px solid rgba(26,47,110,0.2);
    color: #1a2f6e !important;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 0 0 12px 0;
    margin-bottom: 16px;
}
.ztm-footer .panel-heading i {
    margin-right: 8px;
}
.ztm-footer .panel-body {
    padding: 0;
}
.ztm-footer .list-group {
    list-style: none;
    margin: 0;
    padding: 0;
}
.ztm-footer .list-group-item {
    background: transparent;
    border: none;
    padding: 7px 0;
    font-size: 14px;
}
.ztm-footer .list-group-item a {
    font-size: 14px;
}

/* Newsletter form */
.ztm-footer-newsletter-col .panel-body p {
    font-size: 14px;
    color: rgba(26,47,110,0.8);
    margin: 0 0 12px 0;
}
.ztm-footer-newsletter-col input.form-control {
    height: 44px;
    width: 100%;
    border: 1px solid rgba(26,47,110,0.25);
    border-radius: 6px;
    padding: 0 14px;
    font-size: 14px;
    color: #333;
    margin-bottom: 10px;
    outline: none;
}
.ztm-footer-newsletter-col input.form-control:focus {
    box-shadow: 0 0 0 2px #1a2f6e;
}
.ztm-footer-newsletter-col .btn {
    height: 44px;
    width: 100%;
    border: none !important;
    border-radius: 6px;
    background-color: #1a2f6e !important;
    color: #fff !important;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s;
}
.ztm-footer-newsletter-col .btn:hover {
    background-color: #800000 !important;
}

/* Social icons */
.ztm-footer-social-col .list-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.ztm-footer-social-col .list-group-item {
    padding: 0;
}
.ztm-footer-social-col .list-group-item a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(26,47,110,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}
.ztm-footer-social-col .list-group-item a:hover {
    background: #1a2f6e;
}
.ztm-footer-social-col .icon {
    width: 18px;
    height: 18px;
    fill: #1a2f6e;
}
.ztm-footer-social-col .list-group-item a:hover .icon {
    fill: #fff;
}

/* Bottom bar */
.ztm-footer-bottom {
    border-top: 1px solid rgba(26,47,110,0.2);
    text-align: center;
    padding: 18px 20px;
    font-size: 13px;
    color: rgba(26,47,110,0.7);
}
.ztm-footer-bottom a {
    color: rgba(26,47,110,0.7);
}

@media (max-width: 767px) {
    .ztm-footer {
        padding: 36px 16px 0;
    }
    .ztm-footer-top {
        gap: 30px;
    }
}

/* -------------------------------------------------------
   MODAL / BASKET POPUP — remove the dark overlay entirely
   An older stylesheet on the site was fighting our z-index
   fix, so instead of trying to out-rank it, we simply hide
   the backdrop. The basket popup itself still works fine
   without the dark dimmed background behind it.
------------------------------------------------------- */
html body div.modal-backdrop,
html body div.modal-backdrop.fade,
html body div.modal-backdrop.in,
html body div.modal-backdrop.fade.in,
html body div.modal-backdrop.show,
html body .modal-backdrop,
html body .modal-backdrop.in,
html body .modal-backdrop.show,
html body div.modal-backdrop {
    background-color: transparent !important;
    background: transparent !important;
    background-image: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}
html body .modal,
html body .modal.in,
html body .modal.show,
html body div.modal.fade {
    z-index: 100050 !important;
}
html body .modal-dialog,
html body .modal .modal-dialog {
    z-index: 100060 !important;
    position: relative !important;
}
html body .modal-content {
    position: relative !important;
    z-index: 100070 !important;
    box-shadow: 0 4px 24px rgba(0,0,0,0.35) !important;
}