body{
    font-family: Georgia, verdana;
    font-size: 14px;
    text-align: center;
    padding: 0;
    margin: 0;
    border: 0;
}


#wrapper{
    width: 1000px;
    text-align: left;
    margin-left: auto;
    margin-right: auto;
    position: relative;   
}

#wrapper-table{
    border-collapse: collapse;    
}

fieldset{
    display: none;
}

#header{
    height: 164px;    
    width: 829px;
    background-image: url(../img/header.png);
    background-position: 30px 0px;
    background-repeat: no-repeat;
    vertical-align: top;
}


    #logo-img{
        position: absolute;
        left: 120px;
        top: 10px;
        width: 150px;
        height: 150px;        
    }

    #logo-name{
        position: absolute;
        left: 340px;
        top: 70px;
        width: 340px;
        height: 80px;
    }
    
    #link-home{
        position: absolute;
        top: 0;
        right: 0;
        width: 670px;
        height: 150px;
    }
    
    #header a:hover{
        text-decoration: none;
    }
    
    
 
    
#submenu{
    padding: 5px;
    padding-left: 15px;
    padding-right: 10px;
    width: 608px;    
    list-style-type: none;
    background-color: #f9f9f9;
    background-image: url(../img/submenu-bg.png);
    background-repeat:repeat-x;            
    font-size: 15px;
    font-family: sylfaen;   
    border-bottom: solid 2px #87ccf2;
    
    position: relative;
    left: -19px;
    top: -9px;   
    
    margin: 0;
    margin-right: -40px; 
}

    #submenu li{
        line-height: 20px;
        display: inline;
        padding: 2px
                
    }
    
    #submenu li.active a{
        color: #aaa;        
    }
        
    #submenu a{
        color: black;
    }
    
    #submenu a:hover{
        color: #9f1c24;
    }

#right-sidebar{
    width: 150px;
    min-height: 500px;
    border-left: solid 1px #ccc;
    padding: 10px;
    padding-top: 0;
    padding-left: 10px;
    padding-right: 10px;
    vertical-align: top;
}
    .block-header{
        width: 140px;
        height: 25px;
        line-height: 25px;
        padding: 0px;
        margin: 0;
        margin-top: 10px;
        background-image: url(../img/block-bg.jpg);
        text-align: center;                
        font-weight: bold;
        font-size: 11px;
        font-family: arial;
    }
    .block{
        width: 130px;
        font-size: 11px;
        font-family: arial;
        border: solid 1px;
        padding: 5px;
        margin: 0;
        margin-bottom: 10px;        
        background-color: #f7f7f7;
        border: solid 1px #fab047;
        border-top: none;

        
    }
    
    .block td{
        text-align: right;
        vertical-align: middle;
        padding: 1px;
    }
    
    .block a{
        text-decoration: none;        
    }
    
    .block a:hover{
        text-decoration: underline;
    }
    
    #logged-in{
        font-size: 12px;
    }
        
#left-sidebar{
    vertical-align: top;
    padding: 10px; 
    padding-top: 0;
    width: 145px !important;   
}

    #main-menu{
        list-style-type: none;
        padding-left: 0;
        margin-left: 0;
    }
    
    #main-menu li{
        font-size: 12px;
        font-family: arial;
        font-weight: bold;
        text-align: center;
        padding-top: 5px;
        padding-bottom: 5px;
        margin-bottom: 2px;
        background-image: url(../img/main-menu-li.jpg);
        background-repeat: no-repeat;
        width: 145px;
        height: 24px;
    }
    
    #main-menu li.active a{
        color: #777;
    }

#content{
    vertical-align: top;
    width: 600px;
    background-image: url(../img/uzor.jpg);
    background-repeat: repeat-y;
    padding-left: 50px;
    padding-bottom: 20px;
    padding-top: 0px;
    padding-right: 10px;
}
    


#footer{
    zoom: 1; /*IE bugfix */
    clear: both;
    border-top: solid 1px #eee;
    font-size: 12px;
    color: #000;
    background-color: #efefef;
    background-image: url(../img/footer.jpg);
    text-align: center;
}
    #footer-content{        	
        width: 1000px;
        text-align: left;
        position: relative;
        margin-left: auto;
        margin-right: auto;
        height: 70px;
        
    }
    
        #copyright{
            float: right;
            margin-top: 30px;
            text-align: center;                        
            width: 600px;
        }
        
        #copyright a{
            color: #000;
        }
        
        
        #sitedeveloper{
            font-size: 9px;
            color: #777;
        }
        
        #counters{
            float: right;
            padding: 10px;
            padding-top: 30px;
        }
    
/* End Layout */   
    
#flashMessage, #authMessage{
    text-align: center;
    color: #c00;
    padding: 10px;
}    
    
.error-message{
	color: red;
	font-weight: normal;
}

.error input{
	background-color: #fcc;
	
}

a{
	color: #9f1c24;
	text-decoration: none;
}

a img{
    border: 0;
}

a:hover img{
    border: 0;
}

a:hover{
	color: #9f1c24;
	text-decoration: underline;
}

h1{
    font-family: sylfaen;
    font-size: 22px;
    font-weight: normal;
    text-align: center; 
}

h2, .h2{
    font-family: sylfaen;
    font-size: 18px;
    font-weight: bold;
    text-align: center; 
}

.h2{
    font-family: sylfaen;
    margin-bottom: 5px;
    text-align: left;
    display: block; 
}

h3{
    font-family: sylfaen;
    text-align: center;
}

table.simple{
	
}

table.simple .label{
	font-weight: bold;
}


table.simple td{
	padding: 5px;
	padding-left: 25px;
	padding-right: 25px;
	border-top: solid 1px #ccc;
}

#captcha{
	padding: 5px;
}

/* forms */

form table td{
	padding: 5px;
}

.notice{
	color: #39f;
	font-weight: normal;
}

.star{
	color: #c10306;	
}

.little-font{
    font-size: 10px;
}

.submit{
	text-align: center;
	padding: 7px;
}

/* end forms */
    
.entry{
    clear: both;
    margin-bottom: 20px;
    text-align: justify;
}

.entry p{
    margin: 0;    
}

.columns{
    width: 100%;
    clear: both;
}

.column{
    padding: 5px;
    width:50%;
    /* border: solid 1px #ddd; */
    text-align: justify;
}

.column img
{
    width: 100px;
}

.entry img, .column img{
    padding: 5px;
}

#abc-table{
    width: 100%;
}

#abc-table td{
    width:  40%;
    vertical-align: top;
}

.abc{
    list-style-type: disc; 
    margin: 0;
    margin-left: 20px;
    margin-bottom: 20px; 
    padding: 0;    
}

.abc li{
    padding: 3px;
}

.letter{
    font-size: 28px;
    font-weight: bold;
    margin-left: 30px;
    color: #68d0f6;
}

.breadcrumbs{
    display: inline;
    padding: 5px;
    margin: 0;
    font-size: 11px;
    font-family: arial;
    color: #777;
}

.breadcrumbs li{
    display: inline;
    list-style: none; 
}

.read-more{
    display: block;
    text-align: center;
    margin: 5px;
}

.photo-categories-list{
    list-style-type: none;
    margin: 0;
    padding: 0;
    width: 50%;
}

.photo-categories-list li{
    border-bottom: solid 1px #ccc;    
    padding: 5px;
}

form{
    display: table;
}

hr{
    border: 0;
    border-top: solid 1px #777;
}

#photo-album{
    
}

#photo-album td
{
    vertical-align: middle;
    text-align: center;
}

#photo-album img{
    border: solid 1px #777;
}

#prev-next{
    text-align: center;
}

#photo{
    text-align: center;
    margin-top: 10px;
    margin-bottom: 10px;
}

#photo img{
    border: solid 1px #777;
}

#photo #toolbar{
    padding: 5px;
}

#photo #toolbar img{
    border: 0;
}

#photo-desc{
    margin-bottom: 10px;
}

.photo-album{
    padding: 5px;
    border: solid 1px #ccc;
    margin-bottom: 10px;
}

.photo-album .cover{
    float: left;
    margin-right: 10px;
}

.photo-album .info{    
    
}

.photo-album .toolbar{
    float: right;
}

.photo-album .datetime{
    font-size:  10px;
    color: #777;
}

#best-photos{
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
    margin-bottom: 10px;
    
}

#best-photos td{
    text-align: center;
    vertical-align: middle;
    padding: 10px;
    padding-bottom: 20px;
}

#best-photos img{
    border: solid 1px #777;
}

#random-photos{
    text-align: center;
}

#random-photos img{
    margin-top: 5px;
    margin-bottom: 5px;
    border: solid 1px #777;
}


#photo-album-desc{
    padding-bottom: 10px;
}

#my-posts{
    border-collapse: collapse;
    width: 100%;
}

#my-posts td{
    border-top: solid 1px #ccc;
    padding: 5px;
    vertical-align: middle;
    width: 30px;
}

#my-posts td:first-child{
    width: auto !important;
    padding-right: 30px;
} 

.image-list td{
    vertical-align: middle !important;
}

#pages-nav{
    border-top: solid 1px #ccc;
    margin-top: 30px;
    padding-top: 10px;
    text-align: center;
}

.comment{
    margin: 10px;
    border-bottom: solid 1px #ccc;    
    font-family: arial;
    font-size: 12px; 
}

.comment .guest{
	color: #999;
}

.comment .avatar{
    float: left;
    padding-bottom: 10px;
}

.comment .nickname{
    padding: 10px;
    padding-left: 70px;
    padding-top: 0px;
}

.comment .datetime{    
    font-size:  10px;
    color: #777;
}

.comment .toolbar{
    float: right;
}

.comment .content{    
    padding: 5px;
    padding-left: 0;
}

#comments-nav{
    text-align: center;
}

.post-preview .content{
    text-align: justify;
}
.post-preview .content img{
    height: 100px;
    padding-left: 5px;
    padding-right: 5px;
}

.post-entry{
	padding-top: 15px;
	padding-bottom: 15px;
}

.post-entry .avatar{
	padding-top: 3px;
    float: left;
}

.post-entry .nickname{
    float: left;
    padding:  5px;
    padding-left: 10px;
}
.post-entry h2.link{	
	padding: 0px;
	padding-left: 10px;
	margin: 3px;
	margin-top: 0;
	
	text-align: left;
}

.post-entry .datetime{
    font-size:  10px;
    color: #777;
}

.post-entry .toolbar{
    float: right;
    padding: 5px;
}

.post-entry .content{
    padding: 5px;
    padding-left: 0;
    clear:  both;
}

.post-entry .read-more{
    text-align: right;
}

.post-entry .content img{
    padding: 10px; 
}

.talk h2{    
    text-align: left;
    background-color: #f7f7f7; 
    height: 60px;
    padding-left: 10px;
}

.talk .avatar{
    float: right;    
}

.talk .avatar{
    padding: 0px;
}


.talk .nickname{
    float: right;
    clear: right;
}

.talk .datetime{
    float: right;
    clear: right;
}

.talk .toolbar{
    float: left;
    padding: 0;
    padding-left: 10px;
    
}

.talk .content{
    padding-top: 5px;
}


.talk *{
    /* border: solid 1px;*/
}

.talk .content img{
    padding: 10px; 
}


.highlight{
    background-color: yellow;
    font-weight: bold;
}


.vote_plus{
    color: #1e82c0;
}

.vote_minus{
    color: #9f1c24;
}

.banner{
    text-align: center;
    padding-top:  10px;
    padding-bottom:  10px;
}

.banner img, .banner img:hover{
    border: solid 1px #555;
}

.survey{
    background-color: #f5f5f5;
    padding: 5px;
}
.survey input{
    padding: 3px;
}

.survey .percents{
    height: 7px;
    background-color: #e47b4b;
    border: solid 1px #555;
    margin-top: 2px;
}

.survey-archive{
    margin-left: 20px;
    padding-left: 20px;
}

.survey-archive li{
    padding: 5px;
}


.node-links{
    background-color: #f7f7f7;
    margin: 0;
    padding: 5px;
    padding-left: 25px;
    list-style-type: circle;
}

.node-links li{
    padding: 2px;
}

.mainpage-block{
	width: 280px;
    position: relative;
    left: -15px;
	margin-left: 20px;
	float: left;
	text-align: justify;
	margin-bottom: 10px;
    font-size: 12px;
}

.mainpage-block .title{
    font-family: sylfaen;
    font-size:16px; 
    line-height: 14px;
}

.mainpage-block .path{
	color: #aaa;
	font-weight: bold;
	font-size: 11px;
    font-family: arial;
}

.mainpage-block .path a{
	color: #aaa;
}

.mainpage-block .title{
	font-weight: bold;
	margin-bottom: 2px;
}

.mainpage-block img{
	width: 80px;
	padding-left: 5px;
    padding-right: 5px;
    float: left;
}

.mainpage-block object{
    width: 280px !important;
    height: auto !important;
}

.mainpage-block .datetime{
    /*line-height: 7px;*/
}

.mainpage-block .content{
    border-top: solid 2px #68d0f6;
    padding-top: 5px;
    margin-top: 0px;
}

#new-posts{	
	/*width: 250px;  ширина в коде*/
	float: left;
    font-size: 12px;
    margin-left: 5px;
	
}

#new-posts-block{
    font-size: 12px;
}

#new-posts .new-post{
	padding-bottom: 10px;
}

.datetime{
    font-size:  10px;
    color: #777;
}

#new-comments{
	/*width: 250px;  ширина в коде*/ 
	padding-left: 20px;
	float: left;
    
}

#new-comments-block{
    font-size: 12px;
}

#new-comments .new-comment{
	padding-bottom: 10px;
}

#talks-comments{
    float: right;
    padding-right: 15px;
}

#talks-comments #talks-comments-block{
    font-size: 12px;
}

#talks-comments .new-comment{
	padding-bottom: 10px;
}


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

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

ul.sitemap{
 
}

ul.sitemap li.root{
    margin-bottom: 10px;
}

.celeb-item{
    
}

.celeb-date{    
    margin-top: 5px;
}

a.button, .ani_button {
    
    border: 0;
    background-image: url(../img/button-bg.png);
    display: inline-block;
    min-width: 90px;    
    
    text-align: center;    
    
    height: 25px;
    line-height: 25px;    
    padding-left: 15px;
    padding-right: 15px;
    
    color: #333;
    font-family: sylfaen;
    font-weight: normal;
    font-size: 15px;
}

a.button:hover, .ani_button:hover{
    color: #9f1c24;
    /* background-color: #ddd;*/ 
    text-decoration: none;
}

input.ani_button{
    line-height: 14px;
    min-width: auto !important;
    width: auto !important;
}

.search_button{
    border: 0;
    background-image: url(../img/search-button-bg.jpg);
    height: 22px;
    width: 30px;
}


#office{
    font-size: 16px; 
    font-family: arial; 
    font-weight: bold;
}

#office .numering{
    color: #68d0f6;
    padding-right: 5px;
}

#user_profile{
    width: 100%;
}

#user_profile td{
    vertical-align: top;
}
