.col-lg-7-cus{
    flex: 0 0 auto;
}

/* loading */
#loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 6px solid #f3f3f3;
    border-top: 6px solid #3498db;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 2s linear infinite;
}
@keyframes spin {
  0% {
      transform: rotate(0deg);
  }
  100% {
      transform: rotate(360deg);
  }
}
#loading-container {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.7);
  z-index: 9999;
}

.background-div {
  background-image: url('../img/hmbk3.jpg') !important;
  background-size: cover !important;

}

.input-container {
  position: relative;
  display: inline-block;
  width: 100%;
}

.input-container input {
  padding-right: 30px; /* 为单位符号留出空间 */
}

.input-container .unit {
  position: absolute;
  right: 10px; /* 调整符号的位置 */
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: #888;
}
.table-container {
  width: 100%;
  overflow-x: auto;
  overflow-y: auto;
  max-height: 300px;
}

/* 让表格根据内容调整宽度 */
.infotable {
  width: auto;
  border-collapse: collapse;
  white-space: nowrap; /* 防止内容换行 */
}
.infotable thead th {
  position: sticky;
  top: 0;
  background-color: #f2f2f2; /* 设置背景色，防止滚动时内容遮挡表头 */
  z-index: 1; /* 确保表头在滚动内容之上 */
}
/* 边框样式（可选） */
.infotable th, .infotable td {
  border: 1px solid #ccc;
  padding: 8px;
  text-align: left;
}

#info tr:hover td {
  background-color: #ffdaf8;
  cursor: pointer;
}
.mhighlight td {
  background-color: lightblue;
}
.ltable {
  border-collapse: collapse; /* 合并相邻单元格的边框 */
}
.ltable th, .ltable td {
  border: 1px solid black;
}


.tab {
  overflow: hidden;
  border-bottom: 1px solid #ccc;
}

.tab button {
  background-color: #f1f1f1;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 10px 20px;
  transition: background-color 0.3s;
}

.tab button:hover {
  background-color: #ddd;
  cursor: pointer;
}

.tab button.active {
  background-color: #ccc;
}

.tabcontent {
  display: none;
  padding: 10px;
  border: 1px solid #ccc;
  border-top: none;
}

.tabtable{
  height: 100%;
  overflow-y: auto;  
}

.infotabcontent{
  display: none;
  padding: 10px;
  border: 1px solid #ccc;
  border-top: none;
}
.infoactive {
  box-shadow: 5px 5px 8px rgba(0, 0, 0, 0.3)
}
.infotablinks {
  padding: 5px 5px;
}
.infotablinks:hover {
  cursor: pointer;
}
.mailcontainer{
  display: flex;
  flex-wrap: wrap;
}

.mailcontainer div:nth-child(1) {
  width: 20%;
}

.mailcontainer div:nth-child(2) {
  width: 40%;
}

.mailcontainer div:nth-child(3) {
  width: 40%;
}

.maileditdiv{  
  height: 95%;
}
.threediv{
  height: 80vh;
}
@media (max-width: 768px) {
  .threediv{
    height:100%;
  }
  .mailcontainer {
      flex-direction: column;
  }
  .mailcontainer div:nth-child(1) {
    width: 100%;
  }
  
  .mailcontainer div:nth-child(2) {
    width: 100%;
  }
  
  .mailcontainer div:nth-child(3) {
    width: 100%;
  }
  .btntd{
    text-align: center !important;
  }

  .editmodal{
    width: 100% !important;
  }
  .editmodal td{
    padding: 0 !important;
    text-align: center !important;
  }
  .editmodal input[type="text"]{
    width: 100% !important;
  }
  .divhis{
    height: 430px !important;
  }
}
.divhis{
  height: 89%;
}
.file-list {
  margin-top: 20px;
}

.file-item {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  width: 100% !important;
}

.file-icon {
  width: 24px;
  height: 24px;
  margin-right: 10px;
}

.file-link {
  text-decoration: none;
  color: blue;
}

.mailhistorytd:hover {
  background-color: #ddd;
  cursor: pointer;
}
.histroycolor_c{
  background-color: #ffdaf8 !important;
}
.histroycolor_u{
  background-color: #c0e1f0 !important;
}
.myset{
  margin-left: 15px;
  font-size: 15px;
  color: black;
  transition: color 0.3s ease, transform 0.3s ease;
}
.myset:hover{
  cursor: pointer;
  color: red;
  transform: scale(1.5);
}
.mnuebtncolor1{
  background-color: #3498db;
  color: white;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-left: 10px;
  margin-bottom: 3px;
  margin-top: 3px;
}
.mnuebtncolor1:hover {
  background-color: #5dade2; 
}
.mnuebtncolor2{
  background-color: #28a745;
  color: white;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-left: 10px;
  margin-bottom: 3px;
  margin-top: 3px;
}
.mnuebtncolor2:hover {
  background-color: #58d68d;
}
.mnuebtncolor3{
  background-color: #e74c3c;
  color: white;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  transition: background-color 0.3s ease; 
  margin-left: 10px;
  margin-bottom: 3px;
  margin-top: 3px;
}
.mnuebtncolor3:hover {
  background-color: #f1948a;
}
.editmodal{
  width: 460px;
}
.editmodal td{
  text-align: center;
}
.editmodal input[type="text"]{
  width: 95%;
}
.modalbtn{
  margin-top: 3px;
  margin-bottom: 3px;
  width: 120px;
}