.pure-modal.trigger {
    cursor: pointer;
}

.pure-modal.close-wrap {
    margin-bottom: 0.125em;
    margin-right: -0.75em;
    margin-top: -0.5em;
    text-align: right;
}

.pure-modal.state {
    display: none;
}

.pure-modal.modal {
    align-items: center;
    background: rgba(0,0,0, .9);
    bottom: 0;
    display: flex;
    left: 0;
    justify-content: center;
    opacity: 0;
    position: fixed;
    right: 0;
    text-align: left;
    top: 0;
    transition: opacity .25s ease;
    visibility: hidden;
}

.pure-modal.state:checked + .pure-modal.modal {
    opacity: 1;
    visibility: visible;
}

.pure-modal.background {
    bottom: 0;
    cursor: pointer;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.pure-modal.content {
    background: #fff;
    border-radius: 5px;
    margin: auto;
    overflow: auto;
    padding: 1em 2em;
    position: absolute;
    transition: top .25s ease;
    width: 50%;
}