/**!
 * 法人库查询
 * date:2018-07-08
 * author: xiaolong;
 */

* {
    box-sizing: border-box;
}

.trans {
    -webkit-transition: all .4s cubic-bezier(.175, .885, .32, 1);
    transition: all .4s cubic-bezier(.175, .885, .32, 1);
}

::-webkit-input-placeholder {
    color: #9dc9e2;
}

:-moz-placeholder {
    color: #9dc9e2;
}

::-moz-placeholder {
    color: #9dc9e2;
}

:-ms-input-placeholder {
    color: #9dc9e2;
}

.placeholder {
    color: #9dc9e2;
}

html {
    height: 100%;
    overflow: hidden;
}

body {
    height: 100%;
    overflow: auto;
}

.library {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.library-search {
    position: absolute;
    z-index: 4;
    width: 62%;
    max-width: 400px;
    height: 62%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.library-item {
    position: absolute;
    width: 90px;
    height: 90px;
    z-index: 3;
    background-color: #66bff2;
    background-color: rgba(102, 191, 242, .9);
    border-radius: 50%;
    color: #feffff;
    -webkit-transition: all .4s cubic-bezier(.175, .885, .32, 1);
    transition: all .4s cubic-bezier(.175, .885, .32, 1);
}

.library-item.active {
    background-color: #fff;
    border-color: #fff;
    cursor: pointer;
}

.library-item.active:hover {
    background-color: #ffc259;
    border-color: #ffc259;
    color: #fff;
}

.library-item.active .text {
    color: #666;
}

.library-item.active:hover .text {
    color: #fff;
}

.library-item img {
    display: block;
    margin: 13px auto 2px;
}

.library-item .text {
    display: block;
    text-align: center;
    line-height: 16px;
    margin: 0 10px;
}

.library {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, 0);
}

.library-item.item01 {
    top: 1.18%;
    left: -13%;
}

.library-item.item02 {
    top: 15.2%;
    left: -30%;
}

.library-item.item03 {
    top: 20%;
    left: -1.4%;
}

.library-item.item04 {
    bottom: 34.6%;
    left: -15.2%;
}

.library-item.item05 {
    bottom: 20.5%;
    left: -34.1%;
}

.library-item.item06 {
    bottom: 20.32%;
    left: auto;
    right: -3.2%;
}

.library-item.item07 {
    top: 7.77%;
    right: 15.9%;
}

.library-item.item08 {
    top: 2%;
    right: -16%;
}

.library-item.item09 {
    top: 32.33%;
    right: -1.0%;
}

.library-item.item10 {
    top: 34.5%;
    right: -32%;
}

.library-item.item11 {
    /*bottom: 24%;*/
    bottom: 31%;
    right: -17.6%;
}

.library-item.item12 {
    bottom: 21.9%;
    right: -41.7%;
}

.library-item.item13 {
    top: 6.36%;
    left: 20.8%;
}

.library-item .img {
    display: block;
    width: 36px;
    height: 36px;
    margin: 13px auto 2px;
}

.library-item.item01 .img {
    background-image: url("../images/icon-legal01.png");
}

.library-item.item02 .img {
    background-image: url("../images/icon-legal02.png");
}

.library-item.item03 .img {
    background-image: url("../images/icon-legal03.png");
}

.library-item.item04 .img {
    background-image: url("../images/icon-legal04.png");
}

.library-item.item05 .img {
    background-image: url("../images/icon-legal05.png");
}

.library-item.item06 .img {
    background-image: url("../images/icon-legal06.png");
}

.library-item.item07 .img {
    background-image: url("../images/icon-legal07.png");
}

.library-item.item08 .img {
    background-image: url("../images/icon-legal08.png");
}

.library-item.item09 .img {
    background-image: url("../images/icon-legal09.png");
}

.library-item.item10 .img {
    background-image: url("../images/icon-legal10.png");
}

.library-item.item11 .img {
    background-image: url("../images/icon-legal11.png");
}

.library-item.item12 .img {
    background-image: url("../images/icon-legal12.png");
}

.library-item.item13 .img {
    background-image: url("../images/icon-legal13.png");
}

.library-item.item01.active .img {
    background-image: url("../images/icon-legal01-act.png");
}

.library-item.item02.active .img {
    background-image: url("../images/icon-legal02-act.png");
}

.library-item.item03.active .img {
    background-image: url("../images/icon-legal03-act.png");
}

.library-item.item04.active .img {
    background-image: url("../images/icon-legal04-act.png");
}

.library-item.item05.active .img {
    background-image: url("../images/icon-legal05-act.png");
}

.library-item.item06.active .img {
    background-image: url("../images/icon-legal06-act.png");
}

.library-item.item07.active .img {
    background-image: url("../images/icon-legal07-act.png");
}

.library-item.item08.active .img {
    background-image: url("../images/icon-legal08-act.png");
}

.library-item.item09.active .img {
    background-image: url("../images/icon-legal09-act.png");
}

.library-item.item10.active .img {
    background-image: url("../images/icon-legal10-act.png");
}

.library-item.item11.active .img {
    background-image: url("../images/icon-legal11-act.png");
}

.library-item.item12.active .img {
    background-image: url("../images/icon-legal12-act.png");
}

.library-item.item13.active .img {
    background-image: url("../images/icon-legal13-act.png");
}

.library-item.item01.active:hover .img {
    background-image: url("../images/icon-legal01-hov.png");
}

.library-item.item02.active:hover .img {
    background-image: url("../images/icon-legal02-hov.png");
}

.library-item.item03.active:hover .img {
    background-image: url("../images/icon-legal03-hov.png");
}

.library-item.item04.active:hover .img {
    background-image: url("../images/icon-legal04-hov.png");
}

.library-item.item05.active:hover .img {
    background-image: url("../images/icon-legal05-hov.png");
}

.library-item.item06.active:hover .img {
    background-image: url("../images/icon-legal06-hov.png");
}

.library-item.item07.active:hover .img {
    background-image: url("../images/icon-legal07-hov.png");
}

.library-item.item08.active:hover .img {
    background-image: url("../images/icon-legal08-hov.png");
}

.library-item.item09.active:hover .img {
    background-image: url("../images/icon-legal09-hov.png");
}

.library-item.item10.active:hover .img {
    background-image: url("../images/icon-legal10-hov.png");
}

.library-item.item11.active:hover .img {
    background-image: url("../images/icon-legal11-hov.png");
}

.library-item.item12.active:hover .img {
    background-image: url("../images/icon-legal12-hov.png");
}

.library-item.item13.active:hover .img {
    background-image: url("../images/icon-legal13-hov.png");
}


/*法人库导航链接*/

.top-nav {
    position: absolute;
    bottom: -76px;
    left: 0;
    width: 100%;
    padding: 20px 5px;
    background-color: rgb(138, 212, 255);
    background-color: rgba(138, 212, 255, .65);
}

.top-nav .item {
    float: left;
    width: 12.5%;
    height: 36px;
    padding: 0 8px;
}

.top-nav .item a {
    display: block;
    height: 36px;
    line-height: 34px;
    border: 1px solid transparent;
    background-color: #fff;
    background-repeat: no-repeat;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    color: #349edb;
    border-radius: 18px;
}

.top-nav .item .all {
    background-image: url("../images/icon-all.png");
    background-position: 92% 5px;
}

.top-nav .item .agent {
    background-image: url("../images/icon-agent.png");
    background-position: 92% 5px;
}

.top-nav .item .chart {
    background-image: url("../images/icon-chart.png");
    background-position: 92% 5px;
}

.top-nav .item .similar {
    background-image: url("../images/icon-similar.png");
    background-position: 92% 5px;
}

.top-nav .item .map {
    background-image: url("../images/icon-map.png");
    background-position: 92% 5px;
}

.top-nav .item .invest {
    background-image: url("../images/icon-invest.png");
    background-position: 92% 5px;
}

.top-nav .item .relation {
    background-image: url("../images/icon-relation.png");
    background-position: 92% 5px;
}

.top-nav .item .index {
    background-image: url("../images/icon-index.png");
    background-position: 92% 5px;
}

.top-nav .item a:hover {
    background-color: #51b8f3;
    border-color: #fff;
    color: #fff;
}

.top-nav .item .all:hover {
    background-image: url("../images/icon-all-hov.png");
}

.top-nav .item .agent:hover {
    background-image: url("../images/icon-agent-hov.png");
}

.top-nav .item .chart:hover {
    background-image: url("../images/icon-chart-hov.png");
}

.top-nav .item .similar:hover {
    background-image: url("../images/icon-similar-hov.png");
}

.top-nav .item .map:hover {
    background-image: url("../images/icon-map-hov.png");
}

.top-nav .item .invest:hover {
    background-image: url("../images/icon-invest-hov.png");
}

.top-nav .item .relation:hover {
    background-image: url("../images/icon-relation-hov.png");
}

.top-nav .item .index:hover {
    background-image: url("../images/icon-index-hov.png");
}


/* 搜索区域 */

.library-search-inner {
    position: absolute;
    height: 310px;
    width: 100%;
    left: 0;
    top: 50%;
    margin-top: -165px;
}

.company-protrait {
    width: 172px;
    height: 172px;
    position: relative;
    margin: 0 auto;
    background-color: #d2edfd;
    border-radius: 50%;
}

.error .user-protrait:before {
    position: absolute;
    content: "";
    top: 55px;
    right: 20px;
    width: 22px;
    height: 22px;
    background: url("../images/icon-error.png") no-repeat;
}

.company-protrait.shadow {
    box-shadow: 0 0 6px rgba(255, 255, 255, .8);
}

.company-protrait img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.company-name {
    /* height: 44px; */
    height: 47px;
    margin: 0 -20px;
    visibility: hidden;
    font-size: 24px;
    line-height: 20px;
    padding-top: 18px;
    margin-top: 10px;
    text-align: center;
    color: #ffde6d;
    border-bottom: 1px solid #60b9f3;
}

.company-name.show {
    visibility: visible;
    margin-bottom: 20px;
}

.library-search-block {
    width: 96%;
    height: 38px;
    margin: 0 auto;
    position: relative;
}

.library-search-block input {
    width: 100%;
    height: 38px;
    border: 0;
    margin-top: -1px;
    border-radius: 19px;
    padding-right: 30px;
    background-color: #fff;
    text-indent: 20px;
    line-height: 36px;
    font-size: 14px;
    outline: 0;
    /*color: #666;*/
    border: 1px solid transparent;
}

.btn-search {
    position: absolute;
    display: none;
    top: 0;
    right: 18px;
    width: 20px;
    height: 36px;
    cursor: pointer;
    background: url("../images/icon-search.png") center center transparent no-repeat;
}

.library-error {
    width: 120px;
    height: 20px;
    display: none;
    margin: 12px auto 0;
    background-color: #f67f74;
    line-height: 20px;
    font-size: 12px;
    color: #fff;
    border-radius: 10px;
    text-align: center;
}

.error .library-error {
    display: block;
}

.search-type {
    width: 108%;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.search-type-item {
    float: left;
    width: 23.33%;
    height: 32px;
    line-height: 16px;
    color: #fff;
    cursor: pointer;
    text-align: center;
}

.search-type-item.active {
    font-weight: bold;
    background: url("../images/active.png") center bottom no-repeat;
}

.error .library-search-block input {
    border: 1px solid #fc604f;
}

.error .search-type-item.active {
    background-image: url("../images/active-cur.png");
}

.container {
    min-width: 1260px;
    /*max-width: 1600px;*/
    margin: 0 auto;
}

.top {
    position: relative;
    height: 560px;
    overflow: hidden;
    background: url("../images/legal-bg.jpg") center center no-repeat;
    background-size: 100% 100%;
}

.library {
    width: 50% !important;
    height: 566px;
}



/* 详细分类 */

.category {
    position: relative;
    z-index: 6;
    height: 50px;
    border: 1px solid #51b8f3;
    margin: 0 0;
    background-color: #51b8f3;
}

.category-title {
    float: left;
    margin-left: 16px;
    width: 136px;
    line-height: 26px;
    padding-top: 11px;
}

.category-title>.name {
    font-size: 16px;
    display: inline-block;
    line-height: 26px;
    vertical-align: top;
    color: #ffecac;
    font-weight: bold;
    cursor: pointer;
}

.category-title>.icon {
    display: inline-block;
    vertical-align: top;
    /*margin-top: 10px;
    margin-left: 6px;*/
    width: 18px;
    height: 25px;
    cursor: pointer;
    background: url("../images/arrow-down2.png") center 10px no-repeat;
}

.category-drop {
    position: absolute;
    display: none;
    top: 48px;
    left: -1px;
    width: 110px;
    min-height: 32px;
    border: 1px solid #cce4f5;
    background-color: #fff;
}

.category-drop.show {
    display: block;
}

.drop-item .item {
    padding-left: 15px;
    line-height: 32px;
    font-size: 15px;
    color: #666;
    cursor: pointer;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.drop-item .item.active {
    color: #438eb9;
    background-color: #e8f7ff;
}

.category-content {
    position: absolute;
    top: 0;
    left: 152px;
    right: 0;
    height: 49px;
}

.category-scroll {
    position: absolute;
    left: 0;
    right: 56px;
    height: 49px;
    overflow: hidden;
}

.category-action {
    position: absolute;
    top: 16px;
    right: 10px;
}

.btn-left,
.btn-right {
    float: left;
    width: 15px;
    height: 17px;
    margin-left: 4px;
    background-color: #8ec9ea;
    cursor: pointer;
    background-repeat: no-repeat;
}

.btn-left {
    background-image: url("../images/arrow-left.png");
    background-position: 4px center;
}

.btn-right {
    background-image: url("../images/arrow-right.png");
    background-position: 6px center;
}

.btn-left.disable,
.btn-right.disable {
    background-color: #b3dbf1;
    cursor: not-allowed;
}

.category-inner .item {
    float: left;
    padding-top: 2px;
    height: 49px;
    line-height: 44px;
    margin-right: 50px;
    font-size: 15px;
    color: #fff;
    cursor: pointer;
}

.category-inner .item.active {
    color: #ffecac;
    border-bottom: 2px solid #ffecac;
}

.category-sub {
    padding-top: 14px;
    max-height: 42px;
    overflow: hidden;
    padding-bottom: 11px;
    background-color: #e8f7ff;
    border-bottom: 1px solid #cce4f5;
}

.category-sub-items .item {
    float: left;
    height: 16px;
    padding: 0 8px;
    line-height: 16px;
    font-size: 14px;
    color: #666;
    margin-bottom: 11px;
    border-right: 1px solid #cce4f5;
}

.category-sub-items .item:last-child {
    border-right: 0;
}

.category-sub-items .item span {
    padding: 0 15px;
    cursor: pointer;
}

.category-sub-items .item.active span {
    color: #138cd1;
}



/* 详细信息 */

.detail {
    margin: 12px 15px 0;
    position: relative;
    z-index: 5;
    border: 1px solid #cce4f5;
    min-height: 520px;
    background-color: #fff;
}