@CHARSET "UTF-8";

body {
    background: Linear-gradient(to left,#eef5f9, #fff9ec);
    font-size: 14px;
}

table{
	font-size: 1em;
    color: #000;
}
.table th{
	vertical-align: middle;
	font-weight: bolder;
	text-align: center;
}
.table td{
	vertical-align: middle;
}
.form-line{
	height: 30px;
    line-height: 30px;
    margin-bottom: 1rem
}

button, .btn{
    font-size: 12px;
    height: 30px;
}
.form-control{
	font-size: 12px;
	height: 30px;
}
.nav li button{
	height: 54px;
}
.card-body {
    padding: 0.5rem 1rem;
}
.btn-sm{
	height: 26px;
}

@media (min-width: 1300px) {
    body{
        zoom: 1;
    }
}
        
.bg{
	background: Linear-gradient(to left,#eef5f9, #fff9ec);
}

.error{
	color: red;
}
green, .green{
	color: #28a745;
}
.green-bg{
	background-color: #CAF982;
}
warning, .warning{
	color: #f39c12;
}
.warning-bg{
	background-color: #F59A23;
}
red, .red{
	color: red;
}
yellow, .yellow{
	color: yellow;
}
gray, .gray{
	color: gray;
}
white, .white{
	color: #fff;
}
black, .black{
	color: #000;
}
info, .info{
	color: #17a2b8;
}
primary, .primary{
	color: #796AEE;
}
nice, .nice{
	color: #f63ae7;
}
.primary-bg{
	background-color: #796AEE;
}
.info-bg{
	background-color: #17a2b8;
}

tag{
	background-color: #b12fc4;
    border: 1px solid #ffee38;
    border-radius: 5px;
    color: #fff;
    padding: 3px;
    margin-left: 5px;
    margin-right: 5px;
}
b{
	font-weight: bolder;
}
thin{
	font-weight:normal;
}
xie{
	font-style: italic;
}
smaller,sm{
	font-size: smaller;
}
.strong{
	font-weight: bolder;
}
.hand{
	cursor:pointer!important;
}
.hand:hover{
	background-color: #9cfd80;
}

.hidden{
	display: none;
}

.height-center{
	position: fixed;
	top: 50%;
	left: 50%;
	width: 100%;
	-webkit-transform: translateX(-50%) translateY(-50%);
}
.center{
	vertical-align: middle!important;
	text-align: center;
}
.text-center{
	text-align: center;
}
.v-center{
    align-items: center; /* 垂直居中 */	
}
.text-left{
	text-align: left;
}
.left{
	float: left;
}
.float-left{
	float: left;
}
.right{
	float: right;
}
.float-right{
	float: right;
}
.flex-center{
	vertical-align: middle!important;
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
}


.nopx{
	margin: 0;
	padding: 0;
}
.nopxi{
	margin: 0 !important;
	padding: 0 !important;
}
.nopxi-lr{
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}
.margin0{
	margin : 0;
}
.padding0{
	padding : 0;
}
.pr0{
	padding-right : 0;
}
.width100{
	width: 100%;
}


/* bootstrap nav */
.nav {
  margin-left: 0;
  margin-bottom: 5px;
  list-style: none;
}
.nav > li > a {
  display: block;
}
.nav > li > a:hover {
  text-decoration: none;
  background-color: #eeeeee;
}
.nav .nav-header {
  display: block;
  padding: 3px 15px;
  font-size: 11px;
  font-weight: bold;
  line-height: 18px;
  color: #999999;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
}
.nav li + .nav-header {
  margin-top: 9px;
}
.nav-list {
  padding-left: 14px;
  padding-right: 14px;
  margin-bottom: 0;
}
.nav-list > li > a, .nav-list .nav-header {
  margin-left: -15px;
  margin-right: -15px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}
.nav-list > li > a {
  padding: 3px 15px;
}
.nav-list .active > a, .nav-list .active > a:hover {
  color: #ffffff;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2);
  background-color: #0088cc;
}
.nav-list [class^="icon-"] {
  margin-right: 2px;
}
.nav-tabs, .nav-pills {
  zoom: 1;
}
.nav-tabs:before,
.nav-pills:before,
.nav-tabs:after,
.nav-pills:after {
  display: table;
  content: "";
}
.nav-tabs:after, .nav-pills:after {
  clear: both;
}
.nav-tabs > li, .nav-pills > li {
  float: left;
}
.nav-tabs > li > a, .nav-pills > li > a {
  padding-right: 12px;
  padding-left: 12px;
  margin-right: 2px;
  line-height: 14px;
}
.nav-tabs {
  border-bottom: 1px solid #ddd;
}
.nav-tabs > li {
  margin-bottom: -1px;
}
.nav-tabs > li > a {
  padding-top: 9px;
  padding-bottom: 9px;
  border: 1px solid transparent;
  -webkit-border-radius: 4px 4px 0 0;
  -moz-border-radius: 4px 4px 0 0;
  border-radius: 4px 4px 0 0;
}
.nav-tabs > li > a:hover {
  border-color: #eeeeee #eeeeee #dddddd;
}
.nav-tabs > .active > a, .nav-tabs > .active > a:hover {
  color: #555555;
  background-color: #ffffff;
  border: 1px solid #ddd;
  border-bottom-color: transparent;
  cursor: default;
}
.nav-pills > li > a {
  padding-top: 8px;
  padding-bottom: 8px;
  margin-top: 2px;
  margin-bottom: 2px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}
.nav-pills .active > a, .nav-pills .active > a:hover {
  color: #ffffff;
  background-color: #0088cc;
}
.nav-stacked > li {
  float: none;
}
.nav-stacked > li > a {
  margin-right: 0;
}
.nav-tabs.nav-stacked {
  border-bottom: 0;
}
.nav-tabs.nav-stacked > li > a {
  border: 1px solid #ddd;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
}
.nav-tabs.nav-stacked > li:first-child > a {
  -webkit-border-radius: 4px 4px 0 0;
  -moz-border-radius: 4px 4px 0 0;
  border-radius: 4px 4px 0 0;
}
.nav-tabs.nav-stacked > li:last-child > a {
  -webkit-border-radius: 0 0 4px 4px;
  -moz-border-radius: 0 0 4px 4px;
  border-radius: 0 0 4px 4px;
}
.nav-tabs.nav-stacked > li > a:hover {
  border-color: #ddd;
  z-index: 2;
}
.nav-pills.nav-stacked > li > a {
  margin-bottom: 3px;
}
.nav-pills.nav-stacked > li:last-child > a {
  margin-bottom: 1px;
}
.nav-tabs .dropdown-menu, .nav-pills .dropdown-menu {
  margin-top: 1px;
  border-width: 1px;
}
.nav-pills .dropdown-menu {
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}
.nav-tabs .dropdown-toggle .caret, .nav-pills .dropdown-toggle .caret {
  border-top-color: #0088cc;
  margin-top: 6px;
}
.nav-tabs .dropdown-toggle:hover .caret, .nav-pills .dropdown-toggle:hover .caret {
  border-top-color: #005580;
}
.nav-tabs .active .dropdown-toggle .caret, .nav-pills .active .dropdown-toggle .caret {
  border-top-color: #333333;
}
.nav > .dropdown.active > a:hover {
  color: #000000;
  cursor: pointer;
}
.nav-tabs .open .dropdown-toggle, .nav-pills .open .dropdown-toggle, .nav > .open.active > a:hover {
  color: #ffffff;
  background-color: #999999;
  border-color: #999999;
}


/* ::-webkit-scrollbar {
	width: 6px;
	height: 1px;
}
::-webkit-scrollbar-thumb {
	border-radius: 30px;
	-webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
	background: #c1c1c1;
}

::-webkit-scrollbar-track {
	-webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
	border-radius: 10px;
	background: #EDEDED;
}
 */
 
.btn-active{
	background-color: #4b7aff;
    color: #fff;
}
.btn-warning{
	background-color: #f39c12;
	color: #fff;
}
.btn-error{
	background-color: #ff3535;
	color: #fff;
}

red{
	color: red;
}

.z9{
	z-index: 9;
}
.z0{
	z-index: 0;
}


.f10{
	font-size: 10px;
}
f10i, .f10i{
	font-size: 10px!important;
}
f12, .f12{
	font-size: 12px;
}
.f12i{
	font-size: 12px!important;
}
f14, .f14{
	font-size: 14px;
}
.f14i{
	font-size: 14px!important;
}
f16, .f16{
	font-size: 16px;
}
.f16i{
	font-size: 16px!important;
}
f18, .f18{
	font-size: 18px;
}
f20, .f20{
	font-size: 20px;
}
f24, .f24{
	font-size: 24px;
}
f26, .f26{
	font-size: 26px;
}
f28, .f28{
	font-size: 28px;
}
f30, .f30{
	font-size: 30px;
}

primary,.text-primary {
    color: #796aee !important;
}
danger,.text-danger {
    color: #e74a25 !important;
}
warning,.text-warning {
    color: #ffb136 !important;
}
success,.text-success {
    color: #28a745 !important;
}
info,.text-info {
    color: #1976d2 !important;
}



/* 等待/挂起状态 - 灰色 */
.status-wait {
  color: #95a5a6;
  font-weight: 600;
  align-items: center;
}
.status-wait:before {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #95a5a6;
  margin-right: 8px;
}

/* 成功状态 - 绿色 */
.status-success {
  color: #27ae60;
  font-weight: 600;
  align-items: center;
}
.status-success:before {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #27ae60;
  margin-right: 8px;
}

/* 警告状态 - 橙色 */
.status-warning {
  color: #f39c12;
  font-weight: 600;
  align-items: center;
}
.status-warning-span {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #f39c12;
  margin-right: 8px;
}

/* 警告状态 - 红色 */
.status-error {
  color: #f20000;
  font-weight: 600;
  align-items: center;
  cursor:pointer;
}
.status-error-span {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #f20000;
  margin-right: 8px;
}


.stat-schools {
	background-color: #5b5858;
}
.stat-student {
	background-color: #1976d2;
}
.stat-total {
	background-color: #17a2b8;
}
.stat-success {
	background-color: #27ae60;
}
.stat-warning {
	background-color: #f39c12;
}
.stat-wait {
	background-color: #95a5a6;
}



.diandiandian{
	white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.content-img-show{
	width: 100%;
}

button:disabled{
	cursor: not-allowed!important;
}

thead{
	background-color: #7b7b7b;
    color: #fff;
}
.table-striped tbody tr:nth-of-type(even) {
    background-color: rgba(0,0,0,.05);
}
.table-striped tbody tr:nth-of-type(odd) {
    background-color: #fff;
}
.table td, .table th {
    padding: 0.4rem;
    vertical-align: middle;
    border: 1px solid #dee2e6;
}


.delete-button {
    position: absolute;
    top: 10px;
    right: -10px;
    width: 24px;
    height: 24px;
    background-color: #FF0000; /* 红色底色 */
    border-radius: 50%;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
    cursor: pointer;
}
.delete-button::before {
    content: "×";
    font-size: 30px;
    margin-top: -5px;
}

.table-sm th, .table-sm td {
	padding: 0.3rem;
}

.limited-text {
	width: 100%; /* 或者具体宽度，例如 200px */
	white-space: nowrap; /* 防止文本换行 */
	overflow: hidden; /* 隐藏超出部分 */
	text-overflow: ellipsis; /* 显示省略号 */
}

.downLoad {
    font-style: italic;
    text-decoration: underline!important;
}
.downLoad:hover{
    cursor: pointer;
    color: red!important;
}

doc{
	color: #e33232;
}
.downLoad doc{
	color: #000;
}
.downLoad doc:hover{
    cursor: pointer;
    color: red!important;
}

.clamp-text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  position: relative;
  max-height: 71px;
}

.money{
	background-image: url("/zw/static/personal/mine/coin.png");
	width: 40px;
	height: 40px;
	background-size: cover;
    background-position: center;
}

.fa-diamond{
	color: #ffd700;
}




/* 模态框样式 */
#multiImageModal .modal-dialog {
    max-width: 90%;
    height: 90vh;
}

.modal-backdrop.global-image-backdrop {
    z-index: 2055;
}

#multiImageModal .modal-content {
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    color: white;
    border: none;
}

#multiImageModal .modal-header {
    border-bottom: 1px solid #444;
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    min-height: 60px;
}

#multiImageModal .modal-header .close {
    color: white;
    opacity: 0.8;
    text-shadow: none;
    margin-left: 10px;
}

#multiImageModal .modal-header .close:hover {
    opacity: 1;
}

/* 头部操作按钮 */
.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* 缩放控制按钮 */
.zoom-controls {
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: 2px;
}

.zoom-btn {
    background: transparent;
    border: none;
    color: white;
    padding: 5px 8px;
    border-radius: 3px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zoom-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.zoom-btn .fa {
    font-size: 16px;
}

.zoom-btn.zoom-in .fa {
    color: #28a745;
}

.zoom-btn.zoom-out .fa {
    color: #dc3545;
}

.zoom-btn.zoom-reset .fa {
    color: #17a2b8;
}

.rotate-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.rotate-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.fullscreen-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fullscreen-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.fullscreen-btn .fa {
    font-size: 16px;
}

/* 图片名称显示区域 */
.image-name-container {
    text-align: center;
    padding: 8px 10px;
    border-bottom: 1px solid #444;
    background: rgba(0, 0, 0, 0.8);
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#imageName {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    max-width: 80%;
    padding: 2px 8px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 4px;
}

/* 主图展示区域 */
.main-image-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: calc(75vh - 80px); /* 减去头部和图片名称区域的高度 */
    padding: 10px;
    overflow: hidden;
    touch-action: none;
}

.main-image-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: grab;
    position: relative;
}

.main-image-wrapper:active {
    cursor: grabbing;
}

.main-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    transform-origin: center center;
    user-select: none;
    -webkit-user-drag: none;
}

/* 全屏样式 */
#multiImageModal.fullscreen .modal-dialog {
    max-width: 100%;
    width: 100%;
    height: 100vh;
    margin: 0;
}

#multiImageModal.fullscreen .modal-content {
    height: 100vh;
}

#multiImageModal.fullscreen .main-image-container {
    height: calc(100vh - 140px); /* 在全屏模式下调整高度 */
}

#multiImageModal.fullscreen .thumbnail-container {
    height: 20vh;
}

/* 缩放级别显示 */
.zoom-level {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    opacity: 0.7;
    transition: opacity 0.3s;
    z-index: 5;
}

.zoom-level:hover {
    opacity: 1;
}

/* 旋转动画 */
.main-image.rotating {
    transition: transform 0.5s ease;
}

/* 导航按钮 */
.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.7);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.nav-btn:hover {
    opacity: 1;
    background: rgba(0, 0, 0, 0.8);
    border-color: white;
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

/* 缩略图区域 */
.thumbnail-container {
    height: 15vh;
    padding: 10px 0;
    border-top: 1px solid #444;
    background-color: rgba(0, 0, 0, 0.9);
    position: relative;
    z-index: 1;
}

.thumbnail-scroll {
    width: 100%;
    height: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    display: flex;
    align-items: center;
}

.thumbnail-list {
    display: flex;
    gap: 10px;
    padding: 0 20px;
    height: 100%;
    align-items: center;
}

.thumbnail-item {
    flex-shrink: 0;
    width: 100px;
    height: 80px;
    border: 3px solid transparent;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
    background-color: #222;
    position: relative;
}

.thumbnail-item:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

.thumbnail-item.active {
    border-color: #007bff;
    opacity: 1;
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.5);
}

.thumbnail-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 缩略图名称 */
.thumbnail-name {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 10px;
    padding: 2px 4px;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s;
}

.thumbnail-item:hover .thumbnail-name {
    opacity: 1;
}

/* 滚动条样式 */
.thumbnail-scroll::-webkit-scrollbar {
    height: 6px;
}

.thumbnail-scroll::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.thumbnail-scroll::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.thumbnail-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* 禁用状态的导航按钮 */
.nav-btn.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

/* 全屏退出提示 */
.fullscreen-exit-hint {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 12px;
    z-index: 10000;
    display: none;
}

/* 模态框内容区域 */
.modal-body {
    background-color: rgba(0, 0, 0, 0.9);
    padding: 0;
    display: flex;
    flex-direction: column;
    height: calc(100% - 60px);
}

/* 全屏模式下的响应式调整 */
@media (max-width: 768px) {
    #multiImageModal.fullscreen .main-image-container {
        height: calc(100vh - 120px);
    }
}
