body {
  background: #eff3f6;
}

.st-shortcut {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 4;
  font-family: 'Amiri';
  // background: @vi-color;
  background: linear-gradient(90deg, #c1014b, #a0000e);
  color: #fff;
  height: 40px;
  .nav .open > a,
  .nav .open > a:focus,
  .nav .open > a:hover {
    background: darken(@vi-color, 10%);
  }
  .nav {
    display: flex;
    &.nav-left {
      margin-right: auto;
    }
    > li {
      > a {
        color: #fff;
        &:hover {
          background: darken(@vi-color, 10%);
        }
      }
      .dropdown {
        .dropdown-toggle {
          &.open {
            background: darken(@vi-color, 10%);
          }
        }
        .dropdown-menu {
          a {
            color: #333;
            cursor: pointer;
          }
        }
      }
    }
  }
}
.st-header {
  position: fixed;
  left: 0;
  right: 0;
  top: 40px;
  z-index: 3;
  height: 80px;
  background: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  > .flexbox {
    align-items: stretch;
  }
  .logo {
    width: 240px;
    padding: 10px 0;
    text-align: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    img {
      width: 210px;
      max-width: 100%;
      max-height: 100%;
      object-fit: contain;
    }
  }
  .g-nav {
    flex: 1;
    display: flex;
    align-items: stretch;
    .main-link,
    .other-link {
      list-style: none;
      display: flex;
      margin: 0;
      align-items: stretch;
      a {
        position: relative;
        display: flex;
        align-items: center;
        height: 100%;
        margin: 0 10px;
      }
    }
    .main-link {
      a {
        font-size: 22px;
        &.active {
          color: @primary-color;
          font-weight: bold;
          &:after {
            position: absolute;
            left: 0;
            right: 0;
            bottom: 0;
            width: 100%;
            height: 2px;
            background: @primary-color;
            content: '';
          }
        }
      }
    }
    .other-link {
      margin-left: auto;
    }
  }
}
.st-sidebar {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  width: 240px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  padding-top: 160px;
  background: #f8f8f8;
  overflow-y: auto;
  .account {
    text-align: center;
    padding-bottom: 25px;
    border-bottom: solid 1px rgba(0, 0, 0, 0.1);
    .avatar {
      border-radius: 100%;
      width: 150px;
      height: 150px;
      overflow: hidden;
      background: #fff;
      border: solid 1px #ddd;
      box-sizing: content-box;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
      padding: 1px;
      margin: auto;
      img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        border-radius: 100%;
      }
    }
    .username {
      margin-top: 10px;
      font-weight: bold;
    }
  }
  .nav {
    margin-top: 15px;
    margin-bottom: 60px;
  }
}
.st-mainbody {
  height: 100vh;
  padding-top: 120px;
  padding-left: 260px;
  padding-bottom: 40px;
  .box {
    background: #fff;
    padding: 30px;
    .form {
      fieldset {
        font-size: 16px;
        font-weight: bold;
        margin: 50px 0 30px 0;
        padding-bottom: 10px;
        border-bottom: solid 1px rgba(0, 0, 0, 0.1);
      }
      .radio,
      .checkbox {
        label {
          font-weight: normal;
          margin-right: 20px;
        }
      }
      .tips {
        color: @primary-color;
      }
      // margin: auto;
      .form-group {
        position: relative;
        max-width: 900px;
        display: flex;
        align-items: center;
        color: #555;
        margin-bottom: 25px;

        &.form-group-v {
          display: block;
        }
        &.form-group-compact {
          .control-label {
            flex-basis: auto;
            margin-right: 20px;
            margin-left: auto;
          }
        }
        .control-label {
          flex-basis: 200px;
          // font-size: 14px;
          font-weight: bold;
          color: #000;
        }
        .form-control {
          flex: 1;
        }
        &.form-action {
          padding-left: 200px;
          margin-top: 20px;
          .btn {
            min-width: 120px;
          }
        }
      }
      .help-block {
        padding-left: 200px;
        margin-top: -10px;
        margin-bottom: 20px;
        max-width: 900px;
        &.regex-tip {
          position: absolute;
          right: 15px;
          top: 15px;
          pointer-events: none;
        }
      }
    }
    a {
      color: @primary-color;
      cursor: pointer;
      &.btn-primary {
        color: #fff;
      }
    }
  }
  .heading {
    padding: 0 0 10px 0;
    margin-bottom: 20px;
    border-bottom: solid 2px @primary-color;
    h3 {
      padding: 0;
      margin: 0;
      font-size: 18px;
      font-weight: bold;
      color: @primary-color;
    }
  }
  .notes {
    margin-bottom: 20px;
    h5 {
      color: @primary-color;
      font-weight: bold;
      margin: 20px 0;
    }
    h6 {
      font-size: 14px;
      font-weight: bold;
      margin-top: 20px;
    }
  }
  .table {
    margin-bottom: 25px;
    caption {
      font-weight: bold;
      font-size: 14px;
      color: #333;
    }
    thead {
      background: #acb9cf;
    }
    tbody {
      background: #f2f7fd;
    }
    .status-col {
      color: #7d0add;
    }
    &.table-form {
      .radio,
      .checkbox {
        margin: 0;
      }
      .form-control {
        max-width: 400px;
      }
      tbody,
      thead {
        th {
          font-weight: normal;
        }
        th,
        td {
          vertical-align: middle;
        }
      }
    }
  }
  .copyright {
    text-align: center;
    padding: 10px;
    opacity: 0.5;
  }
}
// .st-footer {
// 	position: absolute;
// 	left: 50%;
// 	transform: translateX(-50%);
// 	bottom: 0;
// 	padding: 40px 0 10px 0;
// 	color: #888;
// }
