﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* Provide sufficient contrast against white background */

.load-opacity {
    opacity: 0.7;
    pointer-events: none;
    width: 100%;
    height: 100%;
}


.load-img {
    width: 80px;
    height: 80px;
    position: absolute;
    left: 50%;
    top: 20%;
    transform: translate(-50%, -50%);
    z-index: 999;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
}


.fixed, .mask.full, .mask1.full {
    width: 100%;
    height: 100%;
}

.mask.full, .mask1.full {
    cursor: pointer;
    position: fixed;
    background-color: rgba(0,0,0,.5);
    z-index: 888;
    /*cursor: pointer;
    position: fixed;
    background-color: black;
    opacity: 0.5;
    z-index: 999999999999999999999;
    width: 100%;
    height: 100%;*/
}

.content-wrapper {
    /*max-width: 1600px;*/
    margin: 0 auto;
}

.content-wrapper-extended {
    /* max-width: 97%;*/
    margin: 0 auto;
}


@media (min-width: 1367px) {
    .col-xxl-2 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 16.666667%;
        flex: 0 0 16.666667%;
        max-width: 16.666667%;
    }

    .col-xxl-3 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 25%;
        flex: 0 0 25%;
        max-width: 25%;
    }

    .col-xxl-4 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 33.333333%;
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }

    .col-xxl-5 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 41.666667%;
        flex: 0 0 41.666667%;
        max-width: 41.666667%;
    }

    .col-xxl-6 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }

    .col-xxl-7 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 58.333333%;
        flex: 0 0 58.333333%;
        max-width: 58.333333%;
    }

    .col-xxl-8 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 66.666667%;
        flex: 0 0 66.666667%;
        max-width: 66.666667%;
    }

    .col-xxl-9 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 75%;
        flex: 0 0 75%;
        max-width: 75%;
    }

    .col-xxl-10 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 83.333333%;
        flex: 0 0 83.333333%;
        max-width: 83.333333%;
    }

    .col-xxl-11 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 91.666667%;
        flex: 0 0 91.666667%;
        max-width: 91.666667%;
    }

    .col-xxl-12 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }
}


@media (max-width: 991px) {
    #link-nav {
        display: none;
    }

    #top-nav {
        display: none;
    }
}

.container-title {
    padding-top: 10px;
    padding-bottom: 20px;
    font-size: 19px;
    font-weight: bold;
}


.home-wraper {
    margin-left: 350px;
}

.brand-block {
    position: relative;
    /* width: 30%;
    height: 150px;*/
    float: left;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    /* margin: 15px 1%;*/
}

    .brand-block img {
        width: 100%;
        height: 100%;
    }


    .brand-block:before {
        background: rgba(0,0,0,0.5);
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        z-index: 10;
    }

    .brand-block:hover:before {
        background: rgba(0,0,0,0.2);
    }

.logo-img {
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 70%;
    margin: 0 auto;
    position: absolute;
    cursor: pointer;
    top: 0;
    z-index: 10;
}

.loading-new {
    position: relative;
    background-image: url("/images/main/loading_new.gif");
    background-repeat: no-repeat;
    height: 160px;
    width: 160px;
    margin: 100px auto;
}


#logo_renault {
    background-image: url("/images/car-brand/logo/logo_renault.png");
}

#logo_daf {
    background-image: url("/images/car-brand/logo/logo_daf.png");
}

#logo_scania {
    background-image: url("/images/car-brand/logo/logo_scania.png");
}

#logo_volvo {
    background-image: url("/images/car-brand/logo/logo_volvo.png");
}

#logo_man {
    background-image: url("/images/car-brand/logo/logo_man.png");
}

#logo_mercedes {
    background-image: url("/images/car-brand/logo/logo_mercedes.png");
}


/**Home - index*/
.card-img-top {
    max-height: 200px;
    width: max-content;
    margin: 0 auto;
}

.card {
    margin: 0 auto;
    border: none;
}

.part-block a:hover {
    opacity: 0.7;
}

.video-wraper {
    width: 100%;
    height: 300px;
    position: relative;
}

.video-block {
    height: 100%;
    /* position: relative;
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
    float: left;
    padding: 0 25px;
    box-sizing: border-box;*/
}



.info-txt {
    color: #2f3f74;
    text-align: justify;
    line-height: 1.5;
    margin-bottom: 15px;
    line-height: 28px;
}

    .info-txt h2 {
        color: #E04900;
        font-weight: 800;
        font-size: 32px;
        text-transform: uppercase;
        line-height: 35px;
    }

/*Footer*/
#footer {
    font-size: 14px;
    text-align: center;
}

.sites-table {
    display: table; /* Allow the centering to work */
    margin: 0 auto;
}

ul#sites-horizontal-list {
    min-width: 696px;
    list-style: none;
    padding-top: 20px;
}

    ul#sites-horizontal-list li {
        display: inline;
        list-style: none;
        text-transform: none;
    }

.sale-tir-logo {
    width: 90px;
    height: 39px;
}

/*Pre footer*/
#pre-footer {
    background-color: #1D1C1C;
    width: 100%;
}

#pre-footer-content {
    padding-top: 10px;
    font-size: 14px;
    color: white;
    padding-bottom: 20px;
    padding-left: 50px;
    padding-right: 50px;
    word-wrap: break-word;
}

#pre-footer a {
    color: #FFFFFF;
    text-decoration: none;
}

#pre-footer h4 {
    font-size: 16px;
    text-align: left;
    text-decoration: underline;
}

#pre-footer ul {
    clear: both;
    list-style: none;
    display: block;
    margin: 0;
    padding: 0;
}

#pre-footer .copyright-info {
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.4);
}



.dark-block {
    padding-top: 15px;
    padding-bottom: 15px;
    background-color: #1D1C1C;
    color: white;
}

.dark-block-img-1 {
    background-image: url("/images/home/banner_center_1.jpg");
    /*    background-size: 100% auto;*/
    background-repeat: no-repeat;
    /*background-position: center;*/
    min-height: 60vh;
    background-size: cover;
}


/*---------------------*/
.catalog-nav__item.open .catalog-nav__submenu {
    display: block
}

@media only screen and (min-width: 1024px) {
    .catalog-nav__item.open .catalog-nav__submenu {
        display: block
    }
}

@media only screen and (min-width: 1024px) {
    .catalog-nav__submenu {
        position: absolute;
        top: 0;
        left: 100%
    }
}

.catalog-submenu__list {
    list-style: none;
    padding: 0;
    margin: 0
}

@media only screen and (min-width: 1024px) {
    .catalog-submenu__list {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex !important;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-flow: row wrap;
        flex-flow: row wrap;
        -webkit-box-align: stretch;
        -ms-flex-align: stretch;
        align-items: stretch;
        width: 1130px;
        max-width: calc(100vw - 315px);
        /* background-color: #FFF;*/
    }
}

.catalog-submenu__item:hover {
    border: 1px solid #D1232B;
    /* border-radius: 10px 10px;*/
    color: #D1232B;
}

.catalog-submenu__item a:hover {
    background-color: none;
}

.catalog-submenu__link:hover {
    background-color: none;
}

@media only screen and (min-width: 1024px) {
    .catalog-submenu__item {
        width: calc(20% - 4px);
        margin-right: 3px;
        margin-bottom: 5px
    }
}

@media only screen and (min-width: 1300px) {
    .catalog-submenu__item {
        width: calc(16.666% - 4px)
    }
}

.catalog-submenu__link {
    display: inline-block;
    padding: 10px 15px;
    font-weight: 400;
    color: #333;
    width: 100%
}

@media only screen and (min-width: 1024px) {
    .catalog-submenu__link {
        display: none;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-flow: column nowrap;
        flex-flow: column nowrap;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        height: 100%;
        padding: 15px;
        border: 1px solid transparent;
        border-radius: 3px;
        font-weight: 400
    }

    /* ul.menu-main li:hover > .catalog-submenu__link {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        
    }*/

    ul.menu-main li {
        background-color: #FFF;
    }
}

.catalog-submenu__img-wrapper {
    display: none;
    max-width: 79px;
    max-height: 79px;
    margin: auto;
    margin-bottom: 10px;
}

@media only screen and (min-width: 1024px) {
    .catalog-submenu__img-wrapper {
        display: block
    }
}

.categories-submenu__thumb {
    width: 100% !important;
    height: 100% !important;
}



.catalog-submenu__link:hover {
    text-decoration: none;
    border-top: 2px solid #e04900 !important;
    border-bottom: 2px solid #e04900 !important;
    border-left: 2px solid #e04900 !important;
    border-right: 2px solid #e04900 !important;
    border-radius: 2px;
    color: #ff2f00
}

.not-found {
    font-size: 20px;
    font-weight: bold;
}

    .not-found img {
        max-height: 200px;
    }

.favorite-close-icon {
    width: 15px;
    height: 15px;
}

    .favorite-close-icon:hover {
        cursor: pointer;
        opacity: 0.7;
    }

.promo-logo-img-carousel {
    position: absolute;
    right: 7%;
    z-index: 999;
    /*background-color: rgba(255, 255, 255, 0.5);*/
}

.filter-button {
    background-color: #E04900;
    border: 1px #E04900 solid;
    color: #FFFFFF;
    font-size: 16px;
    padding-left: 12px;
    cursor: pointer;
    padding-right: 12px;
    line-height: 24px;
}
