/* common stylesheet for imhs.org
   based on andreas08 by Andreas Viklund - http://andreasviklund.com. 

   1.0	8/1/06		initial release

 */

/**************** Body and tag styles ****************/

*{
margin:0; 
padding:0;
}

body{
font:75% Tahoma, Arial,sans-serif;
line-height:1.4em;
text-align:left;
color:#000;
background:#9081AF;
/*
background-image: url(http://www.imhs.org/images/stripe.gif);
background-repeat: repeat;
*/}

a{
color:#6F609B;
font-weight:bold;
text-decoration:none;
background-color:inherit;
}

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

a img{
border:none;
}

p{
padding:0 0 6px 0;
}

p form{
margin-top:0; 
margin-bottom:10px;
}

img.posleft,img.poscenter,img.posright{
padding:0px; 
border:1px solid #666;
}

img.posleft{
float:left; 
margin:0 12px 5px 0;
}

img.poscenter{
display:block; 
margin:0 auto 5px auto;
}

img.posright{
float:right; 
margin:0 0 5px 12px;
}


img.ad{
display:block; 
margin:0 auto 5px auto;
padding:0px; 
/* border:1px solid #666; */
}

/**************** Header and navigation styles ****************/

#container{
width:820px;
margin:10px auto;
padding:0;
text-align:left;
background:#fff;
color:#303030;
background:url("../images/ws/ws_main.gif") repeat-y;
/*
border:1px solid #000;
*/}

#top {
width:820px;
height:35px;
background:url("../images/ws/ws_head.gif") no-repeat;
}

#bottom {
width:820px;
height:27px;
background:url("../images/ws/ws_foot.gif") no-repeat;
}

#header{
height:80px;
width:784px;
margin:-30px 18px 1px 18px;
background:#fff;
color:#000;
z-index:6;
/* background-image: url("http://www.imhs.org/images/ws/header.gif"); */
}

#header h2, #header h3{
display:none;
}

#nav li{
float:left;
list-style-type:none;
border-right:1px solid #fff;
white-space:nowrap;
}

#nav li a{
display:block;
padding:0 10px;
font-size:0.9em;
font-weight:normal;
text-transform:uppercase;
text-decoration:none;
background-color:inherit;
color: #fff;
}

* html #nav a {width:1%;}

#nav .selected{
background:#C8013A;
color:#fff;
text-decoration:none;
}

#nav a:hover{
background:#C8013A;
color:#fff;
text-decoration:none;
}

/**************** Content styles ****************/

#content{
float:left;
width:776px;
/*
font-size:0.9em;
*/
padding:10px 22px 10px 22px;
}

#content h2{
display:block;
margin:0 0 10px 0;
font-size:2em;
font-weight:700;
letter-spacing:-1px;
color:#000;
background-color:inherit;
}

#main{
float:left;
width:550px;
/*
font-size:0.9em;
*/
padding:0 6px 0 0;
}

#main h2{
display:block;
margin:0 0 10px 0;
font-size:1.9em;
font-weight:700;
color:#000;
/*
letter-spacing:-1px;
color:#333;
*/
}

#main h2 a{font-weight:normal;}

#main h3{
margin:0 0 5px 0; 
font-size:1.4em; 
/*
letter-spacing:-1px;
*/
color:#333;
}

#main a:hover,#submain a:hover{text-decoration:underline;}
#main ul,#main ol{margin:0 5px 16px 35px;}
#main dl{margin:0 5px 10px 25px;}
#main dt{font-weight:bold; margin-bottom:5px;}
#main dd{margin:0 0 10px 15px;}

/**************** Sidebar styles ****************/

#sidebar{
float:right;
width:155px;
padding: 0 0 0 14px;
margin: -4px -35px 0 0;
border-left: 1px dotted #999; 
voice-family: "\"}\"";
voice-family:inherit;
width:200px;
padding: 0 0 0 8px;
margin: -4px 0 0 0;
}

#sidebar h2{
display:block;
margin:0 0 10px 0;
font-size:1.4em;
font-weight:700;
text-align:left;
color:#000;
/*
letter-spacing:-1px;
color:#333;
*/
}

#sidebar p{
margin:0 0 0px 0; 
/*
font-size:0.9em;
*/
}

#sidebar ul{
/*margin:0 0 0 12px;*/
list-style-type:none;
}

/**************** Menublock styles ****************/

.menublock{margin:0 0 20px 8px; font-size:0.9em;}
.menublock li{list-style:none; display:block; padding:2px; margin-bottom:2px;}
.menublock li a{font-weight:bold; text-decoration:none;}
.menublock li a:hover{text-decoration:underline;;}
.menublock li ul{margin:3px 0 3px 15px; font-size:1em; font-weight:normal;}
.menublock li ul li{margin-bottom:0;}
.menublock li ul a{font-weight:normal;}

/**************** Searchbar styles ****************/

#searchbar{margin:0 0 20px 0;}
#searchbar form fieldset{margin-left:10px; border:0 solid;}

#searchbar #s{
height:1.2em;
width:110px;
margin:0 5px 0 0;
border:1px solid #a0a0a0;
}

#searchbar #searchbutton{
width:auto;
padding:0 1px;
border:1px solid #808080;
font-size:0.9em;
text-align:center;
}

/**************** Footer styles ****************/

#footer{
clear:both;
width:784px;
padding:3px 0;
margin:1px 18px 1px 18px;
font-size:0.9em;
color:#f0f0f0;
background:#6A5A97;
text-transform:lowercase;
}

#footer p{padding:0; margin:0; text-align:center;}
#footer a{color:#f0f0f0; background-color:inherit; font-weight:bold;}
#footer a:hover{color:#ffffff; background-color:inherit; text-decoration: underline;}


/**************** Misc classes and styles ****************/

.left{
float:left; 
width:48%;
margin-top: 10px;
padding:0;
}

.right{
float:right; 
width:48%; 
border-left: 1px dotted #ded; 
padding:0px 0 0 10px;
margin-top: 10px;
}

.center{
margin-left: auto;
margin-right: auto;
text-align: center;
}

.clear{clear:both;}
.small{font-size:0.95em; line-height: 1.1em; }
.hide{display:none;}
.flag{color: #f00;}
.textleft{text-align:left;}
.textcenter{text-align:center;}
.textright{text-align:right;}
.important{color:#f02025; background-color:inherit; font-weight:bold;}

.box{
margin:0 0 10px 0;
padding:10px 10px 10px 10px;
border-top:1px solid #d0d0d0;
border-left:1px solid #d0d0d0;
border-bottom:1px solid #606060;
border-right:1px solid #606060;
background-color:#FFE4A4;
color:#333;
line-height:1.5em;
/*background-image: url(http://www.imhs.org/css/splurge.gif);
background-repeat: repeat;
*/
/*
background-position: bottom right; */
}

.boxrow0{
margin:0 0 0px 0;
padding:5px 5px 0px 5px;
line-height:1.2em;
border-top:1px dotted #d0d0d0;
}

.boxrow1{
margin:0 0 0px 0;
padding:5px 5px 0px 5px;
line-height:1.2em;
border-top:1px dotted #d0d0d0;
}

.debug{
font:100% courier, fixed;
text-align:left;
color:#000;
}