/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
#1  Global Elements
#2  cases

----------------------------------------------------------------*/


/*--------------------------------------------------------------
#1  Global Elements
--------------------------------------------------------------*/
.pageTop_img {
    background-image: url('../img/case/case_bg.png');
    background-size: cover;
}

/*--------------------------------------------------------------
  #2 case list
  --------------------------------------------------------------*/


/*  案例元素 */
.case-container {
    width: 100%;
    cursor: pointer;
    text-align: justify;
    text-align-last: justify;
}

.main-container {
    display: block;
    text-align: justify;
    max-width: 1170px;
    margin: 0 auto;
    padding-top: 100px;
    /*padding-bottom: 100px;*/
}

.case-item{
    width: 360px;
    display: inline-block;
    margin-bottom: 80px;
    vertical-align: middle;
    -webkit-box-shadow: 0px 0px 36.8px 9.2px rgba(16, 37, 65, 0.06);
    box-shadow: 0px 0px 36.8px 9.2px rgba(16, 37, 65, 0.06);
    cursor: pointer;
    text-align: left;
    text-align-last: left;
}
.place-holder {
    width: 356px;
    display: inline-block;
    margin-bottom: 0px;
    vertical-align: middle;
}

.case-item .img-wrap {
    height: 290px;
    width: 100%;
    position: relative;
}

.case-item .title-wrap {
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 20px;
    padding-bottom: 20px;
    margin-top: 10px;
    font-size: 16px;
    line-height: 25px;
    height: 85px;
    box-sizing: border-box;
    width: 100%;

    display: -webkit-box;
    line-height: 32px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.case-item .img-wrap img{
    width: 100%;
    object-fit: cover;
    height: 100%;
}

.case-item .img-wrap:hover .img-shadow {
    display: block;
}
.case-item:hover .title-wrap {
    color: #e2a561;
}

.case-item .img-wrap .img-shadow {
    display: none;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
    position: absolute;
    top: 0;
    left: 0;
}

.case-item .img-wrap .img-shadow img{
    object-fit: contain;
    width: 30px;
    height: 30px;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -15px;
    margin-top: -15px;
}

.case-item .author-and-date {
    width: 100%;
    display: block;
    text-align: justify;
    text-align-last: justify;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
    padding-bottom: 30px;
    margin-top: 18px;
}


.case-item .author-and-date .author-wrap{
    display: inline-block;
    vertical-align: middle;
    color: #605251;
    font-size: 16px;
}

.case-item .author-and-date .author-wrap img{
    display: inline-block;
    vertical-align: middle;
    width: 18px;
    height: 18px;
    margin-right: 12px;
}


.case-item .author-and-date .author-wrap span{
    display: inline-block;
    vertical-align: middle;
}

.case-item .author-and-date .date-wrap{
    vertical-align: middle;
    display: inline-block;
    color: #767375;
    font-size: 14px;
}

/* 底部分页部分 */

.pager {
    display: block;
    width: auto;
    margin: 0 auto;
    text-align: center;
    margin-bottom: 80px;
}

.pager .link-item {
    display: inline-block;
    height: 35px;
    text-align: center;
    line-height: 35px;
    padding-left: 15px;
    padding-right: 15px;
    border-radius: 3px;
    margin-right: 4px;
    margin-left: 4px;
    border: 1px solid #dddddd;
    color: #313131;
    font-size: 12px;
    cursor: pointer;
}

.pager .link-item.active {
    background-color: #e2a561;
    color: white;
}

.pager .link-item:hover{
    background-color: #e2a561;
    color: white;
}


/* 加载更多 */

.load-more {
    height: 40px;
    line-height: 40px;
    text-align: center;
    width: 110px;
    border: 1px solid #dddddd;
    display: block;
    margin: 0 auto;
    font-size: 12px;
    color: #6d6d6d;
    cursor: pointer;
    margin-bottom: 80px;
}

.load-more .arrow-icon {
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
}
.arrow-icon2{
    display: none;
}
.load-more:hover {
    color: white;
    background-color: #879cb3;
}
.load-more:hover .arrow-icon1 {
    display: none;
}
.load-more:hover .arrow-icon2 {
    display: inline-block;
}

.hide {
    display: none;
}

/* 自适应部分 */

@media screen and (min-width:480px) {
    .main-container {
        max-width: 450px;
    }
    .item-container {
        text-align: center;
    }
}

@media screen and (min-width:768px) {
    .main-container {
        max-width: 750px;
    }
    .item-container {
        text-align: justify;
    }
}

 @media screen and (min-width: 992px) {
    .main-container {
        max-width: 970px;
    }
    .item-container {
        text-align: justify;
    }
}

 @media screen and (min-width: 1200px) {
    .main-container {
        max-width: 1170px;
    }
    .item-container {
        text-align: justify;
    }
}

@media (max-width: 631px) {
    .main-container {
        max-width: 300px;
        padding-top: 40px;
        margin-bottom: -50px;
    }
    .case-item {
        width:100%;
        margin-bottom: 40px;
    }
}
