body {
    color: #fff;
    background-color: #000;
    margin: 0px;
    padding: 0px;
    font-family: Helvetica, Arial, "Sans Serif", sans-serif;
    min-height: 800px;
}
a:link, a:visited, a:hover, a:active { color: #fff; }
a#signin-link { font-size: 14px; text-decoration: none; }

#header {
    height: 75px;
    margin-right: 10%;
    margin-left: 10%;
}

#logo-link {
    margin-top: -50px;
    margin-left: -120px;
    cursor: pointer;
}

#header > span#signin-message { display: inline-block; float: right; margin-top: 40px; }

#topnav {
    background-color: #0d0e1a;
    height: 48px;
    border-top: 0px solid #800;
    overflow: hidden;
    text-align: center;
}
#topnav-inner, div.content-header {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}
div.content-header { height: 75px; overflow: hidden; text-align: left}

#topnav-inner > table.left-nav-links {
    display: block;
    float: left;
    height: 100%;
    margin-left: auto;
    margin-right: auto;
    border-collapse: collapse;
    color: #000;
}
#topnav-inner > table.right-nav-links {
    background-color: #900;
    font-weight: bold;
}

#topnav-inner > table td.navlink {
    height: 48px;
    width: 170px;
    line-height: 100%;
    vertical-align: center;
    text-align: center;
    border-left: 1px solid #800;
    border-right: 1px solid #800;
}
#topnav-inner > table td.navlink:hover {
    background-color: #000;
    color: #eee;
    cursor: pointer;
}

#content {
    width: 100%;
    min-height: 850px;
    text-align: center;
    position: relative;
}

#navlink-upload-images { display: none; }


.overlay{
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    background-color: rgba(0,0,0,0.8); /*dim the background*/
}
.overlay > .overlay-box {
    position: fixed;
    top: 50%;
    left: 50%;
    margin-top: -165px;
    margin-left: -370px;
    width: 905px;
    height: 200px;
    background-color: #ccc;             /* replace with specified color */
    border: 10px solid #000;
}
.overlay > .overlay-box > h1 {
    margin: 10px 0 15px 0;
    width: 90%;
    display: inline-block;
    background-color: #000;
    font-weight: normal;
    line-height: 3ex;
    font-size: 20px;
    font-family: "Arial";
}
.overlay > .overlay-box > table#login-buttons {
    margin: auto;
    min-width: 90%;
    height: 100px;
}
.overlay > .overlay-box > table#login-buttons a.login-button-link img.rollover { display: none; }

/* generic style for dialog boxes */
div.overlay-box button.dialog_ok {
    height: 2em; border: none; color: #eee; background-color: #800; width: 100px;
}
div.overlay-box button.dialog_cancel {
    height: 2em; border: none; color: #000; background-color: #eee; width: 100px;
}

#footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 175px;
    font-size: 12px;
    padding-bottom: 0;
    margin-bottom: 0;
    background-color: #000;
    text-align: center;
    border-top: 1px solid #000;
}

#footer > div.footer-links { margin: 15px auto auto auto; }
#footer > div.footer-links a { font-weight: normal; margin-left: 10px; margin-right: 10px; text-decoration: none; }
#footer > div.footer-links a:hover { text-decoration: underline }
#footer > div#footer-legal { font-size: 12px; width: 800px; margin: auto; }
#footer > img#rating-img { margin-top: -100px 10px 0px 0px; position: fixed; right: 30px; bottom: 30px; height: 84px; width: 172px; }
#footer > div#footer-copyright { font-size: 12px; clear: both; margin-top: 0px; }

a#gear-menu-link {
    margin-left: 1ex;
    display: inline-block;
}

ul#gear-menu {
    display: none;
    border: 2px solid #800;
    background-color: #000;
    padding: 1ex;
    z-index: 100;
    position: absolute;
    width: 120px;
    height: 70px;
    top: 55px;
    right: 120px;
}
ul#gear-menu > li {
    list-style-type: none;
    margin-top: 1ex;
    font-weight: normal;
}
ul#gear-menu > li > a {
    font-size: 14px;
    font-weight: normal;
    text-decoration: none;
    color: #eee;
}
ul#gear-menu > li > a:hover {
    color: #fff;
    text-decoration: underline;
}

.red-text {
    color: #ed1c24;
}
