*, *:after, *:before {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

html {
	border:0;
	margin:0 auto;
	background-color: #E6E6E6;
	font-weight: 200;
	font-size: 16px;

}
a {
	text-decoration: none;
	color:#12499B;
}
a:hover {
	text-decoration: underline;
}

h1 {
	margin-top: 0px;
	font-size: 1.7em;

}
h1,h2,h3 {font-weight: 300;}
.info h2 {font-size: 2em;}
p.opening-hours {
	color:#12499B;
	font-weight: 400;
}
p.opening-hours span {
	display: inline-block; width: 45px;
}
body {
	max-width:960px;
	width:100%;
	background-color: #FFFFFF;
	margin:0 auto;
	color:#777;
	font-family: Sans-Serif;
}
header {
	height:85px;
}
header img.mobil-logo {
	margin: 27px 30px;
	float:right;
	max-width: 40%;
	height:auto !important;
}
header img.company-logo {
	margin: 30px 30px;
	float:left;
	max-width: 40%;
	height:auto !important;
}
nav {
	background-color:#12499B;
	clear: both;
	text-align: center;
}

nav a.nav-link{
	display: inline-block;
	color:#fff;
	width: 24%;
	max-width: 185px;
	padding:15px 0;
	border-top:3px solid #12499B;
	font-size: 1em;
}
nav a.nav-link.active {
	background-color:#034579;
	border-top:3px solid #034579;
}
nav a.nav-link span:before{
	content:'';
	display:block;
}
nav a.nav-link:hover{
	border-top:3px solid #03355D;
	text-decoration: none;
	color:#CCC;
}
div.grey {
	height:3px;
	background-color:#555;
}
.hero {
	padding:15px;
	background: url(../img/hero.jpg) no-repeat center center;
	height: 310px;
}
.offer-header {
	background: url(../img/offer.jpg) no-repeat center center;
	height: 156px;
}
.why-header {
	background: url(../img/why.jpg) no-repeat center center;
	height: 174px;
}
.oil-header {
	background: url(../img/oil.jpg) no-repeat center center;
	height: 156px;
}

article.welcome {
	background-color: #F8F8F8;
	width:100%;
	max-width: 400px;
	padding: 14px;
}
article.main-copy {
	width:90%;
	max-width: 600px;
	margin:50px auto;
}
.grid {
	background: -moz-linear-gradient(top, rgba(211,211,211,0.65) 0%, rgba(0,0,0,0) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(211,211,211,0.65)), color-stop(100%,rgba(0,0,0,0))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, rgba(211,211,211,0.65) 0%,rgba(0,0,0,0) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, rgba(211,211,211,0.65) 0%,rgba(0,0,0,0) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, rgba(211,211,211,0.65) 0%,rgba(0,0,0,0) 100%); /* IE10+ */
	background: linear-gradient(to bottom, rgba(211,211,211,0.65) 0%,rgba(0,0,0,0) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a6d3d3d3', endColorstr='#00000000',GradientType=0 ); /* IE6-9 */

	padding: 20px 0 20px 20px;

}
.grid article {
	width:33.33%;
	float:left;
	padding-right: 20px;

}
.grid article .inner{
	background-color: #F0F0F0;
	border-bottom: 2px solid #E1E1E1;
	padding-bottom: 55px;
	position:relative;
}
.grid article .inner h3,
.grid article .inner p,
.grid article .inner a {
	margin-left:10px;
	margin-right: 10px;
}

.grid article .inner p {
	margin-top: 0;
}

.grid article .inner h3 {
	font-size: 1.2em;
}

.inner a {
	display: block;
	position: absolute;
	bottom:15px;
}
.grid article img {
	width:100%;
	height:auto !important;
}

.grid:after {
	content: "";
	display: table;
	clear: both;
}

footer {
	background-color: #2B2B2B;
	font-size: small;
	display: table;
	width: 100%;
}
footer .image-wrap {
	display: table-cell;
	vertical-align: middle;
	padding:30px;
}
footer .footer-text {
	display:table-cell;
	text-align: right;
	padding: 30px;
}

footer .footer-text a{
	color:#999;
}


.map-container{
	position: relative;
	height:600px;
}
#map_canvas {
	position: absolute;
	top: 0;
	left: 0;
	width:100%;
	height:600px;
}
.map-container .info {
	position: absolute;
	top: 20px;
	left: 30px;
	background-color: #fff;
	background-color: rgba(255, 255, 255, 0.9);
	height: 555px;
	border-left: 4px solid #12499B;
	width: 540px;
	padding:0 30px;
}
.button {
	color: white;
	background: #12499B;
	display: inline-block;
	padding:.7em;
}


#directions-submit {
	position: relative;
	vertical-align: top;
	width: 230px;
	height: 50px;
	padding: 0;

	color: white;
	text-align: center;
	background: #12499B;
	border: 0;
	cursor: pointer;
}
.videowrapper {
	float: none;
	clear: both;
	width: 100%;
	position: relative;
	padding-bottom: 56.25%;
	padding-top: 25px;
	height: 0;
}
.videowrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.featureImg {
	display: block;
	width: 100%;
	height: auto;
}
.offer-main,
.why-main,
.oil-main {
	max-width: 600px;
	width:100%;
	margin:30px auto;
}
.oil-main {
	max-width: 680px;
}

.tel {
	background: url(../img/Telephone.jpg) no-repeat;
	background-position: 0px 2px;
	padding-left: 20px;

}
.mail {
	background: url(../img/Envelope.jpg) no-repeat;
	background-position: 0px 4px;
	padding-left: 20px;

}
.offer-iframe {
    background: #454545;
    background: -moz-linear-gradient(top, #9e9e9e 0%, #454545 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #9e9e9e), color-stop(100%, #454545));
    background: -webkit-linear-gradient(top, #9e9e9e 0%, #454545 100%);
    background: -o-linear-gradient(top, #9e9e9e 0%,#454545 100%);
    background: -ms-linear-gradient(top, #9e9e9e 0%,#454545 100%);
    background: linear-gradient(to bottom, #9e9e9e 0%,#454545 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#9e9e9e', endColorstr='#454545',GradientType=0 );
}

@media (max-width : 565px) {
	html {font-size: 13px;}
	nav a.nav-link span:before{
		content:'';
		display:inline;
	}
	nav a.nav-link{
		display: block;
		width:100%;
		max-width: 100%;
		padding:7px 0;
	}
	footer .image-wrap {
		display: block;
		text-align: center;
		padding:10px;
	}
	footer .footer-text {
		display:block;
		text-align: center;
	}
	.grid article {
		width:100%;
		padding-right: 0px;
	}
	.grid article h3 {
		min-height: 0px;
	}
	.grid {
		padding:0;
	}
	.map-container .info {
		position: absolute;
		top: 0;
		left: 0;
		width:100%;
		padding-top: 20px;
		height:430px;
	}
	.map-container{
		height:840px;

	}
	#map_canvas {
		border-left:10px solid #FFF;
		border-right:10px solid #FFF;
		height:400px;
		position: relative;
		top: 430px;
		left: 0;
	}
	.offer-main p,
	.offer-main h1,
	.why-main p,
	.why-main h1,
	.oil-main p,
	.oil-main h1
	{
		padding: 0 5px;
	}


	header img.mobil-logo,
	header img.company-logo {
		margin: 10px 10px;
	}
	header {
		height:40px;
	}

}