body {
    background: #ebebeb;
    font-family: 'Roboto', sans-serif;
    min-width: auto !important;
}
img {
    max-width: 100%;
}

h2 {
    font-size: 18px;
    font-weight: 700;
    line-height: normal;
}
h3 {
    font-size: 16px;font-weight: 700;
    line-height: normal;
}
a, span, div, li, ul, p, small, strike, strong, sub, sup, b, u, i, center, label {
    font-family: 'Roboto', sans-serif !important;
    font-size: 16px;
}

header {
    background: #fff;
    padding: 8px 0 20px 0;
    -webkit-box-shadow: 0 2px 3px 0px rgba(220,220,220,1);
    -moz-box-shadow: 0 2px 3px 0px rgba(220,220,220,1);
    box-shadow: 0 2px 3px 0px rgba(220,220,220,1);
    margin-bottom: 15px;
}

.block {
    width: 100%;
    float: left;
}

.special_photo {
    float: left;
    width: 100%;
    /*display: none;*/
}
.s_photo {
    margin-top: 20px;
    background: #fff;
    padding: 8px;
    border-radius: 2px;
    float: left;
    max-width: 100%;
    /*display: none;*/
}

.pr0 {
    padding-right: 0;
}
.breadcrumbs {
    float: right;
}

.breadcrumbs a {
    font-size: 14px;;
}

#content {
    background: #fff;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    padding: 30px;
    float: left;
    width: 100%;
    margin-top: 25px;
}

.cnt {
    background: #fff;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    padding: 30px;
    float: left;
    margin-top: 25px;
}

#content #advert #title {
    font-size: 30px;
    font-weight: 700;
    color: #000;
    position: relative;
    padding-bottom: 20px;
    margin-bottom: 30px;
    margin-top: 0;
    display: inline-block;
}

#content h1, .cnt h1 {
    font-size: 30px;
    font-weight: 700;
    color: #000;
    position: relative;
    padding-bottom: 20px;
    margin-bottom: 30px;
    margin-top: 0;
    display: inline-block;
    line-height: normal;
}

#content h1:after, .cnt h1:after {
    content: '';
    display: block;
    height: 1px;
    width: 70px;
    background: #f0b000;
    position: absolute;
    bottom: 0px;
    left: 0;
}

#content #advert #price {
    margin-top: 5px;
    float: right;
    line-height: 31px;
    background: #f0af00;
    font-size: 22px;
    font-weight: 700;
    display: inline-block;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    padding: 0 15px;
    color: #000;
}

#content ul, .cnt ul {
    padding-left: 0px;
    margin-bottom: 25px;

}

#content ul li, .cnt ul li {
    background-image: url('/includes/images/li.png');
    background-repeat: no-repeat;
    background-position: left 5px;
    margin-bottom: 8px;
    line-height: 1.6em;
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
    list-style: none;
    padding-left: 28px;
}

#content ul li span, .cnt ul li span {
    line-height: 1.6em;
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
}

#content p, .cnt p {
    font-size: 16px;
    line-height: 1.6em;
}
.har {
    font-size: 18px;
    font-weight: 700;
    color: #333;
}

#text table td {
    color: #333;
    font-size: 16px;
    padding: 0 !important;
    border: none;
    line-height: 26px;
    font-family: 'Roboto', sans-serif;
    border: none;
}
#text table tr {
    border:none;
}
.mesto {
    padding: 20px 0;
    border-top: solid 1px #e6e6e6;
    border-bottom: solid 1px #e6e6e6;
    margin-bottom: 20px;
}

.more_description {
    width: 100%;
    float: left;
    margin-top: 5px;
    font-size: 16px;
    line-height: 24px;
    color: #333;
}
#content .mesto p {
    font-size: 16px;
    color: #333;
    line-height: 20px;
}

#title:after {
    content: '';
    display: block;
    height: 1px;width: 70px;
    background: #f0b000;
    position: absolute;
    bottom: 0px;
    left: 0;
}
#content #advert #photo {
    margin-top: 0;
    width: 525px;
    height: auto;
    float: left;
    margin-left: 0;
    margin-bottom: 20px;
}

#adverts_thumb_block {
    float: left;
}
#content #advert #photo .preview img {
    display: block;
    width: auto;
    height: 70px;
    padding: 2px;
    margin-bottom: 7px;
    cursor: pointer;
    float: left;
    opacity: 1;
    margin-right: 6px;
    margin-top: 10px;
}

.slide_wrap {
    width: 10000px;
    position: relative;
    left: 0;
}

.slider {
    width: 100%;
    overflow: hidden;
}

.slide_wrap .thumb_advert {
    width:290px;
}
#content #adverts_thumb_block .sub, .sub {
    display: block;
    margin-bottom: 25px;
    font-size: 24px;
    margin-top: 25px;
}

.slide_wrap .clear {
    clear: none;
}
#content #advert #photo .main_img img {
    display: block;
    width: 100%;
    height: auto;
}

#content #advert #text {
    display: block;
    width: 285px;
    height: auto;
    float: left;
    margin-right: 0;
    padding-left: 25px;
}
#content #advert #photo .preview img:hover {
    display: block;
    width: auto;
    height: 70px;
    padding: 2px;
    margin-bottom: 7px;
    cursor: pointer;
    float: left;
    opacity: 1;
    margin-right: 6px;
    margin-top: 10px;

}
#content #advert #photo .preview img.active {
    background: #f0af00;
}

#content #advert #photo .preview {
    width: 100%;
    height: auto;
    float: left;
}
#content #advert #photo .main_img {
    float: left;
    width: 100%;
    height: auto;
    cursor: pointer;
}
.back_search {
    font-size: 14px;
    border-bottom: solid 1px #e5d2d6;
    text-decoration: none;
    color:#781c31;
    background: none;
    padding: 0;
}
.back_search_bg {
    background: url('/includes/images/arrow-bread.png') left center no-repeat;
    height: auto;
    display: inline-block;
    width: auto;
    padding: 0 0 0 20px;
}

header a.btn, #filter #show.btn {
    color: #fff;
    background-color: #771d31;
    width: 270px;
    max-width: 100%;
    line-height: 48px;
    background-image: url(/includes/images/zoom.png);
    background-position: 30px 50%;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    padding: 0;
    text-align: left;
    padding-left: 70px;
    background-repeat: no-repeat;
    font-size: 16px;
    text-transform: uppercase;
}

#filter #show.btn {
    background-image: none;
    height: auto;
    padding-left: 0;
    text-align: center;
    float: right;
    margin-right: 15px;
    margin-top: 5px;
}

a.btn:hover {
    background-color: #a23e54;
    color: #fff;
}

#filter .wrap {
    padding: 0;
}

#filter {
    background: #fff;
    -webkit-box-shadow: 0 2px 3px 0px rgba(220,220,220,1);
    -moz-box-shadow: 0 2px 3px 0px rgba(220,220,220,1);
    box-shadow: 0 2px 3px 0px rgba(220,220,220,1);
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    padding: 20px;
    color: #555555;
    margin-bottom: 25px;
    margin-top: 35px;
}

.all_select {
    width: 100%;
}

.all_select .select {
    width: 100%;
    overflow: hidden;
    background: none;
    border: solid 1px #D3D3D3;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    padding-left: 14px;
    font-size: 16px;
    color: #333;
}

#filter label {
    color: #000;
}
#extension_search {
    display: block;
}

.show_more {
    display: block;
    margin: 15px auto;
    width: 190px;
    line-height: 48px;
    height: 47px;
    background: #fff;
    font-size: 16px;
    text-transform: uppercase;
    color: #781c31;
    text-align: center;
    padding-left: 30px;
    background-image: url(/includes/images/show_more.png);
    background-position: 10px 50%;
    background-repeat: no-repeat;
    cursor: pointer;
    box-shadow: 0 2px 3px 0px rgba(220,220,220,1);

}

.show_more:hover {
    -webkit-transform: translate3d(0, -2px, 0);
    -moz-transform: translate3d(0, -2px, 0);
    -ms-transform: translate3d(0, -2px, 0);
    -o-transform: translate3d(0, -2px, 0);
    transform: translate3d(0, -2px, 0);
    -webkit-box-shadow: 0 2px 5px  0 rgba(0,0,0,0.2);
    -moz-box-shadow: 0 2px 5px  0 rgba(0,0,0,0.2);
    box-shadow: 0 2px 5px  0 rgba(0,0,0,0.2);

}
#overlay {
    /*display: block !important;*/
}
a#search_link {
    display: none;
}

#extension_search #colors {
    display: flex;
    float: left;
    margin-right: 4px;
    margin-bottom: 10px;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

#colors > span {
    display: block;
    float: left;
}
#colors span input {
    display: none !important;
}
#colors span label {
    width: 40px;
    height: 40px;
    display: inline-block !important;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    border: solid 1px #d6d6d6;
    -webkit-box-shadow: inset 0px 0px 0px 3px #fff;
    -moz-box-shadow: inset 0px 0px 0px 3px #fff;
    box-shadow: inset 0px 0px 0px 3px #fff;
}

#colors span:hover {
    background: none;
}

#colors span:hover > label, #colors span input:checked + label {
    border-color: #771d31;
}
.all_select .select .select_value {
    font-size: 16px;
    margin: 0;
    cursor: pointer;
}

.frame {
    width: 98%;
    border: solid 1px #f0af00;
    line-height: 45px;
    height: 45px;
    padding: 0 30px;
    transform:skew(-30deg);
    margin-top: 2px;
}

.frame span {
    position: absolute;
    transform:skew(30deg);
    top: 14px;
}
span.nomer {
    left:50px;
}
span.nomer a {
    color: #000;
}
span.nomer a:hover {
    text-decoration: none;
}
span.nomer:before {
    background: url(/includes/images/phone_icon.png) left center no-repeat;
    content: '';
    display: block;
    width: 16px;
    height: 16px;
    left: -25px;
    top: -1px;
    position: absolute;
}
span.nomer i {
    font-size: 24px;
    font-weight: 900;
}
.free_call {
    right: 20px;
    text-transform: uppercase;
}
.c_form {
    margin-top: 25px;
    position: relative;
    top: 0;
    left: 0;
    font-size: 16px;
    width: 373px;
    max-width: 100%;
    padding: 20px;
    border: none;
    background: url(/includes/images/popup_bg.png);
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    -ms-border-radius: 2px;
    border-radius: 2px;
    font-family: 'Roboto', sans-serif;
    background-size: cover;
}

.cuted a {
    cursor: default;
}
.c_form span, .c_form a {
    font-size: 12px !important;
    text-transform: none;
}

.image_block {
    margin-top: 20px;
    /*background: #fff;
    padding: 8px;
    border-radius: 2px;*/
    float: left;
    width: 100%;
}

.pop_title {
    font-size: 20px;
    color: #fff;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
}

.pop_title:after {
    content: '';
    display: block;
    position: absolute;
    width: 70px;
    height: 1px;
    background: #fff;
    left:0;
    bottom:-8px;
}

.autocompleter {
    color: transparent;
    position: absolute;
    width: 100%;
    left: 0;
    height: 33px;
    top: 21px;
}

.autocompleter:hover {
    color:transparent !important;
    background: transparent !important;
}

#extension_search #shops .selectWrap {
    width: 100%;
}
#extension_search .select_value {
    width: 100%;
    overflow: hidden;
}

.left_border, .right_border {
    display: none;
}

.all_select .select .linkArrow {
    background-image: url(/includes/images/select_arr.png);
    width: 11px;
    height: 7px;
    right: 8px;
    top: 13px;
}

.all_select .selectWrap, #shops_nav .all_select .selectWrap {
    width: 100%;
    border: none;
    box-shadow: 0 10px 30px 0 rgba(0,0,0,0.25);
    top: 35px;
}

.z10 {
    z-index: 10 !important;
}

/*Скроллбар*/
.all_select .selectWrap::-webkit-scrollbar-track
{
    border-radius: 2px;
    background-color: #ebebeb;
}

.all_select .selectWrap::-webkit-scrollbar
{
    width: 8px;
    background-color: #F5F5F5;
}

.all_select .selectWrap::-webkit-scrollbar-thumb
{
    border-radius: 2px;
    background-color: #7b1d32;
}
/*Скроллбар конец*/

.all_select .selectWrap .selectItem, #shops_nav .all_select .selectWrap .selectItem {
    font-size: 14px;
    padding-left: 25px;
}
#middle .all_select .selectWrap div:hover.selectItem,
#middle .all_select .selectWrap a:hover.selectItem,
#filter .all_select .selectWrap div:hover.selectItem, #shops_nav .all_select .selectWrap > div:hover,
#filter .all_select .selectWrap a:hover {
    background-color:#ebebeb;
}

.control_top {
    float: left;
    width: 100%;
    margin-bottom: 20px;
}

.thumb_advert {
    margin-bottom: 30px;
}
.thumb_advert img {
    width: 100%;
    margin-bottom: 20px;
}
.list_advert img {
    float: left;
    width: 260px;
    margin-bottom: 0;
    margin-right: 15px;
}

.thumb_advert > a {

}

.thumb_advert > a:hover {
}

.inside_advert {
    display: block;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    background: #fff;
    overflow: hidden;
    padding-bottom: 20px;
    -webkit-transition: ease-in-out 0.3s;
    -moz-transition: ease-in-out 0.3s;
    -ms-transition: ease-in-out 0.3s;
    -o-transition: ease-in-out 0.3s;
    transition: ease-in-out 0.3s;
}

.inside_advert a {
    text-decoration: none;
}

.inside_advert:hover {
    text-decoration: none;
    box-shadow: 0 10px 30px 0 rgba(0,0,0,0.25);
    -webkit-transition: ease-in-out 0.3s;
    -moz-transition: ease-in-out 0.3s;
    -ms-transition: ease-in-out 0.3s;
    -o-transition: ease-in-out 0.3s;
    transition: ease-in-out 0.3s;
}


.list_advert > a {
    display: block;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    background: #fff;
    overflow: hidden;
    padding-bottom: 0px;
    padding-right: 15px;
    -webkit-transition: ease-in-out 0.3s;
    -moz-transition: ease-in-out 0.3s;
    -ms-transition: ease-in-out 0.3s;
    -o-transition: ease-in-out 0.3s;
    transition: ease-in-out 0.3s;
}


.price {
    margin-left: 20px;
    line-height: 31px;
    background: #f0af00;
    font-size: 16px;
    font-weight: 700;
    display: inline-block;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    padding: 0 5px;
    color: #000;
    margin-bottom: 15px;
}

.list_advert .price {
    float: right;
    margin-top: 15px;
    font-size: 20px;
    padding: 0 15px;
}
.description, .model {
    padding-left: 20px;
    font-size: 14px;
    color: #666;
    line-height: 1.5em;
}

.model {
    font-size: 16px;
    color: #333;
    font-weight: 700;
    margin-bottom: 10px;
}

.list_advert .model {
    margin-top: 15px;
}
.thumb_advert > a span {
    font-size: 14px;
    color: #fff;
    background-color: #771d31;
    float: right;
    line-height: 31px;
    margin-right: 15px;
    padding: 0 4px;
    text-decoration: none;
    border-radius: 3px;
}

.thumb_advert > a span:hover {
    color:#fff !important;
    background-color: #802539;
}
.list_advert > a span {
    float: right;
}


.thumb_advert > a span:hover {
    color: #333;
    text-decoration: none;
}

#city {
    position: absolute;
    top: 0;
}
div#city span {
    color: #666;
}
div#city #city_choice {
    border-bottom: 1px dashed #777;
    cursor: pointer;
}
#filter_kpp {
    width: 100%;
}
#filter_kpp select {
    margin-top: 8px;
    border-color: #d6d6d6;
    border-radius: 2px;
    width: 100%;
    height: 35px;
    padding-left: 10px;
    cursor: pointer;
}

#filter_type .select_value {
    background: none;
    padding: 0;
    font-size: 16px;
    line-height:33px;
    font-family: inherit;
    height: 33px !important;
}

#filter #filter_type .select, .all_select .select {
    height: auto;
    background: #fff;
    width: 100% !important;
}

#filter_type .linkArrow {
    top: 15px;
}

#filter_type .selectWrap, #shops_nav .all_select .selectWrap {
    width: 100%;
    left: 0px;
    padding-top: 0px;
    margin-top: 0;
}
#filter_type #type_2, #filter_type #type_5 {
    height: 33px;
    line-height: 33px;
    padding-top: 0;
}
#filter_type .selectWrap > div {
    background: none !important;
}
#filter_type .selectWrap > div:hover {
    background-color: #ebebeb !important;
}

#filter_type .selectItem {
    font-size: 16px;
    line-height: 33px;
    font-family: inherit;
    padding: 0 0 0 15px;
}

#filter #filter_type, .all_select {
    height: auto;
    margin-top: 8px;
    width: 100% !important;
    position: relative;
    z-index: 7;
}

.all_input {
    width: 50%;
    height: auto;
    position: relative;
    float: left;
    z-index: 2;
    margin-top: 15px;
    border: solid 1px #ccc;
    border-radius: 2px;
}

#filter .all_select {
    margin-top: 15px;

}
.all_input:first-child {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right: none;
}
.all_input:last-child {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
#filter_mark, #filter_model {
    margin-top: 15px;
}

.all_input .input {
    width: 100%;
    height: auto;
    position: relative;
    float: left;
    background: none;
    line-height: 33px;
    text-align: left;
    z-index: 16;
}

.all_input input {
    font-size: 16px;
    line-height: 33px;
    font-family: inherit;
    padding-left: 15px;
    border: none;
    color: #000;
    margin-top: 7px;
    width: 100%;
}

#filter #year_from .select, #filter #year_to .select {
    width: 100%;
}

#filter #status {
    color: #555;
    font-size: 16px;
    width: 100%;
    text-align: left;
    margin-left: 0;
    margin-top: 15px;
}

#filter label.is_private {
    padding-left: 30px;
    font-size: 16px;
    color: #555;
    line-height: 33px;
    margin: 15px 0 0;
    position: relative;
    display: block;
    float: left;
}

#filter label.is_private:before {
    width: 20px;
    height: 20px;
    display: block;
    position: absolute;
    border:solid 1px #CCCCCC;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    content: '';
    left: 0px;
    top: 7px;
    background-image: none;
}
#filter input[type=checkbox]:checked + label:before {
    background-image: url(/includes/images/checked.png);
}

.private_select {
    display: none;
}
#filter label.is_private:hover {
    background: none;
    margin-left: 20px;
    font-size: 16px;
    color: #555;
    line-height: 33px;
    margin: 15px 0 0;
}

#extension_search span:hover,#filter_kpp span:hover{
    background-color:transparent;
    color:#555;
}

#filter #year_from, #filter #year_to {
    width: 50% !important;
    float: left;
    z-index: 5;
}

.sidebar {

}

.buter {
    width: 100%;
    height: 50px;
    background: url(/includes/images/ddmenu.png) center center no-repeat;
}

.sidebar ul, header ul {
    padding: 0;
    margin: 0;
    margin-bottom: 15px;
    float: left;
    width: 100%;
}
.sidebar ul li, header ul li {
    line-height: 60px;
    height: 60px;
    text-align: left;
    background: #fff;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    margin-bottom: 5px;
    box-shadow: 0 2px 3px 0px rgba(220,220,220,1);
    transition: ease-in-out 0.1s;
}

header ul li {
    display: none;
}

header ul:hover > li {
    display: block;
}

.sidebar ul li:hover {
    transform: translate3d(0,-2px,0);
    box-shadow: 0 2px 8px 0px rgba(0,0,0,0.3);
    transition: ease-in-out 0.1s;
}

.sidebar ul li a, header ul li a {
    padding: 0 0 0 10px;
    font-size: 16px;
    color: #333;
    line-height: 60px;
    text-decoration: none;
    display: inline-block;
}

.sidebar ul li a span, header ul li a span {
    font-size: 16px;
}
.sidebar ul li:hover > a {
    color: #771d31;
    text-decoration: none;
}

.sidebar ul li:hover img {
    /*filter: hue-rotate(180deg);*/
}
.sidebar ul li a img, header ul li a img {
    margin-right: 10px;
}

.banner {
    background: #fff;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    box-shadow: 0 2px 3px 0px rgba(220,220,220,1);
    width: 100%;
    margin: 15px 0;
    padding: 10px;
    float: left;text-align: center;
}
div#footer {
    display: block;
    position: relative;
    width: 100%;
    min-width: unset;
    height: auto;
    background: #fff;
    margin-top: 30px;
}
.ftr {
    background: #781c31;
    height: 95px;
}

.ftr .flex {
    display: flex;
    align-items: center;
    height: 95px;
    justify-content: space-between;
}

.foot_nav {
    padding-top: 65px;
}

.telephone {
    color: #fff;
    font-weight: 700;
    font-size: 24px;
    padding-left: 25px;
    background: url("/includes/images/phone_ico.png") left center no-repeat;
}

.email {
    color: #fff;
    font-weight: 400;
    font-size: 16px;
    padding-left: 25px;
    background: url("/includes/images/mail_ico.png") left center no-repeat;
}

.title_menu {
    font-weight: 700;
    font-size: 18px;
    border-bottom: solid 1px #f0b000;
    margin-bottom: 20px;
}

.info_menu .title_menu {
    border: none;
}

.info_menu {
    padding-left: 75px;
}

.foot-menu ul {
    width: 50%;
    float: left;
    padding-left: 0;
    font-size: 16px;
}
.foot-menu ul li {
    line-height: 1.5em;
    padding: 0px 0 8px;
}
.foot-menu ul li a {
    border-bottom: solid 1px #e5d2d6;
    text-decoration: none;
    color:#781c31;
    font-size: 16px;
}

.info_menu ul {
    width: 100%;
}

.copyright > div, div#footer div#copyright, div#footer div.sitemap {
    font-size: 16px !important;
    color: #333;
}
div#footer div.sitemap a {
    border-bottom: solid 1px #e5d2d6;
    text-decoration: none;
    color: #781c31;
    font-size: 16px;
    padding: 0;
}

div#footer div#mail_counter {
    display: none;
}

.copyright {
    margin: 50px 0 50px;
}

#sorting {
    float: right;
    width: 200px;
}

div#last_update {
    display: none;
}

div#right div.control_top  a#toggle_thumb {
    display:block;
    float:left;
    height:36px;
    width:36px;
    background-color: #fff;
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
    box-shadow: 0 2px 3px 0px rgba(220,220,220,1);
    background-image: url('/includes/images/thumb.png');
    background-position: center center;
    background-repeat: no-repeat;
    cursor:pointer;
    filter: grayscale(1);
}

div#right div.control_top  a#toggle_thumb:hover, div#right div.control_top  a#toggle_list:hover {
    filter: grayscale(0);
}

div#right div.control_top div.thumb a#toggle_thumb {
    filter: grayscale(0);
}

div#right div.control_top  a#toggle_list {
    display:block;
    float:left;
    height:36px;
    width:36px;
    background-color: #fff;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
    box-shadow: 0 2px 3px 0px rgba(220,220,220,1);
    background-image: url('/includes/images/list.png');
    background-position: center center;
    background-repeat: no-repeat;
    cursor:pointer;
    filter: grayscale(1);
}

div#right div.control_top div.list a#toggle_list {
    filter: grayscale(0);
}

.show_by {
    float: left;
    line-height: 36px;
    margin-left: 30px;
}

.show_by span {
    display: inline-block;
    float: left;
    line-height: 36px;
    margin-right: 15px;
}
a.by {
    font-size: 14px;
    color: #555;
    background: #fff;
    width: 36px;
    line-height: 36px;
    text-align: center;
    display: inline-block;
    float: left;
    text-decoration: none;
    box-shadow: 0 2px 3px 0px rgba(220,220,220,1);
}

a.by:nth-child(2) {
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
}

a.by:last-child {
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
}

a.by:hover, a.by.nowly {
    color: #fff;
    background: #771d31;
    text-decoration: none;
}

.thumb_advert.cuted {
    text-align: center;
}
.thumb_advert.cuted .model {
    text-align: center;
    padding: 0;
    text-transform: uppercase;
}

.thumb_advert.cuted .price {
    margin: 5px auto;
    padding: 0 15px;
}

.showmore {
    overflow: hidden;
    height: 8em;
    position: relative;
}

.showmore.open {
    height: auto;
    overflow: auto;
}

.showmore:before {
    position: absolute;
    display: block;
    content: 'Показать полностью';
    width: 100%;
    height: 50px;
    background: linear-gradient(to top, rgba(255,255,255,1.00) 0, rgba(255,255,255,1.00) 50%, rgba(255,255,255,0.00) 100%);
    bottom: 0;
    text-align: left;
    padding-top: 31px;
    font-size: 14px;
    text-decoration: underline;
    cursor: pointer;
    color: #7b1e32;
}
.showmore.open:before {
    display: none;
}

@media (max-width: 1200px) {
    #extension_search #colors {
        display: block;
    }
    .ftr {
        height: auto;
        padding: 10px 0;
    }
    .ftr .flex {
        display: block;
        height: auto;
        float: left;
        text-align: center;
        width: 100%;
    }
    .ftr .flex > div {
        display: inline-block;
        margin: 5px 0;
    }
    .info_menu {
        padding-left: 15px;
    }
    #content h1 {
        font-size: 20px;
        line-height: normal;
    }

    #content {
        margin-bottom: 20px;
    }
    header {
        text-align: center;
        float: left;
        width: 100%;
    }
    header ul li a {
        padding: 0 0 0 25px;
    }

    header > div > div > div {
        margin: 20px 0;
    }
    .sidebar {
        text-align: center;
    }
    .banner {
        background: #fff;
        -webkit-border-radius: 2px;
        -moz-border-radius: 2px;
        border-radius: 2px;
        box-shadow: 0 2px 3px 0px rgba(220,220,220,1);
        max-width: 100%;
        margin: 15px 5px;
        padding: 10px;
        float: none;
        width: auto;
        text-align: center;
        display: inline-block;
    }
    #shops_list table, #shops_nav {
        width: 100%;
    }
    #shops_list table tr, #shops_nav tr {
        display: block;
        float: left;
        margin-bottom: 15px;
        width: 100%;
    }
    #shops_list td, #shops_nav tr td {
        display: block;
    }
    #shops_navi_city {
        z-index: 5;
    }

    #toggle_view {
        display: none;
    }

    .show_by {
        float: left;
        line-height: 36px;
        margin-left: 0;
        margin-top: 8px;
    }

    .show_by span {
        display: none;
    }
    #sorting {
        float: right;
        width: 165px;
        margin-left: 10px;
    }

    .frame {
        width: 100%;
        border: none;
        line-height: 45px;
        height: auto;
        padding: 0 15px;
        transform:none;
        margin-top: 0;
        text-align: center;
    }

    .frame span {
        position: relative;
        transform:none;
        top: auto;
        display: inline-block;
    }
    span.nomer {
        left:auto;
    }

    span.nomer:before {
        background: url(/includes/images/phone_icon.png) left center no-repeat;
        content: '';
        display: block;
        width: 16px;
        height: 16px;
        left: -25px;
        top: -1px;
        position: absolute;
    }
    span.nomer i {
        font-size: 24px;
        font-weight: 900;
    }
    .free_call {
        right: auto;
        text-transform: uppercase;
    }
    .c_form {
        float: left;
    }
    #content, .cnt {
        padding: 15px;
        margin-top: 0;
    }

    .breadcrumbs, .back_search {
        display: none;
    }
    #content #advert #price {
        margin-bottom: 20px;
    }
    #content #advert #photo {
        max-width: 100%;
    }
    #content #advert #text {
        padding-left: 0;
    }
    #content #adverts_thumb_block .sub, .sub {
        margin-top: 25px;
    }
    .slide_wrap {
        width: 100%;
    }

    .har {
        margin-top: 20px;
    }
    .slide_wrap .thumb_advert {
        width: 50%;
    }
    .pr0 {
        padding-right: 15px;
    }
    .feedback {
        margin: 0 auto;
        width: 300px;
        max-width: 100%;
    }
    #filter #year_from, #filter #year_to {
        z-index: 99;
    }
    #filter #year_from .selectWrap, #filter #year_to .selectWrap {
        width: 100%;
    }
    #body_type, #posted_from, #shops {
        float: left !important;
        margin-bottom: 0;
    }
    #extension_search #body_type {
        margin-bottom: 0;
        z-index: 40;
    }
}

@media (max-width: 768px) {
    .slide_wrap .thumb_advert {
        width: 100%;
    }
}

.YMaps-tile-container, .YMaps-layer, .YMaps-map-type-layer-container {
    width: 100%;
    height: 100%;
}

#filter table.city_list .mm a.city:nth-child(4),#filter table.city_list .mm a.city:nth-child(5), #filter table.city_list .mm a.city:nth-child(6), #filter table.city_list .mm a.city:nth-child(7) {
    display: none !important;
}

.z10 {
    z-index: 10!important;
}
.z9 {
    z-index: 9!important;
}
.z8 {
    z-index: 8!important;
}
.z7 {
    z-index: 7!important;
}
.z6 {
    z-index: 6!important;
}
.z5 {
    z-index: 5!important;
}
.z4 {
    z-index: 4!important;
}
.z3 {
    z-index: 3!important;
}
.z2 {
    z-index: 2!important;
}
.z1 {
    z-index: 1!important;
}

.page_code {
    float: left;
    width: 100%;
    text-align: right;
    margin-top: 35px;
    color:#333;
}

.page_code span {
    font-weight: 700;
    color: #771d31;
}
.get_credit {
    font-size: 14px;
    color: #fff;
    background-color: #771d31;
    float: right;
    line-height: 31px;
    margin-right: 0;
    padding: 0 4px;
    text-decoration: none;
    border-radius: 3px;
}

.get_credit:hover {
    color:#fff;
    text-decoration: none;
}

.popup-credit input[type=submit] {
    padding: 0 15px;
}