@charset "utf-8";
/* CSS Document */

/*  NISSAN CA 02 BASED ON NISSAN B7v1 TEMPLATE ****************************************/
#header {
	position: relative;
	z-index: 601;
	margin: 0 auto;
	width: 100%;
	background-color: #000;
}

#custom_page_1 .header_outer_wrapper {
	position: relative;
}


#custom_page_1 #header {
	position: absolute;
	top: 0;
	background-color: transparent;
	background-image: linear-gradient(to top, rgba(255,0,0,0), rgba(0,0,0,1));
	z-index: 999;
}

#header a {
	color: inherit !important;
	text-decoration: none !important;
}

#header .inner_content {
	position: relative;
	margin: 0 auto;
	padding: 1em 0;
	width: 98%;
	height: 100%;
	max-width: 2000px;
	display: flex;
	align-items: stretch;
	justify-content: space-between;
}

#header .header_right_mobile {
	display: none;
}

/* HEADER LEFT SECTION *******************************************/
.header_left {
	width: 36%;
	height: 100%;	
}

.header_left > a {
	display: flex;
	align-items: stretch;
	justify-content: flex-start;
}

.header_left_logo {
	width: 70%;
	max-width: 430px;
	align-self: center;
}

/*.header_left_divider {
	margin: 0 0.75em;
	border-left: 1px solid #fff;
}

.header_left_title {
	width: 50%;
	align-self: center;
	line-height: 1.1em;
	color: #fff;
	font-size: 1.7em;
}*/

/* HEADER MIDDLE SECTION *****************************************/
.header_middle {
	width: 52%;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: space-evenly;
}

.header_middle_top {
	width: 100%;
	margin-bottom: 0.5em;
	text-align: right;
	font-size: 0.95em;
}

.header_middle_top_phone {
	margin-left: 2em;
	color: #fff;
	font-weight: bold;
}

.header_middle #megamenu {
	width: 100%;
}

.header_middle #megamenu .megamenu_navigation_container .parent_li {
	text-align: right;
	color: #fff;
	text-transform: uppercase;
	font-size: 0.85em;
}

.megamenu_navigation_container .parent_ul .parent_caret {
	color: #fff;
}

.header_middle #megamenu .megamenu_content_container {
	top: 2em;
}

/* mega menu height */
.megamenu_content_container .template_2 {
	max-height: 40em;
	overflow: auto;
}

/* HEADER RIGHT SECTION ******************************************/
.header_right {
	width: 8%;
	height: 100%;
	align-self: center;
}

.header_right_quick_link > svg {
	width: 2em;
	height: 2em
}

.header_right_phones span {
	display: block;	
}

.header_right_quick_link_wrapper {
	position: relative;
	width: 100%;
	height: 100%;
	float: left;
	text-align: right;
}

.header_right_quick_link_wrapper .header_right_quick_link {
	width: 46%;
	display: inline-block;
	cursor: pointer;
	box-sizing: border-box;
}

.header_right_quick_link_wrapper .header_right_quick_link:first-child {
	border-left: none;
}

.header_right_quick_link_wrapper .header_right_quick_link > img {
	width: 80%;
	max-width: 50px;
	vertical-align: middle;
}

/* SEARCH SLIDE OUT */
.header_right_quick_link_dropdown_search {
	position: absolute;
	z-index: 10;
	top: 0;
	right: 4%;
	width: 0;
	height: 100%;
	/*opacity: 0;*/
	visibility: hidden;
	background-color: #000;
	/*color: #fff;*/
	transition: all 0.5s ease;
	box-sizing: border-box;
}

.header_right_quick_link_dropdown_search #search_lbl {
	display: none;
}

.header_right_quick_link_dropdown_search #front_search_wrap {
	height: 100%;
}

.header_right_quick_link_dropdown_search.active {
	width: 65%;
	/*opacity: 1;*/
	visibility: visible;
}

.header_right_quick_link_dropdown_search .smart-search {
	position: relative;
	top: 50%;
	transform: translateY(-50%);
	margin: 0 2.5%;
}

.header_right_quick_link_dropdown_search .smart-search > input {
	padding: 0.5em;
	box-sizing: border-box;
	width: 100%;
}

.header_right_quick_link_dropdown_search .smart-search .result-wrapper {
	left: 0;
	right: 0;
	width: 100% !important;
	height: 80vh;
	overflow-y: scroll;
}



/* CONTACT DROPDOWN */
.header_right_quick_link_dropdown {
	position: absolute;
	z-index: 10;
	right: 0;
	padding: 1em;
	width: 500%;
	height: 0;
	/*opacity: 0;*/
	/*visibility: hidden;*/
	background-color: #000;
	color: #fff;
	transition: all 0.5s ease;
	box-sizing: border-box;
}

.header_right_quick_link_dropdown.active {
	/*opacity: 1;*/
	/*visibility: visible;*/
}

.header_right_quick_link_dropdown > a,
.header_right_quick_link_dropdown > div {
	width: 100%;
	display: inline-block;
	line-height: 1.75em;
}

.header_right_quick_link_dropdown .phone-wrap {
	margin: 0.5em 0;
	width: 100%;
}

.header_right_quick_link_dropdown .phone-wrap:hover {
	background-color: #fff;
	color: #000;
}

.header_right_quick_link_dropdown_btn {
	margin-top: 0.75em;
	padding: 0.5em;
	width: 100%;
	display: block;
	border: 1px solid #fff;
	box-sizing: border-box;
}

.header_right_quick_link_dropdown_btn:hover {
	background-color: #fff;
	color: #000;
}

.header_right_quick_link_wrapper_btn.mobile {
	display: none;
}


/* RESPONSIVE MEDIA QUERIES ************************************************************************************/
/* SMALLER THAN 1350px */
@media only screen and (max-width: 1350px) {
	#custom_page_1 #header,
	#header	{
		/*height: 10vh;*/
	}
	
	/* HEADER LEFT SECTION *******************************************/
	.header_left {
		width: 30%
	}
	
	.header_left_logo {
		/*width: 25%;*/
	}


	/* HEADER MIDDLE SECTION *****************************************/	
	.header_middle {
		width: 62%
	}
	
	.header_middle .megamenu_navigation_container {
		font-size: 0.7em;
	}
	
	.header_middle #megamenu .megamenu_navigation_container .parent_li {
		text-align: center;
	}

	/* HEADER RIGHT SECTION ******************************************/
	.header_right_quick_link > svg {
		width: 2em;
		height: 2em;
	}
	
	.header_right_quick_link_wrapper .header_right_quick_link {
		/*width: 44%;*/
	}
}

/* SMALLER THAN 768px */
@media only screen and (max-width: 960px) {
	.header_left_title {
		font-size: 1.25em;
	}
	
	.header_middle_top {
		font-size: 0.75em;
	}
	
	.header_right_quick_link_wrapper .header_right_quick_link {
		width: 42%;
	}
}

/* SMALLER THAN 768px */
@media only screen and (max-width: 768px) {	
	#megamenu_mobile {
		position: relative;
		z-index: 1050;
	}
	
	.megamenu_mobile .toggle_menu_bar {
		background-color: #169a5a;
	}
	
	.megamenu_mobile .toggle_menu_bar .site_title {
		font-weight: normal;
	}
	
	.megamenu_mobile .toggle_menu_button {
		background-color: #169a5a;
		color: #fff;
	}
	
	#custom_page_1 #header {
		top: 40px;
	}
	
	/* HEADER LEFT SECTION *******************************************/
	.header_left {
		width: 55%;
	}
	
	/* HEADER MIDDLE SECTION *****************************************/
	.header_middle {
		display: none;
	}
	
	#header .inner_content {
		/*display: block;*/
	}

	/* HEADER RIGHT SECTION ******************************************/
	.header_right {
		width: 25%;
		float: right;
	}

	.header_right_quick_link_wrapper {
		position: static;
		text-align: center;
	}
	
	.header_right_quick_link > svg {
		width: 2em;
		height: 2em;
	}
	
	.header_right_quick_link_dropdown {
		width: 100%;
	}
	
	.header_right_quick_link_dropdown_search.active {
		width: 100%;
		top: 100%;
		left: 0;
		right: 0;
	}
}
