/* FONTS */
@font-face {
    font-family: "04b_03";
    src: url('../fonts/04b_03.ttf');
}

/* ELEMENTS */
html, body {
    height: 100%;
    font-family: verdana, helvetica, sans;
    color: #111;
    font-size: 90%;
    line-height: 150%;
    background: #111;
}

a:hover {
    text-shadow: 0 1px 0 #ddd;
}

h1 {
    font-size: 36px;
    line-height: 40px;
    font-weight: bold;
    margin: 10px 0 30px 0;
}

h2 {
    font-size: 24px;
    line-height: 25px;
    font-weight: bold;
    margin: 0 0 20px 0;
}

h3 {
    font-size: 18px;
    line-height: 15px;
    font-weight: bold;
    margin: 0 0 10px 0;
}

h1, h2, h3 {
    font-family: "04b_03", calibri, verdana, sans;
}

p {
    margin: 0 0 20px 0;
}

ul, ol {
    margin: 0 0 20px 40px;
}

ul {
    list-style-type: square;
}

ol {
    list-style-type: decimal;
}

strong {
    font-weight: bold;
}

em {
    font-style: italic;
}

dt {
    font-weight: bold;
}

dd {
    margin-bottom: 20px;
}

code {
    display: block;
    white-space: pre;
    overflow: auto;
    margin: 20px 0;
    padding: 10px;
    border: 1px solid #6784A1;
    background: #F0F0E4;
    font-size: .9em;
}

label {
    display: block;
    margin-top: 10px;
}

input[type=text],
textarea {
    border: 3px solid #000;
    font-family: consolas, "Courier New", monaco, monospace;
    padding: 2px;
}

textarea {
    width: 100%;
    font-size: 90%;
    display: block;
}

input[type=submit],
input[type=button] {
    margin: 4px;
    font-size: 130%;
    cursor: pointer;
}

/* TEMPLATE */
#outer {
    height: 100%;
    background: #111;
    border-top: 4px solid #111;
}

#inner {
    background: #222 url('../images/template/bg_dither.png') repeat-x center bottom fixed;
}

#header {
    margin: 0 auto;
    width: 852px;
    height: 92px;
    background: #0ef url('../images/template/bg_header.png') no-repeat center top;
}

#header img {
    margin-top: 8px;
    padding-left: 300px;
}

#container {
    margin: 0 auto;
    width: 852px;
    min-height: 555px;
    background: #0ef url('../images/template/bg_body.png') repeat-y center top;
    position: relative;
}

#content {
    margin: 0 48px;
    background: #fff;
    padding: 24px 0;
}

#sidebar {
    margin: 8px 0 0 0;
    width: 200px;
    float: left;
    background: #fff;
}

#sidebar ul {
    list-style-type: none;
    margin: 0 0 0 15px;
}

.search-form {
    text-align: right;
}

.search-form input[type="text"] {
    font-size: 16px;
    width: 116px;
    height: 32px;
    border: none;
    padding: 0 10px;
    font-family: "04b_03", consolas, "Courier New", monaco, monospace;
    background: url('../images/template/input_text_search.png') no-repeat left top;
}

.search-form input[type="image"] {
    vertical-align: middle;
    margin-bottom: 1px;
}

#nav {
    margin: 10px 32px 0 0;
    line-height: 24px;
    float: right;
    width: 200px;
}

#nav ul {
    padding-left: 10px;
}

#nav li {
    font-family: "04b_03", calibri, verdana, sans;
    font-size: 24px;
    line-height: 1.3em;
}

#nav li a {
    text-decoration: none;
    color: #000;
}

#nav li a:hover {
    text-decoration: none;
}

.document_listing a {
    text-decoration: none;
    color: #000;
}

.document_listing a:hover {
    text-decoration: none;
}

#footer {
    margin: 0 auto;
    width: 852px;
    height: 20px;
    background: #0ef url('../images/template/bg_bottom.png') no-repeat center top;
}

#copyright {
    font-size: 9px;
    text-align: right;
    color: #777;
    margin: 0 auto;
    width: 800px;
}

#copyright a {
    color: #bbb;
}

/** COMMON CLASSES **/
.clear {
    clear: both;
}

p.date {
    color: #777;
    margin: -20px 0 10px 5px;
}

.right {
    float: right;
}

.right img {
    margin: 0 0 32px 32px;
}

.left img {
    margin: 0 32px 32px 0;
}

.shadow img {
    box-shadow: 2px 2px 4px #777;
}

.x2 img{
    zoom:2;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
}

.img-right {
    float: right;
    margin: 0 0 20px 20px;
    box-shadow: 0 0 5px #444;
}

.right-margin {
    float: right;
    margin: 0 0 0 20px;
}

.text-right {
    text-align: right;
}

.text-smaller {
    font-size: .9em;
}

code.inline {
    display: inline;
    margin: 0;
    padding: 0;
    border: 0;
}

.toggle-info {
    width: 75%;
    display: none;
    background: #dde;
    margin: 5px;
    border: 1px solid #dde;
}

/* DOCUMENT LISTINGS */
div.document_listing {
    margin: 0 0 30px 0;
}

div.document_listing h2 {
    margin: 0 0 5px 0;
}

div.document_listing .date {
    color: #777;
    margin: -5px 0 0 0;
    font-size: .8em;
}

/* SEARCH RESULTS */
.sisea-paging {
    margin: 0 0 20px 0;
}

.sisea-result h3 {
    margin: 0 0 4px 0;
}

/* BREADCRUMBS */
ul.B_crumbBox {
    float: right;
    font-size: 80%;
    list-style-type: none;
    margin: 0;
}

ul.B_crumbBox li {
    display: inline;
}

/* TEXT TOOLS */
.text-tools textarea {
    height: 400px;
}

/* HASH MASTER PLUS */
.hash-master-plus textarea.hash {
    height: 50px;
}

.google-ad {
    position: absolute;
    right: 64px;
    top: 400px;
}

/* work list */
ul.work-list {
    margin: 0 0 0 8px;
}

ul.work-list li.main {
    font-size: 2em;
    line-height: 1.5em;
    color: #000;
    margin-top:32px;
}

ul.work-list li.sub {
    font-size: .7em;
    line-height: 1.5em;
    color: #222;
    margin-top:16px;
}

ul.work-list li.item {
    font-size: .7em;
    line-height: 1.5em;
    color: #444;
}

/**/
.field-subject {
    display: none;
}

.note {
    margin: 16px 0;
    padding: 4px;
    background: #f1f1f1;
    border-radius: 5px;
    color: #777;
    font-size: smaller;
}

/** MEDIA **/
@media (max-width: 870px) {
    img {
        max-width: 540px;
    }
    #header {
        width: 640px;
        height: 69px;
        background-size: 640px;
    }
    #header img {
        width: 40px;
        height: 40px;
        margin-top: 14px;
        padding-left: 220px;
    }
    #container {
        width: 640px;
        background-size: 640px;
    }
    #sidebar {
        margin: 16px;
    }
    #footer {
        width: 640px;
        height: 15px;
        background-size: 640px;
    }
    #copyright {
        width: 600px;
    }
    .google-ad {
        position: static;
    }
}

@media (max-width: 656px) {
    h1 {
        font-size: 28px;
        line-height: 28px;
    }
    h2 {
        font-size: 22px;
        line-height: 22px;
    }
    ul {
        margin: 16px 0 16px 16px;
    }
    img {
        max-width: 280px;
    }
    object {
        max-width: 280px;
    }    
    #header {
        width: 320px;
        height: 33px;
        background-size: 320px;
    }
    #header img {
        width: 24px;
        height: 24px;
        margin-top: 3px;
        padding-left: 110px;
    }
    #container {
        width: 320px;
        background-size: 320px;
    }
    #content {
        width: 290px;
        margin: 0 20px 0 16px;
    }
    #sidebar {
        margin: 16px;
    }
    #footer {
        width: 320px;
        height: 7px;
        background-size: 320px;
    }
    #copyright {
        width: 300px;
        line-height: 12px;
    }
    div.fps-container {
        width: 260px;
        padding: 10px;
    }
    .google-ad {
        position: static;
    }
    #nav {
        margin: 0;
        float: none;
        width: auto;
    }
    #nav ul {
        margin: 0;
        text-align: right;
        padding: 8px 20px 0 0;
    }
    #nav li {
        font-size: 18px;
        line-height: 1em;
        display: inline-block;
        margin: 0 10px 0 0;
    }
}

