html{background: #231F20 url(../img/bg-content.jpg) no-repeat center 250px; min-height:100%}
body{margin:0; padding:0; background:url(../img/bg-head.gif) repeat-x 0 0; font-family: Arial; min-height:100%; color:white}

h1{margin-top:0}
a#logo span,
a#logo{display:block;width:275px; height:163px; position:relative; top:15px; left:1px; overflow: hidden; }
a#logo span{background: url(../img/logo.gif) no-repeat 0 0; position:absolute; top:0; left:0;}
.hid{position:absolute; top:-5000px; left:-5000px}
h1, h2, h3, h4, h5{font-family: 'book Antiqua', Georgia, serif; margin-top:0}

a{color:white}
a:visited{color:white}
a:hover{color:#b20000}
#content a:visited {color:#de6a6a}

#content li{background: url(../img/bg-list-item.gif) no-repeat 0 6px; line-height:1.4em}
#content ul{margin:0 0 10px 0 !important; padding:0 0 0 20px}
#content li{list-style:none; padding:0 0 0 15px}

#head{height:200px; width:980px; margin:0 auto;}

#nav{margin-top:1px}

#subnav ul,
#nav ul{list-style:none; margin:0; padding:0}

#nav ul li,
#subnav ul li{float:left}
#subnav ul li a,
#nav ul li a{color:white; display:block; padding:13px 10px 17px; background: url(../img/bg-nav-item.gif) no-repeat top right}
#nav ul li a:hover,
#nav ul li a.active{background-position:0 0}


#subnav {background:#242021}
#subnav ul li a.active,
#subnav ul li a:hover{background:black}
#subnav ul li a{padding:8px 10px 12px;}
#subnav ul li a{background:none}
#nav-in{width:980px; margin:0 auto;}
#subnav-in{width:980px; margin:0 auto;}

/*

#nav ul,
#nav #subnav ul{width:980px; margin:0 auto;}

.distanc{margin:0 15px; }
#about,
.cnt{margin:0 15px; padding-top:10px}
*/

.foto-hp {border:1px solid white;padding:25px 18px 20px 18px;background: #000000 url(../img/hp-foto-sipka.gif) no-repeat top right;text-align:center;margin:20px 0 10px 0;}
.foto-hp img {width: 515px;border:none;}

.detail-chlapika img{margin-right:10px; margin-bottom:10px; border:1px solid white}

#content,
#sidebar{font-size:90%; margin-bottom:20px; margin-top:20px}

#contmain ul{margin:0}
#sidebar{width:360px; float:right}
#sidebar h3{font-size:140%}
.sidebar-box{background:#020000 url(../img/bg-sidebar-page.gif) repeat-x 0 0; min-height:116px }
.sidebar-box-top{background: url(../img/bg-sidebar-top.gif) no-repeat 0 0; height:16px}
.sidebar-box-bottom{background: url(../img/bg-sidebar-bottom.gif) no-repeat left bottom; height:16px; margin-bottom:12px}


#sidebar ul{padding:0; margin:0; list-style: none}
#sidebar ul li{padding:4px 20px}
#sidebar table{border-collapse: collapse; width:100%}
.sidebar-box-in{padding:4px 20px}

#sidebar table td{padding:4px 6px 4px 20px}
.licha{background:#5a302d;}
.licha td{background:#5a302d;}


a.more{background: url(../img/bg-more.gif) no-repeat right center;padding:0 20px 0 0;}

#main-box{background: url(../img/bg-head.jpg) no-repeat top center; min-height:100%}
#main-box-in{width:980px; margin:0 auto; position:relative}

#contmain{width:590px;float:left; margin:20px 0}
#content{background: #161313 url(../img/bg-content-page.gif) no-repeat 0 0; padding:20px; margin:0;min-height:320px;padding-top:10px;}
#content h1{margin-top:0;}
#content-top{background: url(../img/bg-content-top.gif) no-repeat 0 0;width:590px; height:8px; margin:0}
#content-bottom{background: url(../img/bg-content-bottom.gif) no-repeat left bottom; width:590px; height:8px;  margin:0}


#foot{background: #982116 url(../img/bg-foot.jpg) repeat-x bottom center; min-height:73px}
#foot-in{width:980px; margin:0 auto; padding-top:30px }


.box3{clear:both}
.box3 img.img{float:left; margin:0 10px 15px 0; border:1px solid white}

.box4 img.img{float:left; margin:0 10px 15px 0; border:1px solid white}
.box4 a:hover img.img{float:left; margin:0 10px 15px 0; border:1px solid red}

.m10{margin:0 8px 8px 0; float:left; display:block; text-align:center}

.m10 img{border:none; display:block}
.m10 img{ border:1px solid white}
.m10:hover img{border:1px solid red}

fieldset{border:1px solid #B73E31; background:#8B0D00; margin-bottom:10px}
legend{border:1px solid #B73E31; background:#7E0C00; padding:4px 8px}

hr {height: 1px; color: #fff; background-color: #fff; border: 0px solid #fff}

.cl{clear:both}
.fl{float:left}
.flr{float:right}
.c{text-align: center;}
.r{text-align:right; margin:0; padding:0}
.l{text-align: left;}

.hp-fotogalerie-h3 {margin:20px;}
.hp-fotogalerie {width:550px;padding:0 20px;}

.foto-hp-sml{margin:0 15px 25px 0; float:left; display:block; text-align:center}
.foto-hp-sml img{border:7px solid #3b3838; display:block;width:112px;height:84px;}
.foto-hp-sml:hover img{border:7px solid #b20000;}
.foto-hp-sml-last{margin:0 0 25px 0; float:left; display:block; text-align:center}
.foto-hp-sml-last img{border:7px solid #3b3838; display:block;width:112px;}
.foto-hp-sml-last:hover img{border:7px solid #b20000;}

#content table {margin-bottom:15px;}
#content table th {padding:3px 8px;background: #b20000;}
#content table td {padding:3px 8px;background:#501813;}

