#accordion h4 {
	margin-bottom: 3px;
	font: inherit;
	background: url("filterBG.gif") repeat-x scroll left top white;
	color: white;
	text-align: center;
	font-weight: bold;
	height: 25px;
	padding: 3px;
}

#accordion h4.open {
	background-position: 0 -26px;
}

#accordion h4.filter {
	background-position: 0 -52px;
}

#accordion h4.open.filter {
	background-position: 0 -78px;
}

#detailView #detailLeft #images ul{
	list-style-type: none;
	padding: 0;
	margin: 6px 0 0 0;
	width: 100%;
}

#detailView #detailLeft #images ul li{
	float:left;
	padding-right: 6px;
	padding-bottom: 6px;
}

#detailView #detailLeft #images ul li:nth-child(4n){
	padding-right: 0px;
}


#detailView #detailLeft #mainImage{
	width: 100%;
	aspect-ratio: 4 / 3;
	display: block;
}

@media (min-width: 980px) {
	#detailView #detailLeft #mainImage{
		width: 100%;
		aspect-ratio: 4 / 3;
	}
}

#detailView #detailLeft #mainImage .wrapper {
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative
}


#fancybox-title-over .imgDiv, #detailView #detailLeft #images ul li .imgDiv{
	width: 88px;
	height: 88px;
	border: 1px #000 solid;
	display: table-cell;
	vertical-align: middle;
	text-align: center;
	background-color: #FFF;
}

#fancybox-title-over .imgDiv {
	margin-right: 5px;
}

#fancybox-title-over .active {
	border-color: #F00;
}

#fancybox-title-over .inactive img {
	opacity: 0.5;
}

#detailView #detailLeft #images ul li .imgDiv {
	background-color: black;
}

.left {
	float:left;
}

.mr5 {
	margin-right: 5px;
}

#fancybox-title-over {
	text-align: center;
}

.imgNavWrap {
	display:inline-block;
}

.grid-view .filters input, .grid-view .filters select {
    border: 1px solid #CCCCCC;
    width: 95%;
}

.singleItem .itemImageWrap {
	float:left;
}

.singleItem {
	padding-top: 5px;
	padding-bottom: 5px;
	clear: left;
	min-height: 90px;
}

.singleItem .itemTitle, .singleItem .itemCar, .singleItem .itemDescription, .singleItem .itemId {
	margin-left: 210px;
}

.singleItem.odd {
	background: none repeat scroll 0 0 #E5E5E5;
}

.singleItem.even {
	background: none repeat scroll 0 0 #F8F8F8;
}

#logo {
	margin-top: 10px;
	margin-bottom: 10px;
}

a {
    color: #000;
    text-decoration: none;
}

a:hover, a:active, a:link, a:visited {
	color: #000;
}

a.icon:hover {
	text-decoration: none;
}

ul.yiiPager a:link, ul.yiiPager a:visited {
	border-color: #000;
	color: #000;
}

ul.yiiPager .selected a {
	background-color: #000;
	color: #fff;
}

#filterCategoryGroup li {
	list-style-type: none;
}

#filterCategoryGroup a.filterActive {
	font-weight: bold;
}

body {
	color: #444;
}

.pager .next > a, .pager .next > span {
	float: none;
}

.grid-view .button-column {
	width: 65px;
}

.container .jumbotron.randomItem {
	float:right;
	padding: 10px;
	margin-left: 10px;
}

.container .jumbotron.randomItem h3 {
	margin-top: 0;
}

.container .jumbotron.randomItem img {
	max-width: 100%;
}

.clear {
	clear:both;
}

#detailView #detailLeft #mainImage a {
	border: 1px #000 solid;
	background-color: black;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

#detailView #detailLeft #mainImage img {
	max-width: 100%;
	max-height: 100%;
	display: block;
	object-fit: contain;
}

h1, .h1 {
	font-size: 24px;
}

h3, .h3, h2, .h2 {
	font-size: 18px;
}

@media (min-width: 768px) {
  .form-horizontal .control-label {
    text-align: left;
  }
}

a.backlink:hover {
	text-decoration: none;
}


div.yiiPager a {
  display: inline-block;
  padding: 5px 14px;
  background-color: #ffffff;
  border: 1px solid #dddddd;
  border-radius: 15px;
}

div.yiiPager a:hover,
div.yiiPager a:focus {
  text-decoration: none;
  background-color: #eeeeee;
}

div.yiiPager a:link, div.yiiPager a:visited {
	border-color: #000;
	color: #000;
}

div.yiiPager .selected a {
	background-color: #000;
	color: #fff;
}


#contact-form div.col-lg-2.field {
	width: 25%;
	float: left;
}

#contact-form div.col-lg-4.field {
	width: 50%;
	float: left;
}

#contact-form div.col-lg-6.field {
	width: 75%;
	float: left;
}

#contact-form div.col-lg-5.field {
	width: 50%;
	float: left;
}

#contact-form div.col-lg-7.field {
	width: 75%;
	float: left;
}

@media (min-width: 1200px) {
  #contact-form div.col-lg-4.field {
    width: 33.33333333333333%;
  }
  #contact-form div.col-lg-5.field {
    width: 41.66666666666667%;
  }
  #contact-form div.col-lg-2.field {
    width: 16.666666666666664%;
  }
  #contact-form div.col-lg-6.field {
    width: 50%;
  }

	#contact-form div.col-lg-7.field {
		width: 58.33%;
		float: left;
	}
}

#contact-form {
	margin-top: 20px;
}

iframe.fb_ltr {
	display:none;
}

a.dropdown-toggle:active, a.dropdown-toggle:link, a.dropdown-toggle:visited {
	color: #999;
}

.nav > li > a.dropdown-toggle {
	padding: 15px;
}

a.dropdown-toggle:hover,
.nav > li > a.dropdown-toggle:hover,
.nav > li > a.dropdown-toggle:focus {
	color: #fff;
	background-color: inherit;
}

h2 {
	margin-top: +27px;
}

div.bannerCol {
	/*padding-top: 7px;*/
}
div.bannerCol img {
	margin-bottom: 15px;
}

@media (max-width: 979px) {
	div.bannerCol img {
		margin-right: 15px;
	}
	div.bannerCol {
		padding-top: 0px;
	}
}

textarea.form-control {
	height: 400px;
}

div.fb-page {
	margin-bottom: 15px;
}

div.fb-like {
	margin-left: 1px;
}

#twitter-widget-0 {
    vertical-align: top;
}

#filterCarTitle {
	margin-top: 20px;	
}

div.itemId {
	font-size: 0.9em;;
	padding-top: 0.3em;
}

div.itemDescription {
	font-size: 0.9em;
	padding-top: 0.3em;	
}