.ui-page {
  outline: none;
}

/* Slider */
.image-slider {
  width: 100%;
  margin: 0 auto;
  height: 500px;
  z-index: 999;
}

.slider-carousel {
  width: 100%;
  height: 100%;
  border-radius: 3px;
  display: flex;
  justify-content: flex-start;
  position: relative;
  overflow: hidden;
  background-color: #cecece;
}

.slider {
  display: flex;
  height: calc(100% - 40px);
  /* flex-shrink: 0; */
  transition: all 1s;
  overflow: hidden;
}

.slide-panel {
  flex-basis: 33.33%;
  flex-shrink: 0;
  /* flex: 1; */
  display: flex;
  align-items: center;
  justify-content: center;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.slide-box {
  position: absolute;
  display: flex;
  color: white;
  z-index: 999;
  background: rgba(0, 0, 0, 0.3);
  text-align: center;
  border-radius: 2px;
  border: 2px solid #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.slide-text {
  align-items: center;
  justify-content: center;
  padding: 0 3.5rem;
  font-size: 3.2rem;
  font-weight: 300;
}

.slide-img {
  width: 100%;
  min-height: 100%;
  -khtml-user-select: none;
  -o-user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  user-select: none;
}

.slider-carousel .video{
  top: 0;
  left: 0;
  border: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  background: black;
  position: absolute;
}

.slide-video {
  width: 100%;
  min-height: 100%;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

/* Slider Controls */
.slider-arrow {
  position: absolute;
  width: 5rem;
  background: rgba(0, 0, 0, 0.5);
  height: 100%;
  color: #bdbdbd;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.5s;
}

.image-slider .slider-controls .arrow {
  margin: 0 auto;
  height: calc(100% - 40px);
  width: 40px;
  background-repeat: no-repeat;
  background-image: url("img/imgs-grid-icons.368f755b03ed.png");
}
.image-slider .slider-controls .arrow.left {
  background-position: 2px center;
}
.image-slider .slider-controls .arrow.right {
  background-position: -42px center;
}

.slider-arrow:hover {
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
}

.controls-mobile {
  display: none;
}

.prev-slide {
  left: -5rem;
}

.next-slide {
  right: -5rem;
}

.slider-carousel:hover .slider-arrow {
  display: flex;
}

.slider-carousel:hover .prev-slide {
  left: 0;
}

.slider-carousel:hover .next-slide {
  right: 0;
}

.slider-controls i {
  font-size: 3rem;
  -khtml-user-select: none;
  -o-user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  user-select: none;
}

.slideshow-toggle {
  position: absolute;
  bottom: 30px;
  right: 100px;
  transform: translate(-50%);
  list-style: none;
  opacity: 0;
  padding: 0;
  margin: 0;
  color: #fff;
  transition: all 0.5s;
}

.image-slider:hover .slideshow-toggle {
  opacity: 1;
}

.slideshow-toggle i {
  font-size: 2.2rem;
  margin: 0 .5rem;
  padding: .2rem;
  border: 2px solid #fff;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.5s;
}

.slideshow-toggle i:hover {
  background: rgba(0, 0, 0, 0.5);
}

.play-slideshow {
  display: none;
}

.slide-selector {
  position: absolute;
  bottom: 1px;
  left: 50%;
  transform: translate(-50%);
  list-style: none;
  display: flex;
  padding: 0;
  margin: 0;
}

.slide-selector li {
  width: 14px;
  height: 14px;
  border-radius: 50px;
  margin: 10px;
  border: 2px solid #fff;
  cursor: pointer;
  transition: all 0.5s;
}

.slide-selector li:hover {
  background: rgba(0, 0, 0, 0.5);
}

.slide-selector li.slide-selected {
  background: #fff;
}

/* Slider Modal */
.slider-modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
  padding-top: 2vh;
  transition: all 0.5s;
}

.modal-slide {
  margin: auto;
  display: block;
  width: 88%;
}

.slider-close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

.slider-close:hover, .slider-close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* Small Tablet (Slider) */
@media only screen and (max-width: 843px) {
  .slider-controls {
    display: none;
  }
}

/* Tablet (Slider) */
@media screen and (min-width: 560px) and (max-width: 1024px) {
  .modal-slide {
    width: 90%;
  }
}

/* Mobile (Slider) */
@media only screen and (max-width: 560px) {
  .image-slider {
    height: 250px;
  }

  .overlay {
    background-color: rgba(0, 0, 0, 0.5);
  }

  .slide-text {
    margin: .8rem 1.6rem 1rem;
    font-size: 1.2rem;
    font-weight: 600;
  }

  .slider-controls {
    display: none;
  }
}




.imgs-slider-modal {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background-color: black;
  opacity: 0;
  z-index: 10000;
  -webkit-user-select: none;
  -moz-user-select: -moz-none;
  -khtml-user-select: none;
  -o-user-select: none;
  user-select: none;
}
.imgs-slider-modal .modal-caption {
  padding: 30px 50px;
  text-align: center;
  color: white;
}
.imgs-slider-modal .modal-close {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 35px;
  height: 35px;
  background-image: url("img/imgs-grid-icons.368f755b03ed.png");
  background-repeat: no-repeat;
  background-position: -100px;
}
.imgs-slider-modal .modal-close:hover {
  cursor: pointer;
}
.imgs-slider-modal .modal-inner {
  position: absolute;
  top: 60px;
  bottom: 60px;
  left: 0;
  right: 0;
}
.imgs-slider-modal .modal-inner .modal-control {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 70px;
}
.imgs-slider-modal .modal-inner .modal-control:hover {
  cursor: pointer;
}
.imgs-slider-modal .modal-inner .modal-control.left {
  left: 0;
}
.imgs-slider-modal .modal-inner .modal-control.right {
  right: 0;
}
.imgs-slider-modal .modal-inner .modal-control .arrow {
  margin: 0 auto;
  height: 100%;
  width: 40px;
  background-repeat: no-repeat;
  background-image: url("img/imgs-grid-icons.368f755b03ed.png");
}
.imgs-slider-modal .modal-inner .modal-control .arrow.left {
  background-position: 2px center;
}
.imgs-slider-modal .modal-inner .modal-control .arrow.right {
  background-position: -42px center;
}
.imgs-slider-modal .modal-inner .modal-image {
  position: absolute;
  top: 0;
  left: 70px;
  right: 70px;
  bottom: 0;
  text-align: center;
}
.imgs-slider-modal .modal-inner .modal-image:before {
  display: inline-block;
  content: "";
  vertical-align: middle;
  height: 100%;
}
.imgs-slider-modal .modal-inner .modal-image img {
  max-width: 100%;
  max-height: 100%;
  vertical-align: middle;
}
.imgs-slider-modal .modal-inner .modal-image img:hover {
  cursor: pointer;
}
.imgs-slider-modal .modal-inner .modal-loader {
  display: inline-block;
  vertical-align: middle;
  color: silver;
  font-size: 14px;
}
@media (max-width: 800px) {
  .imgs-slider-modal .modal-inner .modal-control {
    width: 40px;
  }
  .imgs-slider-modal .modal-inner .modal-control .arrow {
    -webkit-transform: scale(0.7);
    -moz-transform: scale(0.7);
    -o-transform: scale(0.7);
    -ms-transform: scale(0.7);
    transform: scale(0.7);
  }
  .imgs-slider-modal .modal-inner .modal-image {
    left: 0;
    right: 0;
  }
}
.imgs-slider-modal .modal-indicator {
  position: absolute;
  bottom: 0;
  height: 60px;
  width: 100%;
  text-align: center;
}
.imgs-slider-modal .modal-indicator ul {
  margin: 0;
  padding: 0;
}
.imgs-slider-modal .modal-indicator ul li {
  display: inline-block;
  width: 12px;
  height: 12px;
  border: 1px solid white;
  box-sizing: border-box;
  border-radius: 100%;
  margin: 0 1px;
  vertical-align: middle;
}
.imgs-slider-modal .modal-indicator ul li:hover {
  cursor: pointer;
}
.imgs-slider-modal .modal-indicator ul li.selected {
  background-color: white;
  width: 14px;
  height: 14px;
  margin: 0;
}


.imgs-slider-modal .img-background{
  width: 100%;
  height: 100%;
  background-size: cover;
  opacity: 0.25;
  filter: blur(8px);
  -webkit-filter: blur(8px);
  background-position: center;
}