@charset "UTF-8";
.cm-navbar .navbar-nav .nav-link {
  font-size: 1.2rem;
  color: #1d242c;
}
.cm-navbar .navbar-nav .nav-link.active {
  color: rgb(206, 6, 1);
}

.navbar-nav-scroll {
  max-width: 100%;
  height: 2.5rem;
  /*margin-top: .25rem;*/
  /*overflow: hidden;*/
}

.cm-navbar .nav-link {
  padding-left: .1rem !important;
}
.cm-navbar .nav-link {
  padding-top: .1rem !important;
}


.navbar-nav-scroll .navbar-nav {
  /*padding-bottom: 2rem;*/
  overflow-x: auto;
  white-space: nowrap;
  margin-left: -0.5rem;
  margin-right: -0.5rem;
  -webkit-overflow-scrolling: touch;
}

.cm-hidden {
  display: none;
}

.cm-pointer {
  cursor: pointer;
}

.cm-ff-yh {
  font-family: "Microsoft YaHei", 微软雅黑, "MicrosoftJhengHei", serif;
}

.cm-block-head-bottom {
  border-bottom: solid 2px;
  border-color: #007bff;
  display: inline-block;
  padding-bottom: 0.3rem;
}

.cm-trans-bottom {
  width: 100%;
  bottom: 0;
  position: absolute;
  background-color: rgba(0, 0, 0, 0.4);
}

.cm-media-img {
  max-width: 180px;
  max-height: 120px;
}

@media screen and (max-width: 767px) {
  .cm-media-img {
    max-width: 120px;
    max-height: 80px;
  }
}
.cm-link {
  color: #1d242c;
}
.cm-link:hover {
  color: #0062cc;
}

.es-highlight em {
  color: #dc3545;
  font-style: normal;
}

/*协会样式覆盖*/
@media (min-width: 1200px) {
  .container, .container-lg, .container-md, .container-sm, .container-xl {
    max-width: 1200px;
  }
}
.shadow-sm {
  box-shadow: none !important;
}
.cm-navbar .navbar-nav .nav-link.active {
  color: rgb(206, 6, 1);
}

.cm-navbar a {
  color: rgb(206, 6, 1);
  text-decoration: none;
  background-color: transparent;
}

a:hover:not(.btn) {
  color: rgb(206, 6, 1) !important;
  text-decoration: underline;
}
.my-nav-link a {
  color: #6c757d;
  font-size: .875rem;
}

.btn-link {
  color: rgb(206, 6, 1);
}
.btn-link:hover {
  color: rgb(206, 6, 1);
}

.page-item.active .page-link {
  background-color: rgb(206, 6, 1);
  border-color: rgb(206, 6, 1);
}
.page-item.active .page-link:hover {
  color: #fff !important;
}
.page-link {
  color: rgb(206, 6, 1);
}

.nav-footer, .nav-footer a {
  /*background: #ececec;*/
  background: rgb(45, 45, 45);
  color: #fff !important;
  padding-top: 1rem;
}
.nav-footer li {
  font-size: .875rem;
}
.fa-big {
  font-size: 1.5rem;
  color: #6c757d;
}

/** 弹窗展示 **/
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4); /* 半透明背景 */
  justify-content: center;
  align-items: center;
  display: flex; /* 使用 flexbox 布局 */
}

.modal-content {
  position: relative; /* 确保 .close 相对于 .modal-content 定位 */
  background-color: white;
  padding: 20px;
  border: 1px solid #888;
  width: 90%;
  max-width: 600px;
  height: 80%;
  max-height: 700px;
}

.modal-close {
  color: #aaa;
  position: absolute;
  top: 6px;
  right: 6px;
  font-size: 28px;
  font-weight: bold;
  z-index: 1000; /* 确保 z-index 足够高 */
  cursor: pointer;
}

.modal-close {
  display: block !important; /* 确保显示 */
  visibility: visible !important; /* 确保可见 */
}

.modal-images {
  margin-top: 17px;
  max-width: 100%;
  position: relative;
  overflow-y: auto;
  z-index: 1; /* 确保 .modal-images 的 z-index 小于 .close */
}

.modal-images img {
  max-width: 100%;
  margin: 10px 0;
}

.modal-close:hover,
.modal-close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

/* 响应式设计的媒体查询 */
@media (max-width: 767px) {
  .modal-content {
    width: 95%; /* 在小屏幕上使用更大的相对宽度 */
    height: 90%; /* 在小屏幕上使用更大的相对高度 */
  }

  .modal-close {
    font-size: 24px; /* 在小屏幕上适当减小字体大小 */
  }
}


