html, body {
  height: 100%;
  overflow: hidden;
  font-size: 14px;
  font-family: Arial;
  color: #666; }

input {
  font-family: Arial; }

input.input-sm {
  font-size: 14px !important; }

a:hover {
  text-decoration: none; }

input[type=file] {
  line-height: 1;
  outline: none; }

/* overwrite bootstrap-5.x */
.btn-primary {
    color: #fff;
    background-color: #337ab7;
    border-color: #2e6da4;
}

.btn-danger {
    color: #fff;
    background-color: #d9534f;
    border-color: #d43f3a;
}

a {
    color: #337ab7;
}

.nav-link {
    color: #337ab7;
}

.pagination {
    margin: 20px 0;
    align-items: center;
}

.page-link {
    color: #337ab7;
    min-width: 40px;
    text-align: center;
}

.page-item.active .page-link {
    background-color: #337ab7;
}
/* end of overwrite bootstrap */

/* from bootstrap-4.x */
.text-left {
    text-align: left !important;
}

.form-inline {
    flex-flow: row wrap;
    align-items: center;
}

.form-inline .form-control {
    display: inline-block;
    width: auto;
    vertical-align: middle;
    appearance: auto;
}
/* end from bootstrap-4.x */

/**Login**/
.login-logo {
  background: url(../images/logo.png) no-repeat;
  width: 209px;
  background-size: cover;
  height: 62px;
  position: absolute;
  left: 50%;
  margin-left: -600px;
  top: 46px;
  transition: all 0.2s ease-in; }

#login {
  position: absolute;
  right: 50%;
  margin-right: -600px;
  top: 50%;
  margin-top: -254px;
  background: rgba(255, 255, 255, 0.65);
  padding: 45px;
  line-height: 1;
  width: 480px;
  height: 458px;
  box-sizing: border-box;
  transition: all 0.2s ease-in;
  z-index: 99; }

@media (max-width: 1200px) {
  .login-text {
    display: none; }

  .login-logo {
    margin-left: -104px; }

  #login {
    margin-right: -240px; } }
@media (max-width: 768px) {
  #login {
    left: 10px;
    right: 10px;
    margin-right: 0;
    width: auto;
    padding: 20px;
    height: 352px;
    margin-top: -206px; } }
#login .form {
  margin-top: 22px;
  overflow: hidden; }

.login-body * {
  box-sizing: border-box; }

#login.error {
  animation: error 0.1s 3; }

@-webkit-keyframes error {
  0% {
    -webkit-transform: translateX(0); }
  25% {
    -webkit-transform: translateX(-10px); }
  50% {
    -webkit-transform: translateX(0px); }
  75% {
    -webkit-transform: translateX(10px); }
  100% {
    -webkit-transform: translateX(0px); } }
@keyframes error {
  0% {
    transform: translateX(0); }
  25% {
    transform: translateX(-10px); }
  50% {
    transform: translateX(0px); }
  75% {
    transform: translateX(10px); }
  100% {
    transform: translateX(0px); } }
#login .item {
  margin-top: 20px;
  display: flex;
  align-items: flex-end;
  position: relative; }

#login .item-special::after {
  position: absolute;
  height: 100%;
  width: 50px;
  content: '';
  left: 0;
  top: 0;
  background: #fff; }

#login .item .icon {
  position: absolute;
  left: 20px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  color: #858585;
  z-index: 22;
  width: 18px;
  height: 18px; }
  #login .item .icon.icon-username {
    background-position: 0 0; }
  #login .item .icon.icon-password {
    background-position: 0 -18px; }
  #login .item .icon.icon-code {
    background-position: 0 -36px; }

.icon {
  width: 16px;
  height: 16px;
  background-repeat: no-repeat;
  display: inline-block;
  vertical-align: middle; }

.login-icon {
  background-image: url(../images/login-icon.png); }

.main-icon {
  background-image: url(../images/main-icon.png); }

.icon-home {
  background-position: 0 0; }

.icon-setting {
  background-position: 0 -16px; }

.icon-network {
  background-position: 0 -32px; }

.icon-time {
  background-position: 0 -48px; }

.icon-upgrade {
  background-position: 0 -64px; }

.icon-params {
  background-position: 0 -80px; }

.icon-log {
  background-position: 0 -96px; }

.icon-menu {
  background-position: -16px 0; }

.icon-edit-password {
  background-position: -16px -16px; }

.icon-logout {
  background-position: -16px -32px; }

.icon-plus {
  background-position: -16px -48px; }

.icon-delete {
  background-position: -16px -64px; }

#login .item a {
  display: block;
  font-size: 12px;
  color: #456c76;
  text-decoration: none;
  flex-basis: 88px;
  flex: none;
  line-height: 2; }

#login .title {
  text-align: center;
  font-size: 22px;
  font-family: simhei;
  color: #2183d8;
  font-weight: bold; }

@media (max-width: 768px) {
  #login .title {
    font-size: 15px; }

  #login .form {
    margin-top: 0px; } }
#login .username,
#login .password,
#login .captcha {
  height: 48px;
  vertical-align: middle;
  padding: 0 12px 0 0px;
  margin-left: 50px;
  background: #fff;
  outline: none;
  flex: auto;
  color: #333;
  font-size: 14px;
  border: 1px solid #fff; }

#login .item > div {
  flex: auto;
  display: flex; }

#login .item img {
  display: block;
  cursor: pointer;
  margin-left: 10px;
  flex: none;
  flex-basis: 112px; }

#login .item input.error {
  border-color: brown; }

#login .login-btn {
  width: 100%;
  height: 48px;
  background: #2183d8;
  line-height: 48px;
  color: #fff;
  font-size: 16px;
  letter-spacing: 3px;
  text-align: center;
  border: none;
  outline: none;
  margin-top: 24px;
  cursor: pointer; }

#login .login-btn:hover {
  background: #1779ce; }

.login-footer {
  position: absolute;
  text-align: center;
  left: 0;
  right: 0;
  bottom: 30px;
  color: #fff;
  line-height: 1;
  color: #fff;
  font-size: 14px; }

.login-text {
  position: absolute;
  left: 50%;
  top: 330px;
  padding: 18px 48px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid #02d8ee;
  margin-left: -500px;
  width: 525px;
  height: 100px;
  display: none; }

.login-text .line {
  position: absolute;
  animation-iteration-count: 2;
  animation-duration: 1s;
  animation-timing-function: ease-in-out; }

.login-text .line1, .login-text .line2 {
  width: 1px;
  background-image: -webkit-linear-gradient(to top, rgba(1, 222, 244, 0), rgba(1, 222, 244, 0.8), rgba(1, 222, 244, 0));
  background-image: linear-gradient(to top, rgba(1, 222, 244, 0), rgba(1, 222, 244, 0.8), rgba(1, 222, 244, 0));
  height: 350%;
  animation-name: lineMove1; }

.login-text .line1 {
  left: -1px;
  bottom: -100%; }

.login-text .line2 {
  right: -1px;
  top: -100%; }

@-webkit-keyframes lineMove1 {
  from {
    height: 0;
    opacity: 0; }
  to {
    height: 350%;
    opacity: 1; } }
@keyframes lineMove1 {
  from {
    height: 0;
    opacity: 0; }
  to {
    height: 350%;
    opacity: 1; } }
.login-text .line3, .login-text .line4 {
  height: 1px;
  width: 160px;
  animation-name: lineMove2; }

.login-text .line3 {
  background-image: -webkit-linear-gradient(to right, rgba(1, 222, 244, 0), rgba(1, 222, 244, 0.8));
  background-image: linear-gradient(to right, rgba(1, 222, 244, 0), rgba(1, 222, 244, 0.8));
  top: -1px;
  right: 100%; }

.login-text .line4 {
  background-image: -webkit-linear-gradient(to left, rgba(1, 222, 244, 0), rgba(1, 222, 244, 0.8));
  background-image: linear-gradient(to left, rgba(1, 222, 244, 0), rgba(1, 222, 244, 0.8));
  bottom: -1px;
  left: 100%; }

@-webkit-keyframes lineMove2 {
  from {
    width: 0;
    opacity: 0; }
  to {
    width: 160px;
    opacity: 1; } }
@keyframes lineMove2 {
  from {
    width: 0;
    opacity: 0; }
  to {
    width: 160px;
    opacity: 1; } }
.login-text .img-text {
  animation: lineMove3 1s;
  overflow: hidden;
  animation-timing-function: linear; }

@-webkit-keyframes lineMove3 {
  0% {
    width: 0px; }
  100% {
    width: 427px; } }
@keyframes lineMove3 {
  0% {
    width: 0px; }
  100% {
    width: 427px; } }
.login-footer strong {
  font-weight: 400; }

.login-footer a {
  color: #FFFFFF;
  text-decoration: none; }

.login-footer a:hover {
  text-decoration: underline; }

/**header css**/
header {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 9;
  height: 60px;
  background-color: #1b1b1b;
  display: flex;
  justify-content: space-between;
  align-items: center;
  line-height: 60px; }
  header .logo {
    width: 200px;
    text-align: center; }
    header .logo img {
      width: 130px;
      vertical-align: middle; }
  header .head {
    flex: auto;
    font-family: simhei;
    font-size: 24px;
    color: #fff;
    padding-left: 15px; }
  header .manager {
    flex: none;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    padding-right: 25px;
    color: #fff; }
    header .manager .menu-btn {
      color: rgba(255, 255, 255, 0.8);
      margin-left: 25px;
      text-decoration: none; }
      header .manager .menu-btn:hover, header .manager .menu-btn.active, header .manager .menu-btn[aria-expanded=true] {
        color: white; }

/**nav css**/
nav {
  position: absolute;
  left: 0;
  top: 60px;
  bottom: 0;
  z-index: 9;
  width: 200px;
  background-color: #1b1b1b;
  border-top: 1px solid rgba(255, 255, 255, 0.1); }
  nav a {
    display: block; }
  nav ul, nav li, nav dl, nav dd, nav dt {
    list-style: none;
    margin: 0;
    padding: 0; }
  nav dd > a {
    height: 50px;
    line-height: 50px;
    color: #fff;
    padding-left: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none; }
    nav dd > a span {
      margin-left: 8px; }
    nav dd > a:hover {
      color: #fff;
      background-color: rgba(0, 0, 0, 0.8); }
    nav dd > a.active {
      color: #fff;
      background-color: rgba(0, 0, 0, 0.8); }
  nav dd ul {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
  nav dd li a {
    height: 44px;
    line-height: 44px;
    padding-left: 40px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none; }
    nav dd li a:hover, nav dd li a.active {
      color: #fff; }
    nav dd li a span {
      margin-left: 6px; }

/**footer css**/
footer {
  position: absolute;
  left: 200px;
  bottom: 0;
  right: 0;
  height: 40px;
  background-color: #1b1b1b;
  color: #fff;
  text-align: center;
  line-height: 40px;
  z-index: 9; }

/**main css**/
#main {
  position: absolute;
  left: 200px;
  top: 60px;
  bottom: 40px;
  right: 0;
  overflow: auto; }
  #main .current-position {
    background-color: #edeeee;
    border-bottom: 1px solid #d6d6d6;
    font-family: simhei;
    font-size: 16px;
    color: #275e93;
    padding: 0 15px;
    line-height: 50px;
    height: 50px; }
  #main .main-cont {
    padding: 25px; }
  #main .public-title {
    height: 32px;
    border-bottom: 1px solid #ccc;
    line-height: 32px; }
    #main .public-title span {
      color: #040404;
      font-size: 15px;
      display: inline-block;
      position: relative;
      height: 31px;
      line-height: 30px;
      padding: 0 5px;
      font-family: simhei; }
      #main .public-title span::after {
        position: absolute;
        left: 0;
        bottom: -1px;
        width: 100%;
        content: '';
        background: #4bb0df;
        height: 2px; }
  #main .system-status, #main .net-export-status {
    margin-top: 10px; }

.public-content {
  padding: 15px 0; }

.no-bs-table {
  width: 100%; }
  .no-bs-table td {
    border-bottom: 1px solid #ddd;
    line-height: 42px;
    vertical-align: top; }
    .no-bs-table td .item-text {
      min-height: 42px;
      overflow: hidden; }
      .no-bs-table td .item-text .progress {
        width: 500px;
        margin: 8px 0 0 0; }
      .no-bs-table td .item-text .item-text-form {
        overflow: hidden;
        height: 42px; }
        .no-bs-table td .item-text .item-text-form input[type=file] {
          width: 280px;
          display: inline-block; }
        .no-bs-table td .item-text .item-text-form .admin-input {
          width: 280px; }
        .no-bs-table td .item-text .item-text-form .select-file {
          -webkit-border-radius: 4px 0 0 4px;
          -moz-border-radius: 4px 0 0 4px;
          border-radius: 4px 0 0 4px; }
        .no-bs-table td .item-text .item-text-form .input-sm, .no-bs-table td .item-text .item-text-form .input-group-sm input[type=text] {
          font-size: 14px; }
        .no-bs-table td .item-text .item-text-form .item-text-checkbox {
          display: inline-block;
          width: 280px; }
          .no-bs-table td .item-text .item-text-form .item-text-checkbox input[type=checkbox] {
            /*margin-right: 10px;*/ }
      .no-bs-table td .item-text .select-type {
        line-height: 1;
        margin-top: 13px; }
        .no-bs-table td .item-text .select-type input[type=radio] {
          margin: 0px 0px 0px -20px; }
    .no-bs-table td.content-contain-form .item-name > p, .no-bs-table td.content-contain-form .item-text > div {
      height: 42px;
      line-height: 42px; }
  .no-bs-table tr td:first-child {
    table-layout: fixed;
    width: 1%;
    color: #000000; }
    .no-bs-table tr td:first-child > .item-name {
      white-space: nowrap;
      min-width: 85px;
      text-align: right; }

.content-contain-form .no-bs-table td {
  line-height: 42px; }

.params-setting .no-bs-table tr td:first-child > .item-name {
  min-width: 140px; }

.admin-table {
  display: flex;
  position: relative;
  background: url(../images/line.jpg) repeat;
  margin-top: 15px; }

.admin-table::after {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 42px;
  background: #edeeee;
  content: '';
  z-index: 1; }

.admin-table .item {
  text-align: center;
  width: 150px;
  line-height: 34px;
  position: relative;
  z-index: 2; }

.admin-table .item.item-head {
  color: #000;
  flex: none;
  width: 85px; }

.admin-table .item > div {
  line-height: 42px;
  height: 42px; }

.admin-table .item > div:first-child {
  color: #000; }

.admin-table .item > div img {
  vertical-align: middle; }

.system-table {
  width: 100%; }
  .system-table td, .system-table th {
    line-height: 24px;
    padding: 7px;
    text-align: center; }
  .system-table thead tr {
    background-color: #edeeee;
    border-bottom: 1px solid #ddd; }
  .system-table thead th {
    color: #000; }
  .system-table tbody tr:nth-child(2n) {
    background-color: #f6f6f6; }
  .system-table tbody tr:hover {
    background-color: rgba(47, 105, 163, 0.1); }
  .system-table tbody td {
    table-layout: fixed;
    border-bottom: 1px solid #ddd;
    vertical-align: top; }
    .system-table tbody td > div {
      white-space: nowrap; }

.time-setting .admin-input {
  width: 215px !important; }
.time-setting select {
  padding-left: 5px; }

#nslookup_address {
  width: 355px !important; }

.network-setting .btn-sm, .ping-test .btn-sm {
  min-width: 52px; }

.ping-test .item-name {
  min-width: 114px !important; }

.network-setting-table {
  width: 100%; }
  .network-setting-table td, .network-setting-table th {
    line-height: 42px;
    text-align: center; }
  .network-setting-table thead tr {
    background-color: #edeeee;
    border-bottom: 1px solid #ddd; }
  .network-setting-table thead th {
    color: #000; }
  .network-setting-table tbody td {
    table-layout: fixed;
    vertical-align: top; }
    .network-setting-table tbody td > div {
      white-space: nowrap; }
  .network-setting-table .line-bg {
    background: url(../images/line.jpg) repeat; }

.params-setting-table td {
  border-bottom: 0px !important; }
.params-setting-table .line-bg {
  background: url(../images/line.jpg) repeat; }
  .params-setting-table .line-bg.line-bg-special {
    background: #ffffff;
    border-bottom: 1px solid #dcdcdc; }
  .params-setting-table .line-bg .ip-list-cont-special {
    padding: 5px 0px; }
    .params-setting-table .line-bg .ip-list-cont-special textarea {
      width: 280px;
      min-height: 100px;
      height: auto; }
.params-setting-table .handle-btn {
  height: 15px !important; }
.params-setting-table .del-server {
  display: none; }

.ping-notice {
  margin: 0;
  line-height: 1;
  font-size: 12px;
  color: #ccc;
  padding-bottom: 5px; }

.tool-result {
  display: none; }
  .tool-result pre {
    min-height: 58px;
    margin: 6px 0;
    padding: 9.5px;
    line-height: 1.42857143;
    color: #333;
    word-break: break-all;
    word-wrap: break-word;
    background-color: #f5f5f5;
    border: 1px solid #ccc;
    border-radius: 4px; }

.system-log-search {
  line-height: 32px;
  margin-bottom: 20px;
  display: flex;
  margin-top: 8px;
  justify-content: space-between; }
  .system-log-search .left-cont form {
    display: flex;
    flex-wrap: wrap; }
    .system-log-search .left-cont form .item {
      margin-right: 12px;
      line-height: 30px;
      margin-bottom: 10px; }
  .system-log-search .left-cont .cell-name {
    color: #000; }
  .system-log-search input[type=text], .system-log-search select {
    width: 155px;
    font-size: 14px; }
  .system-log-search .right-cont {
    text-align: right;
    flex: none; }

.ip-list-cont {
  width: 450px;
  text-align: left; }

.ip-list .item {
  display: flex;
  flex-flow: row wrap;
  height: 42px;
  transition: all 0.1s linear;
  align-items: center; }
  .ip-list .item .handle-btn {
    height: 30px;
    line-height: 1;
    margin-left: 5px; }

.ip-list .item input[type=text] {
  width: 280px; }

.ip-list .item-add-cont {
  display: flex;
  height: 42px;
  line-height: 1;
  align-items: center; }
  .ip-list .item-add-cont input {
    width: 280px; }
  .ip-list .item-add-cont .add-address-handle-btn {
    margin-left: 5px; }

.ip-add {
  overflow: hidden; }

.edit-password {
  padding: 15px 25px; }

.edit-password .item-text-form {
  display: flex;
  align-items: center; }

.edit-password .item-text-form .red {
  color: red;
  vertical-align: middle; }

.edit-password .item-text-form .notice {
  font-size: 12px;
  margin-left: 5px; }

.pagination .total-number {
  margin-left: 10px;
  margin-right: 10px; }
.pagination .page-number {
  border: 1px solid #ccc;
  width: 80px;
  height: 34px;
  margin-left: 10px;
  margin-right: 10px; }

/**scrollBar css**/
::-webkit-scrollbar {
  width: 8px;
  height: 8px; }

::-webkit-scrollbar-track-piece {
  background-color: rgba(0, 0, 0, 0.2);
  -webkit-border-radius: 0px; }

::-webkit-scrollbar-thumb:vertical {
  height: 5px;
  background-color: rgba(125, 125, 125, 0.7);
  -webkit-border-radius: 0px; }

::-webkit-scrollbar-thumb:horizontal {
  width: 5px;
  background-color: rgba(125, 125, 125, 0.7);
  -webkit-border-radius: 0px; }

body .admin-layer-ui .layui-layer-title {
  background: #337ab7;
  color: #fff;
  border: none; }

body .admin-layer-ui .layui-layer-btn {
  border-top: 1px solid #E9E7E7;
  padding-top: 6px; }

body .admin-layer-ui .layui-layer-btn a {
  background: #337ab7; }

body .admin-layer-ui .layui-layer-btn .layui-layer-btn1 {
  background: #f4f4f4; }

.layui-layer-ico16, .layui-layer-loading .layui-layer-loading2 {
  background-image: url(../images/loading-layer.gif) !important; }

.layui-layer-dialog .layui-layer-ico {
  background-image: url(../images/layer-icon.png); }

.graph {
  width: 300px;
  background-color: #F0EFEF;
  border: 1px solid rgba(47, 105, 163, 0.1);
  padding: 2px;
  font-size: 13px;
  font-weight: 700;
  float: left;
  margin-top: 7px; }
  .graph .orange, .graph .green, .graph .red {
    position: relative;
    text-align: left;
    color: #ffffff;
    height: 18px;
    line-height: 18px;
    font-family: Arial;
    display: block; }
  .graph .orange {
    background-color: #ff6600; }
  .graph .green {
    background-color: #66CC33; }
  .graph .red {
    background-color: #ff0000; }

.graph_msg {
  float: left;
  width: 50px;
  margin-left: 20px; }

.router-setting {
  padding: 25px; }
  .router-setting .router-setting-form {
    padding: 6px 0;
    border-bottom: 1px solid #ddd;
    margin-top: 9px; }

.route-table {
  width: 100%;
  line-height: 42px; }
  .route-table th {
    background: #edeeee;
    color: #000; }
  .route-table td, .route-table th {
    border-bottom: 1px solid #ddd;
    padding: 0 20px; }
