p.sansserif{ font-family:Arial,Helvetica,sans-serif; font-size: 14px; text-decoration:none }
p.sub{ font-family:Arial,Helvetica,sans-serif; font-size: 12px; text-decoration:none }
p.italic { font-family:Arial,Helvetica,sans-serif; font-size: 12px; font-style:italic; text-decoration:none; color:#646464; }
ol { font-family:Arial,Helvetica,sans-serif; font-size: 14px; text-decoration:none }
ul { font-family:Arial,Helvetica,sans-serif; font-size: 14px; text-decoration:none }
h1 { font-family:Arial,Helvetica,sans-serif; font-size:150%; }
h2 { font-family:Arial,Helvetica,sans-serif; font-size:125%; }
h3 { font-family:Arial,Helvetica,sans-serif; font-size:115%; }
div, span { font-family: Arial,Helvetica,sans-serif; font-size: 14px; text-decoration:none }
body {color:000000}
table.stat th, table.stat td {
    font-size:14px;
    font-family:Arial,Helvetica,sansserif;
    text-decoration:none;
}
table.stat tr:nth-child(even) {
    background-color:#e6e6e6;
}
a { text-decoration:none }
a:link {color:cc0000}
a:visited {color:646464}
a:hover {color:ffcc00}
#bigger { font-size:120%; }

#horizontal {
    width:900px;
    float:center;
    margin:0 0 3em 0;
    list-style:none;
}

#horizontal li {
    display:inline-block;
    float:left;
}

#horizontal ul {

    padding: 0 20px;
    border-radius: 10px;
    list-style: none;
    position: relative;
    display: inline-block;
    background: linear-gradient(top, #ffcc00 0%, #cc0000 100%);
    background: moz-linear-gradient(top, #ffcc00 0%, #cc0000 100%);
    background: webkit-linear-gradient(top, #ffcc00 0%, #cc0000 100%);
    box-shadow: 0px 0px 9px rgba(0,0,0,0.15);
}

#horizontal ul ul {
    display:none;
}

#horizontal ul li { float:center; }

#horizontal ul li a { padding: 10px 35px 10px 35px;
                      display: block;
                      color: #000000;
}

#horizontal li ul {
    display:none;
    position:absolute;
}

#horizontal ul li:hover {
    background: #ffcc00;
    background: linear-gradient(top, #ffcc00 0%, #cc0000 100%);
    background: moz-linear-gradient(top, #ffcc00 0%, #cc0000 100%);
    background: webkit-linear-gradient(top, #ffcc00 0%, #cc0000 100%);
    border-radius: 10px;
}

    #horizontal ul li:hover a {
        color: #fff;
    }

    #horizontal ul li:hover > ul { margin:0px; padding:0px; border-radius:10px; }
    #horizontal ul li:hover > ul li { float:none; display:block; }
    #horizontal ul li:hover > ul li a { color:#cc0000; min-width:100px; }
    #horizontal ul li:hover > ul li a:hover { color:#fff; }

    #horizontal ul li { position:relative; }
    #horizontal ul li ul { position:absolute; top:30px; left:0px; }

#horizontal li:hover ul {
    display:block;
    background: #ffffff;
    background: linear-gradient(top, #ffcc00 0%, #cc0000 100%);
    background: moz-linear-gradient(top, #ffcc00 0%, #cc0000 100%);
    background: webkit-linear-gradient(top, #ffcc00 0%, #cc0000 100%);
    height:auto; width:auto;
}

#horizontal li ul li {
    clear:both;
    border-style:none;
}

#back-top {
    position: fixed;
    bottom: 30px;
    left: 120;
}

#back-top a {
    width: 54px;
    display: block;
    text-align: center;
    font: 10px/100% Arial, Helvetica, sans-serif;
    text-transform: uppercase;
    text-decoration: none;
    color: #bbb;

    /* transition */
    -webkit-transition: 1s;
    -moz-transition: 1s;
    transition: 1s;
}

#back-top a:hover {
    color: #000;
}

/* arrow icon (span tag) */
#back-top span {
    width: 54px;
    height: 54px;
    display: block;
    margin-bottom: 7px;
    background: #ddd url(../img/up-arrow.png) no-repeat center center;

    /* rounded corners */
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;

    /* transition */
    -webkit-transition: 1s;
    -moz-transition: 1s;
    transition: 1s;
}

#back-top a:hover span {
    background-color: #777;
}

/* main menu for navigation */
#menu {
    position: fixed;
    left: 75;
    top: 40%;
    width: 8em;
    margin-top: -2.5em;
    z-index: 5;
    background-color: #e6e6e6;
    list-style-type: none;

    /* pretty rounded corners */
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;
}

/* footer for external links */
/* from http://stackoverflow.com/questions/15629511/how-can-i-make-my-footer-center-to-the-bottom-of-the-page */
footer {
    bottom: 0;
    position: fixed;
    width: 100%;
}

.footer {
    background-color: #e6e6e6;
    height: 40px;
    margin: auto;
    width: 900px;
    text-align: center;
}

/* spacing in footer */
/* from http://stackoverflow.com/questions/4108726/how-to-spread-html-evenly-over-a-line */
.container > div {
    display: inline-block;  
    display: -moz-inline-box;
    *display: inline;   /* for IE7 */
    zoom: 1;
    width: 18%;
    text-align: center;
}
