/*Оверлей*/
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background-color: #000000;
  opacity: 0.8;
}

.sam-gallery {
  width: 100%;
  height: 100%;
  position: fixed;
  overflow-y: auto;
  overflow-x: hidden;
  top: 0;
  left: 0;
  z-index: 10000;
}

.sam-gallery .sam-gallery-close {
  background-image: url('../../img/close-ico.png');
  position: absolute;
  cursor: pointer;
  transform: scaleX(-1);
  background-size: 28px;
  background-repeat: no-repeat;
  background-position: 24px 32px;
  width: 30%;
  height: 25%;
  top: 0;
  right: 0;
  opacity: 0.3;
  transition: all .5s;
}

.sam-gallery .sam-gallery-close:hover {
  opacity: 1;
}

.sam-gallery .sam-gallery-left-arrow,
.sam-gallery .sam-gallery-right-arrow {
  display: block;
  position: absolute;
  top: -60px;
  width: 50%;
  height: calc(100% + 60px);
  cursor: pointer;
}

.sam-gallery .sam-gallery-left-arrow {
  left: 0;
}

.sam-gallery .sam-gallery-right-arrow {
  right: 0;
}

.sam-gallery .sam-gallery-left-arrow:before,
.sam-gallery .sam-gallery-right-arrow:before {
  content: '';
  width: 32px;
  height: 62px;
  position: absolute;
  top: calc(50% - 31px);
  background: url('../../img/arrows-spray.png') no-repeat;
  opacity: 0.3;
  transition: all .5s;
}

.sam-gallery .sam-gallery-left-arrow:before {
  left: 36px;
  background-position: 0 2px;
}

.sam-gallery .sam-gallery-right-arrow:before {
  right: 36px;
  background-position: 1px -70px;
}

.sam-gallery .sam-gallery-left-arrow:hover:before,
.sam-gallery .sam-gallery-right-arrow:hover:before {
  opacity: 1;
}

.sam-gallery .sam-gallery-slider {
  height: 100%;
}

.sam-gallery .sam-gallery-slider-cont {
  position: relative;
  left: 0;
  width: 100%;
  height: 100%;
  margin: auto;
}

.sam-gallery .sam-gallery-slider-slides {
  width: 100000%;
  height: 100%;
}

.sam-gallery .sam-gallery-slide {
  float: left;
  position: relative;
}

.sam-gallery .sam-gallery-slide-cont {
  text-align: center;
  position: relative;
  top: 50%;
  margin: auto;
  z-index: 1;
  background: #f5f5f5;
  overflow: hidden;
}

.sam-gallery .sam-gallery-slide-cont > img {
  cursor: pointer;
}

.sam-gallery .sam-gallery-counter {
  float: right;
  font-size: 17px;
  color: #0091cc;
}

.sam-gallery .sam-gallery-image-loader {
  width: 100%;
  height: 232px;
}

.sam-gallery .sam-gallery-image-loader:before {
  content: '';
  background-image: url(../../img/img-lazy-loader.gif);
  width: 64px;
  height: 64px;
  position: absolute;
  top: calc(50% - 100px);
  left: calc(50% - 32px);
}

.sam-gallery .sam-gallery-image-desc {
  background-color: #f5f5f5;
  padding: 30px 42px;
  box-sizing: border-box;
  text-align: left;
  width: 100%;
}

.sam-gallery .sam-gallery-image-date {
  float: left;
  font-size: 11px;
  color: #656565;
  text-transform: uppercase;
}

.sam-gallery .sam-gallery-image-author {
  float: left;
  margin-left: 20px;
  font-size: 12px;
  line-height: 17px;
  color: #8b8e90;
}

.sam-gallery .sam-gallery-image-author span {
  color: #000000;
}

.sam-gallery .sam-gallery-image-title {
  margin-top: 24px;
  font-size: 20px;
  font-weight: 700;
  color: #2a0a49;
}

.sam-videogallery {
  width: 100%;
  height: 100%;
  position: fixed;
  overflow-y: auto;
  overflow-x: hidden;
  top: 0;
  left: 0;
  z-index: 10000;
}

.sam-videogallery:not(.sam-gallery) .sam-videogallery-inner {
  position: relative;
  margin: 60px auto;
  width: 900px;
  z-index: 2;
}

.sam-videogallery:not(.sam-gallery) .sam-gallery-close {
  background-image: url('../../img/close-ico.png');
  position: absolute;
  cursor: pointer;
  transform: scaleX(-1);
  background-size: 28px;
  background-repeat: no-repeat;
  background-position: 24px 32px;
  width: 100%;
  height: 100%;
  top: 0;
  right: 0;
  opacity: 0.3;
  transition: all .5s;
}

.sam-videogallery .sam-gallery-close:hover {
  opacity: 1;
}

.sam-videogallery .sam-videogallery-videoplayer {
  width: 100%;
  margin: auto;
  min-height: 300px;
}

.sam-videogallery .sam-videogallery-desc {
  background-color: #f5f5f5;
  padding: 30px 42px;
  box-sizing: border-box;
  text-align: left;
  width: 100%;
}

.sam-videogallery .sam-videogallery-desc-date {
  float: left;
  font-size: 11px;
  color: #656565;
  text-transform: uppercase;
}

.sam-videogallery .sam-videogallery-desc-author {
  float: left;
  margin-left: 20px;
  font-size: 12px;
  line-height: 17px;
  color: #8b8e90;
}

.sam-videogallery-desc-social {
  float: right;
  margin-top: -12px;
}

.sam-videogallery .sam-videogallery-desc-author span {
  color: #000000;
}

.sam-videogallery .sam-videogallery-desc-title {
  margin-top: 24px;
  font-size: 20px;
  font-weight: 700;
  color: #2a0a49;
}

.sam-videogallery .sam-videogallery-desc-lead {
  margin-top: 18px;
  font-size: 14px;
  color: #000000;
}

.sam-videogallery .sam-videogallery-desc-tags-cont {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid #dfdfdf;
  font-size: 12px;
  line-height: 17px;
  color: #8b8e90;
}

.sam-videogallery .sam-videogallery-desc-tags-cont span {
  color: #000000;
}

.sam-videogallery .sam-videogallery-desc-tags-cont a {
  color: inherit;
  padding: 0 6px;
}
