/*   
Theme Name: UVA Ballroom Flair
Theme URI: http://www.uvaballroom.org
Description: Wordpress Theme for UVa Ballroom Dance Club
Author: Richard Peng
Author URI: http://www.richardpeng.com
Version: 1.0
*/

body {
margin: 0;
padding: 0;
font: 0.8em Georgia, Times New Roman, Times, serif;
background-image: url(images/background.gif);
}
#main {
margin-top: 0px;
margin-left: 0px;
width: 685px;
height: 100%;
border-right: thin solid #DDDDDD;
}
#header {
border-bottom: thin solid #DDDDDD;
}
#header, #footer {
background-color: #F2F2F2;
}
#footer {
color: #00599B;
height: 20px;
font-size: .9em;
padding-top: 8px;
text-align: center;
border-bottom: thin solid #DDDDDD;
border-top: thin solid #DDDDDD;
}
#nav {
}
#nav ul {
        margin: 10px 0 0 0;
        padding: 0;
        list-style: none;
        border: none;
        }
#nav li {
margin: 0;
background-image: url(images/arrow.gif);
background-repeat: no-repeat;
background-position: 10px 5px;
}
#nav li a {
                display: block;
                padding: 5px 0.5em 5px 2em;
                color: #00599B;
                text-decoration: none;
                width: 100%;
                font-size: 1.2em;
                }

        html>body #nav li a {
                width: auto;
                }

        #nav li a:hover {
                background-color: #E3CAAA;
                color: #000;
                background-image: url(images/arrowh.gif);
                background-repeat: no-repeat;
                background-position: 10px 5px;
                }
#nav li ul li {
                margin:0;
                background-image: url(images/arrows.gif);
                background-repeat: no-repeat;
                background-position: 13px 5px;
}
#nav li ul li a {
                display: block;
                padding: 3px 0.5em 3px 2.8em;
                color: #00599B;                 
                text-decoration: none;
                width: 100%;
                font-size: 0.9em;
                }

        html>body #nav li ul li a {
                width: auto;
                }

        #nav li ul li a:hover {
                                background-image: url(images/arrowsh.gif);
                                background-repeat: no-repeat;
                background-position: 13px 5px;
                color: #03406E;         
                }
.current_page_item {
background-color: #fff;
}
#maintext {
color: #606060;
line-height: 1.4em;
padding:0 20px 0 20px;
}
#maintext a:link, #maintext a:visited, #footer a:link, #footer a:visited {
color: #005A9C;
text-decoration: none;
}
#maintext a:active, #maintext a:hover, #footer a:active, #footer a:hover {
color: #005A9C;
}
#frontpage {
color: #606060;
line-height: 1.4em;
}
#frontpage a:link, #frontpage a:visited, #footer a:link, #footer a:visited {
color: #005A9C;
text-decoration: none;
}
#frontpage a:active, #frontpage a:hover, #footer a:active, #footer a:hover {
color: #005A9C;
}
#events {
color: #606060;
line-height: 1.4em;
padding:0 20px 0 20px;
}
#sidebar {
background-color: #E1E5E8;
width: 175px;
}
#maintable {
padding: 0px;
border: 0px;
}
#maintable td{
padding: 0;
vertical-align: top;
}
#maincell {
background-color: #fff;
width: 510px;
}
h1 {
padding: 1em 0 0.5em 0;
margin: 0;
font-weight: normal;
font-size: 1.8em;
color: #005A9C;
font-variant: small-caps;
}
h2 {
padding: 0.4em 0 0em 0;
margin: 0;
font-weight: normal;
font-size: 1.4em;
color: #19659C;
}
h3 {
margin: 0;
font-weight: bold;
font-size: 1.0em;
color: #19659C;
}
.submitarea {
                display: block;
                padding: 5px 0.5em 5px 2em;
                width: 100%;
                font-size: 1.2em;
                }

        html>body .submitarea {
                width: auto;
                }
input#submit
{
color: #00599B;
border: 3px double #999999;
border-top-color: #CCCCCC;
border-left-color: #CCCCCC;
padding: 1px 2px;
background-color: #D3DFE8;
background-repeat: repeat-x;
margin-top: 10px;
}
.email {
color: #00599B;
background-color: #DDDDDD;
border: 1px solid #CCCCCC;
}
.emailfocus {
background-color: #EEEEEE;
border: 1px solid #CCCCCC;
color: #03406E;
}
.instructor {
float: left;
margin-right: 10px;
margin-bottom: 20px;
}
.instructor img {
border: 0px;
height: 100px;
}
.instructorportrait {
height: 200px;
float:right;
padding: 8px;
}
#slideshow{ /*IE method of centering a relative div*/
text-align: center;
}

#slideshow>div{ /*Proper way to center a relative div*/
margin: 0 auto;
}
.register {
font-size: .85em;
}
#smallregfont {
font-size: 85%;
}
.ec3_events {
list-style:none;
}