html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1;
}
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

body{
  width: 100%;
  background: url(background20.jpg);
  box-sizing: border-box;
   margin: 0;
}
header{
   background: #d8f2ff;
   border-bottom: 2px solid   #5757a0;
   
   
   position: relative;
   
   padding: 0 10px;
   font: 16px/20px century gothic, Arial, sans-serif;
   width: 100%;
}

.container {
   margin: 0 auto;
   width: 100%;
   max-width: 1500px;
   padding: 0 10px;
}
.logo {
  
   float: left;
}
.tel{
   font-size: 18px;
  position: relative;
  bottom: 8px;
   display: inline-block;
}
.tel a{
   text-decoration: none;
   color: #000;
}

.insta{
    display: inline-block;
    margin-top: 15px;    
}
.insta a{
   font-size: 2em;/*размер иконок*/
    color: #000;/*цвет иконок*/
    margin: 0 10px; 
    
}
.nav-toggle {
   display: none;
   position: relative;
   float: right;
   width: 40px;
   height: 40px;
   border-radius: 50%;
   margin-left: 20px;
   margin-top: 12px;
   background: #bbdbb8;
   cursor: pointer;
}
.nav-toggle span {
   display: block;
   position: absolute;
   top: 19px;
   left: 9px;
   right: 9px;
   height: 2px;
   background: black;
}
.nav-toggle span:before, .nav-toggle span:after {
   content: "";
   position: absolute;
   display: block;
   left: 0;
   width: 100%;
   height: 2px;
   background: black;
}
.nav-toggle span:before {
   top: -10px;
}
.nav-toggle span:after {
   bottom: -10px;
}
/* класс, который будет добавлен в верхнему меню при нажатии на кнопку и покажет скрытое меню*/
#menu.active {
   max-height: 180px;
   background: #fff;

}
#menu {
   float: right;
   padding: 0 15 px;
}
#menu li {
   display: inline-block;
   margin-right: 30px;
 margin-top: 23px;

}
#menu a {
   color: #111;
   text-transform: uppercase;
   letter-spacing: 1px;
   font-weight: 600;
   display: block;
   line-height: 40px;
   text-decoration: none;
   font: 16px/20px century gothic, Arial, sans-serif;
   display: block;
}
#menu a:hover {
   color: #EF5A42;
}
#menu li:last-child {
   margin-right: 0;
}

header:after, .container:after, footer:after, .widget-posts-list li:after, #subscribe:after {
   content: "";
   display: table;
   clear: both;
}



* {
    box-sizing: border-box;
}


.start{
  display: flex;
  height:400px;
  align-items: center;
  margin-bottom: 0px;
  color: #fff;
  background: #cacaca url("start.jpg") no-repeat 100% 40% / cover;
  outline: 2px solid black;
  font: 26px/40px century gothic, Arial, sans-serif;
  border-bottom: 30px;
 
}
.start h1, h2  {
 max-width: 800px;
  
  font-size: 42px;
  line-height: 50px;
  font-weight: normal;
  padding: 0px 30px;
}



.name_yslyg{
   font: 18px/16px century gothic, Arial, sans-serif;

   margin: 15px 0;
}
.box_yslyg img{
   width: 125px;
  height: 125px;
}
.box_yslyg_obsh{
   flex: 15%;
  max-width: 15%;
  box-sizing: border-box;
  padding: 15px;
}
.yslygi_podo {
  padding: 30px 0;
  
  color: #2f2f2f;
  text-align: center;
}
.podolog_obsh{
  max-width: 1200px;
  margin: auto;
  overflow: hidden;
  padding: 0 20px;
  font: 30px/30px century gothic, Arial, sans-serif;

}

.block_yslyg {
  width: 250px;
  height: 3px;
  background: #a6d8f7;
  margin: 20px auto;
}

.block_rovn{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
@media screen and (max-width:960px) {
.box_yslyg_obsh{
  flex: 100%;
  max-width: 80%;
}
}

@media screen and (max-width:600px) {
.box_yslyg_obsh{
  flex: 100%;
  max-width: 100%;
}
}



.lb_withimage_wr{
    padding: 25px;
    background-color:#f3f3f3;
    margin: 0 0 50px 0;

}
.lb_withimage_image{
    background-position: 50%;
    -webkit-background-size: cover;
    background-size: cover;
    width: 380px;
    height: 240px;
}
.lb_withimage_item{
    background: #fff;
    box-shadow: 0 0 5px #aaa;
    -webkit-box-shadow: 0 0 5px #aaa;
    -moz-box-shadow: 0 0 5px #aaa;
    -o-box-shadow: 0 0 5px #aaa;
}
.lb_withimage_item + .lb_withimage_item{
    margin-top: 24px;
}
.lb_withimage_item.leftimage .lb_withimage_image_wr{
    float: left;
    position: relative;
    margin-right: 85px;
}
.lb_withimage_item.rightimage .lb_withimage_image_wr{
    float: right;
    position: relative;
    margin-left: 85px;
}
.lb_withimage_image_icon{
    position: absolute;
    top:50%;
    margin-top:-50px;
    background: rgb(191,224,114);
    background: -moz-linear-gradient(top, rgba(191,224,114,1) 0%, rgba(138,182,107,1) 44%, rgba(86,150,61,1) 100%);
    background: -webkit-linear-gradient(top, rgba(191,224,114,1) 0%,rgba(138,182,107,1) 44%,rgba(86,150,61,1) 100%);
    background: linear-gradient(to bottom, rgba(191,224,114,1) 0%,rgba(138,182,107,1) 44%,rgba(86,150,61,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bfe072', endColorstr='#56963d',GradientType=0 );
    padding: 15px;
    box-sizing: border-box;
    width: 100px;
    height: 100px;
    border: 2px solid #FFF;
    border-radius: 100%;
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    -o-border-radius: 100%;

}
.leftimage .lb_withimage_image_icon{
    right: -50px;
}
.rightimage .lb_withimage_image_icon{
    left: -50px;
}
.lb_withimage_text_wr{
    padding: 50px 50px 25px;
}
.rightimage .lb_withimage_text_wr{
    text-align: right;
}
.lb_withimage_text_title{
  
    font: 18px/28px century gothic, Arial, sans-serif;
    margin-bottom: 15px;
}
.lb_withimage_text{
   
    font: 16px/28px century gothic, Arial, sans-serif;
    }

.clearfix{clear: both;}

.name_vika{
   padding: 25px;
   
    margin: 0 0 50px 0;
 }
.lb_withimage_image1{
   background-position: 50%;
    -webkit-background-size: cover;
    background-size: cover;
    width: 380px;
    height: 440px;

}


@media screen and (max-width:960px) {
.name{
  flex: 100%;
  max-width: 80%;
}
}

@media screen and (max-width:600px) {
.name{
  flex: 100%;
  max-width: 100%;
}
}

.clearfix{clear: both;}

.koguvcavis-varazdel {
  padding: 38px 0;
  background: #fff;
  color: #2f2f2f;
  text-align: center;
}
.sestim-donials{
  max-width: 1200px;
  margin: auto;
  overflow: hidden;
  padding: 0 20px;
  font: 30px/30px century gothic, Arial, sans-serif;
}
.koguvcavis-varazdel p{
   font: 20px/30px  Arial, sans-serif;
}


.sagestim-lonials{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.vemotau-vokusipol{
  flex: 33.33%;
  max-width: 33.33%;
  box-sizing: border-box;
  padding: 15px;
}
.testimonial {
  background: #fff;
  padding: 28px;
}
.testimonial img{
  width: 100px;
  height: 100px;
  border-radius: 50%;
}
.gecedanam{
  font-size: 20px;
  text-transform: uppercase;
  margin: 20px 0;
}
.apogered-gselected{
  color: #53b32b;
  margin-bottom: 20px;
}

@media screen and (max-width:960px) {
.vemotau-vokusipol{
  flex: 100%;
  max-width: 80%;
}
}

@media screen and (max-width:600px) {
.vemotau-vokusipol{
  flex: 100%;
  max-width: 100%;
}
}



footer{
    position: relative;/*относительное позиционирование*/
    width: 100%;/*на всю ширину*/
    padding: 20px 50px;/*поля для контента*/
    background: #d8f2ff;/*цвет футера*/
    display: flex;
    justify-content: center;/*в центре по горизонтали*/
    align-items: center;/*в центре по вертикали*/
    flex-direction: column;
    

 
}
.social,
.menu1{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px 0;
    flex-wrap: wrap;/*разрешен перенос на новую строку*/
}
.social li,
.menu1 li{
    list-style: none;/*удалить черные маркеры*/
}
.social li a {
    font-size: 2em;/*размер иконок*/
    color: black;/*цвет иконок*/
    margin: 0 10px;
    display: inline-block;/*отображать как строчно-блочный элемент*/
    transition: 0.5s;/*плавный переход*/
}
.menu1 li a {
    font-size: 1.2em;/*размер ссылок меню*/
    color: black;/*цвет ссылок меню*/
    opacity: 0.75;/*значение прозрачности*/
    margin: 0 15px;
    text-decoration: none;/*ссылка без подчеркивания*/
    display: inline-block;
}
.menu1 li a:hover {
    opacity: 1;
}
footer p {
    color: black;
    text-align: center;
    margin-top: 15px;
    font-size: 1.1em;
} 
@media (max-width: 768px) {
   /* показываем кнопку для переключения верхней навигации */
   .nav-toggle {
      display: block;
   }
   header {
      padding: 10px 0;
   }
   /* скрываем верхнее меню, отменяем обтекание, позиционируем его, сместив на высоту шапки сайта */
   #menu {
      max-height: 0;
      background: white;
      float: none;
      position: absolute;
      overflow: hidden;
      top: 63px;
      right: 0;
      left: 0;
      margin: 0;
      padding: 0;
      z-index: 3;
   }
   /* делаем элементы списка блочными, чтобы они располагались друг под другом */
   #menu li {
      display: block;
      text-align: center;
      border-bottom: 2px solid #EBEBE3;
      margin-right: 0;

   }
   /* отменяем обтекание левой и правой колонок, устанавливаем им ширину 100%*/
   .posts-list, aside {
      width: 100%;
      float: none;
   }
   .widget-post-title {
      font-size: 1.5em;
   }
}

@media (max-width: 550px) {
   
   /* отменяем обтекание для столбцов подвала страницы */
   .footer-col {
      float: none;
      margin-bottom: 20px;
      width: 100%;
      text-align: center;
   }
   .footer-col:last-child {
      text-align: center;
      margin-bottom: 0;
   }
}