body {
	font-family: 'Helvitica', sans-serif;
  padding-bottom: 20px;
	background-color: #ccc;
}

@media (min-width: 1200px) {
	.container {
		width: 960px;
	}
}

#map_canvas {
	min-height:150px;
	max-height:150px;
	max-width: 100%;
}

#masthead {
	background-image: linear-gradient(to bottom, #fff 0, #cbd3d5 100%);
	background-repeat: repeat-x;

}

#masthead h1 {
	font-weight: bold;
	color: rgba(0, 0, 0, 0.6);
	text-shadow: rgba(0, 0, 0, 0.2) 2px 6px 5px, rgba(255, 255, 255, 0.4) 0px -4px 30px;
}

#masthead-right > p {

}
#masthead-right > span { 
	font-size: 14px;
	float:left;
}

#masthead-telephone {
	font-size: 30px;
	padding-top: 10px;
	padding-bottom: 0px;
	text-align: center;
}

.navbar {
	background-image: linear-gradient(to bottom, #0aa8af 0, #027089 100%);
	margin-bottom: 0;
}

.navbar-nav >.active>a,a:hover {
	background-image: linear-gradient(to bottom, #036680 0, #09aab2 100%);
}

.navbar-nav>li>a {
	color:#fff !important;
	-webkit-border-image: -webkit-gradient(linear, left bottom, right bottom, from(#0aa8af), to(#027089)) 0 100% 0 0 stretch;
	border-width:0px;
	border-right-width:2px;
}

.under-head {
	background-image: url(../img/car.png);
	background-repeat: no-repeat;
	background-color: #c2c3c6;
	height:250px;z-index:-1;
	box-shadow: 0 0 5px 0 #333;
}

#main-content {
	background-color: #fff;
	//box-shadow: 0 0 5px 5px #888888;
	box-shadow: -5px 0 5px -5px #333, 5px 0 5px -5px #333;
}

.upset {
	margin-top: -50px;
	background: none;
	z-index:999;
}

.upset > div {
	background: white;
}

.upset h3 { 
	font-size: 20px;
}

.carousel-control.left, .carousel-control.right {
	background-image: none;
}
.carousel-control > span {
	color: black;
}

.carousel-inner {
	//height: 262px;
	height: 232px;
}


.item > div {
	height: 199px;
}
.carousel-price { 
	font-size: 22px;
}
.item > div > div { 
	height: 100%;
}

#carousel-cars {
	margin-top:20px;
}
.carousel-side-text { 
	padding-left: 0;
}
.carousel-side-text > h4 {
	position:absolute;
	margin:0;
	top:0;
}
.carousel-side-text > p {
	position:absolute;
	margin:0;
	bottom:0;
}
.carousel-side-text > p > span {
	display: block;
}
.carousel-side-text > p > a {
float:left;
}

.secure-car-now {
	font-size: 20px;
	font-style: bold;
}

.part-exchange {
	margin: 0px auto;
	text-align: center;
	font-size: 24px;
}

.accepted-cards {
	max-width: 100%;
}

@media only screen and (max-width : 320px) {
	.carousel-inner {
		height: 262px;
	}
	.carousel-side-text { 
		padding-left: 0;
		top: 10%;
		width: 80%;
		margin: 0 auto;
	}
	.under-head {
		background-image: url(../img/car.png);
		background-repeat: no-repeat;
		background-color: #c2c3c6;
		height:250px;z-index:-1;
		background-position: center;
		box-shadow: 0 0 5px 0 #333;
	}
}


/*Listings.html.twig*/

ul.car-list > li {
	margin:0 0 5px 5px;
	float: right;
	width: 32%;
	border-radius: 3px !important;
}

ul.car-list { 
	padding-left: 0;
}

ul.car-info > li,  ul.car-info > a {
	float: right;
	margin: 0 0 0 5px;
	border-radius: 3px !important;
}

.listing-entry {
	margin: 10px 3px 0 3px;
	padding: 10px 0 10px 0;
	background-image: linear-gradient(to bottom, #0aa8af 0, #027089 100%);
	border: 1px solid #fff;
	-webkit-box-shadow: 0 0 3px #000;
}

.listing-entry:last-child { 
	margin: 10px 3px 10px 3px;
}

.listing-entry-header {
	background: white;
	margin-bottom: 10px;
	padding: 0 5px 0 5px;
}

.listings-heading {
	padding-top: 10px;
	font-size: 20px;
}

.listings-heading-item-heading {
	font-style: bold;
	font-size: 20px;
}

@media only screen and (max-width : 320px) {
	ul.car-list > li {
		margin:0 0 5px 5px;
		float: right;
		width: 100%;
		border-radius: 3px !important;
	}

	ul.car-list { 
		padding-left: 0;
	}
	ul.car-info {
		padding-left: 0;
	}
	ul.car-info > li,  ul.car-info > a {
		margin:0 0 5px 5px;
		float: right;
		width: 100%;
		border-radius: 3px !important;
	}
}


/*Listing.html.twig*/

#main-spec > ul {
	padding: 0;
	margin: 0;
	display: inline-block;
}

#main-spec > ul > li {
	float:left;
	width:25%;
	list-style: none;
}

#secondary-spec > ul {
	padding: 0;
	margin: 0;
	display: inline-block;
	width: 100%;
}

#secondary-spec > ul > li {
	float:left;
	width: 50%;
	list-style:none;
}

#listing-nav > li > a{
	border: 1px solid transparent;
	color: #fff;
}
#listing-nav > li.active > a {
	background-color: rgba(255,255,255,0.3);
	border-style: solid;
	border-color: #fff;
	border-width: 1px 1px 0 1px;
}
#listing-nav > li {

}

#listing-nav {
	margin: 10px 0 10px 0;
}

#carousel-images > .carousel-inner {
	height: auto;
	max-width: 100%;
}

/*listing carousle fix*/
.carousel-images > .carousel-inner > .item > img {
	margin: 0 auto;
}

/*
.form-group.warning input.form-control {
border-color: #fa6d81;
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(250, 109, 129, 0.6);
outline: 0 none;
}*/

footer > div {
	height: 12px;
	background-image: linear-gradient(to bottom, #0aa8af 0, #027089 100%);
	margin-bottom: 3px;
}


/*Span colour classes*/
.color-aqua {
	color: #036680;
}
.color-blue {
	color: #0000FF;
}
.color-red {
	color: #FF0000;
}
.color-green {
	color: green;
}

/*Modal fix for iphone devices*/
@media screen and (max-width : 320px) {
	.modal {
		position: fixed;
		top: 3%;
		right: 3%;
		left: 3%;
		bottom: 3%;
		width: auto;
		margin: 0;
	}
	.modal-body {
	height: 60%;
	max-height: 350px;
	padding: 15px;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	}
}