@charset "utf-8";

/* TOYOTA 05 DEMO - BASED KIA H01v1 TEMPLATE *********************************************************/
#header {
	position: relative;
	z-index: 200;
	box-sizing: border-box;
	background-color: #fff;
	color: #000;
}

#header .inner_content {
	position: relative;
	margin: 0 auto;
	width: 100%;
	max-width: 2000px;
	box-sizing: border-box;
}

/* HEADER TOP **************************************/
.header_top_section .inner_content {
	padding: 1.1em 1%;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	background-color: #000;
	color: #fff;
}

.header_top_section .inner_content > span {
	display: flex;
	/*align-items: center;*/
}

.header_phone_address_hours_wrapper,
.header_phone_address_hours_wrapper a {
	color: #fff;
	text-decoration: none;
	font-weight: bold;
}

.header_phone_address_hours_wrapper svg {
	width: 1.3em;
	height: auto;
	/*fill: #fff;*/
}

/* PHONE */
.header_phone_wrapper {
	padding: 0 0.75em;
	border-left: 1px solid #fff;
}

.header_phone_wrapper.first {
	border-left: none;
}

/* ADDRESS */
.header_address_wrapper {
	padding: 0 0.75em;
}

/* HOURS */
.header_hours_wrapper {
	padding: 0 0 0 0.75em;
	display: flex;
	/*align-items: center;*/
}

.header_hours_service {
	display: none;
}

.header_hours_reference_sales,
.header_hours_reference_service {
	display: none;
}

/* HEADER BOTTOM ***********************************/
.header_bottom_section {
	position: relative;
	width: 100%;
	background-color: #fff;
	color: #000;
}

.header_bottom_section .inner_content {
	padding: 1% 2%;
	display: flex;
	align-items: stretch;
	justify-content: space-between;
}

.header_bottom_section .inner_content a {
	color: #000;
	text-decoration: none;
}

/* HEADER LOGO WRAPPER */
.header_logo_wrapper {
	width: 42%;
	align-self: center;
}

.header_logo_wrapper > a {
	display: flex;
	align-items: center;
	font-size: 1.5em;
}

.header_logo_wrapper > a > img {
	padding: 0 1em 0 0;
	width: 3.25em;
	height: auto;
	aspect-ratio: 1/1;
	border-right: 2px solid #000;
}

.header_logo_wrapper h2 {
	padding-left: 1em;
	font-size: 1em;
}

.header_logo_white {
	display: none;
}

/* HEADER NAV */
.header_nav {
	width: 52%;
	align-self: center;
}

.header_nav .megamenu_navigation_container .parent_ul .parent_li {
	padding: 1em 0;
	text-align: center;
	font-weight: bold;
}

.megamenu_navigation_container .parent_ul .parent_li .parent_label {
	position: relative;
	padding: 0.1em 0;
	font-size: 1em;
}

.megamenu_navigation_container .parent_ul .parent_li .parent_label:hover,
.megamenu_navigation_container .parent_ul .parent_li.content_opened .parent_label {
	border-bottom: 3px solid #EB0A1E;
}

.megamenu_navigation_container .parent_ul .parent_caret {
	display: none;
}

.megamenu_navigation_container .parent_ul .parent_li .parent_label:after {
	content: '\203A';
	position: absolute;
	top: 0.2em;
	right: -1em;
	display: inline-block;
	font-size: 1.3em;
	-webkit-transform: rotate(90deg);
	-moz-transform: rotate(90deg);
	-o-transform: rotate(90deg);
	transform: rotate(90deg);
}

/* HEADER SEARCH ICON */
.header_search_icon {
	align-self: center;
	cursor: pointer;
}

.header_search_icon > svg {
	width: 2.5em;
	height: auto;
	fill: #EB0A1E;
}

/* HEADER MOBILE ICONS */
.header_mobile_icons_wrapper {
	display: none;
}

/* HEADER SEARCH DROPDOWN */
/* SMART SEARCH DROPDOWN CONTAINER *******************/
#search_dropdown_wrapper {
	position: absolute;
	top: 50%;
	right: 5%;
	transform: translateY(-50%);
	z-index: 25;
	margin: 0 auto;
	width: 60%;
	box-sizing: border-box;
	transition: all 0.5s ease;
}

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

#search_dropdown_wrapper #front_search_wrap {
	margin: 0 auto;
	padding: 0 2%;
	width: 100%;
	max-width: 2000px;
	box-sizing: border-box;
}

#search_dropdown_wrapper .smart-search {
	position: relative;
}

#search_dropdown_wrapper .smart-search input {
	padding: 0.75em;
	width: 100%;
	box-sizing: border-box;
	border: 1px solid #000;
	border-radius: 0.5em;
	font-size: 1rem;
}

#search_dropdown_wrapper.closed .smart-search input {
	padding: 0;
	border: none;
}

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

#search_dropdown_wrapper #search_lbl {
	display: none;
}

/* PHONE DROPDOWN CONTAINER ******************/
#phone_dropdown_wrapper {
	position: absolute;
	top: 100%;
	right: 0;
	width: 100%;
	max-height: 32em;
	background-color: #fff;
	z-index: 999;
	overflow: hidden;
	transition: max-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_dropdown_wrapper.closed {
	max-height: 0;
}

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

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

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

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

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

#phone_dropdown_wrapper #phone-drop-down-wrap .phone-number,
#phone_dropdown_wrapper #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_dropdown_wrapper #phone_dropdown_close {
	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 TOP **************************************/
	.header_top_section {
		font-size: 0.75em;
	}

	/* HEADER BOTTOM ***********************************/
	.megamenu_navigation_container .parent_ul .parent_li .parent_label {
		font-size: 0.75em;
	}
	
	/* HEADER LOGO WRAPPER */
	.header_logo_wrapper {
		font-size: 0.65em;
	}

	/* HEADER NAV */
	.megamenu_navigation_container .parent_ul .parent_li .parent_label:after {
		right: -0.75em;
	}

	/* HEADER SEARCH ICON */
	.header_bottom_section .header_search_icon {
		font-size: 0.6em;
	}
}

/* SMALLER THAN 960px */
@media only screen and (max-width: 960px) {	
	/* HEADER TOP **************************************/
	.header_top_section {
		font-size: 0.65em;
	}

	/* HEADER BOTTOM ***********************************/
	.megamenu_navigation_container .parent_ul .parent_li .parent_label,
	.header_bottom_section .header_search_icon {
        font-size: 0.65em;
    }
	
	/* HEADER LOGO WRAPPER */
	.header_logo_wrapper {
		width: 36%;
	}

	/* HEADER NAV */
	.header_nav {
		width: 58%;
	}
	
	#megamenu .megamenu_navigation_container .parent_ul .parent_caret {
		display: none;
	}
	
	.megamenu_navigation_container .parent_ul .parent_li .parent_label:after {
		position: relative;
		right: auto;
		display: block;
	}

	/* HEADER SEARCH ICON */
	
}

/* SMALLER THAN 768px */
@media only screen and (max-width: 768px) {
	/* HEADER TOP **************************************/
	.header_top_section {
		display: none;
	}
	
	/*.header_top_section .header_phone_address_hours_wrapper > svg,
	.header_top_section .header_phone_address_hours_wrapper > span {
		display: none;
	}
	
	.header_top_section .header_phone_address_hours_wrapper .header_hours_wrapper {
		position: absolute;
		top: 0.5em;
		left: 15%;
		padding: 0;
		display: inline-block;
	}*/
	
	/*#header_hours_sales,
	#header_hours_service {
		margin: 0.25em 0;
		display: block;
	}*/
	
	/* HEADER BOTTOM ***********************************/
	.header_bottom_section .inner_content {
		padding: 3% 2%;
	}
	
	/* HEADER LOGO WRAPPER */
	.header_logo_wrapper {
		width: 68%;
	}
	
	.header_logo_wrapper > a > img {
		/*width: 30%;*/
	}
	
	.header_logo_wrapper h2 {
		/*font-size: clamp(0.6rem,2vw,1.5rem);*/
	}

	/* HEADER NAV */
	.header_nav {
		display: none;
	}
	
	.megamenu_mobile {
		width: auto;
		background-color: transparent;
	}
	
	.megamenu_mobile .toggle_menu_bar {
		padding: 0 1%;
		box-sizing: border-box;
		background-color: transparent;
	}
	
	.megamenu_mobile .toggle_menu_button {
		padding: 2px 0 10px;
		width: 10%;
		font-size: 2.5em;
		background-color: transparent;
		color: #000;
	}
	
	.megamenu_mobile .toggle_menu_bar .site_title {
		display: none;
	}
	
	.megamenu_mobile .megamenu_mobile_body .parent_label,
	.megamenu_mobile .megamenu_mobile_body .active_parent .clickable_li,
	.megamenu_mobile .megamenu_mobile_body .group_label_container {
		color: #000;
	}
	
	.megamenu_mobile .megamenu_mobile_body {
		background-color: #fff;
	}
	
	.megamenu_mobile_body {
		position: absolute;
		z-index: 200;
		top: 100%;
		left: 0;
		right: 0;
		width: 100%;
		background-color: #fff;
	}

	.megamenu_mobile_body .active_parent .clickable_li {
		color: inherit;
	}

	/* HEADER MOBILE ICONS */
	.header_mobile_icons_wrapper {
		display: inline-block;
		display: flex;
		align-items: center;
		justify-content: space-around;
		width: 24%;
		cursor: pointer;
	}
	
	.header_mobile_icons_wrapper .mobile_icon svg {
		width: 2.25em;
		height: auto;
		aspect-ratio: 1/1;
	}
	
	.header_mobile_icons_wrapper #header_phone_icon svg {
		width: 2.5em;
		height: auto;
		aspect-ratio: 1/1;
		/* FIX FOR SAFARI */
		transform: rotate(0);
	}
	
	/* HEADER SEARCH ICON */
	.header_search_icon  {
		display: none;
	}
	
	/* HEADER SEARCH DROPDOWN MOBILE */
	#search_dropdown_wrapper,
	#search_dropdown_wrapper.closed	{
		position: relative;
		top: 100%;
		left: 0;
		right: 0;
		transform: none;
		margin: 0.5em auto;
		width: 100%;
		height: auto;
		background-color: transparent;
		overflow: visible;
	}
	
	#search_dropdown_wrapper .smart-search::before {
		content: '';
		position: absolute;
		top: 50%;
		left: 1em;
		transform: translateY(-50%);
		width: 2em;
		height: 2em;
		background-image: url("data:image/svg+xml,%3Csvg fill='%23EB0A1E' viewBox='-2 0 19 19' xmlns='http://www.w3.org/2000/svg' class='cf-icon-svg'%3E%3Ctitle%3ESearch%3C/title%3E%3Cg stroke-width='0'%3E%3C/g%3E%3Cg stroke-linecap='round' stroke-linejoin='round'%3E%3C/g%3E%3Cg%3E%3Cpath d='M14.147 15.488a1.112 1.112 0 0 1-1.567 0l-3.395-3.395a5.575 5.575 0 1 1 1.568-1.568l3.394 3.395a1.112 1.112 0 0 1 0 1.568zm-6.361-3.903a4.488 4.488 0 1 0-1.681.327 4.443 4.443 0 0 0 1.68-.327z'%3E%3C/path%3E%3C/g%3E%3C/svg%3E");
		background-size: contain;
	}
	
	#search_dropdown_wrapper .smart-search input,
	#search_dropdown_wrapper.closed .smart-search input {
		padding: 0.75em 1em 0.75em 3.5em;
		border: 1px solid #000;
		border-radius: 2em;
	}
}

/* SMALLER THAN 584px */
@media only screen and (max-width: 584px) {
	/* HEADER TOP **************************************/

	/* HEADER BOTTOM ***********************************/
	/* HEADER LOGO WRAPPER */

	/* HEADER NAV */

	/* HEADER SEARCH ICON */
	
}

/* SMALLER THAN 500px */
@media only screen and (max-width: 500px) {
	/* HEADER TOP **************************************/

	/* HEADER BOTTOM ***********************************/
	/* HEADER LOGO WRAPPER */

	/* HEADER NAV */

	/* HEADER SEARCH ICON */
	.header_mobile_icons_wrapper svg {
		width: 2.5em;
	}
	
	.header_search_icon > svg {
		width: 3em;
	}
}


