﻿body { 
  margin: 0 auto;
  padding: 2em 0em 1em;
  max-width: 900px;
  font-family: "Verdana", Helvetica, Arial, sans-serif;
  font-size: 16px;  
  }

header {
  display: block;
  background: #00b0d8 url(../00_images/top.jpg) no-repeat;
  width: 900px; /* Ширина шапки */
  height: 250px; /* Высота шапки */
  -moz-border-radius: 10px; /* закругление для старых Mozilla Firefox */
  -webkit-border-radius: 10px; /* закругление для старых Chrome и Safari */
  -khtml-border-radius:10px; /* закругл. для браузера Konquerer системы Linux */
  border-radius: 10px; /* закругление углов для всех, кто понимает */
  }

.header-bg {
  height: 250px; /* Высота шапки */
  text-align: left; /* Выравнивание по центру */
  }

.header-bg img {
  position: relative; /* Относительное позиционирование */
  top: 40px; /* Положение от верхнего края */
  left: 20px; /* Положение от левого края */
  }

header, section, footer, aside, nav, article {
 display: block; /* Блочный элемент */
}

.menu {
  width: 900px; /* Ширина */  
  height: 40px;/* Высота */  
  background: url(../00_images/topmenu_bg.jpg) repeat-x;
  background-color: #518dff;
  -moz-border-radius: 10px 10px 10px 10px; /* закругление для старых Mozilla Firefox */
  -webkit-border-radius: 10px 10px 10px 10px; /* закругление для старых Chrome и Safari */
  -khtml-border-radius:10px 10px 10px 10px; /* закругл. для браузера Konquerer системы Linux */
  border-radius: 10px 10px 10px 10px; /* закругление углов для всех, кто понимает */      
  }

#leftmenu {
  float: left;
  width: 250px;
  height: 39px;
  color:  #1e3f1f;
  font-size: 100%;
  font-weight: bold;
  text-align: center;
  text-transform: uppercase;
  }

#leftmenus {
  list-style-type: none;
  padding: 11px;
  margin: 0;
  }

.rightmenu {
  margin-left: 250px;
  height: 39px;
  color:  #1e3f1f;
  font-size: 100%;
  font-weight: bold;
  text-align: center;
  text-transform: uppercase
}

.rightmenu ul {
  list-style-type: none;
  margin: -1%

  }

.rightmenu li {
  display: inline;
  margin: 15px;
  }

.rightmenu li a {
  text-transform: uppercase;
  color: #ffffff;
  }

.rightmenu li a:hover {
  text-transform: uppercase;
  color: #1e3f1f;
  }

#container {
  width: 900px; 
  margin: 0 auto;  
  }

#leftcol {
  float: left;
  width: 250px;
  }

#rightcol {
  margin-left: 260px;
  }

#footer {
  clear: both;
}

.ugolkrug {
   width:250px; /* Длина фигуры */
   height:100% /* Высота фигуры */
   color: #000000; /* цвет текста */
   background-image: -webkit-linear-gradient(270deg,rgb(200,200,200) 0%,rgb(240,240,240) 100%);
   background-image: linear-gradient(270deg,rgb(240,240,240) 0%,rgb(240,240,240) 100%);   
   border: 1px #dbdbdb  solid; /* стили рамки */
   -moz-border-radius: 10px; /* закругление для старых Mozilla Firefox */
   -webkit-border-radius: 10px; /* закругление для старых Chrome и Safari */
   -khtml-border-radius:10px; /* закругл. для браузера Konquerer системы Linux */
   border-radius: 10px; /* закругление углов для всех, кто понимает */
}

.navmenu ul {
  vertical-align:top;    
  list-style-type: none;
  padding:0;
  float:left;    
}
.navmenu li {
  display: block;
  margin: 0px;    
}
.navmenu li a {
  font-weight: bold;
  margin: 0px;   
}
.navmenu li a:hover {
  font-weight: 100;
}

.img_menu1 {
  width: 193px;
  height: 55px;
  border: 0;
  padding: 3px;
  }

#bottom {
  width: 900px; /* Ширина */  
  height: 32px;/* Высота */
  margin: 0 auto;  
  background: url(../00_images/bottom_bg.jpg) repeat-x;
  background-color: #74ff51;
  -moz-border-radius: 10px 10px 10px 10px; /* закругление для старых Mozilla Firefox */
  -webkit-border-radius: 10px 10px 10px 10px; /* закругление для старых Chrome и Safari */
  -khtml-border-radius:10px 10px 10px 10px; /* закругл. для браузера Konquerer системы Linux */
  border-radius: 10px 10px 10px 10px; /* закругление углов для всех, кто понимает */     
}

#leftbottom {
  float: left;
  width: 250px;
  height: 39px;
  color:  #1e3f1f;
  font-size: 12px;
  font-weight: bold;
  line-height: 3em;
  text-align: center;
  text-transform: uppercase;
  vertical-align: middle;  
  }

.rightbottom {
  margin-left: 250px;
  height: 39px;
  color:  #1e3f1f;
  font-size: 11px;
  font-weight: bold; 
  text-align: center;
  text-transform: uppercase;
  vertical-align: middle;   
}

.rightbottom ul {
  list-style-type: none;
  margin: -1%
}
.rightbottom li {
  display: inline;
  margin: 18px;
}
.rightbottom li a {
  color: #ffffff;
}
.rightbottom li a:hover {
  color: #1e3f1f;
}


h1 {
    font-size: 17px;
    line-height: 1.5em;
}

h2 {
    text-transform: uppercase;
    margin-top: 1em;
    vertical-align: middle;
    font-weight: bold;
    font-size: 14px;
    background-image: url(../00_images/dots.gif);
    background-repeat: no-repeat;
    background-position: 10px;
    padding-left: 31px;
}

h3 {
    color: #000000;
    background-image: url(../00_images/button.png);
    background-repeat: no-repeat;
    background-position: 5px;
    padding-left: 25px;
    margin: auto;
    font-size: 15px;
}

h4 {
   font-size: 14px;
   color: #000000;
   background-image: url(../00_images/bullet-grey.gif);
   background-repeat: no-repeat;
   background-position: 0px;
   padding-left:20px;
   line-height: 0.8em; 
}

h5 {
    vertical-align: middle;
    font-weight: bold;
    font-size: 15px;
    background-image: url(../00_images/bullet-orange.gif);
    background-repeat: no-repeat;
    background-position: 30px;
    padding-left: 31px;
    margin-bottom: -10px;
    margin-top: -10px;
}

h6 {
    vertical-align: middle;
    font-weight: bold;
    font-size: 15px;
    text-align: center;
    margin-top: 25px;
    margin-bottom: -5px;
} 

h7 {
   
   font-size: 13px;
   
   color: #000000;
   
   margin-bottom: 1px;
   
   background-image: url(../00_images/bullet-blu.gif);
   
   background-repeat: no-repeat;
   
   background-position: 15px;
   
   padding-left: 30px;

}

a {
    text-decoration: none;
    color: #002f55; 
}

a.menu {
text-decoration: none;
color:  #000000;
font-weight: bold;
}

.text {
padding: 5px;
text-align: justify;
text-indent: 1.5em;    
}

.tex {
padding: 5px;
margin: auto;   
}


.text_cent {
width: 100%;
text-align: center;
}

.stix_right {
padding-left: 60%;
}

.stix_right1 {
padding-left: 40%;
}

.stix_right2 {
padding-left: 20%;
}

a.l {
text-transform: none;
color:  #555555;
font-weight: bold;
font-size: 12px;
}
a.l:hover {
  text-decoration: underline;
  color:  #000;
  font-weight: bold;
  font-size: 12px;
}

.link {
  text-transform: none;
  color:  #423189;
  font-weight: bold;
  font-size: 13px;  
}
.link:hover {
  text-decoration: none;
  color:  #000;
  font-weight: bold;
  font-size: 13px; 
}

.img_lev {
margin-top: 5px;
border: 4px double #ffffff;
padding: 10px;
float: left;
}




.focus{
outline:none;
}

.gallery{
margin:10px auto;
width:600px;
height:100%;
position:relative;
text-align: center;    
}

a.foto {
display:inline-block;
width:145px;
height:110px;
position:relative;
border:5px solid #fff;
-moz-box-sizing:border-box;
-webkit-box-sizing:border-box;
box-sizing:border-box;
}

a.foto img{
display:block;
width:100%;
height:100%;
-webkit-transition-property:width, height, top, bottom, left, right, z-index;
-webkit-transition-duration:2s;
-moz-transition-property:width, height, top, bottom, left, right, z-index;
-moz-transition-duration:2s;
-o-transition-property:width, height, top, bottom, left, right, z-index;
-o-transition-duration:2s;
transition-property:width, height, top, bottom, left, right, z-index;
transition-duration:2s;
position:absolute;
z-index:1;
top:0px;
left:0px;
cursor:pointer;
-moz-user-select: none;
-khtml-user-select: none;
user-select: none;      
}


.closed{
position:absolute;
top:85px;
right:55px;
display:none;
text-align:center;
font-weight:bold;
font-size:70px;
color:#555;
width:20px;
height:20px;
-webkit-text-shadow:0px 0px 5px #fff;
-moz-text-shadow:0px 0px 5px #222;
text-shadow:0px 0px 5px #fff;
-moz-transform:rotate(45deg);
-o-transform:rotate(45deg);
-webkit-transform:rotate(45deg);
cursor:pointer;
z-index:30;
}

.closed-layer{
display:none;
position:absolute;
top:140px;
left:150px;
width:800px;
height:600px;
background:transparent;
z-index:30;
}

a.foto:focus~.closed, a:focus~.closed-layer{
display:block;
}


a.foto:focus {
border:none;
}

a.foto:focus img{
width:360%;
height:360%;
position:absolute;
box-shadow:0 0 15px 2px #000;
-moz-box-shadow:0 0 15px 2px #000;
-webkit-box-shadow:0 0 15px 2px #000;
-webkit-transition-property:width, height, top, bottom, left, right, z-index;
-webkit-transition-duration:2s;
-moz-transition-property:width, height, top, bottom, left, right, z-index;
-moz-transition-duration:2s;
-o-transition-property:width, height, top, bottom, left, right, z-index;
-o-transition-duration:2s;
transition-property:width, height, top, bottom, left, right, z-index;
transition-duration:2s;
cursor:default;
z-index:25;
}

a.foto:focus:nth-child(4n+1) img{
left:35px;
}

a.foto:focus:nth-child(4n+2) img{
left:-110px;
}

a.foto:focus:nth-child(4n+3) img{
left:-260px;
}

a.foto:focus:nth-child(4n+4) img{
left:-415px;
}

a.foto:focus:nth-child(-n+4) img{
top:140px;
}

a.foto:focus:nth-child(n+5) img{
top:30px;
}

a.foto:focus:nth-child(n+9) img{
top:-90px;
}

a.foto:focus:nth-child(n+13) img{
top:-200px;
}

a.foto:focus:nth-child(n+17) img{
top:-315px;
}

a.foto:focus:nth-child(n+21) img{
top:-425px;
}

.img_foto_1 {
width: 80px;
height: 75px;
border: 0;
padding: 3px;
}
.img_foto {
width: 80px;
height: 75px;
border: 0;
padding: 3px;
opacity:0.3; -moz-opacity:0.3;
filter:alpha(opacity=40);
}

.img_foto:hover{
opacity:1.0; -moz-opacity:1.0;
filter:alpha(opacity=100);
}


a.s {
text-decoration: none;
color: #c63c3c;
font-size: 14px;
}
a.s:link {
color: #000000;
}
a.s:visited {
color: #777777;
}
a.s:active {
color: #777777;
}
a.s:hover {
color: #000000;
text-decoration: underline;
}

.content {
border-collapse: collapse;
margin: 6px 8px 8px 12px;
}
.newsitem {
border: 1px solid silver;
text-align: justify;
vertical-align: middle;
}
.newsitem1 {
border: 1px solid silver;
padding: 10px 10px 10px 20px; 
text-align: justify;
vertical-align: middle;
}

.co { 
  font-size: 12px; 
  margin:10px auto;  
  }


