div.messagebox {
    box-sizing: border-box;
    position: fixed;
    width: 600px;
    height: auto;
    min-height: 52px;
    top: 0;
    left: calc(50% - 300px);

    text-align: center;

    padding: 13px 15px 5px 15px;

    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;

    box-shadow: 1px 1px 1px 0 rgba(0, 0, 0, 0.2);

    display: none;

    z-index: 100000;
}

div.messagebox::before {
    box-sizing: border-box;
    content: '';
    display: block;
    position: fixed;
    top: 0;
    left: calc(50% - 300px - 10px);
    width: 10px;
    height: 10px;
}

div.messagebox::after {
    box-sizing: border-box;
    content: '';
    display: block;
    position: fixed;
    top: 0;
    left: calc(50% + 300px);
    width: 10px;
    height: 10px;
}

div#messagebox_loading {
    background: #F7F7F7;
}

div#messagebox_loading::before {
    background: url(../icons-yellow/message-loading-left.svg) no-repeat right top;
}

div#messagebox_loading::after {
    background: url(../icons-yellow/message-loading-right.svg) no-repeat left top;
}

div#messagebox_info {
    background-color: #0CE8B6;
}

div#messagebox_info::before {
    background: url(../icons-yellow/message-info-left.svg) no-repeat right top;
}

div#messagebox_info::after {
    background: url(../icons-yellow/message-info-right.svg) no-repeat left top;
}

div#messagebox_error {
    background-color: #FE725D;
}

div#messagebox_error::before {
    background: url(../icons-yellow/message-error-left.svg) no-repeat right top;
}

div#messagebox_error::after {
    background: url(../icons-yellow/message-error-right.svg) no-repeat left top;
}

#messagebox_error_opendetail, #messagebox_error_close {
    cursor: pointer;
}

#messagebox_error_detail_frame {
    width: 100%;
    height: 650px;
    margin: 0 0 0 0;
    padding: 0 0 0 0;
    border: 1px solid gray;
}

.cssload-loader {
    left: 100px;
    top: 23px;
}

@media screen and (max-width: 620px) {
    div.messagebox {
        width: calc(100% - 20px);
        left: 10px;
    }

    div.messagebox::before {
        left: 0;
    }

    div.messagebox::after {
        left: calc(100% - 10px);
    }

    #messagebox_loading > span {
        display: none;
    }

    .cssload-loader {
        left: calc(50% - 20px);
    }
}

.cssload-loader {
    width: 97px;
    height: 19px;
    position: absolute;
    transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
}

.cssload-loader > div {
    content: " ";
    width: 19px;
    height: 19px;
    background: rgb(9, 210, 255);
    border-radius: 100%;
    position: absolute;
    animation: cssload-shift 2.3s linear infinite;
    -o-animation: cssload-shift 2.3s linear infinite;
    -ms-animation: cssload-shift 2.3s linear infinite;
    -webkit-animation: cssload-shift 2.3s linear infinite;
    -moz-animation: cssload-shift 2.3s linear infinite;
}

.cssload-loader > div:nth-of-type(1) {
    animation-delay: -0.46s;
    -o-animation-delay: -0.46s;
    -ms-animation-delay: -0.46s;
    -webkit-animation-delay: -0.46s;
    -moz-animation-delay: -0.46s;
}

.cssload-loader > div:nth-of-type(2) {
    animation-delay: -0.92s;
    -o-animation-delay: -0.92s;
    -ms-animation-delay: -0.92s;
    -webkit-animation-delay: -0.92s;
    -moz-animation-delay: -0.92s;
}

.cssload-loader > div:nth-of-type(3) {
    animation-delay: -1.38s;
    -o-animation-delay: -1.38s;
    -ms-animation-delay: -1.38s;
    -webkit-animation-delay: -1.38s;
    -moz-animation-delay: -1.38s;
}

.cssload-loader > div:nth-of-type(4) {
    animation-delay: -1.84s;
    -o-animation-delay: -1.84s;
    -ms-animation-delay: -1.84s;
    -webkit-animation-delay: -1.84s;
    -moz-animation-delay: -1.84s;
}

@keyframes cssload-shift {
    0% {
        left: -58px;
        opacity: 0;
        background-color: rgb(254, 233, 0);
    }
    10% {
        left: 0;
        opacity: 1;
    }
    90% {
        left: 97px;
        opacity: 1;
    }
    100% {
        left: 156px;
        background-color: rgb(240, 68, 220);
        opacity: 0;
    }
}

@-o-keyframes cssload-shift {
    0% {
        left: -58px;
        opacity: 0;
        background-color: rgb(254, 233, 0);
    }
    10% {
        left: 0;
        opacity: 1;
    }
    90% {
        left: 97px;
        opacity: 1;
    }
    100% {
        left: 156px;
        background-color: rgb(240, 68, 220);
        opacity: 0;
    }
}

@-ms-keyframes cssload-shift {
    0% {
        left: -58px;
        opacity: 0;
        background-color: rgb(254, 233, 0);
    }
    10% {
        left: 0;
        opacity: 1;
    }
    90% {
        left: 97px;
        opacity: 1;
    }
    100% {
        left: 156px;
        background-color: rgb(240, 68, 220);
        opacity: 0;
    }
}

@-webkit-keyframes cssload-shift {
    0% {
        left: -58px;
        opacity: 0;
        background-color: rgb(254, 233, 0);
    }
    10% {
        left: 0;
        opacity: 1;
    }
    90% {
        left: 97px;
        opacity: 1;
    }
    100% {
        left: 156px;
        background-color: rgb(240, 68, 220);
        opacity: 0;
    }
}

@-moz-keyframes cssload-shift {
    0% {
        left: -58px;
        opacity: 0;
        background-color: rgb(254, 233, 0);
    }
    10% {
        left: 0;
        opacity: 1;
    }
    90% {
        left: 97px;
        opacity: 1;
    }
    100% {
        left: 156px;
        background-color: rgb(240, 68, 220);
        opacity: 0;
    }
}

.security-message {
    position: absolute;
    top: 130px;
    color: black;
    width: 100%;
    text-align: center;
    z-index: 100;
    padding-top: 10px;
    background: #fe9a12; /* Old browsers */
    background: -moz-linear-gradient(left, #fe9a12 0%, #fdd123 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(left, #fe9a12 0%,#fdd123 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to right, #fe9a12 0%,#fdd123 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
}

.security-message.security-message-error {
    background: #FE725D;
}

.security-message-animate {
    -webkit-animation: fadeOut 2s forwards;
    animation: fadeOut 2s forwards;
    -webkit-animation-delay: 10s;
    animation-delay: 10s;
}

.security-message p {
    width: calc(100% - 30px);
}

.security-message i {
    width: 30px;
    padding-top: 3px;
    float: right;
}

@-webkit-keyframes fadeOut {
    0% {
        opacity: 1;
    }
    99% {
        opacity: 0;
        width: 100%;
        height: auto;
        overflow: visible;
    }
    100% {
        opacity: 0;
        width: 0;
        height: 0;
        overflow: hidden;
    }
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }
    99% {
        opacity: 0;
        width: 100%;
        height: auto;
        overflow: visible;
    }
    100% {
        opacity: 0;
        width: 0;
        height: 0;
        overflow: hidden;
    }
}