.modal {
    width: 100%;
    height: 100%;
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.2);
    -webkit-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    transition: all 0.3s ease;
    opacity: 0;
    filter: alpha(opacity=0);
}

.modal.active {
    opacity: 1;
    filter: alpha(opacity=100);
}

.modal.active > .modal-main {
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.modal.failed i.failed {
    display: block !important;
}

.modal.info i.info {
    display: block !important;
}

.modal.error i.error {
    display: block !important;
}

.modal.confirm i.confirm {
    display: block !important;
}

.modal.success i.success {
    display: block !important;
}

.modal.power i.power {
    display: block !important;
}

.modal > .modal-main {
    position: absolute;
    top: 40%;
    left: 50%;
    text-align: center;
    background: #fff;
    min-width: 200px;
    border-radius: 8px;
    box-sizing: border-box;
    -webkit-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    transition: all 0.3s ease;
    -webkit-transform: translate(-50%, -200%);
    -ms-transform: translate(-50%, -200%);
    -moz-transform: translate(-50%, -200%);
    transform: translate(-50%, -200%);
}

.modal > .modal-main > .title {
    width: 100%;
    height: 30px;
    line-height: 30px;
    color: #559bf8;
    font-size: 16px;
    letter-spacing: 1px;
    font-weight: normal;
    background: #eef5fe;
    border-radius: 8px 8px 0 0;
}

.modal > .modal-main > .icon {
    width: 100%;
    box-sizing: border-box;
    padding: 0 20px;
    text-align: center;
    line-height: 90px;
    display: block;
    height: 90px;
}

.modal > .modal-main > .icon > i {
    font-size: 50px;
    display: none;
    width: 100%;
}

.modal > .modal-main > .icon > i.failed {
    color: #3a9bff;
}

.modal > .modal-main > .icon > i.error {
/*color:#cf4646;*/
    color: #3a9bff;
}

.modal > .modal-main > .icon > i.info {
/*color:#04a5e6;*/
    color: #3a9bff;
}

.modal > .modal-main > .icon > i.confirm {
/*color:#f0ad4e;*/
    color: #3a9bff;
}

.modal > .modal-main > .icon > i.success {
/*color:#1fa67a;*/
    color: #3a9bff;
}

.modal > .modal-main > .icon > i.power {
    color: #3a9bff;
}

.modal > .modal-main > .message {
    white-space: nowrap;
    box-sizing: border-box;
    padding: 0 20px 20px;
    line-height: 24px;
    color: #666;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 1px;
}

.modal > .modal-main > .btn {
    width: 100%;
    text-align: center;
    padding: 10px 10px 20px 10px;
    box-sizing: border-box;
}

.modal > .modal-main > .btn > a {
    display: inline-block;
    padding: 0 30px;
    color: #fff;
    border-radius: 30px;
    line-height: 30px;
    height: 30px;
    margin: 0 4px;
    cursor: pointer;
    background: #559bf8;
    -webkit-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.modal > .modal-main > .btn > a:hover {
    background: #247ef6;
}

.modal > .modal-main > .btn > a.cancel {
    background: #999;
}

.modal > .modal-main > .btn > a.cancel:hover {
    background: #aaa;
}

.modal > .modal-main > .btn > a.danger {
    background: #d9534f;
}

.modal > .modal-main > .btn > a.danger:hover {
    background: #c9302c;
}

.modal > .modal-main > .btn > a.success {
    background: #1abc9c;
}

.modal > .modal-main > .btn > a.success:hover {
    background: #28e1bd;
}

.modal.active .modal-info-main {
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.modal .modal-info-main {
    position: absolute;
    -webkit-transform: translate(-50%, -100%);
    -ms-transform: translate(-50%, -100%);
    -moz-transform: translate(-50%, -100%);
    transform: translate(-50%, -100%);
    width: 360px;
    border-radius: 10px;
    background: #fff;
    -webkit-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    transition: all 0.3s ease;
    left: 50%;
    top: 40%;
    overflow: hidden;
    box-sizing: border-box;
    padding: 10px 0 20px 0;
}

.modal .modal-info-main > h4 {
    line-height: 28px;
    color: #666;
    font-size: 16px;
    font-weight: normal;
    text-align: center;
    letter-spacing: 1px;
}

.modal .modal-info-main > h4 > span > i {
    font-size: 20px;
    position: relative;
    top: 2px;
    left: -3px;
}

.modal .modal-info-main .error-info {
    line-height: 24px;
    position: relative;
    color: #f2555b;
    text-align: center;
    display: block;
    width: 100%;
    letter-spacing: 1px;
}

.modal .modal-info-main .edit-form {
    width: 100%;
    margin-top: 5px;
}

.modal .modal-info-main .edf-line {
    height: 32px;
    line-height: 32px;
    margin-bottom: 15px;
}

.modal .modal-info-main .edf-line.edf-var > input {
    width: 130px;
}

.modal .modal-info-main .edf-line.edf-var > img {
    width: 90px;
    height: 32px;
    float: left;
    margin-left: 5px;
    cursor: pointer;
    border-radius: 5px;
}

.modal .modal-info-main .edf-line.edf-var > a {
    width: 90px;
    height: 32px;
    float: left;
    margin-left: 5px;
    cursor: pointer;
    border-radius: 5px;
    background: #9e5dda;
    color: #fff;
    line-height: 32px;
    letter-spacing: 1px;
    text-align: center;
    -webkit-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.modal .modal-info-main .edf-line.edf-var > a.active {
    cursor: default;
    border: 1px solid #00c3ff;
    background: #fff;
    color: #ccc;
    font-size: 12px;
    letter-spacing: 0;
}

.modal .modal-info-main .edf-line > label {
    width: 100px;
    height: 32px;
    float: left;
    padding-right: 10px;
    box-sizing: border-box;
    text-align: right;
    font-size: 14px;
    color: #666;
}

.modal .modal-info-main .edf-line > input {
    height: 32px;
    line-height: 32px;
    float: left;
    border: 0;
    background: #f6f6f6;
    width: 225px;
    box-sizing: border-box;
    padding: 0 10px 0 15px;
    color: #666;
    outline: none;
    border-radius: 4px;
}

.modal .modal-info-main .edf-line > input:focus {
    box-shadow: inset 0 0 4px #ccc;
}

.modal .modal-info-main .edf-line > input::-webkit-input-placeholder {
    color: #d1d1d1;
}

.modal .modal-info-main .edf-line > input:-moz-placeholder {
    color: #d1d1d1;
}

.modal .modal-info-main .edf-line > input::-moz-placeholder {
    color: #d1d1d1;
}

.modal .modal-info-main .edf-line > input:-ms-input-placeholder {
    color: #d1d1d1;
}

.modal .modal-info-main .edf-btn-group {
    width: 100%;
    height: 35px;
    margin-top: 25px;
    line-height: 35px;
}

.modal .modal-info-main .edf-btn-group > .edf-btn {
    display: inline-block;
    width: 100px;
    height: 35px;
    background: #9e5dda;
    color: #fff;
    margin: 0 4px;
    border-radius: 5px;
    -webkit-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    transition: all 0.3s ease;
    letter-spacing: 2px;
    cursor: pointer;
}

.modal .modal-info-main .edf-btn-group > .edf-btn:hover {
    background: #8f45d4;
}

.modal .modal-info-main .edf-btn-group > .edf-btn.cancel {
    background: #d0d0d0;
}

.modal .modal-info-main .edf-btn-group > .edf-btn.cancel:hover {
    background: #c2c2c2;
}

/**/
.certifi {
    text-align: center;
}
.close_certifacate{
    float: right;
    margin-right: 10px;
    margin-top: 5px;
    cursor: pointer;
}
.certifi_img{
    margin: 20px;
}
.modal-info-main.certifi h4{
    margin: 10px auto;
    font-size: 18px;
    color: #000;
}
.modal-info-main.certifi p {
    color: #999999;
    font-size: 14px;
    margin: 15px 0;
}
.modal-info-main.certifi .go{
    width: 120px;
    height: 40px;
    border-radius: 4px;
    display: block;
    margin: 20px auto 0 auto;
    line-height: 40px;
    color: #FFFFFF;
    font-size: 16px;
    cursor: pointer;
    background: #9e5dda;
}
