@charset "utf-8";

/* 发布信息 */

.container .classify a {
    display: inline-block;
    padding: 7px 10px;
}


/* 侧边栏目筛选 */

#sidebar .nav li {
    float: left;
    width: 50%;
}

#sidebar .nav li a {
    display: block;
    padding: 0 10px;
}


/*信息列表*/

.list-1 .row.title {
    height: 40px;
    line-height: 40px;
    border-bottom: 1px solid #eee;
}

.list-1 .title span {
    font-size: 14px;
    font-weight: bold;
}

.list-1 .item {
    line-height: 40px;
}


/*信息图文列表*/

.item {
    min-height: 90px;
    overflow: hidden;
}

.item .thumb {
    display: inline-block;
    position: relative;
}
.item .thumb img {
    display: inline-block;
}

.item .thumb .top:before {
    /*做一个书签效果*/
    position: absolute;
    top: 0px;
    left: 6px;
    z-index: 1;
    height: 0;
    padding-top: 6px;
    font-weight: bold;
    line-height: 0;
    color: #000;
    border: 8px solid #fd2b50;
    border-bottom-color: transparent;
    content: '';
}

.item .thumb .top:after {
    /*书签的文字*/
    content: '顶';
    position: absolute;
    top: 1px;
    left: 8px;
    line-height: 1;
    z-index: 2;
    font-size: 12px;
    color: #fff;
}


.list-1 .item .thumb {
    position: relative;
    margin: 15px 15px 0 0;
}

.list-1 .item .thumb img {
    width: 80px;
    height: 60px;
}

.item .iconfont {
    vertical-align: middle;
}

.item h2 a {
    font-size: 16px;
}

.list-1 .item h4 a.overflow {
    margin-top: 12px;
    line-height: 26px;
}

.list-2 .item .thumb img {
    width: 120px;
    height: 90px;
}
.list-2 .item .middle {
    padding-left: 20px;
}

.list-2 .item .middle .overflow {
    max-width: 330px;
}

.item strong.price {
    color: #ff6600;
    font-size: 16px;
}

/* 详情 */

#index_view .panel-heading h3 .text-danger {
    display: inline-block;
    cursor: pointer;
    font-size: 32px;
    animation: swing 2s .15s linear infinite;
}

@keyframes swing {
    10% {
        transform: rotate(30deg);
    }
    20% {
        transform: rotate(-20deg);
    }
    30% {
        transform: rotate(5deg);
    }
    40% {
        transform: rotate(-5deg);
    }
    50%,
    100% {
        transform: rotate(0deg);
    }
}

#index_view .panel-heading .action {
    position: relative;
}

#index_view .panel-heading .action .qrcode {
    position: relative;
}

#index_view .panel-heading .action .qrcode:hover .qrcode-wrap {
    display: block;
}

#index_view .panel-heading .action .fa {
    font-size: 24px;
}

#index_view .panel-heading .action li {
    float: left;
    color: #777;
    cursor: pointer;
}

#index_view .panel-heading .action li+li {
    margin-left: 20px;
}

#index_view .preview img {
    display: inline-block;
    width: 100%;
}


/* 图片轮播 */

.img-wrap {
    position: relative;
}

#small-img {
    width: 300px;
    height: 75px;
    margin-top: 10px;
    overflow: hidden;
}

#small-img .swiper-slide img {
    height: 100%;
    border: 1px solid #fff;
    object-fit: fill;
}

#small-img .swiper-slide img.active {
    border: 1px solid #ff6600;
}

.img-wrap .button-prev,
.img-wrap .button-next {
    position: absolute;
    top: 0px;
    width: 26px;
    height: 100%;
    font-size: 20px;
    color: #fff;
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.56);
}

.img-wrap .button-prev::before,
.img-wrap .button-next::before {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.img-wrap .button-prev {
    left: 0px;
}

.img-wrap .button-next {
    right: 0px;
}

#index_view .fields {
    position: relative;
    font-size: 16px;
}

#index_view .fields dl {
    height: 32px;
    line-height: 32px;
    width: 100%;
}
#index_view .fields dl dt {
    margin-right: 10px;
    min-width: 80px;
    color: #333;
    font-weight: normal;
}
#index_view .fields dl dt,
#index_view .fields dl dd {
    float: left;
}

#index_view .fields dl.field_jiage {
    position: absolute;
    right: 0px;
    top: 0px;
    width: auto;
    font-size: 38px;
    color: #ff6600;
    font-weight: bold;
}
#index_view .fields dl.field_jiage dt {
    display: none;
}
#index_view .field_jiage small,
#index_view .detail p {
    font-size: 14px;
}

#index_view .detail {
    position: relative;
}

#index_view .invalid {
    position: absolute;
    top: 20px;
    left: 330px;
    width: 300px;
    z-index: 10;
}

#index_view .invalid img {
    transform: rotate(-24deg);
}

#index_view .linkman {
    font-size: 18px;
    line-height: 34px;
}

#index_view .linkman .fa {
    font-size: 40px;
    position: relative;
    top: 5px;
}

#index_view .linkman .btn {
    padding: 6px 18px;
}

#index_view .alert-warning {
    color: #ff6600;
}

#index_view .others .panel-heading h4 a {
    color: #222;
}

#index_view .others .media {
    float: left;
    margin-top: 0px;
    margin-bottom: 20px;
    padding-right: 15px;
}

#index_view .others .media-body {
    position: relative;
}

#index_view .others .media-body h5 {
    font-size: 14px;
    color: #222;
}

#index_view .others .media .bottom {
    position: absolute;
    width: 100%;
    bottom: 5px;
}

#index_view .others .media.col-2 {
    width: 50%;
}


/* 二维码 */

.view .panel-heading .action .qrcode:hover .qrcode-wrap {
    display: block;
}

.qrcode-wrap {
    display: none;
    position: absolute;
    margin-left: -40px;
    padding: 10px 10px 2px;
    background: #fff;
    border: 1px solid #eee;
    z-index: 2;
}

.qrcode-wrap .fa {
    position: absolute;
    background: #fff;
    font-size: 22px;
    left: 50%;
    margin-left: -8px;
    padding: 2px 5px;
    top: -14px;
}

.qrcode-wrap img {
    display: inline-block;
    width: 100px;
    height: 100px;
}

.qrcode-wrap p.text-muted {
    font-size: 12px;
}


/*发布信息*/

.choose_category {
    font-size: 16px;
}

.choose_category dd a {
    display: inline-block;
    margin-right: 20px;
    margin-bottom: 8px;
}

.alert {
    line-height: 28px;
}


/* 点击图片后全屏显示图片 */

.fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    display: none;
    z-index: 999999;
    background-color: #000;
}

.fullscreen .swiper-container {
    height: 100%;
}

.fullscreen .swiper-zoom-container img {
    max-height: 100vh;
    max-width: 100vw;
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.fullscreen .fullscreen-close {
    position: absolute;
    right: 10px;
    color: #fff;
    top: 20px;
    z-index: 10;
    font-size: 36px;
    text-decoration: none;
    width: 48px;
    height: 48px;
    line-height: 44px;
    text-align: center;
}