/*
Theme Name: Bridge Child
Theme URI: http://demo.qodeinteractive.com/bridge/
Description: A child theme of Bridge Theme
Author: Qode Interactive
Author URI: http://www.qodethemes.com/
Version: 1.0.0
Template: bridge
*/
@import url("../bridge/style.css");

/*
 * Bridge still thinks the homepage has a Revolution Slider (page meta +
 * .has_slider), so style_dynamic.css applies `.content { margin-top: -133px }`.
 * That underlap was for a transparent header over a full-bleed slider. The
 * header is opaque now and the hero is static, so the white `.content`
 * background shows as a gap under the nav on tablet/desktop (>1000px).
 * Mobile already zeroed this inside max-width:1000px; apply it everywhere.
 */
.home .content,
.home .content.content_top_margin,
.home .content.has_slider {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Homepage account-access hero */
.selectel-home-hero {
    position: relative;
    isolation: isolate;
    min-height: 660px;
    color: #fff;
    background: #171a3a;
}

.selectel-home-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background: url("https://myselectel.com/wp-content/uploads/2020/03/banner_image.jpg") center / cover no-repeat;
}

.selectel-home-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(100deg, rgba(9, 16, 51, .94) 0%, rgba(31, 40, 91, .82) 52%, rgba(25, 17, 58, .88) 100%);
}

.selectel-home-hero__inner {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    padding: 104px 0 72px;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr);
    align-items: center;
    gap: 72px;
}

.selectel-home-hero h1,
.selectel-home-hero h2,
.selectel-account-card h2 {
    color: #fff;
}

.selectel-home-hero h1 {
    max-width: 650px;
    margin: 0 0 18px;
    font-size: clamp(38px, 5vw, 62px);
    line-height: 1.06;
    letter-spacing: -1.5px;
}

.selectel-home-hero__eyebrow,
.selectel-account-eyebrow {
    margin: 0 0 10px;
    color: #9cc9ff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.selectel-home-hero__lead {
    max-width: 620px;
    margin: 0 0 24px;
    color: rgba(255, 255, 255, .9);
    font-size: 19px;
    line-height: 1.55;
}

.selectel-home-hero__benefits {
    margin: 0 0 32px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    list-style: none;
}

.selectel-home-hero__benefits li {
    position: relative;
    padding-left: 24px;
    font-size: 15px;
    font-weight: 600;
}

.selectel-home-hero__benefits li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #78e2bf;
}

.selectel-home-hero__new-account {
    max-width: 610px;
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, .2);
}

.selectel-home-hero__new-account h2 {
    margin: 0 0 6px;
    font-size: 20px;
    line-height: 1.3;
}

.selectel-home-hero__new-account p {
    margin: 0 0 18px;
    color: rgba(255, 255, 255, .82);
}

.selectel-account-card {
    box-sizing: border-box;
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
    padding: 28px 30px;
    color: #20233d;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .28);
}

@media (min-width: 901px) {
    .selectel-account-card {
        margin-top: 35px;
    }

    .logo_wrapper {
        margin-left: -50px;
    }
}

.selectel-account-card h2 {
    margin: 0 0 8px;
    color: #20233d;
    font-size: 29px;
    line-height: 1.2;
}

.selectel-account-card .selectel-account-eyebrow {
    color: #076cf0;
}

.selectel-account-intro {
    margin: 0 0 16px;
    color: #666b7d;
    font-size: 14px;
    line-height: 1.5;
}

.selectel-field {
    margin-bottom: 12px;
}

.selectel-field label {
    display: block;
    margin-bottom: 7px;
    color: #303449;
    font-size: 14px;
    font-weight: 700;
}

.selectel-field input {
    box-sizing: border-box;
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    color: #20233d;
    background: #fff;
    border: 1px solid #cfd3df;
    border-radius: 9px;
    font-size: 16px;
    line-height: 1.4;
}

.selectel-field input:focus {
    outline: 3px solid rgba(7, 108, 240, .2);
    border-color: #076cf0;
}

.selectel-field input[aria-invalid="true"] {
    border-color: #c9252d;
}

.selectel-password-control {
    position: relative;
}

.selectel-password-control input {
    padding-right: 68px;
}

.selectel-password-toggle {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 58px;
    min-height: 44px;
    padding: 0 10px;
    color: #076cf0;
    background: transparent;
    border: 0;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.selectel-field-error {
    display: block;
    margin-top: 4px;
    color: #b4232a;
    font-size: 13px;
    line-height: 1.35;
}

.selectel-field-error:empty {
    display: none;
}

.selectel-login-options {
    margin: 0 0 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.selectel-login-options a,
.selectel-account-register a,
.selectel-text-link {
    color: #076cf0;
    font-weight: 700;
    text-decoration: none;
}

.selectel-login-options a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    font-size: 13px;
}

.selectel-checkbox {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #51566a;
    font-size: 13px;
    cursor: pointer;
}

.selectel-checkbox input {
    width: 20px;
    height: 20px;
    margin: 0;
    accent-color: #076cf0;
}

.selectel-form-error {
    display: none;
    margin-bottom: 16px;
    padding: 11px 13px;
    color: #8f1820;
    background: #fff0f1;
    border: 1px solid #f4b8bc;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.45;
}

.selectel-form-error.is-visible {
    display: block;
}

.selectel-button {
    box-sizing: border-box;
    min-height: 48px;
    padding: 13px 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    border: 2px solid transparent;
    border-radius: 9px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}

.selectel-button:hover {
    color: #fff;
    transform: translateY(-1px);
}

.selectel-button:focus-visible,
.selectel-password-toggle:focus-visible,
.selectel-login-options a:focus-visible {
    outline: 3px solid #7eb8ff;
    outline-offset: 2px;
}

.selectel-button--primary {
    color: #fff;
    background: #076cf0;
    box-shadow: 0 8px 22px rgba(7, 108, 240, .25);
}

.selectel-button--primary:hover {
    background: #0559c7;
}

.selectel-button--secondary {
    color: #162657;
    background: #fff;
}

.selectel-button--secondary:hover {
    color: #162657;
    background: #eef6ff;
}

.selectel-button--submit {
    width: 100%;
}

.selectel-button:disabled {
    opacity: .7;
    cursor: wait;
    transform: none;
}

.selectel-account-register {
    margin: 14px 0 0;
    color: #666b7d;
    font-size: 13px;
    text-align: center;
}

.selectel-account-actions {
    margin-top: 24px;
    display: grid;
    gap: 14px;
    text-align: center;
}

.selectel-home-hero__prospect {
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #20233d;
    background: #eef6ff;
    font-size: 14px;
}

.selectel-home-hero__prospect p {
    margin: 0;
}

.selectel-home-hero__prospect a {
    color: #076cf0;
    font-weight: 700;
}

/* Keep the legacy shortcut tiles in normal document flow. Their original
   negative margins were designed to overlap Revolution Slider. */
.home .icon-shadow-no-box {
    padding: 38px 0 22px;
    background: #fff;
}

.home .icon-shadow-no-box .vc_column-inner {
    margin-top: 0 !important;
    padding-right: 18px !important;
    padding-left: 18px !important;
}

.home .icon-shadow-no-box .icon_holder {
    margin-bottom: 14px !important;
    padding: 25px 0 12px !important;
}

.home .icon-shadow-no-box .icon_holder img {
    width: auto;
    max-width: 76px;
    height: 76px;
    margin-bottom: 10px !important;
    object-fit: contain;
}

.home .icon-shadow-no-box .vc_empty_space {
    height: 24px !important;
}

/* Bridge's header widgets use desktop-only absolute positioning. Normalize
   them into a compact mobile utility bar. */
@media (max-width: 1000px) {
    header.page_header .header_top {
        box-sizing: border-box;
        height: 40px !important;
        min-height: 40px;
        padding: 0 14px !important;
        overflow: visible;
    }

    header.page_header .header_top .container,
    header.page_header .header_top .container_inner {
        width: 100%;
        height: 40px;
        display: block;
    }

    header.page_header .header_top .left {
        width: auto;
        float: left;
    }

    header.page_header .header_top .right {
        width: auto;
        float: right;
    }

    header.page_header .header_top .inner {
        height: 40px;
        margin: 0;
        display: flex;
        align-items: center;
        gap: 14px;
    }

    header.page_header .header_top .inner > div,
    header.page_header .header_top .inner h3,
    header.page_header .header_top .inner p {
        position: static !important;
        top: auto !important;
        right: auto !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    header.page_header .header_top .left .textwidget > p {
        display: none;
    }

    header.page_header .header_top .header-widget,
    header.page_header .header_top .header-widget a,
    header.page_header .header_top .header-widget p,
    header.page_header .header_top .header-widget span,
    header.page_header .header_top .inner > div > a,
    header.page_header .header_top h3 {
        color: #fff !important;
        font-size: 13px !important;
        line-height: 40px !important;
        white-space: nowrap;
    }

    header.page_header .header_top .shopping_cart_outer,
    header.page_header .header_top .shopping_cart_inner {
        height: 40px !important;
        line-height: 40px !important;
    }

    header.page_header .header_top .shopping_cart_header .header_cart::before {
        color: #fff !important;
    }

    /* Compact the main mobile header bar and override Bridge JS heights. */
    header.page_header .header_bottom,
    header.page_header .header_bottom .container,
    header.page_header .header_bottom .container_inner,
    header.page_header .header_inner_left,
    header.page_header .logo_wrapper,
    header.page_header .mobile_menu_button,
    header.page_header .side_menu_button,
    header.page_header .shopping_cart_inner {
        height: 56px !important;
        min-height: 56px !important;
        max-height: 56px !important;
        line-height: 56px !important;
    }

    header.page_header .header_bottom {
        box-sizing: border-box;
        overflow: visible;
        padding: 0 !important;
    }

    header.page_header .header_bottom .container_inner {
        position: relative;
        display: flex;
        align-items: center;
        padding: 0 12px;
        overflow: visible;
    }

    header.page_header .header_inner_left {
        position: relative;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        float: none;
        margin: 0;
    }

    header.page_header .mobile_menu_button {
        position: absolute;
        left: 0;
        top: 0;
        float: none;
        margin: 0;
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 44px;
        z-index: 5;
    }

    header.page_header .mobile_menu_button span {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 24px;
        height: 24px !important;
        line-height: 1 !important;
        font-size: 22px;
        color: #fff !important;
    }

    header.page_header .logo_wrapper {
        position: static !important;
        left: auto !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: auto;
        margin: 0 auto !important;
        transform: none;
    }

    header.page_header .q_logo,
    header.page_header .q_logo a {
        display: flex !important;
        align-items: center;
        justify-content: center;
        height: 56px !important;
        max-height: 56px !important;
        line-height: 56px !important;
        left: 0 !important;
        width: auto !important;
    }

    header.page_header .q_logo img.normal,
    header.page_header .q_logo img.light,
    header.page_header .q_logo img.dark,
    header.page_header .q_logo img.sticky {
        display: none !important;
    }

    header.page_header .q_logo img.mobile {
        display: block !important;
        position: static !important;
        width: auto !important;
        max-width: 190px;
        max-height: 36px !important;
        height: auto !important;
        margin: 0 auto;
    }

    header.page_header .header_inner_right {
        display: none;
    }

    /* Keep the closed mobile menu from expanding the header bar. */
    header.page_header nav.mobile_menu {
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        float: none !important;
        height: auto !important;
        max-height: none !important;
        margin: 0 !important;
        z-index: 1000;
    }

    header.page_header nav.mobile_menu > ul {
        width: 100% !important;
        background: #000;
    }

    .home .selectel-home-hero {
        min-height: 0;
    }

    .home .selectel-home-hero__inner {
        padding-top: 24px;
    }
}

@media (max-width: 900px) {
    .selectel-home-hero__inner {
        width: min(680px, calc(100% - 32px));
        padding: 72px 0 56px;
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .selectel-home-hero__form {
        order: -1;
    }

    .selectel-account-card {
        max-width: 520px;
    }
}

@media (max-width: 520px) {
    .selectel-home-hero__inner {
        width: calc(100% - 24px);
        padding: 32px 0 42px;
        gap: 34px;
    }

    .selectel-account-card {
        padding: 22px 18px;
        border-radius: 13px;
    }

    .selectel-account-card h2 {
        font-size: 25px;
    }

    .selectel-home-hero h1 {
        font-size: 36px;
    }

    .selectel-home-hero__lead {
        font-size: 17px;
    }

    .selectel-home-hero__benefits {
        display: grid;
        gap: 10px;
    }

    .selectel-home-hero__prospect {
        align-items: flex-start;
        flex-direction: column;
        gap: 2px;
    }
}

@media (max-width: 767px) {
    .home .icon-shadow-no-box {
        padding: 28px 12px 18px;
    }

    .home .icon-shadow-no-box .section_inner {
        width: 100% !important;
    }

    .home .icon-shadow-no-box .section_inner_margin {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .home .icon-shadow-no-box .wpb_column {
        width: 100% !important;
        float: none;
    }

    .home .icon-shadow-no-box .vc_column-inner {
        padding: 0 !important;
    }

    .home .icon-shadow-no-box .icon_holder {
        padding: 18px 0 8px !important;
    }

    .home .icon-shadow-no-box .icon_holder img {
        max-width: 58px;
        height: 58px;
    }

    .home .icon-shadow-no-box .icon_title {
        font-size: 15px;
    }

    .home .icon-shadow-no-box .vc_empty_space {
        display: none;
    }
}

@media (max-width: 420px) {
    header.page_header .header_top .inner {
        gap: 10px;
    }

    header.page_header .header_top .header-widget,
    header.page_header .header_top .header-widget a,
    header.page_header .header_top .header-widget p,
    header.page_header .header_top .header-widget span,
    header.page_header .header_top .inner > div > a,
    header.page_header .header_top h3 {
        font-size: 12px !important;
    }

    header.page_header .header_top .shopping_cart_outer {
        display: none;
    }

    header.page_header .q_logo img.mobile {
        max-width: 205px;
    }
}
