#v1_slider li{float: left; width: 500px; height: 300px; padding: 0; margin: 0; position: relative;}
#v1_slider li h4{position: absolute; top: 25px; left: 50px; color: white; font-size: 30px;}
#v1_slider li p{position: absolute; bottom: 25px; right: 50px; color: black; font-size: 20px; font-weight: bold;}
#v1_container{position: relative; margin-bottom: 50px; width: 500px;}
#v1_container #prev_v1, #v1_container #next_v1{position: absolute; height: 40px; width: 40px; cursor: pointer;}
#v1_container #prev_v1{top: 200px; left: 5px; background: url('../images/arrow-left.png') center center no-repeat; background-size: auto 40px;}
#v1_container #next_v1{top: 200px; right: 5px; background: url('../images/arrow-right.png') center center no-repeat; background-size: auto 40px;}

* {
	margin: 0;
	padding: 0;
}
html {
	height: 100%;
}
article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary {
	display: block;
}
body {
	height: 100%;
	background:url('../images/bg.gif') repeat-x #dcf6ff;
}

.wrapper {
	min-width: 1400px;
	max-width: 5000px;
	margin: 0 auto;
	min-height: 100%;
	height: auto !important;
	height: 100%;
}

/* Header
-----------------------------------------------------------------------------*/
.header {
	height: 200px;
	width: 1400px;
	margin: 0 auto;
	background-image: url('../images/header.png');
}

.navigation {
	width: 200px;
	background: url('../images/header_navigation.gif') bottom no-repeat;
	text-align: center;
	position: absolute;
	right: 0;
}

.navigation a:visited {
	text-decoration: none;
	color: #599b00;
}

.navigation a:link {
	text-decoration: none;
	color: #599b00;
}

a:visited {
	text-decoration: underline;
	color: #0069A9;
}

a:link {
	text-decoration: underline;
	color: #0069A9;
}

.navigation a {
	margin: 0 10px;
}


/* Middle
-----------------------------------------------------------------------------*/

#photo_list
{
	padding-bottom: 30px;
}

.photo_content
{
	padding-bottom: 30px;
}

.content_photo_element
{
	float: left;
	width: 130px;
	text-align: center;
}

.content_photo_text
{
	float: left;
	width: 500px;
}

.middle {
	width: 100%;
	padding: 0 0 100px;
	position: relative;
	margin-top: 10px;
}
.middle:after {
	display: table;
	clear: both;
	content: '';
}
.container {
	width: 100%;
	float: left;
	overflow: hidden;
}
.content {
	padding: 0 270px 0 270px;
}

.content_fon
{
	background: #ffffff;
	border-radius: 5px;  /* свойство для тех кто его поддерживает */
	-moz-border-radius: 5px;  /* для firefox */
	-webkit-border-radius: 5px;  /* для Safari и Chrome */
	padding: 10px;
}

#parent_popup {
  background: #000;
  height: 100%;
  opacity: 0.9;
  position: fixed;
  width: 100%;
  z-index: 100;
  top: 0;
  left: 0;
}
#popup {
  background-color: #00f;
  height: 200px;
  position: fixed;
  top: 100px;
  left: 40%;
  color: #f00;
  width: 300px;
}

/* Базовые стили модального окна  */
.overlay {
    background-color: rgba(0, 0, 0, 0.7);
    bottom: 0;
    cursor: default;
    left: 0;
    opacity: 0;
    position: fixed;
    right: 0;
    top: 0;
    visibility: hidden;
    z-index: 1;
    -webkit-transition: opacity .5s;
    -moz-transition: opacity .5s;
    -ms-transition: opacity .5s;
    -o-transition: opacity .5s;
    transition: opacity .5s;
}

.overlay:target {
    visibility: visible;
    opacity: 1;
}

.popup {
    background-color: #fff;
    border: 3px solid #fff;
    display: inline-block;
    left: 30%;
    opacity: 0;
    padding: 15px;
    position: fixed;
    text-align: justify;
	font: 14px Helvetica, Arial, Sans-Serif;
    top: 25%;
    visibility: hidden;
    z-index: 10;
    -webkit-transform: translate(-17%, -17%);
    -moz-transform: translate(-17%, -17%);
    -ms-transform: translate(-17%, -17%);
    -o-transform: translate(-17%, -17%);
    transform: translate(-17%, -17%);
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
    border-radius: 10px;
    -webkit-box-shadow: 0 1px 1px 2px rgba(0, 0, 0, 0.4) inset;
    -moz-box-shadow: 0 1px 1px 2px rgba(0, 0, 0, 0.4) inset;
    -ms-box-shadow: 0 1px 1px 2px rgba(0, 0, 0, 0.4) inset;
    -o-box-shadow: 0 1px 1px 2px rgba(0, 0, 0, 0.4) inset;
    box-shadow: 0 1px 1px 2px rgba(0, 0, 0, 0.4) inset;
    -webkit-transition: opacity .5s, top .5s;
    -moz-transition: opacity .5s, top .5s;
    -ms-transition: opacity .5s, top .5s;
    -o-transition: opacity .5s, top .5s;
    transition: opacity .5s, top .5s;
}

.overlay:target+.popup {
    top: 25%;
    opacity: 1;
    visibility: visible;
}

.close {
    background-color: rgba(0, 0, 0, 0.8);
    height: 30px;
    line-height: 30px;
    position: absolute;
    right: 0;
    text-align: center;
    text-decoration: none;
    top: -15px;
    width: 30px;

    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    -ms-border-radius: 15px;
    -o-border-radius: 15px;
    border-radius: 15px;
}

.close:before {
    color: rgba(255, 255, 255, 0.9);
    content: "X";
    font-size: 24px;
    text-shadow: 0 -1px rgba(0, 0, 0, 0.9);
}

.close:hover {
    background-color: rgba(64, 128, 128, 0.8);
}

.popup p, .popup div {
    padding: 0px 5px 0px 5px;
}

#news_items
{
	margin-bottom: 15px;
}
.news_mini_tema
{
	font: 24px Arial, sans-serif;
	color: #1789A4;
}
.news_mini_image
{
}
.news_mini_content p
{
	text-indent: 1.5em;
}
#news_mini_items_footer
{
	width: 600px;
	background-color:#000000;
}
.news_big_info
{
	float:right;
}
.news_mini_date
{
	float:left;
}
/* Left Sidebar
-----------------------------------------------------------------------------*/
.left-sidebar {
	float: left;
	width: 250px;
	margin-left: -100%;
	position: relative;
}

#top_bg_menu
{
	background-image: url('../images/top_bg_menu.png');
	width: 250px;
	display: table-cell;
	vertical-align: middle;
	height: 37px;
	text-align: center;
}

#bg_menu li ul {
    position: absolute; 
    display: none; 
    margin-top: -30px; 
    left: 240px; 
}

#bg_menu li:hover ul {
   display: block; 
}

#bg_menu li ul li{
  text-align:left;
  background: #1686A0;
  padding: 8px 0px 8px 10px;
}

#bg_menu li ul li:hover {
  background: #87DA50;
}

#bg_menu li ul li a{
  font-size:14px;
  color:White;
  text-decoration:none;
}

#bg_menu li ul li a:hover{
  font-size: 14px;
  color: White; 
  text-decoration:none; 
}

#bg_menu
{
	background-image: url('../images/bg_menu.png');
	width: 250px;
}

#bottom_bg_menu
{
	background-image: url('../images/bottom_bg_menu.png');
	width: 250px;
	height: 8px;
}

a:visited 
{
	text-decoration: underline;
	color: #0069A9;
}
a:link {
	text-decoration: underline;
	color: #4F98BC;
}

#bg_menu li {
	list-style: none;
	border: 1px solid #a2d7ec;
	font-size: 10pt;
	margin: 0 10px;
	padding: 5px 16px;
	width: 200px;
	font-weight: normal;
	background: url('../images/marker.gif') left center no-repeat;
} 
.content_fon li {
	font-size: 10pt;
	margin-left: 50px;
	margin-bottom: 10px;
	font-weight: normal;
}

/* Right Sidebar
-----------------------------------------------------------------------------*/
.right-sidebar {
	float: left;
	width: 250px;
	margin-left: -250px;
	position: relative;
}
.right-sidebar ul li{
 padding: 5px 16px;
}

/* Footer
-----------------------------------------------------------------------------*/
.footer {
	margin: -100px auto 0;
	position: relative;
	background-color:#1789A4;
	height: 70px;
	top:20px;
	min-width: 1200px;
	max-width: 5000px;
}