.ui-alert,
.ui-modal {
    position: fixed;
    z-index: 1050;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5);
    line-height: 20px;
    opacity: 1;
}

    .ui-alert .box,
    .ui-modal .box {
        /*position: absolute;
        left: 35%;
        top: 35%;*/
        margin: 10% auto;
        width: 600px;
        /*transform: translate(-50%, -50%);*/
        background: #FFF;
        border: 1px solid #AAA;
        /*box-shadow: 3px 3px 3px #DCDCDC;*/
    }

.error {
    color: #e11940 !important;
}

.displayNone {
    display: none;
}

.displayBlock {
    display: block;
}



.ui-alert .close,
.ui-modal .close {
    position: absolute;
    right: 10px;
    top: 10px;
    width: 20px;
    height: 20px;
    text-align: center;
    line-height: 20px;
    cursor: pointer;
    color: #999;
    font-size: 20px;
    text-shadow: 0 1px 0 #fff;
}

    .ui-alert .close:hover,
    .ui-modal .close:hover {
        color: #666;
    }

.ui-alert .hd,
.ui-modal .hd {
    /*height: 45px;*/
    padding: 0 15px;
    color: black;
    line-height: 44px;
    border-bottom: 1px solid #F3F3F3;
    font-size: 18px;
    font-family: 'Source Sans Pro',sans-serif;
}

.ui-alert .bd,
.ui-modal .bd {
    padding: 20px;
    min-height: 70px;
    max-height: 150px;
    overflow-y: auto;
    font-size: 14px;
    font-family: 'Source Sans Pro','Helvetica Neue',Helvetica,Arial,sans-serif;
    font-weight: 400;
}

.ui-alert .ft,
.ui-modal .ft {
    padding: 19px 20px 20px;
    text-align: right;
    border-top: 1px solid #e5e5e5;
}

    .ui-alert .ft:empty,
    .ui-modal .ft:empty {
        display: none;
    }

    .ui-alert .ft span,
    .ui-modal .ft span {
        cursor: pointer;
        display: inline-block;
        line-height: 30px;
        margin-left: 10px;
        padding: 0 10px;
        border: 1px solid #ccc;
        background-color: #fafafc;
    }

        .ui-alert .ft span:last-child,
        .ui-modal .ft span:last-child {
            color: #fff;
            border: 1px solid #d73925;
            background-color: #dd4b39;
            border-radius: 3px;
        }

            .ui-alert .ft span:last-child:hover,
            .ui-modal .ft span:last-child:hover {
                border: 1px solid #d73925;
                background-color: #dd4b39;
                border-radius: 3px;
            }

        .ui-alert .ft span:first-child,
        .ui-modal .ft span:first-child {
            margin-left: 0;
            color: #fff;
            border: 1px solid #367fa9;
            background-color: #3c8dbc;
            border-radius: 3px;
        }

            .ui-alert .ft span:first-child:hover,
            .ui-modal .ft span:first-child:hover {
                border: 1px solid #367fa9;
                background-color: #3c8dbc;
                border-radius: 3px;
            }

.ui-alert .box {
    width: 400px;
}

.ui-alert .bd {
    min-height: 40px;
}

.ui-alert .ft {
    padding: 10px 20px;
}






@-webkit-keyframes toastLoading {
    0% {
        -webkit-transform: rotate3d(0, 0, 1, 0deg);
    }

    100% {
        -webkit-transform: rotate3d(0, 0, 1, 360deg);
    }
}

@keyframes toastLoading {
    0% {
        -webkit-transform: rotate3d(0, 0, 1, 0deg);
    }

    100% {
        -webkit-transform: rotate3d(0, 0, 1, 360deg);
    }
}

@media screen and (min-width: 320px) and (max-width: 599px) {


    .ui-alert .box,
    .ui-modal .box {
        /*position: absolute;
        left: 35%;
        top: 35%;*/
        margin: 30% auto;
        width: 100% !important;
        /*transform: translate(-50%, -50%);*/
        background: #FFF;
        border: 1px solid #AAA;
        /*box-shadow: 3px 3px 3px #DCDCDC;*/
    }
}
