@charset "utf-8";

/* LEXUS H16v1 TEMPLATE ******************************/
#custom_page_1 #header_wrapper {
	position: fixed;
	z-index: 101;
	width: 100%;
	background-color: transparent;
}

#header_wrapper {
	padding: 0.5em 0;
	background-color: #000;
}

.header_wrapper_background {
	position: relative;
	margin: 0 auto;
	width: 100%;
	max-width: 2000px;
	background-color: #000;
}

#custom_page_1 .header_wrapper_background {
	background-color: transparent;
}

#header_wrapper .header_wrapper_background {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

/* HEADER DEALER LOGO SECTION *********************************/
.header_logo_section {
	width: 30%;
	float: left;
}
.header_logo_section  a{
	display: flex;
}
.header_logo_section img {
	margin: 0 5%;
	width: 42%;
	max-width: 300px;
}
.header_logo_section img.site_logo{
	border-right: 1px solid #fff;
    padding-right: 5%;
    margin-right: 1%;
}
/* HEADER NAV MEGAMENU SECTION *********************************/
.header_nav {
	width: 58%;
	float: left;
}

.header_nav .megamenu_navigation_container  .parent_li {
	text-align: center;
}

.header_nav .megamenu_navigation_container .parent_label {
	text-decoration: none;
	color: #fff;
	text-transform: uppercase;
	font-size: 0.8em;
}

.megamenu_content_container {
	top: 1.5em;
}

.megamenu_content_container .template_2 {
    max-height: 65vh;
    overflow: auto;
}

/* HEADER ICONS SECTION *********************************/
.header_icons_section {
	width: 12%;
	float: right;
}

.header_icons_section a {
	text-decoration: none;
}

.header_icons_section .header_icon {
	/*margin: 15% 0 0;*/
	width: 33%;
	float: left;
	text-align: center;
	cursor: pointer;
}

.header_icons_section .header_icon img {
	width: 95%;
	max-width: 50px;
}

/* SMART SEARCH DROPDOWN CONTAINER *******************/
#smart_search_container {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	right: 4.5%;
	z-index: 999;
	margin: 0 auto;
	padding: 0 2%;
	width: 68%;
	box-sizing: border-box;
	-webkit-transition: all .5s ease;
	-moz-transition: all .5s ease;
	-ms-transition: all .5s ease;
	-o-transition: all .5s ease;
	transition: all .5s ease;
}

#smart_search_container.closed {
	width: 0;
	padding: 0;
	overflow: hidden;
}

#smart_search_container .smart-search__field {
	border-radius: 0;
}

#smart_search_container.closed .result-wrapper {
	display: none !important;
}

#smart_search_container .smart-search #s_search {
	padding: 0.5em;
	width: 100%;
	box-sizing: border-box;
	border: none;
}

#smart_search_container.closed .smart-search #s_search {
	padding: 0.5em 0;
}

#front_search_wrap .smart-search .result-wrapper {
	right: 0;
	left: 0;
	width: 100% !important;
	max-height: 80vh;
	overflow: auto;
	box-sizing: border-box;
}

#smart_search_container #search_lbl {
	display: none;
}

/* smart search focus fix */
#s_search {
	font-size: 1rem;
}

/* PHONE DROPDOWN CONTAINER ******************/
#phone-drop-down-container {
	position: absolute;
	top: 100%;
	right: 0;
	width: 33%;
	height: auto;
	background-color: #fff;
	z-index: 999;
	overflow: hidden;
	-webkit-transition: height .5s ease-in-out;
	-moz-transition: height .5s ease-in-out;
	-ms-transition: height .5s ease-in-out;
	-o-transition: height .5s ease-in-out;
	transition: height .5s ease-in-out;
	-webkit-box-shadow: 0 5px 10px -5px #000;
	box-shadow: 0 5px 10px -5px #000;
	border-radius: 0.1px;
}

#phone-drop-down-container.closed {
	height: 0;
	display: none;
}

#phone-drop-down-container #phone-drop-down-wrap {
	padding: 15px;
}

#phone-drop-down-container #phone-drop-down-wrap .phone-wrap {
	margin-bottom: 20px;
}

#phone-drop-down-container #phone-drop-down-wrap .phone-wrap.last {
	margin-bottom: 0px;
}

#phone-drop-down-container #phone-drop-down-wrap .phone-title {
	font-size: 17px;
	display: block;
}

#phone-drop-down-container #phone-drop-down-wrap a {
	text-decoration: none;
	color: #fff;
}

#phone-drop-down-container #phone-drop-down-wrap .phone-number,
#phone-drop-down-container #phone-drop-down-wrap .phone-number-location {
	font-size: 14px;
	display: block;
	background-color: #000;
	color: #fff;
	padding: 15px;
	border-radius: 5px;
	margin-top: 5px;
}

#phone-drop-down-container #phone-drop-down-close-wrap {
	text-align: center;
	font-size: 15px;
	display: block;
	background-color: #cecece;
	color: #444444;
	border-top: 1px solid #414141;
	padding: 15px;
	cursor: pointer;
}



/* RESPONSIVE MEDIA QUERIES *******************************************************/
/* SMALLER THAN 1350px */
@media only screen and (max-width: 1350px) {
	/* HEADER DEALER LOGO SECTION *********************************/
	
	/* HEADER NAV MEGAMENU SECTION ********************************/
	.header_nav {
		width: 70%;
	}

	.header_nav .megamenu_navigation_container {
		font-size: 0.9em;
	}

	/* HEADER ICONS SECTION *********************************/
	
	/* SMART SEARCH DROPDOWN CONTAINER */

}

/* SMALLER THAN 960px */
@media only screen and (max-width: 960px) {
	/* HEADER DEALER LOGO SECTION *********************************/
	
	/* HEADER NAV MEGAMENU SECTION ********************************/
	.header_nav .megamenu_navigation_container {
		font-size: 0.75em;
	}

	/* HEADER ICONS SECTION *********************************/
	
	/* PHONE DROPDOWN CONTAINER */
	#phone-drop-down-container {
		width: 50%;
	}

	/* SMART SEARCH DROPDOWN CONTAINER */
}

/* SMALLER THAN 768px */
@media only screen and (max-width: 768px) {
	#custom_page_1 #header_wrapper {
		/* position: absolute; */
		padding: 0;
		display: inline-block;
		background-color: transparent;
		z-index:999;
	}

	.megamenu_mobile .toggle_menu_bar {
		background-color: #000;
	}

	.megamenu_mobile .toggle_menu_bar .site_title {
		visibility: hidden;
	}

	.megamenu_mobile .toggle_menu_button {
		background-color: #000;
	}
	
	#custom_page_1 #megamenu_mobile_body {
		position: absolute;
		z-index: 110;
		width: 100%;
		max-height: 90vh;
		background-color: rgb(255, 255, 255);
		overflow-y: auto;
	}

	/* HEADER DEALER LOGO SECTION *********************************/
	.header_logo_section {
		width: 60%;
	}
	
	/* HEADER NAV MEGAMENU SECTION ********************************/
	.header_nav {
		display: none;
	}

	/* HEADER ICONS SECTION *********************************/	
	.header_icons_section {
		width: 30%
	}

	/* PHONE DROPDOWN CONTAINER */
	#phone-drop-down-container {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		margin: 0 auto;
		width: 100%;
	}

	/* SMART SEARCH DROPDOWN CONTAINER */
	#smart_search_container {
		width: 90%;
		right: 10%;
	}
}
