﻿.ckbox, .rdio {
    position: relative;
    display: block;
    padding-right: 12px;
    line-height: initial;
    float: left;
}

    .ckbox input[type="checkbox"], .rdio input[type="radio"] {
        opacity: 0;
        margin: 3px 0 0;
    }

    .ckbox label, .rdio label {
        padding-left: 10px;
        cursor: pointer;
        -moz-user-select: none;
        -webkit-user-select: none;
        -ms-user-select: none;
        -khtml-user-select: none;
        user-select: none;
    }

        .ckbox label:before {
            width: 18px;
            height: 18px;
            position: absolute;
            top: 1px;
            left: 0;
            content: '';
            display: inline-block;
            border: 1px solid #ccc;
            background: #fff;
        }

    .ckbox input[type="checkbox"]:disabled + label {
        color: #999;
    }

        .ckbox input[type="checkbox"]:disabled + label:before {
            background-color: #eee;
        }

    .ckbox input[type="checkbox"]:checked + label::after {
        font-family: 'FontAwesome';
        content: "\F00C";
        position: absolute;
        top: 4.5px;
        left: 3.5px;
        display: inline-block;
        font-size: 11px;
        width: 16px;
        height: 16px;
        color: #fff;
    }

    .ckbox input[type="checkbox"]:checked + label:before {
        border-color: #337ab7;
        background-color: #337ab7;
    }

    .rdio label:before {
        width: 18px;
        height: 18px;
        position: absolute;
        top: 1px;
        left: 0;
        content: '';
        display: inline-block;
        -moz-border-radius: 50px;
        -webkit-border-radius: 50px;
        border-radius: 50px;
        border: 1px solid #ccc;
        background: #fff;
    }

    .rdio input[type="radio"]:disabled + label {
        color: #999;
    }

        .rdio input[type="radio"]:disabled + label:before {
            background-color: #eee;
        }

    .rdio input[type="radio"]:checked + label::after {
        content: '';
        position: absolute;
        top: 5px;
        left: 4px;
        display: inline-block;
        font-size: 11px;
        width: 10px;
        height: 10px;
        background-color: #444;
        -moz-border-radius: 50px;
        -webkit-border-radius: 50px;
        border-radius: 50px;
    }

    .rdio input[type="radio"]:checked + label:before {
        border-color: #337ab7;
    }

    .rdio input[type="radio"]:checked + label::after {
        background-color: #337ab7;
    }

.topPanel {
    height: 50px;
    line-height: 50px;
    background: #fff;
    border: 1px solid #ddd;
    margin: 0px;
    border-bottom: none;
    position: relative;
}

    .topPanel .search {
        float: left;
        padding-left: 10px;
    }

        .topPanel .search table td {
            height: 50px;
            line-height: 50px;
        }

            .topPanel .search table td .btn-group {
                line-height: 30px;
                margin-top: 1px;
            }

        .topPanel .search .input-group {
            line-height: 30px;
            margin-top: 1px;
        }

            .topPanel .search .input-group .btn {
                padding: 0px 0px;
                font-size: 14px;
                height: 29px;
                min-width: 30px;
            }

                .topPanel .search .input-group .btn i {
                    margin-right: 0px;
                }

            .topPanel .search .input-group .form-control {
                box-shadow: none;
                height: 29px;
                line-height: 29px;
                padding-top: 0px;
                padding-bottom: 0px;
                padding-right: 0px;
                padding-left: 7px;
                resize: none;
            }

                .topPanel .search .input-group .form-control:focus {
                    border-color: #ddd;
                    -webkit-box-shadow: none;
                    box-shadow: none;
                }

        .topPanel .search .btn i {
            margin-right: 4px;
            font-size: 14px;
        }

    .topPanel .toolbar {
        float: right;
        padding-right: 10px;
    }

        .topPanel .toolbar .btn i {
            margin-right: 5px;
            font-size: 13px;
        }

        .topPanel .toolbar .operate {
            line-height: 50px;
            height: 50px;
            width: 100%;
            background: #fff;
            position: absolute;
            top: 0px;
            left: -100.1%;
            z-index: 999;
        }

            .topPanel .toolbar .operate ul {
                margin: 9px 0 0 -2px;
            }

                .topPanel .toolbar .operate ul li {
                    float: left;
                    height: 12px;
                    line-height: 12px;
                }

                    .topPanel .toolbar .operate ul li.split {
                        position: relative;
                        display: block;
                        border-right: 1px solid #c9c9c9;
                        height: 16px;
                        margin-left: 5px;
                        margin-right: 5px;
                        margin-top: 8px;
                    }

                    .topPanel .toolbar .operate ul li a {
                        cursor: pointer;
                        padding: 10px 10px;
                    }

                    .topPanel .toolbar .operate ul li i {
                        margin-right: 4px;
                        font-size: 13px;
                        color: #666666;
                        vertical-align: middle;
                        margin-top: -1px;
                    }

                .topPanel .toolbar .operate ul .first {
                    position: relative;
                    display: block;
                    padding: 2px 15px;
                    padding-right: 10px;
                    margin-top: 8px;
                    margin-right: 0px;
                    border-right: 1px solid #c9c9c9;
                }

                .topPanel .toolbar .operate ul li.first > span {
                    margin-left: 5px;
                    margin-right: 5px;
                }

            .topPanel .toolbar .operate .close {
                position: absolute;
                top: 18px;
                right: 12px;
                display: block;
                height: 12px;
                width: 12px;
                background: url(../img/button_pm_close.png) left center no-repeat;
            }

            .topPanel .toolbar .operate .dropdown-menu {
                top: 24px;
            }

                .topPanel .toolbar .operate .dropdown-menu li {
                    float: none;
                    height: auto;
                }

                    .topPanel .toolbar .operate .dropdown-menu li a {
                        padding: 5px 20px;
                    }

.form {
    width: 100%;
    margin: 0px;
    padding: 0px;
    border-collapse: collapse;
    border-width: 3px 1px 1px;
    table-layout: fixed
}

    .form .formTitle {
        position: relative;
        left: 0px;
        text-align: right;
        white-space: nowrap;
        font-weight: normal;
        width: 110px;
        padding-right: 15px;
    }

        .form .formTitle font {
            color: red;
            position: absolute;
            right: 0px;
        }

    .form .formValue {
        position: relative;
        padding: 5px;
        width: auto;
    }

        .form .formValue input.form-control {
            height: 30px;
            line-height: 30px;
            padding-top: 0px;
            padding-bottom: 0px;
            padding-right: 0px;
            padding-left: 5px;
            resize: none;
            border-radius: 0px;
            box-shadow: none;
        }

        .form .formValue select.form-control {
            border-radius: 0px;
            box-shadow: none;
        }

        .form .formValue textarea.form-control {
            padding-left: 5px;
            resize: none;
            border-radius: 0px;
            box-shadow: none;
        }

        .form .formValue .input-group .btn {
            padding: 4px 0px;
            font-size: 14px;
            height: 30px;
            min-width: 30px;
            border-radius: 0px;
        }

            .form .formValue .input-group .btn .fa-ellipsis-h {
                margin-top: 4.5px;
            }

        .form .formValue.has-error .form-control.error {
            border-color: #e7bebe;
            background-color: #fffafa;
        }

        .form .formValue.has-error .form-control-feedback.error {
            color: #e46f61;
            top: 5.5px;
            right: 4px;
            font-size: 16px;
            cursor: pointer;
            z-index: 99;
        }

        .form .formValue.has-error .form-control.success {
            border-color: #b0dd9c;
            background-color: #f3f7f1;
        }

        .form .formValue.has-error .form-control-feedback.success {
            color: #8cc474;
            top: 5px;
            right: 4px;
            font-size: 16px;
        }

        .form .formValue.has-error .select2-selection--single {
            border-color: #e7bebe;
            background-color: #fffafa;
        }

        .form .formValue.has-error .tooltip-arrow {
            border-left-color: #d73d32;
        }

        .form .formValue.has-error .tooltip-inner {
            background-color: #d73d32;
        }

.form-button {
    padding: 0px;
    height: 38px;
    line-height: 36px;
    text-align: right;
    border-top: 1px solid #ddd;
    background-color: #eee;
    position: absolute;
    top: 100%;
    margin-top: -40px;
    width: 100%;
    padding-right: 6px;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    -khtml-user-select: none;
    user-select: none;
    /*margin-left: -10px;*/
}

.ui-layout .topPanel {
    border: none;
}

.ui-layout .ui-jqgrid {
    border-left: none;
    border-right: none;
    border-bottom: none;
}

.mail-box {
    border: 1px solid #ddd;
}

.mail-header {
    background-color: #fff;
    border-bottom: 1px solid #ddd;
    font-size: 20px;
    height: 60px;
    line-height: 60px;
    padding-left: 30px;
    padding-right: 30px;
}

.mail-body {
    padding: 20px;
}

.price-box {
    width: 860px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid #ddd;
    box-shadow: rgb(189, 189, 189) 0px 0px 10px;
    background: #fff;
    padding: 50px;
    padding-top: 20px;
    margin-top: 25px;
    padding-bottom: 0px;
}

.price-title {
    font-size: 30px;
    text-align: center;
    line-height: 60px;
    font-weight: bold;
}

.price-subtitle {
    text-align: center;
}

.price-info {
    margin-top: 20px;
    margin-bottom: 20px;
}

    .price-info table .formTitle {
        text-align: left;
        width: 50px;
        font-size: 12px;
    }

    .price-info table .formValue {
        text-align: left;
        font-size: 12px;
    }

        .price-info table .formValue input {
            border-top: none;
            border-right: none;
            border-left: none;
            height: 22px !important;
            line-height: 22px !important;
            font-size: 12px;
        }

.price-table table {
    margin: 0px;
    margin-top: 1px;
    border-collapse: collapse;
    width: 100%;
    border-left: 1px solid #ccc;
}

    .price-table table thead tr td {
        border-top: 1px solid #ccc;
        border-bottom: 1px solid #ccc;
        border-right: 1px solid #ccc;
        padding-top: 5px;
        padding-bottom: 5px;
        text-overflow: ellipsis;
        word-break: keep-all;
        overflow: hidden;
        font-weight: bold;
        padding-left: 5px;
        padding-right: 5px;
        font-size: 12px;
    }

    .price-table table tbody tr td {
        border-bottom: 1px solid #ccc;
        border-right: 1px solid #ccc;
        height: 25px;
        line-height: 25px;
        word-break: break-all;
        padding-left: 5px;
        padding-right: 5px;
        font-size: 12px;
    }

.wrapper {
    border: 1px solid #ddd;
    overflow: auto;
    color: #475059;
    background-color: #fff;
}

    .wrapper .nav-tabs {
        position: relative;
        z-index: 1;
        margin: 0;
        padding: 15px 15px 0;
        border-color: #ddd
    }

        .wrapper .nav-tabs > li {
            margin: 0 4px 0 0;
        }

            .wrapper .nav-tabs > li > a {
                line-height: 30px;
                padding: 0 13px;
                background-color: #fff;
                border: none;
                cursor: pointer;
                color: #666;
            }

                .wrapper .nav-tabs > li > a:hover {
                    border: none;
                    border-bottom: 2px solid #66b1ff;
                    background-color: #fff;
                    color: #333
                }

            .wrapper .nav-tabs > li.active a {
                line-height: 30px;
                background-color: #fff;
                border: none;
                border-bottom: 2px solid #66b1ff;
                color: #666;
            }

                .wrapper .nav-tabs > li.active a:hover, .aw-nav-tabs > li.active a:focus, .aw-nav-tabs > li > a:focus {
                    border: none;
                    border-bottom: 2px solid #66b1ff;
                    background-color: #fff
                }

    .wrapper .pop-list {
        width: 100%;
        margin: 0;
        float: left;
        height: auto;
        list-style: none;
        padding: 0px;
    }

        .wrapper .pop-list li {
            position: relative;
            float: left;
            clear: left;
            width: 100%;
            height: auto;
            margin-bottom: 10px;
            line-height: 20px;
            list-style: none;
        }

            .wrapper .pop-list li span {
                float: left;
                max-width: 200px;
                margin-right: 10px;
            }

            .wrapper .pop-list li.line {
                padding-bottom: 8px;
                border-bottom: 1px solid #e6e6e6;
            }

                .wrapper .pop-list li.line h5 {
                    color: #525252;
                }

            .wrapper .pop-list li h5 {
                font-size: 12px;
                font-weight: bold;
                line-height: 24px;
            }

        .wrapper .pop-list label {
            line-height: 30px;
            display: block;
            float: left;
            min-width: 100px;
            height: 30px;
            padding: 5px 0;
            padding-right: 15px;
        }

        .wrapper .pop-list li .form-control {
            float: left;
            width: 300px;
            margin-right: 5px;
            line-height: 30px;
            height: 30px;
            padding: 0px;
            padding-left: 5px;
            margin-top: 3px;
            border-radius: 3px;
            box-shadow: none;
            resize: none;
        }

.form .formTitle .ico-help {
    display: initial;
    color: #3c8dbc;
    font-size: 1.17em;
    padding-left: 6px;
}

.ui-jqgrid table {
    width: 99.9%;
}

.inline-auto-height {
    height: auto;
    overflow-x: auto;
    display: inline;
}

.gridPanel {
    width: 100%;
    overflow-x: auto;
}

.form input.readonly {
    background-color: #ccc;
}

.titlerequired::after {
    content: " *"; /* 添加 * 字符 */
    color: red; /* 设置颜色为红色 */
}

.textarea-custom {
    line-height: 1.5;
    padding: 8px 12px; /* 上下左右的内边距 */
    background-color: #f5f5f5; /* 一个浅灰色背景 */
    border: 1px solid #ccc; /* 一个灰色细边框 */
    cursor: text; /* 文本输入光标 */
}

.ellipsis-2lines {
    display: -webkit-box;
    display: -ms-flexbox;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ellipsis-3lines {
    display: -webkit-box;
    display: -ms-flexbox;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 为所有类型的禁用元素应用相同的样式 */
/**:disabled {
    background-color: lightgray !important;    
    cursor: not-allowed;
}*/

.input-error {
    border: 1px solid red !important;
    background-color: #ffdddd !important;
}

/* Simple 弹窗样式 */

/* 弹跳抖动 + 边框变色动画 */
@keyframes duang {
    0% {
        transform: scale(1);
        border-color: #ccc;
    }

    20% {
        transform: scale(1.1);
        border-color: #1abc9c;
    }

    40% {
        transform: scale(0.9);
        border-color: #f66;
    }

    60% {
        transform: scale(1.05);
        border-color: #1abc9c;
    }

    80% {
        transform: scale(1);
        border-color: #ccc;
    }

    100% {
        transform: scale(1);
        border-color: #ccc;
    }
}


.simplepopup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    border-radius: 5px;
    background-color: #fff;
    color: #333;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    z-index: 99999;
    display: none;
    opacity: 0;
    transition: all 1s ease-in-out;
    border: 2px solid #ccc; /* 默认边框颜色 */
}

    /* 只负责定位和淡入（无动画） */
    .simplepopup.show {
        top: 83px !important;
        right: 20px !important;
        left: auto !important;
        transform: none !important;
        opacity: 1 !important;
        transition: all 0.8s ease-in-out;
    }

    /* duang 抖动动画（第二段触发） */
    .simplepopup.duang {
        animation: duang 0.8s ease-out;
    }


    /* 图标容器样式 */
    .simplepopup .icon-container {
        position: absolute;
        top: 15px;
        left: 20px;
        width: 28px;
        height: 28px;
        background-color: #90ee90; /* 绿色背景 */
        border-radius: 50%; /* 圆形 */
        display: flex;
        justify-content: center;
        align-items: center;
    }

    /* 关闭按钮样式 */
    .simplepopup .close-btn {
        position: absolute;
        top: 10px;
        right: 10px;
        width: 20px;
        height: 20px;
        background-color: #aaa;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        cursor: pointer;
    }

    /* 消息内容样式 */
    .simplepopup .message-content {
        margin-left: 40px; /* 留出图标空间 */
        margin-top: 10px; /* 留出关闭按钮空间 */
        white-space: pre-wrap; /* 允许内容自动换行 */
    }

    /* 图标字体样式 */
    .simplepopup .icon {
        font-size: 13px;
        color: white;
    }

    .simplepopup .message-content span a {
        color: #1abc9c;
        margin: 0 5px;
    }

/* query.panel.css */
.query-panel {
    background: #f8f9fa;
    padding: 2px;
    border-radius: 4px;
    margin-bottom: 0px;
}

.date-range-group {
    display: flex;
    gap: 1px;
}

.date-range-select {
    flex-shrink: 0;
}

.input-wdatepicker {
    background-color: #fff;
    cursor: pointer;
}