.nav-item.active a {
    color: white !important;
}

.container {
    width: auto;
    padding: 0 15px;
}

body:not(.index_page) .main-container {
    padding-bottom: 13rem;
}

.container h2 {
    margin-bottom: 40px;
}

#page-container {
    position: relative;
    min-height: 100vh;
}

.footer {
    width: 100%;
    background-color: #222;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer .container {
    width: 100%;
}

body:not(.index_page) .footer {
    position: absolute;
    bottom: 0;
}

.footer small {
    color: #6c757d;
}

@media (min-width: 469px) and (max-width: 767px) {
    .main-container {
        padding-bottom: 10rem;
    }
}

a.link-secondary {
    text-decoration: none;
}

.contact_page .email_address .bg-light {
    height: 210px;
}

.contact_page .form {
    margin-top: 30px;
}

.products_index_page .bg-dark a {
    color: white;
    text-decoration: none;
    text-align: center;
    vertical-align: middle;
}

.products_index_page .bg-dark .dropdown button {
    background-color: #384047;
    border-color: #384047;
}

.products_index_page .bg-dark a.languageLink {
    color: #000;
}

.products_index_page .carousel {
    margin-bottom: 30px;
}

body:not(.category_page):not(.products_index_page):not(.products_show_page) nav.sub-menu {
    display: none;
}

body:not(.category_page):not(.products_index_page):not(.products_show_page):not(.index_page) nav.main-menu {
    margin-bottom: 1.5rem;
}

nav.sub-menu {
    background-color: #384047;
    height: 30px;
}

nav.sub-menu .container-fluid {
    margin-left: 185px;
}

.category-box {
    height: 152px;
    margin-bottom: 20px;
}

.files p {
    font-weight: bold;
    margin-top: 16px;
    margin-bottom: 5px;
}

a.box_link {
    cursor: pointer;
    border: 1px solid #f1562a;
    color: #313131;
    padding: 7px 20px;
    text-decoration: none;
    transition: all 0.1s linear;
    font-weight: bold;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    max-width: 100%;
    border-color: #ddd;
    background: #fff calc(100% - 20px) 50% no-repeat;
    margin: 5px 0;
    display: inline-block;
    font-size: 12px;

}

body.category_page a.add_to_basket {
    float: right;
    cursor: pointer;
}

a.box_link:hover {
    border-color: #313131;
    background-color: #313131;
    color: #fff;
}

body.products_show_page a.product_ask_link,
body.products_show_page a.add_to_basket {
    font-size: 14px;
    width: 46%;
}

body.products_show_page a.product_ask_link {
    margin-right: 7%;
}


body.products_show_page a.product_ask_link i,
body.products_show_page a.add_to_basket i {
    float: right;
}

.form-control:focus {
    border-color: #aaa;
    box-shadow: 0 0 0 0.25rem rgb(0 0 0 / 25%);
}

.price {
    margin: 20px 0;
}

.col-md-4 {
    margin-bottom: 24px;
}

body.basket_page table td.number {
    width: 15%
}

body.basket_page table td.description {
    width: 35%
}

body.basket_page table td.price {
    width: 15%
}

body.basket_page table td.quantity {
    width: 15%
}

body.basket_page table td.sum {
    width: 15%
}

body.basket_page table td.trash {
    width: 5%;
    align-items: center;
    cursor: pointer;
}

body.basket_page img {
    width: 100%;
    float: right;
}

body.basket_page .number input {
    width: 40%;
    border: none;
}

body.basket_page .btn-group {
    width: 100%
}

body.basket_page .btn-group .btn {
    width: 33%
}

body.basket_page h2 {
    margin-top: 40px;
}

body.basket_page h4 {
    margin-top: 1rem;
}

body.basket_page button[type="submit"] {
    margin-bottom: 1rem;
}


.bi-youtube::before,
.bi-basket::before,
.bi-facebook::before {
    font-size: 35px;
}

body.about .main-container .bi-youtube::before,
body.about .main-container .bi-basket::before,
body.about .main-container .bi-facebook::before {
    color: #212529;
}

body.about .main-container div {
    display: inline-block;
}

.carousel-control-prev,
.carousel-control-next {
    background-color: transparent;
    box-shadow: none;
    border: none;
    opacity: .7;
}

body.index_page #page-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
}

body.index_page .main-container {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.hero.white-theme {
    background-color: #fff;
    color: #000;
}

.hero {
    display: flex;
    flex: 1;
    width: 100%;
    background-color: #212529;
    color: #fff;
    overflow: hidden;
}

.hero-inner {
    display: flex;
    background-image: index_image;
    max-width: 1400px;
    margin: 0 auto;
    padding: 50px 20px;
    align-items: center;
    justify-content: space-between;
}

.hero-text {
    flex: 1;
    z-index: 2;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-text h1 {
    font-size: 3em;
    margin: 0 0 20px 0;
}

.hero-text p {
    font-size: 1.5em;
    margin: 10px 0;
}

.hero-text p.hero-address {
    margin-top: 30px;
    font-size: 1.1em;
}

.hero-image {
    position: relative;
}

.hero-image img {
    max-height: 750px;
    object-fit: cover;
    display: block;
    max-width: none;
}

@media (max-width: 1024px) {
    .hero-inner {
        flex-direction: column-reverse;
        text-align: center;
        padding: 30px 20px;
    }

    .hero-text h1 {
        font-size: 2.2em;
    }

    .hero-text p {
        font-size: 1.2em;
    }

    .hero-image img {
        width: 100%;
        height: auto;
    }
}

.dark-theme {
    background-color: #212529;
    color: #fff;
}

#services .container {
    padding-top: 48px;
    padding-bottom: 48px;
}

#contact {
    background-color: #f8f9fa;
}

body {
    overflow-x: hidden;
}

img {
    max-width: 100%;
}

.margin-container {
    margin-top: 20px;
    margin-bottom: 20px;
}

@media (max-width: 575px) {
    nav.sub-menu {
        height: auto;
    }

    body:not(.category_page):not(.products_index_page):not(.products_show_page):not(.index_page) nav.main-menu {
        margin-bottom: 0;
    }

    body:not(.index_page) .main-container {
        margin-top: 1.5rem;
        padding-bottom: 5rem !important;
    }

    .footer {
        position: static !important;
    }

    nav.sub-menu .container-fluid {
        margin-left: auto;
    }
}