html {
    background: #ececec;
    color: #000;
    margin: 0;
    padding: 0;
    font-family: sans-serif;
}
body {
    width: 980;
    margin: 1em auto;
    background: #fff;
    color: #777;
}
.content {
    padding: 1em;
}
.content:after {
   content: ".";
   visibility: hidden;
   display: block;
   height: 0;
   clear: both;
}
.footer {
    text-align: center;
    font-size: .8em;
}
h1, h2 {
    color: #434343;
    margin: 0.2em 0pt;
}
h1 {
    font-size: 140%;
}
h2 {
    font-size: 100%;
}

.contest_info {
    float: right;
    margin: 0 0 1em 1em;
    border: 1px solid #ccc;
    padding: 0.4em;
    clear: right;
    width: 340px;
}
.contest_info ul {
    padding-left: 1em;
    margin: 4px 0;
}
.controls {
    float: right;
    width: 210px;
}
.controls span, .thumb span {
    display: block;
    padding: 1px 0 3px 0;
}
.thumb_title {
    height: 40px;
}
.controls strong, .thumb strong {
    color: #444;
}
.prev, .next,
.thumb, .photo {
    background: #eee;
    border: 1px solid #ddd;
    padding: 4px;
    margin-bottom: .5em;
}
.prev, .next, thumb {
    display: block;
    color: inherit;
    text-decoration: none
}
.thumb {
    display: block;
    color: inherit;
    text-decoration: none;
    text-align: center;
    width: 200px;
    margin: 0 .5em .5em 0;
}
.thumb_img {
    display: block;
    height: 200px;
    width: 200px;
}
.thumb_img img {
    display: block;
    margin: auto;
}
.photo, .thumb {
    float: left;
}

.prev img, .next img, .thumb img {
    display: block;
    border: none
}

.vote {
    clear: both;
}

#login {
    border-top: 1px dotted #ccc;
    margin: 3px -.4em -.4em;
    position: relative;
}
#login_button {
    padding: .4em;
    cursor: pointer;
    position: relative;
    background: white;
    z-index: 10;
}
#openid_form {
    background: white;
    position: absolute;
    display: none;
    right: -1px;
    border: 1px solid #ccc;
    margin-top: -1px;
    padding: 0 .4em;
    z-index: 5;
}
#login.visible #openid_form {
    display: block
}
.photo_submit {
    display: block;
    border-top: 1px dotted #ccc;
    padding-top: .5em;
    margin-top: 3px;
    text-decoration: none;
}
.parent {
    float: right;
    font-weight: bold;
    font-size: small;
}
.parent a {
    color: inherit;
}
.photo_submit, .category_header, #login_button {
    font-weight: bold;
    color: #444;
}

