.msg_window_wrapper {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.25);
    width: 100%;
    height: 100%;
    z-index: 2000;
}

.msg_window {
    margin: 10% auto 0 auto;
    width: 40%;
    padding: 10px;
    background: #f5f5f5;
    overflow: hidden;
    box-shadow: 1px 1px 5px #000;
}

.msg_window_header {
    width: 96%;
    padding: 1% 2%;
    float: left;
    border-bottom: 1px solid #000;
}

.msg_window_content {
    width: 100%;
    float: left;
}

.msg_window .msg_window_message {
    padding: 20px 0;
}

.msg_window .msg_window_message .msg.error {
    color: #FF0000;
}

.msg_window .msg_window_message .msg.success {
    color: #006600;
}

.msg_window .msg_window_message .msg.notice {
    color: #f57900;
}

.msg_window .msg_window_title {
    float: left;
    font-weight: bold;
    color: #000;
}

.msg_window .msg_window_close {
    float: right;
    cursor: pointer;
}

.msg_window .msg_window_close:hover {
    float: right;
    cursor: pointer;
    color: #FF0000;
}

.msg_window .msg_window_close_button {
    text-align: center;
    text-transform: uppercase;
}

.msg_window .msg_window_close_button button {
    border: 0;
    background: none;
    font-weight: bold;
    cursor: pointer;
    letter-spacing: 2px;
    font-size: 16px;
    border: 2px solid #ccc;
    padding: 10px;
    color: #818181;
}

.msg_window .msg_window_close_button button:hover {
    animation-name: animate_close_button;
    animation-duration: 1s;
    -webkit-animation-name: animate_close_button;
    -webkit-animation-duration: 1s;
    -webkit-animation-fill-mode: forwards;
    -moz-animation-fill-mode: forwards;
    -o-animation-fill-mode: forwards;
    -ms-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
}

.msg_window .msg_window_close_button button {
    animation-name: animate_close_button_back;
    animation-duration: 1s;
    -webkit-animation-name: animate_close_button_back;
    -webkit-animation-duration: 1s;
    -webkit-animation-fill-mode: forwards;
    -moz-animation-fill-mode: forwards;
    -o-animation-fill-mode: forwards;
    -ms-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
}

@keyframes animate_close_button {
    from { color: #ccc; border: 2px solid #ccc; }
    to { color: #000; border: 2px solid #000; }
}

@keyframes animate_close_button_back {
    from { color: #000; border: 2px solid #000; }
    to { color: #ccc; border: 2px solid #ccc; }
}

@-webkit-keyframes animate_close_button {
    from { color: #ccc; border: 2px solid #ccc; }
    to { color: #000; border: 2px solid #000; }
}

@-webkit-keyframes animate_close_button_back {
    from { color: #000; border: 2px solid #000; }
    to { color: #ccc; border: 2px solid #ccc; }
}