@import url("/css/common.css");

body {
  background-color: #f8f9fa;
}

.m-layout-header {
  position: sticky;
  padding: 0 5px;
  background-color: #fff;
  border-bottom: 1px solid #edeef1;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  top: 0;
  z-index: 10;
}

.m-layout-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.m-login-btn-wrap {
  display: flex;
  align-items: center;
}

.m-login-btn-wrap a {
  font-size: 15px;
  color: #383a3e;
}

.m-login-btn {
  width: 84px;
  height: 34px;
  border: 1px solid #383a3e;
  border-radius: 34px;
  text-align: center;
  line-height: 34px;
  margin-left: 20px;
}

.m-layout-nav-wrap {
  display: flex;
  align-items: center;
  height: 18px;
  cursor: pointer;
}

.m-layout-nav-icon {
  position: relative;
  margin-left: 20px;
  margin-top: 1px;
  width: 15px;
  height: 17px;
  border-top: 3px solid #3f4144;
  border-bottom: 3px solid #3f4144;
}

.m-layout-nav-icon:after {
  content: "";
  position: absolute;
  width: 15px;
  height: 3px;
  background-color: #3f4144;
  top: 4px;
  left: 0;
}

.m-layout-nav-text {
  margin-left: 15px;
  font-size: 15px;
  font-weight: bold;
  color: #383a3e;
  display: none;
}

.m-layout-nav-wrap.active .m-layout-nav-text {
  display: block;
}

.m-layout-body {
  display: flex;
}

.m-layout-body-left {
  padding: 20px 0;
  background-color: #fff;
  border-right: 1px solid #edeef1;
  position: sticky;
  top: 64px;
  z-index: 10;
  width: 80px;
  height: calc(100vh - 64px);
}

.m-left-nav-wrap a {
  display: flex;
  align-items: center;
  height: 46px;
  padding: 0 20px;
  border-radius: 5px;
}

.m-layout-body-left.active {
  width: 250px;
}

.m-layout-body-left.active .m-left-nav-wrap a {
  position: relative;
}

.m-layout-body-left.active .m-left-nav-wrap a:after {
  width: 156px;
  content: attr(data-content);
  font-size: 15px;
  color: #383a3e;
  margin-left: 10px;
}

.m-left-nav-wrap .active,
.m-left-nav-wrap a:hover {
  background-color: #f8f9fa;
}

.m-left-nav-wrap img {
  width: 30px;
  height: 30px;
}

.m-layout-body-right {
  flex: 1;
  position: relative;
}

.m-layout-body-right .m-layout-right-iframe {
  display: block;
  width: 100%;
  height: 100%;
}

.m-left-nav-request {
  display: none;
  margin: 50px auto;
  width: 200px;
  height: 42px;
  background-color: #2e8de5;
  border-radius: 5px;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
}

.m-layout-body-left.active .m-left-nav-request {
  display: flex;
}

.m-left-nav-request img {
  width: 16px;
  height: 16px;
  margin-right: 10px;
}

.m-layout-body-right-nav {
  height: 65px;
  background-color: #fff;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #edeef1;
}

.m-common-group-chat-wrap {
  position: absolute;
  top: -1000px;
  left: 0;
  width: 400px;
  height: 750px;
  display: flex;
  justify-content: space-between;
}

.m-layout-footer {
  padding-top: 30px;
  background-color: #edeef1;
  overflow: hidden;
}

.m-layout-footer p {
  line-height: 20px;
  font-size: 14px;
  color: #3f4144;
  text-align: center;
}

.m-layout-footer img {
  display: block;
  width: 140px;
  margin: 25px auto;
}

.m-layout-footer-right {
  margin-top: 20px;
}

.m-user-msg {
  height: 64px;
  display: flex;
  align-items: center;
}

.m-user-msg-check {
  height: 50px;
  width: 326px;
  visibility: hidden;
}

.m-user-msg-check.active {
  visibility: visible;
}

.m-user-wrap {
  position: relative;
  display: flex;
  align-items: center;
  /* width: 150px; */
  height: 64px;
  margin: 0 15px;
  overflow: hidden;
}

.m-user-wrap:hover {
  overflow: visible;
}

.m-user-info-wrap {
  z-index: 1;
  position: absolute;
  top: 64px;
  left: -70px;
  width: 280px;
  padding: 0 15px;
  background-color: #fff;
  border: 1px solid #edeef1;
  border-top: 2px solid #383a3e;
}

.m-user-avatar {
  width: 30px;
  height: 30px;
  border-radius: 30px;
  margin-right: 5px;
}

.m-user-nick {
  font-weight: bold;
  /* width: 115px; */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.m-logout-btn {
  display: flex;
  font-size: 15px;
  color: #383a3e;
}

.m-logout-btn img {
  margin-left: 5px;
  width: 20px;
  height: 20px;
}

.m-user-info-level-wrap {
  padding-top: 15px;
}

.m-user-info-level {
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.m-user-info-level-level {
  font-size: 13px;
  color: #2e8de5;
}

.m-user-info-exp {
  font-size: 13px;
}

.m-user-info-exp-percent {
  color: #2e8de5;
}

.m-user-info-level-percent-bar {
  position: relative;
  height: 10px;
  background-color: #f3f4f5;
  border-radius: 10px;
}

.m-user-info-level-percent-bar-percent {
  position: absolute;
  content: "";
  height: 10px;
  border-radius: 10px;
  left: 0;
  top: 0;
  background-color: #7dcc19;
}

.m-user-property-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 10px;
}

.m-user-property-item {
  width: 120px;
  height: 36px;
  border-radius: 36px;
  background: #f8f9fa;
  border: 1px solid #edeef1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px;
  margin-top: 10px;
}

.m-user-property-item img {
  width: 24px;
  height: 24px;
}

.m-user-property-item span {
  color: #383a3e;
  font-size: 13px;
}

.m-user-link-wrap {
  margin-top: 10px;
}

.m-user-link-item {
  display: flex;
  align-items: center;
  height: 50px;
  position: relative;
  border-top: 1px solid #edeef1;
}

.m-user-link-item:first-child {
  border: none;
}

.m-user-link-item:after {
  position: absolute;
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAHCAYAAAA8sqwkAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAACoSURBVHgBdY3BDcIwDEXtSNy7AYzQS0VSFBomATYoE1AmYARYgQkaFQnaGyuwQe+FGBeBFNryL4nt92wEjpwlOTm6VddiAwOZKp0KxOWjEWthjAmIKESEVMb60IVlPM8QcU8AoRg9x8JaW7tGLLhRA+DKl1qYn+27cJBVl/MJv8MoMrzB5dwIAOjI8t2Hy7LYtV/0z/9Kn3hwT+hJHfhvpDQTpXQyNHsBawU+rBHR+5wAAAAASUVORK5CYII=);
  background-repeat: no-repeat;
  content: "";
  height: 8px;
  right: 10px;
  top: 50%;
  transform: rotate(-90deg) translateY(-50%);
  width: 12px;
}

.m-user-link-item img {
  width: 24px;
  height: 24px;
  margin-left: 10px;
  margin-right: 10px;
}

.m-user-link-item span {
  font-size: 15px;
  color: #383a3e;
}

.m-user-link-item .m-note-message-unread-cnt {
  color: red;
  margin-left: 10px;
}

.m-user-private-connect-apply-pop {
  z-index: 10002 !important;
  width: 480px;
  height: 410px;
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background-color: #fcfcfc;
  border: 1px solid #d1d1d1;
  padding: 30px 50px;
}

.m-pop-layout-title {
  font-size: 32px;
  font-weight: bold;
  color: #383a3e;
  line-height: 70px;
  text-align: center;
}

.m-pop-layout-avatar {
  display: block;
  width: 80px;
  height: 80px;
  object-fit: cover;
  margin: 0 auto;
  border-radius: 80px;
}

.m-pop-layout-message {
  color: #383a3e;
  font-size: 15px;
  text-align: center;
  line-height: 60px;
}

.m-pop-layout-btn {
  display: block;
  width: 100%;
  height: 52px;
  margin-top: 10px;
  border: none;
  cursor: pointer;
}

.m-pop-layout-confirm {
  background-color: #383a3e;
  color: #fff;
}

.m-chat-room-list-recommend {
  position: absolute;
  right: 8px;
  top: 0;
  bottom: 0;
  width: 52px;
}

.m-chat-room-list-item-block {
  position: relative;
  display: block;
  width: 52px;
  height: 52px;
  margin-top: 5px;
}

.m-chat-room-item-avatar {
  display: block;
  width: 52px;
  height: 52px;
  background-position: center;
  background-repeat: no-repeat;
  /* background-size: 50px 50px; */
  background-size: cover;
  background-color: #edeef1;
}

.m-chat-room-list-item-block-bg {
  padding: 10px;
  color: #fff;
  font-size: 12px;
  text-align: center;
  background: linear-gradient(to bottom right, #00e2c4, #fa0eff);
}

.m-chat-room-list-item-block-one {
  line-height: 30px;
  font-weight: bold;
}

.m-chat-room-list-item-block-info {
  display: none;
  position: absolute;
  top: 0;
  right: 50px;
  width: 340px;
  height: 52px;
  background-color: #f34129;
  color: #fff;
  font-size: 12px;
  padding: 5px 10px;
  box-sizing: border-box;
}

.m-chat-room-list-item-block:hover .m-chat-room-list-item-block-info {
  display: block;
}

.m-chat-room-title {
  display: flex;
  height: 20px;
  align-items: center;
}

.m-chat-room-title-view {
  height: 18px;
  padding: 0 5px;
  background-color: #383a3e;
  margin-right: 5px;
  line-height: 18px;
}

.m-chat-room-game {
  height: 20px;
  display: flex;
  align-items: center;
}

.mChatRoomNavItem.text-blue.active {
  color: #fff !important;
}

.m-chat-room-list-recommend-btn {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  text-align: center;
  margin-top: 5px;
  width: 52px;
  height: 52px;
  padding: 10px 0;
  border: 1px solid #383a3e;
  color: #383a3e;
  background-color: #f5f5f5;
}

.m-chat-room-list-recommend-btn.on {
  border: 1px solid #b41dfb;
  color: #b41dfb;
  background-color: #f6e3ff;
}

.m-chat-room-list-recommend-top {
  margin: 0;
}

.m-group-chat-recommend-wrap {
  width: 50px;
  height: 750px;
  margin-right: 5px;
}

.m-group-chat-recommend-head {
  color: #fff;
  background: linear-gradient(to bottom right, #00e2c4, #fa0eff);
}

.m-group-chat-recommend-btn {
  margin-top: 5px;
  border: 1px solid #383a3e;
  background-color: #f5f5f5;
  color: #383a3e;
  cursor: pointer;
}

.m-group-chat-recommend-head,
.m-group-chat-recommend-btn {
  width: 50px;
  height: 50px;
  padding-top: 9px;
  font-size: 12px;
}

.m-group-chat-recommend-head div,
.m-group-chat-recommend-btn div {
  height: 18px;
  text-align: center;
}

.m-group-chat-recommend-btn.active {
  border: 1px solid #b41dfb;
  color: #b41dfb;
  background-color: #f6e3ff;
}

.m-group-chat-recommend-list {
  width: 50px;
}

.m-group-chat-recommend-item {
  position: relative;
  display: block;
  width: 50px;
  height: 50px;
  margin-top: 5px;
  overflow: hidden;
}

.m-group-chat-recommend-item:hover {
  overflow: visible;
}

.m-group-chat-recommend-item img {
  width: 50px;
  height: 50px;
  object-fit: cover;
}

.m-group-chat-avatar {
  width: 50px;
  height: 50px;
  background-color: #edeef1;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 50px 50px;
}

.m-group-chat-recommend-info {
  position: absolute;
  top: 0;
  right: 50px;
  width: 345px;
  height: 50px;
  background-color: #f34129;
  z-index: 1;
  padding: 6px 10px;
}

.m-group-chat-recommend-title {
  display: flex;
  align-items: center;
  height: 20px;
  font-size: 12px;
  color: #fff;
}

.m-group-chat-recommend-name {
  height: 20px;
  padding: 0 5px;
  background-color: #383a3e;
  line-height: 20px;
  margin-right: 5px;
}

.m-group-chat-recommend-game {
  font-size: 12px;
  color: #fff;
  padding-top: 3px;
}

.m-group-chat-recommend-on-off:after {
  content: attr(data-off);
}

.m-group-chat-recommend-btn.active .m-group-chat-recommend-on-off:after {
  content: attr(data-on);
}

.mIframePageWrap {
  padding-bottom: 20px;
}

.m-service-nav-container {
  margin: 0 auto;
  width: 832px;
  height: 52px;
  display: flex;
}

.m-service-nav-container a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #94979c;
}

.m-board-list-item-title {
  max-width: 450px !important;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  color: #383a3e;
  margin-left: 10px;
  cursor: pointer;
}

.m-view-content video {
  max-width: 100%;
}
