/* 
 * Side Sliding Menu CSS
 * This file contains styles for the side sliding menu
 */

body.with-side-menu {
  margin: 0;
  padding: 0;
  font-family: "Open Sans", arial;
  color: #fff;
  font-weight: 300;
}

@import url(//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css);
@import url(https://fonts.googleapis.com/css?family=Titillium+Web:300);

/* ScrollBar */
.scrollbar {
  height: 90%;
  width: 100%;
  overflow-y: hidden;
  overflow-x: hidden;
}

.scrollbar:hover {
  height: 90%;
  width: 100%;
  overflow-y: scroll;
  overflow-x: hidden;
}

/* Scrollbar Style */ 
#style-1::-webkit-scrollbar-track {
  border-radius: 2px;
}

#style-1::-webkit-scrollbar {
  width: 5px;
  background-color: #F7F7F7;
}

#style-1::-webkit-scrollbar-thumb {
  border-radius: 10px;
  -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
  background-color: #BFBFBF;
}
/* Scrollbar End */ 

.fa-lg {
  font-size: 1em;
}

.side-menu-fa {
  position: relative;
  display: table-cell;
  width: 55px;
  height: 36px;
  text-align: center;
  top: 12px; 
  font-size: 20px;
}

.main-menu:hover, nav.main-menu.expanded {
  width: 280px;
  overflow: hidden;
  opacity: 1;
  z-index: 1000;
}

.main-menu {
  background: #ffffff;
  position: fixed;
  top: 0;
  bottom: 0;
  height: 100%;
  left: 0;
  width: 70px;
  overflow: hidden;
  -webkit-transition: width .2s linear;
  transition: width .2s linear;
  -webkit-transform: translateZ(0) scale(1,1);
  transform: translateZ(0) scale(1,1);
  border-right: 1px solid #ececec;
  box-shadow: 2px 0 18px rgba(0, 0, 0, 0.06);
  opacity: 1;
  z-index: 1000;
}

.main-menu > ul {
  margin: 7px 0;
}

.main-menu li {
  position: relative;
  display: block;
  width: 250px;
}

.main-menu li > a {
  position: relative;
  width: 285px;
  display: table;
  border-collapse: collapse;
  border-spacing: 0;
  color: #444;
  font-size: 13px;
  text-decoration: none;
  -webkit-transform: translateZ(0) scale(1,1);
  transform: translateZ(0) scale(1,1);
  -webkit-transition: all .14s linear;
  transition: all .14s linear;
  font-family: 'Strait', sans-serif;
  border-top: 1px solid #f2f2f2;
  text-shadow: none;  
  padding: 6px 0;
}

.main-menu .nav-icon {
  position: relative;
  display: table-cell;
  width: 70px;
  height: 44px;
  text-align: center;
  vertical-align: middle;
  font-size: 22px;
}

.main-menu .nav-text {
  position: relative;
  display: table-cell;
  vertical-align: middle;
  width: 210px;
  font-family: 'Titillium Web', sans-serif;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.main-menu > ul.logout {
  position: absolute;
  left: 0;
  bottom: 0;
}

.no-touch .scrollable.hover {
  overflow-y: hidden;
}

.no-touch .scrollable.hover:hover {
  overflow-y: auto;
  overflow: visible;
}

/* Darker element side menu Start */
.darkerli {
  background-color: #ededed;
  text-transform: capitalize;  
}

.darkerlishadow {
  background-color: #ededed;
  text-transform: capitalize;  
  -webkit-box-shadow: inset 0px 5px 5px -4px rgba(50, 50, 50, 0.55);
  -moz-box-shadow: inset 0px 5px 5px -4px rgba(50, 50, 50, 0.55);
  box-shadow: inset 0px 5px 5px -4px rgba(50, 50, 50, 0.55);
}

.darkerlishadowdown {
  background-color: #ededed;
  text-transform: capitalize;  
  -webkit-box-shadow: inset 0px -4px 5px -4px rgba(50, 50, 50, 0.55);
  -moz-box-shadow: inset 0px -4px 5px -4px rgba(50, 50, 50, 0.55);
  box-shadow: inset 0px -4px 5px -4px rgba(50, 50, 50, 0.55);
}
/* Darker element side menu End */

.main-menu li:hover > a, 
nav.main-menu li.active > a,
.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus,
.dropdown-menu > .active > a,
.dropdown-menu > .active > a:hover,
.dropdown-menu > .active > a:focus,
.no-touch .dashboard-page nav.dashboard-menu ul li:hover a,
.dashboard-page nav.dashboard-menu ul li.active a {
  color: #fff;
  background: linear-gradient(90deg, #ff6f61, #ff8a70);
  text-shadow: none; 
  box-shadow: inset 4px 0 0 #e55347; /* left accent bar */
}

/* Active indicator slim bar even when not hovered */
nav.main-menu li.active > a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #ff6f61;
}

@font-face {
  font-family: 'Titillium Web';
  font-style: normal;
  font-weight: 300;
  src: local('Titillium WebLight'), local('TitilliumWeb-Light'), url(http://themes.googleusercontent.com/static/fonts/titilliumweb/v2/anMUvcNT0H1YN4FII8wpr24bNCNEoFTpS2BTjF6FB5E.woff) format('woff');
}

/* Adjustments for the website layout */
body.with-side-menu .floating-shapes,
body.with-side-menu .main-header,
body.with-side-menu main,
body.with-side-menu footer {
  margin-left: 70px;
  transition: margin-left 0.2s linear;
}

body.with-side-menu .main-menu:hover ~ .floating-shapes,
body.with-side-menu .main-menu:hover ~ .main-header,
body.with-side-menu .main-menu:hover ~ main,
body.with-side-menu .main-menu:hover ~ footer,
body.with-side-menu .main-menu.expanded ~ .floating-shapes,
body.with-side-menu .main-menu.expanded ~ .main-header,
body.with-side-menu .main-menu.expanded ~ main,
body.with-side-menu .main-menu.expanded ~ footer {
  margin-left: 280px;
}

/* Menu toggle button for mobile */
.menu-toggle {
  display: none;
  position: fixed;
  top: 15px;
  left: 15px;
  z-index: 1001;
  background: #ff6f61;
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  text-align: center;
  line-height: 40px;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  
  .main-menu {
    left: -70px;
  }
  
  .main-menu.active {
    left: 0;
  }
  
  body.with-side-menu .floating-shapes,
  body.with-side-menu .main-header,
  body.with-side-menu main,
  body.with-side-menu footer {
    margin-left: 0;
  }
  
  body.with-side-menu .main-menu.active:hover ~ .floating-shapes,
  body.with-side-menu .main-menu.active:hover ~ .main-header,
  body.with-side-menu .main-menu.active:hover ~ main,
  body.with-side-menu .main-menu.active:hover ~ footer {
    margin-left: 250px;
  }
}
