html {overflow-y: scroll; overflow-x: auto; background-image:url(/images/template/background.jpg); background-position: top left; background-repeat: repeat-x; color: #403514; }
body {position: relative; font-size: 14px; font-family: 'Trebuchet MS', 'Courier New', 'Courier', 'Times New Roman'; width: 100%; margin: 0; text-align: left;}

* {margin: 0; padding: 0; z-index: 10;}
h1 {margin: 0 0 7px 0; color: #403514; line-height: 1.1em; font-size: 1.4em; font-weight: normal;}
h2 {margin: 0 0 6px 0; color: #403514; line-height: 1.1em; font-size: 1.3em; font-weight: bold;}
hr { height: 1px; border-top: 1px solid #aaa; border-bottom: 0px none #ffffff; border-left: 0px none #ffffff; border-right: 0px none #ffffff; }
h1.top { font-size: 1.8em; margin-bottom: 15px; }
a {color: #777711; text-decoration: none;}
a:hover {color: #006699;}
*:focus{outline: 0;}
img {border: 0;}
p { margin-bottom: 14px; }
ul { padding-left: 15px; }

.clearMe {display: block; height: 0; clear: both; font-size: 0;}
.clear:after {content: "."; display: block; height: 0; clear: both; visibility: hidden;}
.clear {display: inline-block;}
/* hide IE mac \*/
* html .clear {height: 1%;}
.clear {display: block;}
.miniscule { font-size:4px; }
/* */

.main { margin: auto; width: 870px; padding:0px;  }
.main .header { border-top: 1px solid #947c2e; margin-top: 20px; height: 73px; background-image:url(/images/template/header_back.gif); background-repeat:repeat-y; position:relative; }
.main .header #logo { margin-left: 21px; margin-top: 20px; border:0px; }
.main .header #search { position: absolute; right:0px; top:0px; padding:12px 7px;}
.main .header #search input.text {  color:gray; float:left; font-style: italic; width: 156px; height: 16px; padding-top:1px; padding-left:5px; border-left: 1px solid #999; border-top: 1px solid #999; border-bottom: 1px solid #999; border-right: 0px none transparent; }
.main .header #search input.textSel {  color:black; float:left; font-style: normal; width: 156px; height: 16px; padding-top:1px; padding-left:5px; border-left: 1px solid #999; border-top: 1px solid #999; border-bottom: 1px solid #999; border-right: 0px none transparent; }
.main .header #search img { width: 20px; height: 19px; border:0px; }
.main .header #nav { line-height: 1.6em; height:20px; position: absolute; right:0px; bottom: 0px; list-style-type: none; padding:0px; background-image:url(/images/template/nav_bar.gif); background-position: bottom left; background-repeat:no-repeat; margin-right:1px;}
.main .header #nav li { display: inline; padding-left: 21px; padding-right:38px; margin-top:3px; }
.main .header #nav li.sel { margin-top:5px; background-image: url(/images/template/nav_selected.gif); background-position: bottom left; background-repeat: repeat-x; background-color: #f1eee4;} 
.main .header #nav li a { color: white; font-size:90%; }
.main .header #nav li.sel a { color: #947c2e; } 
.main .header #nav li a:hover { color: #ecb62a; }
.main .header hr { display:none; }

.main .content { position:relative; background-image:url(/images/template/content_back.gif); background-repeat: repeat-y; background-color: #f7f5f0; border-top: 1px solid #947c2e; border-bottom: 1px solid #d9c196; padding: 37px 34px 7px 34px; }

.main .footer { border:1px solid #aaa; background-color: #ddd; text-align: center; padding: 12px; font-size: 80%; color: gray; }
.main .footer hr { display: none; }

.amessage_list { width:100%; margin: 0 auto;}
.amessage_list ul { list-style-type: none; margin:0px; padding:0px;}
.amessage_list ul li { padding: 10px; }
.amessage_list ul li.success { display: block; border: 1px solid #070; color: #080; background-color: #eeffee; margin-bottom: 10px; }
.amessage_list ul li.error { display: block; border: 1px solid #700; color: #800; background-color: #ffeeee; margin-bottom: 10px; }
