/* Homepage register card + Login / Signup pills. Does not change Bootstrap core. */

/* Pin the header so it stays visible while the landing page scrolls. */
.smr-home .inPrem2Nav.navbar {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
    width: 100%;
    margin-bottom: 0;
}
.smr-home #body {
    padding-top: 80px;
}
#register-now {
    scroll-margin-top: 96px;
}

/* One row: menu links + Login + Signup, vertically centered with the logo. */
@media (min-width: 768px) {
    .smr-home .inPrem2Nav .navbar-collapse {
        display: flex !important;
        align-items: center;
        justify-content: flex-end;
    }
    .smr-home .inPrem2Nav ul.navbar-nav {
        display: flex;
        align-items: center;
        flex-wrap: nowrap;
        float: none;
        margin: 0;
    }
    .smr-home .inPrem2Nav ul.navbar-nav > li {
        float: none;
        display: flex;
        align-items: center;
    }
    .smr-home .inPrem2Nav li a.inPrem2Link {
        padding-top: 28px;
        padding-bottom: 28px;
    }
}

/* Beat theme rule .inPrem2Nav ul .btn { margin-top: 20px } that dropped the pills. */
.smr-home .inPrem2Nav ul > li.smr-nav-btn {
    padding: 0 0 0 8px;
}
.smr-home .inPrem2Nav ul > li.smr-nav-btn > a.btn,
.smr-home .inPrem2Nav ul .smr-btn-login,
.smr-home .inPrem2Nav ul .smr-btn-signup {
    display: inline-block;
    margin: 0;
    min-height: 36px;
    min-width: 88px;
    padding: 7px 20px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    text-align: center;
    white-space: nowrap;
    box-shadow: none;
    vertical-align: middle;
}
.smr-btn-login {
    background: #fff;
    color: #222 !important;
    border: 1px solid #d0d0d0;
}
.smr-btn-login:hover,
.smr-btn-login:focus {
    background: #f7f7f7;
    color: #111 !important;
    text-decoration: none;
    border-color: #bdbdbd;
}
.smr-btn-signup {
    background: #549a11;
    color: #fff !important;
    border: 1px solid #549a11;
}
.smr-btn-signup:hover,
.smr-btn-signup:focus {
    background: #47820e;
    color: #fff !important;
    text-decoration: none;
    border-color: #47820e;
}

.smr-reg-card {
    max-width: 420px;
    margin-left: auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
}
.smr-reg-card .gt-slideUp-form-head h4 {
    letter-spacing: 0.04em;
}
.smr-reg-card .gt-slideUp-form-body .gt-form-control {
    min-height: 44px;
    width: 100%;
    font-size: 14px;
}
.smr-reg-card .input-group {
    width: 100%;
    display: table;
}
.smr-reg-card .smr-btn-register {
    min-width: 200px;
    min-height: 48px;
    padding: 12px 36px;
    border-radius: 999px;
    font-size: 16px;
}
#reg-form-error {
    margin-bottom: 12px;
}

/* T30: logo may use <picture>. Hero stays a bare <img> for Owl. */
.smr-home .navbar-brand picture {
    display: block;
}

/* Hero is position:absolute; z-index:-1. Clip it so slides cannot paint under the footer. */
.smr-home .container-fluid {
    position: relative;
    overflow: hidden;
}
.smr-home #owl-demo-2.gt-slide-up {
    overflow: hidden;
    max-height: 720px;
}
.smr-home #owl-demo-2 .item,
.smr-home #owl-demo-2 .item img {
    min-height: 0 !important;
    max-height: 720px;
    width: 100%;
    object-fit: cover;
}

/* Keep production footer colors: gray link block, green copyright bar. */
.smr-home .footer-before-login,
.smr-home footer {
    position: relative;
    z-index: 2;
}

/* App promo: same scale as production (phones left, Play badge ~60px). */
.smr-home .gtAndroidDown .col-xxl-5 > img,
.smr-home .gtAndroidDown .col-xxl-5 picture,
.smr-home .gtAndroidDown .col-xxl-5 picture img {
    display: block;
    max-width: 100%;
    height: auto;
    max-height: 350px;
    width: auto;
}

@media (max-width: 767px) {
    .smr-home .inPrem2Nav ul > li.smr-nav-btn {
        display: inline-block;
        padding: 10px 8px 16px 15px;
        width: auto;
    }
    .smr-home .inPrem2Nav .navbar-toggle {
        min-height: 44px;
        min-width: 44px;
        padding: 10px 12px;
    }
    .smr-home .inPrem2Nav .container,
    .smr-home .inPrem2Nav .navbar-header {
        max-width: 100%;
    }
    .smr-reg-card {
        max-width: none;
        margin: 16px 10px 72px;
    }
}
