/* NAVIGATION */
nav_ico {
  display: block;
  width: 40px;
  cursor: pointer;
}
.nav_ico img {
    height: 15px;
}
.main_nav {
  float: right;
}
.main_nav ul {
  margin: 0;
  padding: 0px;
  list-style: none;
}
.main_nav ul li {
  float: left;
  margin: 0 0 0 40px;
  position: relative;
  overflow: hidden;
}
.main_nav ul li a {
  display: block;
  text-decoration: none;
  color: #fff;
  
}
.main_nav ul li a:hover {
    color: #E2473D!important;
}
/*.main_nav ul li a:before {
  content: "";
  position: absolute;
  left: 100%;
  top: 0;
  height: 1px;
  width: 100%;
  background: #fff;
  transition: all 0.8s ease-in-out;
}*/
.main_nav ul li a:after {
  content: "";
  position: absolute;
  right: 100%;
  bottom: 0;
  height: 1px;
  width: 100%;
  background: #E2473D;
  transition: all 0.1s ease-in-out;
}
.main_nav ul li:hover a:before {
  left: 0;
}
.main_nav ul li:hover a:after {
  right: 100%;
}
/*This Media Query use for iPad Portrait View*/
@media only screen and (min-width:768px) and (max-width:991px) {
  .main_nav ul li {
    margin: 0 0 0 15px;
  }
}
@media screen and (min-width: 768px) {
  .nav_ico {
    display: none;
  }
}
/*This Media Query use for Mobile View*/
@media screen and (max-width: 767px) {
  .nav_ico {
    display: block;
    position: relative;
    z-index: 10;
  }
  .main_nav {
    position: fixed;
    left: 0;
    top: 50px;
    padding: 0;
    background: #2b3c4a;
    z-index: 5;
    height: calc(100vh - 50px);
    width: calc(100% - 80px);
    transition: all 0.3s ease-out;
    transform: translateX(-100%);
  }
  .main_nav ul li {
    float: none;
    margin: 0 !important;
    padding: 0 !important;
    border-bottom: 1px solid rgba(256, 256, 256, 0.1);
  }
  .main_nav ul li a {
    display: block;
    color: #fff;
    padding: 0 30px;
    font-family: Montserrat-Medium;
  }
  .main_nav:after {
    content: "";
    position: absolute;
    left: 100%;
    top: 0;
    height: 100%;
    width: 0;
    background: rgba(0, 0, 0, 0.7);
  }
  .main_nav.active {
    transform: translateX(0%);
  }
  .main_nav.active:after {
    width: 1000%;
  }
}
/* dashboard toggle*/
@media screen and (min-width: 300px) {
  .dash_nav .nav_ico {
    display: block;
    position: relative;
    z-index: 10;
  }
  .dash_nav .main_nav {
    position: fixed;
    left: 0;
    top: 80px;
    padding: 0;
    background: #2b3c4a;
    z-index: 5;
    height: calc(100vh - 50px);
    width: calc(300px - 80px);
    transition: all 0.0001s ease-out;
    transform: translateX(-100%);
  }
  .dash_nav .main_nav ul li {
    float: none;
    margin: 0 !important;
    padding: 10px 0 !important;
    border-bottom: 1px solid rgb(255 255 255 / 4%);
  }
  .dash_nav .main_nav ul li a {
    display: block;
    color: #fff;
    padding: 0 30px;
    
  }
  .dash_nav .main_nav:after {
    content: "";
    position: absolute;
    left: 100%;
    top: 0;
    height: 100%;
    width: 0;
    background: rgba(0, 0, 0, 0.7);
  }
  .dash_nav .main_nav.active {
    transform: translateX(0%);
  }
  .dash_nav .main_nav.active:after {
    width: 1000%;
  }
}


/* NAVIGATION END */