/**---- Mobile Bar ----**/

.menu-toggle {
  display: none;
}

.mobile-bar {
  z-index: 100000;
  position: fixed;
  top: 0;
  left: 0;
  padding: 0 25px;
  width: 100%;
  height: 60px;
  overflow: hidden;
}

/**---- Menu Icon ----**/

.menu-icon {
  display: block;
  position: relative;
  width: 25px;
  height: 100%;
  cursor: pointer;
  -webkit-transition: -webkit-transform 300ms ease-in;
  transition: -webkit-transform 300ms ease-in;
  transition: transform 300ms ease-in;
  transition: transform 300ms ease-in, -webkit-transform 300ms ease-in;
 }

.menu-icon > span {
  display: block;
  position: absolute;
  top: 55%;
  margin-top: -0.3em;
  width: 100%;
  height: 0.3em;
  border-radius: 1px;
  background-color: #eee;
  -webkit-transition: -webkit-transform 300ms ease-in;
  transition: -webkit-transform 300ms ease-in;
  transition: transform 300ms ease-in;
  transition: transform 300ms ease-in, -webkit-transform 300ms ease-in;
  z-index: 10000;
}

.menu-icon > span:before,
.menu-icon > span:after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 1px;
  background-color: #eee;
  -webkit-transition: -webkit-transform 300ms ease;
  transition: -webkit-transform 300ms ease;
  transition: transform 300ms ease;
  transition: transform 300ms ease, -webkit-transform 300ms ease;
  z-index: 10000;
}

.menu-icon > span:before {
  -webkit-transform: translateY(-0.6em);
  transform: translateY(-0.6em);
}

.menu-icon > span:after {
  -webkit-transform: translateY(0.6em);
  transform: translateY(0.6em);
}

/**---- Menu Icon Effects ----**/

.menu-toggle:checked + .mobile-bar .menu-icon {
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

.menu-toggle:checked + .mobile-bar span:before,
.menu-toggle:checked + .mobile-bar span:after {
  -webkit-transform: rotate(90deg);
  transform: rotate(90deg);
}

/**---- Fade-In/Out Effect ----**/

.menu-toggle:checked ~ .header {
  visibility: visible;
  opacity: 1;
  -webkit-transition-delay: 0s;
  transition-delay: 0s;
}

/**---- Header ----**/
#journal-aside nav {
  z-index: 120000;
  padding: 20px 30px;
}
.header {
  visibility: hidden;
  opacity: 0;
  position: fixed;
  top: 0;
  left: 0;
  *padding-top: 40px;
  margin-top: 60px;
  width: 38.2%;
  *height: 100%;
  background-color: rgba(0,0,0,0.5);
  color: #fff;
  -webkit-transition: opacity 300ms ease-in, visibility 0s ease-in 300ms;
  transition: opacity 300ms ease-in, visibility 0s ease-in 300ms;
  z-index: 100000;
}
@media only screen and (max-width: 960px) {
  .header {
    overflow: scroll;
    width: 100%;
  }
}

.header nav,
.header ul {
  height: 100%;
  width: 100%;
  *list-style: none;
}

.header li {
  *border-bottom: 1px solid #eee;
}

.header a {
  display: block;
  padding: 20px;
  width: 90%;
  -webkit-transition: background-color 300ms ease-in;
  transition: background-color 300ms ease-in;
   border-bottom: 2px solid transparent;
   z-index: 100000;
}

.header a:hover {
   *border-bottom: 2px solid #FC5185;
}

/*slide border*/
.header a:after {
  content: '';
  display: block;
  border-bottom: 2px solid #FC5185;
  width: 0;
  *position: absolute;
  left: 0;
  -webkit-transition: 1s ease;
  transition: 1s ease;
  z-index: 100000;
}
.header a:hover:after { 
  width: 100%; 
  z-index: 100000;
}

.main-navigation{
  width: 100%;
}
.main-navigation ul ul {
  position: relative !important;
  box-shadow: none;
  top: 0 !important;
  left: 0 !important;
  *float: none !important;
  display: none;
  border-top: none;
}
.menu-dropdown-btn {
  display: block;
  padding: 20px;
  float: right;
  width: 5%;
}
.main-navigation ul ul .menu-dropdown-btn {
  padding: 2px 11px 5px 14px;
}
.open-page-item > ul.children,
.open-page-item > ul.sub-menu {
  display: block !important;
}
.open-page-item .fa-angle-down {
  color: #FFFFFF;
  font-weight: 800 !important;
}

.main-navigation li.current-menu-item > a,
.main-navigation li.current_page_item > a,
.main-navigation li.current-menu-parent > a,
.main-navigation li.current_page_parent > a,
.main-navigation li.current-menu-ancestor > a,
.main-navigation li.current_page_ancestor > a {
  *border-bottom: 2px solid #FC5185;
  color: #FC5185!important;
}
