/*! Banner */
.about .mshow {
  display: none;
}

@media screen and (max-width: 474px) {
  .banner .optimed-title,
  .seven .optimed-title,
  .about .optimed-title,
  .spec .optimed-title,
  .nim-title__container .optimed-title {
    font-size: 24px;
  }

  .mhide {
    display: none;
  }

  .mshow {
    display: flex;
  }
  .about .mshow {
    display: flex;
  }
}

@media screen and (max-width: 374px) {
  .banner .optimed-title,
  .seven .optimed-title,
  .about .optimed-title,
  .spec .optimed-title,
  .nim-title__container .optimed-title {
    font-size: 16px;
  }

  .seven .title20 {
    font-size: 16px;
  }
}

@media screen and (max-width: 767px) {
  main .margin120 {
    margin-top: 100px;
    margin-bottom: 100px;
  }

}



.banner {
  background-repeat: no-repeat;
  background-position: center left;
  background-size: cover;
  background-image: url('../../images/banner-bg.jpg');
}

.banner__wrapper {
  height: 640px;
  display: flex;
  align-items: center;
}

.banner__image {
  display: none;
}

.banner__content {
  max-width: 640px;
  display: flex;
  flex-direction: column;
}

.banner__text {
  margin-top: 30px;
  margin-bottom: 30px;
}

.banner__buttons {
  display: flex;
  flex-wrap: wrap;
}

.banner__buttons a {
/* display: block; */
line-height: 40px;
width: 100%;
}

.banner__btn {
  margin-right: 32px;
}
@media screen and (max-width: 1199px) {
  .banner__wrapper {
    height: 480px;
  }
}
@media screen and (max-width: 574px) {
.banner {
  background-image: none;
}

.banner__wrapper {
  height: unset;
}
.banner .optimed-title {
  margin-top: 50px;
}

.banner__image {
  display: block;
  object-fit: contain;
  width: 100%;
  margin-bottom: 30px;
}

  .banner .btn-white {
    margin-top: 10px;
    display: none;
  }
}
@media screen and (max-width: 474px) {

  .banner__buttons .banner__btn {
width: 100%;
margin-right: 0;
  }
}


/*! Seven */

.seven {

  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(338px, 1fr));
  row-gap: 30px;
  column-gap: 30px;
}

.seven__number {
  grid-column: 1 / 3;
  grid-row: 1 / 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.seven__seven {
  font-size: 220px;
  line-height: 82%;
  letter-spacing: -0.2em;
  color: #273895;
  margin-right: 22px;
  font-family: 'FunCityLevel2Basic', serif;
}


.seven__item {
  display: flex;
  align-items: center;
  min-height: 288px;
  padding: 30px;
  transition: all 0.3s;
}

.seven__item:hover {
  transform: translateY(-10px);
  /* cursor: pointer; */
}

.seven__icon {
  height: 48px;
  width: 48px;
  object-fit: contain;
  margin-right: 30px;
}

.seven__content {
  display: flex;
  flex-direction: column;
}

.seven__top {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
}
@media screen and (max-width: 767px){
  .seven__seven {
    font-size: 100px;
  }

  .seven__item {

    min-height: 200px;
    padding: 15px;
  }

  .seven__number {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    margin-bottom: 50px;
  }

  .seven__icon {
    margin-right: 20px;
  }

  .seven__top {
    margin-bottom: 10px;
  }

}
@media screen and (max-width: 475px){

  .seven__seven {
    font-size: 70px;
    margin-right: 10px;
  }

  .seven {
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  }

  .seven__content {
    width: 100%;
  }

  .seven .seven__item {
    box-shadow: none;
    padding: 0;
    min-height: unset;
    position: relative;
  }
 
  .seven .seven__item:after {
    content: '';
    background: #DDDDDD;
    position: absolute;
    height: 1px;
    width: 100%;
    left: 0;
    right: 0;
    bottom: -10px;
  }

  .seven__item:hover {
    transform: none;
  }

  .seven__hide {
    display: none;
  }

  .seven .title20 {
    font-size: 20px;
    margin-right: auto;
  }

  .seven__icon {
    height: 32px;
    width: 32px;
    object-fit: contain;
    margin-right: 10px;
  }
}

@media screen and (max-width: 375px){
  .seven .optimed-title {
    font-size: 18px;
  }

  .seven .title20 {
    font-size: 16px;
  }
}


/*! About */
.about__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.about__main {
  display: flex;
  justify-content: space-between;
  margin-bottom: 60px;
  margin-top: 40px;
}

.about__content {
  display: flex;
  align-items: center;
  width: 48%;
}

.about__img {
  border-radius: 10px;
  width: 48%;
  object-fit: cover;
  object-position: center center;
}

.about__numbers {
  display: flex;
  justify-content: space-between;
}

.about__item {
  border-left: 1px solid #BFBFBF;
  padding-left: 20px;
  margin-right: 20px;
}

.about__number {
  font-family: 'FunCityLevel2Basic', serif;
  font-weight: normal;
  font-size: 48px;
  line-height: 125%;
  letter-spacing: -0.2em;
  color: #273895;
}

@media (max-width: 1199px) {
  .about__main {
    flex-direction: column;
    margin-bottom: 60px;
  }

  .about__content {
    margin-bottom: 40px;
  }

  .about__content,
  .about__img {
    width: 100%;
  }

  .about__numbers {
    flex-wrap: wrap;
    justify-content: space-around;
  }

  .about__item {
    flex: 1 0 30%;
    justify-content: center;
    margin-bottom: 20px;
  }

  .about__number {
    white-space: nowrap;
  }

}

@media (max-width: 767px) {
  .about__number {
    font-size: 40px;
  }
  .about__content {
    margin-bottom: 20px;
  }
}


@media (max-width: 474px) {
  .about__numbers {
    border: 1px solid #DDDDDD;
    border-radius: 10px;
    margin-bottom: 20px;
  }

  .about__item {
    flex: 1 0 40%;
    border-left: none;
    border-bottom: 1px solid #DDDDDD;
    padding: 20px;
    margin: 0;
  }

}

/*! Spec */



.spec .about__top {
  margin-bottom: 60px;
}

.spec-content {
  display: flex;
  justify-content: space-between;
  height: 600px;
  position: relative;
}
.spec .spec-slider {
  width: 38%;
  margin-left: 0;
  z-index:6;
}

.spec .spec-wrapper {
  margin-left: 20px;
  padding-top: 10px;
  padding-bottom: 10px;
  width: 95%;
}

.spec-small__item {
  padding: 20px;
  display: flex;
  align-items: center;
  /* box-shadow: 0px 0px 3px rgba(16, 26, 82, 0.15), 0px 0px 10px rgba(39, 56, 149, 0.15);
  border-radius: 20px; */
}

.spec .selected {
  box-shadow: 0px 0px 3px rgba(16, 26, 82, 0.15), 0px 0px 10px rgba(39, 56, 149, 0.15);
  border-radius: 20px;
}

.spec-small__item:hover {
  cursor: pointer;
}

.spec-small__img {
  height: 120px;
  width: 120px;
  background: #F2F2F2;
  margin-right: 24px;
  border-radius: 10px;
  /* overflow-y: hidden; */
}

.spec-small__img img{
  height: 120px;
  width: 120px;
  object-fit: cover;
  object-position: top center;
  
}

.spec-small__name {
  margin-bottom: 10px;
}

/* .round {
  background: #F2F2F2;
  border-radius: 50%;
  position: absolute;
  height: 460px;
  width: 460px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 4;
} */

.spec-photo {
  z-index: 5;
  height: 100%;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.spec-photo__img {
  height: 100%;
  position: relative;
  z-index: 5;
}

.pseudo:before {
  content: '';
  background: #F2F2F2;
  border-radius: 50%;
  position: absolute;
  height: 460px;
  width: 460px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 4;
}



.spec-show {
  width: 32%;
  display: flex;
  align-items: center;
}

.spec-info {
  display: flex;
}

.spec-info__main {
  z-index: 6;
}

.spec .spec-info__name {
  color: #273895;
  letter-spacing: normal;
}

.spec-info__text {
  margin-top: 20px;
  margin-bottom: 40px;
}

.sw-sep {
  height: 30px;
}

.sw {
  transform: rotate(180deg);
}

.arrow-open {
  transition: 0.3s;
}


@media (min-width: 475px) {
  .swiper-pagination {
display: none;
  }

  
.arrow-open {
  display: none;
}
}

@media (max-width: 1399px) {
  .pseudo:before {
    height: 400px;
    width: 400px;
  }
}

@media (max-width: 1199px) {
  .spec-content {
    height: 480px;
  }

  .pseudo:before {
    height: 360px;
    width: 360px;
  }

}

@media (max-width: 991px) {
  .spec-content {
    width: 100%;
    flex-direction: column;
    height: auto;
    min-height: 600px;
  }

  .spec .spec-slider {
    width: 100%;
    height: 480px;
  }

  .spec .spec-slider {
    width: 100%;
    height: 310px;
  }

  .pseudo:before {
    /* height: auto;
    width: auto; */
    left: 20px;
    bottom: 0;
    top: unset;
    z-index: 4;
    transform: none;
  }
  
  .spec-photo {
    align-self: flex-end;
    height: 100%;
    position:static;
    transform: unset;
    margin-right: 20px;
    
  }

  .spec-photo__img {
    height: 400px;
    width: 400px;
    object-fit: contain;
    object-position: center bottom;
  }
  
  .spec-show {
    position: relative;
    margin-top: 40px;
    width: unset;
  }
}

@media (max-width: 767px) {
  .spec-show {
    height: 300px;
  }


  .pseudo:before {
    height: 260px;
    width: 260px;
  }

  .spec-photo__img {
    height: 300px;
    width: 300px;
    object-fit: contain;
    object-position: center bottom;
  }

  .spec-info__text {
    margin-top: 15px;
    margin-bottom: 15px;
  }
  

  /* .spec .btn {
    width: auto;
  } */
}

@media (max-width: 574px) {
  .spec .spec-slider {
    height: auto;
  }

  
  .spec .selected {
    box-shadow: none;
    border-radius: 0;
  }
  
  .spec-photo {
    display: none;
  }
  .spec .spec-wrapper {
    margin-left: 0px;
    padding: 0;
    /* width: 100%; */
  }
  .spec-content {
    min-height: unset;
  }

  /* .spec .spec-wrapper {
    width: 92%;
  }
  .spec .spec-wrapper {
    margin-left: 15px;
    padding-top: 5px;
  } */
  .spec-show, .spec .swiper-scrollbar {
    display: none;
  }
  .spec-small__item {
    flex-direction: column;
    justify-content: center;
    padding: 12px;
    align-items: start;
  }
  .spec-small__img {
    height: 200px;
    width: 100%;
    object-fit: cover;
    object-position: top center;
  }
  .spec-small__img img {
    height: 200px;
    width: 100%;
    object-fit: cover;
    object-position: top center;
  }

  .spec-small__text {
    margin-top: 30px;
    margin-bottom: 30px;
  }

  .spec .spec-small__name {
font-size: 20px;
margin-bottom: 10px;
  }
  .spec .spec-small__prof {
font-size: 16px;
  }
  .spec .btn-white {
margin-top: 10px;
margin-bottom: 10px;
  }
}

@media (max-width: 374px) {
  .spec-small__item {
    padding: 15px;
  }

  /* .spec .spec-slider {
    height: 280px;
  } */


  /* .about__top .optimed-title {
    font-size: 16px;
  } */
}



/* NEWS COMPONENT */
.mobile-news-in-main {
  display: none;
}
.nim-swiper__wrapper {
  margin-top: 40px;
  margin-bottom: 50px;
}
.nim-swiper__slide.swiper-slide {
  height: auto;
  display: flex;
  flex-direction: column;
}

.n-main__item-date.text16 {
  margin-top: auto;
}

span.swiper-pagination-bullet.swiper-pagination-bullet-active {
  background: #273895;
}
.nim-swiper .swiper-pagination {
  display: none;
}
.nk-main__item-link {
  display: none;
}
.nk-main__mobile {
  display: flex;
  justify-content: space-between;
  margin-top: auto;
}
.nk-main__item-link.text18-h {
  color: #273895;
}
.btn-showall {
  display: none;
}
.mob-btn-showall.btn {
  display: none;
}

@media screen and (max-width:768px) {
  .nim-swiper .swiper-pagination {
    display: block;
  }
  .nim-swiper .swiper-scrollbar {
    display: none;
  }
  .nim-swiper .swiper-button-next,.nim-swiper .swiper-button-prev{
    display: none;
  }
  .nk-main__item-link {
    display: inline;
  }
  .nk-main__item:hover {
    transform: translateY(0);
  }
  .nim-showall {
    display: none;
  }
  .mobile-news-in-main {
    display: block;
  }
  .news-in-main {
    display: none;
  }
  .mob-btn-showall.btn {
    display: flex;
    box-shadow: none;
    border-radius: 30px;
    border: 1px solid #273895;
    color: #273895;
    transition: all 1s;
  }
  .mob-btn-all {
    display: flex;
    justify-content: center;
    margin: 50px 0;
  }
  .mob-btn-showall.btn:hover {
    background: #273895;
    color: #FFFFFF;
    transition: all 1s;
  }
}