/*! HTML5 Boilerplate v6.0.1 | 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
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * 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
   ========================================================================== */

html {
    font-size: 75%;
// 12px
}
@font-face {
    font-family: 'bebasregular';
    src: url(../fonts/bebas-webfont.eot);
    src: url(../fonts/bebas-webfont.eot?#iefix) format('embedded-opentype'), url(../fonts/bebas-webfont.woff2)format('woff2'), url(../fonts/bebas-webfont.woff) format('woff'), url(../fonts/bebas-webfont.ttf) format('truetype'), url(../fonts/bebas-webfont.svg#bebasregular) format('svg');
    font-weight: normal;
    font-style: normal;
}
.header-home {
    position: relative;
    width: 100%;
    max-width: 1080px;
    padding-top: 20%;
    background-image: url(../img/m3-header.jpg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    margin: 0 auto;
    text-align: center;
}
nav {
    display: inline-block;
    position: absolute;
    top: 2%;
    width: 100%;
    left: 0;
    right: 0;
    margin: auto;
}
nav h1 {
    display: inline;
    font-family: 'bebasregular', "Helvetica Neue", Helvetica, Arial, "sans-serif";
    font-size: 1.35rem;
    font-weight: normal;
    color: #333;
    vertical-align: bottom;
    padding: 0 5%;
}
nav h2 {
    display: inline;
    font-family: 'bebasregular', "Helvetica Neue", Helvetica, Arial, "sans-serif";
    font-size: .95em;
    font-weight: normal;
    color: #333;
    padding: 0 1.5%;
}
nav h2, nav span, nav a {
    vertical-align: top;
}
nav a {
    display: inline;
    text-decoration: none;
    color: #333333;
}
nav a h2:hover {
    color: #FF3333;
}
.h1-font-size {
    font-size: 1
}
.nav-font-size {
    font-size: 1.00em;
}
section {
    width: 100%;
    max-width: 1676px;
    margin: 0 auto;
    text-align: center;
}
.honda-n600 {
    display: block;
    position: relative;
    width: 100%;
    text-align: center;
}
.honda-n600 img {
    position: relative;
    width: 100%;
    max-width: 499px;
}
.contact-ed {
    position: relative;
    display: block;
    width: 100%;
}
.cars-for-sale {
    padding: 35px 0 5px 0;
}
.mail-button-sizer {
    position: relative;
    display: inline-block;
    width: 6%;
    min-width: 54px;
    margin: 0 1.5%;
}
.contact-footer-sizer {
    display: inline;
    width: 6%;
}
.ed-mail-button {
    position: relative;
    display: inline;
    width: 100%;
    max-width: 62px;
    min-width: 54px;
}
.mail-to-line {
    position: relative;
    display: inline-block;
    height: 2px;
    width: 40%;
    max-width: 375px;
    color: #ccc;
    background-color: #ccc;
    padding: 0;
    margin: auto;
}
.car-image-links {
    width: 100%;
    max-width: 235px;
    margin: 0 23px 70px 23px;
}
.about-ed {
    padding: 0 0 40px 0;
}
h3 {
    display: inline-block;
    font-size: 1.2em;
    font-weight: bold;
    color: #555;
    letter-spacing: .9px;
    line-height: 2.5em;
    padding: 0;
    margin: 0;
}
.mercedes-page {
    width: 100%;
    background-color: #333;
    text-align: center;
}
.mercedes-info img, .header-mercedes-280s img {
    display: block;
    width: 100%;
    max-width: 1080px;
    border-bottom: solid 1px #d1d3c8;
    margin: 0 auto;
}
.schoen-creative-link {
    display: inline-block;
    width: 100%;
    max-width: 36px;
}
.header-mercedes-280s {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
}


.mercedes-info {
    position: relative;
    width: 100%;
    max-width: 1080px;
    background-color: #d1d3c8;
    padding: 0;
    margin: 0 auto;
}
#mercedes-contact {
    position: absolute;
	display: inline-block;
    left: 3.6%;
    top: 1.125%;
	width: 6%;
	min-width: 6%;
	height: auto;
    border: none;
}
.check-back {
    display: inline-block;
    width: 55%;
    height: 80px;
    margin: 10px;
}
.dart-bg {
    background: #282828;
}
.dart-body {
    width: 100%;
    max-width: 750px;
    min-width: 394px;
    background-color: #D2D1CF;
    margin: 0 auto;
}
.dart-body header img, .dart-body section img {
    display: block;
    width: 100%;
    max-width: 750px;
    height: auto;
    margin: 0 auto;
}
.dodge-dart-info {
    position: relative;
    width: 80%;
    min-width: 390px;
    border: solid 2px #999;
    margin: 30px auto;
    text-align: right;
}
.dart-sale-contact {
    display: inline-block;
    position: relative;
    width: 100px;
    height: 43px;
    margin: 20px auto auto 20px;
    background: #892a10;
    border-radius: 50% / 10%;
    color: white;
    text-align: center;
    text-indent: .1em;
    vertical-align: middle;
    float: left;
}
.dart-sale-contact:before {
    content: '';
    position: absolute;
    top: 10%;
    bottom: 10%;
    right: -5%;
    left: -5%;
    background: inherit;
    border-radius: 5% / 50%;
}
.dart-sale-contact:hover {
    background: #a32b0a;
}
.dart-sale-contact h1 {
    position: relative;
    display: inline-block;
    font-size: 1.25em;
    font-family: 'bebasregular', "Helvetica Neue", Helvetica, Arial, "sans-serif";
    font-weight: normal;
    letter-spacing: 2px;
    color: #DDDDDD;
}
.dart-sale-contact h1:hover {
    color: #ffffff;
}
.dodge-dart-info h2 {
    font-family: 'bebasregular', "Helvetica Neue", Helvetica, Arial, "sans-serif";
    font-size: 2em;
    font-weight: normal;
    letter-spacing: 8px;
    color: #333333;
    margin-right: 20px;
    margin-top: 20px;
}
.dodge-dart-info h3 {
	font-family: "ff-tisa-web-pro", serif;
    font-size: 1.2em;
    font-style: italic;
    font-weight: 600;
    color: #444444;
    margin-right: 50px;
    margin-bottom: 30px;
}
.footer-main {
    position: relative;
    display: block;
    width: 100%;
    max-width: 1100px;
    padding: 0 0 58px 0;
    margin: 0 auto;
    text-align: center;
}
.footer-line {
    position: relative;
    display: inline-block;
    height: 2px;
    width: 90%;
    max-width: 894px;
    color: #ccc;
    background-color: #ccc;
    padding: 0;
    margin: 0 auto 48px auto;
    vertical-align: top;
}
.footer-text {
    display: inline-block;
    color: #444444;
    width: 59%;
}
.footer-text h4 {
	font-family: "ff-tisa-web-pro", serif;
    font-size: 1.5rem;
}
.home-footer-text {
    color: #444444;
    font-size: 1.25rem;
    text-decoration: none;
    font-weight: bold;
    margin-right: 18px;
}
.footer-contact {
    display: inline;
    width: 19%;
    margin: 1%;
}
.footer-contact img {
    width: 32px;
}
.footer-sc-link {
    display: inline;
    width: 19%;
    margin: 1%;
}
#mercedes-footer-color {
	background: #d1d3c8;
	width: 100%;
	max-width: 1080px;
}
/* ==========================================================================
   Schoen Creative Media Queries
   ========================================================================== */

@media only screen and (-Webkit-min-device-pixel-ratio: 1.5), only screen and (-moz-min-device-pixel-ratio: 1.5), only screen and (-o-min-device-pixel-ratio: 3/2), only screen and (min-device-pixel-ratio: 1.5) {
.header-home {
    background-image: url(../img/m3-header@2x.jpg);
}
}

@media only screen and (max-width : 667px) {
.header-home {
    background-image: url(../img/m3-header-crop.jpg);
    background-position: top;
    background-size: cover;
    padding-bottom: 75px;
    width: 100%;
    max-width: 750px;
    max-height: 475px;
}
.main {
    max-width: 750px;
}
.car-image-links {
    margin-top: 20px;
}
.dodge-dart-info h2 {
    font-size: 1.5em;
    margin-top: 27px;
    letter-spacing: 6px;
}
}

@media only screen and (max-width : 900px) {
}

@media only screen and (min-width: 900px) {
nav h1 {
    font-size: 1.6em;
    padding: 0 3%;
}
nav h2 {
    font-size: 1.3em;
    padding: 0 1%;
}
.h1-font-size {
    font-size: 1.15em;
}
.nav-font-size {
    font-size: 1.0em;
}
}

@media only screen and (max-width : 466px) {
nav h1 {
    font-size: 1.15em;
    padding: 0 2%;
}
nav h2 {
    padding: 0 1%;
}
.h1-font-size {
    font-size: 1.1em;
}
.header-home {
    padding-left: 0;
    padding-right: 0;
}
nav h1 {
    font-size: 1em;
    padding: 0 .55%;
}
nav h2 {
    font-size: .80em;
    padding: 0 .25%;
}
.h1-font-size {
    font-size: 1em;
}
h3 {
    font-size: .9em;
    letter-spacing: .25px;
}
}

@media only screen and (max-width : 527px) {
.dodge-dart-info h2 {
    font-size: 1.25em;
    letter-spacing: 5px;
    margin-top: 32px;
}
.footer-text {
    font-size: .9em;
}
}

@media only screen and (max-width : 1243px) {
.car-image-links {
    max-width: 52%;
}
.mail-to-line {
    width: 30%;
}
.mail-button-sizer {
    margin: 0 4%;
}
}

@media only screen and (min-width : 1080px) {
.header-home {
    padding-top: 216px;
}
}

@media only screen and (min-width : 1200px) {
.mail-to-line {
    width: 510px;
}
}
/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}
/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    white-space: nowrap; /* 1 */
}
/*
 * 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;
    -webkit-clip-path: none;
    clip-path: none;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
    white-space: inherit;
}
/*
 * 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: 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 {
    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 {
    white-space: pre-wrap !important;
}
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;
}
p, h2, h3 {
    orphans: 3;
    widows: 3;
}
h2, h3 {
    page-break-after: avoid;
}
}
