
#main_slide_wrap{
	display: flex;
	justify-content: space-around;
}
div.content {
	/* The display of content is enabled using jQuery so that the slideshow content won't display unless javascript is enabled. */
	display: none;
	width: 640px;
}
div.content a, div.navigation a {
	text-decoration: none;
	color: #777;
}
div.content a:focus, div.content a:hover, div.content a:active {
	text-decoration: underline;
}
div.controls {
	/* margin-top: 5px; */
	/* height: 23px; */
}
div.controls a {
	padding: 5px;
}
div.controls a.prev{
	background:url(../images/usedcar-detail/arrow-left.png);
	background-repeat:no-repeat;
	width:49px;
	height:49px;
	display:inline-block;
	position: absolute;
	left: -19px;
	top: 45%;
	z-index: 9;
}
div.controls a.next{
	background:url(../images/usedcar-detail/arrow-right.png);
	background-repeat:no-repeat;
	width:49px;
	height:49px;
	display:inline-block;
	position: absolute;
	right: 26px;
	top: 45%;
	z-index: 9;
}
div.ss-controls {
	float: left;
}
div.nav-controls {
	float: right;
}
div.slideshow-container {
	position: relative;
	clear: both;
	height: 502px; /* This should be set to be at least the height of the largest image in the slideshow */
}
div.loader {
	position: absolute;
	top: 0;
	left: 0;
	background-image: url('loader.gif');
	background-repeat: no-repeat;
	background-position: center;
	width: 550px;
	height: 502px; /* This should be set to be at least the height of the largest image in the slideshow */
}
section.slideshow {

}
section.slideshow span.image-wrapper {
	display: block;
	position: absolute;
	top: 4px;
	left: 4px;
	right: 4px;
}
section.slideshow a.advance-link {
	display: block;
	/* width: 550px; */
	/* height: 502px; */ /* This should be set to be at least the height of the largest image in the slideshow */
	 /* This should be set to be at least the height of the largest image in the slideshow */
	text-align: center;
	line-height: 0;
}
section.slideshow a.advance-link:hover, section.slideshow a.advance-link:active, section.slideshow a.advance-link:visited {
	text-decoration: none;
}
section.slideshow img {
	vertical-align: middle;
	/* border: 1px solid #ccc; */
	width: 100%;
}
div.download {
	float: right;
}
div.caption-container {
	position: relative;
	clear: left;
	height: 75px;
}
span.image-caption {
	display: block;
	position: absolute;
	width: 550px;
	top: 0;
	left: 0;
}
div.caption {
	padding: 12px;
}
div.image-title {
	font-weight: bold;
	font-size: 1.4em;
}
div.image-desc {
	line-height: 1.3em;
	padding-top: 12px;
}
div.navigation {
	/* The navigation style is set using jQuery so that the javascript specific styles won't be applied unless javascript is enabled. */
}
ul.thumbs {
	clear: both;
	margin: 5px 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
}
ul.thumbs li {
	float: left;
	width: 24% !important;
	margin: 2px 0.25% 2px;
	line-height: 0;
	background: #fff;
	padding: 0px;
	transition: all 0.3s;
	cursor: pointer;
	list-style: none;
}
a.thumb {
	padding: 4px;
	display: block;
	/* border: 1px solid #ccc; */
}
ul.thumbs li.selected a.thumb {
	background: #62d9f7;
}
a.thumb:focus {
	outline: none;
}
ul.thumbs img {
	border: none;
	display: block;
	width: 100%;
}
div.pagination {
	clear: both;
	display: flex;
	flex-wrap: wrap;
	margin: 0px auto;
}
div.navigation div.top {
	margin-bottom: 12px;
	height: 11px;
}
div.navigation div.bottom {
	margin-top: 12px;
}
div.pagination a, div.pagination span.current, div.pagination span.ellipsis {
	display: block;
	float: left;
	margin-right: 2px;
	padding: 4px 6px 4px 6px;
	/* border: 1px solid #ccc; */
	line-height: 1;
	font-size: 12px;
	color: #28b1d3;
}
div.pagination a:hover {
	background-color: #eee;
	text-decoration: none;
}
div.pagination span.current {
	font-weight: bold;
	background-color: #62d9f7;
	border-color: #62d9f7;
	color: #fff;
}
div.pagination span.ellipsis {
	border: none;
	padding: 5px 0 3px 2px;
}
div#page {
    width: 900px;
    background-color: #fff;
    margin: 0 auto;
    text-align: left;
    border-color: #ddd;
    border-style: none solid solid;
    border-width: medium 1px 1px;
}
@media(max-width:991px) {
	ul.thumbs li {
		float: left;
		width: 19.5% !important;
		margin: 2px 0.25% 2px;
	}

	div.controls a.prev{
		left: -19px;
		top: 46%;
	}
	div.controls a.next{
		right: -21px;
		top: 45%;
	}

	
}
@media(max-width:570px) {

	div.controls a.prev{
		left: -19px;
		top: 40%;
		width:35px;
		height:35px;
		background-size:100%;
	}
	div.controls a.next{
		right: -18px;
		top: 40%;
		width:35px;
		height:35px;
		background-size:100%;
	}

}