html {
  font-size: 17px;
}
@media only screen and (min-device-width: 1200px) {
  html {
    font-size: 16px;
  }
}
ul {
  padding-inline-start: 2rem;
}
a {
  color: #333;
}
a:hover {
  color: #333;
  text-decoration: none;
}
.bg-blue {
  background: #043e8e;
}
#toppestHeader {
  color: #fff;
  font-size: 0.875rem;
  height: 40px;
  line-height: 40px;
  background: #1260b7;
}
.toppest-right,
.toppest-right a {
  color: #fff;
}
.toppest-right .iconfont {
  font-size: 1.4rem;
}
.toppest-right a:hover {
  text-decoration: none;
  color: #eee;
}
#topHeader {
  background: #0054a7;
}
#topHeader {
  transition: all 0.5s ease;
}
#topHeader.header-collapse {
  height: 100px;
}
#topHeader .container {
  position: relative;
  display: flex;
  height: 160px;
  justify-content: space-between;
  align-items: center;
}
#topNavbar {
  transition: all 0.3s linear;
}
@media only screen and (max-width: 767px) {
  #topNavbar .navbar-collapse {
    max-height: 60vh;
    overflow-y: scroll;
    overflow-x: hidden;
  }
}
#topSearch input {
  width: 12rem !important;
  transition: all 0.5s ease;
}
#topSearch input:focus {
  width: 15rem !important;
}
#navInlineSearch {
  min-width: 10.2rem;
}
@media only screen and (max-width: 767px) {
  .mobile-navbar-padding-right {
    padding-right: 1.3rem !important;
  }
  .logo-fixed {
    position: fixed !important;
    top: 0.5rem !important;
    z-index: 1300 !important;
    width: 60vw !important;
  }
}
#carousel .container {
  position: relative;
  z-index: 999;
}
#carousel .container .logo-wrapper {
  position: absolute;
  top: 20px;
  left: 10px;
}
#carousel .container .toppest-right {
  position: absolute;
  top: 15px;
  right: 0;
}
@media only screen and (max-width: 576px) {
  .logo-wrapper {
    width: 100%;
    height: 45px;
  }
}
.navbar-toggler {
  border: 2px solid #eee;
}
.navbar-toggler .iconfont {
  color: #fff;
  font-size: 1.6rem;
}
.navbar-toggler:focus {
  outline: none;
}
.nav-toggle-icon i {
  font-size: 1.6rem;
  color: #fff;
}
.nav-wrapper .nav-item {
  padding: 0.75rem 0.25rem;
  border-left: 1px solid #0d54a5;
  border-right: 1px solid #013378;
  transition: 0.3s all ease-in;
}
.nav-wrapper .nav-item.active {
  background: #1260b7;
}
.navbar-nav {
  border-left: 1px solid #013378;
  border-right: 1px solid #0d54a5;
}
.navbar {
  padding: 0;
}
.nav-wrapper .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 1);
  font-size: 1rem;
  padding: 0.25rem;
  border-radius: 4px;
}
.search-input {
  border-radius: 5px 0 0 5px;
}
.search-btn {
  color: #fff;
  background: #308aef;
  border-radius: 0 5px 5px 0;
  border-left: none;
}
.search-btn:hover {
  color: #fff;
  background: #1260b7;
  font-weight: bold;
}
.logo-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.nav-wrapper {
  background: #043e8e;
}
#topHeader .navbar {
  margin-right: -10px;
}
.carousel-item img {
  object-fit: cover;
  height: 100%;
}

@media only screen and (max-width: 767px) {
  #topNavbar .navbar-collapse {
     padding-top: 10px;
  }
  .nav-wrapper .nav-item {
      width: 80%;
      border: none;
  }
}
  .carousel-inner {
    height: auto;
  }
  .carousel-item img {
    height: auto;
   }
  #topMobileHeader {
    display: none;
  }
@media only screen and (max-width: 375px) {
  #carousel {
    display: none;
  }
  #topMobileHeader {
    display: block;
  }
  #topMobileHeader img {
    width: 100%;
  }
}
.title-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 3px solid #e2e2e2;
}
.title-wrapper.overview-title {
  border-bottom: none;
  background-color: #e2e2e2;
  padding-right: 0.5rem;
}
.overview-title .title-wrapper-title {
  background-color: #043e8e;
  color: #fff;
  border-bottom: none;
  padding-left: 1rem;
  margin-bottom: 0;
}
.overview-title .title-wrapper-title .iconfont {
  color: #fff;
}
.title-wrapper-title {
  color: #043e8e;
  line-height: 3rem;
  font-size: 1.25rem;
  border-bottom: 3px solid #043e8e;
  margin-bottom: -3px;
  padding-right: 1rem;
}
.title-wrapper-title .iconfont {
  font-size: 2rem;
  color: #043e8e;
}
.more-tag {
  cursor: pointer;
  height: 1.4rem;
  line-height: 1.4rem;
  padding: 0rem 0.4rem;
  color: #333333;
  font-size: 1rem;
  border-radius: 4px;
  transition: 0.3s linear;
}
.more-tag:hover {
  opacity: 50%;
}
.featured-wrapper img {
  transition: 0.3s linear;
}
.featured-wrapper img:hover {
  opacity: 0.8;
}
.featured-date-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  width: 70px;
  height: 70px;
  background: #009fe3;
  margin-right: 20px;
  color: #fff;
}
.featured-day {
  font-size: 2rem;
  line-height: 2rem;
}
.featured-title-wrapper {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 0.5rem 0;
  font-size: 1rem;
}
.featured-title-wrapper a {
  color: #043e8e;
}
.featured-title-wrapper a:hover {
  opacity: 0.8;
}
.featured-image-wrapper img {
  height: 250px;
  width: 100%;
  object-fit: cover;
}
.featured-desc-wrapper {
  font-size: 0.875rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.featured-desc-wrapper a {
  color: #666;
}
.featured-desc-wrapper a:hover {
  color: #888;
}
.headline-news-list {
  padding: 0.75rem 0;
  margin-bottom: 0;
}
.headline-news-list li {
  display: flex;
  padding: 7px 0px;
}
.headline-list-title .news-entry {
  display: flex;
}
.headline-title-wrapper {
  overflow: hidden;
  padding-left: 1rem;
}
.headline-title-wrapper .title {
  padding: 0.5rem 0;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}
.headline-title-wrapper .title a {
  color: #333;
}
.headline-title-wrapper .title a:hover {
  color: #888;
}
.headline-title-wrapper .desc {
  font-size: 0.875rem;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}
.headline-title-wrapper .desc a {
  color: #666;
}
.headline-title-wrapper .desc a:hover {
  color: #888;
}
.headline-date-wrapper {
  border: 1px solid #c7c7c7;
  border-radius: 6px;
  flex-shrink: 0;
  width: 5.5rem;
  height: 4.2rem;
  padding: 0.1rem 0.2rem;
  text-align: center;
}
.headline-date-wrapper .date {
  font-size: 1.5rem;
}
.headline-date-wrapper .month {
  font-size: 0.875rem;
}
.news-feature-wrapper {
  display: flex;
}
.news-feature-wrapper .feature-image img {
  height: 90px;
}
.news-feature-wrapper .feature-title {
  overflow: hidden;
  margin-left: 0.5rem;
}
.news-list-wrapper {
  list-style: none;
  padding-left: 0;
}
.news-list-entry {
  padding: 0.25rem 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.news-list-entry a {
  color: #333333;
}
.news-list-entry a:hover {
  color: #888888;
}
.news-list-entry::before {
  content: "\2022";
  color: #003071;
  font-size: 1.25rem;
  margin-right: 0.5rem;
}
.overview-wrapper {
  border: 1px solid #ededed;
  padding: 1rem;
}
.overview-image-wrapper img {
  width: 100%;
  object-fit: cover;
}
.overview-nav {
  display: flex;
  flex-wrap: wrap;
  margin-left: -10px;
  margin-right: -10px;
  padding: 0.4rem 0;
}
.overview-text-wrapper {
  color: #333;
}
.overview-btn-wrapper {
  display: flex;
  align-items: center;
  flex: 0 0 50%;
  text-align: center;
}
.overview-btn-wrapper:hover .overview-btn {
  background-color: #093d86;
}
.overview-btn-wrapper:hover .overview-btn-text {
  color: #093d86;
}
.overview-btn {
  display: inline-block;
  background-color: #1260b7;
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-left: 0.5rem;
  margin-right: 0.5rem;
  transition: all 0.3s ease-out;
}
.overview-btn-wrapper:nth-child(-n+2) {
  margin-bottom: 1.5rem;
}
.overview-btn-text {
  color: #043e8e;
  transition: all 0.3s ease-out;
}
.overview-btn .iconfont {
  line-height: 50px;
  font-size: 1.75rem;
}
.about-image-wrapper {
  position: relative;
  padding: 6px;
}
@media only screen and (max-width: 767px) {
  .about-image-wrapper {
    padding: 30px;
  }
}

.dropdown .dropdown-menu {
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  -ms-transition: all 0.5s;
  -o-transition: all 0.5s;
  transition: all 0.5s;

  max-height: 0;
  display: block;
  overflow: hidden;
  opacity: 0;
}

.dropdown.show .dropdown-menu {
  max-height: 300px;
  opacity: 1;
}
.dropdown-menu {
  margin-top: -1px;
  margin-left: -4rem;
  left: 50%;
  min-width: 8rem;
  padding: 0.25rem 0;
}
#topHeader .dropdown.show .nav-link {
  background: #fff;
  color: #009fe3;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  -ms-transition: all 0.5s;
  -o-transition: all 0.5s;
  transition: all 0.5s;
}
#topHeader .dropdown .nav-link {
  position: relative;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  -ms-transition: all 0.5s;
  -o-transition: all 0.5s;
  transition: all 0.5s;
}
#topHeader .dropdown .nav-link::after {
  border: 0;
  content: "";
}
#topHeader .dropdown.show .nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0%;
  margin-left: -8px;
  margin-bottom: -8px;
  width: 0;
  height: 0;
  border-top: solid 8px #fff;
  border-left: solid 8px transparent;
  border-right: solid 8px transparent;
}
.dropdown-menu a {
  border-top: solid 1px #eee;
}
.dropdown-menu a:first-child {
  border-top: none;
}
.dropdown-item {
  text-align: center;
  padding: 0.5rem 1rem;
  color: #555;
}
.dropdown-item:focus,
.dropdown-item:hover {
  background: #009fe3;
  color: #fff;
}
@media only screen and (max-width: 767px) {
  #topNavbar.fixed-top .navbar-toggler{
    height: 60px;
  }
  .nav-wrapper .nav-item {
    padding: 0.25rem 0.25rem;
  }
  .dropdown-menu {
    padding: 0;
    border: 0;
    margin: 0 0.25rem;
    border-radius: 0;
    background: #3fafdf;
  }
  .dropdown-item {
    color: #fff;
  }
  .dropdown.show .nav-link {
    padding-top: 20px;
    padding-bottom: 20px;
  }
  #topHeader .dropdown.show .nav-link::after {
    content: "";
    left: 50%;
    top: 50%;
    margin-left: -4rem;
    margin-top: -0.3rem;
    border-top: solid 8px #009fe3;
    border-left: solid 8px transparent;
    border-right: solid 8px transparent;
  }
}
.about-image-wrapper:hover {
  cursor: pointer;
}
.about-image-wrapper img {
  width: 100%;
  object-fit: cover;
}
.about-image-wrapper .mask-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}
@media only screen and (max-width: 991px) and (min-width: 768px) {
  .logo-wrapper {
    width: 60%;
  }
  .about-image-wrapper {
    height: 140px;
    overflow: hidden;
  }
  .about-image-wrapper img {
    height: 100%;
  }
}
.mask-wrapper .mask {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: #00000099;
  transition: 0.5s linear;
}
.mask-wrapper:hover .mask {
  background: #00000022;
}
.about-image-wrapper h1 {
  position: absolute;
  color: #fff;
  font-size: 1.6rem;
  left: 50%;
  margin-left: -3rem;
  top: 50%;
  margin-top: -1rem;
}
.moral-title {
  font-weight: bold;
  margin-bottom: 8px;
}
.moral-text {
  color: #666;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.moral-entry {
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 2px dashed #d4d4d4;
}
#footer {
  background: #005bac;
  padding-top: 15px;
}
.footer-left div {
  color: #fff;
  padding: 8px 0;
}
.footer-mid img {
  width: 100%;
}
.footer-btn-wrapper {
  margin: 0.5rem;
  padding: 0.5rem;
  border-radius: 50%;
  line-height: 1;
  background-color: rgba(255, 255, 255, 0.7);
}
.footer-btn-wrapper .iconfont {
  font-size: 1.75rem;
  color: #1260b7;
}
.footer-bottom {
  text-align: center;
  padding: .75rem 0;
  font-size: .875rem;
  color: #fff;
  background: #043e8e;
}

/* contents page */
.contents-news-list {
  padding-left: 0rem;
}
.contents-news-entry {
  display: -ms-flexbox;
  display: flex;
  justify-content: stretch;
  padding: 0.5rem 0;
}
.contents-news-entry::before {
  content: "•";
  color: #bbb;
  margin-right: 1rem;
}
.contents-list-title {
  flex: 1 1 auto;
}
.contents-news-date {
  flex: 0 1 5rem;
}
.breadcrumb a {
  color: #1260B7;
}
.breadcrumb a:hover {
  color: #28abe4;
}
.breadcrumb .row {
  padding-left: 15px;
}
.page { 
  display: flex;
  justify-content: center;
}
.breadcrumb-item:first-child::before {
    color: #1260B7;
    content: '\e625';
    font-family: 'iconfont';
 }
#detailMainContent, #mainContents {
    padding-bottom: 2rem;
}
#contentsSideNav {
  margin: 0.5rem 0;
}
#contentsSideNav .nav-link {
  padding: 0.75rem 0.5rem;
  color: #555;
  text-align: center;
  border-bottom: 1px #ddd dashed;
  border-radius: 0;
  transition: background-color 0.3s ease;
}
#contentsSideNav .nav-brand {
  font-size: 2rem;
  text-align: center;
  background: #1260B7;
  padding: 1.5rem 0;
  color: #fff;
}
#contentsSideNav .nav-link:hover {
  background: #7f8f9622;
}
#contentsSideNav .nav-link.active {
  background: #009fe333;
  color: #555;
  border-left: 3px #1260B7 solid;
}

.detail-title-wrapper {
  text-align:center;
  margin-bottom: 0.5rem;
}
.detail-info-wrapper {
  margin-bottom: 0.8rem;
}
.detail-info-wrapper span {
  display: inline-block;
  color: #777;
  font-size: 0.9rem;
}
.detail-context-wrapper img {
  margin: 1rem 0;
  max-width: 100%;
}
.detail-context-wrapper p {
  color: #333;
  line-height: 1.5rem;
}
.detail-zoom-control a {
  color: #555;
  text-decoration: none;
}
.detail-zoom-control .iconfont {
  font-size: 1.2rem;
}

#searchHeader {
  background: #adb8bd;
  padding: 3rem 0;
}
.header-search-wrapper input {
  width: 50%;
  transition: all 0.5s ease;
}
.header-search-wrapper input:focus {
  width: 70%;
}
.search-list {
  list-style: none;
  padding-left: 0;
}
.search-entry {
  background: #f3f3f3;
  margin: 0.8rem 0;
  padding: 0.5rem 1.5rem 1.5rem 1.5rem;
  border-radius: 4px;
}
.search-entry:hover {
  box-shadow: 0 0px 8px 3px #bbbbbb55;
  cursor: pointer;
}
.search-entry-title {
  font-weight: bold;
}
.search-entry-date {
  color: #009fe3;
  font-weight: bold;
  flex-shrink: 0;
}
.search-entry-description {
  font-style: italic;
}
.search-list mark {
  background: #f1e987;
  border-radius: 5px;
}
#weixinPopup {
  position: relative;
}
#weixinPopup:hover .weixin-qrcode-wrapper {
  display: block;
}
.weixin-qrcode-wrapper::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -9px;
  margin-left: -10px;
  margin-bottom: -10px;
  width: 0;
  height: 0;
  border-bottom: solid 10px #fff;
  border-left: solid 10px transparent;
  border-right: solid 10px transparent;
}
.weixin-qrcode-wrapper {
  display: none;
  position: absolute;
  height: 8rem;
  width: 8rem;
  left: -3.4rem;
  bottom: -9rem;
  z-index: 300;
  padding: 0.25rem;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.5);
}
.weixin-qrcode-wrapper img {
  width: 100%;
  height: 100%;
}

.qrcode-wrapper img {
   width: 100px;
}