/**
 * Allows you to use retina images at various pixel densities.
 * Examples:
 *
 *   @include retina(/images/mypic.jpg, 2);
 *   @include retina(/images/mypic.jpg, 3, 100px 100px, left top no-repeat transparent);
  @include retina('/images/title-zfgl.jpg', 2, cover, center center no-repeat);
 *
 * @param  {Value}  $path               The path to the file name minus extension.
 * @param  {Number} $cap:    2          The highest pixel density level images exist for.
 * @param  {Value}  $size:   auto auto  The intended width of the rendered image.
 * @param  {Value}  $extras: null       Any other `background` values to be added.
 */
html {
  font-size: 16px;
}

@media only screen and (max-width: 576px) {
  html {
    font-size: 14px;
  }
}

h1,
h2,
h3 {
  font-weight: 700;
}

a:link,
a:visited {
  color: #161616;
  text-decoration: none;
}

a:hover {
  color: #a5231d;
}

.button-primary {
  color: #fff !important;
}

.gshadow {
  -webkit-box-shadow: 0px 0px 7px rgba(0, 0, 0, 0.1);
  box-shadow: 0px 0px 7px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
  border-radius: 0.5rem;
}

.gshadow:hover {
  -webkit-box-shadow: 3px 3px 12px rgba(0, 0, 0, 0.4);
  box-shadow: 3px 3px 12px rgba(0, 0, 0, 0.4);
  transition: 0.3s;
}

.bg {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}

.morelink {
  margin-top: auto;
  margin-bottom: auto;
  min-width: 1.5rem;
  text-align: center;
  display: block;
  opacity: 0.7;
}

.morelink:hover {
  opacity: 1;
}

.bgcover, .jumbotron {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.fsection {
  background-color: #f8f9fa;
  padding-top: 1.125rem;
  padding-bottom: 1.125rem;
  border-bottom: 1px solid #dee2e6;
}

.fsection .section-title {
  color: #134857;
  font-size: 1.64em;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.fsection .section-title:after {
  display: block;
  content: "";
  clear: both;
  height: 0;
  margin-bottom: 0;
  visibility: hidden;
}

.fsection:after {
  display: block;
  content: "";
  clear: both;
  height: 0;
  margin-bottom: 0;
  visibility: hidden;
}

.fsection p:after {
  display: block;
  content: "";
  clear: both;
  height: 0;
  margin-bottom: 0;
  visibility: hidden;
}

.link-primary {
  font-size: 1.25em;
  color: #144a74 !important;
}

.link-primary:after {
  font-family: "Font Awesome 5 Pro" !important;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  content: "\f054";
  position: absolute;
  transition: 0.3s;
}

.link-primary:hover:after {
  transform: translateX(5px);
  transition: 0.3s;
}

.b-bar {
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
}

.b-bar:after {
  display: block;
  content: "";
  clear: both;
  height: 0;
  margin-bottom: 0;
  visibility: hidden;
}

.jumbotron {
  background-image: url(/images/bg-reply-texture.jpg);
}

.promos-section {
  padding-top: 1em;
  padding-bottom: 1.5em;
}

.promos-section .row > div {
  margin-bottom: 1em;
}

.promos-section img {
  max-width: none;
  border-radius: 4px;
  width: 100%;
}

.promos-section h3 {
  font-size: 1em;
  text-align: center;
  margin-top: 1em;
}

.breadcrumb {
  padding: 0.3rem 0;
  margin: 0 0.5rem;
}

@media (max-width: 768px) {
  .breadcrumb {
    margin: 0;
  }
}

.breadcrumb a {
  color: #adb5bd;
}

.breadcrumb a:last-child {
  color: #134857;
}

.breadcrumb a:hover {
  color: #a5231d;
}

.breadcrumb a + a:before {
  display: inline-block;
  padding-right: 0.8rem;
  padding-left: 0.5rem;
  color: #6c757d;
  content: "/";
}

@media only screen and (max-width: 576px) {
  .breadcrumb a + a:before {
    padding-left: 0;
    padding-right: 0.5rem;
  }
}

@media (max-width: 991px) {
  .order-lg {
    order: -1;
  }
}

.table-list {
  table-layout: fixed;
  width: 100%;
  border-collapse: collapse;
}

.table-list th {
  background-color: #ececec;
  border: 1px solid #d2d2d2;
  padding: 5px 8px;
  text-align: center;
  font-size: 16px;
}

.table-list td {
  background-color: #fff;
  padding: 5px 8px;
  border: 1px solid #ddd;
  font-size: 16px;
  word-break: break-word;
}

.table-list div {
  word-break: break-all;
}

.table-list .tb-row td {
  background-color: #f5f5f5;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translate3d(0, -50%, 0);
    -webkit-transform: translate3d(0, -50%, 0);
    -moz-transform: translate3d(0, -50%, 0);
    -o-transform: translate3d(0, -50%, 0);
    -ms-transform: translate3d(0, -50%, 0);
  }
  to {
    opacity: 1;
    transform: none;
    -webkit-transform: none;
    -moz-transform: none;
    -o-transform: none;
    -ms-transform: none;
  }
}

:root {
  --title-radius: 4px;
}

html,
body {
  background-color: #fff;
}

.breadcrumb a {
  color: #e5d230 !important;
}

a:link,
a:visited {
  color: #111;
  text-decoration: none;
}

a:link:hover,
a:visited:hover {
  color: #5e5e5e;
  cursor: pointer;
}

#subject_header {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 99;
  background-color: transparent;
}

#subject_header .container {
  max-width: 90%;
}

.navbar-nav .current a {
  color: #f0dba3 !important;
  font-weight: bold;
}

.navbar-subject {
  background-color: #0070c0;
}

.btn-outline-primary {
  color: #007bff !important;
}

.btn-outline-primary:hover {
  color: #fff !important;
  background-color: #18287c;
}

.btn-outline-primary {
  color: #0070c0 !important;
  border-color: #0070c0;
}

.btn-primary {
  color: #fff !important;
  background-color: #0070c0 !important;
  border-color: #0070c0;
  border-radius: 60px;
}

.btn-primary:hover {
  background-color: #00528d;
  border-color: #00355a;
}

@media (max-width: 768px) {
  .btn-primary {
    display: block;
  }
}

.theme_subject {
  margin-top: 10px;
  padding-bottom: 0;
}

.theme_subject #section-1 .col-lg-4 {
  text-align: center;
}

.theme_subject #section-1 .container {
  max-width: 1600px;
}

.theme_subject #section-1,
.theme_subject #section-2 {
  overflow: hidden;
}

.theme_subject .text-list {
  background-color: #e9ecef;
  padding: 20px;
  border-radius: var(--title-radius);
}

.theme_subject .text-list li {
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  .theme_subject .text-list li {
    padding-left: 0;
  }
}

.theme_subject .text-list li:last-child {
  margin: 0;
}

.theme_subject .swiper-pagination-bullet {
  width: 7px;
  border-radius: 100%;
}

.theme_subject .section-project {
  margin-bottom: 60px;
}

.theme_subject .section-project .card {
  border: none;
}

.theme_subject .section-project .card-header {
  background-color: transparent;
  border: none;
  font-size: 20px;
  padding-top: 20px;
}

.theme_subject .section-project .col-md-3 img {
  margin-bottom: 20px;
}

.theme_subject .section-project .col-md-3 h3 {
  text-align: center;
  font-size: 16px;
}

.theme_subject .section-news {
  margin-bottom: 60px;
  background-color: transparent !important;
}

.theme_subject .section-news .swiper-news img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: 500px;
}

@media (max-width: 992px) {
  .theme_subject .section-news .swiper-news img {
    max-height: 400px;
  }
}

.theme_subject .section-news .swiper-news .swiper-button {
  display: none;
}

.theme_subject .section-news .swiper-news .swiper-pagination-bullet {
  background: #666;
  width: 12px;
  height: 12px;
}

.theme_subject .section-news .swiper-news .caption {
  background-color: transparent;
  color: #111;
  font-size: 24px;
  padding: 24px;
  position: relative;
  text-align: center;
}

.theme_subject .section-news .disabled .news-pagination {
  display: none;
}

.theme_subject .section-news h2 {
  font-size: 26px;
  color: #fff;
  margin-top: 20px;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.theme_subject .section-news h3 {
  font-size: 16px;
  color: #666;
  font-weight: normal;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.theme_subject .section-news .card-text {
  color: #fff;
  font-size: 20px;
}

.theme_subject .section-news .article-list {
  padding: 12px;
  font-size: 20px;
}

.theme_subject .section-news .article-list .date {
  font-family: Arial, Helvetica, sans-serif;
  color: #666;
}

@media (max-width: 768px) {
  .theme_subject .section-news .article-list {
    font-size: 16px;
  }
}

.intro {
  margin: auto;
  width: 90%;
  max-width: 1200px;
}

.subject-header {
  padding: 0;
  text-align: center;
  position: relative;
}

.subject-header .header-image {
  max-height: 100vh;
}

.card-deck {
  justify-content: left;
}

.section-title {
  color: #0070c0;
  margin-bottom: 20px;
}

.section-title img {
  width: 100%;
  max-width: 1000px;
  display: block;
  margin: auto;
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  .section-title img {
    max-width: 200px;
  }
}

.subject-column {
  margin-bottom: 1rem !important;
}

.column-title {
  margin-bottom: 1rem;
}

.button {
  border-color: #0070c0;
  color: #0070c0;
  font-weight: normal;
}

.button:hover {
  background-color: #0070c0;
  color: #fff;
}

.area_news {
  border: none;
}

.video-list h3 {
  text-align: center;
  font-weight: 200;
}

.swiper-button-disabled {
  display: none;
}

.swiper-pagination-bullet {
  background: #ccc;
  width: 20px;
  border-radius: 2px;
}

.swiper-pagination-bullet-active {
  background: #007aff !important;
}

.text-list li {
  margin-bottom: 30px;
  background-repeat: no-repeat;
  background-position: left center;
  padding-left: 20px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.text-list li:before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 20px;
  background-color: #0070c0;
  margin-right: 10px;
}

.card-img {
  padding-top: 0 !important;
}

.navbar-subject.navbar-expand {
  overflow-x: visible;
}

.section-qgqs .container-fiuld {
  background-image: url(../img/bg-1.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  padding-top: 30px;
  padding-bottom: 30px;
}

.section-qgqs .container-fiuld .card a {
  display: block;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 18px;
}

.section-intro {
  margin-bottom: 60px;
}

.section-intro .col-4 a {
  display: block;
}

.button-raised.button-primary {
  border-color: #088ef0;
  background: -webkit-gradient(linear, left top, left bottom, from(#34a5f8), to(#088ef0));
  background: linear-gradient(#34a5f8, #088ef0);
}

.button-raised.button-primary:hover,
.button-raised.button-primary:focus {
  background: -webkit-gradient(linear, left top, left bottom, from(#42abf8), to(#0888e6));
  background: linear-gradient(top, #42abf8, #0888e6);
}

.button-raised.button-primary:active,
.button-raised.button-primary.active,
.button-raised.button-primary.is-active {
  border-color: #0880d7;
  background: #2798eb;
}

.card-news-list .card-body {
  display: flex;
}

.card-news-list .card-body .list-icon {
  margin-right: 20px;
}

.card-news-list .card-body .list-icon img {
  width: 60px;
}

.card-news-list .card-body .link {
  width: 100%;
}

.btn {
  background-color: transparent;
  border: 2px solid #104fc1;
  color: #104fc1 !important;
  border-radius: 40px;
  font-weight: bold;
  padding: 8px 16px;
  display: inline-block !important;
}

.btn:hover {
  background-color: #104fc1 !important;
  color: #fff !important;
}

.btn-default {
  background-color: transparent;
  border: 2px solid #fff !important;
  color: #fff !important;
}

.btn-default:hover {
  background-color: #fff !important;
  color: #104fc1 !important;
}

.button-3d.button-primary {
  background-color: #0070c0 !important;
  box-shadow: 0 7px 0 #00528d;
}

.subpage #subject_header {
  position: relative;
}

.subpage #subject_header .container {
  max-width: 1200px;
}

.subpage .subject-header img {
  width: 100%;
}
