/* Mobile menu */
body #page-container {
	padding-top: 54px !important;
}
body #main-header {
    padding-top: 0 !important;
	background-color: transparent;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
}
#main-header.menuOpen {
	position: fixed;
}
@media only screen and (max-height: 400px) {
	#main-header.menuOpen {
		position: absolute;
	}
}
.et_header_style_centered #main-header .container {
	margin: 0;
	width: auto;
}
.et_header_style_centered header#main-header.et-fixed-header .logo_container {
    height: 54px;
}
.et_header_style_centered header#main-header .logo_container {
	position: relative;
	background: #fff;
	height: 54px;
	padding-left: 20px;
	display: block;
	text-align: left;
}
.et_header_style_centered header#main-header .logo_container a{
	height: 54px;
}
.et_pb_svg_logo #logo, .et_pb_svg_logo.et_header_style_split .et-fixed-header .centered-inline-logo-wrap #logo {
	max-width: 80%;
	height: 65%
}
.et_header_style_centered #logo {
	max-height: none;
}
.et_header_style_centered #main-header {
	padding: 0;
}
.et_header_style_centered .mobile_menu_bar {
	position: absolute;
	background: #333;
	top: -54px;
	right: 0px;
	height: 54px;
	width:  54px;
	vertical-align: middle;
	font-size: 15pt;
	cursor: pointer; /* IE / Edge not showing cursor defined on ::before pseudo-element, so set here as well */
}
.mobile_menu_bar:before {
	position: relative;
	top: 10px;
	left: 10px;
	font-size: 36px;
	content: "\61";
	cursor: pointer;
}
.mobile_nav.opened .mobile_menu_bar:before {
	content: "\4d";
}
.et_header_style_centered #et_mobile_nav_menu {
	height: 0;
	margin: 0;
}
.et_header_style_centered #main-header .mobile_nav {
	padding: 0;
}

.et_header_style_centered #main-header .mobile_nav.opened .et_mobile_menu {
	position: relative;
	top: auto;
	background: #333;
	padding: 0 5%;
	margin: 0;
	border: none;
	min-height: calc(100vh - 54px);
	display: flex !important;
    display: -webkit-flex !important;
	flex-direction: column;
	-webkit-flex-direction: column;
	justify-content: center;
    -webkit-justify-content: center;
	text-align: center;
}

@media only screen and (min-height: 450px) {
	.et_mobile_menu li:first-child {
		margin-top: -20%;
	}
	_:-ms-lang(x), .et_mobile_menu li:first-child {
		margin-top: 0;
	}
}
.et_mobile_menu li a{
	border-bottom: 1px solid #fff;
	width: 100%;
	max-width: 160px;
	display: inline-block;
	font-size: 15pt;
	font-weight: 100;
	padding: 0.65em 0;
}
.et_mobile_menu li:last-child a{
	border-bottom: none;
}
@media only screen and (max-width: 320px) {
	.et_header_style_centered header#main-header .logo_container {
		padding: 1% 5%;
		width: calc(100% - 54px);
	}
	.et_pb_svg_logo #logo, .et_pb_svg_logo.et_header_style_split .et-fixed-header .centered-inline-logo-wrap #logo {
		max-width: 90%;
	}
}

/** Pages with topbar **/
.topbar-present.et_header_style_centered #main-header .mobile_nav.opened .et_mobile_menu {
	min-height: calc(100vh - 100px);
}
body.topbar-present {
	margin-top: 0 !important;
}
body.topbar-present #page-container {
	padding-top: 100px !important;
}
body.topbar-present #main-header {
    padding-top: 46px !important;
	z-index: 101;
}
body.topbar-present #main-header.menuOpen {
	z-index: 104;
}
#topbar1 {
	margin-top: 0 !important;
	z-index: 102 !important;
}


/* Desktop Menu */
@media only screen and (min-width: 980px) {
	body #page-container {
		padding-top: 62px !important;
	}
	.et_fullwidth_nav #main-header .container {
		padding: 0;
		text-align: left;
		display: flex;
    	display: -webkit-flex;
	}
	.et_header_style_centered header#main-header .logo_container {
		position: relative;
		width: 460px;
		background: #fff;
		height: 70px;
		padding: 0 0 0 30px;
		display: inline-block;
		text-align: left;
	}
	.et_header_style_centered header#main-header.et-fixed-header .logo_container {
		height: 70px;
	}
	.et_header_style_centered header#main-header .logo_container a {
		height: 66px;
		display: inline-block;
	}
	.et_pb_svg_logo #logo, .et_pb_svg_logo.et_header_style_split .et-fixed-header .centered-inline-logo-wrap #logo {
		max-width: 100%;
	}
	.et_header_style_centered #main-header div#et-top-navigation {
		width: calc(100% - 460px);
		display: flex;
		display: -webkit-flex;
	}
	.et_header_style_centered nav#top-menu-nav {
		width: 100%;
		display: flex;
		display: -webkit-flex;
	}
	#top-menu li a, .et_search_form_container input {
		font-weight: normal;
	}
	#top-menu {
		display: flex;
    	display: -webkit-flex;
		width: 100%;
	}
	#top-menu li {
		text-align: center;
		display: flex;
		display: -webkit-flex;
		flex-grow: 1; /* Replace with width: 100%; for equal sized items */
		-webkit-flex-grow: 1; /* Replace with width: 100%; for equal sized items */
		padding: 0;
	}
	.et-fixed-header #top-menu li a, body #top-menu li a {
		font-size: 13pt;
		display: flex;
    	display: -webkit-flex;
		align-items: center;
        -webkit-align-items: center;
		justify-content: center;
    	-webkit-justify-content: center;
		width: 100%;
		background: #333;
	}
	body.et_header_style_centered #top-menu > li > a {
		padding: 0;
	}
	#top-menu-nav > ul > li > a:hover, #et-secondary-menu > ul > li > a:hover, #et-info-email:hover, .et-social-icons a:hover {
		opacity: 1;
		color: #CCC !important;
		-webkit-transition: all 0.4s ease-in-out;
		-moz-transition: all 0.4s ease-in-out;
		transition: all 0.4s ease-in-out;
	}
	

	/** Check custom CSS for overide: */
	ul#top-menu li a:last-child {
		font-weight: normal !important;
	}
	ul .buy-nav {
		margin: 0;
		padding: 0 !important;
	}
	#top-menu li.buy-nav a {
		background: #a6071e;
	}	
	#top-menu .menu-item-has-children>a:first-child:after, #et-secondary-nav .menu-item-has-children>a:first-child:after {
		position: relative;
		top: auto;
		right: auto;
	}
	#top-menu .menu-item-has-children>a:first-child, #et-secondary-nav .menu-item-has-children>a:first-child{
		padding-right: 0;
	}

	/* Fix 1px problem on store locator page on old Safari */
	#main-header .clearfix:before,
	#main-header .clearfix:after {
	    content: none;
	}
	/** Pages with topbar **/
	.topbar-present.et_header_style_centered #main-header .mobile_nav.opened .et_mobile_menu {
		min-height: calc(100vh - 70px);
	}
	body.topbar-present #page-container {
		padding-top: 70px !important;
	}
	body.topbar-present #main-header {
		padding-top: 0 !important;
	}
}

/* Make Models page in menu show as selected when on a specific model page */
.parent-pageid-75465 #menu-item-178131 a {
	color: #c4c4c4 !important;
}



/** Tabs **/

.et_pb_section_0.bike-tabs-model {
	display: block !important;
	padding: 0;
	margin: 0;
}
.bike-tabs  {
	padding: 10px 3% 20px 3%;
}
.bike-tabs .et_pb_row {
	width: 100%;
}
.bike-tabs .et_pb_tabs {
	border: none;
}
.bike-tabs .et_pb_tabs_controls {
	background-color: #fff;
	text-align: center;
}
.bike-tabs .et_pb_tabs_controls li {
	display: inline-block;
	width: 28.5vw;
	height: 16vw;
	background: #f2f2f2;
	background-position: center;
	background-repeat: no-repeat;
	font-size: 0;
	margin: 0 0.3vw;
	border: none;
	float: none;
}
.bike-tabs li.et_pb_tab_active {
	background-color: #a6071e;
}
.bike-tabs li.et_pb_tab_0 {
	background-image: url('img/tabs/GC_GS_dark.svg?v=2');
}
.bike-tabs li.et_pb_tab_0.et_pb_tab_active {
	background-image: url('img/tabs/GC_GS_light.svg?v=2');
}
.bike-tabs li.et_pb_tab_1 {
	background-image: url('img/tabs/GC_GXGXi_dark.svg');
}
.bike-tabs li.et_pb_tab_1.et_pb_tab_active {
	background-image: url('img/tabs/GC_GXGXi_light.svg');
}
.bike-tabs li.et_pb_tab_2 {
	background-image: url('img/tabs/GC_G3C_dark.svg');
}
.bike-tabs li.et_pb_tab_2.et_pb_tab_active {
	background-image: url('img/tabs/GC_G3C_light.svg');
}
.bike-tabs ul.et_pb_tabs_controls:after {
	content: none;
}

/** Buttons on model pages (also use .bike-tabs above) **/
.bike-tabs-model {
	border-top: 2px solid #fff; /* If only 1px then get weirdness in Chrome where depending on window width can get a 1px border below the buttons in mobile */
}
.bike-tabs-model .et_pb_tabs_controls li {
	width: 33%;
	margin: 0;
	vertical-align: top;
}
.bike-tabs-model .et_pb_tabs_controls li:nth-child(2) {
	width: calc(34% - 2px);
	margin: 0 1px;
}
.bike-tabs-model li a {
	display: block;
	padding: 0;
	height: 100%;
}

/** Buttons on Desktop */
@media screen and (min-width: 980px) {
	.bike-tabs-model {
		border-top: 1px solid #fff;
	}
	.bike-tabs .et_pb_tabs_controls li {
		height: 70px;
		background-size: 80% 65%;
	}
	.bike-tabs li.et_pb_tab_0 {
		background-image: url('img/tabs/GC_GS_dark_d.svg');
	}
	.bike-tabs li.et_pb_tab_0.et_pb_tab_active {
		background-image: url('img/tabs/GC_GS_light_d.svg');
	}
	.bike-tabs li.et_pb_tab_1 {
		background-image: url('img/tabs/GC_GXGXi_dark_d.svg');
	}
	.bike-tabs li.et_pb_tab_1.et_pb_tab_active {
		background-image: url('img/tabs/GC_GXGXi_light_d.svg');
	}
	.bike-tabs li.et_pb_tab_2 {
		background-image: url('img/tabs/GC_G3C_dark_d.svg');
	}
	.bike-tabs li.et_pb_tab_2.et_pb_tab_active {
		background-image: url('img/tabs/GC_G3C_light_d.svg');
	}
}


/** Override some GS page stuff messing up layout (if theme customizer GS page stuff not removed)
.page-id-75425 .bike-tabs-model .et_pb_tabs_controls li {
	left: unset;
}
.page-id-75425 .bike-tabs-model ul.et_pb_tabs_controls {
	width: auto !important;
	border-top: none !important;
    border-bottom: none !important;
}

/** Or remove this CSS from theme customizer:
.page-id-75425 .et_pb_tabs p {line-height: 1.7em!important;}
.page-id-75425 .et_pb_tabs {border: none;}
.page-id-75425 .et_pb_tabs_controls li {left: 29%; }
.page-id-75425 ul.et_pb_tabs_controls:after {top: 0; border-top: none !important}
.page-id-75425 ul.et_pb_tabs_controls {background: none; border-top: 1px solid black !important; border-bottom: 1px solid black !important; width: 152.5% !important}
.page-id-75425 .et_pb_tab {padding: 50px 0 0 0 !important; margin: 0 !important}

.page-id-75425 .et_pb_tabs_controls li {border: none !important; font-weight: initial;}
.page-id-75425 .et_pb_tabs_controls li a {padding: 10px 50px 10px; color: black}
.page-id-75425 .et_pb_tab a {line-height: 1.3!important}
*/


/* Buy button at bottom of accessories page */
.buy-accessories-button {
	text-align: center;
	padding: 5px 5px 15px 5px;
}
.buy-accessories-button .et_pb_button:after {
	line-height: 31px;
}
@media screen and (min-width: 910px) {
	.buy-accessories-button {
		max-width: 1200px;
		margin: 0 auto;
		padding-left: 370px
	}
}


/* Buy page */
ul.buy-opts {
	list-style-type: none;
	padding: 0;
	margin: 0;
	height: calc(85vh - 54px);
}
ul.buy-opts li{
	height: 50%;
	display: block;
}
.buy-opts a {
	background: #a6071e;
	display: block;
	text-align: center;
	padding: 0.5em;
	font-size: 1.5em;
	height: 100%;
	font-size: 0;
}
.buy-opts li:first-child a {
	border-bottom: 1px solid #fff;
}
.buy-opts li.buy-online a {
	background: #a6071e url("img/webstore.svg") no-repeat center center/80% 80%;
}
.buy-opts li.buy-dealer a {
	background: #a6071e url("img/dealer.svg") no-repeat center center/80% 80%;
}
html[lang="fr-FR"] .buy-opts li.buy-online a {
	background: #a6071e url("img/webstore_FR.svg") no-repeat center center/80% 80%;
}
html[lang="fr-FR"] .buy-opts li.buy-dealer a {
	background: #a6071e url("img/dealer_FR.svg") no-repeat center center/80% 80%;
}
html[lang="de-DE"] .buy-opts li.buy-online a {
	background: #a6071e url("img/webstore_DE.svg") no-repeat center center/80% 80%;
}
html[lang="de-DE"] .buy-opts li.buy-dealer a {
	background: #a6071e url("img/dealer_DE.svg") no-repeat center center/80% 80%;
}
html[lang="it-IT"] .buy-opts li.buy-online a {
	background: #a6071e url("img/webstore_IT.svg") no-repeat center center/80% 80%;
}
html[lang="it-IT"] .buy-opts li.buy-dealer a {
	background: #a6071e url("img/dealer_IT.svg") no-repeat center center/80% 80%;
}
html[lang="es-ES"] .buy-opts li.buy-online a {
	background: #a6071e url("img/webstore_ES.svg") no-repeat center center/80% 80%;
}
html[lang="es-ES"] .buy-opts li.buy-dealer a {
	background: #a6071e url("img/dealer_ES.svg") no-repeat center center/80% 80%;
}
@media only screen and (min-width: 980px) {
	ul.buy-opts {
		height: 650px;
	}
	ul.buy-opts li{
		height: 100%;
		width: 50%;
		display: inline-block;
		background: #fff;
	}
	ul.buy-opts li:nth-child(1){
		padding-right: 1px;
	}
	.buy-opts li:first-child a {
		border-bottom: none;
	}
}

/* Adjusting z-index of help and scrollup buttons */
body .scrollup-button {
	z-index: 100;
}
.zEWidget-launcher--active {
	z-index: 103 !important;
}

/* Footer */
#nav_menu-8, #nav_menu-5 {
	float: none;
}
.footer-widget .et_pb_widget {
    float: none;
}

/* Reviews page quotes slider */
/*EN*/ .page-id-74888 .et_pb_slides .et_pb_empty_slide.et_pb_container,
/*FR*/ .page-id-78191 .et_pb_slides .et_pb_empty_slide.et_pb_container,
/*DE*/ .page-id-78206 .et_pb_slides .et_pb_empty_slide.et_pb_container,
/*IT*/ .page-id-78223 .et_pb_slides .et_pb_empty_slide.et_pb_container,
/*ES*/ .page-id-78241 .et_pb_slides .et_pb_empty_slide.et_pb_container {
    display: table;
}
/*EN*/ .page-id-74888 .et_pb_slides .et_pb_empty_slide .et_pb_slider_container_inner,
/*FR*/ .page-id-78191 .et_pb_slides .et_pb_empty_slide .et_pb_slider_container_inner,
/*DE*/ .page-id-78206 .et_pb_slides .et_pb_empty_slide .et_pb_slider_container_inner,
/*IT*/ .page-id-78223 .et_pb_slides .et_pb_empty_slide .et_pb_slider_container_inner,
/*ES*/ .page-id-78241 .et_pb_slides .et_pb_empty_slide .et_pb_slider_container_inner {
    display: table-cell;
}

/* GXi page */
.gxi-section-above-button-desktop .et_pb_fullscreen .et_pb_fullwidth_header_container.left .header-content-container.bottom,
.g3c-section-above-button-desktop .et_pb_fullscreen .et_pb_fullwidth_header_container.left .header-content-container.bottom {
    margin-bottom: 20px;
}
.gxi-section-above-button-mobile {
    padding-bottom: 20px;
}
.gx-fold .et_pb_slider a.et_pb_button {
    cursor: default;
}
@media screen and (max-width: 1800px) {
    #desktopslides.gx-slides .et_pb_slide_description a.et_pb_button {
        margin-top: 37vw !important;
    }
}

/* Remove slide-up effect on buttons / captions for slides in sliders */
body .et-pb-active-slide .et_pb_slide_description {
    -webkit-animation-name: none;
    -moz-animation-name: none;
    -ms-animation-name: none;
    -o-animation-name: none;
    animation-name: none;
    -webkit-animation-duration: unset;
    -moz-animation-duration: unset;
    -ms-animation-duration: unset;
    -o-animation-duration: unset;
    animation-duration: unset;
    -webkit-animation-timing-function: unset;
    -moz-animation-timing-function: unset;
    -ms-animation-timing-function: unset;
    -o-animation-timing-function: unset;
    animation-timing-function: unset;
    -webkit-animation-delay: unset;
    -moz-animation-delay: unset;
    -ms-animation-delay: unset;
    -o-animation-delay: unset;
    animation-delay: unset;
    -webkit-animation-fill-mode: unset;
    -moz-animation-fill-mode: unset;
    -ms-animation-fill-mode: unset;
    -o-animation-fill-mode: unset;
    animation-fill-mode: unset
}

/* Fix overflowing tech-specs table on small screens */
@media screen and (max-width: 400px) {
	table.tg {
		table-layout: fixed;
	}
}

/* Fix reviews slider getting cut off at bottom on reviews page */
@media only screen and (min-width: 981px) {
	body.page-id-74888 .et_pb_slider_0, /* en */
	body.page-id-78191 .et_pb_slider_0, /* fr */
	body.page-id-78206 .et_pb_slider_0, /* de */
	body.page-id-78223 .et_pb_slider_0, /* it */
	body.page-id-78241 .et_pb_slider_0 /* es */ {
	    height: auto!important; /* was 300px */
	    min-height: 300px;
	}
}
@media only screen and (max-width: 980px) {
	body.page-id-74888 .et_pb_slider_0, /* en */
	body.page-id-78191 .et_pb_slider_0, /* fr */
	body.page-id-78206 .et_pb_slider_0, /* de */
	body.page-id-78223 .et_pb_slider_0, /* it */
	body.page-id-78241 .et_pb_slider_0 /* es */ {
	    height: auto!important; /* was 380px */
	    min-height: 380px;
	}
}