﻿*{
    margin: 0;
    padding: 0;
}
body{
  background-color:  #00A162;
   
}
.container{
    max-width: 1200px;
    background-color:#007d4c;
    padding: 20px;
    margin: 0 auto;
}
.header-text{
    text-align: center;
    color: rgb(255, 255, 51);
    margin: 20px 0 20px 0;
}
.text-1 h2{
  text-align: center;
  color: rgb(255, 255, 51);
  margin: 0 0 20px 0;
}
.text-1 p{
  color: rgb(255, 255, 51);
  font-size: 22px;
}

.text-2 h2{
  text-align: center;
  color: rgb(255, 255, 51);
  margin: 20px 0 20px 0;
}
.text-2 p{
  color: rgb(255, 255, 51);
  font-size: 22px;
}

.text-3 h2{
  text-align: center;
  color: rgb(255, 255, 51);
  margin: 20px 0 20px 0;
}
.text-3 p{
  color: rgb(255, 255, 51);
  font-size: 22px;
} 

.group-1{
  text-align: center;
  color: rgb(255, 255, 51);
  margin: 20px 0 20px 0;
  text-transform: uppercase;
}
.group-2{
  text-align: center;
  color: rgb(255, 255, 51);
  margin: 20px 0 20px 0;
  text-transform: uppercase;
}
.group-3{
  text-align: center;
  color: rgb(255, 255, 51);
  margin: 20px 0 20px 0;
  text-transform: uppercase;
}

.link-img{
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: space-around;
  margin-bottom: 40px;
}
.link-img-block{
  max-width: 19%;
  margin-bottom: 10px;
  border: 1px solid rgb(255, 255, 51);
  box-shadow: 0 0 15px rgb(255, 255, 51, 0.5);
}
.images-width{
  text-align: center;
  margin: 15px 15px;
}
.images-width img{
  height: auto;
  width: 100%;
  max-width: 168px;
}

.link{
  text-align: center;
  margin: 20px;
}

.link a {
  color: #169664;
  font-size: 12px;
  font-weight: bold;
  padding: 10px 20px;
  background-color: rgb(255, 255, 51);
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 3px;
  border: 1px solid rgb(255, 255, 51);
}
.link a:hover {
  color: rgb(255, 255, 51);
  background-color: #00b36d;
  border: 1px solid rgb(255, 255, 51);
  transition: 0.6s;
}

.line{
  height: 2px;
  width: 100%;
  background-color:   rgb(255, 255, 51);
  box-shadow: 0 0 15px rgb(255, 255, 51, 0.5);
  margin-bottom: 20px;
}

.lines{
  height: 2px;
  width: 100%;
  background-color:   rgb(255, 255, 51);
  box-shadow: 0 0 15px rgb(255, 255, 51, 0.5);
  margin: 20px 0;
}
/* кнопка читать описание */

 .mymagicoverbox {
  display:inline-block;
  color:#ffffff;
  padding:10px;
  cursor:pointer;
  font-weight:300;
 }
 .mymagicoverbox_fenetre {
  margin: 0 auto;
  max-width: 1184px;
  z-index:9999;
  position:fixed;
  top:100px;
  display:none;
  padding:5px;
  background-color:rgb(255, 255, 51);
  color:#97BF0D;
  font-style:normal;
  font-size:20px;
  font-weight:300;
 }
 .mymagicoverbox_fenetreinterieur {
  overflow-y: scroll;
  font-size: 25px;
  height: 500px;
  padding:10px;
  background-color:#00A162;
  color: rgb(255, 255, 51);
  font-weight:400;
 }
 .mymagicoverbox_fermer {
  margin-top: 30px;
  color: #00A162;
  font-weight: bold;
  cursor: pointer;
  font-weight: 400;
  font-size: 16px;
  float: right;
  padding: 10px;
  text-align: center;
  background-color: rgb(255, 255, 51);
  border: 1px solid #00A162;
  border-radius: 3px;
 }
 .mymagicoverbox_fermer:hover{
  background-color: #00A162;
  color: rgb(255, 255, 51);
  transition: 0.6s;
  border: 1px solid rgb(255, 255, 51);

 }

 #myfond_gris {
  display: none;
  background-color:#000000;
  opacity:0.7;
  width:100%;
  height:100%;
  z-index:9998;
  position:fixed;
  top:0;
  bottom:0;
  right:0;
  left:0;
 }


.wrapper{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    margin-top: 50px;
}
.wrapper-img{
    width: 50%;
    padding: 10px;
}
.wrapper-text-header{
    color: rgb(255, 255, 51);
}
.wrapper-text{
    width: 50%;
    background-color: #00A162; 
    color: rgb(255, 255, 51);
    padding: 10px;
}
.wrapper-img img{
    width: 100%;
    height: auto;
}
/* Для картинки */
a.lightzoom {
    cursor: zoom-in;
    cursor: -webkit-zoom-in;
    cursor: -moz-zoom-in;
  }
  
  #lz-container {
    display: block;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
    white-space: nowrap;
    position: absolute;
    z-index: 9999990 !important;
  }
  
  #lz-box {
    position: fixed;
    height: 100%;
    width: 100%; 
    line-height: 1px;
    text-align: center;
    display: inline-block;
    z-index: 9999998 !important;
  }
  
  #lz-overlay {
    display: block;
    opacity: 1;
    background: #000;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 9999991 !important;
  }
  
  #lz-box:before {
    content: "";
    display: inline-block;
    height: 50%;
    background-size: 100%;
  }
  
  #lz-box img {
    float: none;
    display: inline-block;
    max-height: 95%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    width: auto;
    height: auto;
    vertical-align: middle;
    opacity: 0;
    position: relative;
    z-index: 9999995 !important;
  }
  
  #lz-box p {
    position: relative;
    bottom: 0;
    margin-top: -30px;
    margin-bottom: 0;
    line-height: 20px;
    font-size: 18px;
    z-index: 9999997 !important;
  }
  
  #lz-close {
    display: block;
    color:#ffffff;
    position: absolute;
    top: 2%;
    right: 2%;
    height: 51px;
    padding: 5px;
    opacity: 0.6;
    z-index: 9999998 !important;
  }
  
  #lz-close:hover {
    opacity: 1;
  }
  
  #loading-center {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 9999999 !important;
  }
  
  #loading-center-absolute {
    position: absolute;
    left: 50%;
    top: 50%;
    height: 150px;
    width: 150px;
    margin-top: -75px;
    margin-left: -75px;
  }
  
  .object {
    width: 20px;
    height: 20px;
    background-color: #FFF;
    float: left;
    margin-right: 20px;
    margin-top: 65px;
    -moz-border-radius: 50% 50% 50% 50%;
    -webkit-border-radius: 50% 50% 50% 50%;
    border-radius: 50% 50% 50% 50%;
  }
  
  #object_one {
    -webkit-animation: object_one 1.5s infinite;
    animation: object_one 1.5s infinite;
  }
  
  #object_two {
    -webkit-animation: object_two 1.5s infinite;
    animation: object_two 1.5s infinite;
    -webkit-animation-delay: 0.25s;
    animation-delay: 0.25s;
  }
  
  #object_three {
    -webkit-animation: object_three 1.5s infinite;
    animation: object_three 1.5s infinite;
    -webkit-animation-delay: 0.5s;
    animation-delay: 0.5s;
  }
  
  @-webkit-keyframes object_one {
    75% {
      -webkit-transform: scale(0);
    }
  }
  
  @keyframes object_one {
    75% {
      transform: scale(0);
      -webkit-transform: scale(0);
    }
  }
  
  @-webkit-keyframes object_two {
    75% {
      -webkit-transform: scale(0);
    }
  }
  
  @keyframes object_two {
    75% {
      transform: scale(0);
      -webkit-transform: scale(0);
    }
  }
  
  @-webkit-keyframes object_three {
    75% {
      -webkit-transform: scale(0);
    }
  }
  
  @keyframes object_three {
    75% {
      transform: scale(0);
      -webkit-transform: scale(0);
    }
  }
  /* Адаптивное меню */
  nav{
    display:block;
    text-align: center;
    background:#00A162;
  }
  .menu{
    display:block;
  }
  .menu li{
    display: inline-block;
    position: relative;
    z-index:100;
  }
  .menu li:first-child{
    margin-left:0;
  }
  
  .menu li a {
    font-weight:600;
    text-decoration:none;
    padding:11px;
    display:block;
    color: #fff703;
  
    -webkit-transition: all 0.2s ease-in-out 0s;
    -moz-transition: all 0.2s ease-in-out 0s;
    -o-transition: all 0.2s ease-in-out 0s;
    -ms-transition: all 0.2s ease-in-out 0s;
    transition: all 0.2s ease-in-out 0s;
  }
  
  .menu li a:hover, 
  .menu li:hover > a{
    color:#007d4c;
    background:rgb(255, 255, 51);
  }
  
  .menu ul {
    display: none;
    margin: 0;
    padding: 0;
    width: 150px;
    position: absolute;
    top: 40px;
    left: 0px;
    background: #ffffff;
  }
  
  .menu ul li {
    display:block;
    float: none;
    background:none;
    margin:0;
    padding:0;
  }
  .menu ul li a {
    font-size:12px;
    font-weight:normal;
    display:block;
    color:rgb(255, 255, 51);;
    border-left:3px solid rgb(255, 255, 51);
    background:#00A162;
  }
  .menu ul li a:hover, .menu ul li:hover > a{
    background:rgb(255, 255, 51);
    border-left:3px solid rgb(255, 255, 51);
    color:#00A162;
  }
  .menu li:hover > ul{
    display: block;
  }
  .menu ul ul {
    left: 149px;
    top: 0px;
  }
  .mobile-menu{
    text-decoration: none;
    display:none;
    width:93%;
    margin: 0 auto;
    padding:11px;
    background:#00A162;
    color:#ffffff;
    text-transform:uppercase;
    font-weight:600;
  }
  .mobile-menu:hover{
    background:rgb(255, 255, 51);
    color:#00A162;
    text-decoration:none;
  }
  @media (min-width: 768px) and (max-width: 979px) {
  
    .mainWrap{
      width:768px;
    }
    .menu ul {
      top:37px;
    }
    .menu li a{
      font-size:12px;
      padding:8px;
    }
  }
  
  @media (max-width: 760px) {
  
    .mainWrap{
      width:auto;
    }
    .menu{
      display:none;
    }
    .mobile-menu{
      display:block;
    }
    nav{
      margin:0;
      background:none;
    }
    .menu li{
      display:block;
      margin:0;
    }
    .menu li a {
      background:#00A162;
      color:rgb(255, 255, 51);
      border-top:1px solid #e0e0e0;
      border-left:3px solid #ffffff;
    }
    .menu li a:hover, .menu li:hover > a{
      background:rgb(255, 255, 51);
      color:#00A162;
      border-left:3px solid rgb(255, 255, 51);
    }
    .menu ul {
      display:block;
      position:relative;
      top:0;
      left:0;
      width:100%;
    }
    .mobile-menu:hover{
      background:rgba(0, 161, 98, 0.9);
    }
    .menu ul ul {
      left:0;
    }
  
  }

@media screen and (max-width: 961px) {
  .link-img{
    flex-wrap: wrap;
  }
  .link-img-block{
    max-width: 30%;
    margin-bottom: 10px;
  }
  .text-1 p{
    font-size: 16px;
  }
  .text-2 p{
    font-size: 16px;
  }
  .text-3 p{
    font-size: 16px;
  }
  .text-4 p{
    font-size: 16px;
  }
  .mymagicoverbox_fenetreinterieur{
    font-size: 18px;
  }
  
}


@media screen and (max-width: 600px) {
  .link-img{
    flex-wrap: wrap;
  }
  .link-img-block{
    max-width: 48%;
  }
  .link a {
    font-size: 9px;
    padding: 10px 10px;
  }
  .images-width img {
    max-width: 180px;
  }


@media screen and (max-width: 320px) {
  .images-width img{
    max-width: 150px;
  }
  .link{
    margin: 10px;
  }
}
}