/* andreas01 - an open source xhtml/css website layout by Andreas Viklund (http://andreasviklund.com). Made for OSWD.org, free to use as-is for any purpose as long as the proper credits are given for the original design work. For design assistance and support, contact me through my website or through http://oswd.org/email.phtml?user=Andreas


Screen layout: */

body {
margin: 0 auto;
padding: 0;
font: 76% Verdana,Tahoma,Arial,sans-serif;
background: #f4f4f4 url(http://www.cubedwater.com/img/bg.gif) top center repeat-y;
}

#wrap {
background: #ffffff;
color: #303030;
margin: 0 auto;
width: 760px;
}

#header {
clear: both;
margin: 20px 0 0 0;
padding: 0;
height: 45px;
}

#header h1 {
width: 250px;
margin: 0 0 10px 0;
float: left;
}

#header p {
width: 500px;
float: right;
text-align: center;
color: #a0a0a0;
margin: 0 0 10px 0;
font-size: 0.8em;
line-height: 1.2em;
}

#frontphoto {
margin: 0 0 10px 0;
border: 0;
}
/***** Left sidebar *****/

#avmenu {
clear: left;
float: left;
width: 150px;
margin: 0 0 10px 0;
padding: 0;
font-size: .9em;
}

#avmenu ul {	
list-style: none;
width: 150px;
margin: 0 0 20px 0;
padding: 0;
font-size: 1.1em;
}	

#avmenu li {
margin-bottom: 4px;
}

#avmenu li a {
font-weight: bold;
height: 20px;
text-decoration: none;
color: #505050;
display: block;
padding: 6px 0 0 10px;
background: #f4f4f4;
border-left: 4px solid #cccccc;
}	
	
#avmenu li a:hover {
background: #eaeaea;
color: #286ea0;
border-left: 4px solid #286ea0;
}

#avmenu ul ul {
margin:5px 0 5px 15px;
font-size:0.9em;
width:135px;
}

#avmenu ul ul a {
height:16px;
margin:0;
padding:4px 0 0 8px;
}

#avmenu h2 {
margin: -5px 0 3px 10px;
padding: 0 0 0 0;
font-size: 1.3em;
color: #6A656F;
}

.announce {
margin: 10px 0 10px 0;
padding: 10px;
width: 130px;
color: #505050;
background-color: #f4f4f4;
line-height: 1.3em;
}

#extras {
float: right;
width: 140px;
margin: 0 0 10px 0;
padding: 0;
font-size: 0.9em;
line-height: 1.5em;
}

#extras fieldset{
	overflow: hidden;
	margin: 0;
	padding: 5px;
	font-weight: bold;
}

#extras legend{
	color: #286ea0;
}


#extras input{
	width: 120px;
}

#extras textarea{
	width: 120px;
}

#extras input.button{
	width: 125px;
	height: 30px;
}

input.button{
	border: 3px double #999999;
	border-top-color: #CCCCCC;
	border-left-color: #CCCCCC;
	padding: 0.25em;
	background-color: #FFFFFF;
	
	color: #333333;
	font-size: 0.9em;
	font-weight: bold;
	font-family: Verdana, Helvetica, Arial, sans-serif;

	width: 125px;
	height: 30px;

}

input.button:active
{
border: 3px double #CCCCCC;
border-top-color: #999999;
border-left-color: #999999;
}

#extras p {
margin: 0 0 1.5em 0;
padding: 0;
}

#content {
margin: 0 150px 20px 160px;
border-left: 1px solid #f0f0f0;
border-right: 1px solid #f0f0f0;
padding: 0 10px 0 10px;
line-height: 1.6em;
text-align: left;
}

#content img {
padding: 1px;
display:inline;
background: #cccccc;
border: 4px solid #f0f0f0;
}

#content .no_css{
padding: 0;
margin: 0;
background: none;
border: 0;
}


p {
margin: 0;
padding: 0 0 1.3em 0;
}

h6 {
font-size: 0;
margin: 0;
padding: 0;
}

h3 {
font-size: 1.3em;
margin: 0;
padding: 0 0 .5em 0;
}

h2 {
font-size: 1.5em;
margin: 0;
padding: 0 0 .5em 0;
}

h1 {
font-size: 2.2em;
margin: 0;
padding: 0;
}


h1 strong{
color: #286ea0;
}

a {
text-decoration: none;
color: #286ea0;
}

a:hover {
text-decoration: underline;
color: #286ea0;
}

a img {
border: 0;
}

#extras li, #content li {
list-style-type: none;
margin-left: -35px;
padding-left: 1.2em;
}

.blockquote {
margin:5px 12px 0 0;
padding:3px 10px 0px 10px;
border: 1px solid #f0f0f0;
border-left:3px solid #286ea0;
border-right: 0;
}

.blockquote p{
margin-top:5px;

padding-bottom:3px;
}
            
#footer {
clear: both;
margin: 0 auto;
padding: 10px 0 20px 0;
border-top: 4px solid #f0f0f0;
width: 760px;
text-align: center;
color: #808080;
font-size: 0.9em;
}

#footer a {
color: #808080;
text-decoration: none;
}

#footer a:hover {
text-decoration: underline;
}

.left {
margin: 10px 10px 5px 0;
float: left;
}

.right {
margin: 10px 0 5px 10px;
float: right;
}

.textright {
text-align: right;
}

.center {
text-align: center;
}


.bold {
font-weight: bold;
}

.hide {
display: none;
}

.error {
font-weight: bold;
color: red;
}




.cssform p{
width: 74%;
margin: 0;
padding: 5px 0 8px 0;
padding-left: 105px; /*width of left column containing the label elements*/
border-top: 2px solid #f0f0f0;
height: 1%;
}


.cssform label{
font-weight: bold;
float: left;
margin-left: -105px; /*width of left column*/
width: 95px; /*width of labels. Should be smaller than left column (155px) to create some right margin*/
}

.cssform textarea, .text{
width: 295px;
}

.cssform textarea{
height: 150px;
}



/*.threepxfix class below:
Targets IE6- ONLY. Adds 3 pixel indent for multi-line form contents.
to account for 3 pixel bug: http://www.positioniseverything.net/explorer/threepxtest.html
*/

* html .threepxfix{
margin-left: 3px;
}


