/* general */ /* {{{ */
#website {
    width: 1000px; /* website width */
    background-color: white;
    margin: 0px auto 0px auto;
}
#header { padding: 1em; }
#content {
    float: left; width: 60%;
    margin: 2em 0em 2em 3%;
}
#aside {
    float: right; width: 30%;
    margin: 2em 3% 2em 0em;
}
#footer {
    clear: both;
    text-align: center;
    border-top: 1px solid #ddd;
    margin: 0em 2em 0em 2em;
    padding: 1em 0em 1em 0em;
    font-size: .85em;
}
/*}}}*/

/* special */ /*{{{*/
p.h-note {
    position: relative;
    top: -0.3em;
    font-style: italic;
}
.slideshow {
    text-align: center;
    margin: 1em auto 1em auto;
}
/*}}}*/
 
/* shapka */ /*{{{*/
#catalogue-link {
    height: 43px;
    background-color: black;
    text-align: right;
}

#catalogue-link a img {
    border-style: none;
}


#shapka {
    padding-top: 1em;
}

#logo {
    float: left;
    position: relative;
    top: 3em;
    left: 2em;
    z-index: 10;
}

#logo a {
    text-decoration: none;
}

#search-box {
    font-size: 85%;
    float: right;
    position: relative;
    top: 4em;
    left: -1em;
}
#search-box input { font-size: 90%; }
#search-box input#q { width: 18em; }

#clocks {
    margin: auto;
    text-align: center;
    position: relative;
    top: -10px;
    overflow: hidden;
    width: 350px;
    height: 106px;
}
/*}}}*/

/* navigation */ /*{{{*/
#navigation {
    position: relative;
    z-index: 20;
    clear: both; 
    background-color: rgb(209, 209, 209);
    margin-top: 1em;
    height: 2em; line-height: 1;
}
#navigation ul { margin: 0px; padding: 0px; list-style-type: none; display: block; }
#navigation li {
    margin: 0px;
    width: 15%;
    list-style-type: none;
    display: block; float: left;
    text-align: center;
}
#navigation li a {
    padding: 0.5em 0em 0.5em 0em;
    display: block;
    color: #111;
    text-decoration: none;
}
#navigation li a:hover {
    background-color: #eee;
}
#navigation li.home {
    background: transparent url("../images/icons/home.png") 20px center no-repeat;
    margin-left: 1em;
    padding-left: 20px;
    overflow: hidden;
    height: 2em;
}
#navigation li.home a:hover {
}
/*}}}*/


/* CONTENT */
 
/* tiny */ /*{{{*/
#tiny {
    width: 15em;
    float: right;
    text-align: right;
    line-height: 1;
    margin-top: 0.5em;
}
#tiny div { display: inline; margin-left: 0.7em; }
#tiny img { vertical-align: middle; }
/*}}}*/

/* articles list */ /*{{{*/
#articles-list dl { display: block; clear: both; }
#articles-list dl dd p.author a {
    color: #222;
}

#articles-list dl.featured dt a {
    color: #000;
}
/*}}}*/
 
/* comments */ /*{{{*/
#comments dd p.datetime {
    font-style: oblique; font-size: 130%; line-height: 1;  color: #999;
    width: 20%;
    float: left;
}
#comments dd span.time { display: block; font-size: 85%; color: #555; }
#comments dd span.year { font-size: 85%; }
#comments dd p {
    float: right;
    width: 70%;
    text-align: justify;
    padding: 0 1em 1px 0;
}
 
#post-comment { clear: both; padding-top: 1em; }
/*}}}*/
 
 /* ui */ /*{{{*/
#content form p {
    clear: both;
}

#content form p label {
    display: inline-block;
    width: 13em;
    border-left: 0.5em solid #eee;
    padding-left: 0.5em;
    vertical-align: top;
    text-align: left;
}

ul.errorlist {
    border: 1px solid #f30;
    background-color: #fea;
    -moz-border-radius: 0.4em;
    padding: 0.2em;
    padding-left: 2em;
    margin: 1.5em 0em 1em 0em;
    width: 35em;
}

ul.errorlist li {
    padding: 0.3em;
}

div.updated {
    padding: 0.2em;
    font-size: 70%;
    margin: 0.1em;
    color: #050;
    background-color: #afb;
    text-transform: uppercase;
}
/*}}}*/

/* icons */ /*{{{*/
#content h1 {
    background: transparent url("../images/icons/bgicon-article.png") top left no-repeat;
    padding-left: 40px;
    margin-bottom: 0em;
    padding-bottom: .9999999em;
}
#content p.h-note { padding-left: 40px; margin-top: -0.5em; }
#author-info h2 {
    background: transparent url("../images/icons/bgicon-author.png") top left no-repeat;
    padding-left: 40px;
}
#author-info p.h-note { padding-left: 40px; }
#shop h2 {
    background: transparent url("../images/icons/bgicon-shop.png") top left no-repeat;
    padding-left: 65px;
    position: relative;
    left: -30px;
    padding-bottom: 0.9em;
    margin-bottom: 0em;
}
#x-calendar h2 {
    background: transparent url("../images/icons/bgicon-calendar.png") top left no-repeat;
    padding-left: 40px;
    padding-bottom: 1.1em;
    margin-bottom: 0em;
}
#comments h2 {
    background: transparent url("../images/icons/bgicon-comments.png") top left no-repeat;
    padding-left: 40px;
    padding-bottom: 1em;
    margin-bottom: 0em;
}
#post-comment h2 {
    background-image: url("../images/icons/bgicon-add-comment.png");
}
/*}}}*/

/* ASIDE */

/* more-from-author */ /*{{{*/
#more-from-author p.more { text-align: center; }
/*}}}*/
 
/* calendar */ /*{{{*/
#calendar { padding-right: 1em; }
#calendar form div {
    width: 70%;
    margin: auto;
}
#calendar p { margin: 0px; }
#calendar label { display: block; }
#id_from_date, #id_to_date { display: block; width: 100%; z-index: 50; position: relative;}
#calendar p.submit-box { width: 100%; text-align: right; padding-top: 0.5em }
/*}}}*/

/* golddep {{{*/

    #golddep table {
        }
        #golddep table thead th {
            display: none;
            }
        #golddep table th {
            padding: 0em;
            font-size: 130%;
            background-color: #bbb;
            padding: 0.2em 0.7em 0.2em 0.7em;
            }
            #golddep table th a {
                color: white;
                }
        #golddep table td {
            padding: 0em;
            padding-bottom: 0.4em;
            font-size: 130%;
            }   
    #golddep p.phone {
        font-size: 200%;
        margin-top: -0.85em;
        margin-bottom: 0.6em;
        text-shadow: #f8ff0c 0 0 0.1em;
        color: #e8af0c;
        }
    #golddep table {
        margin-top: 0em;
        }
/*}}}*/

/* glossary */ /*{{{*/
#glossary form div { width: 70%; margin: auto; padding-right: 1em; }
#glossary #id_title { width: 80%; }
#glossary .submit { width: 15%; }
/*}}}*/

/* plots, ads *//*{{{*/
#plots, #aside .ads {
    margin: 1.5em 0em 1.5em 0em;
    padding: 1em 0em 1em 0em;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    text-align: center;
    background-color: #f9f9f9;
}

#plots span.last {
    display: block;
    margin-top: 1px;
}

#plots .border-fix {
    display: block;
    margin: auto;
    width: 178px;
    background-color: white;
    border:1px solid black;
    text-align: center;
}

#plots em {
    border: 1px solid #ddd;
    border-bottom-style: none;
    -moz-border-radius-topleft: 4px;
    -moz-border-radius-topright: 4px;
    background-color: white;
    padding: 1px 1em 0em 1em;
    font-style: normal;
}

/*}}}*/

/* share */ /*{{{*/
#share ul {
    background: white url("../images/design/articles/network-icons-flaw.png") center bottom no-repeat;
}
/*}}}*/
