.cc-gallery .modal-content {
    background-color: transparent;
}



.cc-carousel-caption.carousel-caption {
    background-color: rgba(var(--rgba-primary-dark-color),.6);
    padding: 4px 8px;
    text-align: left;
    position: absolute;
    bottom: -10px;
    left: 2%;
    width: 96%;
    max-height: 100px;
    overflow: auto;
}

.cc-gallery .modal-dialog {
    margin-top: 0rem;
    top: 5%;
    height: 90vh;
    width: 100% !important;
    max-width: 90vw !important;
    overflow: visible;
}


.cc-gallery .carousel-control-prev, .cc-gallery .carousel-control-next {
    position: absolute;
    top: 50%;
    transform: translateY(-100%);
}

    .cc-gallery .carousel-control-prev:hover, .cc-gallery .carousel-control-next:hover {
        transform: translateY(-100%) scale(1.2);
    }

.cc-gallery .cc-btn.cc-btn-circle {
    background-color: var(--primary-dark-color) !important;
}


.cc-gallery h2 {
    color: var(--white-color);
    text-align: center;
}


.cc-gallery .cc-gallery-close {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 38px;
    color: var(--white-color) !important;
}


.modal.cc-gallery {
    background-color: rgba(var(--rgba-primary-dark-color),.5);
}

    .modal.cc-gallery .carousel-item img {
        max-height: 68vh;
        width: auto;
        margin: 0 auto;
    }

    .modal.cc-gallery .carousel.slide {
        height: 84vh;
    }


    .modal.cc-gallery .carousel-inner {
        height: 94%;
        width: 90%;
        margin: 0 auto;
    }

    .modal.cc-gallery .carousel-item {
        height: 100%;
    }

.cc-information-piece .cc-thumbnail-img {
    overflow: hidden;
    border-radius: 6px;
    width: 140px;
    height: 140px;
    margin-bottom: 30px;
}


.cc-thumbnail-img video {
    background-color: #000;
    width: 140px;
    height: 140px;
}

.carousel video {
    width: auto;
    height: auto;
    max-width: 80%;
    max-height: 77vh; /* % height does not work for videos, use VH instead */
    margin: 0 auto;
}