body {
    font-family: verdana, helvetica;
	background-image: url(../pictures/sky.jpg);
	padding: 0;
	font-size: 11px;
	font-weight: normal;
	text-align: center;
	color: #000;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: center top;
	background-size: cover;
}

#container {
	margin: 0 auto;
	width: 90%;
	max-width: 1100px;
	min-width: 320px;
	text-align: left;
	box-sizing: border-box;
}

a 			{ color: #000; text-decoration: none; } 
a:link		{ color: #000; } 
a:visited	{ color: #000; } 
a:active	{ color: #334; } 
a:hover		{ color: #005; }

h1 {
    margin: 0px;
	color: #CCC; 
}

h3 {
    margin: 0px;
	font-size: 16px;
}

#banner {
	margin-right:auto;
	margin-left:auto;
	text-align: left;
	width: 100%;
	border: #55a double 5px;
	box-sizing: border-box;
}

#logo {
	width: 100%;
	text-align: center;
	padding: 5px;
	background-image: url(../pictures/transparent.png);
	box-sizing: border-box;
}

#logo img {
	max-width: 100%;
	height: auto;
	display: block;
	margin: 0 auto;
}

#banner + #separator {
	height: 14px;
}

#main {
	margin-right:auto;
	margin-left:auto;
	margin-top:0;
	width: 100%;
	background-image: url(../pictures/transparent2.png);
	box-sizing: border-box;
}

#content {
	padding: 10px 15px 10px 15px;
    float: left;
    position: relative;
    width: 100%;
	max-width: 100%;
	min-width: 0;
	margin:0px 0px 0px 0px;
	border: #88a double 5px;
	background-image: url(../pictures/transparent2.png);
	box-sizing: border-box;
/*    border-right: #dde solid 1px;*/
}

div#newmenu {
	width: 160px;
	margin-bottom: 5px;
	float: right;
	border: #55a double 5px;
}

#newmenu ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

#newmenu li {
	font-size: 14px;
	font-weight: bold;
	float: left;
	margin: 0 4px 0 0;
	background-image: url(../pictures/transparent.png);
}

#newmenu li a {
	height: 1.5em;
	line-height: 1.5em;
	float: left;
	width: 160px;
	display: block;
	border-top: 2px solid #55a;
	border-bottom: 2px solid #55a;
	color: #009;
	text-decoration: none;
	text-align: center;
	margin-bottom: -2px;
	margin-top: -2px;
}

#newmenu li a:hover {
	height: 1.5em;
	line-height: 1.5em;
	float: left;
	width: 160px;
	display: block;
	border-top: 2px solid #55a;
	border-bottom: 2px solid #55a;
	color: #000;
	text-decoration: none;
	text-align: center;
	background-image: url(../pictures/transparent2.png);
	margin-bottom: -2px;
	margin-top: -2px;
}

#contact {
    font-size: 12px;
    float: right;
    text-align: center;
	width:160px;  							
	background-image: url(../pictures/transparent.png);
	border: #55a double 5px;
	padding: 4px 0 4px 0;
}

#cards {
    float: right;
    text-align: left;
	width: 120px;
	padding: 10px 20px 10px 20px;
	margin: 5px 0px 0px 0px;
	border: #55a double 5px;
	background-image: url(../pictures/transparent.png);
}		

#bottombar {
	padding: 0;
	float: left;
	margin-right:auto;
	margin-left:auto;
	margin-top: 5px;
	margin-bottom: 5px;
	background-color: #90acd9;
	width: 100%;
	border: #55a double 5px;
	box-sizing: border-box;
}

#bottombar img {
	display: block;
	max-width: 100%;
	height: auto;
}

#quickcontact {
	width: 100%;
	float: left;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	padding: 10px;
	box-sizing: border-box;
}

.contact-button {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 12px;
	border: 2px solid #55a;
	background: #f8fbff;
	color: #000;
	text-decoration: none;
	border-radius: 4px;
	font-weight: bold;
}

.contact-button:hover {
	background: #e7efff;
	color: #000;
}

.contact-button .icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

#separator {
	height: 18px;
}

#car {
	margin-bottom: 15px;
	width:540px;
	height:180px;
	border: #000 double 1px;
}

#picture {
	width: 200px;
	float: left;
	padding: 10px;
}

#description {
	float: left;
	width: 250px;
}

#price {
	width: 50px;
	height: 20px;
	float: right;
	font-weight: bold;
}

#cartitle {
	width: 300px;
	text-align: left;
	font-size: 16px;
	padding: 7px 0 7px 0;
	float: left;
	font-weight: bold;
}

#rightbit {
	width: 300px;
	float: left;
	padding-right: 10px;
}

#previouspage {
	width: 49%;
	float: left;
}

#nextpage {
	width: 49%;
	float: right;
	text-align: right;
}

#itemcartitle {
	width: 100%;
	text-align: center;
	font-size: 16px;
	padding: 7px 0 7px 0;
	float: left;
	font-weight: bold;
}

#itemlist {
	width: 250px;
	float: left;
	text-align: left;
}

#itemdescription {
	margin-left: 250px;
	text-align: left;
	padding-top: 30px;
}

#itempicture {
	width: 200px;
	float: left;
	padding: 10px;
}

#itempictures {
	width: 100%;
	float: left;
}

#itemenlarge {
	width: 100%;
	float: left;
	padding-top: 20px;
	text-align: center;
	font-weight: bold;
}

#carclearance {
	width: 70%;
	float: left;
}

#copyright {
	width: 30%;
	float: right;
	text-align: right;
}

#stockitemtitle {
	float: left;
	width: 85%;
	text-align: center;
}

#closewindow {
	float: right;
	width: 15%;
	text-align: right;
	font-size: 10px;
}

#email {
	font-size: 12px;
	font-weight: bold;
}

#cardpic {
	margin-left: 17px;
}

#frontpageslideshow {
	height: auto;
	max-width: 100%;
	margin: 0 auto;
}

#frontpageslideshow img {
	width: 100%;
	height: auto;
	max-height: 350px;
	object-fit: contain;
	display: block;
}

.intro-panel {
	background: #fff;
	color: #000;
	border: 1px solid #d3d9e5;
	border-radius: 8px;
	padding: 12px 14px;
	margin: 0 0 18px 0;
	font-size: 16px;
	line-height: 1.45;
	box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}

.stock-heading {
	margin: 0 0 14px 0;
	padding: 0;
	font-size: 16px;
}

.stock-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 18px;
	margin: 15px 0;
	align-items: stretch;
}

.stock-card-link {
	text-decoration: none;
	color: inherit;
	display: block;
	height: 100%;
}

.stock-card-link:focus .stock-card,
.stock-card-link:hover .stock-card {
	box-shadow: 0 10px 18px rgba(0,0,0,0.12);
	transform: translateY(-2px);
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.stock-card {
	background: #fff;
	border: 1px solid #d3d9e5;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 6px 14px rgba(0,0,0,0.08);
	display: flex;
	flex-direction: column;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
	height: 100%;
}

.stock-image {
	position: relative;
	width: 100%;
	height: 190px;
	overflow: hidden;
	background: #f7f9fc;
}

.stock-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.stock-image-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #555;
	font-weight: bold;
}

.stock-badge {
	position: absolute;
	top: 10px;
	left: 10px;
	background: #d14343;
	color: #fff;
	padding: 4px 10px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: bold;
}

.stock-body {
	padding: 12px 14px 14px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	flex: 1;
}

.stock-price {
	font-size: 18px;
	font-weight: bold;
	color: #1a1a1a;
}

.stock-title {
	font-size: 16px;
	font-weight: bold;
	color: #1e2a39;
}

.stock-meta {
	font-size: 12px;
	color: #4a5665;
}

.stock-description {
	font-size: 13px;
	color: #333;
	line-height: 1.4;
	flex: 1;
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.van-wrapper {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.van-card {
	background: #fff;
	border: 1px solid #d3d9e5;
	border-radius: 14px;
	box-shadow: 0 8px 16px rgba(0,0,0,0.08);
	padding: 14px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.van-hero {
	position: relative;
	width: 100%;
	min-height: 260px;
	max-height: 420px;
	aspect-ratio: 16 / 9;
	border-radius: 12px;
	overflow: hidden;
	background: #f7f9fc;
	box-shadow: inset 0 0 0 1px rgba(211,217,229,0.6);
}

.van-hero img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 50%;
	display: block;
}

.van-hero-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	min-height: 260px;
	color: #555;
	background: #eef2f8;
	font-weight: bold;
}

.van-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	background: #d14343;
	color: #fff;
	padding: 6px 12px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: bold;
	box-shadow: 0 6px 12px rgba(0,0,0,0.12);
}

.van-price-tag {
	position: absolute;
	bottom: 12px;
	right: 12px;
	background: linear-gradient(135deg, #2f4e9a, #5a7bd7);
	color: #fff;
	padding: 8px 14px;
	border-radius: 999px;
	font-weight: bold;
	box-shadow: 0 10px 18px rgba(0,0,0,0.14);
}

.van-body {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.van-header {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 10px;
}

.van-title {
	font-size: 22px;
	font-weight: bold;
	color: #1e2a39;
}

.van-price {
	font-size: 18px;
	font-weight: bold;
	color: #1a1a1a;
	margin-top: 4px;
}

.van-year-make {
	font-size: 13px;
	color: #4a5665;
	font-weight: bold;
}

.van-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.van-chip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 6px 10px;
	border-radius: 999px;
	background: #f0f4ff;
	border: 1px solid #d3d9e5;
	color: #1e2a39;
	font-size: 12px;
	font-weight: 600;
}

.van-description {
	padding: 10px 12px;
	border: 1px solid #e1e6f0;
	border-radius: 10px;
	background: #fff;
	box-shadow: inset 0 0 0 1px rgba(211,217,229,0.3);
	font-size: 14px;
	line-height: 1.5;
	color: #242424;
}

.van-gallery {
	display: flex;
	gap: 10px;
	overflow-x: auto;
	padding: 6px 4px 2px;
	scroll-snap-type: x mandatory;
}

.van-gallery::-webkit-scrollbar {
	height: 8px;
}

.van-gallery::-webkit-scrollbar-thumb {
	background: #ccd4e5;
	border-radius: 999px;
}

.van-thumb {
	border: 1px solid #d3d9e5;
	background: #fff;
	border-radius: 10px;
	padding: 0;
	width: 120px;
	height: 80px;
	overflow: hidden;
	flex: 0 0 auto;
	cursor: pointer;
	box-shadow: 0 4px 12px rgba(0,0,0,0.08);
	scroll-snap-align: start;
	transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.van-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.van-thumb.is-active {
	border-color: #5a7bd7;
	box-shadow: 0 8px 16px rgba(0,0,0,0.12);
}

.van-thumb:focus {
	outline: 2px solid #5a7bd7;
	outline-offset: 2px;
}

.van-back-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 10px;
	border: 1px solid #d3d9e5;
	border-radius: 8px;
	background: #f8fbff;
	color: #1e2a39;
	font-weight: bold;
	text-decoration: none;
	transition: background 0.15s ease, transform 0.15s ease;
}

.van-back-link:hover {
	background: #e7efff;
	color: #1a1a1a;
	transform: translateY(-1px);
}

.van-back-bottom {
	align-self: flex-start;
}

.van-hero-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(0, 0, 0, 0.5);
	color: #fff;
	border: none;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 6px 12px rgba(0,0,0,0.16);
}

.van-hero-nav:hover {
	background: rgba(0, 0, 0, 0.65);
}

.van-hero-nav-prev {
	left: 12px;
}

.van-hero-nav-next {
	right: 12px;
}

.van-hero-full {
	all: unset;
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	cursor: zoom-in;
}

.van-hero-hint {
	pointer-events: none;
	position: absolute;
	left: 12px;
	bottom: 12px;
	background: rgba(0, 0, 0, 0.55);
	color: #fff;
	padding: 6px 10px;
	border-radius: 10px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.01em;
	box-shadow: 0 4px 10px rgba(0,0,0,0.15);
	transition: background 0.15s ease;
}

.van-hero:hover .van-hero-hint {
	background: rgba(0, 0, 0, 0.7);
}

.van-lightbox {
	position: fixed;
	inset: 0;
	background: rgba(0,0,0,0.8);
	display: none;
	align-items: center;
	justify-content: center;
	padding: 20px;
	z-index: 9999;
}

.van-lightbox.is-open {
	display: flex;
}

.van-lightbox-inner {
	position: relative;
	max-width: 96vw;
	max-height: 90vh;
}

.van-lightbox img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: 50% 50%;
	display: block;
}

.van-lightbox-close {
	position: absolute;
	bottom: -32px;
	left: 0;
	right: 0;
	text-align: center;
	color: #fff;
	font-size: 13px;
	opacity: 0.85;
}
