﻿
/*下拉菜单*/
.single-select {
    flex: 1;
    min-width: 120px;
    width: 100%;
    height: 30px;
    cursor: pointer;
}

.single-select.min {
    min-width: 60px;
}

.single-select.in {
    min-width: 220px;
}

.single-select.max {
    min-width: 320px;
}

.single-select .boxwrap {
    position: relative;
}

.single-select .select-tit {
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0 20px 0 10px;
    line-height: 30px;
    height: 30px;
    border: solid 1px #CCCCCC;
    border-radius: 5px;
    text-decoration: none;
}

.single-select .select-tit span {
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.single-select .select-tit i {
    position: absolute;
    right: 0;
    top: 0;
    display: block;
    width: 20px;
    height: 100%;
    background: url(/admin/images/operation/icon_xia.png) no-repeat center;
}

.single-select .select-items {
    display: none;
    position: absolute;
    width: 100%;
    left: 0;
    top: 41px;
    overflow: hidden;
}

.single-select .arrow {
    display: none;
    position: absolute;
    left: 15px;
    top: 33px;
    width: 18px;
    height: 10px;
    background: #ffffff url(/admin/images/operation/icon_select.png) no-repeat center;
}

.single-select .select-items ul {
    position: relative;
    width: 100%;
    max-height: 300px;
    padding: 5px;
    border: 1px solid #cccccc;
    background: #fff;
    overflow-y: auto;
    overflow-x: hidden;
}

.single-select .select-items ul li {
    display: block;
    padding: 4px;
    line-height: 15px;
    color: #666;
    cursor: pointer;
}

.single-select .select-items ul li:hover {
    color: #fff;
    text-decoration: none;
    background: #16a0d3;
}

.single-select .select-items ul li.selected {
    color: #fff;
    background: #16a0d3;
}

.single-select.up .select-items {
    top: auto;
    bottom: 45px;
}

.right_mian .j_content .operation_ul li .single-select {
    height: 30px;
}

.right_mian .j_content .operation_ul li .single-select .select-tit span {
    width: 90px;
}

.right_mian .j_content .operation_ul li .single-select .select-tit {
    padding: 0 5px;
    line-height: 30px;
    height: 30px;
    background-color: #ffffff;
    border: 1px solid #4F7E8E;
}

.right_mian .j_content .operation_ul li .single-select .select-items ul li {
    margin-right: 0;
}

.right_mian .j_content .operation_ul li .single-select .select-tit i {
    width: 10px;
    right: 4px;
}

.right_mian .j_content .operation_ul li .single-select .arrow {
    top: 33px;
}

.right_mian .j_content .operation_ul li .single-select .select-items {
    top: 41px;
}

/*多项单选*/
.multi-radio {
}

.multi-radio .boxwrap {
    display: flex;
    height: 30px;
    line-height: 30px;
}

.multi-radio a {
    margin-right: -1px;
    min-width: 40px;
    text-align: center;
    padding: 0 5px;
    border: 1px solid #CCCCCC;
    color: #333333;
    cursor: pointer;
}

.multi-radio a:first-child {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.multi-radio a:last-child {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

.multi-radio a:hover {
    background: #C9E1EF;
    text-decoration: none;
}

.multi-radio a:active {
    text-decoration: none;
}

.multi-radio a.selected {
    background: #16a0d3;
    border-color: #1096c7;
    color: #fff;
}
/*单项选择*/
.single-checkbox {
    display: inline-block;
    vertical-align: middle;
    cursor: pointer;
    *display: inline;
}

.single-checkbox a, .single-checkbox a:visited {
    display: inline-block;
    border: 1px solid #d4d4d4;
    background: #d4d4d4;
    width: 80px;
    vertical-align: middle;
    text-decoration: none;
}

.single-checkbox a i {
    display: block;
    width: 50%;
    height: 28px;
    line-height: 28px;
    font-style: normal;
    background: #fff;
    color: #333;
    text-align: center;
}

.single-checkbox a i.on {
    float: right;
    display: none;
}

.single-checkbox a i.off {
    float: left;
    display: block;
}

.single-checkbox a.selected {
    border: 1px solid #16a0d3;
    background: #16a0d3;
}

.single-checkbox a.selected i.on {
    display: block;
}

.single-checkbox a.selected i.off {
    display: none;
}
/*多项选择*/
.multi-checkbox {
    display: inline-block;
    vertical-align: middle;
}

.multi-checkbox:after {
    clear: both;
    content: ".";
    display: block;
    height: 0;
    visibility: hidden;
}

.multi-checkbox .boxwrap {
    display: inline-block;
    vertical-align: middle;
}

.multi-checkbox a {
    display: inline-block;
    float: left;
    margin-right: -1px;
    padding: 5px 15px;
    height: 20px;
    line-height: 20px;
    border: 1px solid #eee;
    vertical-align: middle;
    color: #333;
    font-size: 100%;
    cursor: pointer;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.multi-checkbox a:hover {
    background: #C9E1EF;
    text-decoration: none;
}

.multi-checkbox a:active {
    text-decoration: none;
}

.multi-checkbox a.selected {
    background: #16a0d3;
    border-color: #1096c7;
    color: #fff;
}

.multi-checkbox a:last-child { /*border-right:1px solid #d4d4d4;*/
}
/*多项选择PORP*/
.multi-porp {
}

.multi-porp ul li {
    float: left;
    position: relative;
    margin: 0 8px 8px 0;
    padding: 1px;
    line-height: 20px;
    vertical-align: middle;
}

.multi-porp ul li a {
    display: block;
    padding: 4px 10px;
    color: #666;
    min-width: 10px;
    width: auto !important;
    text-align: center;
    text-decoration: none;
    border: 1px solid #eee;
    cursor: pointer;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.multi-porp ul li i {
    display: none;
    position: absolute;
    right: 0;
    bottom: 0;
    width: 12px;
    height: 12px;
    text-indent: -99em;
    background: url(skin_icons.png) -169px -85px no-repeat;
    overflow: hidden;
}

.multi-porp ul li.sys {
    background: #FFFFD0;
}

.multi-porp ul li.selected a {
    margin: -1px;
    color: #333;
    border: 2px solid #1e99c7;
}

.multi-porp ul li.selected i {
    display: block;
    background-position: -84px -196px;
}

@media screen and (max-width: 1500px) {

    .single-select {
        min-width: 100px;
        height: 30px;
    }

    .single-select .select-tit {
        line-height: 30px;
        height: 30px;
    }

    .single-select .select-items {
        top: 41px;
    }

    .single-select .arrow {
        width: 16px;
        top: 34px;
    }

    .right_mian .j_content .operation_ul li .single-select {
        height: 25px;
    }

    .right_mian .j_content .operation_ul li .single-select .select-tit {
        line-height: 24px;
        height: 25px;
    }

    .right_mian .j_content .operation_ul li .single-select .select-items {
        top: 35px;
    }

    .right_mian .j_content .operation_ul li .single-select .arrow {
        top: 28px;
    }

    .single-select .select-items ul li {
        padding: 4px;
        line-height: 15px;
    }

    .multi-radio .boxwrap {
        height: 30px;
        line-height: 30px;
    }
}
