/*
Template Name: Admin Press Admin
Author: Themedesigner
Email: niravjoshi87@gmail.com
File: scss
*/
/*
Template Name: Admin Press Admin
Author: Themedesigner
Email: niravjoshi87@gmail.com
File: scss
*/
@import url("css.css");
/*Theme Colors*/
/*bootstrap Color*/
/*Light colors*/
/*Normal Color*/
/*Extra Variable*/
/*Preloader*/

.comment-widgets {
    height: 585px !important;           /* 自定义高度 */
    max-height: 100vh;       /* 不超过视口高度 */
    overflow-y: auto;        /* 垂直滚动 */
    overflow-x: hidden;      /* 隐藏横向滚动 */
}
.scroll-table {
    overflow-y: auto;
}
.scroll-table table {
    width: 100%; 
    table-layout: fixed; 
    margin: 0;
}
.scroll-table table thead {
    position:sticky; 
    top: 0; 
    z-index: 5;
    background: #fff;
}
.scroll-table table thead th {
    text-align: center;
}
.min-height {
    min-height: 520px;
}

.modal-xl {
    max-width: 1200px;
}

.modal-dialog-scrollable .modal-body {
max-height: 80vh;  /* 限制高度，超出部分滚动 */
overflow-y: auto;  /* 垂直滚动 */
}
.help {
    cursor: help; 
    border-bottom: 1px dashed #666; 
    padding-bottom: 2px;
}
.text-red {
    color: red;
}
.preloader {
  width: 100%;
  height: 100%;
  top: 0px;
  position: fixed;
  z-index: 99999;
  background: #fff;
}

.preloader .cssload-speeding-wheel {
  position: absolute;
  top: calc(50% - 3.5px);
  left: calc(50% - 3.5px);
}

/*******************
/*Top bar
*******************/
.topbar {
  background: #1976d2;
}

.topbar .navbar-header {
  background: #ffffff;
}

.topbar .top-navbar .navbar-header .navbar-brand .light-logo {
  display: none;
  color: rgba(255, 255, 255, 0.8);
}

.topbar .navbar-light .navbar-nav .nav-item > a.nav-link {
  color: #ffffff !important;
}

.topbar .navbar-light .navbar-nav .nav-item > a.nav-link:hover, .topbar .navbar-light .navbar-nav .nav-item > a.nav-link:focus {
  color: rgba(255, 255, 255, 0.8) !important;
}

/*******************
/*General Elements
*******************/
a.link:hover, a.link:focus {
  color: #1976d2 !important;
}

.bg-theme {
  background-color: #1976d2 !important;
}

.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus {
  background-color: #1976d2;
  border-color: #1976d2;
}

.right-sidebar .rpanel-title {
  background: #1976d2;
}

.stylish-table tbody tr:hover, .stylish-table tbody tr.active {
  border-left: 4px solid #1976d2;
}

.text-themecolor {
  color: #1976d2 !important;
}

.profile-tab li a.nav-link.active,
.customtab li a.nav-link.active {
  border-bottom: 2px solid #1976d2;
  color: #1976d2;
}

.profile-tab li a.nav-link:hover,
.customtab li a.nav-link:hover {
  color: #1976d2;
}

/*******************
/*Buttons
*******************/
.btn-themecolor,
.btn-themecolor.disabled {
  background: #1976d2;
  color: #ffffff;
  border: 1px solid #1976d2;
}

.btn-themecolor:hover,
.btn-themecolor.disabled:hover {
  background: #1976d2;
  opacity: 0.7;
  border: 1px solid #1976d2;
}

.btn-themecolor.active, .btn-themecolor:focus,
.btn-themecolor.disabled.active,
.btn-themecolor.disabled:focus {
  background: #028ee1;
}

/*******************
/*sidebar navigation
*******************/
.label-themecolor {
  background: #1976d2;
}

.sidebar-nav > ul > li.active > a {
  background-color: transparent !important;
  color: #1976d2;
  border-color: #1976d2;
}

.sidebar-nav > ul > li.active > a i {
  color: #1976d2;
}

.sidebar-nav ul li a.active, .sidebar-nav ul li a:hover {
  color: #1976d2;
}

.sidebar-nav ul li a.active i, .sidebar-nav ul li a:hover i {
  color: #1976d2;
}
/* 全局表单控件统一内缩进 */
input[type="text"],
input[type="number"],
input[type="password"],
select,
textarea {
  padding: 6px 12px !important;
  box-sizing: border-box !important;
}

/* textarea 单独高度 */
textarea {
  height: auto !important;
  min-height: 80px !important;
  padding: 8px 12px !important;
  resize: vertical !important;
}

/* select2 下拉框内缩进 */
.select2-selection {
  padding: 5px 0 !important;
  height: auto !important;
}
.select2-selection__rendered {
  padding-left: 12px !important;
  line-height: 24px !important;
}