
/*遮罩*/

.messagebox-shade {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #f2f5f7;
    z-index: 500;
    opacity: 0.6;
    -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=60);
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=60);
}


/**/


.messagebox {
    width: 500px;
    height: 300px;
    position: absolute;
    z-index: 1000;
    /*居中显示*/
    margin: 0 auto;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    /*border: 1px solid #aed0ea;*/
    border-radius: 2px;
}

.messagebox-content {
    width: auto;
    height: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    flex-direction: column;
    -ms-flex-direction: column;
    box-sizing: border-box;
}

.messagebox-header {
    width: 100%;
    height: 40px;
    background: #deedf7;
}
.messagebox-header:hover{
    cursor: move;
}

.messagebox-body {
    height: auto;
    width: 100%;
    flex: 1;
    padding: 0 4px;
    box-sizing: border-box;
    background: #fff;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
}

.messagebox-footer {
    width: 100%;
    height: 50px;
    background-color: #ffffff;
}


.messagebox-header-tools {
    width: 60px;
    height: 30px;
/*//position: absolute;*/
/*//top: 0;*/
/*//right: 0;*/
    float: right;
}

.messagebox-header-tools-close {
    width: 20px;
    height: 20px;
/*//position: absolute;*/
/*//top: 5px;*/
/*//right: 12px;*/
    color: #C7C7C7;
    float: right;
    margin-right: 5px;
}

.messagebox-header-tools-close:hover {
    cursor: pointer;
}

.messagebox-messagebox-header-tools-windowmaxorrestore{
    width: 20px;
    height: 20px;
/*//position:absolute;*/
/*//top:3px;*/
/*//right:32px;*/
    color: #C7C7C7;
    float: right;
/*//margin-right: 5px;*/
}
.messagebox-messagebox-header-tools-windowmaxorrestore i{
    font-size: 12px;
}

.messagebox-messagebox-header-tools-windowmaxorrestore:hover{
    cursor: pointer;
}

.messagebox-header-title {
    float: left;
    font-size: 14px;
    font-weight: bold;
    padding-left: 10px;
    line-height: 30px;
}


/*alert*/


.messagebox-alert{
    width: 100%;
    height: 100%;
    /*display: table-cell;*/
    vertical-align:middle;
    text-align: center;
    font-size: 14px;
    box-sizing: border-box;
}

.messagebox-alert-body{
    font-size: 12px;
    padding: 10px;
}

.nodeui-alert-body-icon{
    width: 40px;
    float: left;
    font-size: 35px;
    color: #c1bd19c4;
}
.messagebox-alert-body-text{
    overflow: hidden;
    font-family: Tahoma, Verdana, 宋体;
    color: #362b36;
    padding: 8px;
    padding-right: 40px;
    padding-left: 0px;
    text-align: center;
    white-space: nowrap;
    height: 100%;
}


.messagebox-alert-footer{
}

.messagebox-alert-footer-button{
    min-width: 58px;
    /*border-color: #aed0ea;*/
    background: #d7ebf9;
    color: #2779aa;
    padding: 2px 10px;
    border: 1px solid #A9ACB5;
    text-decoration: none;
    text-align: center;
}
.messagebox-alert-footer-button:hover{
    background: #d7e4f996;
    cursor: pointer;
}


/* messagebox弹框主题样式 */
.wtspe-messsagebox-button{
    min-width: 70px;
    border-radius: 5px;

    color:#FFFFFF !important;
    border:1px solid #FFFFFF !important;
}
.wtspe-messsagebox-button-1{
    color:#818181 !important;
    background-color: #FFFFFF !important;
    border-color:#F0F0F0 !important;
}


.wtspe-messsagebox-button-2{

}

.wtspe-messsagebox-button-3{

}

.wtspe-messsagebox-button-4{

}

.wtspe-messsagebox-button-5{

}


/* confirm */


.messagebox-confirm{
    width: 100%;
    height: 100%;
    display: inline-block;
    vertical-align:middle;
    text-align: center;
    font-size: 14px;
    box-sizing: border-box;
}

.messagebox-confirm-body{
    font-size: 12px;
    padding: 10px;
}

.messagebox-confirm-body-icon{
    font-size: 45px;
    color: #6F6F6F;
    margin: 0 auto;
}
.messagebox-confirm-body-text{
    overflow: hidden;
    font-family: Tahoma, Verdana, 宋体;
    color: #6f6f6f;
    padding: 8px;
    text-align: center;
    white-space: nowrap;
    height: auto;
    box-sizing: border-box;
    margin: 0 auto;
}


.messagebox-confirm-footer{
    padding-top: 8px;
}

.messagebox-confirm-footer-button{
    min-width: 58px;
    /*border-color: #aed0ea;*/
    background: #d7ebf9;
    color: #2779aa;
    padding: 2px 10px;
    border: 1px solid #A9ACB5;
    text-decoration: none;
    text-align: center;
    margin-left: 20px;
}
.messagebox-confirm-footer-button:first-of-type{
    margin-left: 0;
}
.messagebox-confirm-footer-button:hover{
    background: #d7e4f996;
    cursor: pointer;
}


/***************open********************/
.messagebox-open-iframe{
    width: 100%;
    height: 100%;
    border: 0;
}

/* ui */


.messagebox-ui{
    display: inline-block;
    max-width: 200px;
    width: 120px;
    color: #fff;
    text-align: center;
    padding: 4px;

    /* 定位 */
    position: absolute;
    z-index: 510;
    top: 0;
    left: 0;
    right: 0;
    margin: auto;
    font-size: 12px;
    border-radius: 3px;
    background-color: #fff;
    -webkit-box-shadow: #F0F0F0 0px 0px 10px;
    -moz-box-shadow: #F0F0F0 0px 0px 10px;
    box-shadow: #F0F0F0 0px 0px 10px;
}

.messagebox-ui-tips{
    top: 120px !important;
    margin: 0 auto !important;
    word-wrap: break-word;
    word-break: break-all;
    white-space: pre-wrap !important;
    color:#6F6F6F;
}

.messagebox-ui-tips i {
    margin-right: 4px;
}

.messagebox-ui-shadein{
    opacity: 1;
    -webkit-animation:shadein 0.4s ease-in;
    -moz-animation:shadein 0.4s ease-in;
    -ms-animation:shadein 0.4s ease-in;
    transition-delay: 0s;
}

.messagebox-ui-shadeout{
    opacity:0;
    -webkit-animation:shadeout 0.4s ease-out;
    -moz-animation:shadeout 0.4s ease-out;
    -ms-animation:shadeout 0.4s ease-out;
    transition:height 1ms;
    transition-delay: 0.4s;
}

@-webkit-keyframes shadein
{
    0% {opacity:0;}
    100% {opacity:1;}
}
@-webkit-keyframes shadeout
{
    0% {opacity:1;}
    100% {opacity:0;}
}

@-moz-keyframes shadein
{
    0% {opacity:0;}
    100% {opacity:1;}
}
@-moz-keyframes shadeout
{
    0% {opacity:1;}
    100% {opacity:0;}
}

@-ms-keyframes shadein
{
    0% {opacity:0;}
    100% {opacity:1;}
}
@-ms-keyframes shadeout
{
    0% {opacity:1;}
    100% {opacity:0;}
}


.messagebox-ui-success i{
    color:#52C41A;
}


.messagebox-ui-warning i{
    color:#f8ac59;
}


.messagebox-ui-error i{
    color:#ed5565;
}

.messagebox-ui-loading{
    color:#3c3c3c;
    font-size: 12px;
//border: 2px solid red;
    min-width: 80px!important;
    width: 80px !important;
}

.wtspeicon-loading:before {
    content: "\E7B4";
    -webkit-animation:messagebox-ui-loading .8s linear infinite;
    -o-animation:messagebox-ui-loading .8s linear infinite;
    -ms-animation:messagebox-ui-loading .8s linear infinite;
    -moz-animation:messagebox-ui-loading .8s linear infinite;
    animation:messagebox-ui-loading .8s linear infinite;
    display: inline-block;
/*//color:$color-theme;*/
}

@-webkit-keyframes messagebox-ui-loading{

    0%{-webkit-transform:rotate(0deg);}

    25%{-webkit-transform:rotate(90deg);}

    50%{-webkit-transform:rotate(180deg);}

    75%{-webkit-transform:rotate(270deg);}

    100%{-webkit-transform:rotate(360deg);}

}
@-ms-keyframes messagebox-ui-loading{

    0%{-webkit-transform:rotate(0deg);}

    25%{-webkit-transform:rotate(90deg);}

    50%{-webkit-transform:rotate(180deg);}

    75%{-webkit-transform:rotate(270deg);}

    100%{-webkit-transform:rotate(360deg);}

}

@-moz-keyframes messagebox-ui-loading{

    0%{-webkit-transform:rotate(0deg);}

    25%{-webkit-transform:rotate(90deg);}

    50%{-webkit-transform:rotate(180deg);}

    75%{-webkit-transform:rotate(270deg);}

    100%{-webkit-transform:rotate(360deg);}

}

@-o-keyframes messagebox-ui-loading{

    0%{-webkit-transform:rotate(0deg);}

    25%{-webkit-transform:rotate(90deg);}

    50%{-webkit-transform:rotate(180deg);}

    75%{-webkit-transform:rotate(270deg);}

    100%{-webkit-transform:rotate(360deg);}

}
@keyframes messagebox-ui-loading{

    0%{-webkit-transform:rotate(0deg);}

    25%{-webkit-transform:rotate(90deg);}

    50%{-webkit-transform:rotate(180deg);}

    75%{-webkit-transform:rotate(270deg);}

    100%{-webkit-transform:rotate(360deg);}

}



/* dialog */

.messagebox-dialog{
    width: 100%;
    height: 100%;
    border:1px solid #EAEAEA;
    background-color: #ffffff;
    position: relative;
}

.messagebox-dialog-close{
    width: 20px;
    height: 20px;
    position: absolute;
    right: 5px;
    top: 5px;
    cursor: pointer;
    color: #9c9c9c;
}

