/**
 * ESUI (Enterprise Simple UI)
 * Copyright 2013 Baidu Inc. All rights reserved.
 *
 * @file 地域选择样式
 * @author hao_ru
 */
.ui-region {
    text-align: left;
    margin: 0;
    padding: 0;
    width: 610px;
    font-size: 12px;
    color: #000;
    line-height: 13px;
    border: 1px solid #DDDDDD;
    border-bottom: none;
    .user-select();

    input {
        float: left;
        margin: 0px;
        padding: 0px;
        width: 13px;
        height: 13px;
    }

    label {
        cursor: default;
        padding-left: 4px;
        display: inline;
    }

    .ui-region-country-box {
        overflow: hidden;
        zoom: 1;
        border-bottom: 1px solid #DDD;
    }

    .ui-region-country-check {
        width: 600px;
        height: 14px;
        padding: 8px 0 8px 10px;
        background-color: #F6F6F6;
        border-top: none;
    }

    .ui-region-region-box0 {
        width: 610px;
        border-top:solid 1px #E6EEF6;
        background: #F9FCFE;
        clear: both;
        .clear-float();
    }

    .ui-region-region-box1 {
        width: 610px;
        clear: both;
        background: none repeat scroll 0 0 #FFFFFF;
        border-top: 1px solid #F1F1F1;
        .clear-float();
    }

    .ui-region-region-check {
        width: 90px;
        padding: 6px 0 6px 10px;
        float: left;

    }

    .ui-region-province-box {
        width: 510px;
        float: left;
    }
    .ui-region-province-item {
        width: 100px;
        float: left;

        .ui-region-locator {
            float: right;
            width: 35px;
            height: 14px;
        }

        .ui-region-city-box {
            border: solid 1px #97A5B2;
            position: absolute;
            padding: 5px 0 0 0;
            margin: -1px;
            background-color: #FFF;
            z-index: 998;
            _height: 26px;

            .ui-region-city {
                height:18px;
                float: left;
                padding: 3px 8px;
            }
        }

        .ui-region-city-box-over {
            border: solid 1px #97A5B2;
            border-right: none;
            background-color: #FFF;
            margin: -1px 0;
            z-index: 999;
        }

        b {
            width: 33px;
            color: #FFF;
            display: block;
            text-align: center;
            font-weight: normal;
            font-family: Arial, Helvetica, sans-serif;
            background: #3F8FE1;
            margin-top: 8px;
            -moz-border-radius: 3px;
            -webkit-border-radius: 3px;
            border-radius: 3px;
        }

        .ui-region-text {
            position: relative;
            zoom: 1;
            width: 58px;
            height: 14px;
            padding: 8px 0 8px 4px;
            float: right;
        }

        .ui-region-text-over {
            border: solid 1px #97A5B2;
            border-right:none;
            background-color:#FFF;
            margin:-1px 0;
            z-index: 998;
            height: 13px;
        }
    }
}

.ui-region-single {
    margin:0;
    padding:0;
    width: auto;
    font-size:12px;
    border: none;
}

.ui-region-disabled,
.ui-region-read-only {
    color: #999;
    border-color: #D8D8D8;
}

/** 验证 */
.ui-region-validity-invalid {
    border: 1px solid red;
}
.ui-region-validity-label {
    display:block;
    margin-top: 5px;
}
.ui-region-validity-label-invalid {
    .background(url(https://cdn.bdstatic.com/san-xui/0.0.0/esui/esui-icon-alert.png), no-repeat, 15px, center, #FEDBDC);
    border: 1px solid #F0CCCC;
    color: #dd6767;
    padding-left: 50px;
}
