 /*To Fix: Footer*/

html {
	min-height: 100vh;
}
 
body {
	margin: 0;
	font-size: 16px;
	background: #242323;
	font-family: 'Varela Round', sans-serif;
	min-height: 100vh;
	display: block;
	position: relative;
}




#allcontainer {
	box-sizing: border-box;
	position: relative;
	min-height: calc(100vh - 6em);
	display: inline-block;
	width: 100%;
}




header img {
	margin: 5px;
}

/* Nav */
nav ul {
	padding: 0;
	list-style: none;
	display: flex;
	/*justify-content: space-between;*/
	align-items: center; /*Together with space-between*/
	
	/* justify-content: flex-start; */
	justify-content: flex-end;
	/* justify-content: center; */
	/* justify-content: space-between; */
	/* justify-content: space-around; */
	
}

nav ul li a { /*Nav ul (links)*/
	padding: .25em .5em;
	height: 100%;
	vertical-align: middle;
	text-decoration: none;
	color: #FFFFFF;
	text-shadow: -1px 2px 4px #000000;
	font-size: 1.75em;
}

.div-left { /*Header left div*/
	float: left;
	width: 50%;
}

.div-right { /*Header right div*/
	float: right;
	padding-right: 2%;
	width: 48%;
	vertical-align: middle;
}

.div-right li { /*Header right div links*/
	vertical-align: middle;
	padding: 0 1% 0 1%;
}

.div-right li a:hover { /*Header right div links hover*/
	/*font-weight: bold;*/
	text-decoration: underline;
}

.divider { /*Dividers for the links*/
	height: 50%;
}

.divider img { /*Dividers for the links*/
	box-shadow: -1px 2px 4px #000000;
	height: 50%;
}


.container-1 { /*Header div*/
	background: #d88a6e;
	width: 100%;
	padding: 0;
	margin: 0;
	position: absolute;
	background-image: url("img/banner.jpg");
	background-size: cover;
	background-repeat: no-repeat;
	-webkit-user-select: none; /* Safari 3.1+ */
	-moz-user-select: none; /* Firefox 2+ */
	-ms-user-select: none; /* IE 10+ */
	user-select: none; /* Standard syntax */
}

.container-2 { /*Container for the slideshow image under the header*/
	width: 100%;
	padding-top: 6em;
	-webkit-user-select: none; /* Safari 3.1+ */
	-moz-user-select: none; /* Firefox 2+ */
	-ms-user-select: none; /* IE 10+ */
	user-select: none; /* Standard syntax */
}

.slideshow img{ /*Image in the slideshow div*/
height: auto;
width: auto;
max-width: 99%;
margin-left: 0.5%;
margin-right: 0.5%;
pointer-events: none;
}

.img1 {
	display: inline;
}

.img2 {
	display: none;
}



.search { /* Vehicle Search Bar */
	background-color: #a74b41;
	width: 99%;
	margin: auto;
	margin-left: 0.5%;
	margin-right: 0.5%;
	padding-top: 0.5em;
	padding-bottom: 0.5em;
	color: #FFFFFF;
	-webkit-user-select: none; /* Safari 3.1+ */
	-moz-user-select: none; /* Firefox 2+ */
	-ms-user-select: none; /* IE 10+ */
	user-select: none; /* Standard syntax */
	text-shadow: -1px 2px 4px #000000;
}

.search h2 {
	margin: 1%;
	padding-left: 1%;
	padding-right: 1%;
	width: 10%;
	display: inline;
	margin: 0;
	text-shadow: -1px 2px 4px #000000;
	font-weight: normal;
	vertical-align: middle;
}

.search select {
	vertical-align: middle;
	margin-bottom: auto;
	margin-top: auto;
	margin-left: 1%;
	margin-right: 1%;
	padding-right: 2.5%;
}

#container-3 {
	margin: 0 auto;
	width: 100%;
	max-width: 90em;
}


button {
	margin-right: 1%;
	margin-left: 6%;
}

.text{
	color: #FFFFFF;
	text-align: center;
	font-size: 15pt;
	text-shadow: -1px 2px 4px #000000;
	font-weight: normal;
	width: 50%;
	margin-left: 25%;
}

.text h1 {
	margin-bottom: 0;
	font-weight: normal;
}

.text h2 {
	margin-top: 0;
	font-weight: normal;
}

#footer {
	width: 100%;
	color: #FFFFFF;
	font-size: 10pt;
	text-shadow: -1px 2px 4px #000000;
	background-color: #a74b41;
	text-align: center;
	padding-bottom: 0.5%;
	padding-top: 0.5%;
	height: 6em;
	margin-top: 1.5em;
	user-select: none;
}

footer {
	width: 100%;
	position: absolute;
}


#footer h1 {
	margin-bottom: 0;
	font-weight: normal;
}

#footer h3 {
	margin-top: 0;
	font-weight: normal;
}

.stock h1{ /*Define colour of h1 (and add top padding)*/
	color: #FFFFFF;
	padding-top: 2em;
}

.stock { /*Position text so it doesn't clip into the header*/
	position: absolute;
	padding-left: 1%;
}

.container-2{ /*Align items in the main page to center*/
	display: flex;
	align-items: center;
	justify-content: center;
	text-shadow: -1px 2px 4px #000000;

}

.container-3 {
	width: 96%;
	margin-left: 2%;
	margin-right: 2%;
	margin-top: 4.5em;
}

.left1 {
	float: left;
	color: #FFFFFF;
	text-shadow: initial;
	user-select: initial;
	width: 44%;
	margin-left: 6%;
}

.right1 {
	float: right;
	color: #FFFFFF;
	text-shadow: initial;
	user-select: initial;
	width: 50%;
}

.left2 {
	float: left;
	color: #FFFFFF;
	text-shadow: initial;
	user-select: initial;
	width: 50%;
}

.right2 {
	float: right;
	color: #FFFFFF;
	text-align: right;
	text-shadow: initial;
	user-select: initial;
	width: 44%;
	margin-right: 6%;
}

.vimg {
	max-width: 75%;
	justify-content: center;
	margin-left: 12.5%;
	user-select: none;
}


.left1 p {
	font-size: 18pt;

}

.right2 p {
	font-size: 18pt;

}

.contactxt {
	font-size: 16pt;

}

.contactxt a {
	color: #FFFFFF;
	word-wrap: break-word;
}









/*Mobile Resolution*/
@media only screen and (orientation: portrait) {

.text {
	width: 96%;
	margin-left: 2%;
	margin-right: 2%;
	font-size: 15px;
}

.div-left img {
	width: 10em;
}

.container-1 {
	height: 5.5em;
}


.container-2 { /*Container for the slideshow image under the header*/
	padding-top: 0.2em;

}

/* Style the navigation menu */
.topnav {
  overflow: hidden;
  background-color: #333;
  position: relative;
  padding-bottom: 0;
}

/* Hide the links inside the navigation menu (except for logo/home) */
.topnav #myLinks {
  display: none;
}

/* Style navigation menu links */
.topnav a {
  color: white;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
  display: block;
}

/* Style the hamburger menu */
.topnav a.icon {
  background: black;
  display: block;
  position: absolute;
  right: 0;
  top: 0;
}

/* Add a grey background color on mouse-over */
.topnav a:hover {
  background-color: #ddd;
  color: black;
}

/* Style the active link (or home/logo) */
.active {
  background-color: #d88a6e;
  background-image: url("img/banner-s.jpg");
  color: white;
}

.container-1 {
	display: none;
}

.img1 {
	display: none;
}

.img2 {
	display: inline;
}

#footer h1 {
	font-size: 14pt;
}

#footer h3 {
	font-size: 12pt;
}

/*Rules for layout*/


.left1 {
	float: left;
	color: #FFFFFF;
	text-align: center;
	text-shadow: initial;
	user-select: initial;
	width: 100%;
	margin-left: 0;
	
}

.right1 {
	float: right;
	color: #FFFFFF;
	text-align: center;
	text-shadow: initial;
	user-select: initial;
	width: 100%;
	
}

.left2 {
	float: left;
	color: #FFFFFF;
	text-align: center;
	text-shadow: initial;
	user-select: initial;
	width: 100%;
}

.right2 {
	float: right;
	color: #FFFFFF;
	text-align: center;
	text-shadow: initial;
	user-select: initial;
	width: 100%;
	margin-right: 0;
}

.vimg {
	max-width: 90%;
	justify-content: center;
	user-select: none;
	margin: 0;
	padding: 0;
}



.left1 p {
	font-size: 12pt;

}

.right2 p {
	font-size: 12pt;

}


#map {
	padding-left: 0;
}





/*EOF layout rules*/



}/*EOF mobile rules*/

@media only screen and (orientation: landscape) { /*Hide the mobile header when on desktop*/
.topnav {

}

.active {
	display: none;
}

}/*EOF Desktop rules*/

/*End of Mobile Resolution*/
