html, body, div {
  margin: 0;
  padding: 0;
  font-family: arial, sans;
}

body {background-color: #fff;}

.archive-link {
  margin-top: 35px;
  display: block;
  padding: 1px;
  width: 100%;
  text-align: center;
  font-size: 19px;
  text-decoration: underline;
}
.more {
  display: block;
  margin-top: 2px;
}
.clear{
  clear: both;
  width: 100%;
  font-size: 0px;
  line-height: 0px;
  height: 0px;
}

#wrapper{
  width: 958px;  
  margin: 0 auto;
  overflow: hidden;
	height: 100%;
}

#header{
  width: 958px;
  height: 255px;
  position: relative;
  background: url('/images/layout/header.jpg') no-repeat;
}
  
#header h1{
  background-repeat: no-repeat;
  width: 474px;
  height: 69px;
  margin: 0;
  padding: 0;
}

#title-pl{
  background-image: url('/images/layout/title.jpg');
}

#title-en{
  background-image: url('/images/layout/title_en.jpg');
}

#title-ru{
  background-image: url('/images/layout/title_ru.jpg');
}

#language{
  font-weight: bold;
  font-size: 12px;
  left: 560px;
  top: 34px;
  color: #555;
  position: absolute;
}

#language a{
  color: #555;
}


#header h1 a{
  display: block;
  width: 474px;
  height: 69px;
}

#header h1 a span{
  display: none;
}

#newsletter{
  background: url('/images/layout/newsletter.jpg') no-repeat;
  width: 184px;
  height: 20px;
  left: 795px;
  top: 10px;
  position: absolute;
}

#newsletter-form{
  left: 795px;
  top: 38px;
  position: absolute;
  width: 190px;
}


#newsletter-form form input[type="image"] {
  width: 15px;
  height: 15px;
  border: 0;
  float: left;
  display: inline;
  margin-top: 1px;
  margin-right: 2px;
}

#newsletter-form form input[type="text"] {
  float: left;
  display: inline;
  width: 128px;
  border: 1px solid #0299d1;
}

#menu-container{
  height: 35px;
  background: #a0a0a0;
  border-bottom: 1px solid #fff;
}

#menu-border{
  margin: 10px auto;
  width: 950px;
  height: 36px;
  border-bottom: 2px solid #0299d1;
}

#menu{
  height: 35px;
  display: table;
  margin: 0 auto;
}

#menu ul{
  border-left: 3px solid #ffffff;
  padding: 0;
  margin: 0;
  height: 35px;
}

#menu ul li {
  height:35px; 
  border-right: 3px solid #ffffff;
  line-height: 95%;
  float: left;
  display: inline;
  list-style: none;
}

#menu ul li span {
text-align: center;
}

#menu ul li a{
  text-align: center;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  padding-left: 15px;
  padding-right: 15px;
  display: block;
  padding-top: 10px;
  height: 24px;
}

#menu ul li.two-lines a {
  padding-top: 3px;
  height: 31px;
}


#menu ul li a:hover, .active{
  background-color: #555;
}

#content-left{
  float: left;
}

.left-box{
  width: 220px;
  margin-left: 4px;
}

.box-title{
  height: 18px;
  color: #fff;
  background: #555;
  font-weight: bold;
  font-size: 14px;
  padding-left: 10px;
  padding-top: 2px;
  margin-bottom: 1px;
}

.box-border-top{
  background: url('/images/layout/box-border-top.png') top no-repeat;
}

.box-border-middle{
  background: url('/images/layout/box-border-middle.png') repeat-y;
  margin-bottom: 20px;
}

.box-border-bottom{
  background: url('/images/layout/box-border-bottom.png') bottom no-repeat;
}

#imageBox {
  width: 220px;
  padding-top: 15px;
  padding-bottom: 15px;
}

#content{
  width: 700px;
  float: right;
  padding-right: 3px;
  font-size: 13px;
  color: #555;
}

.news-right{
  width: 330px;
  float: right;
}

.content-border{
  border-top: 2px solid #0299d1;
  width: 100%;
}

.news{
  border-bottom: 1px dotted #555;
  padding-bottom: 10px;
}

.news a{
  font-weight: bold;
  

}

.news-left{
  width: 330px;
  float: left;
}
  
#footer{
  border-top: 2px solid #0299d1;
  text-align: center;
  color: #555;
  font-family: arial, sans;
  font-size: 11px;
  line-height: 130%;
  padding: 5px 0;
  margin-top: 30px;
}

a{
  color: #0299d1;
  text-decoration: none;
}

a:hover{
  text-decoration: underline;
}

.author {
  float: right;
   font-style:italic;
   margin-top: 0px;
   
}

.date{
  color: #0299d1;
  display: block;
  width: 100%;
  text-align: right;
  margin: 10px 0;
  font-weight: bold;
  font-size: 13px;
}

.article-content {
  padding-top: 15px;
}

.activeMenu {
  font-weight: bold;
}

.side-menu li a {
  text-decoration: none;
  color: #555;
  font-size: 12px;
  display: block;
  padding-left: 15px;
  background: 0px 3px url('/images/layout/side-menu.gif') no-repeat;
}

.side-menu li {
  list-style:none;
  display: block;
  margin-bottom: 15px;
  
}

#newImage{
  width: 160px;
	margin: 0 auto;
  height: 160px;
}

.links {
  padding: 20px 0px 20px 0px;
}

.links ul {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 210px;
}

.links li {
  list-style-type: none; 
  padding: 5px;
  width: 100%;
  text-align: center;
}

.links li a img {
  display: block;
  margin: 0 auto;
}

.biggerFont { font-size: 12pt; }
.smallerFont { font-size: 10pt; }

a {
  outline: none;
}

a img {
  border: none;
}

#thumbsGallery {
  padding-bottom: 20px;
}

.side-menu {
  padding: 15px 10px 20px 15px;
  margin: 0px;
}

.side-menu a{
  font-size: 13px;	
}

.galleryImage {
  float: left;
  width: 160px;
  height: 160px;
  margin-right: 14px;
}

.galleryImage a {
  border: 1px solid #fff; 
}

.galleryImage a img {
  border: 1px solid #000; 
  padding: 1px; 
}

.galleryImage .table, #newImage .table{
  display: table;
  vertical-align: middle;
  width: 160px;
  height: 160px;
  text-align: center;
}

.galleryImage .table .cell, .galleryImage .table, #newImage .table .cell, #newImage .table{
  display: table-cell;
}

.galleryImage .table .cell .hack, #newImage .table .cell .hack{
  width: 160px;
  text-align: center;
}

.border {
  border: 1px solid black;
  padding: 1px;
}

ul#gallery-thumbs {
   list-style-type: none;
   list-style-image: none;
   margin: 0px;
   padding: 0px;
   
}

ul#gallery-thumbs li {
  float: left;
  margin: 0px;
  padding: 0px 10px 10px 0px;
}

.separator {
  margin-bottom: 10px;
}

.pagination-container {
  display: table;
  margin: 0 auto;
}
.pagination {
    padding: 3px;
    margin-top: 20px;
    font-size: 15px;
  }
  .pagination a {
    margin: 3px;
    text-decoration: none;
    color: #555555;
    font-weight: bold;
  }
  .pagination a:hover, .pagination a:active {
    color: #555555;
  }
  .pagination span.current {
    margin: 6px;
    font-size: 19px;
    font-weight: bold;
    color: #9A0705;
    text-decoration: underline;
  }
  .pagination span.disabled {
    margin: 6px;
    color: #B0B0B0;
    font-weight: bold;
  }
