
.laneNode-dialog .modal-dialog .modal-body .bootstrap-dialog-message{
    height: 100%;
    overflow: auto;
}

.g1-refresh .modal-content {
    background: none;
    box-shadow: none;
}
.g1-refresh .modal-content .modal-header {
    display: none;
}
.g1-refresh .modal-content .progress-wrap {
    color: #f1f6fa;
    text-align: center;
    font-size: 60px;
}
.g1-refresh .modal-content .progress-wrap i {
    display: inline-block;
    width: 100px;
    height: 20px;
    background: url(../img/loading.gif) no-repeat center;
    background-size: 60px;
}


.g1-modal-md .modal-dialog {
    width: 355px;
}
.g1-modal-md .modal-content {
    border-radius: 4px;
    padding: 0 10px;
}
.g1-modal-md .modal-footer button {
    padding: 5px 15px;
}
.modal .modal-header,
.modal .modal-footer {
    border: none;
}

.modal-header{
    background: var(--gradientGray);
    box-shadow: inset 0 -1px 0 0 rgba(230, 230, 230, 0.004);
}

.modal.in .modal-dialog {
    transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease, height 0.3s ease;
    /* overflow: hidden; */
    /*position: absolute;*/
    /*top: 40%;*/
    /*left: 50%;*/
    width: 800px;
    transform: unset;
    /*-webkit-transform: translate(-50%,-50%);*/
    /*transform: translate(-50%, -50%);*/
    /*-ms-transform: translate(-50%, -50%);*/
    /* IE 9 */
    /*-moz-transform: translate(-50%, -50%);*/
    /* Firefox */
    /*-webkit-transform: translate(-50%, -50%);*/
    /* Safari 和 Chrome */
    /*-o-transform: translate(-50%, -50%);*/
}
@media (min-width: 768px){
    .modal-dialog {
        margin: 30px 0;
    }
}
.modal.in{
    justify-content:center;/*子元素水平居中*/
    align-items:center;/*子元素垂直居中*/
    display: flex!important;
    display: -webkit-flex!important;
    display: -moz-flex!important;
    display: -o-flex!important;
    display: -ms-flex!important;
}

.modal-open, .modal{
    padding-right: 0!important;
}

.model-tag-modal .modal-body {
    height: 300px;
    overflow: auto;
}
.model-tag-modal input[type=text]:disabled {
    border: none;
    background: white;
}
.model-tag-modal .tab-list {
    padding: 0 20px;
    margin-bottom: 15px;
}
.model-tag-modal .tab-list button {
    padding: 0 10px;
    line-height: 20px;
    margin: 5px;
}
.model-tag-modal .tab-list .tag-edit {
    padding: 0 5px;
    color: #60B9E0;
    background: none;
}
.model-tag-modal .tab-list .tag-edit:hover {
    color: #81cbeb;
}
.model-tag-modal .tab-list .tag-delete {
    padding: 0 5px;
    color: #EB3030;
    background: none;
}
.model-tag-modal .tab-list .tag-delete:hover {
    color: #e87676;
}
.model-tag-modal .tab-list .tag-save {
    display: none;
}
.model-tag-modal .tab-list .tag-save:hover {
    color: white;
    background: #81cbeb;
}

.modal.more-select-dialog .btn-toolbar {
    border: 1px solid var(--border1);
}
.modal.more-select-dialog .btn-toolbar .g1-form-top-bar-left {
    position: absolute;
    width: 100%;
    left: 0;
    bottom: 0;
    text-align: center;
}
.modal.more-select-dialog .btn-toolbar .g1-form-top-bar-right {
    float: none;
}
.modal.more-select-dialog .btn-toolbar .g1-form-top-bar-right .grid_search_box {
    float: left;
}
.modal.more-select-dialog .btn-toolbar .g1-grid-select {
    color: white;
    background: var(--styleColor);
    /* line-height: 20px;
    border: none; */
}
.modal.more-select-dialog .btn-toolbar .g1-grid-select:hover {
    background: var(--styleColorDark) !important;
    border: none !important;
}
.modal.more-select-dialog .g1-form-con {
    border: 1px solid var(--border1);
    border-top: none;
    /* bottom: 40px; */
}
.modal.more-select-dialog .g1-form-con .g1-field-4 {
    width: 33.3333%;
}

.modal.approve-event-modal .modal-title {
    font-size: 14px;
    font-weight: 600;
    color: #4D4D4D;
}
.modal.approve-event-modal .form-group {
    width: 100%;
    margin-bottom: 20px;
}
.modal.approve-event-modal .form-group label {
    line-height: 20px;
}
.modal.approve-event-modal .form-group .informEvent label {
    margin-right: 20px;
}
.modal.approve-event-modal .deploy-data-rule-item {
    height: 250px;
    margin: 0;
}
.modal.approve-event-modal .deploy-data-rule-item .tab-content {
    position: static;
    height: 100%;
    top: 0;
}
.modal.approve-event-modal .modal-footer button {
    margin-top: 0;
}

.g1-modal-footer button {
    line-height: 20px;
    padding: 0 10px;
    border-radius: 3px;
}
.g1-modal-footer .save {
    color: white;
    background: #60b9e0;
}
.g1-modal-footer .save:hover {
    background: #81cbeb;
}
.modal.event-user-dialog .modal-dialog {
    width: 300px;
}
.modal.event-user-dialog .g1-form {
    height: auto;
}
.modal.event-user-dialog .event-user-search {
    width: 200px;
}
.modal.event-user-dialog .event-user-tree {
    height: 200px;
    overflow: auto;
}


/* bootstrap dialog title background */
.bootstrap-dialog.type-info .modal-header {
    background-color: var(--back1);
}

.modal-dialog .close {
    font-size: 22px !important;
    color: var(--fore1);
    text-shadow: 0 1px 0 0 var(--fore1);
    opacity: 0.8;
}

.modal-dialog .close span {
    font-size: 22px !important;
}

.modal-body {
    padding-top: 0;
    /*overflow: auto;*/
}

.child-dialog .modal-dialog {
    width: 75%;
    min-width: 700px;
}

.bootstrap-dialog .modal-content {
    border: none;
}

.bootstrap-dialog .bootstrap-dialog-title {
    font-size: 18px;
    line-height: 22px;
    color: #4c4c4c;
}

.bootstrap-dialog.type-primary .modal-header {
    background-color: var(--back1);
}

.bootstrap-dialog.type-success .modal-header {
    background-color: var(--styleColor);
}

.bootstrap-dialog.type-warning .modal-header {
    background-color: var(--styleColor);
}

.bootstrap-dialog.type-danger .modal-header {
    background-color: var(--styleColor);
}


/* to fix bootstrips datepicker within dialog using chrome */
body.modal-open .datepicker {
    z-index: 1200 !important;
}

.g1-input-selector-dialog .modal-dialog {
    width: 860px;
    height: 500px;
}

.modal-backdrop.in {
    opacity: 0.2;
}


.detail-dialog .modal-dialog {
    width: 1060px;
}


.g1-input-map-dialog .modal-dialog {
    width: 800px;
}


.modal .add-form-detail {
    height: 100%;
    /*padding-bottom: 6rem;*/
}

.modal iframe {
    border: none;
}

.modal .g1-form {
    /* height: 400px; */
    height: 100%;
}

/*.modal .g1-form-con {*/
/*overflow: hidden;*/
/*}*/
.modal .g1-form-con:after{
    content: '';
    display: block;
    clear: both;
}

.modal .g1-form-con .datagrid-header-check {
    /* visibility: hidden; */
}

.modal .g1-detail-row .label-3 {
    width: 33.333%;
}

.modal .g1-detail-row .input-3 {
    width: 66.666%;
}


/*.modal-body .btn-toolbar {*/
/*    background: none;*/
/*}*/

.modal-content {
    border: none;
    /*padding-bottom:10px;*/
    background: var(--back1);
    /*overflow: hidden;*/
}

.modal-body .g1-is-user-column li {
    margin: 10px 10px;
}

.modal-body .g1-is-user-column li > span,
.modal-body .g1-is-user-column li .add-inviter {
    display: inline-block;
    padding: 5px 7px 5px 10px;
    /*color: white;*/
    color: #000;
    line-height: 15px;
    margin: 2px 5px 0 0;
    border-radius: 3px;
    background-image: -moz-linear-gradient(90deg, var(--styleColor) 0%, var(--styleColorLight) 100%);
    background-image: -webkit-linear-gradient(90deg, var(--styleColor) 0%, var(--styleColorLight)  100%);
    /*background-image: -ms-linear-gradient(90deg, var(--styleColor) 0%, var(--styleColorLight)  100%);*/
    cursor: pointer;
}
@media screen and (-webkit-min-device-pixel-ratio:0){
    .modal-body .g1-is-user-column li > span,
    .modal-body .g1-is-user-column li .add-inviter{
        color: white;
    }
}
.modal-body .g1-is-user-column li span > span,
.add-inviter .delete-user {
    display: inline-block;
    width: 15px;
    height: 15px;
    padding: 0;
    line-height: 14px;
    text-align: center;
    font-size: 14px;
    margin: 0 0 0 3px;
    /*color: white;*/
    color: #000;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
}
@media screen and (-webkit-min-device-pixel-ratio:0){
    .modal-body .g1-is-user-column li span > span,
    .add-inviter .delete-user{
        color: white;
        background: rgba(255, 255, 255, 0.4);
    }
}


.MessageInfoModal .message-modal-title {
    font-size: 18px;
    line-height: 22px;
    color: #4c4c4c;
}


.message-modal-date {
    color: #999999;
    margin-bottom: 15px;
}

.message-modal-content {
    color: var(--fore2);
    font-size: 14px;
}

.MessageInfoModal .modal-footer button {
    color: white;
    background: #60B9E0;
}

.modal-footer {
    text-align: center;
}

.btn-toolbar .bootstrap-dialog-header{
    position: absolute;
    right: 1rem;
    width: 4rem;
    padding: .5rem 0;
    display: block;
}

.modal-header.btn-toolbar{
    padding-right: 5rem;
    border-bottom: solid 1px var(--border1);
}