@import 'https://fonts.googleapis.com/css?family=Fira+Sans:300,400';
@import 'https://fonts.googleapis.com/icon?family=Material+Icons';

* {
  box-sizing: border-box;
}
body.nav-is-toggled {
  overflow: hidden;
  position: fixed;
}
.mobile-menu {
  font-family: inherit;
  font-size: 16px;
  line-height: 1.2;
  position: relative;
  width: 100%;
  overflow: hidden;
}
.mobile-menu .header {
  padding: 10px 0;
}

.mobile-menu::after {
  content: "";
  position: absolute;
  z-index: 99;
  background-color: rgba(24, 137, 118, 0.8);
  height: 100vh;
  width: 100%;
  transition: 0.4s;
  opacity: 0;
  visibility: hidden;
}
.mobile-menu a {
  text-decoration: none;
  text-align: center;
}
.mobile-menu a span {
  display: none;
}
.mobile-menu .nav > li {
  position: unset !important;
}
.mobile-menu .flex-header .logo-wrap { 
  display: block;
  width: 80px; 
}
.nav-top {
  display: flex;
  align-items: center;
  position: absolute;
  z-index: 101;
  padding: 15px 5px;
  width: 100%;
  height: auto;
  /*background-color: #188976;*/
  top: 0;
  justify-content: space-around;
}
.nav-top_fixed {
  position: fixed; 
  animation: fixedMenu 1s forwards;
  background-color: #EDEBE2;
  height: 50px;
  justify-content: space-around;
  -webkit-box-shadow: 0px 0px 5px 0px rgba(105, 113, 120, 0.2);
  -moz-box-shadow: 0px 0px 5px 0px rgba(105, 113, 120, 0.2);
  box-shadow: 0px 0px 5px 0px rgba(105, 113, 120, 0.2);
}
.nav-top_name {
  visibility: hidden;
  font-size: 12px;
  font-family: 'DroidSerif-Bold', 'Book-Antiqua', 'Palatino', serif;  
}

@keyframes fixedMenu {
  0% {
    height: 0;
  }
  50% {
    height: 50px;
  }
  100% {
    height: 40px;
  }
}
.nav-top .hamburger {
  margin-left: auto;
  color: #720A0A;
  cursor: pointer;
}

.nav-drill {
  margin-top: 0;
  transform: translateX(100%);
}

.nav-is-toggled .nav-drill {
  transform: translateX(0);
}
.nav-is-toggled::after {
  opacity: 1;
  visibility: visible;
}

.nav-drill {
  display: flex;
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;  
  width: 100%;
  height: 100vh;
  background-color: #EDEBE2;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  transition: 0.45s;
}
.nav-items {
  flex: 0 0 100%;
  display: flex;
  flex-direction: column;
  padding-top: 35px; 
  /*padding-top: 130px; для НГмотни*/
  padding-bottom: 25px;
}
/*.nav-item:not(:last-child) {
  border-bottom: solid 1px #daf9f4;
}*/
.nav-link, .nav_sub-title {
  display: block;
  padding: 10px;
  background-color: #EDEBE2;
  color: #2A2A2A;
  line-height: 1.2em;
  font-weight: 300;
  font-size: 18px;
  text-transform: uppercase;
  font-family: 'DroidSerif-Regular', 'Book-Antiqua', 'Palatino', serif;
}

.nav-expand-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;  
  transform: translateX(100%);  
  transition: 0.3s;
  visibility: hidden;
  z-index: 101;
  height: 0;
  overflow-y: auto;
  padding-bottom: 50px;

}
.nav-expand-content .nav-item:not(:last-child) {
  border-bottom: solid 1px #e8e7e2;
}
.nav-expand-content .nav-link {
  background-color: #daf9f4;
}

.nav-expand-content .nav-back-link::before {
  content: "";
  background-image: url(../img/icon/angle-left-black.svg);
  background-repeat: no-repeat;
  background-size: 130%;
  background-position: center;
  width: 25px; 
  height: 25px;
  margin-right: 10px;    
}
.nav-expand-link {
  display: flex !important;
  justify-content: center;
}
.nav-expand-link::after { 
  content: "";
  background-image: url(../img/icon/angle-right-black.svg); 
  background-repeat: no-repeat; 
  width: 25px; 
  margin-left: 5px; 
}
.nav-expand.expanded > .nav-expand-content {
  transform: translateX(0);
  visibility: visible;
  /*transform: translateY(0);*/
  height: auto;   
}
.nav-expand .nav-expand-content {
  background-color: #EDEBE2;
}
.nav-expand .nav-expand-content .nav-link, .nav_sub-title {
  background-color: #EDEBE2;
  font-size: 16px;
  line-height: 1.2;
  text-transform: none;
}
.nav_sub-title {
  font-weight: bold;
  text-align: center;
  text-transform: uppercase;
}
.nav-expand .nav-expand-content .nav-expand-content {
  background-color: #aff1e6;
}
.nav-expand .nav-expand-content .nav-expand-content .nav-link {
  background-color: #aff1e6;
}
.nav-expand .nav-expand-content .nav-expand-content .nav-expand-content {
  background-color: #84e9d9;
}
.nav-expand .nav-expand-content .nav-expand-content .nav-expand-content .nav-link {
  background-color: #84e9d9;
}
.nav-expand .nav-expand-content .nav-expand-content .nav-expand-content .nav-expand-content {
  background-color: #59e1cb;
}
.nav-expand .nav-expand-content .nav-expand-content .nav-expand-content .nav-expand-content .nav-link {
  background-color: #59e1cb;
}
.nav-expand .nav-expand-content .nav-back-link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.875em 1em;
  background-color: #EDEBE2;
  color: #2A2A2A;
  line-height: 1.2em;
  font-weight: 300;
  font-size: 20px;
  text-transform: uppercase;
  font-family: 'DroidSerif-Regular', 'Book-Antiqua', 'Palatino', serif;
}
.mobile-menu .container { 
  position: relative;
  overflow: hidden;
  height: 100%;
  padding-top: 0px;
}
.nav-expand-content .nav-item:first-child {
  border-bottom: 0;
}

.mobile-menu ul {
  list-style: none;
}

.mobile-menu .logo-text {
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 11px;
  text-transform: none;
}
.mobile-menu .logo-text p {
  line-height: 1.2;
}
.mobile-menu .logo-text p:nth-child(3) {
  line-height: 1.2;
  text-transform: uppercase;
  font-size: 11px;
  font-family: 'DroidSerif-Bold', 'Book-Antiqua', 'Palatino', serif;;
}
.mobile-menu .logo-wrap img {
  width: 100px;
  margin-bottom: 5px;
}
.mobile-menu .head {
  background-color: inherit;
}
.mobile-menu .enter {
  display: flex;
  background-color: #DCD8C8;
  text-align: center;
  padding: 10px 10px;
  border-radius: 2px;
  justify-content: center;
  color: #2A2A2A;
  font-size: 14px;
}
#ham {
  -webkit-user-select: none;
  user-select: none;
}
.mobile-menu input
{
  display: flex;
  width: 40px;
  height: 32px;
  position: absolute;
  cursor: pointer;
  opacity: 0;
  z-index: 2;
}
.mobile-menu .icon-bar {
  display: flex;
  background-color: #720A0A;
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 3px;
  margin-bottom: 4px;
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              opacity 0.55s ease;
}
.hamburger span:first-child
{
  transform-origin: 0% 0%;
}

.hamburger span:nth-last-child(2)
{
  transform-origin: 0% 100%;
}

.hamburger input:checked ~ span
{
  opacity: 1;
  transform: rotate(45deg) translate(-2px, -7px);
}
.hamburger input:checked ~ span:nth-last-child(3)
{
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}
.hamburger input:checked ~ span:nth-last-child(2)
{
  transform: rotate(-45deg) translate(0px, 10px);
}
.show-name {
  visibility: visible;
}