.div-video-surfliving{
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.div-video-surfliving:nth-child(2){
    height: 100% !important;
}
.div-video-surfliving .video-surfliving {
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
    width: 100%;
    height: 100%;
}
.div-video-surfliving .overlay-video{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba( 255, 255, 255, 0.1 );
    backdrop-filter: blur( 5px );
    -webkit-backdrop-filter: blur( 5px );
}
.iti-mobile .iti--container {
    top: 30px;
    bottom: 30px;
    left: 30px;
    right: 30px;
    position: fixed;
    z-index: 9999;
}
.div-video-surfliving .overlay-video .play {
    margin: 0 auto;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 119px;
    height: 119px;
    border: 3px solid #FFFFFF;
    border-radius: 100%;
    background: transparent;
    position: relative;
}
.div-video-surfliving .overlay-video .central {
    width: 100%;
    height: 100%;
    display: table-cell;
    position: relative;
    vertical-align: middle;
}
.div-video-surfliving .overlay-video .play .container {
    background: transparent;
}
.div-video-surfliving .overlay-video .play::before{
    content: '';
    position: absolute;
    width: 119px;
    height: 119px;
    right: 0px;
    top: -3px;
    left: -3px;
    -webkit-animation-delay: 0s;
    animation-delay: 0s;
    -webkit-animation: pulsate-btn 2s;
    animation: pulsate-btn 2s;
    -webkit-animation-direction: forwards;
    animation-direction: forwards;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    -webkit-animation-timing-function: steps;
    animation-timing-function: steps;
    opacity: 1;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.7);
    background: rgba(198, 16, 0, 0);
  }
  .div-video-surfliving .overlay-video .play::after{
    content: '';
    position: absolute;
    width: 119px;
    height: 119px;
    right: 0px;
    top: -3px;
    left: -3px;
    -webkit-animation-delay: 0s;
    animation-delay: 0s;
    -webkit-animation: pulsate-btn2 2s;
    animation: pulsate-btn2 2s;
    -webkit-animation-direction: forwards;
    animation-direction: forwards;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    -webkit-animation-timing-function: steps;
    animation-timing-function: steps;
    opacity: 1;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.7);
    background: rgba(198, 16, 0, 0);
  }
  
  @keyframes pulsate-btn {
    0% {
      transform: scale(1, 1);
      opacity: 1;
    }
    100% {
      transform: scale(1.3, 1.3);
      opacity: 0;
    }
  }
  @keyframes pulsate-btn2 {
    0% {
      transform: scale(1.2, 1.2);
      opacity: 1;
    }
    100% {
      transform: scale(1.5, 1.5);
      opacity: 0;
    }
  }
.lupa-icon{
    background-image: url(../img/ribeira-d-ilhas-villas/lupa.svg);
    background-repeat: no-repeat;
    background-size: contain;
    cursor: pointer;
}
.lupa-icon:hover{
    transform: scale(1.05);
}

.zoom {
	overflow: hidden;
}

.zoom img {
	max-width: 100%;
	-moz-transition: all 0.3s;
	-webkit-transition: all 0.3s;
	transition: all 0.3s;
}

.zoom:hover img {
	-moz-transform: scale(1.1);
	-webkit-transform: scale(1.1);
	transform: scale(1.1);
}
.img-zoom-lens {
    position: absolute;
    border: 1px solid #d4d4d4;
    /*set the size of the lens:*/
    width: 40px;
    height: 40px;
}
.swiper-button-disabled{
    display: none !important;
}
.swiper-button-prev {
    color: white !important;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%234c71ae'%2F%3E%3C%2Fsvg%3E") !important;
}

.swiper-button-next {
    color: white !important;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%234c71ae'%2F%3E%3C%2Fsvg%3E") !important;
}
.img-zoom-result {
    border: 1px solid #d4d4d4;
    /*set the size of the result div:*/
    width: 300px;
    height: 300px;
}
.tabs-villas{
    border-bottom: 4px solid #3D424F;
}
.internal{ 
    animation: opac 0.8s;
}
.opa{
    animation: opac 0.8s; 
}
@keyframes opac{from{opacity:0} to{opacity:1}}

.item-internal
.overlay-mini{
    display: none;
}
.item-internal:hover
.overlay-mini{
    display:flex;
}
footer{
    background-image: url(../img/ribeira-d-ilhas-villas/bg-footer.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
.modal {
    transition: opacity 0.25s ease;
}
body.modal-active {
overflow-x: hidden;
overflow-y: visible !important;
}

.item-menu-mapa{
    cursor: pointer;
    transition: all 0.4s;
}
.item-menu-mapa svg{
    transition: all 0.4s;
}
.item-menu-mapa:hover svg{
    transform: translateX(40%);
}
.list-items-map{
    right: -100vw;
    transition: all 0.5s;
    z-index: 9999 !important;
}

@media(max-width:640px){
    .list-items-map{
        right: auto;
        left: -900px;
    }
}
.zoom-before::before{
    content: attr(data-desc);
    position: absolute;
    top: 50%;
    left: -220px;
    transform: translateY(-50%);
    padding: 5px;
    background-color: white;
    border-radius: 5px;
    color: #000000;
    width: 210px;
    text-align: center;
    -webkit-box-shadow: -5px 4px 15px -2px #A8A8A8; 
    box-shadow: -5px 4px 15px -2px #A8A8A8;
    opacity: 0;
    transition: opacity 0.5s;
    font-family: 'abelRegular';
}
.zoom-before:hover::before{
    opacity: 1;
}
.desc-perspectiva{
    font-family: 'abelRegular';
}
.translateX{
    -webkit-transform: translateX(150%);
  transform: translateX(150%);
}
.translateXNone{
    -webkit-transform: translateX(0);
  transform: translateX(0);
}

@media(max-width:767px){
    .div-video-surfliving {
        width: 100%;
        height: 30vh !important;
    }
}
@media(min-width:768px){
    p{
        line-height: 22px !important;
    }
    
}
@media(min-width:768px) and (max-width:1023px){
    .div-video-surfliving {
        width: 100%;
        height: 40vh !important;
    }
}
@media(min-width:1024px) and (max-width:1200px){
    .card-post{
        height: 220px;
    }
    .div-video-surfliving {
        width: 100%;
        height: 50vh !important;
    }
}

@media(min-width:1536px){
    p{
        line-height: 22px !important;
        font-size: 22px !important;
    }
    #design p, #condominium-spaces p{
        line-height: 24px !important;
        font-size: 24px !important;
    }
    #design #authors p {
        line-height: 19px !important;
        font-size: 19px !important;
    }
    .tabs-villas{
        border-bottom: 5px solid #3D424F;
    }
    .over-image-pc{
        max-height: 75vh;
    }
}