/* ============================================================
   Дополнения к стилям исходной вёрстки:
   точки слайдера, кнопки со стрелками и просмотр дипломов.
   ============================================================ */

/* точки слайдера */
.sb-dots {
  font-size: 0;
  text-align: center;
}

.sb-dots__dots-wrapper {
  height: 20px;
  line-height: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sb-dots__dots-item {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin: 0 5px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background-color: rgba(17, 17, 17, .12);
  cursor: pointer;
  transition: background-color .2s ease;
}

.sb-dots__dots-item:hover,
.sb-dots__dots-item.is-active {
  background-color: rgba(17, 17, 17, .48);
}

.s-slider-type-7 .sb-dots { margin-top: 32px; }

/* слайдер дипломов и кнопки-стрелки */
.s-slider-type-7__list-wrapper { overflow: hidden; }

.js-arrow_previous,
.js-arrow_next {
  transition: opacity .2s ease;
}

/* просмотр дипломов и сертификатов */
.photo-viewer {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 32px;
  background-color: rgba(17, 17, 17, .76);
}

.photo-viewer_open { display: flex; }

.photo-viewer__image {
  display: block;
  max-width: 100%;
  max-height: 100%;
}

.photo-viewer__close,
.photo-viewer__nav {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, .92);
  color: #111;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: background-color .2s ease;
}

.photo-viewer__close:hover,
.photo-viewer__nav:hover { background-color: #fff; }

.photo-viewer__close { top: 18px; right: 18px; }

.photo-viewer__nav { top: 50%; transform: translateY(-50%); }

.photo-viewer__nav_previous { left: 18px; }
.photo-viewer__nav_next { right: 18px; }

@media screen and (max-width: 639px) {
  .photo-viewer { padding: 16px; }
  .photo-viewer__nav { display: none; }
}