body {
    background: url(/img/body_bg.gif) left top repeat-x;
    font-family:Trebuchet MS, Tahoma, Arial;
}

a {
    color:#003399;
}

.top {
    height:54px;
    overflow:hidden;
}

ul.nav {
    list-style:none;
    padding-top:6px;
    padding-left:25px;
}

ul.nav li {
    float:left;
    display:inline;
}

ul.nav li a {
    color:#000;
    font-size:13px;
    font-family:Arial;
    font-weight:bold;
    text-decoration:none;
    display:block;
    padding:19px 11px 10px;
    /*border-bottom:1px solid #aaa;*/
}

ul.nav li:hover {
    background-color:#9cc4f9;
    color:#222;
}

ul.nav li a.active {
    background-color:#86b2ef;
}

.langs {
    float:right;
    padding-top:20px;
}

.langs li{
    float:left;
    display:inline;
    margin-right:15px;
}

.head {
    background:url(/img/head2.jpg) left top no-repeat;
    height:276px;
}

.border_l {
    background:url(/img/bg_left.gif) left top no-repeat;
    height:1%;
}

.border_r {
    background:url(/img/bg_right.gif) right top no-repeat;
    min-height:500px;
    padding-top:9px;
    height:1%;
}

.bread {
    font-size:15px;
    word-spacing:8px;
    padding-left:20px;
    padding-bottom:15px;
    color:#003399;
    font-weight:bold;
}

.bread a {
    font-weight:normal;
    word-spacing:normal;
    font-size:13px;
    color:#333;
    text-decoration:none;
    border-bottom:1px dotted #333;
}

.bread a:hover {
    text-decoration:none;
    border-bottom:none;
}

.content {
    overflow:hidden;
    height:1%;
}

.content h1{
    font-size:22px;
    padding-bottom:15px;
    padding-top:15px;
}
.content h2{
    font-size:18px;
    padding-bottom:13px;
    padding-top:13px;
}
.content h3{
    font-size:16px;
    padding-bottom:12px;
    padding-top:12px;
}
.content h4{
    font-size:14px;
    padding-bottom:10px;
    padding-top:10px;
}

.info_block {
    background:url(/img/block_bottom.gif) right bottom no-repeat;
    padding-bottom:8px;
    padding-left:22px;
    margin-top:0px;
    font-size:13px;
    color:#444;
    margin-bottom:25px;
    overflow:hidden;
    height:1%;
}

.info_block_r {
    background:url(/img/block_right.gif) right top repeat-y;
}

.info_block_top {
    background:url(/img/block_top.gif) right top no-repeat;
    /*padding-top:5px;*/
    padding-right:22px;
    min-height:120px;
    overflow:hidden;
    height:1%;
}

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

.info_block a:hover {
    color:#000;
}

.info_block .heading {
    border-bottom:2px solid #86b2ef;
    padding-bottom:4px;
    margin-bottom:10px;
}

.info_block H1 {
    font-size:17px;
    font-family:Arial, Helvetica, sans-serif;
    color:#000;
}

.info_block H2 {
    margin:2px 0px 4px;
}

.info_block H2 a {
    color:#000;
    text-decoration:none;
    font-size:13px;
    font-family:Arial, Helvetica, sans-serif;
}

.top_new {
    margin:0px 0px;
    width:296px;
    padding-right:7px;
    float:left;
    display:inline;
}

.info_block .top_new H2 {
    margin-top:14px;
}

.info_block .top_new H2 a {
    font-size:16px;
}

.side_news {
    margin:0px 0px 10px 10px;
    width:300px;
    float:left;
    display:inline;
    border-left:1px dotted #ccc;
    padding-left:10px;
}

.side_news_item {
    border-bottom:1px dotted #ccc;
    padding-bottom:8px;
    margin-bottom:12px;
}

.info_block .last {
    border-bottom:none;
    padding:0px;
    margin:0px;
}

.date {
    font-family:Arial, Helvetica, sans-serif;
    font-size:11px;
    font-style:italic;
    color:#2266d0;
    font-weight:normal;
}

.simple_news {
    padding:2px 0px 10px;
}

#entry {
    color:#000;
    font-size:14px;
    font-family:Arial, Helvetica, sans-serif;
    text-align:justify;
    padding:0 15px;
    margin-bottom:50px;
    padding-bottom:5px;
}

#entry H1 {
    padding-bottom:5px;
}

#entry img {
    float:left;
    margin:11px 15px 7px 0px;
}

#entry.type2 img {
    float:right;
    margin:11px 0px 7px 15px;
}

#entry p {
    padding:6px 0px;
    line-height:16px;
}

#entry a {
    color:#003399;
    text-decoration: none;
    border-bottom:1px dotted #003399;
}

#entry a:hover {
    color:#003399;
    border-bottom:none;
}

#entry a:visited {
    color:#773399;
    border-color: #773399;
}

.tags {
    margin-top:2px;
}

#entry .tags {
    font-weight:bold;
}

.tags a {
    font-weight:normal;
    margin-left:5px;
    color:#003399;
    border-bottom:1px dotted #003399;
}

.tags a:hover {
    color:#003399;
    border-bottom:none;
}

.srch_controls {
    padding:10px 0px 20px;
    overflow:hidden;
    height:1%;
}

.srch_controls input {
    width:520px;
    height:17px;
    float:left;
    margin:2px 12px 0px 5px;
    padding-left:5px;
}

.listing {
    font-size:14px;
    font-weight:bold;
    text-align:center;
    padding:5px 0px 20px;
    overflow:hidden;
    height:1%;
}

.listing a {
    color:#003399;
    padding:0px 2px;
    text-decoration:none;
}

.listing a:hover {
    color:#003399;
    background-color:#eee;
}

.listing .cur {
    padding:0px 2px;
    background-color:#eee;
}

.sidebar {
    padding-top:11px;
    font-size: 14px;
}

.RSS_link {
    display:block;
    height:27px;
    padding-left:44px;
    padding-top:11px;
    background:url(/img/RSS.png) left top no-repeat;
    font-family:"Times New Roman", Times, serif;
    text-decoration:none;
    color:#333;
    font-size:18px;
}

.srch {
    overflow:hidden;
    padding-top:7px;
    border-top:1px dotted #ccc;
    margin-right:20px;
    margin-top:12px;
}

.srch input {
    border:1px solid #d2d2d2;
    float:left;
    display:inline;
    width:200px;
    height:19px;
    padding-left:5px;
    padding-top:4px;
    color:#444;
}

.srch a {
    float:left;
    display:inline;
    background:url(/img/srch_btn.gif) left top no-repeat;
    width:26px;
    height:26px;
    margin-left:8px;
}

.sidebar H1 {
    font-family:Arial, Helvetica, sans-serif;
    font-size:16px;
    /*border-bottom:2px solid #86b2ef;*/
    border-bottom:1px solid #ccc;
    padding-bottom:5px;
    padding-top:5px;
    margin-right:20px;
}

.most_pop {
    padding:5px 17px 0px 5px;
}

.most_pop_item {
    padding:7px 0px;
    line-height:15px;
    border-bottom:1px dotted #ccc;
}

.most_pop_item a {
    color:#444;
    font-size:14px;
    text-decoration:none;
}

.most_pop_item a:hover {
    color:#000;
}

.cloud {
    padding:15px 17px 20px 0px;
    font-size:11px;
    line-height:19px;
    text-align:center;
}

.cloud a {
    color:#777;
    text-decoration:none;
    font-family:Arial, Helvetica, sans-serif;
    padding:0px 2px;
}


.footer {
    clear:both;
    background:#070707 url(/img/prefoot.gif) left top repeat-x;
    min-height:300px;
    padding:20px 0px;
    overflow:hidden;
    height:1%;
    color:#666;
    font-size:13px;
}

.footer H1 {
    font-size:16px;
    color:#a9a9a9;
    margin:35px 0px 25px;
    font-family:Arial, Helvetica, sans-serif;
}

.footer_gallery {
    overflow:hidden;
    height:1%;
    padding-left:3px;
}

.footer_gallery a {
    margin:6px 12px 6px 0px;
    float:left;
    border:5px solid #fff;
}

.footer_gallery a:hover {
    border-color:#999999;
}

.footer_gallery a img {
    width:40px;
    height:40px;
}

.footer_links {
    overflow:hidden;
    height:1%;
    border-top:2px solid #111;
    margin-right:120px;
}

.footer_links li {
    border-bottom:2px solid #111;
    padding-left:3px;
}

.footer_links a {
    display:block;
    padding:4px 0px 3px;
    color:#888;
    font-size:12px;
    font-weight:bold;
    text-decoration:none;
    word-spacing:5px;
}

.footer_links a:hover {
    color:#fff;
}

.footer_links a span {
    /*font-family:Arial;*/
    font-weight:normal;
    font-style:italic;
    font-size:11px;
    color:#777;
    word-spacing:normal;
}

.footer_links a:hover span {
    color:#fff;
}

/*-------------------------------------------------- Gallery ----------------------------------------*/

.gallery {
    border-collapse:collapse;
    margin:5px -20px 10px -10px;
}

.gallery img {
    border:1px solid #414141;
}

.gallery .pic td {
    vertical-align:middle;
    width:220px;
    text-align:center;
    border:0px solid #ccc;
    padding-top:15px;
}

.gallery .label td {
    padding:5px 10px 3px;
    vertical-align:top;
    border-bottom:0px solid #ddd;
    text-align:center;
    font-size:12px;
}

.gallery .label td a {
    color:#004490;
    text-decoration:none;
    padding:0;
    font-size:12px;
    line-height:15px;
    font-family:Arial, Helvetica, sans-serif;
}

.gallery .label td a:hover {
    text-decoration:none;
    border-bottom:1px dotted #003399;
}

.gallery img {
    float:none;
    margin:0;
    border-color:#777;
}

.gallery a {
    text-decoration:none;
}

.gallery a:hover {
    text-decoration:underline;
}

.gallery .pic a {
    margin-right:2px;
    margin-bottom:2px;
    overflow:hidden;
    display:inline-block;
}

.gallery .pic a:hover {
    border-bottom:2px solid #cdcdcd;
    border-right:2px solid #cdcdcd;
    margin:0px;
}

.album_date {
    font-size:11px;
    padding:0px 15px 3px 2px;
    color:#414141;
}

.album_date .update {
    float:right;
    font-size:10px;
}

.sorting {
    text-align:right;
    padding-bottom:20px;
    padding-right:10px;
    font-size:12px;
}

.sorting select {
    border:1px solid #ccc;
    font-size:12px;
    margin-left:7px;
}

.photo_single {
    width:630px;
    text-align:center;
    position:relative;
    overflow:hidden;
}

.photo_single div.photo_box {
    margin:10px auto;
    background-color:#eee;
}

.photo_single img {
    float:none;
    display:inline;
    margin:0px;
    border:1px solid #555;
}

#link_prev {
    display:block;
    position:absolute;
    left:0px;
    top:50%;
    margin-top:-50px;
    width:18px;
    height:80px;
    line-height:80px;
    font-weight:bold;
    text-decoration:none;
    font-size:24px;
    color:#99bbee;
    padding:0px 6px 0px 7px;
    background-color:#eee;
}

#link_prev:hover {
    color:#1150ab;
    background-color:#eee;
}

#link_next {
    display:block;
    position:absolute;
    right:0px;
    top:50%;
    margin-top:-50px;
    width:18px;
    height:80px;
    line-height:80px;
    font-weight:bold;
    text-decoration:none;
    font-size:24px;
    color:#99bbee;
    padding:0px 7px 0px 6px;
    background-color:#eee;
}

#link_next:hover {
    color:#1150ab;
    background-color:#eee;
}

.photo_desc {
    text-align:left;
    line-height:normal;
    padding-top:3px;
}

.photo_lenta {
    width:628px;
    height:100px;
    clear:both;
    margin-top:12px;
    margin-bottom:0px;
    border:1px solid #ddd;
    border-width:1px 0px 1px;
}

.photo_lenta #arrow_link_back, .photo_lenta #arrow_link_forw {
    display:block;
    font-size:30px;
    font-weight:bold;
    padding:32px 0px 0px;
    text-decoration:none;
    height:70px;
    color:#99bbee;
}

#arrow_link_back:hover, #arrow_link_forw:hover {
    /*background-color:#eee;*/
    color:#1150ab;
}

.photo_lenta #arrow_link_back {
    padding-right:10px;margin-right:4px;float:left
}

.photo_lenta #arrow_link_forw {
    padding-left:10px;margin-left:4px;float:right
}

.photo_container {
    overflow:hidden;
    position:relative;
    height:100px;
    /*background-color:#eee;*/
    border:1px solid #ddd;
    border-width:0px 0px 0px;
}

.photo_lenta table {
    border-collapse:collapse;
    position:absolute;
    top:0px;
    left:-10px;
    margin-left:0px;
}

.photo_lenta table td {
    vertical-align:middle;
    text-align:center;
    height:100px;
}

.photo_lenta table td a {
    display:inline-block;
    margin:0px 10px;
}

.photo_lenta table td a:hover {
    border-bottom:2px solid #cdcdcd;
    border-right:2px solid #cdcdcd;
    margin:0px 8px -2px 10px;
}

.photo_lenta table td img {
    float:none;
    margin:0px;
    border:1px solid #555;
}

.photo_lenta table td .active img {
    border:3px solid #99bbee;
}

.album_return {
    text-align:center;
    padding:20px 0px 20px;
    color:#004490;
    font-family:Arial, Helvetica, sans-serif;
}

.album_return a {
    color:#004490;
}

.album_return a:hover {
    color:#004490;
    border-bottom:1px dotted #004490;
}

table.simple {
	border-width: 2px;
	border-spacing: 1px;
	border-style: solid;
	border-color: gray;
	border-collapse: collapse;
	background-color: rgb(250, 240, 230);
}
table.simple th {
	border-width: 1px;
	padding: 2px;
	border-style: dotted;
	border-color: black;
	background-color: rgb(255, 255, 240);
	font-weight:bolder;
	text-align : center;
}
table.simple td {
	border-width: 1px;
	padding: 2px;
	border-style: dotted;
	border-color: black;
	background-color: rgb(255, 255, 240);
	text-align : left;
}
