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

/* MAZDA H1v1 TEMPLATE *************************************************************/
.header_wrapper {
	position: fixed;
	top: 0;
	z-index: 1001; /* increased greater than byc z-index of 1000 */
	width: 100%;
	background-color: #fff;
}

.fixed_header_spacer {
	height: 188px;
}

.header_wrapper .inner_content {
	position: relative;
	margin: 0 auto;
	width: 99%;
	max-width: 1600px;
	box-sizing: border-box;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

/* HEADER LEFT */
.header_left {
	margin: 23px 0 22px;
	padding-left: 3%;
	width: 39%;
	box-sizing: border-box;
	font-size: 0;
}

.header_left a {
	display: inline-block;
	text-decoration: none;
}

.header_left_make_logo {
	padding-right: 30px;
	height: 80px;
	width: auto;
	float: left;
	border-right: 2px solid #737373;
}

.header_left_site_logo {
	padding: 2.5% 0 2.5% 46px;
	width: 100%;
	max-width: 308px;
	float: left;
	box-sizing: border-box;
	text-align: center;
}

.header_left_mobile {
	display: none;
}

/* HEADER RIGHT */
.header_right_address_phone {
	margin-top: 2.5em;
	padding-right: 3%;
	width: 61%;
	display: flex;
	box-sizing: border-box;
	align-items: center;
	justify-content: flex-end;
	align-self: flex-start;
}

.header_right_address,
.header_right_phone,
.header_right_phone_divider {
	color: #999999;
	text-decoration: none;
	font-size: 11px;
	letter-spacing: 2px;
	text-transform: uppercase;
	font-weight: bold;
}

.header_right_phone_divider {
	padding: 0 1em;
}

/*.nav_location_wrapper {
	width: 30px;
	vertical-align: middle;
}

.nav_location_wrapper {
	fill: #999999;
}*/

.header_right_menu_search {
	position: absolute;
	bottom: 0.5em;
	padding-right: 3%;
	width: 100%;	
	display: flex;
	align-items: center;
	justify-content: flex-end;
	box-sizing: border-box;
}

.header_right_menu_search .megamenu_navigation_container .parent_ul .parent_label {
	color: #d5d5d5;
	text-align: right;
	text-decoration: none;
	text-transform: uppercase;
	font-size: 13px;
	letter-spacing: 2px;
}

.header_right_menu_search_divider {
	padding: 0 1em;
	color: #999999;
}

.header_right_search > svg {
	fill: #d5d5d5;
	vertical-align: middle;
	cursor: pointer;
}

/* HEADER RIGHT PHONE AND MOBILEMENU */
.header_right_mobile_phone,
.header_right_mobile,
.header_right_mobile_search {
	display: none;
}

.megamenu_inventory .megamenu_inventory_item {
	font-size: 13px;
	text-align: left;
	letter-spacing: 1.69px;
}

.megamenu_content_container .item_icon_blank, .megamenu_mobile_body .item_icon_blank {
	display: none;
}

/* HEADER LOWER SECTION ***************************************************/
.header_lower_wrapper {
	background-color: #f5f5f5;
}

.header_lower_wrapper .inner_content {
	width: 100%;
	padding: 20px 1%;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	justify-content: space-between; /* USE THIS INSTEAD IF OPTIONAL LEFT LINKS */
}

.header_lower_link_left {
	/*display: none; REMOVE THIS IF USING OPTIONAL LEFT LINKS */
	margin-left: 2%;
}

.header_lower_link_left .header_lower_link {
	padding: 0 1em;
	display: inline-block;
	border-left: 1px solid #101010;
	color: #101010;
	text-decoration: none;
	text-transform: uppercase;
	font-family: 'MazdaType-Bold', Arial, sans-serif !important;
	font-size: 0.8em;
}

.header_lower_link_left .header_lower_link:first-child {
	padding-left: 0;
	border-left: none;
}

.header_lower_link:hover {
	color: #101010;
}

.header_lower_link_right {
	margin-right: 2%;
	text-align: right;
}

.header_lower_link_right .header_lower_link {
	padding: 0.75em 2.5em;
	border: 2px solid #2B2B2B;
	border-radius: 3px;
	color: #2B2B2B;
	text-decoration: none;
	text-transform: uppercase;
	font-family: 'MazdaType-Bold', Arial, sans-serif !important;
	font-size: 0.8em;
}

#header_lower_link_left_mobile_trigger {
	display: none;
}

/* SMART SEARCH */
#search_dropdown_wrapper {
	position: relative;
	padding: 1em;
	width: 100%;
	/*max-width: 2000px;*/
	/*height: 45px;*/
	float: right;
	/*border-radius: 3px;*/
	color: #fff;
	background-color: #2B2B2B;
	box-sizing: border-box;
	transition: all 0.5s;
}

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

#search_dropdown_wrapper #front_search_wrap {
	margin: 0 auto;
	width: 100%;
	max-width: 1500px;
}

#search_dropdown_wrapper #front_search_wrap #search_lbl {
	display: none;
}

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

#search_dropdown_wrapper #front_search_wrap .smart-search #s_search {
	margin: 0 auto;
	width: 100%;
	/*height: 2em;*/
	height: 1.75em;
	border: none;
	box-sizing: border-box;
	font-family: 'MazdaType-Bold';
	/*font-size: 13px;*/
	font-size: 1rem;
}

#search_dropdown_wrapper svg {
	display: none;
	position: absolute;
	top: 50%;
	right: 1em;
	transform: translateY(-50%);
	width: 18px;
	fill: #ffffff;
}

#search_dropdown_wrapper .smart-search .close-result-wrapper {
	bottom: 0.15em !important;
	color: #101010;
}

#search_dropdown_wrapper .smart-search div.result-wrapper {
	position: absolute;
	z-index: 200;
	margin: 0.5em auto 0;
	width: 100% !important;
	height: 32em;
	overflow: scroll;
	color: #101010;
	box-sizing: border-box;
}

/* PHONE DROPDOWN CONTAINER */
.phone-container {
	margin-top: 0.75em;
	color: #999999;
	text-align: right;
	font-size: 13px;
	letter-spacing: 2px;
}
.phone-container .phone-desktop a {
	color: #fff;
	text-decoration: none;
}

.phone-container .num_dot {
	padding: 0 1%;
}

.phone-container .header_address a {
	color: #999999;
	text-decoration: none;
	font-weight: 500;
}

.phone-mobile {
	display: none;
	cursor: pointer;
}

.phone-mobile #phone-icon {
	padding-right: 10px;
}

.phone-mobile .map-icon {
	padding-left: 10px;
}

#phone_dropdown_wrapper {
	position: absolute;
	z-index: 999;
	width: 100%;
	height: 284px;
	background: #FFFFFF;
	border-radius: .1px;
	-webkit-box-shadow: 0 5px 10px -5px #101010;
	box-shadow: 0 5px 10px -5px #101010;
	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;
}

#phone_dropdown_wrapper.closed {
	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 {
	display: block;
	font-size: 17px;
}

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

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

#phone_dropdown_wrapper #phone-drop-down-wrap .phone-number:hover, 
#phone_dropdown_wrapper #phone-drop-down-wrap .phone-number-location:hover {
	background: #101010;
}

#phone_dropdown_wrapper #phone_dropdown_close {
	padding: 15px;
	display: block;
	background: #cecece;
	border-top: 1px solid #777777;
	cursor: pointer;
	color: #444444;
	text-align: center;
	font-size: 15px;	
}

.phone-container a {
	text-decoration:none;
	color:#7e8083;
}

/* MOBILE MENU ********************************************/
.megamenu_mobile .toggle_menu_button {
	background: #2b2b2b none repeat scroll 0 0 !important;
    color: #ffff;
}

.megamenu_mobile_body .item_icon {
	display: none;
}

.megamenu_mobile .toggle_menu_bar .site_title {
	padding-left: 5%;
}

#megamenu_mobile_body .item_icon_blank {
	height: 0;
}

/* MEGAMENU **************************************************/
#megamenu .parent_ul {
	text-align: right;
}

#megamenu .parent_label {
	color: #d5d5d5;
	line-height: 30px;
	text-decoration: none;
	text-transform: uppercase;
	font-size: 13px;
	font-weight: bold;
	letter-spacing: 2px;
}

#megamenu .colored_box {
	padding: 0.5em;
	background: #101010;
	border: 1px solid #101010;
	border-radius: 0em;
	color: #f5f5f5;
}

#megamenu .item_icon {
	display: none;
}

.megamenu_inventory .megamenu_inventory_item {
	margin-top: 3%;
	padding: 0 2%;
	width: 21% !important;
}

.megamenu_content_container {
	width: 100%!important;
}

.megamenu_navigation_container .parent_li {
	margin-left: 1em;
	width: unset !important;
	text-align: right;
}

#megamenu .active_parent .parent_label {
	color: #fff;
}
.megamenu_content_container .item_label:hover, .megamenu_mobile_body .item_label:hover {
    color: #fff;
}

.megamenu_content_container .template_2 {
	background-color: #ffffff;
	overflow: auto;
	max-height: 30em;
}

.megamenu_content_container .template_2 .item_ul_container li {
    border-bottom: none;
}

.megamenu_content_container .menu_label-container,
.megamenu_mobile_body .menu_label-container {
	border-style: none;
}

.megamenu_content_container .template,
.megamenu_content_container .template_1 .item_ul_container li {
	background-color: #ffffff;
	border-bottom: 1px solid #525252;
}

.custom_menu_arrow {
	padding-left: 5px;
	vertical-align: sub;
	vertical-align: -webkit-baseline-middle;
}

.megamenu_inventory .label_row {
	text-align: center;
}

.starting_msrp {
	margin: 5px 0px 10px;
	color: #737373;
	letter-spacing: 1.69px;
}

.megamenu_content_container .template_1,
.megamenu_content_container .template_1 .item_ul_container li {
	box-shadow: none;
	background-color: #2b2b2b;
}

.megamenu_content_container .template_1 .item_ul_container li .item_label {
	color: #ffffff;
}

.megamenu_content_container .template_1 .item_ul_container li {
	padding: .5em 6em .5em 1em;
}

.megamenu_inventory .tag_number, .megamenu_inventory .tag_text {
	font-size: 13px;
	font-family: 'MazdaType-Bold';
}

#megamenu_group_container-1 {
	width: 72% !important;
	padding: 0px 1.5%;
}

#megamenu_group_container-7 .group_label_container {
	padding-left: 3.5%;
}

.template_2 {
    background-color: #f5f5f5;
}

.megamenu_content_container .template_2 .group_label,
.megamenu_mobile_body .group_label {
	text-transform: uppercase;
}

.megamenu_content_container .template_2 .item_ul_container .first_item_ul > li {
	margin: auto;
}

.template_2 .group_container .group_label_container{
	text-align: center;
}

.template_2 .item_ul_container ul li {
	margin: 11px auto;
	padding: 0;
	width: 90%;
	height: unset;
	max-height: 45px;
	border-bottom: none;
	border-radius: 5px;
	text-align: center;
	line-height: unset;
}

.template_2 .group_container ul li a {
	display: block;
	letter-spacing: 2px;
	color: #ffffff;
	text-transform: uppercase;
	font-size: 13px;
	line-height: 41px;
}

#megamenu_globalmakepages .item_ul_container .item_icon {
	display: none;
}

/* shorten new vehicles drop down menu model icon area ______CHANGE MENU ID AS NEEDED***/
#megamenu .template.template_2 #megamenu_group_container-45 {
	width: 60%!important;
}
/* widen new vehicles drop down menu label area  ______CHANGE MENU ID AS NEEDED***/
#megamenu .template.template_2 #megamenu_group_container-48 {
	width: 40%!important;
}


/* RESPONSIVE MEDIA QUERIES *******************************************************/
/* SMALLER THAN 1350px ******************/
@media all and (max-width: 1350px) {
	/* HEADER SECTION *********************************************************/
	.fixed_header_spacer {
		height: 196px;
	}

	/* HEADER LEFT */
	.header_left {
		margin: 23px 0 46px;
		padding-left: 2%;
	}
	
	.header_left_make_logo {
		padding-right: 15px;
		height: 60px;
	}

	.header_left_site_logo {
		padding-left: 20px;
		max-width: 220px;
	}

	/* HEADER RIGHT */
	.header_right {
		padding-right: 1%;
		font-size: 0.7em;
	}
	
	.header_right_address_phone {
		padding-right: 2%;
	}
	
	.header_right_address,
	.header_right_phone,
	.header_right_phone_divider {
		letter-spacing: 1.25px;
	}
	
	.header_right_menu_search {
		padding-right: 2%;
	}
	
	.megamenu_navigation_container .parent_li {
		margin-left: 0.5em;
	}
	
	#megamenu .parent_label {
		font-size: 12px;
	}

	/* SMART SEARCH SECTION ***************************************************/
	/*#search_dropdown_wrapper {
		margin-right: 1%;
	}*/
	
	/* SMART SEARCH LINKS */
	/*.smart_search_link {
		margin: 2.5% 2% 0;
	}*/
}

/* SMALLER THAN 960px *****************/
@media all and (max-width: 960px) {
	/* HEADER SECTION *********************************************************/
	.header_wrapper.fixed_header_spacer {
		position: relative;
		height: auto;
		display: block;
	}
	
	.fixed_header_spacer {
		display: none;
	}
	
	.header_wrapper .inner_content {
		display: flex;
		align-items: center;
		justify-content: space-between;
	}
	
	.fixed_header_spacer .site_title {
		text-transform: uppercase;
	}
	
	/* HEADER LEFT */
	.header_left {
		display: none;
	}

	.header_left_mobile {
		margin: 2% 0;
		width: 68%;
		display: inline;
	}
	
	.header_left_mobile_wrapper {
		display: inline-block;
	}

	.header_left_mobile a {
		width: 100%;
		display: block;
		text-decoration: none;
	}

	.header_left_make_logo_wrapper {
		width: 33%;
	}
	
	.header_left_site_logo_wrapper {
		width: 54%;
	}

	.header_left_make_logo {
		padding-left: 10px;
		padding-right: 0;
		height: 60px;
		float: none;
		border-right: none;
	}

	.header_left_site_logo {
		margin: auto;
		padding: 3% 0;
		float: none;
		display: block;
	}
	
	/* HEADER RIGHT PHONE */
	.header_right_mobile_phone {
		position: relative;
		display: inline-block;
		width: 2em;
		text-align: center;
		cursor: pointer;
	}
	
	.header_right_mobile_phone svg {
		width: 1.3em;
		height: 1.3em;
	}
	
	/* HEADER RIGHT MOBILE SEARCH */	
	.header_right_mobile_search {
		position: relative;
		display: inline-block;
		width: 2em;
		text-align: center;
		cursor: pointer;
	}
	
	.header_right_mobile_search > svg {
		width: 1.3em;
		height: 1.3em;
		fill: #d5d5d5;
	}

	/* HEADER RIGHT */
	.header_right_address_phone,
	.header_right_menu_search {
		display: none;
	}
	
	.header_right_mobile {
		width: 12%;
		display: block;
	}
	
	.header_right_mobile .mobile_icon {
		width: 46%;
		display: inline-block;
		text-align: center;
	}
	
	.header_right_mobile .mobile_icon img {
		width: 90%;
		max-width: 50px;
	}

	#megamenu_mobile {
		top: 25%;
		display: block;
	}

	/* SMART SEARCH SECTION *******************************/
	/*#search_dropdown_wrapper {
		margin: 2%;
		padding: 3px 14px;
		width: 96%;
		box-sizing: border-box;
		border-radius: 3px;
		background-color: #101010;
	}
	
	#search_dropdown_wrapper.closed {
		height: 45px;
		padding: 0.5em 1em;
		overflow: initial;
	}
	
	#search_dropdown_wrapper .smart-search {
		color: #fff;
	}
	
	#search_dropdown_wrapper #front_search_wrap .smart-search #s_search {
		background-color: #101010;
		color: #fff;
	}*/
	
	#search_dropdown_wrapper svg {
		display: block;
	}
	
	/* HEADER LOWER SECTION *****************************/
	/*.header_lower_wrapper {
		display: none;
	}*/
	
	#header_lower_link_left_mobile_trigger {
		display: flex;
		align-items: center;
		color: #101010;
		cursor: pointer;
		text-decoration: none;
		text-transform: uppercase;
		font-family: 'MazdaType-Bold', Arial, sans-serif !important;
		font-size: 0.8em;
	}
	
	#header_lower_link_left_mobile_trigger::after {
		content: "\276F";
		margin-left: 1em;
		transform: rotate(90deg);
		transition: all 0.5s;
		font-size: 1.25em;
	}
	
	#header_lower_link_left_mobile_trigger.active::after {
		transform: rotate(-90deg);
	}
	
	#header_lower_link_left_mobile_dropdown {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		box-sizing: border-box;
		width: 100%;
		height: 8.5em;
		display: block;
		background-color: #d5d5d5;
		background-color: rgba(213,213,213,0.9);
		overflow: hidden;
		transition: all 0.5s;
	}
	
	.header_lower_link_left #header_lower_link_left_mobile_dropdown > .header_lower_link {
		padding: 1.5em 0 0 1.75em;
		display: block;
		border-left: none;
	}
	
	#header_lower_link_left_mobile_dropdown.closed {
		height: 0;
	}
}

/* SMALLER THAN 768px ****************************************/
@media all and (max-width: 768px) {
	.header_right_mobile_phone svg {
		top: 25px;
	}
}

/* SMALLER THAN 584px ****************************************/
@media all and (max-width: 584px) {
	.header_right_mobile_phone svg {
		top: 30px;
	}
	
	#megamenu_mobile {
		top: 15%;
	}
}
