/**!
 * 达州市中介超市-中介机构
 * author: wangkai;
 * date:2019-2-28
 */

.ewb-box {
    min-height: 516px;
    padding-bottom: 42px;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
}


/* 机构选择 */

.ewb-agency-sel {
    padding: 25px 0 27px 0;
    text-align: center;
}

.ewb-agency-sel ul {
    font-size: 0;
    -webkit-text-size-adjust: none;
}

.ewb-agency-sel ul li {
    position: relative;
    display: inline-block;
    *display: inline;
    *zoom: 1;
    vertical-align: top;
    width: 198px;
    height: 46px;
    margin: 0 29px;
    border: 1px solid #207ee5;
    border-radius: 24px;
}

.ewb-agency-sel ul li a {
    display: block;
    line-height: 44px;
    font-size: 18px;
    color: #333333;
    margin: 0 29px;
}

.ewb-agency-sel ul li i {
    position: absolute;
    bottom: 5px;
    left: 50%;
    display: none;
    margin-left: -6px;
    width: 12px;
    height: 4px;
    background: url('../images/tab_icon.png') no-repeat;
}

.ewb-agency-sel ul li.current {
    background-color: #207ee5;
}

.ewb-agency-sel ul li.current a {
    color: #ffffff;
}

.ewb-agency-sel ul li.current i {
    display: block;
}


/* 筛选 */

.ewb-screen {
    position: relative;
    padding: 16px 15px 12px 0;
    background-color: #f6f6f6;
}

.ewb-screen-item {
    margin-top: 6px;
    height: 34px;
    line-height: 34px;
    vertical-align: top;
    overflow: hidden;
}

.ewb-screen-item:first-child {
    margin-top: 0;
}

.ewb-screen-type {
    float: left;
    width: 128px;
    text-align: right;
    color: #3a86e8;
}

.ewb-query {
    position: relative;
    z-index: 1;
    margin-left: 150px;
    padding: 0 41px 0 11px;
    height: 34px;
    background-color: #ffffff;
    box-shadow: 0px 0px 4px 0px rgba(6, 6, 6, 0.12);
}

.ewb-query .input-placeholder {
    position: absolute;
    top: 0;
    left: 11px;
    height: 34px;
    line-height: 34px;
    color: #aaa;
    z-index: -1;
    cursor: text;
}

.ewb-query-txt {
    width: 100%;
    height: 34px;
    line-height: 34px;
    border: 0;
    background: 0 0;
}

.ewb-query-btn {
    position: absolute;
    top: 0;
    right: 7px;
    width: 34px;
    height: 34px;
    background: url('../images/query_ico.png') center center no-repeat;
    cursor: pointer;
}

.ewb-sub-screen {
    padding-top: 6px;
}

.ewb-screen-ml {
    position: relative;
    margin-left: 150px;
    padding-right: 60px;
}

.ewb-screen-list ul {
    font-size: 0;
    -webkit-text-size-adjust: none;
}

.ewb-screen-list ul li {
    display: inline-block;
    *display: inline;
    *zoom: 1;
    vertical-align: top;
    padding: 6px 0;
    margin-right: 30px;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.ewb-screen-list ul li span {
    display: block;
    padding: 0 12px;
    height: 22px;
    line-height: 21px;
    font-size: 14px;
    color: #666666;
    cursor: pointer;
}

.ewb-screen-list ul li.cur span {
    color: #fff;
    background-color: #3a86e8;
}

.ewb-screen-more {
    position: absolute;
    right: 12px;
    top: 0;
    padding-right: 15px;
    color: #3a86e8;
    background: url('../images/arrow_ico1.png') right center no-repeat;
    cursor: pointer;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.ewb-screen-more.active {
    background-image: url('../images/arrow_ico1_cur.png');
}

.ewb-more-option {
    position: absolute;
    right: 0;
    bottom: -20px;
    padding: 0 10px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    background-color: #f6f6f6;
}

.ewb-more-option i {
    position: absolute;
    top: 0;
    left: -12px;
    display: block;
    width: 12px;
    height: 20px;
    background: url('../images/corner.png') no-repeat;
    cursor: pointer;
}

.ewb-more-option span {
    float: right;
    padding-right: 15px;
    font-size: 12px;
    color: #999;
    background: url('../images/arrow_ico2.png') right center no-repeat;
    cursor: pointer;
}

.ewb-more-option.active span {
    background-image: url('../images/arrow_ico2_cur.png');
}


/* 已选条件 */

.ewb-condition {
    position: relative;
    margin: 35px 0 15px 0;
    line-height: 32px;
    padding-right: 180px;
    padding-left: 20px;
}

.ewb-condition-tt {
    float: left;
    margin-right: 4px;
}

.ewb-condition-list {
    float: left;
    padding-right: 10px;
    max-width: 870px;
    font-size: 0;
    -webkit-text-size-adjust: none;
}

.ewb-empty-condition {
    display: none;
    float: left;
    color: #3a86e8;
    cursor: pointer;
}

.ewb-condition-list li {
    display: inline-block;
    *display: inline;
    *zoom: 1;
    vertical-align: top;
    padding: 5px 0;
    margin-right: 10px;
}

.ewb-condition-item {
    position: relative;
    display: block;
    padding: 0 31px 0 7px;
    height: 20px;
    border: 1px dashed #d3d3d3;
}

.ewb-condition-name {
    display: block;
    height: 20px;
    line-height: 19px;
    font-size: 14px;
    color: #666666;
}

.ewb-condition-close {
    position: absolute;
    top: 0;
    right: 3px;
    display: block;
    width: 20px;
    height: 20px;
    background: url('../images/close_ico.png') center center no-repeat;
    cursor: pointer;
    transition: all .4s ease;
}

.ewb-condition-close:hover {
    transform: rotate(90deg);
}

.ewb-sort {
    position: absolute;
    top: 5px;
    right: 20px;
    height: 22px;
    line-height: 22px;
}

.ewb-sort label {
    float: left;
    color: #999;
}

.ewb-sort-sel {
    float: left;
    padding-left: 5px;
    width: 100px;
    height: 22px;
    line-height: 22px;
    border: 1px solid #eeeeee;
    color: #666;
}

.ewb-sort .chosen-container {
    height: 22px;
    line-height: 22px;
}

.ewb-sort .chosen-container-single .chosen-single {
    text-align: left;
    padding: 0 0 0 7px;
    height: 22px;
    border: 1px solid #eeeeee;
}

.ewb-sort .chosen-container-single .chosen-single span {
    height: 20px;
    line-height: 20px;
}

.ewb-sort .chosen-container-single .chosen-single div b {
    height: 20px;
}

.ewb-sort .chosen-container-single .chosen-drop {
    top: 23px;
    bottom: auto;
    border: 1px solid #eee;
}

.ewb-sort .chosen-container .chosen-results li {
    padding: 0 7px;
    line-height: 20px;
}

.ewb-sort .chosen-container .chosen-results li.highlighted {
    color: #fff;
    background-color: #3a86e8;
}


/* 机构列表 */

.ewb-agency {
    padding-bottom: 10px;
}

.ewb-agency-node {
    padding: 17px 0 17px 29px;
    border: 1px solid #fff;
}

.ewb-agency-node:nth-child(odd) {
    border-color: #f6f6f6;
    background-color: #f6f6f6;
}

.ewb-agency-item {
    padding-right: 200px;
}

.ewb-agency-hd {
    height: 38px;
    line-height: 38px;
}

.ewb-agency-name {
    display: block;
    font-size: 18px;
    font-weight: bold;
    color: #207ee5;
}

.ewb-agency-info {
    float: left;
    width: 50%;
    line-height: 32px;
    vertical-align: top;
}

.ewb-info-type {
    float: left;
    color: #666;
}

.ewb-info-content {
    float: left;
    width: 60%;
}

.pager {
    margin-top: 30px;
}

@media(max-width:979px) {
    .ewb-box {
        min-height: auto;
        padding-bottom: 20px;
    }
}

@media(max-width:767px) {
    .ewb-agency-sel ul li {
        width: 120px;
        margin: 0 5px;
        height: 34px;
    }
    .ewb-agency-sel ul li a {
        font-size: 14px;
        line-height: 32px;
    }
    .ewb-screen {
        padding: 10px 5px 10px 0;
    }
    .ewb-screen-item {
        height: 64px;
    }
    .ewb-screen-type {
        float: none;
        width: 100%;
        text-align: left;
    }
    .ewb-query {
        margin-left: 0;
    }
    .ewb-screen-ml {
        margin-left: 0;
        padding-right: 45px;
    }
    .ewb-screen-more {
        right: 0;
    }
    .ewb-table-wrap {
        overflow-x: auto;
    }
    .ewb-info-table {
        width: 767px;
    }
    .ewb-more-option {
        padding: 0 5px;
    }
}

@media(max-width:979px) {
    .ewb-box {
        min-height: auto;
        padding-bottom: 20px;
    }
    .ewb-agency-item {
        padding-right: 10px;
    }
    .pager {
        margin-top: 12px;
    }
}

@media(max-width:767px) {
    .ewb-screen {
        padding: 10px 5px;
    }
    .ewb-screen-item {
        height: 64px;
    }
    .ewb-agency-sel ul li i {
        bottom: 3px;
    }
    .ewb-screen-type {
        float: none;
        width: 100%;
        text-align: left;
    }
    .ewb-query {
        margin-left: 0;
    }
    .ewb-screen-ml {
        margin-left: 0;
        padding-right: 45px;
    }
    .ewb-screen-more {
        right: 0;
    }
    .ewb-more-option {
        padding: 0 5px;
    }
    .ewb-condition {
        padding-right: 0;
    }
    .ewb-sort {
        position: static;
        float: left;
        width: 100%;
    }
    .ewb-agency-node {
        padding: 10px 0 10px 10px;
    }
    .ewb-agency-info {
        width: 100%;
    }
}