/* Start of CMSMS style sheet 'Layout: Side menu + 2 columns' */
/* removing all default padding and margins */

* {
margin:0;
padding:0;
}

/* INITIAL FONT STYLES */

body {
text-align: left;
font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 75.01%;
line-height: 1em;
}

/*
set font size for all divs,
this overrides some body rules
*/
div {
font-size: 1em;
}

/*
if img is inside "a" it would have 
borders, we don't want that
*/
img {
border: 0;
}

/* DEFAULT LINK STYLES */

/* set all links to have underline and red color */
a,
a:link 
a:active {
text-decoration: underline;
/* css validation will give a warning if color is set without background color. this will explicitly tell this element to inherit bg colour from parent element */
background-color: inherit; 
color: #228b22;
}

/* Top anchor */
a.topAnchor {
color: #ffffff;
}

a.topAnchor:visited {
color: #ffffff;
}

a:visited {
text-decoration: underline;
background-color: inherit;
color: #228b22;
}

/* remove underline on hover and change color */
a:hover {
text-decoration: none;
color: #ff0000;
}

/* BASIC LAYOUT */

body {
background-color: #ffffff;
color: #000000;
margin-bottom: 0.5em; /* bottom space */
}

/* center wrapper, min max width */
div#pagewrapper {
min-width: 1000px;
max-width: 1000px;
background-color: #ffffff;
margin: 0px auto;
}

/* HEADER */

div#header {
height: 216px; /* adjust according image size */
background: #228b22;
color: #ffffff;
}

div#smallInfo {
padding: 1em 0 0 1em;
text-align: left;
color: #228b22;
}

/* Google search field formating */
div#searchField {
padding-top: 3px;
}

/* Google button */
#buttonSearch {
color: #000000;
border: 1px solid #228b22;
height: 20px;
background-color: #ffffff;
}

#buttonSearch:hover {
color: #ffffff;
background-color: #228b22;
}
/* End */

/* Google search text area */
#textSearch {
border: 1px solid #228b22;
height: 18px;
line-height: 18px;
}
/* End */

/* Marker */
img#mMarker {
position: absolute;
z-index: 2;
padding: 4px 0 0 4px;
}

img#mMarkerFrame {
position: absolute;
z-index: 1;
}

span#mMarkerText {
position: relative;
top: 2px;
color: #228b22;
font-weight: bold;
padding-right: 3px;
}
/* Marker END */

div#content {
margin: 1.25em 0 0 0; /* some air above and under menu and content */
}

div#main {
margin-left: 25%; /* room for sidebar on the left side */
margin-right: 26%; /* and some space on the right */
margin-bottom: 5%; /* some space on the bottom */
}

div#sidebar {
float: left;  /* set sidebar on the left side. Change to right to float it right instead. */
width: 21%;    /* sidebar width, if this is changed, also change #main margins */
display: inline;  /* FIX ie doublemargin bug */
padding: 0 1%;
}

/* Weather Forecast Start */

#weatherForecast {
color: #228b22;
}

#weatherForecast2 {
color: #ff0000;
}

input#greenButton {
background-color: #ffffff;
color: #000000;
border: 1px solid #228b22;

width: 11em;
height: 1.4em;
line-height: 115%;
margin-top: 0.3em;
}

input#greenButton:hover
{
background-color: #228b22;
color: #ffffff;
border: 1px solid #228b22;

width: 11em;
height: 1.4em;
line-height: 115%;
margin-top: 0.3em;
}

select#citySelectMenu
{
background-color: #ffffff;
color: #000000;
width: 11em;
border: 1px solid #228b22;
}

.greenBoldText {
color: #228b22;
font-weight: bold;
}

/* Weather Forecast End */

div#sidebar2 {
float: right;  /* set sidebar on the right side */
width: 24.5%;    /* sidebar width, if this is changed, also change #main margins */
display: inline;  /* FIX ie doublemargin bug */
}

/* For green tables */

table.ForGreenTables {
border: 3px solid #228b22;
border-collapse: collapse;
text-align: center;
margin: 0px auto 0px auto;
}

td, th {
border: 1px solid #228b22;
}

/* End for green tables */

/* For speed time calculations  */

.selectWidthForSpeedTimeCalculations {
	width: 50px;
	border: #228b22 1px solid;
	background-color: #ffffff;
	color: #000000;
}

.speedTimeButtons {
	border: #228b22 1px solid;
	background-color: #ffffff;
	color: #000000;
}
.speedTimeButtons:hover {
	background-color: #228b22;
	color: #ffffff;
}

#speedTimeCalculator {
	padding: 5px 5px 1em 5px;
	line-height: 135%;
}

.secondIterationBackground {
	background-color: #22cc22;
}

/* End for speed time calculations */

div#footer {
clear: both;     /* keep footer below content and menu */
color: #ffffff;
background-color: #228b22; /* same background color as in header */
font-size: 0.8em;
text-align: center; /* centered text */
}

/* as we hid all hr for accessibility we create new hr with extra div element */
div.hr {
height: 1px;
border-bottom: 1px solid #228b22;
margin-bottom: 1em;
}

/* relational links under content */
div.rightRelationalLink {
float: right;
text-align: right;
}

/* to center an element or elements */
div#center {
text-align: center;
margin-top: 0.5em;
}

/* Date error message */
span#redErrorMessage {
color: #f0000f;
}

/* CONTENT STYLING */
div#content {
}

/* HEADINGS */
div#content h1 {
font-size: 2em;  /* font size for h1 */
line-height: 1em;
margin: 0;
}

div#content h2 {
color: #228b22; 
font-size: 1.5em; 
text-align: left; 
/* some space around the text */
padding-bottom: 1em;
/* set borders around header */
/* and some space under the border */
margin: 0 0 1em 0;
}

div#content h3 {
color: #000000; 
font-size: 1.3em;
line-height: 1.3em;
margin: 0 0 1em 0;
}

div#content h4 {
color: #000000; 
font-size: 1.2em;
line-height: 1.3em;
margin: 0 0 1em 0;
}

div#content h5 {
font-size: 1.1em;
line-height: 1.3em;
margin: 0 0 1em 0;
}

h6 {
font-size: 1em;
line-height: 1.3em;
margin: 0 0 1em 0;
}
/* END HEADINGS */

/* TEXT */
p {
font-size: 1em;
margin: 0 0 1.5em 0;  /* some air around p elements */
line-height:1.4em;
padding: 0;
}

#helporhint2 {
	display: none;
}

blockquote {
border-left: 10px solid #dddddd;
margin-left: 10px;
}

pre {
font-family: monospace;
font-size: 1.0em;
}

strong, b {
/* explicit setting for these */
font-weight: bold;
}

em, i {
/* explicit setting for these */
font-style:italic;
}

pre {
border: 1px solid #000000;  /* black border for pre blocks */
background-color: #dddddd;
margin: 0 1em 1em 1em;
padding: 0.5em;
line-height: 1.5em;
font-size: 90%;   /* smaller font size, as these are usually not so important data */
}

/* END TEXT */

/* LISTS */
div#main ul,
div#main ol,
div#main dl {
font-size: 1.0em;
line-height:1.4em;
margin: 0 0 1.5em 0;
}

div#main ul li,
div#main ol li {
margin: 0 0 0.25em 3em;
}

div#dl dt {
font-weight: bold;
margin: 0 0 0.25em 3em;
}

div#dl dd {
margin: 0 0 0 3em;
}
/* END LISTS */
/* End of 'Layout: Side menu + 2 columns' */

