html, body{
	background:url('../images/layout/bg.jpg') repeat-x;
	background-color:#01557c;
	color:#01557c;
	font-size:14px;
	margin:0;
	padding:0;
}

a{
	text-decoration:none;
	color:#ef9400;
	font-weight:bold;
}

a:hover{
	text-decoration:underline;
	color:#01557c;
}

a img{ border:none; }

legend{ color:blue }
fieldset{ margin-bottom:15px; }

label{
    display:block;
}

input, select, textarea{
    border:#bbb solid 1px;
}

textarea{
    width:100%;
}

input:hover, input:focus, select:hover, select:focus, textarea:hover, textarea:focus, .fieldWithErrors input:hover, .fieldWithErrors input:focus, .fieldWithErrors textarea:hover, .fieldWithErrors textarea:focus, .fieldWithErrors select:hover, .fieldWithErrors select:focus{
    background:#e6edf5;
    border-top:black solid 1px;
    border-left:black solid 1px;
}

.fieldWithErrors input, .fieldWithErrors textarea, .fieldWithErrors select{
    background-color:#ffe8e8;
}

input[type="image"], input[type="image"]:hover, input[type="image"]:focus{
    border:none;
    background:none;
}

input[type="submit"]{
    padding:15px;
    padding-top:2px;
    padding-bottom:2px;
    font-size:1.1em;
    font-weight:bold;
    color:white;
    margin-top:15px;
    margin-bottom:15px;
    background:#01557c;
}

input[type="submit"]:hover, input[type="submit"]:focus{
    color:#ef9400;
}

.formitem{
    margin:0;
    padding-bottom:10px;
}

.center{
    text-align:center;
}

.right{
    text-align:right;
}

.red{ color:red; }

#notice, .errorExplanation {
    margin:15px;
    margin-bottom:25px;
    padding:15px;
    border:#23377b dashed 1px;
    background:#eee;
    text-align:center;
    font-weight:bold;
    font-size:0.9em;
}

.errorExplanation li{
    font-weight:normal;
    text-align:left;
}

#container{
	width:90%;
	margin:0 5% 0 5%;
	border:black solid 2px;
	border-top:none;
	background:white;
}

#top{
	background:url('../images/layout/bg1.jpg');
	position:relative;
}

#logo{
	width:177px;
	height:136px;
	background:url('../images/layout/logo-trans.png') no-repeat;
	position:absolute;
	top:8px;
	left:8px;
}
	
#header{
	height:152px;
	background:url('../images/layout/header.jpg') no-repeat right;
}

#menu{
	height:50px;
	background:url('../images/layout/bg2.jpg') repeat-x;
	margin-bottom:15px;
}

#menu ul{
    list-style-type:none;
    margin:0;
    padding:0;
}

#menu li{
    display:inline;
}

#menu li a{
    font-weight:bold;
    display:block;
    float:left;
    padding-left:25px;
    padding-right:25px;
    color:#01557c;
    height:42px;
    line-height:42px;
}

#menu li a:hover{ background:url('../images/layout/bg2-h.jpg') repeat-x; }

#categories{
	clear:both;
	width:25%;
	float:left;
	margin-left:3%;
	padding-top:0;
	border:#bbb dotted 1px;
	margin-bottom:50px;
}

#categories li{ margin-bottom:5px; }

#content{
	width:65%;
	padding-top:0;
	float:right;
	border:#bbb dotted 1px;
	margin-right: 3%;
	margin-bottom:50px;
}

.title{
	background:url('../images/layout/bg3.jpg');
	margin:0;
	padding:2px;
	color:white;
	font-size:1.1em;
	text-align:center;
	border-bottom:#ef9400 solid 3px;
}

.content{ padding:15px; background:url('../images/layout/bg4.jpg') repeat-x bottom; }

#login { text-align:center; }

#forgotten, #forgotten a{
    font-size:0.9em;
}

#footer{
	clear:both;
	background:url('../images/layout/corner.jpg') no-repeat top left;
	margin: 0 0 -2px -2px;
	padding-right:2px;
	height:18px;
	text-align:center;
	font-size:0.9em;
}

#footer ul{
    list-style-type:none;
    margin:0;
    padding:0;
}

#footer li{ display:inline; }

#footer li a{ padding:0 25px 0 25px; border-right:1px dotted black; }

#copyright{
	margin:5px 5% 5px 0;
	text-align:right;
	color:white;
	font-size:0.9em;
}

#links{
    text-align:center;
    font-size:0.7em;
    padding:10px;
}

#links a{
    color:#999;
}

#standard_table{
    text-align:center;
    width:100%;
}

#standard_table th{
    background:#01557c;
    color:white;
    padding:5px;
    border:#5c6c83 solid 2px;
    border-right:#041407 solid 2px;
    border-bottom:#041407 solid 2px;
}

#standard_table tr{background:#e6edf5;}

#standard_table td{
    padding:5px;
}

.paginate{
    text-align:right;
    margin:10px;
}

.frame{
    background:url('../images/layout/bg4.jpg') repeat-x; 
    background-color:#e6edf5;
    border:#ccc dotted 1px;
    margin-bottom:25px;
    padding-top:15px;
}

.frame h4{
    text-align:center;
    margin:0;
    margin-left:15px;
    margin-right:15px;
}

.frame p{
    margin:15px;
}

.frame .footer{
    background:url(../images/layout/bg5.jpg) repeat-x bottom;
    height:27px;
    padding:0;
    padding-right:15px;
    padding-top:5px;
    text-align:right;
    margin:0;
}

.artimg{ background:url(../images/layout/bg5.jpg) repeat-x bottom; margin:15px; }
.artimg img{ border:#ccc solid 1px; padding:3px 3px 15px 3px; }

#buyarticle{ margin-top:50px; }

#buyarticle input{ padding:5px 15px 5px 15px; }
