﻿/* --- GENERAL --- */
body {
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    font-size: 62.5%;
}

ul, li, ol, dl, dd, h1, h2, /*h3*/
h4, h5, h6, p, form, fieldset, img {
    font-size: 1.2em;
}

ul, li {
    margin: 0;
    padding: 0;
    list-style: none;
}

ul {
    margin-left: 20px;
}

ul li {
    padding: 3px 0;
}

h1 {
    margin: 0;
    padding: 0;
}

img {
    margin: 0;
    padding: 0;
}

a img {
    border: none;
}

table {
    border: none;
    border-collapse: collapse;
    margin-bottom: 10px;
}

table td {
    vertical-align: top;
    padding: 0;
    margin: 0;
}

.left {
    float: left;
}

.right {
    float: right;
}

.clear {
    clear: both;
}

.important {
    color: #CE002E;
    font-weight: bold;
}

.phone {
    font-weight: bold;
    white-space: nowrap; /* prevent the phone number from being split across lines */
}

/* --- WRAPPER --- */

#keepCentered {
    width: 900px;
    margin-right: auto;
    margin-left: auto;
    background: url( ../images/pinkFooterBar.gif ) no-repeat bottom left;
}

/* --- HEADER --- */

#header {
    position: relative;
    border-bottom: 2px solid #fff;
    height: 100px;
    background: #CE002E url( ../images/header_bg.png ) repeat-y top right;
    overflow: hidden;
}

#header #search {
    position: absolute;
    width: 300px;
    top: 15px;
    right: 20px;
    font-weight: bold;
}

#header_content {
    width: 380px;
    padding-top: 20px;
    height: 100px;
    margin-left: 300px;
    color: white;
    font-family: Trebuchet MS;
}

#header_content p {
    margin: 0;
    padding: 0;
    font-weight: bold;
    font-size: 130%;
}

#header_station_finder {
    padding-top: 0;
    width: 150px;
    line-height: 190%;
    height: 100px;
    color: #dddddd;
    font-family: Trebuchet MS;
    position: relative;
    top: -102px;
    left: 765px;
    background: transparent url( ../images/stationFinderBg.png ) no-repeat top left;
}

/* --- CONTENT WRAPPER --- */

#content {
    background: transparent url( ../images/sidebar_bg.jpg ) repeat-y left top;
    position: relative;
    padding-bottom:20px;
}

/* --- SIDEBAR --- */

#sidebar {
    position: absolute;
    left: 0;
    top: 0;
    width: 240px;
}

#sidebar ul {
    font-weight: bold;
    margin-left: 0;
    font-size: 1em;
    width: 240px; /*needed to fix IE6 li margin bugs*/
    position: relative;
    top: -1px;
}

#sidebar ul li {
    padding: 0 0;
    width: 240px;
    margin-bottom: 0 !important; /*will match IE 6 and below*/
    margin-bottom: -3px;
}

#sidebar ul {
    margin-bottom: 0 !important; /*will match IE 6 and below*/
    margin-bottom: 3px;
}

#sidebar ul li a:link,
    #sidebar ul li a:visited {
    display: block; /*border-bottom: 1px solid #fff;*/
    background-position: 10px center; /*padding for navigation links*/
    padding: 6px 0 6px 25px;
    font-size: 1.1em;
}

#sidebar ul li a:hover {
    color: #F9ED00;
}

#sidebar ul li.current, #sidebar ul li.current ul {
    background: url( ../images/menu_bg_selected.jpg ) repeat-y left top;
}

#sidebar ul li ul li a:link,
    #sidebar ul li ul li a:visited {
    background: url( ../images/bullet_small.png ) no-repeat 23px 11px;
    font-size: 0.85em;
    padding-left: 40px;
    margin-left: 5px;
    font-weight: normal;
}

#sidebar ul li a,
    ul li ul li a {
    display: block;
    color: #FFFFFF;
    text-decoration: none;
    background: url( ../images/bullet_small.png ) no-repeat 15px center;
}


#sidebar ul li a.current {
    color: #F9ED00;
    background: url( ../images/bullet_small_selected.png ) no-repeat 10px center;
}

#sidebar ul li.current ul li a.current {
    color: #F9ED00;
    background: url( ../images/bullet_small_selected.png ) no-repeat 23px 11px;
}

/* --- MAIN --- */

#main {
    position: relative;
    width: 100%;
    color: #88001E;
}

#main-container {
    width: 660px;
    margin-left: 240px;
}

#main h3 {
    padding: 2px 0 0 0;
    font-size: 2em;
}

#main h4 {
    font-size: 1.5em;
}

#main p {
    font-size: 1.4em;
    line-height: 1.3em;
    color: black;
}

#main #content-wrapper {
    padding: 0 20px 0 20px;
    min-height: 490px;
    height: auto !important; /* IE hack to make min height work*/
    height: 490px;
}

#main .imageBanner {
    padding: 0;
    position: relative;
    left: -20px;
    width: 654px; /*border:solid red 1px;*/
    margin: 0;
}

#main ul li {
    color: black;
    font-size: 1.1em;
    list-style: square;
    margin-left: 20px;
}


/***** Definitiaon List Table Layout ******/

table.tableLayout {
    border-top: solid gray 1px;
    border-bottom: solid gray 1px;
    font-size: 1.3em;
    width: 100%
}

table.tableLayout td.header {
    font-weight: bold;
}

table.tableLayout td {
    border-bottom: solid gray 1px;
    padding: 6px 0;
}

/***** legal footer *****/

#legalFooter {
    width: 900px;
    margin-right: auto;
    margin-left: auto;
    font-size: 8pt;
    color: #aaaaaa;
    padding-top: 5px;
    text-align: center;
    padding-bottom: 30px;
}

/***** Service Station List *****/

.serviceStationList table tr td {
    border-bottom: solid gray 1px;
    font-size: 10pt;
    padding: 4px 3px;
}

.serviceStationList table tr:first-child td {
    border-top: solid gray 1px;
}

.serviceStationList table tr td a {
    text-decoration: none;
    color: blue;
}

.serviceStationList table tr td a:hover {
    color: navy;
}

.serviceStationList table tr td a:visited {
    color: blue;
}

.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}
