@import url('//maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css');
@import url('gridation.min.css');

html {
	background: #491717 url("/images/2011/body-bg.jpg") fixed;
	margin: 0;
	padding: 0;
}
body {
	max-width: 1120px;
	margin: 0 auto;
	padding: 0;
	background: white;
	font-family: "Helvetica Neue", "Helvetica", "Arial", sans-serif;
	box-shadow:         0px 0px 24px #000;
	-ms-box-shadow:     0px 0px 24px #000;
	-moz-box-shadow:    0px 0px 24px #000;
	-webkit-box-shadow: 0px 0px 24px #000;
	-webkit-text-size-adjust: 100%; /* prevent safari mobile from increasing font size in landscape mode */
}

a img {
	border: 0;
}

header .masthead {
	background: black;
	color: white;
	display: table;
	width: 100%;
}
header .masthead .masthead-1 {
	display: table-cell;
	vertical-align: middle;
	text-align: left;
	width: 100px;
}
@media (min-width: 640px) {
    header .masthead .masthead-1 {
        width: 150px;
    }
}
header .masthead .masthead-1 img {
    width: 100%;
}
header .masthead .masthead-2 {
	display: table-cell;
	vertical-align: middle;
	text-align: center;
	padding: 0 1em;
	font-size: x-small;
}
@media (min-width: 640px) {
    header .masthead .masthead-2 {
        font-size: small;
    }
}
header .masthead .masthead-2 .text-tagline { display: block; }
header .masthead .masthead-2 .image-tagline { display: none; }
@media (min-width: 800px) {
	header .masthead .masthead-2 .text-tagline { display: none; }
	header .masthead .masthead-2 .image-tagline { display: block; }
}
header .masthead .masthead-2 img {
	width: 100%;
    max-width: 740px;
}
header .masthead .masthead-3 {
	display: table-cell;
	vertical-align: middle;
	text-align: right;
	width: 60px;
}
@media (min-width: 640px) {
    header .masthead .masthead-3 {
        width: 86px;
    }
}
header .masthead .masthead-3 img {
    width: 100%;
}
header .masthead .masthead-4 {
	display: table-cell;
	vertical-align: middle;
	text-align: center;
}
header .masthead .tappable a:before,
header .masthead .tappable a:after {
	content: "\0000a0";
}
header .masthead .tappable a {
	display: block;
	color: white;
	font-size: 24px;
	line-height: 32px;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
}
header .masthead .tappable a:hover {
    text-decoration: none !important;
}

header nav {
	background: #3c863c;
}
header nav > ul {
    text-align: center;
	display: block;
	margin: 0;
	padding: 0;
	list-style-type: none;
	font-size: 0;          /* remove spacing between <li> elements. */
}
header nav > ul > li {
	display: inline-block;
    font-size: medium;          /* font-size must be absolute here. */
}
header nav > ul > li > a.button {
	padding: 0.5em 0.25em;
	font-weight: bold;
	display: inline-block;
}

header .search {
	display: none;
	text-align: right;
	background: black;
	padding: 8px;
}

.news-article-wrapper {
    margin-top: 2em;
    margin-left: 8px;
    margin-right: 8px;
}
article.news-article > h1:first-child {
	margin-top: 0;
}
article.news-article table[summary='photo'][align="right"] {
    padding-bottom: 0.5rem;
    padding-left: 0.5rem;
}
article.news-article table[summary='photo'][align="left"] {
    padding-bottom: 0.5rem;
    padding-right: 0.5rem;
}
article.news-article table[summary='photo'][align] {
    width: auto !important; /* overrides width="..." attribute that the CMS puts in */
    max-width: 40%;
}
article.news-article table[summary='photo']:not([align]) {
    width: auto !important; /* overrides width="..." attribute that the CMS puts in */
    max-width: 80%;
}
article.news-article table[summary='photo'] img {
    width: 100% !important;  /* in case max-width of table triggers downsizing of it */
    height: auto !important; /* in case max-width of table triggers downsizing of it */
}
article.news-article table[summary='photo'] a img {
    padding: 1px;
    border: 1px solid #99c;
    box-sizing: border-box; /* helps prevent the padding and border rules from resizing these images slightly which makes them blurry */
}
article.news-article table[summary='photo'] a img.no-border {
    padding: 0;
    border-width: 0;
}

article.news-article br[clear="all"] {
    display: none;
    /* so ads floating on the right don't get cleared */
}

/* content from external sources */
article.news-article table.prntblns {
	border-top: 1px solid #ccc;
	border-left: 1px solid #ccc;
}
article.news-article table.prntblns > * > * > td,
article.news-article table.prntblns > * > * > th {
	border-right: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	padding: 0 2px;
}
article.news-article table.prntblns p {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

.below-the-article {
	margin-top: 2em;
	padding: 0.5em;
}
.share-block {
	text-align: center;
	padding: 8px;
}
.share-block > .inner {
	display: inline-block;
	width: auto;
}
.livefyre-comments {
	max-width: 600px;
	margin: 0 auto;
}

footer {
	padding: 1em;
	text-align: center;
	background: #eee;
	font-size: smaller;
}
footer p:first-child {
	margin-top: 0;
}
footer p:last-child {
	margin-bottom: 0;
}
footer p {
	margin-top: 0.5em;
	margin-bottom: 0.5em;
}

/* the "yellow box" */
aside.yellow-box {
    box-sizing: border-box;
    padding: 0.5em;
}
.linktonewcarbuyersguide {
	background-color: #ffffcc;
	border: 2px solid #ffff00;
	border-radius: 1em;
	padding: 1em;
	font-size: smaller;
}
.linktonewcarbuyersguide p,.linktonewcarbuyersguide ul {
	margin-top: 0.25em;
	margin-bottom: 0.25em;
}

.youtube-video {
    position: relative;
    height: 0;
    padding-bottom: 56.25%;
    margin-bottom: 1em;
}
.youtube-video > iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.front-page-green-background {
    background-color: #0c360c;
    color: white;
}
.front-page-green-background a {
    color: white;
}
.front-page-green-background hr {
    border: 0;
    border-bottom:1px solid #114c11;
    border-top:1px solid #0a2d0a;
    width: 80%;
}

section.front-page-section {
    padding: 8px;
}
@media (min-width: 640px) {
    section.front-page-section {
        padding: 8px 16px;
    }
}
@media (min-width: 1024px) {
    section.front-page-section {
        padding: 16px 32px;
    }
}
section.front-page-section .column > h2:first-child,
section.front-page-section .columns > h2:first-child {
    margin-top: 0;
}

section.front-page-automotive-videos a {
    text-decoration: none;
}

section.front-page-features-opinions a {
    text-decoration: none;
}
section.front-page-features-opinions a.article-link img {
    width: 100%;
}

section.articles-section img {
    max-width: 100%;
}
section.articles-section p.article-title {
    font-weight: bold;
    margin-bottom: 0.5rem;
}
section.articles-section p.article-title a {
    text-decoration: none;
}
section.articles-section p.article-date {
    font-size: smaller;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}
section.articles-section p.article-description {
    font-size: smaller;
    margin-top: 0.5rem;
}

.pagination { margin-top: 1.5rem; margin-bottom: 1.5rem; }
.pagination .prev { float: left; text-align: left; width: 50%; }
.pagination .next { float: right; text-align: right; width: 50%; }
.pagination:after { display: table; content: ""; clear: both; }

a:hover {
    text-decoration: underline !important;
}

a.with-fa-caret-right-after::after {
    font-family: "FontAwesome";
    content: "\00a0\00a0\f0da"; /* fa-caret-right */
}

input, select, textarea, button {
    font-size: 100%;
    font-family: inherit;
}
input, textarea, button {
    -webkit-appearance: none;
}

input[type="text"], input[type="password"] {
    border: 1px solid #ccc;
    padding: 0.25em 0.5em;
}
input[type="submit"], input[type="reset"], input[type="button"], button, a.button {
    padding: 0.25em 0.5em;

	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#459945+0,306c30+100 */
	background: #459945; /* Old browsers */
	background: -moz-linear-gradient(top,  #459945 0%, #306c30 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top,  #459945 0%,#306c30 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom,  #459945 0%,#306c30 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#459945', endColorstr='#306c30',GradientType=0 ); /* IE6-9 */

    border-top: 0;
    border-bottom: 0;
	border-right: 1px solid #306c30;
	border-left: 1px solid #459945;

    color: white;
	text-shadow:         0px -1px 0px #0a360a;
	-ms-text-shadow:     0px -1px 0px #0a360a;
	-moz-text-shadow:    0px -1px 0px #0a360a;
	-webkit-text-shadow: 0px -1px 0px #0a360a;
    text-decoration: none !important;
}
input[type="submit"]:hover, input[type="reset"]:hover, input[type="button"]:hover, button:hover, a.button:hover {

    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#c2e4c2+0,70b370+100 */
    background: #c2e4c2; /* Old browsers */
    background: -moz-linear-gradient(top, #c2e4c2 0%, #70b370 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #c2e4c2 0%,#70b370 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #c2e4c2 0%,#70b370 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c2e4c2', endColorstr='#70b370',GradientType=0 ); /* IE6-9 */

    border-right: 1px solid #70b370;
    border-left: 1px solid #c2e4c2;

    color: #030;
    text-shadow:         0px 1px 0px #9fd59f;
    -ms-text-shadow:     0px 1px 0px #9fd59f;
    -moz-text-shadow:    0px 1px 0px #9fd59f;
    -webkit-text-shadow: 0px 1px 0px #9fd59f;
    text-decoration: none !important;
}

table.calendar {
    table-layout: fixed;
    border-spacing: 3px;
    width: 16em;
    margin: 0 auto;
}
table.calendar > * > * > td {
    text-align: center;
    padding-top: 0.25em;
    padding-bottom: 0.25em;
}
table.calendar > * > * > td.no-articles {
    color: #888;
    background-color: #ddd;
}
table.calendar > * > * > td.has-articles {
    background-color: #cbd0de;
}
table.calendar > * > * > td a {
    display: block;
    text-decoration: none;
    color: black;
}

h1 { font-size: 1.5em; }
h2 { font-size: 1.333333em; }
h3 { font-size: 1.166667em; }
h4 { font-size: 1em; }

/* normalize block level element vertical margins */
h1, h2, h3, h4, h5, h6, p, ul, ol, dl {
    margin-top: 1rem;
    margin-bottom: 1rem;
}
ul ul, ul ol, ul dl, ol ul, ol ol, ol dl, dl ul, dl ol, dl dl {
    margin-top: 0;
    margin-bottom: 0;
}

/* Supplemental styles to go with gridation */
@media screen and (max-width: 639px) {
    .hide-for-small { display: none; }
}
@media screen and (max-width: 1023px) {
    .hide-for-medium-down { display: none; }
}
@media screen and (min-width: 1024px) {
    .show-for-medium-down { display: none; }
}

.margin-bottom-1em { margin-bottom: 1em !important; }
.margin-bottom-2em { margin-bottom: 2em !important; }
.margin-top-1em    { margin-top:    1em !important; }
.margin-top-2em    { margin-top:    2em !important; }

.text-center { text-align: center !important; }
.text-right  { text-align: right  !important; }
.text-left   { text-align: left   !important; }

/* layout of news pages */
.news-page-left-column {
    float: left;
    margin-right: 8px;
}
.news-page-right-column {
    overflow: auto;
}

/* Ads */
.ad-slot {
    text-align: center;
}
.ad-slot-top-728x90 {
	background: #666 url("/images/2011/fade.png") repeat-x;
	padding: 8px 0 0 0;
}
.ad-slot-160x600 {
    width: 160px;
    height: 600px;
}
.ad-slot-300x250 {
    width: 300px;
    height: 250px;
}
.ad-slot-upper-right-300x250 {
    margin-left: 8px;
    margin-bottom: 8px;
    float: right;
}
.right-column-ad-slot-container {
    float: right;
    clear: right;
}
.ad-slot-upper-right-300x250-alternate-container {
    text-align: center;
}
.ad-slot-upper-right-300x250-alternate-container > .inner {
    display: inline-block;
}

.ad-slot-right-160x600-1 {
    margin-left: 8px;
    margin-bottom: 8px;
}
.ad-slot-right-160x600-2 {
    margin-left: 8px;
    margin-bottom: 8px;
}
.ad-slot-matched-content {
    margin: 8px auto;
    text-align: center;
}
.ad-slot-lower-300x250-1 {
    margin: 8px auto;
}
.ad-slot-lower-300x250-2 {
    margin: 8px auto;
}
.ad-slot-bottom-chitika {
    margin: 8px auto;
    text-align: center;
}
#footer-search-boxes {
    text-align: center;
}
@media (max-width: 959px) {
}
@media (max-width: 799px) {
    .ad-slot-right-160x600-1 { display: none; }
    .ad-slot-right-160x600-2 { display: none; }
}
@media (max-width: 639px) {
    .ad-slot-left-160x600-1 { display: none; }
    .ad-slot-left-160x600-2 { display: none; }
}

#tach-test-site-header {
    padding: 0.25em 1em;
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#526493+0,131d39+100 */
    background: #526493; /* Old browsers */
    background: -moz-linear-gradient(top, #526493 0%, #131d39 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #526493 0%,#131d39 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #526493 0%,#131d39 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#526493', endColorstr='#131d39',GradientType=0 ); /* IE6-9 */
    text-align: center;
    color: white;
}
#tach-test-site-header:hover {
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#9fa9c1+0,7f8492+100 */
    background: #9fa9c1; /* Old browsers */
    background: -moz-linear-gradient(top, #9fa9c1 0%, #7f8492 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #9fa9c1 0%,#7f8492 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #9fa9c1 0%,#7f8492 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#9fa9c1', endColorstr='#7f8492',GradientType=0 ); /* IE6-9 */
}
#tach-test-site-header p {
    margin: 0;
    text-shadow:         0px -1px 0px #000;
    -ms-text-shadow:     0px -1px 0px #000;
    -moz-text-shadow:    0px -1px 0px #000;
    -webkit-text-shadow: 0px -1px 0px #000;
}
#tach-test-site-header a {
    color: yellow;
    text-decoration: none;
}
#tach-test-site-header em {
    text-transform: uppercase;
}

ul.half-spaced > li {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}
ul.full-spaced > li {
    margin-top: 1em;
    margin-bottom: 1em;
}

