@import url(http://fonts.googleapis.com/css?family=Open+Sans+Condensed:300,700);

/*
 * 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 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 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;
}

a:hover, a:visited, a:link { color: inherit; }

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

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

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
  
.left { float: left; }

html { 
	background: #000 url('../img/grey-bar-bg.gif') repeat-x;
}

body { 
	min-height: 400px;
	position: absolute;
	/*width: 1600px;*/
	width: 100%;
}
#container { 
	position: relative; 
	margin: 70px auto; 
	padding: 0; 
	background-color: #fff; 
	width: 1280px; 
	color: #474747; 
	font-family: 'Open Sans Condensed', sans-serif; 
}

#header { height: 127px; background: transparent url('../img/header-bar.jpg') no-repeat left bottom; }
#header #logo { float: left; margin-top: 2px; }
#header #nav  { float: right; margin: 70px 30px 0 0; list-style-type: none;padding: 0; }
ul#nav li { display: inline; margin: 0;}
ul#nav li a { 
	text-decoration: none; 
	color: #474747; 
	font-family: 'Open Sans Condensed', sans-serif; 
	font-weight: 300; 
	text-transform: uppercase;
	font-size: 25px;
	letter-spacing: -1px;
	padding: 5px 10px;
}
ul#nav li a:hover, ul#nav li a.active {  
	background-color: #ef7131;
	color: #fff;
}
#footer { position: relative; height: 31px; background: #474747 url('../img/footer-bg.gif') repeat-y right 0; }
#footer #copyright { position: absolute; left: 50px; bottom: 50px; color: #000; font-weight: 700; font-size: 12px; font-family: Arial, sans-serif;  }
#footer #sitemap { margin: 0 0 0 5px; }
#footer #sitemap a, #footer #sitemap a:link, #footer #sitemap a:visited, #footer #sitemap a:hover { 
	color: #232323; font-size: smaller; text-decoration: none; 
}


#left { width: 50%; }
#right { width: 50%; }
.clear { clear: both; }

/*** Home Page ***/
#home #main #quote { position: relative; background: #000; height: 119px; color: #fff; }
#home #main #quote p { position: relative; margin: auto; width: 80%; text-align: center; top: 25%; letter-spacing: 1px; font-size: 20px; }

#home #main #bottom #left { width: 50%; }
#home #main #bottom #left h1 { margin-left: 50px; margin-top: 50px; font-weight: 300; font-size: 20px; }
#home #main #bottom #left p { width: 70%; margin-left: 50px; line-height: 1.2em; }
#home #main #bottom #right { width: 50%; height: 335px;}

#home #sign_up { color: #fff; width: 282px; margin-left: 30px;}
#home #sign_up h2 { font-size: 16px; font-weight: 300; margin: 20px; margin-top: 50px; }
#home #sign_up p { font-size: 14px; margin-left: 20px; margin-right: 20px; }
#home #oil_prices { margin-top: 209px; width: 328px; background: #000; font-family: Arial, sans-serif; }
#home #oil_prices #oil_inner { border-top: 3px solid #fff; border-bottom: 3px solid #fff; margin: 12px 2px; text-align: center; }
#home #oil_inner table { margin-left: 5px; }
#home #oil_prices h2 { color: #ef7131; font-size: 16px; line-height: 1.2em; margin: 3px auto; position: relative; font-weight: 400; }
#home #oil_prices p { color: #fff; font-size: 16px; }
#home #oil_prices a, #home #oil_prices a:visited, #home #oil_prices a:hover, #home #oil_prices a:link { color: #fefefe; font-weight: 300; } 
#home #oil_prices td { color: #fefefe; }

#home #right { background: url('../img/home_prices_box.jpg') no-repeat right 0; }


/*** End Home Page ***/

/*** Secondary Pages ***/
#secondary #main { position: relative; min-height: 853px; padding: 0 20px 0 50px; overflow: hidden; }
#secondary #main #left {  }
#secondary #main  h1 { margin-top: 30px; font-size: 36px; font-weight: 700; letter-spacing: -1px; line-height: 1.2em; margin-bottom: 1.2em; }
#secondary #main p { font-size: 18px; font-weight: 300; width: 70%; line-height: 1.2em; }
#secondary #right img { position: absolute; right: 36px; }

#secondary #quote_box { 
	position: absolute; 
	top: 626px; 
	z-index: 100; 
	background-color: #000; 
	color: #fff; 
	height: 104px; 
	width: 1280px; 
	left: 0;
	display: inline-block;
	font-family: 'Open Sans Condensed', sans-serif; 
}
#secondary #quote_box p { position: relative; margin:  auto; width: 80%; text-align: center; top: 25%; font-size: 20px; }


#secondary p#address { position: absolute; bottom: 0;  font-size: 14px; margin-left: 400px; }

/*** End Secondary Pages ***/

/*** Contact Form ***/

form .error { color: red; display: inline; }
.appnitro
{
	font-family:Lucida Grande, Tahoma, Arial, Verdana, sans-serif;
	font-size:small;
}

.appnitro li
{
	width:61%;
}

form ul
{
	font-size:100%;
	list-style-type:none;
	margin:0;
	padding:0;
	width:100%;
}

form li
{
	display:block;
	margin:0;
	padding:4px 5px 2px 9px;
	position:relative;
}

form li:after
{
	clear:both;
	content:".";
	display:block;
	height:0;
	visibility:hidden;
}

.buttons:after
{
	clear:both;
	content:".";
	display:block;
	height:0;
	visibility:hidden;
}

.buttons
{
	clear:both;
	display:block;
	margin-top:10px;
}

* html form li
{
	height:1%;
}

* html .buttons
{
	height:1%;
}

* html form li div
{
	display:inline-block;
}

form li div
{
	color:#444;
	margin:0 4px 0 0;
	padding:0 0 8px;
}

form li span
{
	color:#444;
	float:left;
	margin:0 4px 0 0;
	padding:0 0 8px;
}

form li div.left
{
	display:inline;
	float:left;
	width:48%;
}

form li div.right
{
	display:inline;
	float:right;
	width:48%;
}

form li div.left .medium
{
	width:100%;
}

form li div.right .medium
{
	width:100%;
}

.clear
{
	clear:both;
}

form li div label
{
	clear:both;
	color:#444;
	display:block;
	font-size:9px;
	line-height:9px;
	margin:0;
	padding-top:3px;
}

form li span label
{
	clear:both;
	color:#444;
	display:block;
	font-size:9px;
	line-height:9px;
	margin:0;
	padding-top:3px;
}

form li .datepicker
{
	cursor:pointer !important;
	float:left;
	height:16px;
	margin:.1em 5px 0 0;
	padding:0;
	width:16px;
}

.form_description
{
	border-bottom:1px dotted #ccc;
	clear:both;
	display:inline-block;
	margin:0 0 1em;
}

.form_description[class]
{
	display:block;
}

.form_description h2
{
	clear:left;
	font-size:160%;
	font-weight:400;
	margin:0 0 3px;
}

.form_description p
{
	font-size:95%;
	line-height:130%;
	margin:0 0 12px;
}

form hr
{
	display:none;
}

form li.section_break
{
	border-top:1px dotted #ccc;
	margin-top:9px;
	padding-bottom:0;
	padding-left:9px;
	padding-top:13px;
	width:97% !important;
}

form ul li.first
{
	border-top:none !important;
	margin-top:0 !important;
	padding-top:0 !important;
}

form .section_break h3
{
	font-size:110%;
	font-weight:400;
	line-height:130%;
	margin:0 0 2px;
}

form .section_break p
{
	font-size:85%;

	margin:0 0 10px;
}
input.button_text
{
	overflow:visible;
	padding:0 7px;
	width:auto;
}

.buttons input
{
	font-size:120%;
	margin-right:5px;
}
label.description
{
	border:none;
	color:#222;
	display:block;
	font-size:95%;
	font-weight:700;
	line-height:150%;
	padding:0 0 1px;
}

span.symbol
{
	font-size:115%;
	line-height:130%;
}

input.text
{
	background:#fff url(../../../img/shadow.gif) repeat-x top;
	border-bottom:1px solid #ddd;
	border-left:1px solid #c3c3c3;
	border-right:1px solid #c3c3c3;
	border-top:1px solid #7c7c7c;
	color:#333;
	font-size:100%;
	margin:0;
	padding:2px 0;
}

input.file
{
	color:#333;
	font-size:100%;
	margin:0;
	padding:2px 0;
}

textarea.textarea
{
	background:#fff url(../../../img/shadow.gif) repeat-x top;
	border-bottom:1px solid #ddd;
	border-left:1px solid #c3c3c3;
	border-right:1px solid #c3c3c3;
	border-top:1px solid #7c7c7c;
	color:#333;
	font-family:"Lucida Grande", Tahoma, Arial, Verdana, sans-serif;
	font-size:100%;
	margin:0;
	width:99%;
}

select.select
{
	color:#333;
	font-size:100%;
	margin:1px 0;
	padding:1px 0 0;
	background:#fff url(../../../img/shadow.gif) repeat-x top;
	border-bottom:1px solid #ddd;
	border-left:1px solid #c3c3c3;
	border-right:1px solid #c3c3c3;
	border-top:1px solid #7c7c7c;
}


input.currency
{
	text-align:right;
}

input.checkbox
{
	display:block;
	height:13px;
	line-height:1.4em;
	margin:6px 0 0 3px;
	width:13px;
}

input.radio
{
	display:block;
	height:13px;
	line-height:1.4em;
	margin:6px 0 0 3px;
	width:13px;
}

label.choice
{
	color:#444;
	display:block;
	font-size:100%;
	line-height:1.4em;
	margin:-1.55em 0 0 25px;
	padding:4px 0 5px;
	width:90%;
}

select.select[class]
{
	margin:0;
	padding:1px 0;
}

*:first-child+html select.select[class]
{
	margin:1px 0;
}

.safari select.select
{
	font-size:120% !important;
	margin-bottom:1px;
}

input.small
{
	width:25%;
}

select.small
{
	width:25%;
}

input.medium
{
	width:50%;
}

select.medium
{
	width:50%;
}

input.large
{
	width:99%;
}

select.large
{
	width:100%;
}

textarea.small
{
	height:5.5em;
}

textarea.medium
{
	height:10em;
}

textarea.large
{
	height:20em;
}

/*** End Contact Form ***/











/* ==========================================================================
   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.
   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,
       (-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;
    }
}
