body {
    padding-top: 110px;
}

html,
body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}

a {
    text-decoration: none;
}

.float-right {
    float: right;
}

.form-control:focus {
    border: 1px solid #0d6efd;
    box-shadow: none;
}


/* Top Bar */
.top-bar {
    background: #212529;
    color: #fff;
    height: 40px;
    font-size: 14px;
    z-index: 1050;
}

.top-bar a {
    color: #fff;
    transition: color 0.3s;
}

.top-bar .dropdown-menu {
    background-color: #212529;
    color: #ffffff;
    border: none;
}

.top-bar .nav-item.dropdown {
    list-style: none;
}

/* dropdown links */
.top-bar .dropdown-menu .dropdown-item {
    color: #ffffff;
}

.top-bar .dropdown-menu .dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

/* Top Ad Scroller */
.promo-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.promo-item {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 0;
    left: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    white-space: nowrap;
}

/* Top Bar Right */
.top-right a {
    font-weight: 500;
}

.top-right a:hover {
    opacity: 0.8;
}


/* Navbar */
.main-navbar {
    top: 40px;
    background: #003d99;
    padding: 0.8rem 1rem;
    z-index: 1040;
}

.navbar-brand {
    font-weight: 600;
    font-size: 1.2rem;
}

.navbar-nav .nav-link {
    color: #ffffff !important;
    transition: color 0.3s;
}

.navbar-nav .nav-link:hover {
    opacity: 0.6 !important;
}


.product-card .card {
    border: 2px solid transparent;
    transition: border 0.8s ease, box-shadow 0.5s ease;
}

.product-card .card:hover {
    border: 2px solid #007bff;
    box-shadow: 0 4px 15px rgba(23, 92, 167, 0.5);
}


/* hide promo scroller/address on mobile */
@media (max-width: 768px) {

    .top-center,
    .top-address {
        display: none !important;
    }

    .top-left {
        flex-grow: 1;
    }
}

/* Product scroller */
@media (max-width: 576px) {
    .product-card {
        flex: 0 0 100%;
        max-width: 100%;
    }
}


/* Carousel */
#heroCarousel {
    margin-top: -10px;
    z-index: 0;
}

.carousel-item header {
    position: relative;
    width: 100%;
    height: 300px;
    min-height: 300px;
    background-size: cover;
    background-position: center;
}

/* Dark overlay */
.carousel-item header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.carousel-item header .container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    text-align: center;
    color: #ffffff;
}

/* Back to top */
.back-to-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 20px;
    bottom: 15px;
    z-index: 996;
    background: #17a2b8;
    width: 50px;
    height: 50px;
    border-radius: 4px;
    transition: all 0.4s;
}

.back-to-top i {
    font-size: 28px;
    color: #ffffff;
    line-height: 0;
}

.back-to-top:hover {
    background: #003d99;
    color: #ffffff;
}

.back-to-top.active {
    visibility: visible;
    opacity: 1;
}


/* Footer */
#footer {
    margin-top: auto;
    color: #ffffff;
    font-size: 14px;
    background: #003380;
}

.footer-link {
    color: #ffffff;
}

.footer-link:hover {
    opacity: 0.6;
}

#footer .footer-top {
    padding: 60px 0 30px 0;
    background: #0052CC;
}


#footer .footer-top h4 {
    font-size: 16px;
    font-weight: bold;
    color: #ffffff;
    position: relative;
    padding-bottom: 12px;
}

#footer .footer-top .footer-links {
    margin-bottom: 30px;
}

#footer .footer-top .footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#footer .footer-top .footer-links ul i {
    color: #ffffff !important;
    font-size: 18px;
    line-height: 1;
}

#footer .footer-top .footer-links ul li {
    padding: 10px 0;
    display: flex;
    align-items: center;
}

#footer .footer-top .footer-links ul li:first-child {
    padding-top: 0;
}

#footer .footer-top .footer-links ul a {
    color: #ffffff;
    transition: 0.3s;
    display: inline-block;
    line-height: 1;
}

#footer .footer-top .footer-links ul a:hover {
    opacity: 0.6;
}

#footer .social-links a {
    font-size: 14px;
    padding-right: 15px;
}