/*Screen layout: */

/***** Body and main container *****/
body {
margin:0 auto;
padding:0;
font:76% trebuchet MS,Verdana,Tahoma,Arial,sans-serif;
background:#f4f4f4 url(img/bg.gif) top center repeat-y;
color:#303030;
}

#wrap {
background:#ffffff;
color:#303030;
margin:0 auto;
width:760px;
}

/***** Various tags *****/
a {
text-decoration:none;
font-weight:bold;
color:#286ea0;
background-color:inherit;
}

a:hover {
text-decoration:underline;
color:#286ea0;
background-color:inherit;
}

a img {

border:none
}

/***** Header *****/
#header {
margin:10px 0 0;
padding:0;
height:45px;
}

#header h1,#header h2,#header h3 {
color:#FF9900;
background-color:inherit;
width:350px;
margin:0 0 10px;
font-size:1em;
float:left;
}


#header h1 a{
color:#505050;
background-color:inherit;
text-decoration:none;
}

#header p {
width:350px;
float:right;
text-align:right;
color:#505050;
margin:0 0 5px;
font-size:1em;
font-weight:bold;
line-height:1.1em;
background-color:inherit;
}

#frontphoto {
margin:0 0 10px;
border:0;
}

/***** Left sidebar *****/
#leftside {
clear:left;
float:left;
width:130px;
margin:0 0 5px;
padding:0;
}

#leftside h2,#leftside h3 {
color:#505050;
background-color:inherit;
font-size:1.3em;
margin:0 0 5px;
padding:0;
}

#leftside div.announce {
clear:left;
margin:10px 0 15px;
padding:7px 5px;
width:126px;
height:150px;
font-size:0.9em;
background-color:#f4f4f4;
color:#505050;
border-left:4px solid #cccccc;
line-height:1.5em;
}

#leftside div.announce p {
margin:10px 0 0;
padding:0;
}

/***** Main menu *****/
ul.avmenu {
width:140px;
margin:0 0 18px;
padding:0;
list-style:none;
}

ul.avmenu li {
width:140px;
padding:0;
line-height:1.4em;
display:inline;
}

ul.avmenu li a {
background-color:#f4f4f4;
color:#505050;
font-weight:bold;
width:130px;
float:left;
margin-bottom:5px;
padding:5px 1px 5px 5px;
border-left:4px solid #cccccc;
text-decoration:none;
}

ul.avmenu li a:hover,ul.avmenu li a.current {
background-color:#eaeaea;
border-left:4px solid #FF9900;
color:#505050;
}

ul.avmenu ul {
margin:0 0 0 15px;
padding:0 0 5px 0;
font-size:0.9em;
width:125px;
}

ul.avmenu ul a {
padding:3px 1px 3px 5px;
width:115px;
}

ul.avmenu ul ul {
width:113px;
}

ul.avmenu ul ul a {
width:100px;
}

/***** Right sidebar *****/
#extras {
float:right;
width:140px;
margin:0 -5px 5px;
padding:0;
line-height:1.4em;
}

#extras p,#extras ul {
font-size:0.9em;
margin:0 0 16px;
padding-left: 2px;
}

#extras li {
list-style:none;
line-height:1.2em;
margin:0 0 6px 0;
padding:0;
}

#extras ul ul {
margin:6px 0 0 10px;
padding:0;
}

#extras ul ul li {
margin: 0 0 4px 0;
}

#extras ul ul li a {
font-size:1.1em;
font-weight:normal;
}

#extras h2, #extras h3 {
color:#FF9900;
background-color:inherit;
font-size:1.2em;
margin:0 0 10px;
padding:0;
}



/***** Main content *****/
#content {
margin:0 140px 5px 140px;
border-left:1px solid #e0e0e0;
border-right:1px solid #e0e0e0;
padding:0px 10px 0px 10px;
line-height:1.6em;

}

#contentwide {
margin:0 0 5px 150px;
border-left:1px solid #f0f0f0;
padding:0 0 0 10px;
line-height:1.6em;
}

#content h2,#contentwide h2 {
font-size:1.6em;
margin:0 0 10px;
color:#FF9900;
}

#content h3,#contentwide h3 {
font-size:1.2em;
margin:0 0 8px;
color:#FF9900;
}

#content img,#contentwide img {
 float:left;
    padding:5px 5px 5px 5px;
    margin:5px 10px 5px 0;
    border:1px solid #CCC;
    text-align:center;
    color:#06C;
}

#content ul, #contentwide ul, #content ol, #contentwide ol {
margin:0 0 16px 20px;
padding:0;
}

#content li, #contentwide li {
margin:0;
padding:0 0 0 5px;
}

#content ul ul, #contentwide ul ul, #content ol ol, #contentwide ol ol{
margin:0 0 0 16px;
padding:0;
}



/***** Footer *****/
#footer {
clear:both;
margin:0 auto;
padding:10px 0 20px;
border-top:4px solid #f0f0f0;
width:760px;
text-align:center;
color:#808080;
background:#ffffff;
font-size:0.9em;
}

#footer a {
color:#808080;
background-color:inherit;
text-decoration:none;
}

#footer a:hover {
text-decoration:underline;
}

/***** Various classes *****/
.left {
margin:3px 10px 2px 0;
float:left;
}

.right {
margin:2px 0 2px 10px;
float:right;
}

.textright {
text-align:right;
}

.center {
text-align:center;
}

.small {
font-size:0.8em;
}

.bold {
font-weight:bold;
}

.hide {
display:none;
}
/***** Curly Container *****/
.curlycontainer{
border: 1px solid #b8b8b8;
margin-bottom: 1em;
width: 400px;
}

.curlycontainer .innerdiv{
background: transparent url(img/brcorner.gif) bottom right no-repeat;
position: relative;
left: 2px;
top: 2px;
padding: 1px 4px 15px 5px;
}

.curlycontainer .innerdiv2{
background: none;
position: relative;
text-align:center;
left: 2px;
top: 2px;
padding: 1px 4px 15px 5px;
}

/***** Image Viewer *****/
.thumbnail{
position: relative;
z-index: 0;
}

.thumbnail:hover{
background-color: transparent;
z-index: 10;
}

.thumbnail span{ /*CSS for enlarged image*/
position: absolute;
background-color: white;
padding: 5px;
left: -1000px;
border: 1px dashed gray;
visibility: hidden;
color: black;
text-decoration: none;
}

.thumbnail span img{ /*CSS for enlarged image*/
border-width: 0;
padding: 2px;
}

.thumbnail:hover span{ /*CSS for enlarged image on hover*/
visibility: visible;
top: 0;
left: -250px; /*position where enlarged image should offset horizontally */

}

.cssbutton{
background-color: #FF9900;
border: 2px #999999 outset;
padding: 1px 4px;
color: #ffffff;
text-decoration: none;
font: bold 90%  "Trebuchet MS", Verdana, Helvetica, sans-serif;
}

.cssbutton:visited{
color: black;
}

.cssbutton:hover{
border-style: inset;
background-color: #999999;
padding: 2px 3px 0 5px; /*shift text 1px to the right and down*/
}

.cssbutton:active{
color: black;
}



