/* ----------------------------------------------------------------------------------------------------------

    This website template was downloaded from http://www.nuviotemplates.com - visit us for more templates

    Structure:
    display; position; float; z-index; overflow; width; height; margin; padding; border; background; align; font;

    Content:
    
        1) HTML tags, reset
        2) Universal styles (display, float, margin, text-align...)
        3) Generally HTML styles (table, ul, dl...)
        4) Layout
        5) Page: Homepage
        
---------------------------------------------------------------------------------------------------------- */

/* ----------------------------------------------------------------------------------------------------------
1) HTML tags, reset
---------------------------------------------------------------------------------------------------------- */

* {margin:0; padding:0;}
body, div, span, p, a, img, ul, ol, li, caption, table, thead, tbody, tfoot, tr, th, td, form, fieldset, legend, label, dl, dt, dd, blockquote, applet, object, h1, h2, h3, h4, h5 {border:0;}
body { font:0.8em/1.5 arial, sans-serif; background-image: url(../design/bg13.jpg); background-repeat: repeat; background-attachment: fixed; background-position: 0 0; }

h1, h2, h3, h4, h5, h6 {margin:15px 0 10px 0; font-family:"arial",sans-serif;}

p, table, ul, ol, dl, fieldset {margin:15px 0;}

table {border-collapse:collapse; border-spacing:0; font-size:100%;}
th {text-align:center; font-weight:bold;}
th, td {padding:3px 7px;}

ul, ol {margin-left:30px;}
ul ul, ol ol {margin:0; margin-left:20px;}
ol {list-style-type:decimal;}
li {display:list-item;}

dt {font-weight:bold;}
dd {margin-left:30px;}

fieldset {position:relative; padding:10px;}
legend {position:absolute; top:-1em; margin:0; padding:5px 10px; font-size:100%; font-weight:bold;}

/* ----------------------------------------------------------------------------------------------------------
2) Universal styles (display, float, margin, text-align...)
---------------------------------------------------------------------------------------------------------- */

.box {min-height:1px;}
.box:after {display:block; visibility:hidden; clear:both; line-height:0; font-size:0; content:".";}

.relative {position:relative;}

.clear {clear:both;}

.f-left {float:left !important;} img.f-left {float:left; margin-right:10px;}
.f-right {float:right !important;} img.f-right {float:right; margin-left:10px;}

.t-left {text-align:left !important;}
.t-center {text-align:center !important;}
.t-right {text-align:right !important;}
.t-justify {text-align:justify !important;}

.va-top {vertical-align:top;}
.va-middle {vertical-align:middle;}
.va-bottom {vertical-align:bottom;}

.nom {margin:0 !important;}
.nomt {margin-top:0 !important;}
.nomb {margin-bottom:0 !important;}

.noscreen {display:none;}

    .bigger {font-size:110%;}
    .smaller {font-size:85%;}

/* ----------------------------------------------------------------------------------------------------------
3) Generally HTML styles (table, ul, dl...)
---------------------------------------------------------------------------------------------------------- */

/* ----------------------------------------------------------------------------------------------------------
4) Layout
---------------------------------------------------------------------------------------------------------- */

#main { background-repeat: repeat-y; width:960px; height: auto; margin:0 auto; border: solid 1px #292113; }

    #header { background-image: url(../design/header.jpg); background-repeat: repeat; background-position: 0 0; position:relative; width:960px; height:170px; padding-top:30px; overflow:hidden; border-bottom: 1px solid #292113; border-top-color: #292113; border-right-color: #292113; border-left-color: #292113; }
    
        #logo { margin:0; font-size:240%; background-repeat: repeat-y; }
        #logo a {text-decoration:none;}
        
        #rss { position:absolute; top:0; left:700px; height:70px; padding:30px 0 0 91px; font-weight:bold; background-color: transparent; background-repeat: no-repeat; background-attachment: scroll; background-position: 0 0; }
        #rss a:hover {text-decoration:none;}

#cols { background-color: transparent; background-repeat: no-repeat; background-attachment: scroll; background-position: 700px 100%; }

    #content { float:left; width:670px; padding:20px; overflow:hidden; border-right: 1px dotted #292113; border-top-color: #292113; border-bottom-color: #292113; border-left-color: #292113; }

        #content #title { margin:0; padding:20px 15px 10px; font-size:200%; background-color: #000; background-repeat: repeat-x; background-attachment: scroll; background-position: 0 100%; letter-spacing:-1px; }

    #aside { background-color: transparent; background-repeat: no-repeat; background-attachment: scroll; background-position: 0 0; float:right; width:220px; height: 100%; padding:60px 10px 20px; overflow:hidden; border-top-color: #292113; border-right-color: #292113; border-bottom-color: #292113; border-left-color: #292113; border-left-width: 1px; }

        #aside h4 {font-size:100%;}

        #about {margin-bottom:20px; padding:10px; background:url("../design/about.gif") 100% 100% no-repeat;}

        .nav {margin:0; list-style:none;}
        .nav li {display:inline;}
        .nav li a {display:block; padding:2px 0 2px 22px; background:url("../design/nav-link.gif") 0 5px no-repeat; text-decoration:none;}
        .nav li.nav-active a {background:url("../design/nav-active.gif") 0 4px no-repeat; font-weight:bold;}

#footer { background-color: transparent; background-repeat: repeat-x; background-attachment: scroll; background-position: 0 0; width: auto; clear:both; padding:22px 15px 15px; border-color: #292113; border-width: 1px; }

    #footer p {margin:0;}
    #footer a:hover {text-decoration:none;}

/* ----------------------------------------------------------------------------------------------------------
5) Page: Homepage
---------------------------------------------------------------------------------------------------------- */

#perex {padding:15px; background:url("../design/perex.gif") 100% 100% no-repeat;}
#perex p {margin:0;}

.ico-comment {padding-left:15px; background:url("../design/ico-comment.gif") 0 1px no-repeat;}

.cols5050 {margin:15px 0;}
    .cols5050 .col {float:left; width:335px;}
    .cols5050 .col dl.list, .cols5050 .col dl.list dd {margin:0;}
    .cols5050 .col dl.list {background:url(../design/dl-list.gif) no-repeat 5px 0;}
    .cols5050 .col dl.list dt { background-position: 0 0; padding-left:20px; }
    .cols5050 .col dl.list dd { background-color: #f0eded; background-repeat: no-repeat; background-attachment: scroll; background-position: 100% 0; margin-left:20px; padding:10px 10px 5px 8px; border: dotted 1px #cdc5b6; }

#calendar {width:230px; margin:20px 0; font-size:85%;}
#calendar th {padding:4px 1px;}
#calendar td {text-align:center;}
#calendar td#calendar-active {font-weight:bold;}

.button {padding:5px 8px; background:url("../design/button.gif") 0 0 repeat-x; text-decoration:none; font-weight:bold;}
