* {
	box-sizing: border-box;
}

.row:after {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: " ";
  clear: both;
  height: 0;
}
.row { display: inline-block; }
/* start commented backslash hack \*/
* html .row { height: 1%; }
.row { display: block; }
/* close commented backslash hack */

.wrapper {
	background-image: url(img/Serpuhov_1.jpg);
	background-repeat: no-repeat;
}

.header {

	margin-bottom: 10px;
}

.inner-header {
	/*background: #FFFFFF;*/
	height: 200px;
}

.hat {
	padding-top: 20px;
}

.hat_menu {
	padding-top: 50px;
}

.hat1{
	width: 33.33%;
	float: left;
	padding-left: 30px;
}

.name{
	
	font-size: 30px;
}
.logo {
	background-image: url(img/DIN885_1.jpg);
	background-repeat: no-repeat;
	float: left;
	width: 33px;
	height: 33px;
}

.sad {
	color: #BFAFB2;
}

.hat2{
	width: 33.33%;
	float: left;
	padding-left: 60px;
}
.hat3{
	width: 33.33%;
	float: left;
	text-align: right;
	padding-right: 30px;
}

.content {
	width: 80%;
	float: left;
}

.inner-content {
	background: #FFFFFF;
	min-height: 500px;
	padding-top: 10px;
}

.text_21 {
	float: right;
	font-size: 20px;
	line-height: 30px;
}

.text_31 {
	font-style: italic;
}

.sidebar {
	width: 20%;
	float: left;
	padding-left: 10px;
}

.inner-sidbar {
	background: #FFFFFF;
	min-height: 500px;
}
.footer {
	background: #FFFFFF;
	height: 200px;
	margin-top: 10px;
}

.inner-footer {
	background: #FFFFFF;
	height: 200px;
}
.telefon{
	color: #3D85B7;
	font-size: 22px;
}

.fon {
	/*background-image: url(img/29129334.jpg);*/
	background-repeat: no-repeat;
	width: 100%;
	height: 400px;
}

.dws-menu *{
	margin: 0;
	padding: 0;
}

.dws-menu ul,
.dws-menu ol{
	list-style: none;
}

.dws-menu > ul{
	display: flex;
	justify-content: center;
}

.dws-menu > ul li a {
	display: block;
	background: #ececed;
	padding: 15px 30px 15px 40px;
	font-size: 14px;
	color: #454547;
	text-decoration: none;
	text-transform: uppercase;
	transition: all 0.3s ease;
}

.dws-menu > ul li{
	position: relative;
	border-right: 1px solid #c7c8ca;
}

.dws-menu > ul li > a i.fa {
	position: absolute;
	top: 15px;
	left: 12px;
	font-size: 18px;
}

.dws-menu > ul li:first-child{
	border-left: 1px solid #b2b3b5;
}

.dws-menu > ul li:last-child{
	border-right: 1px solid #babbbb;
}

.dws-menu li a:hover{
	background: #454547;
	color: #ffffff;
	box-shadow: 1px 5px 10px -5px black;
	transition: all 0.3s ease;
}

/*Sub menu*/

.dws-menu li ul{
	position: absolute;
	min-width: 150px;
	display: none;
}

.dws-menu  li > ul li{
	border: 1px solid #c7c8ca;
}

.dws-menu  li > ul li a{
	padding: 10px;
	text-transform: none;
	background: #e4e4e5;
}

.dws-menu  li > ul li ul{
	position: absolute;
	right: -150px;
	top: 0;
}

.dws-menu  li:hover > ul{
	display: block;
}

.registration {
	padding: 20px;
}

/*gallery*/

.gallery img{
	margin:5px;
	border:3px solid #fff;
}

a.photo:hover img{
	border:3px solid #034f80;
}


/*����������� ����*/

.overlay {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	display: none;
}
 .popup {
	 position: absolute;
	 width: 400px;
	 left: 50%;
	 top: 50%;
	 transform: translate(-50%, -50%);
	 padding: 40px;
	 box-sizing: border-box;
	 background-color: #ff5252;
	 color: #fff;
	 text-align: center;
	 font-size: 20px;
 }

.close-popup {
	 position: absolute;
	 width: 23px;
	 right: 15px;
	 top: 15px;
	 height: 23px;
	 cursor: pointer;
}


 
 
 
 
 
 
 













