.modal-template {
    display :none;
}

.modal-mask {
    position: fixed;
    z-index: 9998;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: table;
    transition: opacity 0.3s ease;
}

.modal-wrapper {
    display: table-cell;
    vertical-align: middle;
}

.modal-container {
    width: 50vw;
    margin: 0px auto;
    padding: 2rem 3rem;
    background-color: #fff;
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.33);
    transition: all 0.3s ease;
}

.modal-header {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
}
.modal-header h3 {
    font-size: 2.5rem;
}
.modal-close-button,
.modal-close-button:hover,
.modal-close-button:focus {
    margin: 0;
    padding: 0;
    line-height: auto;
    background-color: transparent;
    border: none;
    color: #000;
    font-size: 3rem;
    font-weight: lighter;
}

.modal-body {
    margin: 1rem 0;
}
.modal-body ul {
    padding: 1rem;
    border-bottom: solid 1px;
}
.modal-body li {
    margin: 0;
    padding: 0.5rem;
}
