// .ivu-collapse>.ivu-collapse-item{
//   border: 0!important;
// }
// .ivu-collapse>.ivu-collapse-item>.ivu-collapse-header{
//     line-height: 55px!important;;
//     height: 55px!important;;
// }
// .ivu-collapse{
//   border: 0!important;
// }
// .ivu-collapse-content{   
    // background: -webkit-linear-gradient(left,#ffffff,#f2f2f2);
    // background: -o-linear-gradient(right,#ffffff,#f2f2f2);
    // background: -moz-linear-gradient(right,#ffffff,#f2f2f2);
    // background: linear-gradient(to right,#ffffff,#f2f2f2);
//     border-bottom: 1px solid #dcdee2;
// }
// .ivu-drawer-body::-webkit-scrollbar {
//     width: 5px;
// }
// .ivu-drawer-body::-webkit-scrollbar-track {
//   margin: 6px;
//   background: transparent;
// }
// .ivu-drawer-body::-webkit-scrollbar-thumb {
//   border-radius: 10px;
//   background: #94998a;
// }
// .ivu-drawer-body::-webkit-scrollbar-thumb:hover {
//   // background: #555;
// }
// .ivu-drawer-body::-webkit-scrollbar-button {
//   display: none;
// }


// display: -webkit-flex;
// display:         flex;
// -webkit-align-items: center;
//         align-items: center;
// -webkit-justify-content: center;
//         justify-content: center;

.layout{
  border: 1px solid #d7dde4;
  background: #f5f7f9;
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  height: 100%;
  .flexBox{
    display: flex;
    .item{
      display: flex;      
      align-items: center;
      &.flex-grow-1{
        flex-grow: 1;
      }
      &.flex-grow-2{
        flex-grow: 2;
      }
      &.right{
        justify-content: flex-end;
      }
      .userControl{
        padding: 0 15px;
        .joinedSchool{
          background-color: #f8f8f9;
          max-height: 350px;
          overflow: auto;
          padding-right: 0;
          padding-left: 0;
          .jSchool{
            padding: 0 16px;
            &:hover{
              background-color: rgba(227, 229, 232, 0.5);
            }
            .box{
              display:flex;
              align-items: center;
              border-bottom: 1px #c5c8ce solid;
              width:100%;
              padding: 4px 0;
              img{
                width: 25px;margin-right: 16px;border-radius: 20px;height: 25px;display: block;
              }
              .detail{
                overflow: hidden;
                white-space: nowrap;
                text-overflow: ellipsis;
                max-width: 260px;
              }
            }            
          }
        }
      }
    }
  }
}
.layout-header-bar{
  background: #fff!important;
  box-shadow: 0 1px 1px rgba(0,0,0,.1)!important;
}
.layout-logo-left{
  width: 90%;
  height: 30px;
  background: #5b6270;
  border-radius: 3px;
  margin: 15px auto;
}
.menu-icon{
  transition: all .3s;
}
.rotate-icon{
  transform: rotate(-90deg);
}
.menu-item{  
  &.ivu-menu-light{
    background-color: #f3f3f3;
  }
  span{
    display: inline-block;
    overflow: hidden;
    width: 150px;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: bottom;
    transition: width .2s ease .2s;
  }
}
.menu-item i{
  transform: translateX(0px);
  transition: font-size .2s ease, transform .2s ease;
  vertical-align: middle;
  font-size: 16px;
  &.ivu-menu-submenu-title-icon{
    right: 10px;
  }
}
.collapsed-menu span{
  width: 0px;
  transition: width .2s ease;
}
.collapsed-menu i{
  transform: translateX(5px);
  transition: font-size .2s ease .2s, transform .2s ease .2s;
  vertical-align: middle;
  font-size: 22px;
}