/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Stylesheet for UntitledComics! http://uc.greenek.com/
    (c) Paweł Golonko <pgolonko@gmail.com>
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

@import url('reset.css');

body {
    background: #F3F3F3;
    color: #000;
    font: normal .69em Verdana, Tahoma, sans-serif;
}

a {
    color: #810606;
    outline: 0;
}
a:hover { text-decoration: underline !important }

hr { display: none }
strong { font-weight: bold }

/* =page
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

#page {
    background: url('../images/brian-header.png') no-repeat 0 0;
    margin: 0 auto;
    width: 800px;
}

h2, h3, h4, h5, h6 {
    font-family: Georgia, sans-serif;
}

h2 {
    border-bottom: 1px solid #DDD;
    color: #222;
    font-size: 2.18em;
    margin-bottom: 8px;
    padding: 0 10px 3px;
    position: relative;
    text-shadow: 0 1px 0 #FFF;
}

h2 a.strip-permalink {
    color: #000;
    text-decoration: none;
}

h3 {
    font-size: 1.64em;
    margin-bottom: 13px;
}

.avatar {
    background-image: url('../images/avatars.gif');
    background-repeat: no-repeat;
    display: block;
    height: 50px;
    padding: 3px;
    width: 53px;
}

/* -rss
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

h2 a.feed {
    background: url('../images/feed.png') no-repeat 0 0;
    font-size: .50em;
    padding-left: 20px;
    position: absolute;
    right: 10px;
    text-decoration: none;
    top: 7px;
}

/* =header
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

#header {
    height: 160px;
    position: relative;
}

#header h1 {
    left: 0;
    position: absolute;
    top: 34px;
}

    #header h1 a {
        background: url('../images/untitledcomics-trans.png') no-repeat 0 0;
        display: block;
        height: 78px;
        overflow: auto;
        text-indent: -666em;
        width: 249px;
    }

    #header h1 a:hover { background-position: 0 -78px }

#nav {
    height: 55px;
    left: 262px;
    position: absolute;
    top: 48px;
    width: 538px;
}

    #nav li {
        display: inline;
        float: left;
    }

    #nav li a {
        background-image: url('../images/nav.gif');
        background-repeat: no-repeat;
        color: #666;
        display: block;
        float: left;
        font-family: "Trebuchet MS", Tahoma, sans-serif;
        height: 5px;
        padding-top: 49px;
        text-align: center;
        text-decoration: none;
        text-shadow: 0 1px 0 #FFF;
    }
        #nav li a:hover {
            color: #222;
        }

    #nav li#nComics a {
        background-position: 0 0;
        width: 59px;
    }
        #nav li#nComics a:hover { background-position: 0 -55px }

    #nav li#nArchive a {
        background-position: -59px 0;
        width: 94px;
    }
        #nav li#nArchive a:hover { background-position: -59px -55px }

    #nav li#nHistory a {
        background-position: -153px 0;
        width: 60px;
    }
        #nav li#nHistory a:hover { background-position: -153px -55px }

    #nav li#nAuthor a {
        background-position: -212px 0;
        width: 60px;
    }
        #nav li#nAuthor a:hover { background-position: -212px -55px }

    #nav li#nStuff a {
        background-position: -272px 0;
        width: 59px;
    }
        #nav li#nStuff a:hover { background-position: -272px -55px }

    #nav li#nContact a {
        background-position: -330px 0;
        width: 60px;
    }
        #nav li#nContact a:hover { background-position: -330px -55px }

    #nav li#nLinks a {
        background-position: -390px 0;
        width: 68px;
    }
        #nav li#nLinks a:hover { background-position: -390px -55px }

    #nav li#nForum a {
        background-position: -463px 0;
        width: 78px;
    }
        #nav li#nForum a:hover { background-position: -463px -55px }

/* =strip
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

#strip {
    line-height: 0;
    margin-bottom: 8px;
    position: relative;
}

#strip img {
    border: 1px solid #AAA; /*D2D2D2*/
    box-shadow: 1px 1px 1px #DDD;
    -moz-box-shadow: 1px 1px 1px #DDD;
    display: block;
    margin: 0 auto;
}

#manifest {
    color: #333;
    font: italic normal 1.2em Verdana;
    margin-bottom: 10px;
    text-align: center;
}
    #manifest strong {
        color: #111;
    }

    #manifest img {
        border: 1px solid #AAA;
    }

/* -strip navigation
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

#strip-nav {
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 800px;
}

    #strip-nav li {
        display: block;
        height: 100%;
    }

    #strip-nav #strip-prev { float: left }
    #strip-nav #strip-next { float: right }

    #strip-nav a {
        display: block;
        height: 100%;
        position: relative;
        width: 390px;
    }

    #strip-nav a span {
        background-image: url('../images/strip-nav.gif');
        background-repeat: none;
        display: block;
        height: 14px;
        overflow: hidden;
        position: absolute;
        text-indent: -666em;
        top: 48%;
        width: 12px;
    }

    #strip-prev a span {
        background-position: 0 0;
        left: 17px;
    }
        #strip-prev a:hover span { background-position: 0 -14px }

    #strip-next a span {
        background-position: -12px 0;
        right: 17px;
    }
        #strip-next a:hover span { background-position: -12px -14px }

/* -strip meta
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

#strip-meta {
    color: #4A4A4A;
    font-style: italic;
    margin-bottom: 22px;
    padding: 0 35px;
    position: relative;
}

#strip-meta.archive {
    height: 200px;
}

    #strip-meta li {
        display: inline;
        margin: 0 10px;
    }

    #strip-meta li a {
        color: #0F0F0F;
        text-decoration: none;
    }

    #strip-meta li strong {
        color: #0F0F0F;
        font-weight: bold;
    }

    #strip-meta #strip-comments {
        background: url('../images/comments-small.png') no-repeat 0 0;
        padding-left: 19px;
    }

    #strip-meta #strip-index {
        left: 350px;
        position: absolute;
        top: 0;
    }

    #strip-meta #strip-pagination {
        position: absolute;
        right: 25px;
        top: 0;
    }

/* -description
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

#description {
    border-bottom: 1px solid #D8D8D8;
    border-top: 1px solid #D8D8D8;
    color: #353535;
    font: italic normal 1.18em Verdana, Georgia, sans-serif;
    margin: 0 30px 30px;
    overflow: auto;
    padding: 20px 15px 10px;
    text-shadow: 0 1px 0 #FFF;
}

    #description p {
        margin-bottom: 1em;
        text-align: justify;
    }

    #description p.np {
        color: #767676;
        font-size: .77em;
    }

    #description .avatar {
        float: left;
        margin-top: 5px;
    }

    #description .description {
        float: right;
        width: 640px;
    }

    #description a img {
        background: #FFF;
        border: 1px solid #DDD;
        padding: 1px;
    }

    #description a:hover img {
        border-color: #BBB;
    }

#toplista {
    border-left: 1px solid #DDD;
    float: right;
    height: 90px;
    margin: 0 0 0 10px !important;
    padding-left: 10px;
}

#toplista a {
    background: url('../images/toplista.png') no-repeat 0 0;
    display: block;
    height: 43px;
    overflow: hidden;
    text-indent: -666em;
    width: 180px;
}
#toplista a:hover { background-position: 0 -43px }

/* =content
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

#content {
    margin: 30px auto 50px;
    min-height: 400px;
    width: 710px;
}

#content p {
    margin-bottom: 1em;
    text-align: justify;
}

/* -pages
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

#content.pages p.center {
    text-align: center;
}

#content.pages img {
    background: #FFF;
    border: 1px solid #DDD;
    padding: 2px;
}

#content .contact {
    margin-bottom: 40px;
}

/* =comments
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

a.add-comment {
    background: url('../images/comments.png') no-repeat 0 2px;
    padding-left: 22px;
    text-decoration: none;
}

#comments .comment {
    border-bottom: 1px solid #DEDCDC;
    margin-bottom: 12px;
    overflow: auto;
}

#comments .avatar {
    background-position: 0 -112px;
    float: left;
}

#comments .comment-content {
    float: right;
    width: 640px;
}

    #comments .comment-meta {
        color: #888;
        font-size: 1.09em;
        margin-bottom: 4px;
    }
        #comments .comment-author { color: #313131 }
        #comments .comment-meta a {
            color: #888;
            text-decoration: none;
        }
        #comments .comment-meta em { font-style: italic }
        #comments .comment-meta strong { font-weight: bold }

/* -bottom nav
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

.bottom-strip-nav {
    border-bottom: 1px solid #DEDEDE;
    margin-bottom: 20px;
    overflow: auto;
    padding-bottom: 12px;
}

    .bottom-strip-nav .bottom-strip-prev { float: left }
    .bottom-strip-nav .bottom-strip-next { float: right }
    .bottom-strip-nav a { text-decoration: none }

/* =archive
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

#archive {
    line-height: 0;
    margin: 0 0 10px 5px;
    overflow: auto;
}

#archive li {
    float: left;
    margin: 0 10px 10px 0;
}

#archive img {
    background: #FFF;
    border: 1px solid #DDD;
    padding: 1px;
}

#archive img:hover {
    border-color: #AAA;
}

.archive .pagination {
    text-align: center;
}
    .archive .pagination li {
        display: inline;
        margin: 0 10px;
    }

/* -archive nav
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

#archive-nav {
	height: 75px;
	margin-bottom: 2em;
}

#archive-nav li {
	display: block;
	float: left;
	width: 234px;
}

#archive-nav li a {
	background-image: url("../images/archive.gif");
	display: block;
	height: 75px;
	overflow: hidden;
	text-indent: -666em;
	width: 234px;
}

#archive-nav li#archive-uc a { background-position: 0 0 }
	#archive-nav li#archive-uc a:hover { background-position: 0 -75px }
#archive-nav li#archive-fuck a { background-position: -234px 0 }
	#archive-nav li#archive-fuck a:hover { background-position: -234px -75px }
#archive-nav li#archive-uc-old a { background-position: -468px 0 }
	#archive-nav li#archive-uc-old a:hover { background-position: -468px -75px }

/* =links
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

ul.links {
    margin-bottom: 30px;
}

ul.links li {
    border-bottom: 1px solid #DDD;
    margin-bottom: 8px;
    padding-bottom: 8px;
}

ul.links a {
    font-weight: bold;
    text-decoration: none;
}

/* =form
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

form {
    margin-bottom: 10px;
}

fieldset {
    border-top: 1px solid #CCC;
    padding-top: 12px;
}

legend {
    font-weight: bold;
    padding-right: 14px;
}

label {
    cursor: pointer;
}

    .formdiv label {
        float: left;
        padding-top: 4px;
        vertical-align: top;
        width: 140px;
    }

input, textarea {
    margin-bottom: 8px;
    padding: 4px 6px;
    width: 300px;
}

    .inline input[type=checkbox] {
        margin: 0 0 0 10px;
        padding: 0;
        vertical-align: sub;
        width: auto;
    }

.info {
    color: #444;
    font-size: .91em;
    margin-bottom: 1em;
}

.formdiv, .inline {
    border-bottom: 1px solid #DDD;
    margin-bottom: 8px;
}

.inline {
    padding-bottom: 8px;
}

.error {
    background: url('../images/error.png') no-repeat 0 0;
    color: #B81111;
    padding: 0 0 2px 20px;
}
    .error em { font-style: italic }

/* =footer
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

#footer {
    background: #FFF;
    border-top: 1px solid #DDD;
    color: #555;
    padding: 12px 0;
    text-align: center;
}

#footer a {
    color: #444;
}

#footer a:hover {
    color: #222;
}

#footer #copyrights img {
    vertical-align: sub;
}
