/*! HTML5 Boilerplate v5.3.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
@font-face {
    font-family: "Infiniti Light";
    src: url(../font/InfinitiBrandCY-Light.woff) format("woff"), url(../font/InfinitiBrandCY-Light.ttf) format("truetype");
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: "Infiniti Regular";
    src: url(../font/InfinitiBrandCY-Regular.woff) format("woff"), url(../font/InfinitiBrandCY-Regular.ttf) format("truetype");
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: "Infiniti Bold";
    src: url(../font/InfinitiBrandCY-Bold.woff) format("woff"), url(../font/InfinitiBrandCY-Bold.ttf) format("truetype");
    font-weight: 400;
    font-style: normal;
}
body {
	font-family: "Infiniti Regular";
	font-size: 0.875em; /* 14px */
}
figure {
	margin: 0;
	padding: 0;
}
img {
	max-width: 100%;
	height: auto;
	display: block;
}
.nav ul, 
.nav li {
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 1em;
	line-height: 1em;
	text-align: center;
}
.nav li {
	display: inline-block;
}
.wrapper {
	margin: 0 auto;
	padding: 0 5%;
	max-width: 980px;
	overflow: hidden;
}
section p {
	margin: 0 auto 1em;
	max-width: 980px;
	text-align: center;
}

#site-header {
	position: relative;
	top: 0;
	left: 0;
	z-index: 100;
}
#site-title {
	margin: 0 auto;
	padding: 1.286em 0; /* 18px 0 */
	border-bottom: 1px solid #b3b3b3;
	font-size: 1em;
	line-height: 1em;
}
#site-title img {
	margin: 0 auto;
	max-width: 120px;
}
#menu_btn {
	margin: 0;
	padding: 0;
	border: 2px solid #000;
	width: 50px;
	height: 50px;
	display: block;
	box-sizing: border-box;
	position: absolute;
	top: 1em;
	right: 1em;
	z-index: 1;
	color: #000;
	background: #fff;
	cursor: pointer;
	outline: none;
}
#menu_btn:hover, 
#menu_btn:focus {
	color: #fff;
	background: #000;
}
#site-nav {
	font-size: 1.571em; /* 22px */
	font-family: "Infiniti Light";
	line-height: 1em;
	color: #000;
	background: #fff;
	text-transform: uppercase;
}
#site-nav li {
	padding: 0.636em 0; /* 14px 0 */
}
#site-nav a {
	margin: 0 0 0 1em; /* 0 22px */
	display: block;
}
#site-nav li:first-child a {
	margin-left: 0;
}
#site-nav a:link, 
#site-nav a:visited, 
#site-nav a:hover, 
#site-nav a:focus, 
#site-nav a:active {
	color: #000;
	text-decoration: none;
}
#site-nav a:hover, 
#site-nav a:focus, 
#site-nav a:active {
	color: #b2b2b2
}
#site-nav .current-page-item a:link, 
#site-nav .current-page-item a:visited, 
#site-nav .current-page-item a:hover, 
#site-nav .current-page-item a:focus, 
#site-nav .current-page-item a:active {
	color: #b2b2b2
}
#site-nav .current-page-parent a:link, 
#site-nav .current-page-parent a:visited, 
#site-nav .current-page-parent a:hover, 
#site-nav .current-page-parent a:focus, 
#site-nav .current-page-parent a:active {
	color: #b2b2b2
}
#site-nav a:before {
	font-family: "fontello";
	font-style: normal;
	font-weight: normal;
	speak: none;
	display: inline-block;
	text-decoration: inherit;
	width: 1em;
	margin-right: 0.2em;
	text-align: center;
	font-size: 75%;
	font-variant: normal;
	text-transform: none;
	line-height: 1em;
	content: '\e829';
	
	position: relative;
	top: -.1em;
	left: 0;
	z-index: 1;

	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
#site-nav .current-page-item a:before, 
#site-nav .current-page-parent a:before {
	-webkit-transform: rotate(90deg);
	transform: rotate(90deg);
}
#site-nav a:hover:before, 
#site-nav a:focus:before {
	-webkit-animation: anim1 1s 3 ease-out;
	animation: anim1 1s 3 ease-out;
}
@-webkit-keyframes anim1 {
	0% {
		-webkit-transform: translate(0, 0);
	}
	50% {
		-webkit-transform: translate(5px, 0);
	}
	100% {
		-webkit-transform: translate(0, 0);
	}
}
@keyframes anim1 {
	0% {
		transform: translate(0, 0);
	}
	50% {
		transform: translate(5px, 0);
	}
	100% {
		transform: translate(0, 0);
	}
}
#site-nav .current-page-item  a:hover:before, 
#site-nav .current-page-item  a:focus:before, 
#site-nav .current-page-parent  a:hover:before, 
#site-nav .current-page-parent  a:focus:before {
	-webkit-animation: none;
	animation: none;
}
#global-nav {
	margin: 0 auto;
	padding: 1em 0;
	width: 100%;
	font-size: 0.857em; /* 12px */
	text-transform: uppercase;
	color: #fff;
	background: #000;
}
#global-nav a {
	margin: 0 1.250em; /* 0 15px */
	display: block;
}
#global-nav a:link, 
#global-nav a:visited, 
#global-nav a:hover, 
#global-nav a:focus, 
#global-nav a:active {
	color: #fff;
	text-decoration: none;
}
#global-nav a:hover, 
#global-nav a:focus, 
#global-nav a:active {
	color: #b2b2b2
}

#site-footer {
	padding: 1em 0;
	color: #fff;
	background: #000;
	font-size: 0.714em; /* 10px */
}
#credits {
	display: block;
	float: left;
	font-size: 1em;
	line-height: 3em;
	color: #b3b3b3;
	text-transform: uppercase;
}
.social-links, 
.social-links li {
	margin: 0;
	padding: 0;
	list-style: none;
}
.social-links {
	float: right;
	overflow: hidden;
	font-size: 2em;
}
.social-links li {
	margin: 0 0 0 10px;
	float: left;
}
.social-links li:first-child {
	margin-left: 0;
}
.social-links a:link, 
.social-links a:visited, 
.social-links a:hover, 
.social-links a:focus, 
.social-links a:active {
	color: #b3b3b3;
	text-decoration: none;
}
.social-links a:hover, 
.social-links a:focus, 
.social-links a:active {
	color: #fff;
}

/* Generic */
section {
	clear: both;
	margin-bottom: 3.571em; /* 50px */
}
.section-title {
	margin: 0 auto 1.636em; /* 36px */
	padding: 0.636em 0; /* 14px 0 */
	border-bottom: 1px solid #b3b3b3;
	width: 90%;
	max-width: 980px;
	font-size: 1.571em; /* 22px */
	font-family: "Infiniti Light";
	font-weight: normal;
	line-height: 1em;
	color: #000;
	text-align: center;
	text-transform: uppercase;
}
/* ABOUT PAGE */
#about p {
	padding: 0 5%;
}

/* CARS PAGE */
.series-title {
	margin: 0;
	position: relative;
	top: 0;
	left: 0;
	z-index: 1;
	clear: both;
	font-family: "Infiniti Light";
	font-weight: normal;
	font-size: 5.714em; /* 80px */
	line-height: 1em;
	color: #000;
	text-align: center;
	text-transform: uppercase;
}
.series-title span {
	padding: 0 .25em; /* 0 20px */
	position: relative;
	top: 0;
	left: 0;
	z-index: 2;
	display: inline-block;
	background: #fff;
	text-align: center;
}
.series-title:after {
	content: '';
	width: 100%;
	border-top: 1px solid #b3b3b3;
	display: block;
	position: absolute;
	top: 50%;
	left: 0;
	z-index: 1;
	-webkit-transform: translate(0, -50%);
	transform: translate(0, -50%);
}
.model-summary {
	margin: 0 0 3em 3.877551020408163%; /* 0 0 42px 38px */
	width: 22.091836734693878%; /* 216.5px */
	float: left;
}
.model-summary:nth-of-type(4n+1) {
	margin-left: 0;
}
.model-summary .model-title {
	margin: 0 0 0.357em; /* 10px */
	padding: 0;
	font-size: 2.000em;
	line-height: 1em;
	color: #fff;
	text-align: center;
}
.model-title img {
	margin: 0 auto;
}
.model-title a {
	display: block;
	font-size: 1em;
	line-height: 1em;
	text-align: center;
}
.model-title a:link, 
.model-title a:visited, 
.model-title a:hover, 
.model-title a:focus, 
.model-title a:active {
	color: #fff;
	background: #000;
	text-decoration: none;
}
.model-description {
	margin: 0;
	font-family: "Infiniti Light";
	line-height: 1.143em; /* 16px */
}
.model-visual {
	margin: 0 0 5px;
	padding: 0;
	width: 100%;
	height: 130px;
	position: relative;
	top: 0;
	left: 0;
	z-index: 1;
}
.model-visual img {
	max-width: 280px;
	width: 280px;
	height: 160px;
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 1;
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
}
.hasDiscount .model-visual:after {
	content: '';
	display: block;
	width: 50px;
	height: 50px;
	position: absolute;
	top: 1em;
	left: 0;
	z-index: 1;
	background: transparent url(../img/label.svg) no-repeat 0 0;
}
/* MODEL PAGE */
.model .model-title {
	margin: 0;
	background: #000;
}

#tabs, 
#tabs > li {
	margin: 0;
	padding: 0;
	list-style: none;
}
#tabs > li {
	width: 25%;
	display: block;
	float: left;
	position: relative;
	top: 0;
	left: 0;
	z-index: 1;
}
.tab {
	
	padding: 0.636em 0; /* 14px */
	border-bottom: 1px solid #b3b3b3;
	display: block;
	position: relative;
	top: 0;
	left: 0;
	z-index: 1;
	font-family: "Infiniti Light";
	font-size: 1.571em; /* 22px */
	line-height: 1.364em; /* 30px */
	text-align: center;
	text-transform: uppercase;
}
.selected .tab {
	font-family: "Infiniti Bold";
}
.selected .tab:after {
	content: "";
	display: block;
	width: 16px;
	height: 16px;
	border-bottom: 1px solid #B3B3B3;
	border-right: 1px solid #B3B3B3;
	position: absolute;
	top: 100%;
	left: 50%;	
	-webkit-transform: translate(0, -8px) rotate(45deg);
	transform: translate(0, -8px) rotate(45deg);
	background-color: #fff;
	
	z-index: 2;
}
.tab:link, 
.tab:visited, 
.tab:hover, 
.tab:focus, 
.tab:active {
	color: #000;
	text-decoration: none;
}
.tab-content {
	width: 400%;
	height: 0;
	position: relative;
	top: 0;
	left: 0;
	z-index: 1;
	overflow: hidden;
}
.selected .tab-content {
	padding-top: 2em;
	height: auto;
}
#tabs li:nth-of-type(2) .tab-content {
	left: -100%;
}

.model-colors, 
.model-colors li {
	margin: 0;
	padding: 0;
	overflow: hidden;
	list-style: none;
	font-size: 1em;
	line-height: 1em;
}
.model-colors {
/* 	margin-bottom: 3.000em; */
	border-bottom: 1px solid #b3b3b3;
	width: 100%;
}
.model-colors li {
	margin: 0 0 2em 2%;
	width: 18.4%;
	float: left;
	position: relative;
	top: 0;
	left: 0;
	z-index: 1;
}
.model-colors li:first-child {
	margin-left: 0;
}
.model-colors figure {
	margin-bottom: 2.000em;
}
.model-colors figure img {
	margin: 0 auto;
}
.model-colors input[type='radio'] {
	position: absolute;
	top: 0;
	left: -99999em;
	z-index: 1;
}
.model-colors label {
	padding: 0.714em 0.357em; /* 10px 5px */
	border: 2px solid #000;
	display: block;
	color: #000;
	background: #fff;
	font-family: "Infiniti Bold";
	text-align: center;
	cursor: pointer;
}
.model-colors label:hover, 
.model-colors input[type='radio']:checked + label {
	color: #fff;
	background: #000;
}
.model-colors label:before {
	position: absolute;
	bottom: 1em;
	left: 1em;
	z-index: 1;
	font-family: 'fontello';
	font-size: .75em;
	content: '\e803';
}

.rims, .rims li {
	margin: 0;
	padding: 0;
	overflow: hidden;
	list-style: none;
	font-size: 1em;
	line-height: 1em;
}
.rims {
/* 	margin-bottom: 3em; */
	border-bottom: 1px solid #b3b3b3;
	width: 100%;
}
.rims li {
	margin: 0 0 2em 2%; /* 0 0 28px 2% */
	width: 32%;
	float: left;
}
.rims li:nth-of-type(3n+1) {
	margin-left: 0;
}
.rim-description {
	margin: 0 0 0.429em; /* 0 0 6px */
	min-height: 3.858em;
	font-size: 1em;
	font-family: "Infiniti Bold";
	line-height: 1.286em; /* 18px */
	text-transform: uppercase;
}
.rims figure {
	margin: 0 0 1em;
}
.rim-select {
	margin: 0;
	padding: 0;
	position: relative;
	top: 0;
	left: 0;
	z-index: 1;
}
.rim-select input[type='radio'] {
	position: absolute;
	top: 0;
	left: -99999em;
	z-index: 1;
}
.rim-select label {
	margin: 0;
	padding: 0.714em 1em; /* 10px 14px */
	border: 2px solid #000;
	display: block;
	color: #000;
	background: #fff;
	font-family: "Infiniti Bold";
	text-align: right;
	cursor: pointer;
}
.rim-select label:hover, 
.rim-select input[type='radio']:checked + label {
	color: #fff;
	background: #000;
}
.rim-select label:before {
	position: absolute;
	top: 50%;
	left: 1.5em;
	z-index: 1;
	font-family: 'fontello';
	font-size: .75em;
	content: '\e829';
	content: '\e803';
	
	-webkit-transform: translate(0, -50%);
	transform: translate(0, -50%);
}
.rim-select label span {
	display: block;
	position: absolute;
	left: 3em;
	text-transform: uppercase;
}

.model-features, 
.model-features li {
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 1em;
	line-height: 1em;
}
.model-features {
	margin: 0 0 3em; /* 0 0 42px */
	padding: 1.429em 0; /* 20px 0 */
	width: 100%;
	overflow: hidden;
	background: #f1f1f2;
}
.model-features li {
	padding: 0 2.5%;
	border-left: 1px solid #b3b3b3;
	width: 25%;
	float: left;
	box-sizing: border-box;
	font-family: "Infiniti Bold";
	text-transform: uppercase;
	text-align: center;
}
.model-features li:first-child {
	border-left: 0;
}
.model-features a {
	padding: 7em 0 0; /* 98px 0 0 */
	display: block;
}
.model-features a:before {
	font-family: 'fontello';
	font-size: .75em;
	content: '\e803\00a0\00a0';
}
.model-features a:link, 
.model-features a:visited, 
.model-features a:hover, 
.model-features a:focus, 
.model-features a:active {
	color: #000;
	text-decoration: none;
}
.model-features a:hover, 
.model-features a:focus, 
.model-features a:active {
	color: #b2b2b2;
}
.feat-gallery {
	background: transparent url(../img/icon-1.svg) no-repeat 50% -1.5em;
	background-size: 235px 120px;
}
.feat-video {
	background: transparent url(../img/icon-2.svg) no-repeat 50% -1.5em;
	background-size: 235px 120px;
}
.feat-dynamics {
	background: transparent url(../img/icon-3.svg) no-repeat 50% -1.5em;
	background-size: 235px 120px;
}
.feat-accessories {
	background: transparent url(../img/icon-4.svg) no-repeat 50% -1.5em;
	background-size: 235px 120px;
}

.model-prices {
	margin: 0 0 3em; /* 0 0 42px */
	width: 100%;
	font-size: 1em;
	line-height: 1em;
	border-collapse: collapse;
}
.model-prices th, 
.model-prices td {
	vertical-align: middle;
	font-weight: normal;
	text-align: center;
	box-sizing: border-box;
}
.model-prices th {
	padding: 1em 1em;
	font-family: "Infiniti Bold";
}
.model-prices thead th {
	border-left: 1px solid #fff;
	color: #fff;
	background: #000;
	text-align: center;
}
.model-prices thead th:first-child {
	border-left: 0;
	font-family: "Infiniti Regular";
	text-align: right;
}
.model-prices tbody th {
	text-align: right;
}
.spec-description {
	display: block;
	font-family: "Infiniti Regular";
}
.model-prices tbody td {
	padding: 2em 0;
	border-left: 1px solid #fff;
	position: relative;
	top: 0;
	left: 0;
	z-index: 1;
}
.model-prices input[type='radio'] {
	position: absolute;
	top: 0;
	left: -99999em;
	z-index: 1;
}
.model-prices label {
	margin: 0 .5em;
	padding: 0.714em 0; /* 10px 0 */
	border: 2px solid #000;
	display: block;
	color: #000;
	background: #fff;
	font-family: "Infiniti Bold";
	text-align: center;
	cursor: pointer;
}
.model-prices label:hover, 
.model-prices input[type='radio']:checked + label {
	color: #fff;
	background: #000;
}
.model-prices label:before {
	position: absolute;
	top: 50%;
	left: 1.5em;
	z-index: 1;
	font-family: 'fontello';
	font-size: .75em;
	content: '\e803';
	
	-webkit-transform: translate(0, -50%);
	transform: translate(0, -50%);
}
tbody tr:nth-of-type(odd) th, 
tbody tr:nth-of-type(odd) td {
	background: #f1f1f2;
}
tbody tr:nth-of-type(odd) td:nth-of-type(2n-1) {
	background: #e4e4e6;
}
tbody tr:nth-of-type(even) td:nth-of-type(2n-1) {
	background: #f1f1f2;
}


/* ==========================================================================
   Helper classes
   ========================================================================== */
@font-face {
  font-family: 'fontello';
  src: url('../font/fontello.eot?13041269');
  src: url('../font/fontello.eot?13041269#iefix') format('embedded-opentype'),
       url('../font/fontello.woff2?13041269') format('woff2'),
       url('../font/fontello.woff?13041269') format('woff'),
       url('../font/fontello.ttf?13041269') format('truetype'),
       url('../font/fontello.svg?13041269#fontello') format('svg');
  font-weight: normal;
  font-style: normal;
}
/* Chrome hack: SVG is rendered more smooth in Windozze. 100% magic, uncomment if you need it. */
/* Note, that will break hinting! In other OS-es font will be not as sharp as it could be */
/*
@media screen and (-webkit-min-device-pixel-ratio:0) {
  @font-face {
    font-family: 'fontello';
    src: url('../font/fontello.svg?22497697#fontello') format('svg');
  }
}
*/
 
 [class^="icon-"]:before, [class*=" icon-"]:before {
  font-family: "fontello";
  font-style: normal;
  font-weight: normal;
  speak: none;
 
  display: inline-block;
  text-decoration: inherit;
  width: 1em;
  margin-right: .2em;
  text-align: center;
  /* opacity: .8; */
 
  /* For safety - reset parent styles, that can break glyph codes*/
  font-variant: normal;
  text-transform: none;
 
  /* fix buttons height, for twitter bootstrap */
  line-height: 1em;
 
  /* Animation center compensation - margins should be symmetric */
  /* remove if not needed */
  margin-left: .2em;
 
  /* you can be more comfortable with increased icons size */
  /* font-size: 120%; */
 
  /* Font smoothing. That was taken from TWBS */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
 
  /* Uncomment for 3D effect */
  /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
}
 
.icon-Configure:before { content: '\e801'; } /* '' */
.icon-LeftArrow:before { content: '\e802'; } /* '' */
.icon-RightArrow:before { content: '\e803'; } /* '' */
.icon-DownArrow:before { content: '\e804'; } /* '' */
.icon-UpArrow:before { content: '\e805'; } /* '' */
.icon-Plus:before { content: '\e807'; } /* '' */
.icon-Search:before { content: '\e808'; } /* '' */
.icon-CloseCross:before { content: '\e809'; } /* '' */
.icon-Burger:before { content: '\e80a'; } /* '' */
.icon-ChevronGalleryLeft:before { content: '\e80f'; } /* '' */
.icon-Pan:before { content: '\e819'; } /* '' */
.icon-Offers:before { content: '\e81c'; } /* '' */
.icon-MPG:before { content: '\e81d'; } /* '' */
.icon-LoadingSpinner:before { content: '\e81e'; } /* '' */
.icon-Emissions:before { content: '\e825'; } /* '' */
.icon-Horsepower:before { content: '\e826'; } /* '' */
.icon-ChevronGalleryRight:before { content: '\e829'; } /* '' */
.icon-Tick:before { content: '\e833'; } /* '' */
.icon-Wheel:before { content: '\e838'; } /* '' */
.icon-kw:before { content: '\e864'; } /* '' */
.icon-facebook:before { content: '\e842'; } /* '' */
.icon-twitter:before { content: '\e843'; } /* '' */
.icon-instagram:before { content: '\e844'; } /* '' */
.icon-youtube:before { content: '\e845'; } /* '' */

.icon-menu:before { content: '\e80a'; } /* '' */
.offset .icon-menu:before { content: '\e809'; } /* '' */
/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */
@media only screen and (min-width: 769px) {
	#site-header {
		border-bottom: 1px solid #b3b3b3;
		padding-top: 2.571em; /* 36px */
	}
	#menu_btn {
		display: none;
	}
	#global-nav {
		position: absolute;
		top: 0;
		left: 0;
		z-index: 1;
	}
}
@media only screen and (max-width: 768px) {
	#menu {
		display: none;
	}
	.offset #menu {
		width: 100%;
		display: block;
		position: absolute;
		top: 100%;
		left: 0;
		z-index: 1;
	}
	#menu li {
		display: block;
	}
	#site-nav li {
		border-top: 1px solid #b3b3b3;
	}
	#site-nav li:first-child {
		border-top: 0;
	}
	#site-nav li a {
		margin-left: 0;
	}
	#global-nav li {
		padding: 1em 0;
	}
	
	.model-summary {
		margin: 0 0 3em 2%;
		width: 48%;
	}
	.model-summary:nth-of-type(2n+1) {
		margin-left: 0;
		margin-right: 2%;
	}
	
	#tabs > li {
		width: 100%;
		float: none;
	}
	.tab-content {
		width: 100%;
	}
	#tabs li:nth-of-type(n) .tab-content {
		left: 0;
	}
	
	.model-colors li {
		width: 48%;
	}
	.model-colors li:first-child {
		margin-left: 2%;
	}
	.rims li {
		margin-left: 0;
		width: 48%;
		float: right;
	}
	.rims li:nth-of-type(2n+1) {
		float: left;
		clear: left;
	}
	
	.model-prices label:before {
		display: none;	
	}
}
@media only screen and (max-width: 414px) {
	.model-summary {
		margin: 0 0 3em;
		width: 100%;
		float: none;
	}
	.model-summary:nth-of-type(2n+1) {
		margin-right: 0;
	}
	.model-colors li {
		margin: 0 auto 2em;
		width: 100%;
		max-width: 280px;
		float: none;
	}
	.model-colors li:first-child {
		margin-left: auto;
	}
	.rims li {
		margin-left: 0;
		width: 100%;
		float: none;
	}
	.rims li:nth-of-type(2n+1) {
		float: none;
	}
	
	.model-features {
		width: 90%;
		padding-left: 5%;
		padding-right: 5%;
	}
	.model-features li {
		padding: 1em 2.5%;
		border-top: 1px solid #b3b3b3;
		width: 50%;
	}
	.model-features li:nth-of-type(1), 
	.model-features li:nth-of-type(2) {
		padding-top: 0;
		border-top: 0;
	}
	.model-features li:nth-of-type(2n+1) {
		border-left: 0;
	}
}
@media only screen and (max-width: 300px) {
	.model-features li {
		margin: 0 auto;
		padding: 1em 2.5%;
		border-left: 0;
		border-top: 1px solid #b3b3b3;
		width: 85%;
		float: none;
	}
	.model-features li:nth-of-type(2) {
		padding-top: 1em;
		border-top: 1px solid #b3b3b3;
	}
	.model-features li:first-child {
		padding-top: 0;
		border-top: 0;
	}
}

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after,
    *:first-letter,
    *:first-line {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
