/* ============================ */
/* Author: Clive Walker 
   Web: http://www.cvwdesign.co.uk */
/* ============================ */

/*---- Reset everything ----*/

* {
  	margin: 0;
  	padding: 0;
}

html {height:100%}
body {min-height:101%} /*fix for Firefox, Opera scrollbar jump*/

body {
	font: 76%/1.6 Arial, Helvetica, sans-serif;
	min-width: 900px;
	text-align: center;
	background: #F7F0D4 url(../images/plaster-bg.jpg) repeat fixed;
}

/*
body { overflow: -moz-scrollbars-vertical; } alternative fix for Firefox scrollbar jump*/

/*---- Main layout elements ----*/

#wrapper {
	width: 900px;
	margin: 10px auto 0;
	text-align: left;
	background: #FFFFF0 no-repeat;
	border-top: 1px solid #CCC;
	border-right: 1px solid #7C7C7C;
	border-bottom: 1px solid #7C7C7C;
	border-left: 1px solid #CCC;
}

#header {
	height: 131px;
	padding: 7px 15px 5px;
	background: #FFFFF0;
	text-align: center;
}

#content {
	width: 885px;
	float: right;
}

#mainContent {
	width: 570px;
	margin: 0;
	float: left;
	padding-top: 15px;
}

#secondaryContent {
	width: 300px;
	display: inline; /* :IE double margin float bug */
	float: right;
	background-color:#FFFFF0;
} 

#footer {
	clear: both;
	padding: 5px 25px 10px 15px;
	border-top: 1px solid #EBEBEB;
	background: #DBEAF0;
	text-align: right;
	color: #666;
	font-size: 90%;
} 

/*---- Link styles ----*/

a:link, a:visited {
	color: #00F;
	text-decoration: underline;
}

a:hover {
	color: #3C7991;
	text-decoration: none;
}

a:active {
	color: #3C7991;
	text-decoration: none;
}

/*---- Navigation ----*/

#navigation {
	float:left;
	width:100%;
	background:#DBEAF0;
	font-size:100%;
	line-height:normal;
}

ul#navlist {
	margin: 0 0 0 300px;
	padding: 0;
	list-style-type: none;
	white-space: nowrap;
}

ul#navlist li {
	float: left;
	font-weight: bold;
	margin: 0;
	padding: 5px 0 4px 0;
	background-color: #DBEAF0;
	border-top: 1px solid #e0ede9;
	border-bottom: 1px solid #e0ede9;
	font-size: 110%;
}

#navlist a, #navlist a:link {
	margin: 0;
	padding: 5px 9px 4px 9px;
	color: #3C7991;
	text-decoration: none;
}

ul#navlist li#active {
        color: #95bbae;
        background-color: #deebe5;
}

#navlist a:hover {
	color: #3C7991;
	background: #BED9E4;
}

/*---- Paddings ----*/

#secondaryContent {
	padding-top: 15px;
	padding-bottom: 20px;
}

#secondaryContent * {
  padding-left: 15px;
  padding-right: 20px;
}

#secondaryContent * * {
  	padding-left: 0;
  	padding-right: 0;
}

/*---- Headings ----*/

h1, h2, h3 {
	font-weight: normal;
	border-bottom: 1px solid #EDF4F8;
	padding-bottom: 5px;
}

h1, h2, h3, p {
	margin: 1em 0 0.8em;
}

h1, h2 {
	font-size: 1.8em;
	margin-top: 0;
	font-style: italic;
	color: #090;
	font-weight: bold;
}

h2 {
  	font-size: 1.4em;
}

h3 {
	font-size: 1.2em;
}

/*--- Main div styles ---*/

#secondaryContent h2 { /* not used */
  	font-size: 1.3em;
  	margin: 0;
}

#secondaryContent img {
	padding-left: 0px;
}

#mainContent p, #secondaryContent p {
	line-height: 1.4em;
	font-size: 100%;
}

#content ul {
	margin-top: 20px;
}

#content li {
	margin-left: 20px;
	list-style: url(../images/list-bullet.gif) none;
	margin-bottom: 10px;
	border-bottom: 1px solid #EDF4F8;
}

#content ul.double li {
	float: left;
	width: 40%;
	margin-bottom: 5px;
	padding: 0 0 5px 15px;
	margin-right: 0;
	margin-left: 20px;
	list-style: none;
	background: url(../images/list-bullet.gif) no-repeat 0px 6px;
}

#address {
	margin-left: 0px;
	margin-right: 25px;
	border-top: 4px solid #DBEAF0;
	border-right: 1px solid #DBEAF0;
	border-bottom: 4px solid #DBEAF0;
	border-left: 1px solid #DBEAF0;
	margin-bottom: 25px;
}

#address .p1  {
	border-bottom: 1px solid #DBEAF0;
	padding-bottom: 10px;
}

.p2 {
	margin-top: 10px;
	margin-left: 10px;
	padding-top: 10px;
	padding-right: 10px;
	padding-left: 10px;
}

strong {
	color: #090;
}

.subdued {
	color: #7C7C7C;
}

/*---- Images ----*/

img {
    border: none;
}

/*---- Others ----*/

.cvw a:link, .cvw a:visited {
	color: #999;
	text-decoration: none;
}

hr {
	background:#A3CCE4;
	height:1px;
	color:#A3CCE4;
	border:none;
	margin-top: 0.5em;
	width: 275px;
}

.fright {
	float: right;
	margin-left: 10px;
}

.fleft {
	float: left;
	margin-right: 10px;
}

.clearboth {
	clear: both;
}

/*---- Contact form ----*/

#contact form

 {  /* set width in form, not fieldset (still takes up more room w/ fieldset width */
	margin: 0 0 10px;
	padding: 0;
	/*min-width: 500px;*/
	max-width: 100%;
	width: 99%;
	font-size: 100%;
}
#contact form fieldset {
	padding: 10px;        /* padding in fieldset support spotty in IE */
	margin: 0;
	border: 1px solid #DBEAF0;
}

#contact form label { 
	display: block;  /* block float the labels to left column, set a width */
	float: left; 
	width: 150px; 
	padding: 0; 
	margin: 5px 0 0; /* set top margin same as form input - textarea etc. elements */
	text-align: right; 
}

#contact form fieldset legend {
	font-size:1.1em; /* bump up legend font size, not too large or it'll overwrite border on left */
	color: #009900;
	letter-spacing: 1px;
                       /* be careful with padding, it'll shift the nice offset on top of border  */
}

#contact form input, #contact form textarea, #contact form select {
	/* display: inline; inline display must not be set or will hide submit buttons in IE 5x mac */
	width:auto;      /* set width of form elements to auto-size, otherwise watch for wrap on resize */
	margin:5px 0 0 10px; /* set margin on left of form elements rather than right of
                              label aligns textarea better in IE */
}

#contact form input#reset {
	margin-left:0; /* set margin-left back to zero on reset button (set above) */
}

textarea { overflow: auto; }

#contact form small {
	display: block;
	margin: 0 0 5px 160px; /* instructions/comments left margin set to align w/ right column inputs */
	padding: 1px 3px;
	font-size: 88%;
}

#contact form .required {
	font-weight:bold;} /* uses class instead of div, more efficient */

#contact form br {
	clear:left; /* setting clear on inputs didn't work consistently, so brs added for degrade */
}
