/*
Styles for the SonnyModal Dialog widget JavaScript
*/
.sonny-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.sonny-modal {
    display: flex;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
}

.sonny-modal-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 2em;
}

.sonny-modal-wrapper.fit {
    align-items: center;
}

.sonny-modal-content {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    background: white;
    padding: 1em;
    overflow: auto;
}

.sonny-modal-content-fit {
    width: fit-content;
    height: fit-content;
    background: white;
    padding: 1em;
    overflow: auto;
}

.sonny-modal-title {
    display: flex;
    width: 100%;
    font-size: 1.5em;
}

.sonny-modal-header {
    display: flex;
    align-items: center;
    width: 100%;
    padding-bottom: 1em;
}

.sonny-modal-body {
    display: flex;
    flex-flow: wrap;
    width: 100%;
    min-height: 10em;
}

.sonny-modal-footer {
    display: flex;
    justify-content: center;
    width: 100%;
    padding-top: 1em;
}

.sonny-modal-footer button {
    margin: 0 0.25em;
}

