/* MicroModal modal dialogs  */
.modal {
    display: none;
}
.modal.is-open {
    display: block;
}
.modal .modal__overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 4; /* above site header & footer elements */
    /*text-align: left;     /* counteract ajax tooltip styling (!) */
}
.modal .modal__container {
    font: 14px Verdana, Arial, Helvetica, sans-serif;
    background-color: #f8f8f8;
    padding: 24px 32px 16px 32px;
    max-width: 700px;
    max-height: 100vh;
    border-radius: 4px;
    overflow-y: auto;
    box-sizing: border-box;
}
.modal .modal__header {
    margin-bottom: 16px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.modal .modal__title {
    color: #263B78;
    box-sizing: border-box;
    font-weight: 800;
    font-size: 150%;
}
.modal.modal-warning .modal__title {
    background: no-repeat 0px/15px url(/images/site/icon-warning.png);
    padding-left: 32px;
}
.modal .modal__close {
    background: transparent;
    border: 0;
    margin-left: 8px;
}
.modal .modal__header .modal__close:before {
    content: "\2715";
}
.modal .modal__content {
    line-height: 1.5;
    color: rgba(0, 0, 0, 0.8);
}
.modal .modal__footer {
    margin-top: 32px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: right;
}
.modal .modal__btn {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 0 8px 0;
    position: static;
    border: 1px solid #263B78;
    border-radius: 4px;
    background: white;
    color: black;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
}
.modal .modal__btn:hover {
    background-color: #4C85BE;
    color: #ffffff;
}
.modal .modal__btn.disabled {
    background: white;
    color: #c4c4c4;
    border-color: #c4c4c4;
    cursor: default;
}

/* content styling used in several dialogs */
.modal .modal__content .section-title {
    font-weight: 800;
    margin-bottom: 4px;
}
.modal .modal__content .section {
    margin-left: 20px;
    margin-bottom: 10px;
    color: black;
}
