#gallery-wrapper {
    height: 100%;
    width: 100vh;
    text-align: center;
}

.kSlideshowWrapper,
.kSlideshowItemDiv {
    /* width: 400px; */
    width: auto;
    /* height: 267px; */
}

.kThumbnailsInnerWrapper {
    height: 80px;
    /* width: auto; */
}

.kThumbnailsWrapper {
    width: auto;
    height: 80px;
    margin: 10px auto 0 auto;
}

.kThumbnailsPage {
    width: 324px;
    text-align: left;
}

.kThumbnailsPage img {
    padding: 1px;
    border: 1px solid black;
    margin: 2px;
}

.kThumbnailsPage .selectedThumbnail {
    border-color: #aaaaff;
}

.kSlideshowItemDiv img {
    z-index: 400;
    width: 100%;
    /* width: 75%; */
    /* max-width: 650px; */
}


#gallery-wrapper {
    margin-left: auto;
    margin-right: auto;
    z-index: 2;
    height: auto;
    width: 100%;
    max-width: 800px;
}

.div-fundo {
    position: fixed !important;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 998;
    width: 100%;
    height: 100vh;
    display: none;
}

/*kSlideshow*/
.kSlideshowWrapper {
    position: relative;
}

.kSlideshowItemDiv {
    /*position: absolute;*/
    top: 0;
    left: 0;
}

.kSlideshowPrev {
    width: 24px;
    height: 24px;
    cursor: pointer;
    position: absolute;
    top: 45%;
    left: 13px;
    z-index: 500;
    background: url(/novo-portal/resources/view/assets/images/gallery/icone-left.png) no-repeat;
}

.kSlideshowPlayToggle {
    width: 24px;
    height: 24px;
    cursor: pointer;
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 500;
}

.closeButton {
    width: 24px;
    height: 24px;
    cursor: pointer;
    position: absolute;
    top: -10px;
    left: 98%;
    z-index: 500;
    background: url(/novo-portal/resources/view/assets/images/gallery/buttonclose.png) no-repeat;
}

.kSlideshowPlay {
    background: url(/novo-portal/resources/view/assets/images/gallery/gtk-media-play-ltr.png) no-repeat;
}

.kSlideshowPause {
    background: url(/novo-portal/resources/view/assets/images/gallery/gtk-media-pause.png) no-repeat;
}

.kSlideshowNext {
    width: 24px;
    height: 24px;
    cursor: pointer;
    position: absolute;
    top: 45%;
    left: 94.5%;
    z-index: 500;
    background: url(/novo-portal/resources/view/assets/images/gallery/icone-right.png) no-repeat;
}

.kSlideshowTitle {
    min-height: 75px;
    /* align-items: center; */
    height: auto;
    flex-direction: column;
    left: 0px;
    /* bottom: 75px; */
    /* width: 100%; */
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    text-align: center;
    text-align: left;
    padding: 15px;
    z-index: 999;
    display: flex;
    font-family: 'Lato', sans-serif;
    font-style: italic;
}

.kSlideshowTitle a {
    color: gold;
}

/*kThumbnails*/
.kThumbnailsInnerWrapper {
    position: relative;
    overflow: hidden;

}

.kThumbnailsWrapper {
    position: relative;
    /* margin: 0 24px; */
    /* margin-left: 1000px  !important; */
    /* margin-top: 389px !important; */
    z-index: 99;
}

.kThumbnailsWrapper .kThumbnailsNextPage {
    width: 24px;
    height: 24px;
    position: absolute;
    top: 34%;
    right: -24px;
    background: url(/novo-portal/resources/view/assets/images/gallery/icone-right.png) no-repeat;
    cursor: pointer;
}

.kThumbnailsWrapper .kThumbnailsPrevPage {
    width: 24px;
    height: 24px;
    position: absolute;
    top: 34%;
    left: -24px;
    background: url(/novo-portal/resources/view/assets/images/gallery/icone-left.png) no-repeat;
    cursor: pointer;
}

.kThumbnailsWrapper .inactive {
    display: none;
}

.kThumbnailsPage {
    position: absolute;
    top: 0;
    left: 0;
    width: auto;
}

.kThumbnailsPage img {
    cursor: pointer;
}


.escurecer {
    background-color: rgba(0, 0, 0, 0.8);
    width: 100vh;
}

@media only screen and (max-width: 768px){
    .kSlideshowItemDiv img {
        /* top: 10%; */
    }

    /* .kThumbnailsInnerWrapper {
        height: 230px;
    } */
    
}

@media only screen and (max-width: 1400px) {
    .imgs-campus div {
        max-height: 133px !important;
    }
}

@media only screen and (max-width: 768px){
    .row{
        --bs-gutter-x: 0rem !important;
    }

    .imgs-campus div {
        max-height: 275px !important;
    }
}

.kThumbnailsPage img {
    width: 100px;
    height: 67px;
}

.kThumbnailsPage img {
    object-fit: cover;
}


/* @media only screen and (max-width: 767px) {
    .kThumbnailsWrapper {
        margin-top: 185px !important;
    }

} */

/* @media only screen and (max-width: 768px) {
    .kThumbnailsWrapper {
        margin-top: 310px !important;
    }
} */

/* @media only screen and (max-width: 600px) {
    .kThumbnailsWrapper {
        margin-top: 185px !important;
    }
} */

@media only screen and (max-width: 680px) {
    .kSlideshowNext,
    .kSlideshowPrev {
        position: absolute;
        /* top: 75% !important; */
    }

   
}





/* @media only screen and (max-width: 665px) {
    .kThumbnailsWrapper {
        margin-top: 240px !important;
    }
} */

/* @media only screen and (max-width: 575px) {
    .kThumbnailsWrapper {
        margin-top: 180px !important;
    }
} */

@media only screen and (max-width: 520px) {
    .kSlideshowNext,
    .kSlideshowPrev {
        position: absolute;
        /* top: 50% !important; */
    }
    /* .kThumbnailsWrapper {
        margin-top: 180px !important;
    } */

    .kSlideshowTitle {
        /* bottom: 40px; */
    }
    /* .kThumbnailsPage img {
        width: 52px;
        height: 67px;
        object-fit: cover;
    }
} */
}

@media screen and (max-width: 420px) {
    .galeria {
        top: -1.5rem;
    }
    /* .kThumbnailsWrapper {
        margin-top: 100px !important;
    } */
}
