/* Dropdown control */
.selectBox-dropdown {
	min-width: 75px;
	position: relative;
	/*border: solid 1px #BBB;*/
	line-height:25px;
	text-decoration: none;
	color: #000!important;
	outline: none!important;
	vertical-align: middle;
	background:url(js/selectBox/jquery.selectBox-bg.gif);  /*  repeat-x top */
	/*background: #F2F2F2;
	background: -moz-linear-gradient(top, #F8F8F8 1%, #E1E1E1 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(1%, #F8F8F8), color-stop(100%, #E1E1E1));
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#F8F8F8', endColorstr='#E1E1E1', GradientType=0);
	-moz-box-shadow: 0 1px 0 rgba(255, 255, 255, .75);
	-webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, .75);
	box-shadow: 0 1px 0 rgba(255, 255, 255, .75);
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;*/
	display: block;
	cursor: default;
}

.selectBox-dropdown:focus,
.selectBox-dropdown:focus .selectBox-arrow {
	/*border-color: #666;*/
}

.selectBox-dropdown.selectBox-menuShowing {
	/*-moz-border-radius-bottomleft: 0;
	-moz-border-radius-bottomright: 0;
	-webkit-border-bottom-left-radius: 0;
	-webkit-border-bottom-right-radius: 0;
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;*/
}

.selectBox-dropdown .selectBox-label {
	margin:0!important;
	padding: 0px 8px;
	display: block;
	white-space: nowrap;
	overflow: hidden;
	background:url(js/selectBox/jquery.selectBox-left.gif) no-repeat left top;
}

.selectBox-dropdown .selectBox-arrow {
	position: absolute;
	bottom: 0;
	right: 0;
	width: 23px;
	height: 25px;
	background: url(js/selectBox/jquery.selectBox-arrow.gif) 50% center no-repeat;
	/*border-left: solid 1px #BBB;*/
}


/* Dropdown menu */
.selectBox-dropdown-menu {
	position: absolute;
	z-index: 99999;
	max-height: 200px;
	border: solid 1px #BBB; /* should be the same border width as .selectBox-dropdown */
	background: #FFF;
	/*-moz-box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
	-webkit-box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
	box-shadow: 0 2px 6px rgba(0, 0, 0, .2);*/
	overflow: auto;
}


/* Inline control */
.selectBox-inline {
	min-width: 75px;
	outline: none;
	border: solid 1px #BBB;
	background: #FFF;
	display: inline-block;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	overflow: auto;
}

.selectBox-inline:focus {
	border-color: #666;
}


/* Options */
.selectBox-options,
.selectBox-options LI,
.selectBox-options LI A {
	list-style: none;
	display: block;
	cursor: default;
	padding: 0;
	margin: 0;
	text-decoration:none;
}

.selectBox-options LI A {
	line-height: 1.5;
	padding: 0 .5em;
	white-space: nowrap;
	overflow: hidden;
	background: 6px center no-repeat;
}

.selectBox-options LI.selectBox-hover A {
	background-color: #EEE;
}

.selectBox-options LI.selectBox-disabled A {
	color: #888;
	background-color: transparent;
}

.selectBox-options LI.selectBox-selected A {
	background-color: #C8DEF4;
}

.selectBox-options .selectBox-optgroup {
	color: #666;
	background: #EEE;
	font-weight: bold;
	line-height: 1.5;
	padding: 0 .3em;
	white-space: nowrap;
}


/* Disabled state */
.selectBox.selectBox-disabled {
	color: #888 !important;
}

.selectBox-dropdown.selectBox-disabled .selectBox-arrow {
	opacity: .5;
	filter: alpha(opacity=50);
	border-color: #666;
}

.selectBox-inline.selectBox-disabled {
	color: #888 !important;
}

.selectBox-inline.selectBox-disabled .selectBox-options A {
	background-color: transparent !important;
}@media screen and (max-width: 775px) {
img {max-width: 100% !important; height: auto !important;}
iframe {max-width: 100% !important;}
textarea, input, button, submit, video, object, embed {max-width: 99% !important;}
table, span, div, ins {max-width: 100% !important;}

body {min-width: 100px !important; background: white !important;}
.bg_bottom {background: none !important;}
.ten-top {background: none !important;}
.ten-bottom {background: none !important; margin-bottom: 0px !important; border: none !important;}
.container {width: auto !important; min-height: 100px !important; margin-top: 0px !important;}
#header {margin: 0 !important; padding: 0 !important; height: 80px !important; display: flex !important; align-items: center !important;}
#header div.h2 {margin: 0 !important; padding: 0 0 0 10px !important; position: static !important; width: 253px !important; height: 49px !important;}

h1, h2, h3 {text-align: left;}

#content > .clear > table {table-layout: fixed !important;}
#content > .clear > table > tbody > tr > td {display: block !important; overflow: hidden !important;  width: auto !important; height: auto !important;}
#content > .clear {padding: 0 10px !important; padding-top: 10px !important;}
#text {width: auto !important;}
#text > ins {text-align: center !important; overflow: auto !important; overflow-y: hidden !important;}
#text .find_auto .br {padding: 10px !important;}
#text .find_auto .br form {height: auto !important;}
#text .find_auto .br form > fieldset > span {margin-left: 0px !important; margin-top: 5px !important; width: auto !important; display: block !important;}
.bn_1 {text-align: center !important; overflow: auto !important; overflow-y: hidden !important;}

#header .bs {top: 3px !important; left: auto !important; right: 10px !important;}
#header .city {top: 33px !important; right: 10px !important;}

#search {margin: 10px !important; height: auto !important; background-size: contain !important;}
#search .br {height: auto !important; padding: 4px 5px 5px 5px !important;}
#mainmenu {height: auto !important;}
#mainmenu ul {text-align: center !important;}
#mainmenu li {float: none !important; display: inline-block !important; vertical-align: top !important;}
#mainmenu li a {height: 20px !important; padding: 5px 10px 0 10px !important;}
#mainmenu li.selected {margin-top: 0px !important;}
#mainmenu li.selected a {background-size: 100% 100% !important; border-radius: 3px;}
#mainmenu li.selected span {background: none !important; height: auto !important;}
#mainmenu li.selected span span {background: none !important; padding: 0px !important;}

.find_auto {width: auto !important;}

#right {width: auto !important; float: none !important; text-align: center !important;}
#right .hot {text-align: center !important; margin-top: 20px !important;}
#right .hot > a > img {vertical-align: middle;}
#right .hot > form {margin: 10px 0px !important;}
#right .hot > form > fieldset > input[type="text"] {box-sizing: border-box !important;}
#right .menu {text-align: left !important;}
.bn_3 {overflow: hidden !important;}
#yandex_ad {overflow: hidden !important;}
.notices {width: auto !important;}
#vk_groups {margin: auto !important;}

.notices .row-view .sorter, .notices .list-view .sorter {margin-right: 5px !important; margin-bottom: 0px !important;}
.notices .row-view .sorter ul, .notices .list-view .sorter ul {margin: 0px !important;}
.notices .row-view .summary, .notices .list-view .summary {margin-right: 5px !important; margin-left: 0px !important;}
.list-view .sorter li, .notices .row-view .sorter ul li {display: inline-block !important; vertical-align: middle !important; margin-bottom: 5px !important;}

ul.yiiPager li {margin: 2px 0px !important;}

.socialbut {display: block !important; text-align: center !important; padding-bottom: 3px !important;}
.addthis_toolbox {text-align: center !important; float: none !important;}
.addthis_toolbox > a {float: none !important;}

#route .route-block .route-steps {overflow: auto !important;}

.notices .row-view .items {display: block !important; overflow: auto !important;}
.notice-view .images #img {margin-bottom: 3px !important;}
.notices .row-view .item img {width: 100px !important; max-width: 80px !important;}
.notices .row-view .item > span[style*="font-weight:"] {white-space: nowrap !important;}
.notices .row-view .item > span[style*="font-weight:"] + span {white-space: nowrap !important;}
.notices .row-view .item span {padding: 5px !important;}

.notice-view .images, .notice-view .note {display: block !important; width: auto !important; padding-right: 0px !important;}
.notice-view .images {text-align: center !important;}
.notice-view .images ul {text-align: center !important; margin-bottom: 10px !important;}
.notice-view .images ul li {margin: 0 0 0 3px !important; float: none !important; display: inline-block !important; vertical-align: top !important;}
.notice-view .note .title {text-align: center !important;}
.notice-view .note .price {text-align: left !important;}
.notice-view .note .data dt {width: 50% !important;}

.view_image_previews {margin-top: 5px !important; text-align: center !important;}
.view_image_previews .item {margin: 0 5px 5px 5px !important;}
.view_image .arrow.left {left: 0px !important; opacity: 0.7;}
.view_image .arrow.right {right: 0px !important; opacity: 0.7;}

.notice-mm .title {background-size: 100% 100% !important; height: auto !important; margin-bottom: -3px !important; line-height: normal !important; width: 100% !important;}
.notice-mm .title .l {background-size: auto 100% !important; height: auto !important;}
.notice-mm .title .r {background-size: auto 100% !important; height: auto !important; padding: 5px 10px !important;}

.notice-mm .items .bl {padding: 10px !important;}
.notice-mm table {width: 100% !important; display: block !important; overflow: auto !important;}
.notice-mm table > tbody {display: table !important; width: 100% !important;}
.notice-mm table > tbody > tr > td {padding: 0 8px 0 0 !important;}
.notice-mm table > tbody > tr > td:last-child {padding: 0px !important;}

.notices .list-view .items {text-align: center !important; grid-template-columns: 1fr;}
.notices .list-view .items .item {margin-right: 5px !important; margin-left: 5px !important;}
.notices .list-view .items .item .title {max-width: 200% !important; text-align: left !important;}

#subscribe-form input[type="text"] {box-sizing: border-box !important;}

#cities .alph-block .alph-list .alph-region-cities {margin: 10px 0 !important;  padding: 15px !important;}
#cities .alph-block .alph-list .alph-region-cities ul li {width: 100% !important; margin: 5px 0px !important;}

#table-1 {width: 100% !important; display: block !important; overflow: auto !important; height: auto !important;}
#table-1 > tbody {width: 100% !important; display: table !important;}


/* pravo */
.question_search input[type=text] {padding: 0 10px !important; width: 100% !important; max-width: calc(100% - 80px) !important; box-sizing: border-box !important;}
.question_search input[type=submit] {margin-left: 10px !important;}
#text {padding-bottom: 20px !important;}
.question_search {margin-bottom: 20px !important;}
.list-video .note {float: none !important;}
.list-testdrive .note {float: none !important;}
.list-article .note {float: none !important;}
.list-news .note {float: none !important;}
#route .table-block {overflow: auto !important;}
ul.yiiPager {display: block !important;}

#footer {text-align: center !important; margin-top: 20px !important; padding: 10px !important; width: auto !important; background: url('images/mobile-bottom.jpg') !important; background-size: contain !important;}
#footer .copy {position: static !important; padding-top: 10px !important;}
#footer .links {position: static !important; text-align: center !important; margin: 10px 0px !important;}
#footer .links + br, #footer .links + br + br {display: none !important;}
#footer .links a {margin: 3px 5px !important; display: inline-block !important;}
}
@media screen and (max-width: 710px) {
.notices .row-view .sorter, .notices .list-view .sorter {float: none !important; margin-right: 0px !important;}
.notices .row-view .view-type, .notices .list-view .view-type {margin-top: -30px !important;}
}
@media screen and (max-width: 665px) {
.window {position: absolute !important; top: 1% !important; left: 1% !important; margin-left: 0px !important; width: 98% !important; overflow: auto !important; max-height: 98% !important;}
.socialauth {height: auto !important;}
.socialauth, .customauth {padding: 10px !important; width: auto !important; float: none !important; text-align: center !important;}
.socialauth ul li {margin: auto !important; margin-bottom: 10px !important;}
.customauth .row {margin-top: 10px !important;}
.customauth .row.submit + .row {margin-bottom: 0px !important;}
.window .close {right: 10px !important; top: 10px !important;}
}
@media screen and (max-width: 645px) {
#text .find_auto .br label {margin-top: 5px !important; margin-right: 5px !important; width: auto !important; display: block !important; float: left !important; margin-left: 0px !important;}
#text .find_auto .br label:first-child {margin-top: 0px !important;}
#text .find_auto .br fieldset > br {display: none !important;}
#text .find_auto .br form > br {display: none !important;}
#text .find_auto .br fieldset > div {position: static !important; overflow: hidden !important; text-align: center !important; margin-top: 10px !important;}
#text .find_auto .expand {text-align: center !important;}
#text .find_auto .br .selectBox-dropdown {width: 100% !important; box-sizing: border-box !important; margin-top: 3px !important;}
.selectBox-dropdown .selectBox-label {width: auto !important;}
.selectBox-dropdown-menu {box-sizing: border-box;}
#text .find_auto .br select {width: 100% !important; box-sizing: border-box !important;}
#text .find_auto .br form > div {position: static !important; text-align: center !important;}
#text .find_auto .br form input[type="checkbox"] {float: left !important;}
#text .find_auto .br .type_body label {margin-top: 0px !important;}
}
@media screen and (max-width: 620px) {
.add-notice .text, .add-notice .select {width: 100% !important; box-sizing: border-box;}
.selectBox-dropdown {min-width: 50px !important;}
div.form textarea, div.form select {width: 100% !important; box-sizing: border-box;}
.MultiFile-wrap {margin-left: 0px !important; width: 100% !important;}
input#Notice_images {width: 100% !important;}
}
@media screen and (max-width: 535px) {
.notices .row-view .view-type, .notices .list-view .view-type {margin-top: 0px !important;}
.notices .row-view .sorter a, .notices .row-view .sorter a.desc, .notices .list-view .sorter a, .notices .list-view .sorter a.desc {display: block !important;}
.notices .row-view .sorter ul, .notices .list-view .sorter ul {display: block !important; overflow: hidden;}
.list-view .sorter li, .notices .row-view .sorter ul li {margin-left: 0px !important; width: 49% !important; float: left !important; margin-right: 1% !important;}
.list-view .sorter li:nth-child(even), .notices .row-view .sorter ul li:nth-child(even) {width: 50% !important; margin-right: 0px !important;}
.notices .row-view .sorter a, .notices .row-view .sorter a.desc, .notices .list-view .sorter a, .notices .list-view .sorter a.desc {padding: 0 10px 0 10px !important; white-space: nowrap;}
}
@media screen and (max-width: 520px) {
.selectBox-dropdown {width: 100% !important; box-sizing: border-box;}
#header .city {width: 170px !important;}
.selectBox-dropdown .selectBox-label {box-sizing: border-box !important;}
}
@media screen and (max-width: 500px) {
#route .info-block > table > tbody > tr > td {display: block !important; width: auto !important;}
#route .fuel-block label {width: auto !important; min-width: 170px !important; text-align: left !important;}
}
@media screen and (max-width: 470px) {
.selectBox-dropdown, #header .city {width: 120px !important;}
}
@media screen and (max-width: 450px) {
#route form .row {margin-bottom: 5px !important;}
#route .fuel-block label {min-width: 10px !important;}
#route .fuel-block input[type=text] {width: 100% !important; box-sizing: border-box;}
#route .fuel-block span {float: right !important; margin-right: 5px !important; height: auto !important; line-height: normal !important;}
#route .fuel-block hr {margin-bottom: 5px !important;}
}
@media screen and (max-width: 440px) {
.notice-mm table > tbody > tr > td a img {width: 73px !important; max-width: 73px !important; height: 55px !important;}
.notice-mm table > tbody > tr > td {box-sizing: border-box !important; width: 82px !important; min-width: 82px !important; max-width: 82px !important;}
}
@media screen and (max-width: 415px) {
#header {display: block !important; height: auto !important; padding: 10px 0 !important;}
#header .bs {position: static !important; text-align: center !important; padding-bottom: 10px !important;}
#header .bs a {display: inline-block !important; margin: 3px 0px !important;}
#header div.h2 {position: static !important; padding: 10px !important; text-align: center !important; margin: 0 auto !important; width: auto !important; max-width: 160px !important; height: auto !important;}
#header div.h2 a {display: block !important; margin: 0 auto !important; width: 100% !important;}
#header div.h2 img {width: 100% !important; height: auto !important; aspect-ratio: 253 / 49;}
#header .city {margin: auto !important; position: static !important; text-align: center !important; padding-bottom: 10px !important;}
.add-notice .text, .add-notice .select {width: 100% !important;}
div.form label {width: auto !important;}
}
@media screen and (max-width: 345px) {
.notices .list-view .items .item {box-sizing: border-box !important; margin-right: 0px !important; margin-left: 0px !important; width: 100% !important;}
.notices .list-view .items .item .title {width: 100% !important; margin-right: 0px !important; margin-left: 0px !important; background: none !important;}
.notices .list-view .items .item .title div {background-size: 100% 100% !important; margin-left: 0px !important; height: auto !important; min-height: 30px !important;}
}
