@charset 'UTF-8';

@import "/jsp/IntranetApp/css/font-awesome-4.7.0/css/font-awesome.min.css";

header {
  width: 100%;
  height: 60px;
  padding-bottom: 60px;
  background: linear-gradient(90deg, #0078FF, #259EFF);
}

.header-fixed {
  position: fixed;
  top: 0;
  z-index: 10005;
}

.header-content {
  width: 100%;
  height: 60px;
  display: flex;
  align-items: center;
}

.header-content .logo {
  height: 100%;
  width: 280px;
  background: #259EFF;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-content nav {
  margin-left: 50px;
  display: flex;
  height: 100%;
}

.header-content nav>a {
  height: 100%;
  padding: 0 30px;
  font-size: 16px;
  font-family: Microsoft YaHei;
  font-weight: 400;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 10px;
}

.header-content nav>a:hover {
  background-color: #259EFF;
}

.header-content .login {
  margin-left: auto;
  height: 100%;
  display: flex;
  align-items: center;
  margin-right: 1rem;
}

.header-content .login>a {
  width: 84px;
  height: 30px;
  border-radius: 5px;
  margin-left: 16px;
  font-size: 14px;
  font-family: Microsoft YaHei;
  font-weight: 400;
  color: #FFFFFF;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-content .login>a:first-child {
  background-color: #2C89FF;
}

.header-content .login>a:last-child {
  background-color: transparent;
  border: 1px solid #fff;
}

.mMenu-items {
  display: none;
}

.user-info {
  display: flex;
  position: relative;
  height: 100%;
  align-items: center;
  padding-right: .5rem;
  margin-left: auto;
  padding: 0 20px;
}

.user-info .username {
  margin-right: 20px;
  color: #fff;
}

.user-info:hover .user-info-nav {
  display: flex;
}


.user-info img {
  position: relative;
}

.user-info::after {
  position: absolute;
  right: 20px;
  top: 48%;
  transform: translateY(-50%);
  font-family: 'FontAwesome';
  content: '\f0dd';
  z-index: 1000;
  color: #fff;
}

.user-info-nav {
  width: 170%;
  position: absolute;
  top: 100%;
  left: -40%;
  background-color: #055ba1;
  padding: 0px;
  display: none;
  flex-direction: column;
}

.user-info-nav a {
  text-align: center;
  padding: .8rem 0 0;
  color: #ccc;
}

.user-info-nav a:last-child {
  padding-bottom: .8rem;
}

.mMenu,
.mlogin,
.mMenu-items {
  display: none;
}

@media screen and (max-width:768px) {

  .mMenu {
    display: block;
    margin-left: .5rem;
  }

  .header-content {
    justify-content: space-between;
  }

  .header-content nav {
    display: none;
  }

  .mlogin {
    display: flex;
    margin-left: auto;
  }

  .mlogin a {
    padding: 3px 10px;
    color: #fff;
    border: 1px solid #fff;
    font-size: .8rem;
  }

  .mlogin a:first-child {
    border-right: none;
    border-radius: 20px 0 0 20px;
  }


  .mlogin a:last-child {
    border-radius: 0 20px 20px 0;
  }

  .mMenu-items {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #373D41;
    flex-direction: column;
    width: 100%;
  }

  .mMenu-items>a {
    width: 100%;
    padding: .5rem 1rem;
    border-bottom: 1px solid #525557;
    color: #ccc;
    display: flex;
  }

  .mMenu-items>a:last-child {
    border-bottom: none;
  }
}