
header .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 165px; (--высота шапки)
    max-width: 1170px;
	width: 100%;
	padding: 0 15px;
	margin: 0 auto;
}
header {
 background: #00b0d8 url(../img/06.jpg) repeat-x;
    
}
@media (max-width:768px) {
	header .container {
		flex-wrap: wrap;
		height: auto;
		padding: 15px 0;
	}
}
img.logo {
	width: 50%; /* Ширина */
    float: left; /* Выстраиваем элементы по горизонтали */
    margin: 10%; /* Отступ слева */
    background: #f0f0f0; /* Цвет фона */
    border-radius: 50px; /* Радиус скругления */
    background: url(../img/02.jpg) center no-repeat;
	
}


* {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
}


.sitename {
	text-align: center;
	padding: 0 15px;
	margin-right: auto;
}

.sitename span {
	color: #000000;
	text-align: center;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.6;
}

.sitename h1 {
	color: #000000 ;
	font-size: 22.5px;
	line-height: 27px;
	text-align: left;
	font-weight: 100;
    margin-bottom: 8px;
}
.sitename h1 {
		text-align: center;
		font-size: 20px;
		line-height: 1;
	}
	.sitename p {
		font-size: 14px;
		line-height: normal;
		text-align: center;
		margin-bottom: 10px;
	}
	.sitename {
		width: 100%;
	}

    .sitename p {
	color: #000000;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.5; 
	text-align: left;
	margin-bottom: 0;
}

.contacts {
	width: 450px; /* Ширина контактных данных в шапке */
}

.contacts .heading {
	display: block;
	font-size: 23px;
	margin-bottom: 19px;
	color: #000000;
}

.contacts p {
	line-height: 15px;
	font-size: 14px;
	color: #000000;
}


.contacts a {
	color: #000000;
	text-decoration: none;
}

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

@media (max-width:480px) {
	.sitename p {
		font-size: 14px;
	}
}

body {
        background: #00b0d8 url(../img/fon.jpg) repeat-x; /* Фоновый цвет и фоновый рисунок*/
		background-attachment: fixed; /* Фон страницы фиксируется */
		background-repeat: repeat-x; /* Изображение повторяется по горизонтали */
	}

	
 .menu {
	width: 100%;/* ширина меню */
	display: table;
}
.menu ul {
	display: table-row;
    
}
.menu li {
	display: table-cell;/* выравнивание по горезонтали */
	position: relative;
	background: #2767A0;
}
.menu li a {
	display: block;
	padding: 15px 15px;/* выравнивание по вертикали */
	color: #fff;/* цвет текста */
	text-align: center;/* позиционирование текста в горезонтальном меню */
}
.menu-caret:after {
	display: inline-block;
	width: 0;
	height: 0;
	margin-left: .255em;
	vertical-align: .255em;
	content: "";
	border-top: 3px solid;
	border-right: 3px solid transparent;
	border-bottom: 0;
	border-left: 3px solid transparent;
}
.menu ul li:hover, .menu a:hover {
	background: #B0C4DE;
    color: #2767A0; /* Цвет ссылки при наведении на нее курсора мыши */  
    text-decoration: underline; /* Добавляем подчеркивание */
}
.menu li:hover ul  {
	display: block;
	position: absolute;
	top: 100%;/* отступ вертикального меню от горезонтального */
	left: 0px;/* позиционирование вертикального меню */
	background:  #2767A0;/* Фон вокруг выплывающего меню */
	margin: 0;
	padding: 10px 20px;/* позиционирование текста в вертикальном меню */
	width: 250px;/* ширина выплывающего вертикального меню */
	z-index: 9999;
    
}
.menu ul ul  {
	display: none;
}
.menu ul ul li  {
	display: block;
	background:  #2767A0;
	padding: 4px 0;
    
}
.menu ul ul li a  {
	display: block;
	padding: 0;
	background:  #2767A0;
	
}


/* форма обратной связи */
#submit{           
    width: 100px;
    height: 50px;
    margin: 5px;
    margin-bottom:100px; 
}
#submit {

font-family: sans-serif;
color: #ffffff;
font-size: 18px;
padding: 0px;
text-decoration: none;
box-shadow: 0px 1px 3px #2767A0;
-webkit-box-shadow: 0px 1px 3px #2767A0;
-moz-box-shadow: 0px 1px 3px #2767A0;
text-shadow: 1px 1px 3px #2767A0;
background: -webkit-gradient(linear, 0 0, 0 100%, from(#ce1515), to(#8b0d0d));
background: -moz-linear-gradient(top, #ce1515, #8b0d0d);
}
 
#submit:hover {
 background: -webkit-gradient(linear, 0 0, 0 100%, from(#8b0d0d), to(#ce1515));
 background: -moz-linear-gradient(top, #8b0d0d, #ce1515)
     
}
 

/* Это фото самоподготовки */

features-block{
  box-sizing: border-box;
  margin-top: 50;
  padding: 50;
  
    }


.features-block a:-webkit-any-link {
    color: #ffff;
    cursor: pointer;
    text-decoration: underline;
     text-align: center;
}
.features-block h1:-webkit-any-link {
    color: #ffff;
    text-align: center;
}

img {
  display: block;
  max-width: 100%;
    
}

.image {
  display: flex;
  justify-content: space-around;
  border: 2px solid #55c5e9; /* Рамка вокруг фотографии */
    padding: 50px; /* Расстояние от картинки до рамки */
    background: url(../img/000.jpg); /* Цвет фона */
    margin: 100px;100px;100px;100px /* Отступ  */
    
  
}

.image>span {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.image>span>*:not(:last-child) {
  margin-bottom: 15px;
}


/* Подвал сайта */
 footer {
   position: fixed;
   left: 0;
   bottom:0;
   height: 35px;
   width: 100%;
   background-color: #2767A0;
   color: white;
   text-align: center;
}



footer .container {
		flex-wrap: wrap;
		height: auto;
		padding: 15px;
	}
	footer .sitename p{
		text-align: center;
	}















