#wrapper {
    display:flex;
    flex-direction: column;
    min-height: 100vh;
}
#container, 
#container > .content, 
#container > .content > main, 
#container > .content > main > article, 
#container > .content > main > article > section, 
#container > .content > main > article > section > .container,
#container > .content > main > article > section > .container > iframe{
    flex: 1;
    display: flex;
    flex-direction: column;
}

iframe {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    border: none;
    padding-top: 56px;
    padding-bottom: 90px;
}

.fixed-top {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 999;
    border-bottom: #EAE8E8 1px solid;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.modal-content {
    border-radius: 8px;
    background-color: #fff;
    margin: 1% auto;
    padding: 0px;
    border: 1px solid #888;
    width: 94%;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.close {
    position: absolute;
    top: 5px;
    right: 12px;
    font-size: 25px;
    font-weight: bold;
    cursor: pointer;
}

@media (max-width: 768px) {
    .modal {
        max-height: 80vh; /* Adjust the value as needed */
        overflow-y: auto;
    }
}

.sl-overlay {
    background: black !important;
    opacity: 0.9 !important;
}

.sl-wrapper .sl-close {
    color: #fff !important;
}

.sl-wrapper .sl-navigation button {
    color: #fff !important;
}

.ngg-galleryoverview {
    margin-bottom: 40px !important;
}