* {
	padding: 0px;
	margin: 0px;
}

body {
	background-color: #0E5C98;
	position: relative;
}

h1, h2, h4, ul.categories li a {
	font-family: 'Montserrat', sans-serif;
}

h1 {
	font-size: 50px;
}

p, .btn, a, div#bar, div#openings ul li p {
	font-family: 'Open Sans', sans-serif;
}

div.btn, h1, h2, h3, h4. ul.categories li a {
	text-transform: uppercase;
}

h2 {
	text-align: center;
	margin-bottom: 20px;
}

.sales {
	background: url(../img/Sales-Icon.png) no-repeat 90% 10%;
}

.finance {
	background: url(../img/Finance-Icon.png) no-repeat 90% 10%;
}

.collision {
	background: url(../img/Collision-Icon.png) no-repeat 90% 10%;
}

.service {
	background: url(../img/Service-Icon.png) no-repeat 90% 10%;
}


.highlight a {
	color: #0E5C98 !important;
	border-bottom: 3px solid #0E5C98;
}

.logo {
	position: relative;
	left: -30%;
	top:  -200px;
	width: 250px;
}

.job-icon {
	position: relative;
	top: -50px;
	right: -80px;
	width: 40px;
}

.icon {
	width: 60px;
}

div#blocks-area  {
	position: relative;
}

div#overlay {
	background-color: #fff;
	z-index: 99;	
	position: absolute;
	top: -500px;
	left: 10%;
	right: 10%;
	background: #feffff url(../img/MarkMcLarty.jpg) no-repeat left -20px;
}

#headshot {
	width: 35%;
}

div#overlay {
	float: left;
}

div#overlay div#copy-area {
	float: right;
	width: 45%;
	padding: 40px;
}

div#copy-area .btn {
	margin-left: 0px;
	margin-right: 10px;
	width: 40%;
}

div#jumbotron {
	height: 500px;
	color: #0E5C98;
	position: relative;
	text-align: center;
	padding-top: 300px;
	margin-bottom: 0px;
}

div#jumbotron p {
	width: 50%;
	margin-left: auto;
	margin-right: auto;
}

div#jumbotron::after {
  content: "";
  background: url(../img/main_bg_img2.jpg);
  opacity: 0.35;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-size: cover;
  position: absolute;
  z-index: -1;   
}


ul.categories {
	display: block;
	text-align: center;
	list-style: none;
	list-style-type: none;
	margin-bottom: 40px;
}

ul.categories li {
	display: inline-block;
	margin-right: 40px;
	margin-left: 40px;
}

ul.categories li a {
	text-decoration: none;
	color: black;
	text-transform: uppercase;
}

ul.categories li a:hover {
	text-decoration: none;
	color: #0E5C98;
}

div#benefits {
	padding-top: 30px;
}

div#benefits ul {
	display: block;
	text-align: center;
	list-style: none;
	list-style-type: none;
}

div#benefits ul li {
	display: inline-block;
	margin-right: 50px;
	margin-bottom: 50px;
	width: 250px;
	vertical-align: top;
}

ul.jobs {
	display: block;
	text-align: center;
	list-style: none;
	list-style-type: none;
}

ul.jobs li {
	display: inline-block;
	margin-right: 20px;
	margin-bottom: 20px;
	width: 175px;
	height: 215px;
	background-color: #fff;
	-webkit-box-shadow: 10px 10px 14px -1px rgba(0,0,0,0.4);
	-moz-box-shadow: 10px 10px 14px -1px rgba(0,0,0,0.4);
	box-shadow: 10px 10px 14px -1px rgba(0,0,0,0.4);
	border-left: 20px solid #0E5C98;
	border-bottom: 1px solid #CCCCCC;
	border-right: 1px solid #CCCCCC;
	border-top: 1px solid #CCCCCC;
}

ul.jobs li a {
	text-decoration: none;
	color: #0E5C98;
}

ul.jobs li a:hover {
	text-decoration: underline;
}

.job-sub {
	padding: 20px 17px;
	float:left;
	height:100%;
	box-sizing:border-box;
	width:100%;
}
.job-sub h4 a {
  display: block;
  overflow-wrap: break-word;
}
.job-sub h4 {
	font-size: 18px;
	margin-bottom: 10px;
	margin-top: 30px;
}

.job-sub p {
	font-size: 14px;
}

div#openings ul li p, div#openings ul li h4 {
	text-align: left;
}

div#openings h2 {
	text-transform: uppercase;
	padding-top: 20px;
	font-weight: bold;
}

ul#blocks {
	width: 100%;
	display: table;
}

ul#blocks li {
	width: 25%;
	height: 300px;
	display: table-cell;
	text-align: center;
	background-color: #cccccc;
	color: white;
	vertical-align: top;
}

ul#blocks li p {
	padding: 20px;
}

ul#blocks li h4 {
	color: white;
}

.position {
  position: relative;
}
.overlay {
	position: relative;
}
.overlay:before{
	position:absolute;
	content:"";
	top:0;
	left:0;
	width:100%;
	height:100%;
	display:none;
	z-index:0;	
}
.overlay:hover:before{
  display: block;
}

.sales:before {
  background-color: rgba(14,92,154,0.8);
  content:"";
}

.finance:before {
  background-color: rgba(14,92,154,0.8);
  content:"";
}

.service:before{
  background-color: rgba(14,92,154,0.8);
  content:"";
}

.collision:before {
  background-color: rgba(14,92,154,0.8);
  content:"";
}

.position * {
    position: relative;
}

table#blocks tr td img{
	padding-top: 5%
}
table#blocks tr td h4{
	color: white;
}

table#blocks tr td p{
	padding: 5% 15% 5% 15%;
}


div#bar {
	width: 100%;
	padding-top: 50px;
	padding-bottom: 50px;
	text-align: center;
}

div#jumbotron, div#bar {
	color: #fff;
}

h4, div#banner, div#links a, div#banner a {
	color: #0E5C98;
}

div#banner, div#benefits, div#openings {
	background-color: #fff;
}

div#bar {
	background-color: #0E5C98;
}

div#openings {
	padding-top: 20px;
	height: auto;
	overflow: hidden;
	padding-bottom: 30px;
	background-color: white;
}

div#showroom {
  	background: url(../img/footer-back.jpg);
  	background-repeat: no-repeat;
	background-position: center bottom;
  	position: relative;
  	height: 800px;
}

div#banner {
	text-align: center;
	padding-top: 20px;
	padding-bottom: 20px;
}

div#footer {
	width: 100%;
	position: relative;
	margin-left: auto;
	margin-right: auto;
}


div#links {
	background-color: #fff;
	position: absolute;
	display: inline-block;
	top: -30px;
	left: 10%;
	right: 10%;
}

div#links div {
	width: 100%;
	padding: 20px;
	display: inline-block;
	vertical-align: top;
	text-align:center;
}

div#links div a img{
	width: 120px;
	margin: auto;
	padding: 20px;
}

div#credit {
	margin-top: 100px;
	margin-bottom: 50px;
	margin-left: auto;
	margin-right: auto;
	background-color: #fff;
	width: 35%;
	padding: 20px;
}

.btn {
	border-radius: 10px;
	padding: 10px;
	margin-left: 20px;
	margin-right: 20px;
	text-align: center;
	display: inline-block;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
}

.btn.white {
	border: 2px solid #fff;
}

.btn.red {
	border: 2px solid #0E5C98;
}

.btn.red a {
	color: #0E5C98;	
}

.btn a {
	text-decoration: none;
	color: #fff;
}

#form {
	margin-top: 60px;
	margin-left: auto;
	margin-right: auto;
	width: 700px;
}

#form input  {
	float: left;
	padding: 10px;
	width: 150px;
}

#form button {
	background-color: transparent;
	cursor: pointer;
	width: 100px;
	float: left;
	color: #0E5C98;
}

#form h4 {
	display: inline-block;
	float: left;
	color: black;
	margin-right: 20px;
	margin-top: 10px;
}

	@media (max-width: 1090px) {
		div#links div {
			width: 20%;
			padding: 5px;
		}
	}

	@media (max-width: 1024px) {
		div#overlay {
			background: #feffff;
			top: -450px;
			height: auto;
		}
		div#overlay div#copy-area {
			float: none;
			width: 85%;
		}

	}

	@media (max-width: 900px) {
		div#links div {
			width: 43%;
		}

		div#overlay #headshot {
			display: none;
		}

		div#links  {
			position: initial;
			display: block;
			width: 90%;
			margin-left: auto;
			margin-right: auto;
		}

	}

	@media (max-width: 800px) {
		ul#blocks  li {
			display: inline-block;
			width: 50%;
			height: 350px;
		}

		#form {
			width: 75%;
		}

		#form input {
			width: 85%;
			margin-bottom: 20px;
			display: block;
			margin-left: auto;
			margin-right: auto;
		}

		#form button {
			width: 100%;
			margin-left: auto;
			margin-right: auto;
		}

		#form p {
			text-align: center;
		}

		#form, #form h4, #form input  {
			display: block;
			float: none;
		}

		#form h4 {
			margin-bottom: 10px;
			text-align: center;
		}

		div#overlay {
			top: -550px;
		}

	}

	@media (max-width: 550px) {

		.logo {
			/*position: relative;*/
			left: 10px;
			top:  30px;
			width: 250px;
			margin-bottom: 40px;
		}

		div#copy-area .btn {
			display: block;
			margin-bottom: 10px;
		}

		div#overlay  {
			position: initial;
			width: 90%;
			margin-right: auto;
			margin-left: auto;
		}

		div#jumbotron {
			margin-bottom: 0px;
			padding-top: 0px;
			height: auto;
			overflow: hidden;
			padding-bottom: 30px;
		}

		ul#blocks li {
			width: 100%;
			display: block;
			height: auto;
		}

	}

}
