﻿/* Page content */
.content {
    max-width: 800px;
    margin: 0 auto;
}

/* Overlay styles */
.overlay {
    font-size: small;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.overlay-header {
    font-weight: bold;
    border-bottom: solid;
    border-bottom-width: 1px;
    border-bottom-color: lightgray;
    /*padding: 5px 0px 10px 0px;*/
}

    .overlay-header span {
        margin-bottom: 15px;
    }

.overlay-container {
    background-color: white;
    /*padding: 15px;*/
    border-radius: 15px;
    max-width: 80%;
    max-height: 80%;
    overflow: clip;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

    .overlay-container div {
        padding: 10px 15px;
    }

.overlay-content {
    /*padding: 15px;*/
    overflow-y: auto;
    max-height: 70vh;
    margin-top: 0px;
    line-height: 1.6;
    font-family: Verdana;
    margin: 0px 25px;
}

    .overlay-content h1 {
        font-size: small;
        height: unset;
        margin-top: 15px;
    }

    .overlay-content ul {
        margin: 0px;
    }

    .overlay-content li {
    }

    .overlay-content p {
        margin-top: 5px;
        height: unset;
    }


.close-btn {
    margin: 15px;
    padding: 10px 20px;
    background-color: #cf0a2c;
    color: white;
    border: none;
    /*border-radius: 4px;*/
    cursor: pointer;
    font-size: 16px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    font-family: Flama, "serif";
}

    .close-btn:hover {
        background-color: #b80826;
    }

/* Loading indicator */
.loading {
    text-align: center;
    padding: 20px;
}
