.layer {
    width: 100vw;
    height: 100vh;
    position: fixed;
    background-color: rgba(240, 240, 240, 0.4);
    cursor: pointer;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(3, 1fr);
    z-index: 50;
}

.pop-up {
    border: 1px solid grey;
    border-radius: 16px;
    background: white;
    padding: 15px;
    grid-column: 3;
    grid-row: 2;
    justify-self: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: auto;
    z-index: 55;
}

.pop-up--big {
    width: 72vw;
    height: fit-content;
    max-height: 92vh;
}

.pop-up--small {
    width: 24vw;
    height: fit-content;
}

.pop-up__content {
    text-align: center;
    max-height: 90vh;
    margin-top: 20px;
    overflow-y: auto;
    padding-bottom: 10px;
}

.pop-up-title {
    font-weight: bold;
    font-size: 16px;
}

.pop-up-description {
    padding: 0 10px;
}

.pop-up-errors {
    color: red;
}

/* button to close pop-up (x) */
.pop-up-close-button {
    border: none;
    align-self: end;
    background-color: inherit;
    position: absolute;
}

/* container for pop-up actions (e.g. buttons) */
.pop-up-actions {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    margin-top: 8px;
}

/* Confirm pop-up buttons */
.btn--submit {
    background-color: #f44336;
    color: white;
    grid-column-start: 3;
}

.btn--cancel {
    background-color: white;
    color: black;
    text-shadow: none;
    grid-column-start: 5;
}

/*Used in PotentiallyInactiveOverview.cshtml */
.page_heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
}

.page_heading-paragraphs {
    text-align: start;
}

.page_heading-list {
    max-width: 80%;
}

.mod_tableFilters_overflow {
    overflow-y: auto;
    min-height: auto !important;
}

.btn-deactivate--focus {
    opacity: 1;
}

.align-element--center {
    display: flex;
    justify-content: center;
    align-items: center;
}
