@charset "utf-8";

#leftPanel {
  position: absolute;
  width: 240px;
  height: 100%;
  top: 0;
  left: 0;
  padding: 10px;
  background-color: #fff;
  z-index: 2;
}

#main #leftPanel {
	display: none;
}

#leftPanel ul li {
  width: 220px;
  height: 50px;
  cursor: pointer;
  font-size: 15px;
  text-align: left;
  line-height: 30px;
}

#leftPanel ul li a {
  display: inline-block;
  width: 100%;
  height: 100%;
  padding: 10px 12px;
}

#leftPanel ul li a::after{
  content: '>';
  float: right;
}

#leftPanel ul li a:hover {
  background-color: #eaecef;
}

#leftPanel ul li a.active {
  background-color: #344a63;
  color: #fff;
}

.left-logout-wrap {
  display: none;
}


@media (max-width:768px) {
	#main #leftPanel {
	  display: block;
	}
	
	#leftPanel {
    position: fixed;
    width: 280px;
    top: 72px;
    left: -290px;
    transition-duration: 0.3s;
    border-right: 1px solid #dcdcdc;
    box-shadow: 2px 0 4px 0 rgb(0 0 0 / 16%);
    padding: 0;
  }
  
  #leftPanel.expand {
    left: 0;
    transition-duration: 0.3s;
  }
  
  #leftPanel ul {
    text-align: center;
  }
  
  #leftPanel ul li {
    width: 280px;
  }
  
  #leftPanel ul li a {
    padding: 10px 16px;
  }
  
  .left-logout-wrap {
    display: inline-block;
    width: 100%;
    text-align: left;
    padding: 18px;
  }
  
  .left-logout-wrap .border-logout {
    display: block;
    border-bottom: 1px solid #979797;
    opacity: 0.3;
    margin-bottom: 30px;
  }
  
  .logout-left {
    display: inline-block;
    padding: 2px 2px 2px 0;
    font-size: 15px;
    text-align: left;
  }
}
