/* -- GENERAL REDECLARATIONS -- */

/*purple	#671E60*/

html {
    height: 100%;
}

* {
    margin: 0;
    padding: 0;
}

body {
    text-align: center;
    background: #222 url( "../images/bg.jpg" );
    height: 100%;
    padding-bottom: 40px;
}

body, tr,
    td, input,
    select, textarea {
    font: normal small / 1.3 Arial, Tahoma, Helvetica, sans-serif;
}

a {
    outline: none;
}

a:link {
    color: #000;
    text-decoration: underline;
}

a:visited {
    color: #300;
    text-decoration: underline;
}

a:hover {
    color: #671E60;
    text-decoration: none;
}

a:active {
    color: #671E60;
    text-decoration: none;
}

#footer a:link {
    color: #fff;
    text-decoration: none;
}

#footer a:visited {
    color: #fff;
    text-decoration: none;
}

#footer a:hover {
    color: #671E60;
    text-decoration: none;
}

#footer a:active {
    color: #671E60;
    text-decoration: none;
}

#header a:link {
    color: #fff;
    text-decoration: underline;
}

#header a:visited {
    color: #fff;
    text-decoration: underline;
}

#header a:hover {
    color: #aaaaaa;
    text-decoration: none;
}

#header a:active {
    color: #aaaaaa;
    text-decoration: none;
}

ul, ol {
    margin: 0 0 10px 25px;
}

dl {
    margin: 0 0 10px;
}

dt {
    font-weight: bold;
}

dd {
    margin: 0 0 3px 10px;
}

p {
    margin: 0 0 5px;
}

h1 {
    font-size: large;
    margin: 0 0 12px;
}

h2 {
    font-size: medium;
    margin: 8px 0;
    color: #671E60;
}

h3 {
    font-size: small;
    margin: 6px 0 5px;
    color: #671E60;
}

h4 {
    font-size: x-small;
    margin: 4px 0;
}

h5 {
    font-size: xx-small;
    margin: 3px 0;
}

h6 {
    font-size: xx-small;
    margin: 0;
}

h1, h2, h3 {
    font-family: "Lucida Grande", Tahoma, Arial, sans-serif;
}

hr {
    clear: both;
    border-style: none;
    border-bottom: 1px dashed #e3e3e5;
    color: #fff;
    background-color: #fff;
    padding: 5px 0 10px 0;
}

/*color and background color should be the same as the background color of the div it is contained within*/
img {
    border: none;
    vertical-align: middle;
}

.small-graph {
    vertical-align: middle;
    padding: 2px;
    display: inline;
}

.large-graph {
    vertical-align: middle;
    padding: 2px;
    display: inline;
}

acronym {
    border-bottom: 1px dotted;
}

blockquote {
    margin: 0 25px 20px 25px;
    font-style: italic;
}

#preload {
    display: none;
}

.clr {
    clear: both;
}

.right {
    float: right;
}

.left {
    float: left;
}

.rightimage {
    float: right;
    margin: 0 0 10px 10px;
}

.leftimage {
    float: left;
    margin: 0 10px 10px 0;
}

.breadcrumbs {
    font-size: 10px;
}

/* Standard Layout */

#header-wrapper {
    position: relative;
    background: #222 url( "../images/header-bg.jpg" ) repeat-x;
    width: 100%;
    margin: 0 auto;
    text-align: left; /*	height:100%;*/
}

#header {
    position: relative;
    padding: 0px;
    margin: 0 auto;
    width: 900px;
}

#header-content {
    width: 870px;
    height: 44px;
    color: #fff;
    background: #fff url( "../images/header-content-bg-small.gif" ) repeat-x;
    padding: 8px 15px 8px 15px;
    text-align: left;
    font-family: Arial, Tahoma, Helvetica, sans-serif;
}

body#welcome-page #header-content {
    height: 179px;
    background: #fff url( "../images/header-content-bg.gif" ) repeat-x;
    padding: 8px 15px 8px 15px;
}

#header-content h1 {
    color: #fff;
    margin-top: 0px;
    margin-bottom: 2px;
    font-size: 20px;
}

body#welcome-page #header-content h1 {
    margin-top: 10px;
    font-size: 30px;
}

#header-content img {
    padding: 2px;
    margin-left: 15px;
    background: #fff;
    float: right;
}

#header h1#header-logo {
    margin: 0;
    width: 306px;
/ height : 131 px;
}

#header h1#header-logo a {
    display: block;
    width: 306px;
    height: 131px;
    text-indent: -9000px;
    background: url( "../images/logo.png" ) no-repeat 0 0;
}

#header h2#header-slogan {
    float: left;
    text-indent: -9000px;
}

#wrapper {
    position: relative;
    width: 900px;
    margin: 0 auto;
    text-align: left;
    min-height: 300px; /*	height:100%;*/
}

#content {
    position: relative;
    margin: 0;
    height: auto;
    padding-bottom: 10px;
    min-height: 300px;
    background: #fff url( "../images/content-main-bg.gif" ) repeat-x 0 0;
}

#content-main {
    position: relative; /*width: 465px;*/
    height: 100%;
    padding: 15px;
    padding-top: 25px; /*	background: #FFC;*/
}

#content-side {
    float: right; /*float:left;*/
    width: 170px;
    padding: 15px;
    background: #CFC;
    height: 100%;
}

#footer {
    color: #fff;
    clear: both;
    height: 20px;
    padding: 15px;
    background: transparent;
    text-align: center;
}

#footer img {
    margin-top: -5px;
}

.full-width {
    width: 865px;
}

/* flash notice styling */

.fieldWithErrors {
    color: #ff0000; /*padding: 2px;*/
/*background-color: red;*/
/*display: table;*/
}

#errorExplanation {
    white-space: normal;
    width: 400px;
    border: 2px solid red;
    padding: 7px;
    padding-bottom: 12px;
    margin-bottom: 20px;
    background-color: #ffa0a0;
}

#errorExplanation h2 {
    text-align: left;
    font-weight: bold;
    padding: 5px 5px 5px 15px;
    font-size: 12px;
    margin: -7px;
    margin-bottom: 5px;
    background-color: #c00;
    color: #fff;
}

#errorExplanation p {
    color: #000;
    margin-bottom: 0;
    padding: 5px;
}

#infoExplanation {
    white-space: normal;
    width: 400px;
    border: 2px solid #23fb00;
    padding: 7px;
    padding-bottom: 12px;
    margin-bottom: 20px;
    background-color: #b9ffae;
}

#infoExplanation h2 {
    text-align: left;
    font-weight: bold;
    padding: 5px 5px 5px 15px;
    font-size: 12px;
    margin: -7px;
    margin-bottom: 5px;
    background-color: #23fb00;
    color: #fff;
}

#infoExplanation p {
    color: #000;
    margin-bottom: 0;
    padding: 5px;
}

#infoExplanation ul li {
    font-size: 12px;
    list-style: square;
}

#infoExplanation ul li {
    font-size: 12px;
    list-style: square;
}

#helpExplanation, .helpExplanation {
    white-space: normal;
    width: 400px;
    border: 2px solid #f2ff27;
    padding: 7px;
    padding-bottom: 5px;
    margin-bottom: 10px;
    margin-top: 10px;
    background-color: #f8ff86;

    background-color: #EFEFEF;
    border: 1px dotted #671E60;
}

#helpExplanation h2, .helpExplanation h2 {
    text-align: left;
    font-weight: bold;
    padding: 5px 5px 5px 10px;
    font-size: 12px;
    font-size: 16px;
    font-family: "Lucida Grande", Tahoma, Arial, sans-serif;
    text-transform: lowercase;
    margin: -7px;
    margin-bottom: 5px;
    background-color: #f2ff27;
    background-color: #EFEFEF;
    color: #000;
    color: #671E60;
}

#helpExplanation p, .helpExplanation p {
    color: #000;
    margin-bottom: 0;
    padding: 5px;
}

.strong p {
    font-weight: bold;
}

#helpExplanation ul li, .helpExplanation ul li {
    font-size: 12px;
    list-style: square;
}

#helpExplanation ul li, .helpExplanation ul li {
    font-size: 12px;
    list-style: square;
}

/* Navigation - Use this for very basic horizontal text based nav */

#nav {
    position: absolute;
    top: 100px;
    right: 0px;
    list-style: none;
}

#nav ul {

}

#nav li {
    display: inline;
    list-style: none;
    color: #fff;
}

#nav li a {
    font-size: 16px;
    font-family: Arial, Tahoma, Helvetica, sans-serif;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    padding: 5px;
}

#nav li a:hover {
    color: #fff;
    background: #842A7B;
}

/*-- SUB NAVIGATION --*/

ul#subnav {
    margin-left: 0;
    margin-bottom: 0px;
    margin-left: -15px;
    margin-right: -15px;
    margin-top: -25px;
    padding: 6px 0 28px 0;
    background: #B4B4B4;
    background: #666 url( "../images/content-main-bg.gif" ) repeat-x bottom left;
    font-family: "Lucida Grande", "Bitstream Vera Sans", Helvetica, Verdana, Arial, sans-serif;
}

ul#subnav li {
    display: inline;
    list-style: none;
    margin: 0px;
}

ul#subnav li a {
    text-decoration: none;
    font-weight: bold;
    padding: 6px 10px 6px 10px;
    color: #fff;
}

/*IE7 hack - padding was 1px out in IE*/
*body ul#subnav li a {
    padding-bottom: 5px;
}

ul#subnav li a:hover {
    color: #fff;
    background: #671E60;
}

ul#subnav li.selected a {
    background: #ccc;
}

ul#subnav li.selected a:hover {
    color: #fff;
    background: #671E60;
}

/*-- FORM STYLING --*/

form {
    margin-top: 20px;
}

form hr {
    clear: both;
    border: 0px;
    border-top: 1px solid #ccc;
    margin-top: 10px;
    margin-bottom: 10px;
}

form h3 {
    margin-bottom: 6px;
    padding: 2px;
}

form .hidden {
    text-indent: -9000px;
}

form input[type="hidden"] {
    display: none;
}

form br {
    clear: left;
}

fieldset {
    margin-top: 10px;
    margin-bottom: 10px;
    border: 1px solid;
    width: 400px;
}

/*label, input, textarea, .radiolabel {
	display:block;
	float:left;
  	width:200px;
	margin-bottom:6px;
	padding: 2px;
}*/

label, input, textarea, select {
    padding: 2px;
    margin-bottom: 5px;
}

option {
    padding-right: 10px;
}

/*label {
    white-space: nowrap;
    padding-left: 0px;
    width: 7.5em;
    font-weight: bold;
    float: left;
    text-align: right;
    margin-right: 0.5em;
    display: block
}*/

/*.field {
    float:none;
    display:inline;
}*/

input[type="checkbox"] {
    width: auto;
    border: none;
    margin-left: 0.5em;
}

form span {
    color: #FF0000;
}

legend {
    color: #000;
    font-weight: bold;
    padding-left: 5px;
    padding-right: 5px;
}

/*label {
	width:60px;
	text-align:right;
	padding-right:10px;
	padding-top:2px;
}*/

input {
    border: 1px solid #0F0F0F;
}

input:hover, textarea:hover {
    border: 1px solid #671E60;
}

/*input.button {
	width:80px;
	height: 38px;
	margin-left: 93px;
	margin-right: 10px;
    margin-top: 0px;
	background: #fff;
}

input.button:hover {
  color: #fff;
  background: #671E60;
}*/

input.noborder {
    border: none;
}

textarea {
    border: 1px solid #0F0F0F;
    /*width: 290px;
   height: 120px;*/
}

div.fieldWithErrors {
    margin: 0;
    display: inline
}

.fieldWithErrors input, .fieldWithErrors textarea, .fieldWithErrors input[type="checkbox"] {
    border: 1px solid #ff0000;
    background-color: #FCC;
}

.fieldWithErrors input[type="checkbox"] {
    background-color: #ff0000;
}

input {
    width: 200px;
}

input[type="submit"] {
    width: auto;
}

/*dl {padding-bottom: 20px;}*/

dl.wide-label dt {
    white-space: nowrap;
    width: 260px;
}

dl.wide-label dd {
    margin: 0.25em 0.5em 0.5em 280px;
    margin-left: 240px;
}

dl.narrow-label dt {
    white-space: nowrap;
    width: 80px;
}

dl.narrow-label dd {
    margin: 0.25em 0.5em 0.5em 100px;
    margin-left: 100px;
}

dt {
    clear: both;
    width: 140px;
    float: left;
    text-align: right;
    display: block;
    margin: 0.25em 0.5em 0.5em 0.25em;
    margin: 0px;
}

dd {
    margin: 0.25em 0.5em 0.5em 160px;
    margin-left: 160px;
}

/*-- TABLE STYLING --*/

th, td {
    padding-left: 5px;
    white-space: nowrap;
    vertical-align: top;
    font-style: inherit;
}

table {
    width: 400px;
}

td.wrap {
    white-space: normal;
}

.odd td {
    background: #e3e3e3;
}

.search_result table th {
    color: white;
    background: #666;
    font-family: "Lucida Grande", "Bitstream Vera Sans", Helvetica, Verdana, Arial, sans-serif;
    padding-bottom: 5px;
    padding-top: 5px;
}

/*
td.bold {
    font-weight: bold;
    color: #F57E3D;
}*/

/* fuel consumption warning colours */
.good_consump {
    font-weight: bold;
    color: #00ff00;
}

.warn_consump {
    font-weight: bold;
    color: #ffc000;
}

.bad_consump {
    font-weight: bold;
    color: #FF0000;
}

/* news items on front page */
ul.news {
    margin-left: 5px;
}

ul.news li {
    list-style-type: none;
}

div.pagination a {
    font-weight: bold;
    color: #671E60;
}

div.pagination a:link {
    text-decoration: none;
}

div.pagination a:visited {
    text-decoration: none;
}

div.pagination a:hover {
    text-decoration: underline;
}

div.pagination a:active {
    color: #671E60;
    text-decoration: none;
}

div.comment-block {
    border: dashed 1px #671E60;
    padding: 2px;
    font-size: x-small;
}

div.comment-reply {
    margin-top: 0px;
    margin-bottom: 0px;
    margin-left: 20px;
    width: 845px;
    border-top: none;
}

div.comment-text-area {
    border: solid 1px #671E60;
    width: 600px;
    height: 100%;
    padding: 5px;
    margin: 5px;
    margin-bottom: 0px;
}

.comment-reply div.comment-text-area {
    width:570px;
}

div.not-reply {
    margin-top: 10px;
}