.dialog-wrapper {
    -webkit-tap-highlight-color: transparent;
    align-items: center;
    background-color: rgba(49, 49, 49, 0.5);
    color: #313131;
    display: flex;
    font-size: 10px;
    height: 100vh;
    justify-content: center;
    left: 0;
    position: fixed;
    top: 0;
    width: 100vw;
    z-index: 3000 !important;
}

.dialog-wrapper.fadeIn {
    animation: fadeIn .2s ease;
}

.dialog-wrapper.fadeOut {
    animation: fadeOut .2s ease forwards;
}

.dialog-wrapper .dialog {
    background-color: #fff;
    border-radius: .4em;
    box-shadow: 0 0 10px 1px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    max-width: 30em;
    overflow: hidden;
    position: relative;
    width: 85vw;
}

.dialog-wrapper .dialog .btn {
    cursor: pointer;
}

.dialog-wrapper .dialog .btn:active {
    background-color: #f4f4f4;
}

.dialog-wrapper .dialog .close-btn {
    font-size: 1.8em;
    padding: 10px;
    position: absolute;
    right: 0;
    top: 0;
}

.dialog-wrapper .dialog .content {
    font-size: 1.6em;
    padding: 40px 20px;
    text-align: center;
}

.dialog-wrapper .dialog.slideDown {
    animation: slideDown .2s ease;
}

.dialog-wrapper .dialog.slideUp {
    animation: slideUp .2s ease forwards;
}

.dialog-wrapper .dialog .buttons {
    font-size: 1.6em;
    display: flex;
    flex-flow: row-reverse;
}

.dialog-wrapper .dialog .buttons .btn {
    border-top: 1px solid #ebebeb;
    flex: 1;
    padding: 15px;
    text-align: center;
}

.dialog-wrapper .dialog .buttons .btn.ok-btn {
    color: #5CB85C;
    font-weight: 600;
}

.dialog-wrapper .dialog .buttons .btn.cancel-btn {
    color: #313131;
    border-right: 1px solid #ebebeb;
}

@keyframes slideDown {
    from {
        transform: translateY(-3em);
    }

    to {
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-3em);
    }
}

@keyframes fadeIn {
    from {
        opacity: .5;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}