.schools > * {
  position: relative;
}
.schools > * h5 {
  position: absolute;
  bottom: 0;
  left: 10px;
  right: 10px;
  background-color: rgba(0, 83, 37, 0.8);
  padding: 10px;
  color: #fff;
}
.modal-body__custom {
  text-align: justify;
  line-height: 1.7;
  font-size: 15px;
}
.modal-title {
  font-size: 1.5rem !important;
  color: #005326 !important;
  font-weight: bold !important;
  text-transform: uppercase;
}
#steps {
  background-color: #fff;
}
#steps .card-link {
  color: #255332;
  display: block;
  text-align: right;
  display: inline-block;
}
#steps .card-title {
  font-weight: 700;
}
#steps .card-text {
  margin: 20px 0;
  min-height: 130px;
  text-align: justify;
}
#steps .badge {
  padding: 8px 16px;
  font-size: 30px;
  margin-bottom: 20px;
}
#steps .card {
  text-align: center;
  max-width: 800px;
  margin: 20px auto;
  border: none;
}
#steps hr {
  width: 60%;
  background-color: #000;
}
#steps .card-body {
  max-width: 400px;
  margin: 50px auto;
}
.steps__heading h2 {
  margin-top: 100px;
  font-weight: 700 !important;
  letter-spacing: 1px;
  margin-bottom: 0;
  font-size: 23px;
  position: relative;
  display: inline-block;
}
.intro-video {
  display: inline-block;
  width: 100%;
  height: auto;
  margin: auto auto auto auto;
}
.hutulbur-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  padding: 0 !important;
}
.header-h1 {
  font-weight: 700;
  display: block;
  color: #005326;
  font-size: 15px;
}
.header-h1 span {
  font-size: 25px;
  font-weight: 900;
  text-transform: uppercase;
  /* color: #f1b81d; */
  color: #005326;
  /* color: #005326; */
}
.header-h1.header-h1-alt {
  color: #000;
}
.header-h1.header-h1-alt span {
  color: #000;
}
.header-h1.header-h1-alt2 {
  color: #000;
}
.header-h1.header-h1-alt2 span {
  color: #fff;
}
#swiper-1 .btn {
  margin-bottom: 5px;
}
.edu-icon {
  display: inline-block;
  max-width: 100% !important;
  width: auto !important;
  height: 400px !important;
  margin: auto auto auto auto;
}
.lined span {
  position: relative;
  display: inline-block;
}
.lined span:before,
.lined span:after {
  content: "";
  position: absolute;
  height: 2px;
  background-color: #000;
  top: 50%;
  width: 50px;
}
.lined span:before {
  right: 100%;
  margin-right: 10px;
}
.lined span:after {
  left: 100%;
  margin-left: 10px;
}

#page-progress {
  width: 100%;
  height: 6px;
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: #e7e7e7;
  z-index: 10000;
}
#page-progress #page-progress__bar {
  width: 0%;
  height: 100%;
  background-color: #ed1c24;
}

.box-shadow-none {
  box-shadow: none !important;
}

.v-article__heading {
  text-align: center;
  padding: 40px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
  display: block;
  color: rgb(26, 133, 204);
}
.v-article__body {
  /* padding: 20px; */
  overflow: hidden;
}
.v-article__text {
  font-size: 1.05rem;
  text-align: center;
  margin: 0 auto;
}
.v-article__list-heading {
  text-align: center;
  padding: 20px 20px 20px 20px;
  margin-top: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
  color: rgb(26, 133, 204);
}
.v-article__list-ul {
  list-style: disc;
}
.v-article__list-li {
  padding: 6px 12px;
  font-size: 1.05rem;
}
.v-article__action .btn {
  font-size: 1.5rem !important;
}

.ben-card {
  width: 100%;
  padding: 20px;
  text-align: center;
  cursor: pointer;
}

.ben-card__img {
  width: 200px;
  height: 200px;
  margin-bottom: 20px;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid #ffb822;
}
.modal-body__title {
  color: green;
  font-weight: bold;
  text-align: center;
  letter-spacing: 1px;
  text-transform: uppercase;
}
[id^=modal].modal.fade img {
  width: 100%;
  padding: 5px;
}
[id^=modal].modal.fade .row200 img {
  height: 200px;
  object-fit: cover;
}

.ben-card__text {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 300;
  text-transform: uppercase;
}
.wid-card {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.1);
  transition: all 0.2s;
}
.wid-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 2rem 2rem rgba(0, 0, 0, 0.1);
}
@media (min-width: 992px) {
  .header-h1 {
    font-size: 25px;
  }
  .header-h1 span {
    font-size: 35px;
  }
  #swiper-1 .btn {
    width: auto;
    margin-bottom: 0;
  }
  #swiper-1 .btn i {
    transform: rotate(90deg);
  }
  #steps .badge {
    width: 55px;
    font-size: 40px;
    margin-bottom: 20px;
  }
  #steps hr {
    display: none;
  }
  .lined span:before {
    margin-right: 15px;
  }
  .lined span:after {
    margin-left: 15px;
  }
}

.contact-icon {
  height: 25px;
}
.contact-icon:not(:last-child) {
  padding: 0 !important;
}
.contact-icon:last-child {
  padding-left: 0 !important;
}
.category-badge {
  padding: 1px 5px;
  border-radius: 3px;
  color: #fff;
  font-size: 14px;
  margin-bottom: 3px;
  background-clip: border-box;
}
.category-badge__last {
  color: #fff;
  background-color: #ea7028;
}
.category-badge__notification {
  color: #fff;
  font-size: 0.85em;
  background-color: #5dc0a4;
}
/* эхлэл - TOP SLIDE */
.swiper-container {
  width: 100%;
  height: 100%;
}
.swiper-wrapper {
  width: 100%;
  height: 100%;
}
.swiper-slide img {
  object-fit: cover;
  height: 100%;
  width: 100%;
}
.swiper-caption {
  position: absolute;
  width: 100%;
  height: 100%;
  bottom: 0;
  left: 0;
  color: #fff;
  z-index: 10;
  padding: 2rem;
}
.swiper-pagination-bullet {
  background-color: rgb(230, 183, 28) !important;
  opacity: 0.3;
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.3);
}
.swiper-pagination-bullet.swiper-pagination-bullet-active {
  background-color: #f1b81d !important;
  opacity: 1;
}
/* төгсгөл - TOP SLIDE */
/* эхлэл - NEWS SLIDE */
.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 900;
  color: #fff;
  text-shadow: 3px 3px rgba(0, 0, 0, 0.3);
  -webkit-text-stroke: 5px #716aca;
}
.swiper-container.news-slider {
  width: 100%;
  height: 100%;
  padding: 0 15px;
}
.news-slider .swiper-wrapper {
  width: 100%;
  height: 100%;
}
.news-slider .swiper-slide {
  position: relative;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  margin-top: 15px;
  margin-bottom: 30px;
  border-radius: 3px;
  overflow: hidden;
  transition: all 0.2s;
}
.news-slider .swiper-slide img {
  object-fit: cover;
  height: 180px;
  width: 100%;
  padding: 5px;
}
.news-slider .swiper-slide p {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: #28292c;
}
.card-date {
  position: absolute;
  height: 30px;
  width: 100%;
  bottom: 0;
  text-align: right;
  padding: 0 10px;
  background-color: #fff;
}
.news-slider .swiper-caption {
  position: absolute;
  width: 100%;
  bottom: 0;
  left: 0;
  color: #fff;
  z-index: 10;
  padding: 2rem;
}
.news-slider#swiper-2 .swiper-pagination-bullet-active {
  background-color: #f1b81d;
}
.news-slider#swiper-3 .swiper-pagination-bullet-active {
  background-color: #716aca;
}
.news-slider#swiper-4 .swiper-pagination-bullet-active {
  background-color: #34bfa3;
}
.news-slider [class^="swiper-button"] {
  display: none;
}
/* төгсгөл - NEWS SLIDE */
.video-news {
  max-height: 300px;
  overflow: scroll;
}
/* эхлэл - footer */

/* төгсгөл - footer */
/* эхлэл - TOP NEWS */
.latest-news {
  height: 365px;
}
.top-cards {
  height: 400px;
  -webkit-overflow-scrolling: touch;
  overflow-y: hidden;
  overflow-y: scroll;
  overflow-x: hidden;
}
.black-gradient {
  width: 50%;
  height: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  top: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.5), transparent);
}
/* төгсгөл - TOP NEWS */
.page-tab .nav-tabs {
  float: right !important;
}
.page-tab .m-portlet__head {
  height: auto;
  padding: 20px 0 0 20px !important;
  background-color: #f2f3f8;
  border: none;
}
.page-tab .m-portlet__head-caption {
  padding: 0 !important;
  display: block !important;
}
.page-tab .nav-tabs .m-tabs__link.active {
  background-color: #fff;
  /* border-bottom: none !important; */
}
.page-tab .m-portlet__body
/* эхлэл - CATEGORY NEWS */
.category-news .m-portlet {
  box-shadow: none;
}
.category-news .tab-content {
  max-height: 430px !important;
  overflow-y: scroll;
  overflow-x: hidden;
}
.category-news .m-portlet__head {
  height: 50px;
}
.list-news {
  padding: 0.5rem 0;
  margin-top: 5px;
  border-bottom: 1px solid #e7e7e7;
  width: 100%;
  height: 100px;
  overflow: hidden;
}
.list-news:first-child {
  padding-top: 0;
}

.list-news:hover {
  color: #2f4930;
}
.img-container {
  padding: 0;
  height: 100%;
  overflow: hidden;
}
.list-news img,
.list-news video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.2s;
  backface-visibility: hidden;
}
.list-news .description-container {
  display: flex;
  flex-flow: row wrap;
  align-items: flex-start;
  padding: 0 15px;
  height: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}
.list-news .description-container h5 {
  width: 100%;
  font-weight: 700;
  margin: 0;
  font-size: 1em;
}
.list-news .description-container p {
  width: 100%;
  margin: 0;
}
.news-date {
  color: #255625;
  display: block;
  margin-top: auto;
}
.card-date.top {
  text-align: left;
  padding: 0;
  height: 20px;
  font-size: 12px;
}
.slide-in-bottom {
  -webkit-animation: slide-in-bottom 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94)
    both;
  animation: slide-in-bottom 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}
@-webkit-keyframes slide-in-bottom {
  0% {
    -webkit-transform: translateY(100px);
    transform: translateY(100px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes slide-in-bottom {
  0% {
    -webkit-transform: translateY(100px);
    transform: translateY(100px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
  }
}

/* төгсгөл - CATEGORY NEWS */

/* Эхлэл - READING */
.reading {
  padding: 5px 10px 20px 10px !important;
}
.reading-body {
  font-size: 1.1rem;
  line-height: 1.7;
}
.reading-body img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  margin-bottom: 20px;
}
/* Төгсгөл - READING */

/* дуусав --- Mobile */

/* эхлэл --- Mobile Large */
@media (min-width: 576px) {
}
/* дуусав --- Mobile Large */
/* эхлэл --- Tablet */
@media (min-width: 768px) {
  /* эхлэл --- top cards */
  .latest-news {
    height: 500px;
  }
  .top-cards .top-card {
    height: 250px;
  }
  /* дуусав --- top cards */
  /* эхлэл - CATEGORY NEWS */
  .list-news {
    height: 140px;
    padding: 0.5rem 0.5rem 0.5rem 1rem;
  }
  /* төгсгөл - CATEGORY NEWS */
  .news-slider [class^="swiper-button"] {
    display: flex;
  }
}
/* дуусав --- Tablet */
/* эхлэл --- Laptop Small */
@media (min-width: 992px) {
  .m-header-menu
    .m-menu__nav
    > .m-menu__item
    .m-menu__submenu
    > .m-menu__subnav
    > .m-menu__item
    > .m-menu__link {
    padding: 9px 10px;
  }
  .top-cards {
    height: 500px;
  }
  .reading {
    padding: 5px 30px 20px 30px !important;
  }
  .icon-menus {
    background-color: #f2f3f8;
    box-shadow: none;
  }
  .icon-menu {
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
    padding: 20px;
    border-radius: 10px;
    overflow: hidden;
  }
  .icon-menu .icon-menu__icon {
    font-size: 75px;
  }
  .icon-menu .icon-menu__title {
    font-size: 17px;
  }
  .icon-menu:hover {
    transform: scale(1.03) translateY(-5px);
    box-shadow: 0 8px 13px rgba(0, 0, 0, 0.15);
  }
  /* .icon-menu-container:not(:last-child) {
    padding-right: 30px !important;
  } */
  .icon-menu-container {
    padding: 50px !important;
  }
  .video-news {
    max-height: 500px;
    overflow-y: scroll;
    overflow-x: hidden;
  }

  .news-slider .swiper-slide:hover {
    transform: scale(1.02) translateY(-3px);
    box-shadow: 0 7px 13px rgba(0, 0, 0, 0.1);
  }
  .list-news:hover img,
  .list-news:hover video {
    transform: scale(1.1) rotate(1deg);
  }
}
/* дуусав --- Laptop Small */
@media (max-width: 768px) {
  .intro-video {
    width: 100%;
    margin: auto;
    height: auto;
  }
  .edu-icon {
    max-width: 100% !important;
    width: auto !important;
    margin: auto;
    height: 250px !important;
  }

  /* эхлэл --- category news */
  .category-news {
    padding: 0;
  }
  .list-news .description-container h5 {
    font-size: 1rem;
  }
  .m-portlet.m-portlet--tabs .m-portlet__head {
    padding: 1em;
  }
  .m-portlet.m-portlet--tabs
    .m-portlet__head
    .m-portlet__head-tools
    .nav-tabs
    > .nav-item.m-tabs__item {
    width: 100% !important;
    text-align: left;
    margin-left: 0;
  }
  .not-col {
    padding: 1em !important;
  }
  .reading-body img {
    height: 200px;
  }
  /* дуусав --- category news */
}
