 
.navbar { 
  width: 16rem;
  background: rgb(240, 240, 240);
  z-index: 1;
  position: absolute;
  display: flex;
  flex-direction: column;
  box-shadow: 0px 0px 0px rgba(128, 128, 128, 0.2);
  transition: all 0.5s;
  font-size:20px;
}
.navbar-hide {
  transform: translatex(-18.5rem);
  overflow: hidden;
}
.navbar li {
  color: grey; 
  padding-left: 2rem;
  cursor: pointer;
}
 
.navbar .bar {
  height: 90%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
 
.navbar .options ul {
  margin-top: 1rem;
}
.navbar .options ul .active {
  background: #4f71f1; font-size:26px;
  color: white;
}

.navbar .options ul .active2 {
  background: #4f71f1;  
  color: white;
}

.navbar .options ul .active2 a{
   
  color:#FFF;
}

.navbar .options ul .active a{
   
  color:#FFF;
}

.navbar .options ul li {
  position: relative;
  color: #616161;
  height: 2.8rem;
  background: none;
  transition: all 0.5s;
  display: flex;
  align-items: center;
}
.navbar .options ul li:before {
  content: "";
  position: absolute;
  left: 0;
  width: 0;
  height: 100%;
  z-index: -1;
  transition: all 0.4s ease-out;
}
.navbar .options ul li:hover {
  color:#FFF;
}
.navbar .options ul li:hover:before {
  background: #4f71f1;
  color: #FFF;
  width: 100%;
}
.navbar .options ul li a {
	width:100%;
	height:100%;
	line-height:45px;
	overflow:hidden;
}
.navbar .options ul li a:hover  {
 
  color: #FFF;
 
}

.navbar .options ul li:first-child {
  margin-bottom: 1rem;
}
.navbar .options ul li:nth-of-type(2) {
  margin-top: 1rem;
}
.navbar .settings .acc-settings:hover i {
  color: #ef5350;
  transform: rotate(360deg);
  transition: all 0.8s ease-in-out;
}
.navbar .settings ul li {
  height: 2rem;
  transition: all 0.4s;
}
.navbar .settings ul li:hover {
  color: #ef5350;
}

.button__menu {
  padding: 1rem 1rem;
  font-size: 1.2rem;
  color: grey;
  transition: all 0.3s;
  display: none;
}
.button__menu-checkbox {
  display: none;
}
.button__menu-checkbox:checked ~ label {
  color: #e0e0e0;
}
.button__menu i {
  cursor: pointer;
}

.content {
  height: 100vh;
  width: calc(100vw - 16rem);
  background: #eeeeee;
  position: absolute;
  right: 0;
  display: flex;
  flex-grow: 1;
  transition: all 0.5s;
}
.content-grow {
  width: 100%;
}
.content-darken:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(128, 128, 128, 0.5);
} 



/*中间文字两边横线效果*/
.title-center {
position:relative;
width:100%;
text-align: center;
height: 70px;
line-height: 50px;
font-size: 36px;
color: #000;
font-weight:bold;
}
.title-center div{
display: inline-block;
padding:0 20px;
}
.title-center:before ,.title-center:after{
display: inline-block;
position: relative;
content:"";
height:2px;
width:48px;
top:-6px;
background-color:#4d72e2;	
}