.messagebox_overlay {
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 100000;
}

.messagebox_overlay *:focus {
    outline: 0
}

.messagebox {
    font-family: verdana, arial, helvetica, sans-serif;
    font-size: 10pt;
    font-style: normal;
    font-weight: normal;
    text-align: left;
    color: #303030;
    background-color: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 2px 4px #ddd;
    max-height: 90%;
    max-width: 90%;
    min-width: 300px
}

.messagebox_content {
    padding: 20px 20px 0 20px;
    color: #d00
}

.messagebox_content:after {
    content: "";
    display: block;
    flex: 0 0 auto;
    height: 20px
}

.messagebox_content_label {
    display: block;
    width: 100%;
    margin: 10px auto auto auto;
    font-style: italic
}

.messagebox_content_input {
    display: block;
    text-align: left;
    outline: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 1px solid #ddd;
    height: 30px;
    padding: 0 10px;
    font-size: 12px;
    color: #666;
    width: 100%;
    resize: none;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -webkit-transition: all 1s;
    -moz-transition: all 1s;
    -ms-transition: all 1s;
    -o-transition: all 1s;
    transition: all 1s
}

.messagebox_content_input:hover {
    border-color: #707070
}

.messagebox_content_input:focus {
    border: 1px solid #0d95e8;
    -webkit-transition: all 1s;
    -moz-transition: all 1s;
    -ms-transition: all 1s;
    -o-transition: all 1s;
    transition: all 1s
}

.messagebox_content_label .messagebox_content_input {
    margin-top: 4px
}

.messagebox_content_input_selectplaceholder {
    color: #909090
}

.messagebox_content_error {
    background-color: #fad0d5;
    color: #a02020;
    margin-top: 15px;
    margin-bottom: -10px;
    padding: 4px 6px;
    border-radius: 2px
}

.messagebox_buttons {
    background-color: #f5f5f5;
    border-top: 1px solid #c8c8c8;
    padding: 10px 20px 0 20px;
    text-align: center
}

.messagebox_buttons button {
    font-family: inherit;
    font-size: inherit;
    font-weight: bold;
    text-align: center;
    min-width: 75px;
    margin: 0 4px 10px 4px;
    padding: 8px 15px;
    cursor: pointer;
    border: 1px solid #c0c0c0;
    border-radius: 2px
}
.messagebox_button_fail
{
    border: 0;
    background: #000;
    color: #fff;
    text-transform: uppercase;
    font-weight: bold;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
    cursor: pointer;
    outline: 0;
}
.messagebox_button_done
{
    padding: 10px 27px;
    border: 0;
    background: #51b747;
    text-transform: uppercase;
    font-weight: bold;
    color: #fff;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
    cursor: pointer;
    outline: 0;
}
.messagebox_buttons button:hover {
    color: #202020;
    background-color: #f0f0f0
}

.messagebox_buttons button:active {
    background-color: #e6e6e6;
    border: 1px solid #a0a0a0;
    box-shadow: inset 0 0 6px #d0d0d0
}

.messagebox_buttons button::-moz-focus-inner {
    padding: 0;
    border: 0
}