/* *****************************************************

    ** Custom Stylesheet **

    Any custom styling you want to apply should be
    defined here.

***************************************************** */

/* Use square corners throughout the theme and order forms. */
*,
*:before,
*:after,
*::before,
*::after {
    border-radius: 0 !important;
}

/* Override the order-form stylesheet loaded after the theme stylesheet. */
.domain-checker-container {
    background-color: #00185F !important;
    background-image: url('../img/cta-bgr-4.png') !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: cover !important;
}

.domain-checker-bg {
    background: none !important;
}

.domain-check-availability {
    padding: 12px 8px !important;
    font-size: 14px !important;
    line-height: 20px !important;
}

section#home-banner h2 {
    padding-bottom: 20px;
}

section#home-banner .domainchecker-homepage-captcha #google-recaptcha-domainchecker {
    margin-bottom: 15px;
}

section#home-banner .homepage-captcha-error {
    display: none;
    clear: both;
    margin: 8px 0 0;
    color: #fff;
    font-weight: 500;
}

section#header {
    padding-top: 20px;
    padding-bottom: 20px;
}

/* Avoid the browser focus ring after any link is clicked. */
a:focus {
    outline: 0 !important;
}

/* Keep a clear focus state for keyboard navigation. */
a:focus-visible {
    outline: 2px solid #00185F;
    outline-offset: 2px;
}

.navbar-main .navbar-nav > li > a:focus-visible {
    outline: 2px solid #fff;
    outline-offset: -2px;
}

/* Use a stronger weight for page titles and a medium weight elsewhere. */
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-weight: 500 !important;
}

div.header-lined h1 {
    font-weight: 700 !important;
}

/* Keep Standard Cart divider labels legible above their horizontal rule. */
#order-standard_cart .sub-heading span,
#order-standard_cart .sub-heading-borderless span {
    color: #00185F !important;
    background-color: #fff !important;
    font-weight: 500 !important;
}

#order-standard_cart .sub-heading span {
    top: -11px !important;
}

/* Let the page content, rather than the footer, fill unused viewport height. */
html {
    min-height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

section#main-body {
    flex: 1 0 auto;
}

section#footer {
    flex: 0 0 auto;
    padding: 60px 10px 25px;
    background-color: #152028;
    border-top-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}

section#footer h1,
section#footer h2,
section#footer h3,
section#footer h4,
section#footer h5,
section#footer h6,
section#footer p,
section#footer li,
section#footer small,
section#footer span,
section#footer address,
section#footer i {
    color: #fff;
}

section#footer a {
    color: #fff !important;
    text-decoration: none;
}

section#footer a:hover,
section#footer a:focus-visible {
    color: #fff !important;
    text-decoration: underline;
}

section#footer .footer-bottom {
    margin-top: 45px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

section#footer .footer-bottom-brand img {
    width: 130px;
    height: auto;
}

section#footer .footer-bottom-legal {
    padding-top: 10px;
    font-size: 12px;
    font-weight: 500;
    text-align: right;
}

section#footer .footer-company-details {
    font-size: 13px;
    font-weight: 400;
    line-height: 1.8;
}

section#footer .footer-company-details strong {
    color: #fff;
    font-weight: 500;
}

section#footer .footer-company-registration {
    display: inline-block;
    margin-top: 10px;
}

section#footer .footerwidget {
    font-size: 14px;
    font-weight: 400;
}

section#footer .footerwidget .widget-title {
    font-size: 18px;
    font-weight: 500 !important;
}

section#footer .footer-payment-logos {
    margin-bottom: 45px;
}

section#footer .footer-payment-logos img {
    width: 280px;
    max-width: 100%;
    height: auto;
}

section#footer .footer-support-info {
    font-size: 18px;
    font-weight: 500;
}

@media (max-width: 767px) {
    section#footer .footer-bottom-brand,
    section#footer .footer-bottom-legal {
        text-align: center;
    }

    section#footer .footer-bottom-legal {
        padding-top: 16px;
    }
}
ul.top-nav > li.primary-action > a.btn.header-cart-button {
    position: relative;
    min-width: 48px;
    padding: 0 24px 0 6px;
    border-color: transparent;
    background: transparent;
    color: #00185F;
    box-shadow: none;
}

ul.top-nav > li.primary-action > a.btn.header-cart-button:hover,
ul.top-nav > li.primary-action > a.btn.header-cart-button:focus,
ul.top-nav > li.primary-action > a.btn.header-cart-button:active {
    border-color: transparent;
    background: transparent;
    color: #00185F;
    box-shadow: none;
}

.header-cart-button .bi-cart {
    display: block;
    font-size: 28px;
    line-height: 1;
}

.header-cart-count {
    position: absolute;
    top: 50%;
    right: 7px;
    transform: translateY(-50%);
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border: 1px solid #fff;
    border-radius: 9px !important;
    background: #d9534f;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
}

.header-cart-count:empty {
    display: none;
}

.language-flag {
    width: 20px;
    height: 15px;
    margin-right: 6px;
    object-fit: cover;
    vertical-align: -2px;
}

.language-popover {
    width: 190px;
}

.language-popover .popover-content ul {
    max-width: none;
    overflow: visible;
}

.language-popover .popover-content li {
    display: block;
    float: none;
    width: 100%;
    padding: 0;
}

.language-popover .popover-content li a {
    display: flex;
    align-items: center;
    padding: 7px 14px;
}

@media (max-width: 767px) {
    ul.top-nav > li.header-utility-item {
        display: none;
    }

    .navbar-main .mobile-utility-nav {
        margin-top: 8px;
        padding-top: 8px;
        border-top: 1px solid rgba(255, 255, 255, 0.35);
    }

    .navbar-main .mobile-utility-nav .dropdown-menu > li > a {
        white-space: normal;
    }

    #homepage-domain-search .input-group {
        display: flex;
        width: 100%;
        flex-direction: column;
    }

    #homepage-domain-search .input-group > .form-control {
        display: block;
        float: none;
        width: 100%;
        margin-bottom: 8px;
    }

    #homepage-domain-search .input-group-btn {
        display: flex;
        width: 100%;
        flex-direction: column;
        white-space: normal;
    }

    #homepage-domain-search .input-group-btn > .btn {
        display: block;
        width: 100%;
        margin: 0 0 8px;
    }
}

/* Equal registration/renewal widths in the standard domain price table. */
table[aria-labelledby="domain-pricing-standard"] {
    table-layout: fixed;
    min-width: 480px;
}

table[aria-labelledby="domain-pricing-standard"] > thead > tr > th {
    white-space: normal;
}

table[aria-labelledby="domain-pricing-standard"] > thead > tr > th:first-child,
table[aria-labelledby="domain-pricing-standard"] > thead > tr > th:last-child {
    width: 20%;
}

/* Bootstrap 4 text-alignment utilities; these breakpoints do not change the theme grid. */
@media (min-width: 576px) {
    .text-sm-left { text-align: left !important; }
    .text-sm-right { text-align: right !important; }
    .text-sm-center { text-align: center !important; }
}

@media (min-width: 768px) {
    .text-md-left { text-align: left !important; }
    .text-md-right { text-align: right !important; }
    .text-md-center { text-align: center !important; }
}

@media (min-width: 992px) {
    .text-lg-left { text-align: left !important; }
    .text-lg-right { text-align: right !important; }
    .text-lg-center { text-align: center !important; }
}

@media (min-width: 1200px) {
    .text-xl-left { text-align: left !important; }
    .text-xl-right { text-align: right !important; }
    .text-xl-center { text-align: center !important; }
}
