

/********************************
	Side Menu With Dark And Overlay
*********************************/

.sidebar-menu{
	position:relative;
	z-index:33;
}
.button_container {
  position: fixed;
  top: 25px;
  right:40px;
  height:47px;
  width: 35px;
  cursor: pointer;
  z-index: 100;
  transition: opacity 0.25s ease;
}
.button_container:hover {
  opacity: 0.7;
}
.button_container.active .top {
  transform: translateY(11px) translateX(0) rotate(45deg);
  background: #000;
}
.button_container.active .middle {
  opacity: 0;
  background: #000;
}
.button_container.active .bottom {
  transform: translateY(-11px) translateX(0) rotate(-45deg);
  background: #000;
}
.button_container span {
  background: #fff;
  border: none;
  height:2px;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transition: all 0.35s ease;
  cursor: pointer;
}
.button_container span:nth-of-type(2) {
  top: 11px;
}
.button_container span:nth-of-type(3) {
  top: 22px;
}

.overlay {
  position: fixed;
  background: #fff;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s, visibility 0.35s, height 0.35s;
  overflow: hidden;
}
.overlay.open {
  opacity: 0.9;
  visibility: visible;
  height: 100%;
}
.overlay.open li {
  -webkit-animation: fadeInRight 0.5s ease forwards;
          animation: fadeInRight 0.5s ease forwards;
  -webkit-animation-delay: 0.35s;
          animation-delay: 0.35s;
}
.overlay.open li:nth-of-type(2) {
  -webkit-animation-delay: 0.4s;
          animation-delay: 0.4s;
}
.overlay.open li:nth-of-type(3) {
  -webkit-animation-delay: 0.45s;
          animation-delay: 0.45s;
}
.overlay.open li:nth-of-type(4) {
  -webkit-animation-delay: 0.5s;
          animation-delay: 0.5s;
}
.overlay.open li:nth-of-type(5) {
  -webkit-animation-delay: 0.55s;
          animation-delay: 0.55s;
}
.overlay.open li:nth-of-type(6) {
  -webkit-animation-delay: 0.6s;
          animation-delay: 0.6s;
}
.overlay nav {
	position: relative;
	height: 70%;
	top: 50%;
	transform: translateY(-50%);
	font-weight: 500;
	text-align: center;
}
.overlay ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: inline-block;
  position: relative;
  height: 100%;
}
.overlay ul li {
	display: block;
	height: auto;
	min-height: 20px;
	position: relative;
	opacity: 0;
}
.overlay ul li a {
  display: block;
  position: relative;
  font-size: 44px;
  letter-spacing: 4px;
  text-decoration: none;
  overflow: hidden;
}
.overlay ul li a i, .sidebar-nav ul li a i {
	margin-right:5px;
}
.overlay ul li a:hover:after, .overlay ul li a:focus:after, .overlay ul li a:active:after {
  width: 100%;
}
.overlay ul li a:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0%;
  transform: translateX(-50%);
  height: 3px;
  background: #FFF;
  transition: 0.35s;
}


@media (max-width: 480px) {
body .overlay ul li a {
  font-size: 30px !important;
}
.button_container{
  top: 20px;
  right: 20px;
  height: 35px;
  width: 30px;
}
}


@-webkit-keyframes fadeInRight {
  0% {
    opacity: 0;
    left: 20%;
  }
  100% {
    opacity: 1;
    left: 0;
  }
}

@keyframes fadeInRight {
  0% {
    opacity: 0;
    left: 20%;
  }
  100% {
    opacity: 1;
    left: 0;
  }
}



/********************************
	Side Slide Menu With Dark
*********************************/

.bg-white .button_container span {
  background: #000;
}

.bg-white-nav .button_container.active .top {
	transform: translateY(11px) translateX(0) rotate(45deg);
	background: #000;
}
.bg-white-nav .button_container.active .bottom {
	transform: translateY(-11px) translateX(0) rotate(-45deg);
	background: #000;
}


.side-nav.open{
    box-shadow: -15px 0 60px -5px rgba(0,0,0,.2);
    -webkit-transform: translateX(0);
    transform: translateX(0);
}
.side-nav {
    position: fixed;
    width: 260px;
    right: 0px;
    height: 100%;
	-webkit-transform: translateX(100%);
    transform: translateX(100%);
    background-color: #fff;
    transition: all .5s ease;
}
.sidebar-nav ul{
	margin:0;
	padding:0;
	margin-top: 120px;
}
.sidebar-nav li{
    list-style: none;	
}
.sidebar-nav li a {
    display: block;
    width: 100%;
    color: #000;
	font-size:20px;
	font-weight:500;
	text-align:left;
    padding: 20px 20px;
	margin-left:60px;
    box-sizing: border-box;
    border-left: 5px solid transparent;
    transition: all .5s ease;
}

.bg-dark-nav .sidebar-nav li a {
    color: #fff;
}
.bg-dark-nav .side-nav {
    background-color: #000;
}


















