/* CSS Document */


/* *** RESET *** */
html, body {
	width: 100%;
  	min-height: 100vh;
	margin: 0;
	padding: 0;
  	font-family: 'Cairo', sans-serif;
}

iframe {
	height: 90vh;
}

h1, h2, h3, h4 {
	color: #2F2F2F;
}

/* *** START OF NAVIGATION STYLES *** */

.wrapper {
	height: 100vh;
	width: 100%;
	float: left;
}

.header {
	display: block;
	width: 100%;
	height: 102px;
	float: left;
	box-shadow: 0 1px 2px 0px #f2f2f2;
	position: relative;
	z-index: 5;
	background-color: #FFF;
	-webkit-transition: all 0.7s ease;
}

#mainSlider {
	background-image: url("../images/bg/2.jpg");
	width: 100%;
	float: left;
	background-attachment: fixed;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	position: absolute;
	z-index: 1;
	top: 102px;
	bottom: 0;
}

.sliderTxt {
	text-align: center;
	width: 800px;
	font-size: 30px;
	color: #4d4d4d;
	position: absolute;
    top: 50%; 
	left: 50%;
    transform: translate(-50%,-50%);
}

#getStarted {
	padding: 2px 15px;
	border: 2px solid #4d4d4d;
	color: #4d4d4d;
	text-decoration: none;
	font-size: 8;
}

#getStarted:hover {
	background-color: #4d4d4d;
	color: white;
}

#logoContainer {
	width: 30%;
	height: 100%;
	float: left;
	background-color: white;
}

#logo img {
	height: 80px;
	padding-top: 10px;
	padding-left : 35px;
}

#logo img:hover {
	opacity: 0.8;
}

/* Navbar container */
nav {
	width: 70%;
	height: 100%;
	float: left;
}
.navItem {
	float: right;
	list-style-type: none;
	margin: 0;
	padding: 0;
	overflow: hidden;
}

.sticky {
	position: fixed;
	top: 0;
	width: 100%;
}

.navItem li {
	float: left;
}

.navItem a, .dropbtn {
	display: inline-block;
	color: #4d4d4d;
	font-weight: bold;
	text-align: center;
	padding: 34.5px 50px;
	border-bottom: 3px solid transparent;
	text-decoration: none;
}

.navItem a:hover, a.active, .dropdown:hover .dropbtn {
	border-bottom: 3px solid #ff7e00;
}

li.dropdown {
	display: inline-block;
}

.dropdown-content {
	display: none;
	position: absolute;
	background-color: #4d4d4d;
	min-width: 166px;
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
	z-index: 1;
}

.dropdown-content a {
	color: #8c8c8c;
	padding: 12px 16px;
	text-decoration: none;
	display: block;
	text-align: center;
}

.dropdown-content a:hover {
	color: #FFF;
	border-bottom: 3px solid transparent;
}

.dropdown:hover .dropdown-content {
	display: block;
}

/* *** END OF NAVIGATION STYLES *** */

/* *** MOBILE NAVIGATION *** */
.hamburger {
	float: right;
	display: none;
	background: none;
  	padding: 10px 35px 0 0;
  	color: #1F1F1F;
  	border: 0;
  	font-size: 50px;
  	font-weight: bold;
  	cursor: pointer;
  	outline: none;
}

.hamburger:hover {
	color: #FF8600;
}

.mContainer {
	float: left;
	left: 0;
	width: 100%;
	position: fixed;
	z-index: 3;
	background-color: #FFF;
	display: none;
}

.mMenu {
	display: none;
	margin: 0 auto;
	margin-bottom: 0px;
	margin-top: 102px;
	width: 90%;
}

.mMenu ul {
	display: none;
	margin: 0; 
	padding: 0; 
	list-style-type: none; 
	list-style-image: none;
}
.mMenu li {
	display: inline-block;
	text-align: left;
	width: 100%;
	padding: 15px 0 15px 0;
	border-bottom:#dddddd 1px solid;
}
.mMenu a{
	text-decoration:none; 
	color: #575757;
}

/* *** END OF MOBILE NAV *** */

/* *** MAIN CONTENTS *** */

.container {
	float: left;
	text-align: center;
	width: 100%;
	min-height: 96vh;
	background-color: white;
	position: relative;
}

#containerTitle {
	float: left;
	width: 100%;
	height: 90px;
	font-size: 35px;
	padding-top: 35px;
	padding-left: 30px;
	background-color: aliceblue;
}

.mainContent {
	float: left;
	width: 90%;
	height: 99%;
	background-color: white;
	margin: 0.5% 5%;
	padding-bottom: 80px;
}

.parallaxContent {
	background-image: url("../images/bg/4.jpg");
	height: 700px;
	width: 100%;
	float: left;
	background-attachment: fixed;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	position: relative;
}

#mainLeft {
	float: left;
	width: 50%;
	font-size: 20px;
	text-align: left;
}

#mainRight {
	float: left;
	width: 50%;
	text-align: left;
}

#mainRight img {
	width: 70%;
	right: 0;
	float: right;
	height: auto;
}

#about {
	margin: 0 auto;
	padding-top: 102px;
	width: 60%;
}

/* *** END MAIN CONTENTS *** */

/* *** SERVICES CONTENTS *** */

.svcPanelLong {
	float: left;
	height: 200px;
	width: 48.4%;
	margin: 5px;
	border-radius: 10px;
	background-repeat: no-repeat;
  	background-size: cover;
}

.svcPanelShort {
	float: left;
	height: 200px;
	width: 31.8%;
	margin: 5px;
	border-radius: 10px;
	background-repeat: no-repeat;
  	background-size: cover;
}

.svcOne {
	background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/services/1.jpg');
}

.svcTwo {
	background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../images/services/2.jpg);
}

.svcThree {
	background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../images/services/3.jpg);
}

.svcFour {
	background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../images/services/4_1.jpg);
}

.svcFive {
	background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../images/services/5.jpg);
}

.svcContent {
	font-size: 30px;
	color: #FFF;
	padding-top: 45px;
	font-weight: bold;
}

/* *** END SERVICES CONTENTS *** */

/* *** NEW CAR SPECIFICATIONS *** */
.carSpecsContainer {
	margin: 0 auto;
	width: 60%;
}

.carSpecsRow {
	float: left;
	height: 400px;
	width: 100%;
	background-color: #F0F0F0;
}

.carSpecsColumn {
	height: 100%;
	width: 50%;
	background-repeat: no-repeat;
	background-size: cover;
}

.carSpecsColumn img {
	width: 100%;
	height: 100%;
}

.fl {
	float: left;
	left: 0;
}

.fr {
	float: right;
	right: 0;
}

/* *** END CAR SPECIFICATIONS *** */

/* *** CAR BOX *** */

#mainCarBox {
	margin: 0 auto;
	height: 700px;
	width: 59%;
	border-radius: 30px;
	border: 1px solid #C0C0C0;
	background-color: white;
	overflow: hidden;
	position: relative;
}

.carSliderBtn {
	float: left;
	width: 4%;
	left: 0;
	font-size: 50px;
	padding-top: 250px;
}

#carBoxButtonTop {
	float: left;
	width: 100%;
}
.carBoxBtn {
	height: 80px;
	width: 50%;
	background-color: gainsboro;
	border-style: none;
	font-size: 30px;
}

#carBoxButtonTop button.active {
	background-image: linear-gradient(180deg,#262626 10%,#595959 100%);
	color: white;
}

#carBoxButtonTop button:hover {
	background-image: linear-gradient(180deg,#666666 10%,#404040 100%);
	color: white;
}

.btmBtn {
	width: 100%;
	background-image: linear-gradient(180deg,#8c8c8c 10%,#4d4d4d 100%);
	color: white;
}

.btmBtn:hover {
	background-image: linear-gradient(180deg,#a6a6a6 10%,#737373 100%);
}

.btmBtn:active {
	background-image: linear-gradient(180deg,#262626 10%,#595959 100%);
}

#carBoxButtonBtm {
	float: left;
	width: 100%;
	position: absolute;
	bottom: 0;
}
.carBoxContent {
	float: left;
	height: 100%;
	width: 100%;
	margin: 0;
	display: none;
	-webkit-animation: fadeEffect 1s;
	animation: fadeEffect 1s;
}

#carTitle {
	height: 50px;
	width: 100%;
	padding-top: 10px;
	color: black;
	font-size: 30px;
	float: left;
}

/* *** END CAR BOX *** */

#sliderImg img {
	height: 100%;
	width: 100%;
}

#sliderContainer {
	width: 60%;
	background-color: transparent;
	margin: 0 auto;
}

#lightSlider img {
	height: auto;
	width: 100%;
}

#infoContainer {
	width: 100%;
	background-color: rosybrown;
}

#loading {
	margin-top: 15%;
   	width: 100%;
  	background-color: #fff;
   	z-index: 99;
   	text-align: center;
}

#loading-image {
	height: 200px;
	width: auto;
  	z-index: 100;
}

.pageHeader {
	width: 98%;
	height: 70px;
	padding-top: 10px;
	padding-left: 2%;
	border-bottom: 2px solid black;
	float: left;
	text-align: left;
}

/* *** START OF NEW CAR *** */

.sortBar {
	float: left;
	width: 98%;
	height: 50px;
	text-align: left;
	padding-top: 50px;
	margin-left: 2%;
}

.newCarBox {
	color: black;
	display: inline-block;
	position: relative;
	margin: 40px 10px;
	width: 300px;
	height: 450px;
	border-radius: 5px;
	background-image: linear-gradient(180deg,#ffffff 10%,#e6e6e6 100%);
	box-shadow: 0px 5px 18px grey;
}

.newCarImg {
	margin: 0 auto;
	margin-top: 25px;
	background-color: transparent;
	width: 240px;
	height: 200px;
}

.newCarImg img {
	width: 250px;
	height: 200px;
}

.newCarTitle {
	margin-top: 20px;
	text-align: center;
	font-weight: bold;
	height: 30px;
}

.newCarInfo {
	margin-top: 15px;
	height: 80px;
	width: 100%;
}

.newCarPrice {
	font-weight: bold;
	padding-bottom: 15px;
}

/* *** END OF NEW CAR *** */

/* *** START OF CONTACT PAGE *** */

#mapContainer {
	height: 200px;
	width: 100%;
	float: left;
}

#gMaps {
	height: 200px;
	width: 100%;
	border: none;
	float: left;
}

#contactLeftContainer {
	height: 800px;
	width: 60%;
	float: left;
	padding-top: 10px;
}

#contactRightContainer {
	text-align: left;
	height: 800px;
	width: 40%;
	float: left;
}

.contactForm {
	margin: 0 auto;
	width: 320px;
}

.g-recaptcha {
	overflow: hidden;
}

/* *** END OF CONTACT PAGE *** */

/* *** TEST DRIVE MSG BOX *** */

.msgBox {
    display: none;
    position: fixed;
    z-index: 99;
    left: 0;
    top: 0;
    width: 100%;
	height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
    padding-top: 60px;
}

.msgContainer {
    background-color: #FFF;
	top: 150px;
    margin: 5px auto;
	border: 1px solid #888;
	border-radius: 10px;
	width: 30%; 
	text-align:center;
	position: relative;
}

.close {
	position:absolute;
    right: 5px;
    top: 0; 
    color: #000;
    font-size: 35px;
    font-weight: bold;
}

.close:hover, .close:focus {
    color: red;
    cursor: pointer;
}

/* *** END OF TEST DRIVE MSG BOX *** */

/* *** USED CAR PAGE *** */

#usedCarTopTable {
	padding-bottom: 50px;
}

#usedCarTitle{
	font-size: 20px;
	font-weight: bold;
}

#usedCarBtmTable {
	height: auto;
	margin: 0 auto;
	border-collapse: collapse;
	width: 100%;
}

#usedCarBtmTable th, #usedCarBtmTable td {
	border: 1px solid #ddd;
  	text-align: left;
  	padding: 8px;
}

#usedCarBtmTable tr:nth-child(even){
	background-color: #f2f2f2
}

#usedCarBtmTable th {
  	background-color: #4CAF50;
  	color: white;
}

/* *** END OF USED CAR PAGE *** */

.testDriveBtn {
	padding: 2px 15px;
	border: 2px solid #4d4d4d;
	color: #4d4d4d;
	text-decoration: none;
	font-size: 8;
}

.testDriveBtn:hover {
	background-color: grey;
	color: white;
}

::-webkit-input-placeholder {
   text-align: center;
}

#upScroll {
	display: none;
	position: fixed;
	bottom: 0px;
	right: 30px;
	z-index: 99;
	font-size: 25px;
	border: none;
	outline: none;
	background-color: #424242;
	color: white;
	cursor: pointer;
	padding: 15px;
	border-radius: 4px 4px 0 0;
}

#upScroll:hover {
	background-color: #262626;
	color: #FFA043;
	animation: bounce 1s;
}

/* *** START OF FOOTER *** */
footer {
	float : left;
	width: 100%;
	height: 50px;
	text-align: center;
  	bottom: 0;
}

/* Fade in tabs */
@-webkit-keyframes fadeEffect {
  from {opacity: 0;}
  to {opacity: 1;}
}

@keyframes fadeEffect {
  from {opacity: 0;}
  to {opacity: 1;}
}

/* Owl Carousel */
.owl-prev {
    width: 15px;
    height: 100px;
    position: absolute;
    top: 40%;
    margin-left: 10px;
    display: block !important;
    border:0px solid black;
}

.owl-next {
    width: 15px;
    height: 100px;
    position: absolute;
    top: 40%;
    right: 10px;
    display: block !important;
    border:0px solid black;
}
.owl-prev i, .owl-next i {
	transform : scale(3,3); 
	color: #ccc;
}

.owl-prev i:hover, .owl-next i:hover {
	color: #0F0000;
}

/** Webkit Animations **/

@-webkit-keyframes bounce {
	0%, 20%, 60%, 100% {
		-webkit-transform: translateY(0);
		transform: translateY(0);
	}

	40% {
		-webkit-transform: translateY(-20px);
		transform: translateY(-20px);
	}

	80% {
		-webkit-transform: translateY(-10px);
		transform: translateY(-10px);
	}
}

/** Mobile Styles **/
@media screen and (max-width: 1000px) {
	.navItem {
		display: none;
	}
	
	.hamburger {
		display: block;
	}
	
	.mContainer {
		display: block;
	}
	
	.mMenu {
		display: block;
	}
	
	.mMenu ul {
		display: block;
	}
	
	#mainSlider {
		background-attachment: scroll;
	}
	
	#mainLeft {
		width: 100%;
	}
	
	#mainRight {
		padding-top: 50px;
		width: 100%;
	}
	
	#mainRight img {
		width: 100%;
	}
	
	.svcPanelLong, .svcPanelShort {
		width: 100%
	}
	
	#contactLeftContainer, #contactRightContainer {
		width: 100%;
	}
	
	.carSpecsRow {
		height: 100%;
	}
	
	.carSpecsColumn {
		width: 100%;
	}
	
	.fr {
		float: left;
		left: 0;
	}
	
	.testDriveBtn {
		text-align: center;
		margin: 0 auto;
	}
	
	#contactRightContainer table{
		margin: 0 auto;
	}
	
	#sliderContainer {
		width: 80%;
	}
}