body {
    min-width: 1000px;
}

.navbar {
    margin: auto;
    max-width: 1100px;
    min-height: 4rem;
    font-size: large;
}

.navbar-fake {
    width: 100%;
    min-height: 4rem;
}

/* nav button dropdown */
.navbar-nav {
    background-color: #e74c3c;
}

.nav-link {
    width: 100px;
    text-align: center;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.8);
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.active {
    font-weight: bold;
}

.content {
    margin-left: 10px;
    margin-right: 10px;
}

.content-title {
    font-size: large;
    width: 100%;
    color: #3f3f3f;
    margin-bottom: 20px;
}

.content-title hr {
    margin-top: 5px !important;
    margin-bottom: 5px !important;
}

.content-back {
    float: right;
    font-weight: normal;
}

.content-more {
    float: right;
    font-weight: normal;
}


.banner {
    position: relative;
}

.text-on-banner {
    position: absolute;
    top: 20px;
    left: 30px;
}

.sidebar-side {
    background-color: #dbdbdb;
    padding: 0;
    margin-bottom: 0;
}

.side-header {
    height: 40px;
    line-height: 40px;
    background-color: #e74c3c;
    text-align: center;
    color: #ffffff;
    font-weight: bold;
}

.side-item {
    height: 32px;
    line-height: 30px;
    width: 100%;
    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-bottom-color: #eeeeee;
    list-style-type: none;
    list-style-position: unset;
    position: relative;
    overflow: hidden;
}

.side-item:hover {
    background-color: rgba(0, 0, 0, 0.2);
    color: #ffffff;
}

.side-item:hover a {
    text-decoration: none;
    color: #ffffff;
}

.side-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #9c3325 0%, #e74c3c 100%);
    transform: scaleY(0);
    transform-origin: bottom center;
    transition: transform .25s ease;
    z-index: 1;
}

.side-item:hover::before {
    transform: scaleY(1);
}

.side-link {
    text-align: center;
    color: #000000;
    display: block;
}

.main {
    max-width: 1100px;
    margin: auto;
    margin-top: 10px;
}

.footer {
    padding-top: 10px;
    position: absolute;
    top: 1100px;
    width: 100%;
    height: 72px;
    background-color: #e74c3c;
    font-size: small;
}

.footer-item {
    color: #3f3f3f;
}

.footer-item a {
    color: #3f3f3f;
}

.footer-item-desktop {
    color: #3f3f3f;
}

.footer-item-desktop a {
    color: #3f3f3f;
}

.footer-item-mobile {
    display: none;
}

.footer-item-mobile a {
    color: #3f3f3f;
}

.footer-separator {
    color: #dbdbdb;
    display: inline-block;
    padding-left: 5px;
    padding-right: 5px;
}

.news-item {
    margin-bottom: 5px;
}

.news-link {
    color: #3f3f3f;
}

.news-link:hover {
    color: #3f3f3f;
}

.news-date {
    float: right;
    color: #6f6f6f;
}

.news-content {
    margin-bottom: 50px;
}

.news-content h1 {
    font-size: x-large;
    font-weight: bold;
}

.product-content {
    margin-bottom: 50px;
}

.product-content h1 {
    font-size: x-large;
    font-weight: bold;
}

.product-content p {
    line-height: 0.8;
}

.product-content .table-bordered th, .table-bordered td {
    border: 2px solid #343a40;
}

.product-content .table thead th {
    border-bottom: 2px solid #343a40;
}

.prev-next-links hr {
    margin-top: 5px !important;
    margin-bottom: 15px !important;
}

.next-item {
    float: right;
}

.product-link {
    color: #3f3f3f;
    text-decoration: none;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-link:hover {
    color: #3f3f3f;
}

.product-grid {
    text-align: center;
}

.product-cell {
    width: 150px;
    height: 100%;
    cursor: pointer;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 10px;
    overflow: hidden;
    position: relative;
}

.product-cell:hover {
    background-color: #ffffff;
}

.product-cell-small {
    width: 120px;
    height: 100%;
    cursor: pointer;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 10px;
    overflow: hidden;
    position: relative;
}

.product-cell-small:hover {
    background-color: #ffffff;
}

.product-cell::before,
.product-cell-small::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #9c3325 0%, #e74c3c 100%);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .25s ease;
    z-index: 1;
}

.product-cell:hover::before,
.product-cell-small:hover::before {
    transform: scaleX(1);
}

.product-image-box {
    width: 180px;
    height: 180px;
    border: 1px solid #e74c3c;
    background-color: #ffffff;
    margin-left: auto;
    margin-right: auto;
    display: flex;
}

.product-image {
    max-width: 177px !important;
    max-height: 177px !important;
    margin: auto;
    display: block;
}

.product-thumbnail {
    width: 100%;
    height: 110px;
    margin: auto;
    display: block;
    transition: transform .25s ease;
}

.product-cell:hover .product-thumbnail,
.product-cell-small:hover .product-thumbnail {
    transform: scale(1.08);
}

.product-thumbnail-dummy {
    width: 100%;
    height: 110px;
}

.related-products {
    width: 100%;
}

.related-products-mobile {
    display: none;
}

.related-products-button-disabled {
    padding: 10px;
}

.related-products-button {
    background-color: rgba(255, 255, 255, 0.6);
    padding: 10px;
}

.related-products-button :hover {
    background-color: white;
}

@media only screen and (max-width: 768px) {
    body {
        min-width: 0px;
    }

    .banner {
        display: none;
    }

    .banner-strip {
        display: none;
    }

    .sidebar {
        display: none;
    }

    .home-news {
        display: none;
    }

    .news-date {
        float: none;
        display: block;
    }

    .news-bullet {
        display: none;
    }

    .next-item {
        float: none;
        display: block;
    }

    .footer-separator {
        display: none;
    }

    .footer-item-desktop {
        display: none;
    }

    .footer-item-mobile {
        color: #3f3f3f;
        display: block;
    }

    .footer-item {
        display: block;
    }

    .footer {
        height: 155px;
        font-size: small;
    }

    .product-cell {
        width: 125px;
        height: 100%;
        cursor: pointer;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 10px;
    }

    .related-products {
        display: none;
    }

    .related-products-mobile {
        display: block;
    }
}

#scroll-sentinel {
    height: 1px;
}

@media (max-width: 768px) {
    .pagination-block {
        display: none;
    }
}

.back-to-top {
    position: fixed;
    right: 15px;
    bottom: 15px;
    z-index: 1030;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background-color: #e74c3c;
    color: #fff;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
    transition: opacity .25s ease;
    padding: 0;
}

.back-to-top:hover {
    opacity: 1;
}

@media (min-width: 769px) {
    .back-to-top {
        display: none !important;
    }
}
