﻿* {
  box-sizing: border-box;
}
.glyphicon-list:before {
  margin-right: 5px !important;
}
.glyphicon-link:before {
  margin-right: 5px !important;
}
.glyphicon-menu-down {
  float: right;
}
.dropdown-menu {
  width: 500px;
  background-color: #e9ecef;
  margin-left: 10px;
}
.dropdown-menu.show {
  left: 0px;
  transition: all 0.6s ease-in-out;
  top: 170px !important;
}
.dropdown-submenu .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -1px;
}
.linka {
    color: #005A28 !important;
}
.test {
  width: 97%;
}
.menu-tab {
  width: 80px;
  height: 90px;
  position: fixed;
  z-index: 100;
  background: #e9ecef;
  /*top: 60px;*/
  left: 0px;
  cursor: pointer;
  transition: all 0.6s ease-in-out;
}
.menu-tab div {
  width: 33px;
  height: 4px;
  background-color: #2d2d2d;
  display: block;
  margin: 5px 28px;
  transition: all 0.6s ease-in-out;
}
.menu-tab div:nth-child(1) {
  margin-top: 20px;
}
.menu-tab.active {
  left: 500px;
  transition: all 600ms ease-in-out;
  background-color: rgba(255, 255, 255, 0.2);
}
.menu-tab.active #one {
  transform: translateY(9px) rotate(-135deg);
  transition: all 0.6s ease-in-out;
  background-color: #e74c3c;
}
.menu-tab.active #two {
  opacity: 0;
  transition: .4s ease;
}
.menu-tab.active #three {
  transform: translateY(-9px) rotate(-45deg);
  transition: all 0.6s ease-in-out;
  background-color: #e74c3c;
}
.menu-hide {
  width: 500px;
  background-color: #e9ecef;
  left: -500px;
  height: 100%;
  position: fixed;
  z-index: 10;
  /*top: 70px;*/
  transition: all 0.6s ease-in-out;
  overflow-y: auto;
}
.menu-hide ul a {
  /*width: 70%;*/
  /*padding: 15px 10px;*/
  text-decoration: none;
  color: #808080;
  font-size: 14px;
  font-weight: 500;
  text-align: left;
}
/*end of menu-hide*/
.menu-hide.show {
  left: 0px;
  transition: all 0.6s ease-in-out;
}
.open > .dropdown-menu {
  -webkit-transform: scale(1, 1);
  transform: scale(1, 1);
}
    .open > .dropdown-menu li a {
        color: #005A28;
    }
.dropdown-menu li a {
    color: #005A28 !important;
}
/*.dropdown-menu {
  -webkit-transform-origin: top;
  transform-origin: top;
  -webkit-animation-fill-mode: forwards;  
  animation-fill-mode: forwards; 
  -webkit-transform: scale(1, 0);
  display: block;
  
  transition: all 0.2s ease-out;
  -webkit-transition: all 0.2s ease-out;
}*/
.dropdown-menu:after {
  border-bottom: 0;
  border-top: 6px solid rgba(39, 45, 51, 0.9);
  top: auto;
  display: inline-block;
  bottom: -6px;
  content: '';
  position: absolute;
  left: 50%;
  border-right: 6px solid transparent;
  border-left: 6px solid transparent;
}
nav.navbar {
  overflow-y: auto;
}
@media (max-width: 400px) {
  .menu-hide {
    width: 100%;
    left: -100%;
    /*position: relative;*/
    margin-bottom: 10px;
  }
  .menu-hide .toggle-btn {
    display: block;
    cursor: pointer;
    position: absolute;
    right: 10px;
    top: 10px;
    z-index: 10 !important;
    padding: 3px;
    background-color: #ffffff;
    color: #000;
    width: 40px;
    text-align: center;
  }
  .dropdown-menu {
    width: 100%;
  }
  .menu-tab.active {
    left: 300px;
  }
  .brand {
    text-align: left !important;
    font-size: 22px;
    padding-left: 20px;
    line-height: 50px !important;
  }
}
@media (min-width: 401px) and (max-width: 767px) {
  .menu-hide {
    width: 350px !important;
    left: -350px;
    /*position: relative;*/
    margin-bottom: 10px;
  }
  .menu-hide .toggle-btn {
    display: block;
    cursor: pointer;
    position: absolute;
    right: 10px;
    top: 10px;
    z-index: 10 !important;
    padding: 3px;
    background-color: #ffffff;
    color: #000;
    width: 40px;
    text-align: center;
  }
  .dropdown-menu {
    width: 350px !important;
  }
  .menu-tab.active {
    left: 350px !important;
  }
  .brand {
    text-align: left !important;
    font-size: 22px;
    padding-left: 20px;
    line-height: 50px !important;
  }
}
@media (min-width: 767px) {
  .menu-hide .menu-list .menu-content {
    display: block;
  }
}