﻿@charset "utf-8";
@import url("total.css");
@import url("picandtxt.css");

* {
    margin: 0;
    padding: 0;
    border: none;
    list-style:none;
    background-repeat:no-repeat;
    text-decoration:none;/*去底線*/
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.wrapper {
    width: 100%;
    position:relative;
    background-color: #ebebeb;
    background-image: url(../images/hotcase_repeat_bg.jpg);
    background-repeat: repeat;
}
/*.wrapper .banner .white{
    background-color:#ffffff8a;
    width: 100%;
    height: 100%;
    position: relative; 
    opacity: 0;
    transition: 1s ease-out ;
    position: fixed;
}
@media screen and (min-width: 1024px){
    .wrapper .banner .white{
    opacity: 0;
    transition: 1s ease-out 1s;

}
}*/





/*case*/
.wrapper .case{
    width: 100%;
    position:relative;
}
.wrapper .case.left{
    background-color: #fbfbfb;
}

.wrapper .case .main{
    width: 100%;
    max-width: 1300px;
    position:relative;
    margin:0 auto;
    /*padding: 100px 0px 50px 0px;*/
    margin-bottom: -1%;
}
@media  screen and (max-width: 1366px){
.wrapper .case .main{
    width: 90%;
}
}
@media  screen and (max-width: 1024px){
.wrapper .case:first-child{
    padding-top: 50px;
}
.wrapper .case:last-child{
/*    padding-bottom: 50px;*/
}
.wrapper .case.left{
    background-color: #f0f0f0;
}

.wrapper .banner {
    background-size: cover;
}
}
@media  screen and (max-width: 768px){
.wrapper .case .main{
    padding: 100px 0px 0px 0px;
    z-index: 50;
}
}
@media  screen and (max-width: 1024px){
.wrapper .case .main{
    padding: 40px 0px 40px 0px;
    z-index: 50;
}
.clean{
    height: 40px;
}
}

.wrapper .main .case_box{
    width: 100%;
    margin: auto;
    /*height: 645px;*/
    background-color: #fbfbfb;
        transition: all 0.8s ease-out;
}
.wrapper .main .case_box .cent_box{
    width: 100%;
    display: block;
    max-width: 1200px;
    margin: auto;
    position: relative;
}

@media  screen and (max-width: 1366px){
.wrapper .main .case_box .cent_box{
    width: 80%;
}
}
@media  screen and (max-width: 768px){
.wrapper .main .case_box .cent_box{
    width: 100%;
}

.wrapper .main .case_box{
    background-color: transparent;
}
}
@media  screen and (max-width: 1024px){
.wrapper .banner {
    height: 100vh;
    background-position: 50% 50%;
    position: relative;
}
.wrapper .case.left {
    background-color: #f0f0f0;
}
.wrapper .main .case_box{
    background-color: transparent;
}
}
@media  screen and (min-width: 1025px){
.wrapper .banner {
    height: 100vh;
    background-position: 50% 0%;
    background-attachment: fixed; 
    position: relative;
}
}

.wrapper .main .case_box .cent_box.left .txt_box{
    min-width: 350px;
    min-height: 450px;
    max-width: 400px;
    max-height: 600px;
    padding: 30px 50px;
    position: absolute;
    right: 0;
    top: 200px;
    z-index: 20;
    background-color: #f1f1f1;
    text-align: left;
    border: 5px #9fa0a0 solid;
}
.wrapper .main .case_box .cent_box.left .img{
       width: 84%;
    position: relative;
    left: 0;
    /*top: -50px;*/
    text-align: left;
    transition: all 0.8s ease-out;
    overflow: hidden;
}

.wrapper .main .case_box .cent_box .img img{
    width: 100%;
    max-width: 1012px;
}
@media  screen and (max-width: 1366px){
.wrapper .main .case_box .cent_box.left .txt_box{
    padding: 20px 30px;
    position: absolute;
    right: -5%;
    top: 100px;
    max-height: 400px;
    min-height: 400px;
}
}
@media  screen and (max-width: 1024px){
    .wrapper .main .case_box .cent_box.left .txt_box{
        min-width: 300px;
        max-width: 100%;
        min-height: 120px;
        padding: 20px;
        position: initial;
        right: 5%;
        top: 80%;
        border: none;
    }
    .wrapper .main .case_box .cent_box.left .img{
           width: 100%;
    }

}
@media  screen and (max-width: 450px){
.wrapper .main .case_box .cent_box.left .txt_box{
    min-width: 250px;
    min-height: 100px;
    padding: 10px;
}
}


@media screen and (max-width: 1024px){
    .wrapper .main .case_box .cent_box.left .img {
    top: 0px;
    width: 100%;
}

}

.wrapper .main .case_box .cent_box .img img{
    -ms-transform: scale(1);
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-filter: brightness(1);
    filter: brightness(1);
    transition: all 0.4s ease-out;
}
.wrapper .main .case_box:hover .cent_box .img img{
    -ms-transform: scale(1.02);
    -webkit-transform: scale(1.02);
    transform: scale(1.02);
    -webkit-filter: brightness(1.1);
    filter: brightness(1.1);
}
.wrapper .main .case_box .cent_box .txt_box h5.title{
    font-size: 32px;
    font-weight: normal;
    line-height: 120%;
    padding-bottom: 5px;
    font-weight: bold;
    color: #565656;
    letter-spacing: 2px;
}
.wrapper .main .case_box .cent_box .txt_box p.txt{
    padding-top: 10px;
    font-size: 22px;
    line-height: 180%;
    color: #565656;
    letter-spacing: 1px;
    display: -webkit-box; 
    overflow: hidden; 
    -webkit-line-clamp: 2; 
    -webkit-box-orient: vertical;

}
.wrapper .main .case_box .cent_box .txt_box .txt_more{
    line-height: 180%;
    color: #565656;
    letter-spacing: 5px;
    text-align: center;
}
.wrapper .main .case_box .cent_box .txt_box .txt_more p{
    font-size: 12px;
    border: 1px #565656 solid;
    width: 100px;
    margin: 20% 0 0 auto;
    transition: all 0.5s ease-out;
}
.wrapper .main .case_box:hover .cent_box .txt_box .txt_more p{
    background-color: #4da836;
    color: #fff;
    transition: all 0.5s ease-out;
}
@media  screen and (max-width: 1024px){
.wrapper .main .case_box .cent_box .txt_box h5.title{
    font-size: 30px;
    letter-spacing: 2px;
}
.wrapper .main .case_box .cent_box .txt_box p.txt{
    font-size: 20px;
    letter-spacing: 5px;
}
}
@media  screen and (max-width: 768px){
.wrapper .main .case_box .cent_box .txt_box h5.title{
    font-size: 24px;
    letter-spacing: 1px;
}
.wrapper .main .case_box .cent_box .txt_box p.txt{
    font-size: 16px;
    letter-spacing: 3px;
}
}

@media screen and (max-width: 768px){
.wrapper .banner .main .txt p{
    font-size: 2rem;
}
.wrapper .banner .main .txt p.ch{
    font-size: 3rem;
}
.wrapper .banner .main .txt p.stxt{
    font-size: 1.25rem;
}

}

