.button_container {
  display: inline-block;
  position: relative;
  cursor: pointer;
  z-index: 100;
  -webkit-transition: opacity .05s ease;
  -o-transition: opacity .05s ease;
  -moz-transition: opacity .05s ease;
  transition: opacity .05s ease;
}

.button_container .default, .button_container .close {
  color: #494949;
}

.button_container:hover {
  opacity: .75;
}

.button_container.active .top {
  -webkit-transform: translateY(4vw) translateX(0) rotate(45deg);
  -moz-transform: translateY(4vw) translateX(0) rotate(45deg);
  -ms-transform: translateY(4vw) translateX(0) rotate(45deg);
  -o-transform: translateY(4vw) translateX(0) rotate(45deg);
  transform: translateY(4vw) translateX(0) rotate(45deg);
  top: 15%;
  left: 25%;
}

.button_container.active .middle {
  opacity: 0;
}

.button_container.active .bottom {
  -webkit-transform: translateY(0vw) translateX(0) rotate(-45deg);
  -moz-transform: translateY(0vw) translateX(0) rotate(-45deg);
  -ms-transform: translateY(0vw) translateX(0) rotate(-45deg);
  -o-transform: translateY(0vw) translateX(0) rotate(-45deg);
  transform: translateY(0vw) translateX(0) rotate(-45deg);
  top: 118%;
  left: 25%;
}

.button_container span {
  background: #ffffff;
  border: none;
  height: 0.55vw;
  width: 100%;
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transition: all .25s ease;
  -o-transition: all .25s ease;
  -moz-transition: all .25s ease;
  transition: all .25s ease;
  cursor: pointer;
}

.button_container span:nth-of-type(2) {
  top: 50%;
}

.button_container span:nth-of-type(3) {
  top: 70%;
}

.overlay {
  position: fixed;
  /* background: rgba(255,255,255,0.8); */
  /* background: rgba(0, 0, 0, 0.5); */
  background: #009de1;
  top: 0;
  margin-top: 13.05vw;
  /* top: 0; */
  right: 0;
  width: 88%;
  height: 0%;
  opacity: 1;
  visibility: hidden;
  -webkit-transition: visibility .35s, height .25s;
  -o-transition: visibility .35s, height .25s;
  -moz-transition: visibility .35s, height .25s;
  transition: visibility .35s, height .25s;
  overflow: hidden;
}

.overlay.open {
  opacity: 1;
  visibility: visible;
  height: 100%;
}

.overlay.open li {
  -webkit-animation: fadeInRight .25s ease forwards;
  -moz-animation: fadeInRight .25s ease forwards;
  -o-animation: fadeInRight .25s ease forwards;
  animation: fadeInRight .25s ease forwards;
  -webkit-animation-delay: .05s;
  -moz-animation-delay: .05s;
  -o-animation-delay: .05s;
  animation-delay: .05s;
}

.overlay nav {
  position: relative;
  height: 100%;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  text-align: center;
}

.overlay ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: block;
  position: relative;
  height: 100%;
}

.overlay ul li {
  display: block;
  position: relative;
  opacity: 0;
}

@-webkit-keyframes fadeInRight {
  0% {
    opacity: 0;
    bottom: 20%;
  }
  100% {
    opacity: 1;
    bottom: 0;
  }
}

@-moz-keyframes fadeInRight {
  0% {
    opacity: 0;
    bottom: 20%;
  }
  100% {
    opacity: 1;
    bottom: 0;
  }
}

@-o-keyframes fadeInRight {
  0% {
    opacity: 0;
    bottom: 20%;
  }
  100% {
    opacity: 1;
    bottom: 0;
  }
}

@keyframes fadeInRight {
  0% {
    opacity: 0;
    bottom: 20%;
  }
  100% {
    opacity: 1;
    bottom: 0;
  }
}

.nav_wrapper {
  display: none;
}

@media only screen and (max-width: 1050px) {
  .button_container {
    /* margin: 1.5vw 0 0 0; */
    margin: 1.5vw 0 1.5vw 0;
    /* margin: 0; */
  }
  .button_container .default {
    display: initial;
    font-size: 2.078vw;
    font-weight: 900;
    text-transform: uppercase;
    position: absolute;
    left: 0.5vw;
    bottom: -4.8vw;
  }
  .button_container .close {
    display: none;
  }
  .active {
    width: 3.896vw;
    height: 3.896vw;
  }
  .active .default {
    display: none !important;
  }
  .active .close {
    display: initial !important;
    font-size: 2.078vw;
    font-weight: 900;
    text-transform: uppercase;
    position: absolute;
    left: 0.15vw;
    bottom: -2.9vw;
  }
}

@media only screen and (max-width: 476px){
  .overlay {
    margin-top: 9vw;
  }
}

@media only screen and (max-width: 426px){
  .overlay {
    margin-top: 10vw;
  }
}

@media only screen and (max-width: 376px){
  .overlay {
    margin-top: 10.399vw;
  }
}

@media only screen and (max-width: 376px){
  .overlay {
    margin-top: 11.5vw;
  }
}

.b_btm{
  border-bottom: 1px solid #214373;
}

/* Nav Contact */ 
.p_contact{
  position: relative;
}

.p_contact::after{
  content: url(/img/top_new/mail_element.png);
  width: 100%;
  height: 100%;
  position: absolute;
  left: -1%;
  bottom: 1px;
}

@media only screen and (max-width: 771px){
  .overlay{
    margin-top: 12.8vw;
  }

  .slick-dots{
    bottom: -4.4%;
  }

  .slider_cont_113 .slick-prev:before, .slider_cont_113 .slick-next:before{
    font-size: 17vw;
    color: #ffffff;
  }

  .slider_cont_113 .slick-prev, .slider_cont_113 .slick-next,
  .slider_cont_113 .slick-prev:hover, .slider_cont_113 .slick-next:hover{
    width: 10vw;
    height: 18vw;
    background: #0000005e;
  }

  .slider_cont_113 .slick-prev, .slider_cont_113 .slick-prev:hover{
    left: 0;
  }

  .slider_cont_113 .slick-next, .slider_cont_113 .slick-next:hover{
    right: 0;
  }

  .slick-dots li.slick-active button:before, .slick-dots li button:before{
    height: 24px;
    width: 24px;
  }

  .slick-dots li{
    margin: 0 33px;
  }

  .accordion_item_header::after {
    display: none;
  }

  .accordion_item_header.active::after {
    display: none;
  }

  .accordion_item_header.txt_tpad_2.txt_bpad_2.active{
    margin: 5vw 0;
  }
}

@media only screen and (max-width: 751px){
  .slick-dots{
    bottom: -3%;
  }
}

@media only screen and (max-width: 569px){
  .slick-dots li.slick-active button:before, .slick-dots li button:before{
    height: 18px;
    width: 18px;
  }

  .slick-dots li{
    margin: 0 25px;
  }
}

@media only screen and (max-width: 426px){
  .slick-dots {
    bottom: -2.2%;
  }

  .slick-dots li.slick-active button:before, .slick-dots li button:before{
    height: 16px;
    width: 16px;
  }

  .slick-dots li{
    margin: 0 20px;
  }
}

@media only screen and (max-width: 376px){
  .slick-dots li.slick-active button:before, .slick-dots li button:before{
    height: 16px;
    width: 16px;
  }

  .slick-dots li{
    margin: 0 16px;
  }
}

@media only screen and (max-width: 321px){
  .slick-dots {
    bottom: -2.4%;
  }

  .slick-dots li.slick-active button:before, .slick-dots li button:before{
    height: 16px;
    width: 16px;
  }

  .slick-dots li{
    margin: 0 14px;
  }
}

