/* CSS Document */

body{
  background-image: url(../images/rybnik.jpg);
  background-attachment: fixed;
  background-position: center center;
 font-family: "texgyreadventorregular",arial,sans-serif;
}

a{
  text-decoration: none;
  color:#9e0f0f;
}

#container{
  margin-left: auto ;
	margin-right: auto ;
  width:1200px;
}
#content{
  background-image: url(../images/bg-container.png);
  background-repeat: repeat-y;
}

.wood{
  background-image: url(../images/drevo.png);
  background-position: center center;
  height:58px;
  position:relative;
  top:29px;
}
#header{
  height:110px;
  width:100%;
}
#header a{
  display:block;
}


#leftcol, #middlecol, #rightcol{
  position:relative;
  top:29px;
}

#leftcol{
  float:left;
  width:150px;
  color:#9E0F0F;
}

#leftcol a{
  color:#9E0F0F;
  text-decoration:none;
}

#mainmenu{
  background-color: rgb(255,255,255);
  margin:10px;
}
#mainmenu{
  padding:0;
  margin:5;
}
#mainmenu li{
  background-repeat: no-repeat;
  list-style-type: none;
  padding-left:20px;
}

#usermenu{
  padding:0;
  margin:5;
}
ul#mainmenu li ul{
  padding:0;
  margin:0;
}


#usermenu li{
  background-repeat: no-repeat;
  list-style-type: none;
  padding-left:20px;
}

li.logout{
  background-image: url(../images/logout.png);
}
li.settings{
  background-image: url(../images/settings.png);
}

li.news{
  background-image: url(../images/news.png);
}
li.photogallery{
  background-image: url(../images/photogallery.png);
}
li.videos{
  background-image: url(../images/videos.png);
}
li.forum{
  background-image: url(../images/forum.png);
}
li.bazaar{
  background-image: url(../images/bazaar.png);
}
li.contact{
  background-image: url(../images/contact.png);
}
li.users{
  background-image: url(../images/users.png);
}
li.add{
  background-image: url(../images/add.png);
}
li.edit{
  background-image: url(../images/edit.png);
}
li.my{
  background-image: url(../images/my.png);
}

#loginform{
  background-color: rgb(255,255,255);
  margin:10px;
  padding:5px;
}
#loginform input[type="text"], #loginform input[type="password"]{
  width:114px;
}
#loginform input[type="button"], #loginform input[type="submit"]{
  width:120px;
}
.avatar{
  width:130px;
  padding:0 10px 0 10px;
}
.smallimage{
  width:50px;
  height:50px;
}
#middlecol{
  float:left;
  width:880px;
  padding:10px;
}

#rightcol{
  float:left;
  width:150px;
}

#social{
  text-align:right;
  padding-right:5px;
  padding-top:5px;
}

/* page foofter */
  div#bottom{
    clear:both;
    padding-top:50px;
    padding-bottom:10px;
    width:1200px;
  }
  #bottom-left{
    text-align:right;
  }
  #bottom-center{
    text-align:center;
  }
  #bottom-right{
    text-align:left;
  }
  div#bottom a{
    color:#7E7733;
    text-decoration:none;
  }
  div#bottom div {
    width:33%;
    float:left;
  }
  #bottom span{
    display:none;
  }
  #bottom:hover span{
    display:inline;
  }

.clearer{
  clear:both; 
}

.current{
  font-weight:bold;
}

#userform, #photoupload{
  
}

#userform div, #photoupload div{
  clear:both;
}

#userform label, #photoupload label{
  display:block;
  width:200px;
  float:left;
  text-align:right;
  padding-right:5px;
}

table.list{
  width:100%;
}

table.list th{
  background-color:#663333;
  color:white;
}
table.list tr.even td{
  background-color:#E1DFD4;
}
table.list tr.odd > td{
  background-color:#F1EFE4;
/*  background-color:#C7C396; */
}
table.list tr:hover > td{
  background-color:rgb(255, 255, 204);
}
.center{
  text-align:center;
}
.separator{
  height:10px;
}

.gallery-photo{
  width:880px;
}

.thumb-image{
  display:block;
  width:205px;
  height:220px;
  float:left;
  padding-bottom:20px;
  padding-right:12px;
  text-align:center;
}

.thumb-image img{
  max-width:205px;
  max-height:205px;
}

.rate-icons{
  text-align:center;
}
.rate-icons a{
  text-decoration:none;
  color:black;
}

.gallery-item {
  margin-bottom:50px;
}
.gallery-item h3{
  margin-bottom:0;
}
.navi{
  clear:both;
  text-align:center;
}                             
.navi span{
  color:silver;
}
.navi a{
  text-decoration:none;
  color:#9e0f0f;
}
.best-photo{
  display:bolck;
  float:left;
  width:283px;
  height:283px;
  padding-right:10px;
}
.best-photo img{
  max-width:283px;
  max-height:283px;
}
#photoupload .radio, #userform .radio{
  display:inline;
  width:auto;
  float:none;
}
.alert{
  color:red;
}
.news-item a{
  line-height: 20px;
}

.advert-image{
  max-width:205px;
  max-height:205px;
  float:left;
  padding-right:10px;
  padding-bottom:10px;
}
.advert-content{
  padding-top:10px;
}
.error{
  color:red;
}
#page_text{
  width:875px;
  height:500px;
}
#newpost{
  float:right;
}
.fb-share-button{
  position:relative;
  top:3px;
}
.comment{
  border-bottom: 1px dotted #663333;
  padding-bottom:5px;
  margin-bottom:5px;
}
.comment:first-child{
  padding-top:5px;
  margin-top:5px;
  border-top:  1px dotted #663333;
}
#new_post_form{
  border-bottom: 1px dotted #663333;
  padding-bottom:10px;
  margin-bottom:10px;
  padding-top:10px;
  margin-top:10px;
  border-top:  1px dotted #663333;
}