#footer {width: 760px; background-color: #674c7b; padding-top: 6px; padding-bottom: 6px; font-size: x-small; text-align: center; color: white;}

/*Credits: Dynamic Drive CSS Library */
/*URL: http://www.dynamicdrive.com/style/ */

#maintab{
padding: 3px 0;
margin-left: 0;
margin-bottom: 0;
font: bold 12px Verdana;
list-style-type: none;
}

#maintab li{
display: inline;
margin: 0;
}

#maintab li a{
text-decoration: none;
padding: 3px 7px;
margin-right: 3px;
border: 1px solid #778;
color: black;
background: white;
}

#maintab li a:hover{
color: navy;
background: #ffffcc;
}

#maintab li.selected a{ /*selected main tab style */
color: white;
background-color: #674c7b;
border-color: #674c7b;
border-bottom: none;
}

#maintab li.selected a:hover { /*selected main tab style */
color: white;
background-color: #674c7b;
border-color: #674c7b;
border-bottom: none;
}

#tabcontentwork{ /*2nd level content wrapper*/
border: 1px solid #674c7b;
background-color: #674c7b;
height: 100% /*IE7 beta2 fix*/
}

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

#tabcontentwork ul li{
display: inline;
}

#tabcontentwork ul.selected{ /*selected 2nd level content*/
display: block;
}

#tabcontentwork ul li a{
border-right: 2px solid #4C385C;
color: white;
padding: 2px 5px;
display: block;
float: left;
text-decoration: none;
}


#tabcontentwork ul li a:hover{
color: #ffff99;
}

.clearfix:after{ /*Clear floats hack: http://positioniseverything.net/easyclearing.html*/
content: "."; 
display: block; 
height: 0; 
clear: both; 
visibility: hidden;
}

.clearfix{
display: inline-table;
}

/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */
