/*для форм:4*/
.pseudolink {
cursor:pointer;
text-decoration: none;
border-bottom: 1px dotted;
}
.zakna {
width: 100%;
border-collapse: collapse;
margin: 20px 0;
}
.zakna td {
padding: 10px;
border: 1px dashed #00539f;
}
.zakna tr td:first-child {
  background: #00539f;
  font-size:16px;
  color: #fff;
  font-weight: bold;
}
.zakna td input,.zakna td select {
  border:  2px solid #00539f;
  width: 240px;
  height: 22px;
  font-size: 13px;
  font-style: italic;
  color: #00539;
  padding-left: 10px;
}
.zakna tr:last-child {
  background: rgb(233, 233, 233);
}
.zakna td textarea {
  height: 150px;
  border:  2px solid #00539f;
  width: 240px;
  font-size: 13px;
  font-style: italic;
  color: #00539;4
  padding-left: 10px;
}
/*для фотогалереи:*/
.photogallery .onephotoframe img {
width: 187px;
display:block;
/* margin: 0 0 12px 0; */
}
.photogallery .onephotoframe > div {
height:120px;
overflow:hidden;
margin-bottom: 12px;
}
.photogallery .onephotoframe {
display: -moz-inline-stack;
width: 187px;
display:inline-block;
min-height:165px;
_height: 165px;
zoom:1;
*display: inline;
margin: 0 15px 30px 0;
vertical-align:top;
}
.photogallery .onephotoframe span {
display: block;
background: url(/img/photobullet.jpg) left 2px no-repeat
}
.photogallery .onephotoframe span a {
display: block;
font:12px arial;
min-height: 20px;
padding: 0 0 3px 12px;
color:#58595b;
text-decoration: none;
}
.photogallery .onephotoframe span a:hover {
color:#005ba8; 
}

.gallerysliding {
margin-top:-10px;
margin-bottom:30px;
}
.gallerysliding #active_photo {
width:580px;
margin: 0 30px 35px 0;
height: 380px;
background-color: #f0f1f3;
text-align: center;
padding: 8px 40px;
}
.gallerysliding #active_photo img {
/*display:block;*/
max-width:570px;
cursor:pointer;


max-height: 380px;


border: none;

}
.gallerysliding #photos {
width: 660px;
background-color: #f0f1f3;
}
.gallerysliding #photos table {
border:0;
border-collapse:collapse;
height: 125px;
width: 660px;
}
.gallerysliding #photos table td {
height: 125px;
}
.gallerysliding #left_arrow, .gallerysliding #right_arrow {
width:32px;
height: 125px;
cursor:pointer;
}
.gallerysliding #left_arrow {
background: url('/img/leftgalarrow.png') center center no-repeat #005ba8;
}
.gallerysliding #right_arrow {
background: url('/img/rightgalarrow.png') center center no-repeat #005ba8;
}
.gallerysliding #photos_list {
width: 587px;
height: 125px;
overflow:hidden;
position: relative;
margin-left: 8px;
left: 0px;
}
.gallerysliding #photos_list .prostyn {
position: relative;
width:25000px;
height: 125px;
left:0px;
}
.gallerysliding #photos_list .prostyn .photo {
width:171px;
display: inline-block;
zoom: 1;
height: auto;
overflow: hidden;
border-left: 10px solid transparent;
border-right: 10px solid transparent;
opacity: 0.5;
-webkit-transition: .2s ease;
-moz-transition: .2s ease;
-o-transition: .2s ease;
-ms-transition: .2s ease;
transition: .2s ease;
}
.gallerysliding #photos_list .prostyn .photo img {
max-width:200px;
cursor:pointer;
max-height:300px;
width: 100%;
height: 100%;
}
.gallerysliding #photos_list .prostyn .active {
opacity: 1;
}
.backstep {
background-color: #006fcc;
padding: 3px 14px 0px 14px;
height: 19px;
cursor: pointer;
width: 95px;
line-height: 12px;
-webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-o-transition: all 0.5s ease;
}
.backstep:hover {
background-color:#005ba8;
-webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-o-transition: all 0.5s ease;
}
.backstep a {
color:white;
text-decoration:none;
font:12px arial;
}
.backstep a:hover {
color:white;
text-decoration:none;
}
.newscontainer {
padding-left: 161px;
}
/*для вдеотеки:*/
#deathly-shadow {
background: #000;
height: 100%;
left: 0;
opacity: 0.5;
position: fixed;
top: 0;
width: 100%;
z-index: 50;
}
.videoframe {
margin-bottom: 30px;
position: absolute;
padding: 15px;
background: rgb(243, 243, 243);
margin: 0 auto;
/* top: 355px; */
/* left: 39%; */
z-index: 99;
box-shadow: 3px 3px 3px #666;
}
.videoframe .closev {
position: relative;
left: 97%;
font-weight: bold;
padding: 5px;
cursor: pointer;
font-size: 1.4em;
color: #00539f;
}
#video-modal {
padding:20px;
background: #eee;
width: 640px;
margin: 100px auto;
/* top: 355px; */
/* left: 39%; */
z-index: 99;
box-shadow: 3px 3px 3px #666;
}
#video-modal .close {
position: relative;
left: 97%;
font-weight: bold;
padding: 5px;
cursor: pointer;
font-size: 1.4em;
color: #00539f;
}

.videogallery .onephotoframe img {
width: 187px;
display:block;
/* margin: 0 0 12px 0; */
}
.videogallery .onephotoframe > div {
height:120px;
overflow:hidden;
margin-bottom: 12px;
}
.videogallery .onephotoframe {
display: -moz-inline-stack;
width: 187px;
display:inline-block;
min-height:165px;
_height: 165px;
zoom:1;
*display: inline;
margin: 0 15px 30px 0;
vertical-align:top;
}
.videogallery .onephotoframe span {
display: block;
background: url(/img/photobullet.jpg) left 2px no-repeat
}
.videogallery .onephotoframe span a {
display: block;
font:12px arial;
min-height: 20px;
padding: 0 0 3px 12px;
color:#58595b;
text-decoration: none;
}
.videogallery .onephotoframe span a:hover {
color:#005ba8; 
}
.lock {
	/* when modal is opened we're removing scrollbars from the main content */
	overflow: hidden;
}

.themodal-overlay {
	/* overlay will stay fixed and will take all the space available */
	position: fixed;
	bottom: 0;
	left: 0;
	top: 0;
	right: 0;
	z-index: 100;

	/* if modal content doesn't fit inside the overlay, display scrollbars */
	overflow: auto;

	/* allow one-finger iPad scrolling */
	-webkit-overflow-scrolling: touch;

}

/* fix for iPad glitches */
.themodal-overlay > * {
	-webkit-transform: translateZ(0px);
}

.themodal-overlay {
	background: rgba(0, 0, 0, 0.5);
	/* IE6–IE8 */
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr = #7F000000, endColorstr = #7F000000);
	zoom: 1;
}
