body {
    background-image:url('images/main_bg_tost.jpg');
    background-repeat:no-repeat;
    background-color:black ;
    padding:0px 0px 0px 0px;
    margin:0px 0px 0px 0px;
    font-family: Calibri, Arial, sans-serif;
    background-position: 50% 0%;
    z-index:1;
    color: #eeeeee;
}
h3{
    margin:5px 0px 20px 0px;
}
a{
    color:#fbca91;
    }
a:hover {
    color:#eeeeee;
    cursor:pointer;
    }
a:active {
    color:#eeeeee;
    }
img{
    border:none;
}
#headlogo {
    height: 166px;
    margin-left: auto;
    margin-right: auto;
    width:814px;
}
#headlogo a#logo {
    padding: 32px 0px 0px 0px;
    margin-left: 300px;
    display: block;
    width: 190px;
    height: 100px;
}
#headlogo #eelangs {
    float: left;
    padding: 20px 0px 0px 20px;
}
#headlogo #eelangs a {
    padding: 0px 10px 0px 0px;
    font-size: 11px;
    color: #783728;
}
#headlogo #eelangs a.selected,#headlogo #eelangs a:hover {
    color: #ab7151;
}
#header_border_left{
    background-image:url('images/header_rounds_left.png');
    float:left;
    width:20px;
    height:131px;
}
#header_border_right{
    background-image:url('images/header_rounds_right.png');
    background-repeat:no-repeat;
    margin:0px 0px 0px 794px;
    width:20px;
    height:131px;
}
#header{
    height:121px;
    width:814px;
}

#header_main{
    background-image:url('images/header_bg.jpg');
    float:left;
    width:774px;
    height:127px;
}
#header_main ul, #header_main .sub2 ul {
    margin:0px 0px 0px 0px;
    padding: 0px 0px 0px 0px;
}
#header_main li {
    float:left;
    width:224px;
    list-style-type:none;
    margin:24px 0px 0px 34px;
}
#header_main a {
    font-size:28px;
    font-style:normal;
}
#header_main .sub2 a {
    font-size:14px;
}
#header_main .sub2 {
    display:none;
    float:left;
    width:200px;
    background-color:#170101;
    z-index:20;
    position:relative;
}

#header_main .sub2 li  {
    margin:0px 0px 0px 5px;
}
#header_main .select :hover .sub2{
    display:block;
    cursor:pointer;
}
#main{
    margin-top:0px;
    margin-left: auto;
    margin-right: auto;
    width:814px;
}
#center_left_border {
    background-image:url('images/center_grad_left.png');
    background-repeat:repeat-y;
    float:left;
    margin:0px 0px 0px 11px;
}
#center_right_border {
    background-image:url('images/center_grad_right.png');
    background-repeat:repeat-y;
    margin:0px 0px 0px 11px;
}
#center {
    background-image:url('images/center_loza_border.png');
    background-repeat:repeat-y;
    margin:0px 0px 0px 6px;
    z-index:10;
}
#content{
    background-image:url('images/center_grad.png');
    margin:10px 17px -5px 11px;
    padding:10px 0px 0px 0px;
    width:780px;
    z-index:1;
}
h1{
    margin:0px 0px 19px 32px;
    font-size:24px;
}
#description {
    font:14px;
    margin:0px 32px 0px 32px;
    padding:0px 0px 32px 0px;

}
.prevnext .prevlink {
    float:left;
    margin:0px 0px 0px 90px;
}
.prevnext .nextlink {
    float:right;
    margin:0px 90px 0px 0px;
}
.smallitemlist .itemlist li{
 float:left;
 list-style-type:none;
 padding:0px 0px 50px 0px;
 margin:0px 3px 0px 3px;
}

#mainphoto, .smallitemlist{
    text-align:center;
}
#content .itemlist .themesmall {
    background-repeat:no-repeat;
    background-position:50% 50%;
    display:block;
    width:200px;
    float:left;
    height:200px;
    background-color: #373535;
}

#content .photolist li {
    float:left;
    height:200px;
    width:200px;
    padding:0px 0px 10px 0px;
    list-style-type:none;
    margin:0px 10px 10px 0px;
}
#content .itemlist a{
    width:200px;
    height:200px;
    display:block;
}

#content .itemlist .title {
    display:none;
}
#photogallerylist {
    text-align:center;
}
#photogallerylist h1, .photolist .itemlist .title {
    display:none;
}
#photogallerylist ul{
    margin:0px 0px 0px 0px;
/*    margin:0px auto 0px auto;
    width:630px;
*/}
#photogallerylist li {
    float:left;
    margin:0px 10px 0px 0px;
    list-style-type:none;
    width: 200px;
    height: 250px;
}
#photogallerylist .categorylist .themesmall {
    width:200px;
    height:200px;
    background-repeat:no-repeat;
    background-position:50% 50%;
    display:block;
}

#photogallerylist .categorylist ul{
    padding:38px 0px 0px 87px;
    margin:0px 0px 0px 0px;
}
.categorylist ul li {
    width: 200px;
    height: 270px !important;
    float: left;
}
.categorylist ul li a, .itemlist ul li a {
    display: block;
    width: 200px;
    height: 250px;
}
.categorylist ul li a .ramka, .itemlist ul li a .ramka {
    background-repeat:no-repeat;
    background-position:50% 50%;
    width:200px;
    height:200px;
    display:block;
    background-image:url('images/ramkaphoto.png');
}
.categorylist ul li a .ramkaover, .itemlist ul li a .ramkaover {
    background-image:url('images/ramkaphoto_over.png');
}

.itemlist ul{
    width:700px;
    margin:0px 0px 0px 0px;
    padding:38px 0px 10px 80px;
}
.pages {
    clear:both;
    text-align:center;
    padding:0px 0px 34px 0px;
    margin:0px auto 0px auto;
}
.pages a {
    border:1px solid #251513;
    margin:0px 5px 0px 0px;
    padding:5px 8px 5px 8px;
}
.pages a.selected {
    background-color:#251513;
}
#footer{
    background-image:url('images/footer.png');
    background-repeat:no-repeat;
    min-height:24px;
    padding-bottom:50px;
}
#footer .horlinks {
    padding:42px 0px 0px 0px;
    float:left;
    clear:left;
    margin:0px 0px 0px 44px;
}
#footer .horlinks a {
    padding:0px 7px 0px 0px;
    font-size:12px;
 }
#footer .kleynod {
    font-size:10px;
    width:150px;
    font-family: Arial;
    color: gray;
    display: block;
    margin: 0px 0px 0px -30px;
}

#footer_centr {
    margin:0px auto;
    width:80px;
    padding:20px 0px 0px 0px;
    clear:both
}
#footer_asign{
    margin:42px 0px 0px 0px;
    float:right;
    font-family: Arial;
    font-size:9px;
}
#footer_asign #ee {
    color:#669900;
    float:right;
}
#footer_asign #asign{
    color:#f49c25;
    float:right;
    margin:0px 42px 0px 25px;
}
.path {
    font-size: 11px;
    padding: 5px;
    text-align: right;
}
