/* Fast model SELECTOR */
#mselbox{position:relative; box-sizing:content-box; z-index:98;
	-moz-border-radius:10px; -webkit-border-radius:10px; border-radius:10px;
}
#mselcont{height:64px; padding:14px 22px 14px 22px;}
#mselform{padding:10px;}
#mselform select{padding:4px 8px 4px 8px;}
#mselover{left:0px; top:0px; background:#ffffff url('media/loading.gif') center center no-repeat; opacity:0.7; position:absolute; display:none; z-index:888;}
.mselector_year{width:100px;}


.ms-mainlay{ float:left;}
.ms-disabled{ float:left;}
.ms-mainlay .ms-head{ 
	color:#fff;
	background: #2c3949;
}
.ms-head:hover{cursor:pointer;color:#000;}
.ms-head{
	line-height:40px!important; 
	vertical-align:middle!important;
	margin:0px 6px 0px 0px;
	font-size:14px; font-family:Verdana; padding:0px 14px 0px 14px; border:1px solid #ffffff; position:relative; 
	-moz-border-radius:5px; -webkit-border-radius:5px; border-radius:5px;
	-moz-box-shadow:1px 1px 5px rgba(0,0,0,0.4);
}
.ms-mainlay .ms-head:hover{background:#ececec;}
.ms-active .ms-head{
	text-shadow:0px 0px 0px #ffffff !important;
	border-top:1px solid #9f9f9f; border-right:1px solid #9f9f9f; border-left:1px solid #9f9f9f;
	box-shadow:1px -1px 2px rgba(0,0,0,0.2);
	padding-bottom:9px!important; margin-bottom:-9px!important; z-index:778!important;
	color:#4a4a4a!important; 
	background:-webkit-linear-gradient(#e1e1e1,#fff)!important; background:-moz-linear-gradient(#e1e1e1,#fff)!important; background:-o-linear-gradient(#e1e1e1,#fff)!important; background:linear-gradient(#e1e1e1,#fff)!important;
	border-bottom-left-radius:0px; -moz-border-radius-bottomleft:0px; -webkit-border-bottom-left-radius:0px;
	border-bottom-right-radius:0px; -moz-border-radius-bottomright:0px; -webkit-border-bottom-right-radius:0px;
}
.ms-disabled .ms-head{ 
	color:#000;
	background: #ececec;
}

.ms-sublay{position:absolute; left:22px; top:64px; min-width:280px;
background:#fff; padding:18px; border:1px solid #9f9f9f; display:none; z-index:777!important; 
border-bottom-left-radius:5px; -moz-border-radius-bottomleft:5px; -webkit-border-bottom-left-radius:5px;
border-bottom-right-radius:5px; -moz-border-radius-bottomright:5px; -webkit-border-bottom-right-radius:5px;
border-top-right-radius:5px; -moz-border-radius-topright:5px; -webkit-border-top-right-radius:5px;
-moz-box-shadow:1px 1px 5px rgba(0,0,0,0.4); -webkit-box-shadow:1px 1px 5px rgba(0,0,0,0.4); box-shadow:1px 4px 5px rgba(0,0,0,0.4);
}
.ms-sublay a{font-family:Arial; font-size:14px; color:#4377ab; font-weight:bold; padding:3px 0px 3px 0px; display:block; text-decoration:none;}
.ms-sublay a:hover{color:#2c3949; text-decoration:underline;}
.ms-sublay a span{font-size:12px; font-weight:bold!important;}
.ms-sublay table td{padding:4px 10px 4px 10px; vertical-align:top;}
.ms-modgroup{display:none; border-top:1px solid #cccccc; padding:4px 0px 10px 10px;}
.ms-modgroup a{color:#5f6871;}
.ms-modname span{color:#efefef;}

@media (max-width: 992px) {
	#mselbox {
		width: 100%;

	}
}
.div_in_row-top{
margin:3px 10px;
display:inline-block;
}


#MANUFACTURERS .div_in_row-top,#MODELS .div_in_row-top,#TYPES .div_in_row-top{display:table-row;}
#MANUFACTURERS .ms-sublway-row-top,#MODELS .ms-sublway-row-top, #TYPES .ms-sublway-row-top{display:table;text-align: center;}
.ms-sublway-row-top{display: flex;flex-wrap: wrap;}

.MainlayColumn{
    position: relative;
}
@media (max-width: 991px) {
#mselbox {

       height:auto;
}
.ms-disabled{width: 100%;}

.MainlayColumn{
    display: table-cell;
}
.ms-mainlay{
    display: table-row;
    width: 100%;
}
#mselcont{
    width: 100%;
display:table;
}

.ms-sublay{
margin-top: 8px;
position:initial;
padding:0;
width: 100%;
top: 44px;
-webkit-border-top-left-radius:0px;
-moz-border-radius-topleft:0px;
}
.ms-head{
    padding: 0px 0px 0px 10px!important;
    margin:3px 0px;
    width: 100%;
    text-align: center;
}

.ms-sublway-row-top a{
padding: 3px 0;
margin: 0;
}

.ms-sublway-row-top{
text-align: justify;
width: 100%;
}
} 
@media 
only screen and (max-width: 760px),
(min-device-width: 768px) and (max-device-width: 1024px)  {
 
	/* Force table to not be like tables anymore */
	table, thead, tbody, th, td, tr { 
		display: block; 
	}
	
	/* Hide table headers (but not display: none;, for accessibility) */
	thead tr { 
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
 
	tr {}
	
	td { 
		/* Behave  like a "row" */
		border: none!important;
        width: 100%!important; 
		position: relative;
		/*padding-left: 50%;*/ 
	}
	
	td:before { 
		/* Now like a table header */
		position: absolute;
		/* Top/left values mimic padding */
		top: 6px;
		left: 6px;
		width: 45%; 
		padding-right: 10px; 
		white-space: nowrap;
	}
	
	/*
	Label the data
	*/
 
}