body {
    margin: 0;
    padding: 0;
    font: normal 12pt Trebuchet MS, Tahoma, Arial, Helvetica, sans-serif;
    color: #333;
    width: 100%;
}

#bg {
    background: url("img/bg.png") left top;
    width: 100%;
    padding: 0 0 20px 0;
}

div.fixed {
    position: fixed;
}

.white-960 {
    max-width: 1050px;
    width: 100%;
    background: #fff;
    margin: 0 auto;
    padding: 30px 37px;
    position: relative;
    box-sizing: border-box;
}

hr.d-space {
    margin-bottom: 34px;
}

h1 {
    color: #716a5a;
    font-size: 36px;
    /*font-weight: bold;*/
    margin-top: 10px;
}

h2 {
    /*color: #716a5a;*/
    font-size: 22px;
    font-weight: bold;
}

.t-center {
    text-align: center;
}

a {
    cursor: pointer;
    color: #80a1b0;
}

a:hover {
    color: #50B1DD;
}

div.flash {
    padding: 10px;
    margin: 10px 0;
}

div.flash.flash-error {
    color: #dd7250;
    border: solid 1px #dd7250;
}

div.flash.flash-notice {
    color: #80a1b0;
    border: solid 1px #80a1b0;
}

div.flash.flash-success {
    color: #6BCD9B;
    border: solid 1px #6BCD9B;
}

span.blue, i.blue {
    color: #80a1b0;
}

span.red, i.red, b.red {
    color: #dd7250;
}

span.green, i.green {
    color: green;
}

.bg-white {
    background: #fff;
}

.crumbs {
    width: 100%;
    /*position: absolute;*/
    /*top: 5px;*/
    /*border-bottom: dashed 1px;*/
}

.item {
    color: #333;
    font-size: 120%;
}

.item h2 {

    /*color:*/
}

#top-bar {
    width: 100%;
    border-bottom: #ffdc7b solid 8px;
    background: rgba(0, 0, 0, 0.6);
    padding: 0 10px 5px;
    box-sizing: border-box;
}

#top-bar-content {
    position: relative;
    font-size: 14px;
    line-height: 16px;
    padding-top: 3px;
    color: #FFFFCC;
    max-width: 1024px;
    width: 100%;
    margin: 0 auto;

}

#top-bar-content a {
    color: #FFFFCC;
    text-decoration: none;
}

#top-bar .top-bar-address {
    margin-top: 10px;
    font-size: 15px;
    line-height: 18px;
}

#top-bar .top-bar-actions {
    float: right;
    text-align: right;
    font-size: 16px;
    color: #FFF;
    margin-top: 20px;
}

#top-bar .top-bar-actions a {
    color: #FFF;
}

#top-bar .top-bar-actions a:hover {
    color: #dd7250;
}


#top-bar-menu {
    font-size: 18px;
    text-align: right;
    float: none;
    margin-left: auto;
}

#top-bar-menu ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    padding: 0;
    margin: 0;
    list-style: none;
}

#top-bar-menu ul li {
    display: block;
}

#top-bar-menu ul li a {
    display: block;
    color: #FFFFCC;
    font-size: 16px;
    text-decoration: none;
    padding: 1px 0;
    margin-right: 5px;
    border-bottom: 2px solid transparent;
}

#top-bar-menu ul li a:hover {
    color: #dd7250;
    border-bottom-color: #dd7250;
}

#top-bar-menu ul li.active a {
    color: #dd7250;
}

#top-bar-content-address {
    margin-right: 10px;
}

#content {

    max-width: 1050px;
    width: 100%;
    margin: 0 auto;
}

#logo {
    display: block;
    position: absolute;
    right: 37px;
    top: -1px;
    height: 129px;
    max-width: 98px;
    width: 100%;
    background: transparent url("img/logo.png") no-repeat;
}

#top-footer-wrapper {
    background: #333;
    /*height: 170px;*/
    padding: 20px 0 10px 0;
}

#top-footer {
    color: #ffffcc;
    font-size: 12px;
    max-width: 1024px;
    width: 100%;
    margin: 0 auto;
}

.footer-menu {

}

.footer-menu ul {
    padding-left: 5px;
}


.footer-menu, .footer-menu ul {
    list-style: none;
}

.footer-menu li {
    padding-top: 10px;
}

.footer-menu ul li {
    padding: 0;
}

.footer-menu li a {
    color: #ffffcc;
    text-decoration: none;
}

.footer-menu li a:hover {
    text-decoration: underline;
}

.top-footer li a {
    color: #ffffcc;
    text-decoration: none;
}

#bottom-footer {
    font-size: 12px;
    color: #726a5b;
}

#bottom-footer-content-icons a {
    margin-left: 5px;
}

/*From map.php*/

#map a.map-zoom {
    color: #80A1B0;
}

#map {
    width: 100%;
    background: #fff url("img/ajax-loader.gif") no-repeat 50% 50%;
}

#map-wrapper {
    margin: 0 -37px;
}

#map-wrapper, #map {
    height: 350px;
}

#stores {
    min-height: 360px;
}

.store {
    padding: 30px;
}


.store.active p {
    font-size: 18px;
}

.store h2 {
    font-size: 18px;
    color: #726a5b;
}

.store.active h2 {
    font-size: 22px;
    color: #80a1b0;
}

h1.page-header {
    text-align: center;
    margin-bottom: 30px;
    background: #80A1B0;
    font-size: 2em;
    padding: 7px 0;
    color: #fff;
}

.buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    padding: 0 10px;
}

.buttons .icon {
    vertical-align: middle;
}

.buttons .text {
    margin-left: 3px;
    vertical-align: middle;
}

#site-home-link, #site-contact-link, #search-form-collapse-btn {
    display: inline-block;
    white-space: nowrap;
    color: #716a5a;
    line-height: 16px;
    margin-top: 20px;
}

#search-form-collapse-btn {
    margin-left: auto;
}

#search-form-collapse-btn i {
    color: #dd7250;
}

#site-home-link:hover, #site-contact-link:hover, #search-form-collapse-btn:hover {
    color: #50B1DD;
}

#site-contact-link {
    margin-left: 60px;
}

span.icon {
    display: inline-block;
    max-width: 21px;
    width: 100%;
    height: 21px;
    line-height: 21px;
    padding-right: 3px;
    box-sizing: content-box;
}

span.icon-gear {
    background: url("img/icon-gear.png") no-repeat left center;
}

span.icon-cloud {
    background: url("img/icon-cloud.png") no-repeat left center;
}

span.icon-star {
    background: url("img/icon-star.png") no-repeat left center;

}

span.icon-cart {
    background: url("img/icon-cart.png") no-repeat left center;
    max-width: 34px;
    width: 100%;
    height: 30px;
}

span.icon-mapmarker {
    display: inline-block;
    max-width: 18px;
    width: 100%;
    height: 25px;
    /*    line-height: 21px;*/
    padding-right: 3px;
    background: url("img/icon-mapmarker.png") no-repeat;
}

span.icon-mapmarker-small {
    display: inline-block;
    max-width: 12px;
    width: 100%;
    height: 16px;
    padding-right: 3px;
    background: url("img/icon-mapmarker-small.png") no-repeat;
}

span.icon-arrowcrumbs {
    display: inline-block;
    max-width: 27px;
    width: 100%;
    height: 9px;
    /*line-height: 21px;*/
    margin: 0 10px;
    background: url("img/icon-arrowcrumbs.png") no-repeat;
}

.portlet {
    line-height: 21px;
    vertical-align: top;
}

.portlet-title {
    margin-bottom: 10px;
}


.banner-insignia {
    position: relative;
    border-top: solid 8px #ffffcc;
    height: 210px;
    background: #fff url("img/car-insignia.gif") no-repeat 85% 100%;
}

.banner-insignia a.text {
    font-size: 46px;
    font-style: italic;
    color: #dd7250;
    margin: 20px 0 0 120px;
    text-decoration: none;
    display: block;
}

.banner-insignia a:hover {
    text-decoration: underline;
}

.banner-insignia .logo-small {
    position: absolute;
    right: 20px;
    top: 0px;
}

a.logo-small {
    display: block;
    background: url("img/logo-small.gif") no-repeat;
    max-width: 52px;
    width: 100%;
    height: 71px;
}


#buttons {
    margin: 10px 30px;
}

a.btn-circle {
    display: inline-block;
    cursor: pointer;
    background: url("img/icon-circle-map.png");
    max-width: 47px;
    width: 100%;
    height: 47px;
    text-decoration: none;
    margin-right: 10px;
    text-align: center;

}

a.btn-circle span {
    line-height: 47px;
    vertical-align: middle;
    font-size: 24px;
    color: #fff;
}

a.btn-circle:hover span {
    color: #ffdc7b;
}

a.btn-circle.active {
    color: #ffffcc;
    cursor: pointer;
    background: url("img/icon-circle-map-active.png");
    max-width: 59px;
    width: 100%;
    height: 59px;
}

a.btn-circle.active span {
    line-height: 59px;
    vertical-align: middle;
    margin-top: 7px;
    font-size: 30px;
}

a#all span {
    font-size: 18px;
}

a#all.active span {
    font-size: 24px;
}

.list-view ol {
    list-style: none;
    padding: 15px 0;
}

.list-view ol li.left-col {
    clear: left;
    float: left;
}

.list-view ol li.left-col {
    clear: right;
    float: right;
}


.post-preview {
    max-width: 290px;
    width: 100%;
    overflow: hidden;
    background: #f4ecd7;
    margin-right: 10px;
    margin-bottom: 30px;
}

.post-preview p {
    padding: 15px 15px 0px 15px;
}

.post-preview .sale-item {
    position: relative;
}

span.icon-circle-persent {
    position: absolute;
    left: 0;
    top: 0;
    background: transparent url("img/icon-circle-persent.png") no-repeat left top;
    display: block;
    max-width: 46px;
    width: 100%;
    height: 46px;
}

.post-preview .price {
    color: #666;
    text-align: right;
    font-size: 24px;
}

.post-preview .social, .post-preview:hover .social {
    padding-top: 5px;
    background: #fff;
}

.post-preview:hover .social {
    background: #fff;
}

.post-preview .social .shareBtn {
    display: inline;
    float: right;
    margin-right: 3px;
}

.post-preview .date {
    color: #aaa;
    text-align: right;
    margin-bottom: 5px;
}

.post-preview .nav {
    padding: 0 10px 10px 10px;
}

.post-preview .title a {
    display: block;
    padding: 5px 10px;
    text-decoration: none;
    font-size: 20px;
}


.post-preview:hover {
    background: #4d7386;
}

.post-preview:hover, .post-preview:hover a {
    color: #fff;
}

.post {

}

.post .nav {
    margin-top: 10px;
    font-size: 80%;
}

.post .content p {
    margin-bottom: 1em;
}

.post .date {
    color: #aaa;
    text-align: right;
    margin-bottom: 15px;
}

.post .gallery {
    margin: 20px 0;
}

.post .gallery a img {

    z-index: -1;
}


.mce-content-body.post {
    max-width: 630px;
    width: 100%;
    padding: 0 20px;
}

.mce-abs-layout {

}


.gallery a {
    display: block;
    float: left;
    margin: 3px;
    position: relative;
    overflow: visible;
    transition: background-color 0.4s;
}


.gallery a:hover {
    background: #000 url("img/icon-zoom.png") no-repeat center center;
}

.gallery a:hover:after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: inherit;
    opacity: 0.7;
    filter: progid:DXImageTransform.Microsoft.Alpha(opacity=70);
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(opacity=70)";
    content: "";

}

.post .social .shareBtn {
    display: inline;
    float: left;
    margin-right: 3px;
}

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

ul.last-posts li {
    margin-bottom: 10px;
}

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

ul.popular-posts li {
    margin-bottom: 20px;
}

ul.popular-posts li a {
    font-size: 14px;
    text-decoration: none;
    display: block;
    padding: 15px 25px 15px 10px;
    transition: color 0.3s;
    background: #f4ecd7 url("img/icon-arrow-right.png") no-repeat right center;
    border-right: 5px solid transparent;
}

ul.popular-posts li a:hover {
    display: block;
    background: #4d7386 url("img/icon-arrow-right-hover.png") no-repeat right center;
    color: #fff;

}


/*
        ============== INDEX =================
*/

#index-title {
    max-width: 300px;
    width: 100%;
}

#index-title h1 {
    font-size: 29px;
    color: #726a5b;
    font-weight: bold;
}

#index-title h1 span {
    color: #ffdc7b;
}

#index-header-sales {
    text-align: center;
    color: #dd7250;
    text-transform: uppercase;
}

#index-about {
    font-size: 90%;
}

#main-nav {
    background: #486573;
    margin: 0 -37px 30px;
    padding: 20px 0;
}

#main-nav .nav-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0 auto 25px;
    max-width: 1020px;
    width: 100%;
}

#main-nav .nav-row .nav-cell {
    position: relative;
    max-width: 170px;
    width: 100%;
    text-align: center;
    margin-top: 60px;
}

.nav-cell a.primary-link {

    display: block;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #FFFFCC;
    text-decoration: none;
}

.nav-cell a.primary-link:hover {
    text-decoration: underline;
    color: #FFDC7B;
}


.nav-cell ul {
    position: absolute;
    /*list-style-image:none;*/
    list-style-position: outside;
    list-style-type: none;

    max-width: 220px;
    width: 100%;

    padding: 5px 0px 0px 0px;
    left: -10000px;
    z-index: 999;
}

.nav-cell ul li {
    line-height: 1;
}

.nav-cell.over ul {
    left: -25px;
    text-align: left;


    /*background: #ff8262;*/
}

.nav-cell.over ul li {
    border: 2px solid #ffcc99;
    border-top: none;
    border-bottom: none;
    /*        background-color: #EEE;*/
    /*        border-right: 1px solid #333;
            border-left: 1px solid #333;*/

}

.nav-cell.over ul li a {
    display: block;
    text-decoration: none;
    background-color: #fff;
    color: #000;
    padding: 10px 15px 10px 10px;
    border: 1px solid #ebebeb;
    background-image: url("img/arrow-menu.gif");
    background-position: 98% 50%;
    background-repeat: no-repeat;
}

.nav-cell.over ul li a:hover {
    background-image: url("img/arrow-menu-hover.gif");
    background-color: #f8f6f6;
    color: #cc6666;
}

.nav-cell.over ul li.first-child {
    /*padding-top: 10px;*/
    border-top: 2px solid #ffcc99;

}

.nav-cell.over ul li.last-child {
    border-bottom: 2px solid #ffcc99;


}

span.cat-icon {
    border-radius: 100%;
    display: inline-block;
    max-width: 58px;
    width: 100%;
    height: 58px;
    margin-bottom: 5px;
    background-position: left center;
    background-repeat: no-repeat;
    background-image: url("img/cat-icons.png");
}

/*.nav-cell:hover a span.cat-icon {
    background-position-y: -58px;
}*/


span.cat-icon.vnutrennie {
    background-position: 0px 0px;
}

.nav-cell:hover a span.cat-icon.vnutrennie {
    background-position: 0px -78px;
}

span.cat-icon.podveska {
    background-position: -58px 0px;
}

.nav-cell:hover a span.cat-icon.podveska {
    background-position: -58px -78px;
}

span.cat-icon.toplivo-i-vyhlop {
    background-position: -116px 0px;
}

.nav-cell:hover a span.cat-icon.toplivo-i-vyhlop {
    background-position: -116px -78px;
}


span.cat-icon.tormoznaja-sistema {
    background-position: -174px 0px;
}

.nav-cell:hover a span.cat-icon.tormoznaja-sistema {
    background-position: -174px -78px;
}

span.cat-icon.masla {
    background-position: -232px 0px;
}

.nav-cell:hover a span.cat-icon.masla {
    background-position: -232px -78px;
}

span.cat-icon.kuzov {
    background-position: -290px 0px;
}

.nav-cell:hover a span.cat-icon.kuzov {
    background-position: -290px -78px;
}

span.cat-icon.elektrika {
    background-position: -348px 0px;
}

.nav-cell:hover a span.cat-icon.elektrika {
    background-position: -348px -78px;
}

span.cat-icon.aksessuary {
    background-position: -406px 0px;
}

.nav-cell:hover a span.cat-icon.aksessuary {
    background-position: -406px -78px;
}

span.cat-icon.transmissiya {
    background-position: -464px 0px;
}

.nav-cell:hover a span.cat-icon.transmissiya {
    background-position: -464px -78px;
}

span.cat-icon.klimat {
    background-position: -522px 0px;
}

.nav-cell:hover a span.cat-icon.klimat {
    background-position: -522px -78px;
}

span.cat-icon.dvigatel {
    background-position: -580px 0px;
}

.nav-cell:hover a span.cat-icon.dvigatel {
    background-position: -580px -78px;
}

.nav-cell ul:before {
    content: "";
    display: block;
    height: 18px;
    background: url("img/icon-red-point.png") no-repeat center top;
}

.similar-item-wrapper {
    margin-bottom: 30px;
}

.similar-item {
    margin-right: 20px;
    margin-bottom: 10px;
    overflow-wrap: break-word;
    display: block;
    position: relative;
    text-decoration: none;
    max-width: 160px;
    width: 100%;
    border: 1px solid #000;
    border-radius: 4px;
    padding: 20px;
    float: left;
    color: inherit;
    transition: 0.3s;
    background-color: #FFFFE2;
}

.similar-item:hover {
    background-color: #FFFFCD;

}

.similar-item-header {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}

.similar-item-header small {
    color: #666;
    font-size: 12px;
}

.similar-item-price {
    font-size: 16px;
}

.ui-widget-overlay {
    opacity: .8 !important;
}

.gallery img {
    width: 100%;
}

.tables {
    display: flex;
    width: 100%;
}

.top-bar-row {
    display: flex;
}

.about-car-1 {
    margin: -50px;
}

#ContactForm_content {
    max-width: 600px;
    width: 100%;
}

@media screen and (max-width: 940px) {
    .banner-insignia {
        background: none;
    }

    .banner-insignia a.text {
        margin-left: 10px;
    }

    #index-title h1 {
        margin-top: 20px;
    }

    .special-offers {
        margin: 0 auto;
        float: none;
    }

    .last-news {
        margin: 20px auto 0;
        float: none;
        clear: both;
        padding: 0;
    }

    #logo {
        right: 0;
    }
}

@media screen and (max-width: 768px) {
    .footer-nav {
        display: none;
    }

    .addresses {
        display: flex;
        flex-wrap: wrap;
    }

    .footer-width {
        max-width: 100%;
        padding: 0;
    }

    .the-plashka .phone {
        display: block;
        width: 100%;
    }
}

@media screen and (max-width: 540px) {
    #top-bar-menu {
        margin-top: 10px;
    }

    .banner-insignia a.text {
        font-size: 26px;
    }

    .special-offers {
        text-align: center;
    }

    .special-offers .span-6 {
        margin: 0 auto;
        float: none;
    }

    .socials {
        margin: 0 auto;
        max-width: unset;
        text-align: center;
    }

    .copyright {
        margin-top: 20px;
    }

    .grid-view table.items {
        display: block;
        overflow: scroll;
    }

    .tables {
        flex-wrap: wrap;
    }

    .filter {
        max-width: 100%;
    }

    .top-bar-row {
        flex-direction: column;
        margin-top: 20px;
    }

    .top-bar-row:first-child {
        margin: 0;
    }

    .top-bar-row > * {
        margin-top: 10px;
    }

    #srch-btn {
        margin-top: 10px;
    }

    .hint {
        margin-top: 10px;
    }

    .about-car-1 {
        margin-top: 0;
    }

    .addresses {
        flex-direction: column;
        align-items: center;
    }

    .addresses > * {
        max-width: 100%;
    }

    .post-preview {
        margin: 0 auto 30px;
        clear: both !important;
        float: none !important;
    }
}

@media screen and (max-width: 380px) {
    .banner-insignia a.text {
        font-size: 18px;
    }
}