/* 
created by: romanII 
modified by: developerthai.com
*/

.side-menu {
  position: fixed;
  background-color: #222;
  height: 100%;
  z-index: 10;
  width: 280px;
  color: #bbb;
  top: 0;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  transition: all 0.3s ease;
  opacity: 1;
  font-family: 'Source Sans Pro', sans-serif;
}

.side-menu ul {
  list-style: none;
  margin-top: 0;
  padding: 0
}

.side-menu ul li { border-bottom: 1px solid #2a2a2a; }

.side-menu>ul>li>a { border-left: 4px solid rgb(34, 34, 34); }

.side-menu ul li a {
  color: inherit;
  font-size: 16px;	
  display: block;
  padding: 8px 0 8px 7px;
  text-decoration: none;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  transition: all 0.3s ease;
  /*font-weight: 600; */
}

/* font-awesome */
.side-menu ul a i {
  margin-right: 10px;
  font-size: 14px;
  margin-top: 3px;
  width: 20px;
}

.side-menu ul a i[class*='fa-caret'] { float: right; }

.side-menu ul a:hover,
.side-menu ul a.active {
  color: #FFCC33;
}

.side-menu ul a.active {
  background-color: #111;
  border-left-color: #FFCC33;
  color: #FFCC33;
}

.side-menu ul a:hover i:first-child { color: #FFCC33; }

/* Submenu */

.side-menu ul li a.active+ul { display: block }

.side-menu ul li ul {
  margin-top: 0;
  display: none;
}

.side-menu ul li ul li { border-bottom: none; }

.side-menu ul li ul li a { padding-left: 40px; }

.side-menu ul li ul li a:hover { background-color: #29a4e5; }

.left { left: -280px; }

.show { left: 0; }

/* ปุ่มไอคอนแสดง-ซ่อนเมนู  */
.side-menu-toggle {
  margin-left: 100%;
  position: absolute;
  top: 0;
  padding: 6px 10px 7px 10px;
  font-size: 1.3em;
  color: #222;		
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  transition: all 0.3s ease;
}