body {
    background: #fff8e6;
    color: #000;
    font-size: 12px;
    font-family: Verdana, sans-serif;

    margin: 0;
    padding: 0;
}
.blocks {
    overflow: auto;
}

/*******************************************************************************
 * Header
 *********/

.header {
    background: transparent url('/static/images/logo.png') 0 5px no-repeat;
    height: 60px;
    padding: 0 0 0 65px;
}

h1 {
    margin: 0;
    padding: 5px;
    font-weight: bold;
    font-size: 20px;
}
.header .slogan {
    color: #a38f29;
    margin: -10px 0 0 0;
    padding: 5px;
}

h1 a {
    color: #a68a00;
    text-decoration: none;
}

.user-details {
    color: #000;
    background: #ffcc00;
    border-top: 0;
    float: right;
    margin: 0 0 10px 10px;
    padding: 5px 10px;
}
.global-header {
    overflow: hidden;
}

.header .menu {
    float: right;
    clear: both;
    display: inline;
    margin: 0;
    padding: 0;
}
.header .menu li {
    display: inline;
}
.header .menu a {
    background: #8da100;
    color: #fff;
    font-size: 14px;
    text-align: center;
    font-weight: bold;
    text-decoration: none;
    display: block;
    width: 130px;
    margin: 0 0 0 10px;
    padding: 5px 10px;
    float: left;

    border-radius: 10px;
    -moz-border-radius: 10px;
}
.header .menu a:hover {
    background: #a8ba2f;
}

/*******************************************************************************
 * Footer
 *************/

.global-footer {
    background: #666;
    color: #fff;

    -moz-border-radius: 10px;
    border-radius: 10px;
}
.global-footer .footer {
    padding: 10px;
}

.global-footer a {
    color: #fff3b5;
}
.global-footer a:hover {
    color: #ffe973;
}

.global-footer .menu, .global-footer .menu li {
    display: inline;
    margin: 0;
    padding: 0;
}
.global-footer .menu a {
    border-left: 1px solid #fff;
    padding: 0 0 0 10px;
    margin: 0 0 0 10px;
}

/*******************************************************************************
 * Components
 *************/

a {
    color: #05296e;
}
a:hover {
    color: #1144aa;
}

a img {
    border: 0;
}

h2 {
    color: #fff;
    background-color: #000;

    margin: 10px 0;
    padding: 10px;

    -moz-border-radius: 10px 0 0 10px;
    border-radius: 10px 0 0 10px;

    background-image: -webkit-gradient(
        linear,
        left bottom,
        left top,
        color-stop(0, rgb(0,0,0)),
        color-stop(1, rgb(92,88,92))
    );
    background-image: -moz-linear-gradient(
        center bottom,
        rgb(0,0,0) 0%,
        rgb(92,88,92) 100%
    );
}

.global-column h2{
    -moz-border-radius: 0 10px 10px 0;
    border-radius: 0 10px 10px 0;
}

.error {
    color: #54001c;
    background: #ffcccc;
    padding: 10px;
}

.message {
    background: #ccffcc;
    padding: 10px;
}

/*******************************************************************************
 * Form
 *******/

.new {
    margin: 10px;
    padding: 5px 10px;
    color: #fff;
    background: #8da100;
    text-decoration: none;
    font-weight: bold;
    display: block;
    text-align: center;
    font-size: 14px;
}
.new:hover {
    color: #fff;
    background: #a8ba2f;
}

.item {
    margin: 5px 10px;
}

label {
    float: left;
    width: 160px;
    padding: 6px;
}

input, select, .button, textarea {
    border: 1px solid #a69c00;
    width: 300px;
    padding: 2px 5px;
    margin: 2px 5px;
}
input:focus, select:focus, textarea:focus {
    border-color: #ffd500
}
textarea {
    height: 100px;
}

.submit, .button {
    width: 311px;
    margin-left: 177px;
    padding: 3px 5px;
    background: #8da100;
    color: #fff;
    cursor: pointer;
}

.button {
    text-decoration: none;
    margin: 0;
    width: auto;
}
.button:hover {
    color: #eee;
}

/*******************************************************************************
 * Comics
 *********/
.comic {
    margin: 10px 10px 10px 0;
}
.comic h3 {
    font-size: 16px;
    margin: 0;
    padding: 0;
}
.comic h3 .info {
    color: #ddd;
    display: block;
    font-weight: normal;
    font-size: 10px;
    margin-top: 4px;
}
.comic h3 a.comic-link {
    background-color: #A61300;

    background-image: -webkit-gradient(
        linear,
        left bottom,
        left top,
        color-stop(0, rgb(143,41,31)),
        color-stop(0.7, rgb(130,22,12)),
        color-stop(1, rgb(97,46,41))
    );
    background-image: -moz-linear-gradient(
        center bottom,
        rgb(143,41,31) 0%,
        rgb(130,22,12) 70%,
        rgb(97,46,41) 100%
    );

    color: #fff;
    display: block;
    padding: 10px;
    text-decoration: none;

    -moz-border-radius: 10px 10px 0 0;
    -webkit-border-radius: 10px 10px 0 0;
    border-radius: 10px 10px 0 0;
}
.comic h3 a.comic-link:hover {
    background-color: #c41700;

    background-image: -webkit-gradient(
        linear,
        left bottom,
        left top,
        color-stop(0, rgb(184,76,66)),
        color-stop(0.7, rgb(158,45,37)),
        color-stop(1, rgb(138,52,45))
    );
    background-image: -moz-linear-gradient(
        center bottom,
        rgb(184,76,66) 0%,
        rgb(158,45,37) 70%,
        rgb(138,52,45) 100%
    );
}
.comic .main .counter {
    background-color: #cc6600;
    color: #fff;
    padding: 0;

    overflow: auto;

    -moz-border-radius: 0 0 10px 10px;
    -webkit-border-radius: 0 0 10px 10px;
    border-radius: 0 0 10px 10px;
}
.comic .main p {
    padding: 5px 10px;
    margin: 0;
}

.subscribe, .unsubscribe {
    font-size: 12px;
    font-weight: normal;
    float: right;
    margin: 10px;
    padding: 4px 8px;
    text-decoration: none;
    text-align: center;
    width: 70px;

    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
}
.unsubscribe {
    background-color: #f7b7b7;
    color: #660000;
}
.unsubscribe:hover {
    background-color: #f75252;
    color: #600;
}
.subscribe {
    background-color: #ccffcc;
    color: #336600;
}
.subscribe:hover {
    background-color: #80ff80;
    color: #360;
}

.disapproved .state, .unapproved .state {
    font-size: 12px;
    font-weight: normal;
    margin: -2px 5px;
    padding: 4px 8px;
    text-decoration: none;
    text-align: center;
    width: 70px;

    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
}
.unapproved .state {
    background-color: #333;
    color: #fff;
}
.disapproved .state {
    background-color: #cc0000;
    color: #fff;
}

.disapproved h3 a.comic-link {
    background-image: url('/static/images/disapproved-background.png');
}
.unapproved h3 a.comic-link {
    background: #999;
}

/*******************************************************************************
 * Tags
 *******/

.tags {
    float: right;
    clear: right;
    margin: 0 10px 0 0;

}
.comic .tag {
    font-size: 10px;
}

.tag {
    float: left;

    background-color: #333;
    color: #fff;
    font-weight: normal;
    text-decoration: none;
    padding: 4px 8px;
    margin: 5px 0 5px 5px;

    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
}
.tag:hover {
    background-color: #f0d04d;
    color: #900;
}

.tags-column .row {
    clear: both;
    overflow: auto;
}
.row span {
    padding: 8px;
    display: block;
}


.filter {
    background-color: #ff9933;
    color: #000;

    margin: 10px 10px 10px 0;
    padding: 10px;

    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
}

/*******************************************************************************
 * Pagination
 *************/

.pages {
    margin: 10px 0;
    padding: 0;
    overflow: auto;
}
.pages li {
    display: inline;
}
.pages a {
    background: #aa3c3c;
    color: #fff;
    padding: 2px;
    text-decoration: none;
    text-align: center;
    border: 1px solid #ffcc00;
    border-left-width: 0;
    width: 25px;
    float: left;
}
.pages a:hover {
    background: #aa1414;
}
.pages a.current {
    background: #aa1414;
}
.pages li:first-child a {
    border-left-width: 1px;
}

/*******************************************************************************
 * Viewer
 *********/

.search {
    overflow: auto;
    margin: 10px 0;
}

.search input {
    float: left;
    width: 160px;;
    margin: 2px 6px 2px 0;
}
.search .submit {
    width: 60px;
    margin: 0;
}

/*******************************************************************************
 * Viewer
 *********/

.viewer {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    height: 59px;
    padding: 0;
    margin: 0;
    border-bottom: 1px solid #000;
}
.viewer a img {
    vertical-align: middle;
}

.comic-frame {
    display: block;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    height: 500px;
    border: 0;
}
.bar {
    margin: 0 auto;
    padding: 2px 0;
    width: 960px;
}
.viewer form {
    display: inline;
    margin: 2px 10px;
}
.viewer select {
    width: 160px;
}
.viewer .submit, .viewer .button {
    width: 60px;
    margin-left: 0;
}
.viewer .subscribe, .viewer .unsubscribe {
    float: right;
}