@charset "utf-8";
/* CSS Document */
@import url('https://fonts.googleapis.com/css?family=Lato:100');
body {
	/* [disabled]background-color: #F5F5F5; */
}

.container_m {
  position: absolute;
  width: 100%;
  heigh: 100%;
  text-align: center;
  top: 40%;
  left: 0;
  margin: 0 auto;
  font-family: 'Lato', sans-serif;
}
.container_m p {
  font-size: 20px;
}
.container_m a {
  display: inline-block;
  position: relative;
  text-align: center;
  color: #FF5252;
  text-decoration: none;
  font-size: 20px;
  overflow: hidden;
  top: 5px;
}
.container_m a:after {
  content: '';
  position: absolute;
  background: #FF5252;
  height: 2px;
  width: 0%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  left: 50%;
  bottom: 0;
  -webkit-transition: .35s ease;
  transition: .35s ease;
}
.container_m a:hover:after {
  width: 100%;
}

.overlay h1 {
  position: relative;
  text-align: center;
  font-family: 'Lato', sans-serif;
}

.button_container {
    position: fixed;
    top: 2.5%;
    right: 3%;
    height: 35px;
    width: 35px;
    cursor: pointer;
    z-index: 100;
    -webkit-transition: opacity .25s ease;
    transition: opacity .25s ease;
}
.button_container:hover {
  opacity: .7;
}
.button_container.active .topm {
  -webkit-transform: translateY(10px) translateX(0) rotate(45deg);
          transform: translateY(10px) translateX(0) rotate(45deg);
  background: #FFF;
}
.button_container.active .middle {
  opacity: 0;
  background: #FFF;
}
.button_container.active .bottom {
  -webkit-transform: translateY(-10px) translateX(0) rotate(-45deg);
          transform: translateY(-10px) translateX(0) rotate(-45deg);
  background: #FFF;
}
.button_container span {
    background: #FFFFFF;
    border: none;
    height: 2px;
    width: 100%;
    position: absolute;
    top: 0px;
    left: 0;
    -webkit-transition: all .35s ease;
    transition: all .35s ease;
    cursor: pointer;
}


.button_container span:nth-of-type(2) {
    top: 10px;
    width: 100%;
    float: right;
}
.button_container span:nth-of-type(3) {
    top: 20px;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  opacity: 0.8;
  visibility: hidden;
  -webkit-transition: opacity .35s, visibility .35s, height .35s;
  transition: opacity .35s, visibility .35s, height .35s;
  z-index: 50;
}
.overlay:before {
  content: '';
  background: #222F3F;
  /*left: -55%;*/
  top: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  -webkit-transition: left .35s ease;
  transition: left .35s ease;
}
/*.overlay:after {
  content: '';
  background: #222F3F;
  /*right: -55%;*/
  /*top: 0;
  width: 50%;
  height: 100%;
  position: absolute;
  -webkit-transition: all .35s ease;
  transition: all .35s ease;
}*/
.overlay.open {
  opacity: 1;
  visibility: visible;
  height: 100%;
}
.overlay.open:before {
  height: 100%;
}
.overlay.open:after {
  right: 0;
}
.overlay.open li {
  -webkit-animation: fadeInRight .5s ease forwards;
          animation: fadeInRight .5s ease forwards;
  -webkit-animation-delay: .35s;
          animation-delay: .35s;
		  height: auto;
}
.overlay.open li:nth-of-type(2) {
  -webkit-animation-delay: .45s;
          animation-delay: .45s;
		  height: auto;
}
.overlay.open li:nth-of-type(3) {
  -webkit-animation-delay: .55s;
          animation-delay: .55s;
		  height: auto;
}
.overlay.open li:nth-of-type(4) {
	-webkit-animation-delay: .65s;
	animation-delay: .65s;
	height: auto;
}
.overlay.open li:nth-of-type(5) {
	-webkit-animation-delay: .75s;
	animation-delay: .75s;
	height: auto;
}
.overlay.open li:nth-of-type(6) {
	-webkit-animation-delay: .85s;
	animation-delay: .85s;
	height: auto;
}
.overlay.open li:nth-of-type(7) {
	-webkit-animation-delay: .95s;
	animation-delay: .95s;
	height: auto;
}
.overlay.open li:nth-of-type(8) {
	-webkit-animation-delay: .100s;
	animation-delay: .100s;
	height: auto;
}
overlay-menu{
	min-height: 100%;
	height: 99%;
	}
	
.overlay nav {
	position: relative;
	height: 58%;
	top: 40%;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
	font-size: 40px;
	font-family: 'Lato', sans-serif;
	font-weight: 300;

	text-align: center;
	z-index: 100;
	/* [disabled]min-height: 94%; */
}
.overlay ul {
	list-style: none;
	padding: 0;
	margin: 0 auto;
	display: inline-block;
	position: relative;
	height: 100%;
	/* [disabled]min-height: 95%; */
}
.overlay ul li {
	display: block;
	height: 25%;
	height: calc(100% / 8);
	min-height: 14%;
	position: relative;
	opacity: 0;
}
.overlay ul li a {
  display: block;
  position: relative;
  color: #FFF;
  text-decoration: none;
  overflow: hidden;
}
.overlay ul li a:hover:after, .overlay ul li a:focus:after, .overlay ul li a:active:after {
  width: 50%;
}
.overlay ul li a:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  height: 1px;
  background: #FFF;
  -webkit-transition: .35s;
  transition: .35s;
}

@-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;
  }
}

@media (min-width: 0px) and (max-width: 767px){
.overlay nav {
	position: relative;
	height: 47%;
	top: 39%;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
	font-size: 25px;
	font-family: 'Lato', sans-serif;
	font-weight: 300;
	text-align: center;
	z-index: 100;
}

.overlay ul li {
	display: block;
	height: 25%;
	height: calc(100% / 6);
	min-height: 51px;
	position: relative;
	opacity: 0;
}
}
