.data-video {
    font-family: 'New Hero';
    color: #98A3B2;
    font-size: 14px;
    font-weight: 400;
    line-height: 19.59px;
    text-align: left;
    margin: 20px 0 10px;
}

.title-video {
    font-family: 'New Hero';
    color: #3B393C;
    font-size: 20px;
    font-weight: 600;
    line-height: 27.98px;
    text-align: left;
    margin: 0 0 10px;
}

.cta-video {
    font-family: 'New Hero';
    font-size: 14px;
    font-weight: 400;
    line-height: 19.59px;
    text-align: left;
    color: #EF4B23;
    cursor: pointer;
}

.section-1-galerie {
    padding: 50px 0 20px;
}
.main-gallery .swiper-slide img{
    pointer-events: none !important;
}
.number-of-itmes {
    position: absolute;
    bottom: -30px;
    right: 0;
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    line-height: 1;
}

.number-of-itmes span {
    font-family: 'New Hero';
    font-size: 12px;
    font-weight: 400;
    line-height: 16.79px;
    text-align: left;
    color: #98A3B2;
    margin-left: 5px;

}

#work-evolution #evolutia_wrapper button.evolutie-more-btn {
    position: absolute;
    bottom: -70px;
    right: 0;
    font-family: "New Hero";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    color: #EF4B23;
    background: transparent;
    border: 0;
    right: auto;
    left: -10px;
}

#work-evolution #evolutia_wrapper button.evolutie-more-btn .increaseicons-search {
    display: none;
}

#work-evolution .swiper-button-prev,
#work-evolution .swiper-button-next {
    top: calc(50% - 50px) !important;
}

#work-evolution {
    margin-top: 40px;
}

#work-evolution .h5.font-primary.text-center {
    color: #3B393C;
    font-family: "New Hero";
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    padding-bottom: 30px;
    padding-top: 10px;
    text-align: left !important;
}

#work-evolution {
    display: inline-block;
    width: 100%;
    overflow: hidden;
}

.fluid-width-video-wrapper,
.thumb-bg {
    min-height: 320px;
}

.section-3-galerie {
    padding: 50px 0 50px;
}

.section-2-galerie::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 700px;
    background: #F6F9FC;
    display: block;
}

.section-2-galerie {
    padding: 50px 0 0;
    position: relative;
}

/* Thumbnails gallery */

#thumbnail-gallery {
    margin-top: 20px;
}

#thumbnail-interior-gallery .swiper-slide img,
#thumbnail-gallery .swiper-slide img {
    cursor: pointer;
    width: 100%;
    height: auto;
}

/* Modal styling */

.gallery-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.gallery-modal .modal-content {
    position: relative;
    width: 80%;
    max-width: 1000px;
}

.modal-swiper-container-3,
.modal-swiper-container {
    width: 100%;
    height: auto;
    margin: 0 auto;
    display: flex;
    overflow: hidden;
    align-items: center;
    justify-content: center;
}

.gallery-modal .swiper-slide img {
    width: 100%;
    height: auto;
}

/* Close modal on background click */

#interior-gallery-modal .swiper-button-prev,
#interior-gallery-modal .swiper-button-next,
#gallery-modal .swiper-button-prev,
#gallery-modal .swiper-button-next {
    top: calc(50% + 32px) !important;
}

.gallery-modal .modal-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    justify-content: center;
    height: 100%;
    background: transparent;
}

.swiper-button-prev,
.swiper-button-next {
    color: #fff;
}

#thumbnail-interior-gallery .swiper-slide,
#thumbnail-gallery .swiper-slide {
    filter: grayscale(100%)
}

#thumbnail-exterior-gallery .swiper-slide.swiper-slide-active,
#thumbnail-interior-gallery .swiper-slide.swiper-slide-active,
#thumbnail-interior-gallery .swiper-slide.slideactive,
#thumbnail-gallery .swiper-slide.swiper-slide-active ,
#thumbnail-gallery .swiper-slide.slideactive {
    filter: grayscale(0%)
}

.main-gallery,
#interior-gallery,
#thumbnail-interior-gallery,
#thumbnail-gallery {
    display: inline-block;
    width: 100%;
    overflow: hidden;
}

#interior-gallery,
#exterior-gallery {
    margin-top: 50px;
}
.cover-video img{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%); /* IE 9 */
  -webkit-transform: translate(-50%, -50%); /* Chrome, Safari, Opera */
  max-width: fit-content;
  min-height: 320px;
  max-height: 320px;
  width: auto;
}
.cover-video{
  min-height: 320px;
  max-height: 320px;
  overflow: hidden;
  position: relative;
}
.modal-prev,
.modal-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.section-contact {
    padding: 50px 0;
}
.iframe-video::after{
  content: '';
  position: absolute;
  top:0;
  left: 0;
  width: 100%;
  z-index: 1;
  height: 100%;
  background: transparent;
  display: block;
}

.iframe-video{
  position: relative;
  z-index: 0;
}
/* The Modal (background) */

.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1000000000000000000000;
    /* Sit on top */
    padding-top: 60px;
    /* Location of the box */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.7);
    /* Black with opacity */
}

.modal-body p,
.modal-body {
    padding: 0;
    margin: 0;
}
.modal-body iframe{
  width: 100%;
  height: 630px;
}
/* Modal Content */
.modal-content p{
    margin: 0;
    display: flex;
}
.modal-content {
    background-color: transparent;
    margin: auto;
    padding: 20px;
    border: 0;
    width: 100%;
    max-width: 1120px;
    padding: 0;
    min-height: 630px;
}

@media screen and (max-width:991px){
  .modal-body iframe{
    height: calc(50vw + 50px)
  }
  .modal-content {
    max-width: 100vw;
    min-height: calc(50vw + 50px)
  }
  #interior-gallery .swiper-slide img,
  #exterior-gallery .swiper-slide img{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%); /* IE 9 */
    -webkit-transform: translate(-50%, -50%); /* Chrome, Safari, Opera */
    max-width: fit-content;
    min-height: 320px;
    max-height: 320px;
    width: auto;
  }
  #interior-gallery .swiper-slide,
  #exterior-gallery .swiper-slide{
    min-height: 320px;
    max-height: 320px;
    overflow: hidden;
    position: relative;
  }

  .mb-5.shadow-none{
    margin-bottom: 0 !important;
    margin-top: 0 !important;
  }
  .section-1-galerie,
  .section-contact{
    padding-top: 0;
  }
  #exterior-gallery{
    margin-top: 20px;
  }
  #thumbnail-gallery{
    margin-top: 0 !important
  }
}
/* The Close Button */

.close {
    color: #000;
    float: right;
    font-size: 18px;
    font-weight: bold;
    position: absolute;
    opacity: 1;
    background: #fff;
    right: 10px;
    top: 5px;
    z-index: 99;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    border-radius: 100%;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
.swiper-button-prev,
.swiper-button-next{
  z-index: 99 !important
}
.fancybox-container{
    z-index: 99999898999999999999999 !important
}
@media screen and (min-width:992px){
	.main-interior-gallery .swiper-slide,
	.main-gallery .swiper-slide{
		min-height: 720px;
		max-height: 720px;
		overflow: hidden;
	} 
	.main-interior-gallery .swiper-slide img,
	.main-gallery .swiper-slide img{
		position: absolute;
      top: 50%;
      left: 50%;
      -webkit-transform: translate(-50%, -50%);
      -moz-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
      -o-transform: translate(-50%, -50%);
      min-height: 720px;
      width: 100%;
      transition: .5s all;
      max-width: fit-content;
	}
	.thumbs-interior-gallery .swiper-slide,
	.thumbs-gallery .swiper-slide{
		min-height: 150px;
		max-height: 150px;
		overflow: hidden;
	} 
	.thumbs-interior-gallery .swiper-slide img,
	.thumbs-gallery .swiper-slide img{
		position: absolute;
      top: 50%;
      left: 50%;
      -webkit-transform: translate(-50%, -50%);
      -moz-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
      -o-transform: translate(-50%, -50%);
      min-height: 150px;
        transition: .5s all;
        max-width: fit-content;
        min-width: 100%;
	}
}