/*
 * HTML5 Boilerplate
 *
 * 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,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations 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 images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

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

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

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

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

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

	body {margin:0; background-color:#bfbfbf; font-family:arial,helvetica,sans-serif; font-size:0.875em;}
	.page-contain {margin:0 auto; width:960px;}

	h1 {color: #d71921;}

	a img {border:0 none;}
	a {color:#ce282c; text-decoration:none;}
	a:hover {text-decoration:underline;}
	div.line {padding-top:1em; border-bottom:1px solid #aaa;}
	.imgleft {float:left; margin-right:1.5em;}
	.imgright {float:right; margin-left:1.5em;}
	.aligncenter {text-align:center;}
	.alignright {text-align:right;}
	.footnote {font-size:0.857em;}
	.red {color:#d71921;}

	.tb_logo {width: 250px; padding: 2px 5px 5px 0; float: left;}
	.tel_block {display:block; float: left;}
	.locHrs {display: block; float: left; width: 350px; margin: 5px;}
	.rClear {clear: right;}
	.clear {clear: both;}
	.lClear {clear: left;}

	form {margin-bottom:1em; padding:0;}
	fieldset {padding:0.25em 0.875em 1em; border:1px solid #d71921;}
	fieldset fieldset {padding:0; width:100%; border:0 none;}
	legend {padding:0 0.25em; font-size:1.25em; font-weight:bold; color:#d71921; text-transform:uppercase;}
	label {display:inline-block; margin:0; padding:0; width:9em; font-size:1em !important;}
	input[type='text'],
	input[type='password'],
	select,
	textarea {padding:4px; border:1px solid #aaa; border-radius:4px;}
	form div {margin-bottom:0.5em;}

	#header-nav {position:relative; background:url(/images/header-nav-bg.png) repeat-x; z-index:999;}
	#top-nav {position:relative; height:55px; font-size:0.875em; color:white; font-weight:bold; text-align:right;}
	#top-nav #address {float:left; padding:0.375em 0; text-align:left;}

	#top-nav #top-menu {position:absolute; top:1.4125em; right:0;}
	#top-nav #top-menu a.last {padding-right:0; border-right:0 none;}
	#top-menu #invn-links {width:12.75em;}
	#top-menu #info-links {width:18.125em;}
	#top-menu #srvs-links {width:12.875em;}

	#guage-nav {margin:0 auto -8px; height:148px; text-align:center; white-space:nowrap;}
	#guage-nav a {display:inline-block; padding-top:112px; width:112px; height:148px; background:url(/images/gauge_body.png) no-repeat; color:#ce282c; text-transform:uppercase; font-weight:bold; text-align:center; vertical-align:bottom; text-decoration:none;}
	#guage-nav a:hover {text-decoration:underline;}
	#guage-nav .gauge_needle {display:block; margin-top:-112px;}

	#banner {position:relative; width:1296px; margin:0 auto; height:586px;}
	#banner #banner-text {position:absolute; right:168px; bottom:0;}
	#banner #banner-text div {float:right; margin:0 2em; font-size:small; text-align:center;}
	#banner #banner-text h2 {color:#c72127; margin:0.5em 0 0 0; font-size:2em; line-height:1em; text-transform:uppercase;}
	#banner #banner-text h1 {clear:both; margin:0 0 0.1em; font-size:3.5em; text-align:right; letter-spacing:-0.01em;}

	.stripe {position:relative; background-color:black;}
	.red-right {position:absolute; width:15%; height:43px; top:0; right:0; background-color:#d71921;}
	#top-stripe-bg {margin:0 auto; width:1296px; height:43px; background:black url(/images/top-stripe.jpg) no-repeat; text-align:center;}
	#bottom-stripe-bg {margin:0 auto; width:1296px; height:21px; background:black url(/images/bottom-stripe.jpg) no-repeat; text-align:center;}
	#footer .stripe .red-right {height:21px;}
	
	#coupon-button {padding:4px 0 15px; width:200px; font-size:24px; line-height:12px;}
	#coupon-button span {display:inline-block; padding-bottom:12px; font-size:14px;}
	#service-button {padding:11px 0; width:200px; font-size:16px; line-height:20px;}

	#resources {float:left; width:auto;}
	#resources h2 {margin-top:0.25em; margin-bottom:0;}
	#resources ul {margin:0 0 1em 0; padding:0; width:235px; list-style-type:none;}
	#resources li {margin-bottom:0.25em;}
	
	#content a {text-decoration:none;}
	#content a:hover {text-decoration:underline;}

	#content {margin:0 auto; width:1258px; padding:1em 2.075em; background-color:white; min-height: 600px;}
	#content #left,
	#content #right {float:left;}
	#content #left {padding:0 2em 1em 2.075em; width:600px; background:url(/images/ford-watermark.png) no-repeat center 80px;}
	#content #intro-text {color:#c72127; line-height:2.4;}
	#content #button-images {float:left; margin-left:-4px;}

	#content #right {width:600px;}
	#content #right-header {background-color:black; text-align:center;}
	#right .blogger {padding:1em; border-left:3px solid #abacac;}

	#footer {font-size:12px; background-color:#e8e8e8;}
	#vehicle-nav {margin:1em auto; height:50px;}
	#vehicle-nav .wrapper {position:absolute; font-weight:bold; color:#ce282c; z-index:100;}
	#vehicle-nav .wrapper div,
	#vehicle-nav .wrapper ul {float:left; margin:0; padding:0 1.25em 0 0.75em;}
	#vehicle-nav .wrapper div {margin:0 1em; text-align:center;}
	#vehicle-nav .wrapper div img {margin-bottom:0.75em;}
	#vehicle-nav .wrapper ul {list-style-type:none; border-left:2px groove #fff;}
	#vehicle-nav .wrapper>ul:first-of-type { border: 0; }
	#vehicle-nav .wrapper a {font-weight:normal; color:#a8a8a8; text-decoration:none;}
	#vehicle-nav .wrapper a:hover {text-decoration:underline;}
	#footer-nav {position:relative; margin:0 auto; width:1296px; color:white;}
	#footer-nav .wrapper {padding-bottom:1.5em; background-color:black;}
	#footer-menus {margin:0 auto; padding-top:1em; width:1060px;}
	#footer-menus ul {float:left; margin:0; padding:0 2em 0 0; list-style-type:none; font-weight:bold; white-space:nowrap;}
	#footer-menus a {font-weight:normal; color:white; text-transform:none; text-decoration:none;}
	#footer-menus a:hover {text-decoration:underline;}
	#contact {display:block; margin-top:2.5em;}
	#contact div {float:left; margin-top:1em; width:33%; text-align:center;}
	#contact div#social {margin-top:0;}
	#contact div#social img {margin:0 0.25em;}
	.medium {font-size:medium;}
	.lowercase {text-transform:lowercase;}

	.search_btn {
		-moz-box-shadow:inset 0px 2px 19px 0px #f29c93;
		-webkit-box-shadow:inset 0px 2px 19px 0px #f29c93;
		box-shadow:inset 0px 2px 19px 0px #f29c93;
		background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #fe1a00), color-stop(1, #ce0100) );
		background:-moz-linear-gradient( center top, #fe1a00 5%, #ce0100 100% );
		filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fe1a00', endColorstr='#ce0100');
		background-color:#fe1a00;
		border-radius:15px;
		-moz-border-radius:15px;
		-webkit-border-radius:15px;
		color:#f2eeed;
		border:3px solid #d83526;
		display:inline-block;
		font-family:Verdana;
		font-size:28px;
		font-weight:bold;
		padding:11px 29px;
		text-decoration:none;
		text-shadow:0px 0px 11px #cc0000;
	}.search_btn:hover {
		background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #ce0100), color-stop(1, #fe1a00) );
		background:-moz-linear-gradient( center top, #ce0100 5%, #fe1a00 100% );
		filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ce0100', endColorstr='#fe1a00');
		background-color:#ce0100;
		color:#ffffff;
		text-decoration:none;
	}.search_btn:active {
		position:relative;
		top:1px;
	}

	/* ==========================================================================
		Homepage curl css, the list of specials on index
	   ========================================================================== */

	#hours {float:right; width:auto; white-space:nowrap; padding: 0 1em; border:1px solid #cc0000; border-radius:.5em; margin-left: .5em;}
	#hours p span {display:inline-block; width:10em;}
	#leftCol {float:left; width:auto; padding: 1em 2em 0 0;}

	.gv_galleryWrap { float:right; margin-left:1em; z-index:0; }
	.specials-item { border: 0px solid #000; border-width: 1px 1px 0; margin: 0; padding: 5px; overflow: hidden; }
	.specials-item:last-child { border-width: 1px; }
	.specials-item img { float: left; margin: 5px 5px 0; }
	.specials-item p { font-size: 80%; }
	.special-h3 { margin-bottom: 5px; }
	.body { height: 100px; overflow: scroll; }
	.search_btn { padding:4px 12px; width:140px; font-size:1em; border-width:1px; border-radius:12px; -moz-border-radius:12px; -webkit-border-radius:12px; text-align:center; }
	.px220 { padding:9px 12px; width:220px; }
	.buttons { margin-left:234px; margin-top:0.5em; }

	
	/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.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: h5bp.com/p
 */

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

/*
 * Hide visually and from screenreaders, 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;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   Theses 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,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        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 for images, or javascript/internal links
     */

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

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

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

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

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

    @page {
        margin: 0.5cm;
    }

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

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

#header-nav {
	z-index: 1;
}
#gauge-nav {
	z-index: 2;
}
#top-nav {
	z-index: 3; 
}
.sf-menu li ul {
	background-color: #a22021;
}
