#customalert-overlay,
#customconfirm-overlay {
    display: none;
    opacity: .5;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 2147483647;
    background: #000
}

.customalert {
    background-color: #fff;
    font-family: arial;
    overflow: hidden !important;
    padding: 0 !important;
    width: 550px;
    font-size: 1em;
    display: none;
    position: fixed;
    max-width: 100vw;
    max-height: 100vh;
    z-index: 2147483647;
    top: 5%;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.3);
    -webkit-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.3);
    margin-left: -275px;

    top: 25%;
    left: 50%;
}

@media (max-width:321px) {
    .customalert {
        top: 10%;
        /*left: 50%;*/
    }
}

@media (max-width:550px) {
    .customalert {
        margin-left: -50vw
    }
}

.customalert .ca-header,
.customalert .ca-body,
.customalert .ca-footer {
    padding: 10px;
    text-align: left;

}

.customalert .ca-header {
    font-size: 1.3em;
    font-weight: bold;
    padding-top: 40px;
    padding-left: 50px;
}

.customalert .ca-body {
    font-size: 1.1em;
    background: #fff;
    padding:10px 50px 30px 50px;
}
.customalert .ca-footer {
    background: #eef0f6 !important;
    text-align: right !important;
    padding: 30px 40px;
}

.customalert .ca-footer button {
    margin-top: 5px;
    margin-bottom: 5px;
    width: 100px;
    padding: 5px;
    word-wrap: break-word;
    font-family: arial;
    border: none
}

.customalert .ca-footer span.ca-btn {
    cursor: pointer;
    padding: 8px 20px;
    color: #676767;
    border-radius: 50px;
    font-weight: bold;
    border: 1px solid #676767;
}
.customalert.customalert-confirm .ca-footer span.button-done {
    margin-left: 10px;
    background: #eb4d4e;
    color: white;
    border: 1px solid #eb4d4e;
}


.customalert.customalert-confirm .ca-footer span.button-cancel {
    color: #676767;
}

