/*Gallery*/
.page .gallery{
    position: relative;
    width: 100%;
    margin-bottom: 46px;
}

.page .gallery .gallery-content{
    display: inline-block;
    height: 100%;
    width: 100%;
}

.page .gallery .gallery-top-nav{
    position: relative;
    width:100%;
    padding-top: 28px;
    padding-bottom: 28px;
    min-height: 40px;
    z-index: 10;
    justify-content: flex-end;
}

/*Carousel*/
.page .gallery .carousel {
    position: relative;
    padding: 0px;
    width: 100%;
    height: 100%;
}

.page .gallery .carousel .tag{
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    bottom:0px;
    left:38px;
    writing-mode: tb-rl;
    padding:12px 0px;
    width: 36px;
    font-size: 18px;
    transform: rotate(-180deg);
    background: #00A2FF;
}

.page .gallery .carousel .tag p{
    margin: 0px;
    color:#FFFFFF;
}

.page .gallery .carousel .carousel-items{
    height: 420px;
    width: 100%;
    flex-direction:column;
    align-items: flex-start;
    align-content: flex-start;
    flex-wrap: wrap;
}

.page .gallery .carousel  .carousel-items .carousel-item{
    text-align: center;
    width: auto;
    max-width: 100%;
    min-width: auto;
    margin: 0px 0px 0px 3px!important;
    height: 100%;
    padding-left: 2px;
}

.page .gallery .carousel  .carousel-items .carousel-item:only-child{
    margin-left: auto !important;
    margin-right: auto !important;
}

.page .gallery .carousel  .carousel-items .carousel-item .imovel-foto{
    width: auto;
    max-width: 100%;
    object-fit: cover;
    height: 100%;
}

.page .gallery:not(.view-photos) .gallery-top-nav{
    display: none;
}

.page .gallery .gallery-top-nav .buttons{
    position: absolute;
    right:0px;
    width: auto;
    padding: 3px;
}

.page .gallery .gallery-top-nav .btn.close-view-photos{
    font-size: 18px;
    color:#434343;
}

.page .gallery .gallery-top-nav .status{
    margin: auto;
    font-size: 18px;
}

/*carousel Nav*/
.page .gallery .carousel-nav{
    position: absolute;
    left:0px;
    right:0px;
    z-index: 5;
    margin-left: auto;
    margin-right: auto;
    bottom: 0px;
    padding: 0px;
}

.page .gallery .carousel-nav .buttons{
    margin-top: auto;
    margin-left: auto;
    margin-right: 24px;
    margin-bottom: 24px;
}

.page .gallery .carousel-nav .buttons .btn{
    padding:11px 16px;
    background-color: #00a2ff;
    color:#fff;
    margin:0px;
    box-shadow: 0px 3px 3px 0px rgba(0,0,0,0.25);
}
.page .gallery .carousel-nav .buttons .btn i{
    padding-right: 12px;
}

/*Tela cheia (View-Photos)*/
.page .gallery.view-photos{
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    position: fixed;
    top:0px;
    left:0px;
    left: 0px;
    width:100%;
    height: 100%;
    z-index: 1000;
    padding-bottom: 24px;
    overflow: hidden;
    background-color: #fff;
}

.page .gallery.view-photos .gallery-content{
    position: relative;
    height: 320px;
    min-height: 70%;
    flex-grow: 1;
}

.page .gallery.view-photos .tag,
.page .gallery.view-photos .carousel-nav{
    display: none;
}

.page .gallery.view-photos .carousel .carousel-list,
.page .gallery.view-photos .carousel .carousel-content{
    height: 100%;
}

.page .gallery.view-photos .carousel-items{
    height: 100% !important;
    margin-top: auto;
    margin-bottom: auto;
}

.page .gallery.view-photos .carousel-item{
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: auto !important;
    width:100% !important;
    height: 100% !important;
    padding: 0px;
}

.page .gallery.view-photos .carousel-items .carousel-item .imovel-foto{
    width: auto;
    height: auto;
    max-width: 70%;
    max-height: 70%;
}


/*Responsivo*/
/*1100px*/
@media only screen and (max-width: 1100px){
    .page .gallery .carousel  .carousel-items .carousel-item{
        width: 100%;
        padding: 0px;
    }
}
/*725px*/
@media only screen and (max-width: 725px){
    .page .gallery{
        margin-bottom: 23px;
    }

    .page .gallery .carousel-nav .buttons{
        margin-right: 12px;
        margin-bottom: 12px;
    }
    .page .gallery .carousel-nav .buttons .btn{
        padding: 6px 9px;
    }
}