body {
    color: #4a4a4a;
}

.hide {
    display: none !important;
}

.no-data {
    font-size: 25px;
    font-weight: bold;
    margin: 20px;
}

.clear {
    clear: both;
}

.dropdown-menu {
    margin: 0;
}

.vertical-menu .dropdown-menu {
    border: none;
    padding: 0;
    position: static !important;
    transform: none !important;
}

.navbar-nav {
    margin: 0 auto;
}

.desktop-logo {

}

.container {
    padding: 0;
}

.wrapper {
    padding: 10px 0;
    border-top: 1px solid #343a40;
    margin: 0;
}

.similar-products .product,
.products-container .product {
    -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, .1);
    box-shadow: 0 0 3px rgba(0, 0, 0, .1);
    background-color: #fff;
    display: block;
    padding: 13px 5px 5px;
    width: 16%;
    margin: 0 0.6% 7px 0;
}

.img-center {
    text-align: center;
    border-radius: 8px;
    width: 120px;
    background-color: white;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15), 0 2px 3px 0 rgba(0, 0, 0, 0.1);
}

.row {
    display: flex;
    margin: auto;
}

.row.category-data {
    padding-left: 15px;
}

.row.products-container,
.row.category-data {
    width: 100%;
    margin-top: 0;
}

.similar-products a,
.products-container a {
    color: #4a4a4a;
    display: block;
    font-size: 14px;
}

.similar-products a.photo-box {
    height: 180px;
    position: relative;
}

.similar-products a:hover,
.products-container a:hover {
    text-decoration: none;
}

.similar-products .product:hover,
.products-container .product:hover {
    color: #000;
    -webkit-box-shadow: 0 0 30px rgba(0, 0, 10, .7);
    box-shadow: 0 0 30px rgba(0, 0, 10, .7);
    position: relative;
    z-index: 100;
}

.products-container a.photo-box {
    display: block;
    text-align: center;
    position: relative;
    overflow: hidden;
    height: 170px;
}

.similar-products a.photo-box img,
.products-container a.photo-box img {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    margin: auto;
}

.similar-products a.photo-box img.vertical-image,
.products-container a.photo-box img.vertical-image {
    width: calc(150px * var(--tooltip-proportion));
    height: 150px;
}

.similar-products a.photo-box img.horizontal-image,
.products-container a.photo-box img.horizontal-image {
    width: 150px;
    height: calc(150px / var(--tooltip-proportion));
}

.similar-products a.photo-box img.square-image,
.products-container a.photo-box img.square-image {
    width: 150px;
    height: 150px;
}

.product-title {
    width: 97%;
    padding: 5px 7px 0;
    overflow: hidden;
}

.price {
    padding: 0 7px;
    font-weight: bold;
    color: #4a4a4a;
}

.category-title {
    font-size: 28px;
    font-weight: normal;
}

.similar-products {
    padding: 20px;
    margin-top: 20px;
    background: #f8f9fa;
}

.home-wrapper {
    max-width: 1000px;
    margin: 10px auto;
}

.home-picture {
    border-bottom: 1px dotted #d1d1d1;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.main-home-image {
    width: 100%;
}

.social-part i {
    font-size: 22px;
    padding: 2px;
}

/*Product part*/
.row.product-info {
    margin: 15px 0;
}

.product h1 {
    font-weight: 700;
    font-style: normal;
    font-family: Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.1;
    color: #4a4a4a;
    text-transform: none;
    font-size: 25px;
}

.row.product-info .specifications {
    margin-top: 10px;
}

.row.product-info .specifications,
.similar-products .title {
    font-size: 20px;
    font-weight: bold;
}

.similar-products .title {
    margin-bottom: 10px;
}

.row.product-info .param-key {
    background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAABCAAAAAA+i0toAAAAAnRSTlMA/1uRIrUAAAAMSURBVHheY7j1/z8ABY8C2UtBe8oAAAAASUVORK5CYII=) 0 80% repeat-x;
    padding: 0 5px;
}

.row.product-info .param-key span {
    background: #fff;
    padding-right: 5px;
}

.row.product-info .params {
    margin: 0;
}

.row.product-info .category-brand,
.row.product-info .sale {
    margin: 10px 0;
}

.row.sales-notes {
    margin: 0;
    font-style: italic;
    font-size: 14px;
}

.row.product-info .price {
    font-size: 36px;
    line-height: 47px;
    padding-left: 0;
    font-weight: 600;
}

.row.product-info .price .currency {
    font-weight: 300;
}

.old-price-number {
    text-decoration: line-through;
    color: lightgray;
    font-size: 16px;
}

.brand a {
    color: #000;
}

.sort.row {
    padding: 12px 0 20px 0;
}

.sort-block {
    position: relative;
}

.select-sort {
    color: #000;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: transparent;
    background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position-x: 100%;
    background-position-y: 5px;
    border: 1px solid #dfdfdf;
    border-radius: 2px;
    margin-right: 2rem;
    padding: 0.7rem;
    padding-right: 2rem;
    font-size: 14px;
}

.select-sort:hover {
    text-decoration: none;
    color: #000;
}

.sort-list {
    list-style: none;
    position: absolute;
    z-index: 900;
    background: #ffff;
    padding: 5px;
    top: 30px;
    width: 171px;
    display: none;
    border: 1px solid #dfdfdf;
}

.sort-list a {
    color: #000;
    font-size: 14px;
}

.c-bar {
    padding: 0;
    width: 220px;
    margin-bottom: 150px;
}

.products-wrapper {
    width: calc(100% - 230px);
    position: relative;
}

.s-cat-header {
    cursor: pointer;
    color: #4e4e4e;
    font-size: 14px;
}

.s-cat-header:hover {
    text-decoration: none;
}

.count-p {
    font-size: 10px;
    color: rgba(0,0,0,.5);
}

.price-title,
.choose-category,
.choose-brand {
    color: #4e4e4e;
    font-size: 16px;
    font-weight: bold;
    border-bottom: 1px solid #dfdfdf;
    width: 95%;
}

.brands-list {
    margin: 0 0 10px 0;
}

.brand-item {
    border-radius: 5px;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    display: inline-block;
    font-size: 13px;
    text-align: center;
    line-height: 30px;
    margin: 5px 10px 5px 0;
    padding: 0 12px;
}

.brand-item a.active {
    color: #007bff;
}

.showAll {
    font-size: 13px;
    color: #007bff;
}

.showAll:hover {
    cursor: pointer;
}

.brands-bar {
    margin-bottom: 20px;
    margin-top: 15px;
}

.brand-item a {
    transition-duration: .3s;
    transition-property: color;
    text-decoration: none;
    color: #4a4a4a;
    font-style: italic;
}

.brand-item a:hover {
    text-decoration: none;
    color: #007bff;
}

.cat-list {
    padding: 0;
    list-style: none;
}


.cat-list li.active > a {
    color: #007bff;
}

.mobile-navbar .cat-list > li {
    border: 1px solid #fbebd4;
    padding: 3px 2px;
}


.products-wrapper .old-price-number {
    font-size: 10px;
}

.row.product-info .buy > a {
    color: #fff;
    background-color: #007bff;
    border: 1px solid #d9d9d9;
    max-width: 220px;
    display: block;
    text-align: center;
    padding: 10px;
    font-size: 1.125rem;
    font-weight: 700;
    font-family: Roboto, Helvetica, Arial, sans-serif;
    text-transform: uppercase;
}

.carousel-control-next,
.carousel-control-prev {
    background-color: lightgray;
}

.row.product-info .buy > a:hover {
    text-decoration: none;
    background: #007bff;
}

.footer,
div.pagination {
    display: grid;
    place-items: center;
}

div.pagination {
    margin: 15px 0 0;
}

.footer .time-to-render {
    font-size: 9px;
}

.footer {
    padding-bottom: 20px;
    background: #3f9ae5;
    color: #fff;
}

.footer .navbar-light .navbar-nav .nav-link,
.footer a {
    color: #fff;
}

.footer .navbar-light .navbar-nav .nav-link:hover {
    color: #2b91af;
}

.mobile-navbar {
    padding-left: 0;
}

.mainNav {
    /*background: #343a40;*/
    /*width: 25%;*/
}

/* First Level */

.mainNav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.mainNav ul li {
    border-top: 1px solid #dfdfdf;
}

.cat-list > li {
    padding: 5px 0;
}

.mainNav ul li a {
    color: #4a4a4a;
    display: block;
    font-size: 1.1em;
    line-height: normal;
    padding: 12px 3px 12px 20px;
    text-decoration: none;
    margin-right: 0 !important;
}

.mainNav ul li a:hover {
    /*background: #3f9ae5;*/
    text-decoration: none;
}

/* Second Level */

.mainNav ul ul {
    border-bottom: none;
    position: relative;
}

.mainNav ul ul li {
    background: #fff;
}

.mainNav ul ul li.parent .accordion-btn-wrap {
    height: 34px !important;
}

.mainNav ul ul li a {
    color: #4e4e4e;
    display: inline-block;
    font-size: 0.9em;
    line-height: normal;
    padding: 0.5em 3px 0.5em 2.5em;
    margin-right: 0 !important;
}

.mainNav ul ul li a:hover {
    background: none;
}

/* Third Level */

.mainNav ul ul ul {
    padding-left: 10px;
}

.mainNav ul ul ul li {
    border: none;
}

.mainNav ul ul ul li a {
    padding-left: 3.5em;
    padding-top: 0.35em;
    padding-bottom: 0.25em;
}

.desktop-navbar .cat-list .parent-cat {
    display: none;
}

/** Modal dialog **/
.ui-dialog {
    background: #fff;
    height: 100% !important;
    border-radius: 0;
    position: fixed;
}

.ui-dialog .ui-dialog-titlebar {
    border-radius: 0;
}

#dialog {
    position: relative;
    z-index: 999;
    height: auto !important;
    max-height: 100% !important;
    padding: 10px 0;
}

.ui-dialog .ui-dialog-titlebar-close {
    width: 100px;
    height: 30px;
    outline: 0;
    margin: -15px 0 0 0;
    background-color: #343a40 !important;
    color: #fff;
    border: none;
}

.ui-button-icon.ui-icon.ui-icon-closethick {
    float: right;
    position: static;
    right: 18px;
    margin-top: 2px;
    color: #000;
}

.ui-widget-overlay {
    background: #fff;
}

.btn-info {
    background: #3f9ae5;
    border-color: #3f9ae5;
}

.btn-info:hover {
    background: #343a40;
}

#dialog .fa {
    font-size: 21px;
    color: #4e4e4e;
    margin-top: 12px;
}

.page-link:hover {
    z-index: 2;
    color: #0056b3;
    text-decoration: none;
    background-color: #f8f9fa;
    border-color: #dee2e6;
}

.slider-range {
    width: 93%;
    border-radius: 5px;
    margin: 8px 0 0 7px;
}

.price-slider {
    border: 0;
    color: #333;
    margin-top: 5px;
    font-size: 14px;
}

.slider-range .ui-slider-handle:hover,
.slider-range:hover {
    cursor: pointer;
}

.clean-filters {
    margin: 10px 0 5px;
}

.clean-filters a {
    font-size: 12px;
}

.page .page-main {
    margin-top: 20px;
}

.page .content {
    margin: 20px 10px 20px 0;
}

.accordion-btn {
    text-align: right !important;
}

.ui-dialog .ui-dialog-title {
    color: #4e4e4e;
}

.accordion-btn-wrap {
    height: 58px;
}

nav.navbar {
    padding-bottom: 0;
    padding-top: 30px;
    background: #d1d1d1 !important;
}

.footer nav.navbar {
    padding-top: 0;
    background: #343a40 !important;
}

.top-menu {
    display: flex;
    list-style: none;
    margin: 5px 0 0;
    padding-left: 0;
}

.top-menu > li {

}

.top-menu li a {
    color: rgba(0,0,0,.5);
}

.top-menu li:hover a {
    color: #4a4a4a;
}

.top-menu .top-cat-wrap {
    display: none;
}

.top-menu .top-cat-wrap .close-menu {
    display: none;
}

.top-menu .products-tree {
    /*position: relative;*/
}

.top-cat-tree {
    width: 100%;
}

.top-cat-tree > li {
    margin-right: 10px;
    float: left;
}

.top-menu .products-tree ul {
    list-style: none;
    padding: 0;
}

.top-menu .products-tree li a {
    font-weight: bold;
}

.home-brands .active-brand,
.top-menu .products-tree .accordion li a {
    font-weight: normal;
    font-size: 14px;
    font-style: italic;
}

.home-brands .active-brand {
    color: #4a4a4a;
}

.home-brands h2 {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    width: 100%;
}

.top-menu .products-tree .top-cat-tree .count-p {
    display: none;
}

.breadcrumbs {
    margin: 5px 0;
}

.breadcrumbs a,
.breadcrumbs  span {
    font-size: 13px;
    color: #4a4a4a;
}

.not-found {
    min-height: 400px;
    font-weight: bold;
    font-size: 30px;
    text-align: center;
    padding-top: 50px;
    color: #4a4a4a;
}

.brandmodels {
    width: 100%;
    display: inline-block;
    margin-bottom: 20px;
}

.brandmodels .title-models {
    float: left;
    margin-right: 20px;
    font-size: 14px;
}

.tags-links {
    width: 100%;
    padding: 0 0 10px 5px;
}

.tags-links a {
    display: inline;
    font-style: italic;
    margin-right: 7px;
}

.tags-links a:hover {
    text-decoration: underline;
}

.brandmodels .single-model-block {
    float: left;
    margin-right: 10px;
    font-style: italic;
}

.brandmodels .current-model {
    font-weight: bold;
}

@media only screen and (min-width: 980px) {
    .cat-list li {
        padding: 5px 0;
        position: relative;
    }

    .cat-list li a {
        color: #333;
        transition-delay: 2s;
        transition-property: color;
        font-size: 14px;
        padding: 0;
        display: inline-block;
        /*width: 75%;*/
    }

    .cat-list .main-cat {

    }

    .cat-list .main-cat > a {
        font-family: "PT Sans", "Helvetica", "Arial", sans-serif;
        padding: 7px 0;
    }

    .cat-list ul {
        display: none;
        list-style: none;
        position: absolute;
        border-left: 1px solid #333;
        padding: 5px;
        z-index: 9000;
        background: #f8f9fa;
        left: 216px;
        top: 0;
        min-width: 270px;
        pointer-events: none;
        transition: opacity 0.1s;
        transition-delay: 2s;
        /*width: calc(95vw - 200px);*/
        /*height: 100vh;*/
    }

    .cat-list > li > ul {

    }

    .cat-list li:hover {
        color: #0056b3;
        background: #f8f9fa;
    }

    .cat-list li:hover > ul {
        display: block;
        pointer-events: auto;
        opacity: 1;
    }

    .cat-list .root-child {
        display: block;
    }

    .block-hover {
        position: absolute;
        width: 100%;
        height: 100%;
        display: none;
        background: #fff;
        z-index: 9;
        opacity: 0.3;
    }

    .product .carousel-item img {
        max-height: 400px;
    }
}

@media only screen and (min-width: 1900px) {
    .similar-products .product,
    .products-container .product {
        width: 16.66%;
        margin: 0;
    }
}
@media only screen and (min-width: 993px) {
    .brandmodels {
        position: absolute;
        top: -85px;
    }
}

@media only screen and (min-width: 1300px) and (max-width: 1900px) {
    .similar-products .product,
    .products-container .product {
        width: 20%;
        margin: 0;
    }
}

@media only screen and (min-width: 980px) and (max-width: 1300px) {
    .similar-products .product,
    .products-container .product {
        width: 25%;
        margin: 0;
    }

    .similar-products a.photo-box img.vertical-image,
    .products-container a.photo-box img.vertical-image {
        width: calc(12vw * var(--tooltip-proportion));
        height: 12vw;
    }

    .similar-products a.photo-box img.horizontal-image,
    .products-container a.photo-box img.horizontal-image {
        width: 12vw;
        height: calc(12vw / var(--tooltip-proportion));
    }

    .similar-products a.photo-box img.square-image,
    .products-container a.photo-box img.square-image {
        width: 12vw;
        height: 12vw;
    }


    .carousel-item img {
        width: 100%;
    }
}

@media only screen and (min-width: 767px) and (max-width: 990px) {
    .products-wrapper {
        width: 100%;
    }

    .desktop-navbar .c-bar {
        display: none;
    }

    .mobile-navbar .c-bar {
        display: block;
    }

    .similar-products .product,
    .products-container .product {
        width: 33%;
        margin: 0;
    }

    .mobile-navbar .cat-list li ul {
        display: none;
    }

    .price-title,
    .choose-category,
    .choose-brand {
        border: none;
    }

    .slider-range {
        margin-bottom: 25px;
        left: 10px;
    }

    .price-slider {
        font-weight: bold;
    }

    .carousel-item img {
        width: 100%;
    }
}

@media only screen and (max-width: 590px) {
    .products-wrapper {
        width: 100%;
    }

    .desktop-navbar .c-bar {
        display: none;
    }

    .mobile-navbar .c-bar {
        display: block;
    }

    .row.product-info .param-key {
        background: none;
        border-bottom: 2px solid black;
    }

    .row.sales-notes {
        margin-top: 10px;
    }

    .row.product-info .sale .buy {
        padding: 0;
    }

    .pagination .page-item span,
    .pagination .page-item a {
        padding: 4px;
    }

    .mobile-navbar .cat-list li ul {
        display: none;
    }

    .cat-block {
        display: flex;
    }
    .choose-category, .choose-brand {
        width: auto;
    }

    .s-cat-header {
        margin: 2px 0 0 5px;
    }

}

@media only screen and (min-width: 767px) {
    .top-menu .products-tree:hover .top-cat-wrap {
        display: inline-flex !important;
        position: absolute;
        width: 100%;
        background: #fff;
        z-index: 999;
        left: 0;
        padding: 13px 0;
        border-top: 1px solid #343a40;
        border-bottom: 1px solid #343a40;
        opacity: 0.97;
    }
}

@media only screen and (max-width: 767px) {
    .top-menu {
        margin-top: 0;
    }

    .products-wrapper {
        width: 100%;
        padding: 0;
    }

    .page-title {
        font-size: 18px;
    }

    .row.category-data {
        padding-left: 0;
    }

    .desktop-navbar .c-bar {
        display: none;
    }

    .mobile-navbar .c-bar {
        display: block;
    }

    .similar-products img {
        max-height: 200px;
    }

    .similar-products .product,
    .products-container .product {
        width: 50%;
        margin: 0;
    }

    /*.products-container a.photo-box {*/
    /*    height: auto;*/
    /*}*/

    .mobile-navbar .cat-list li ul {
        display: none;
    }

    .choose-category, .choose-brand {
        border: none;
    }

    .cat-block {
        display: flex;
    }

    .choose-category, .choose-brand {
        width: auto;
    }

    .s-cat-header {
        margin: 2px 0 0 5px;
    }

    .slider-range {
        margin-bottom: 25px;
        left: 10px;
    }

    .price-slider {
        font-weight: bold;
    }

    .mainNav ul li a {
        display: inline-block;
    }

    .top-cat-tree > li {
        margin: 0 0 10px;
        width: 100%;
    }

    .top-menu .top-cat-wrap .close-menu {
        display: block;
        right: 30px;
        width: 14px;
        height: 14px;
        position: absolute;
        z-index: 9999;
        font-size: 20px;
    }

    .top-cat-wrap {
        display: none;
        font-size: 14px;
        background-color: white;
        width: 100%;
        height: 100%;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 50000;
        text-align: left;
        overflow: hidden;
    }

    .top-cat-tree {
        width: 100%;
        padding: 5px;
        height: 100%;
        overflow-y: scroll;
        -webkit-overflow-scrolling: touch;
    }

    .top-menu .products-tree ul {
        padding: 5px;
    }

    nav.navbar {
        padding-top: 0;
    }

    .params .col-sm-6 {
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }

    .carouselControls {
        margin-bottom: 10px;
    }

    .product-images-wrap {
        margin-bottom: 10px;
    }

    .d-block {
        width: auto;
        max-width: 80%;
    }

    .similar-products h2 {
        font-size: 1.2rem;
    }

    .brandmodels .title-models {
        width: 100%;
    }
}

@media only screen and (min-width: 540px) and (max-width: 767px) {
    .similar-products a.photo-box img.vertical-image,
    .products-container a.photo-box img.vertical-image {
        width: calc(28vw * var(--tooltip-proportion));
        height: 28vw;
    }

    .similar-products a.photo-box img.horizontal-image,
    .products-container a.photo-box img.horizontal-image {
        width: 28vw;
        height: calc(28vw / var(--tooltip-proportion));
    }

    .similar-products a.photo-box img.square-image,
    .products-container a.photo-box img.square-image {
        width: 28vw;
        height: 28vw;
    }

    .products-container a.photo-box {
        height: 220px;
    }
}


@media only screen and (max-width: 540px) {
    .similar-products a.photo-box img.vertical-image,
    .products-container a.photo-box img.vertical-image {
        width: calc(34vw * var(--tooltip-proportion));
        height: 34vw;
    }

    .similar-products a.photo-box img.horizontal-image,
    .products-container a.photo-box img.horizontal-image {
        width: 34vw;
        height: calc(34vw / var(--tooltip-proportion));
    }

    .similar-products a.photo-box img.square-image,
    .products-container a.photo-box img.square-image {
        width: 34vw;
        height: 34vw;
    }

    .products-container a.photo-box {
        height: 180px;
    }

    .similar-products a, .products-container a {
        font-size: 14px;
    }
}
