@charset "utf-8";
/* CSS Document */

a, a:hover {color: black;}

#infotemporary {
    display: block;
    position: fixed;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: +1000;
    width: 80%;
    height: 0;
    top: 10%;
    left: 10%;
    overflow: auto;
    border-radius: 5px;
    border: rgba(196, 168, 134, 0.6) solid 1px;
    opacity: 0;
}
#infotemporary h1 {
    text-align: center;
    text-decoration: underline;
    font-size: 1.5em;
    color: #C4A886;
    margin: 50px 0 20px 0;
}
#infotemporary p {
    color: white;
    padding: 0 5% 20px 5%;
}
#infoclose {
    position: absolute;
    right: 5%;
    top: 10px;
    background: transparent;
    border: none;
    color: #C4A886;
    font-size: 1.2em;
    z-index: +1;
}
.infoclose:hover {color: whitesmoke;}

#home {
    height: 100%;
    width: 100%;
    position: fixed;
    padding: 60px 0 50px 0;
    overflow-x: hidden;
    overflow-y: auto;
}
#home-head {
    position: relative;
    width: 100%;
    height: 600px;
    background-color: #525252;
    background-size: auto 100%;
    background-position: center;
}

#title-cap {
    position: absolute;
    bottom: 0;
    left: 25%;
    width: 50%;
    height: 50px;
    background-color: whitesmoke;
}
#title {
    width: 50%;
    background-color: whitesmoke;
    text-align: center;
    margin: 0 auto 20px auto;
    padding: 0 2% 50px 2%;
    -webkit-box-shadow: 0 0 30px #e5e5e5;
	box-shadow: 0 0 30px #e5e5e5;
}
#title h1 {
    font-size: 2em;
    padding-bottom: .8em;
}

#pub-A {
    width: 65%;
    margin: 0 auto 1em auto;
    position: relative;
}
#pubA-imgbox {
    float: right;
    width: 45%;
}
#pubA-imgscale {
    position: relative;
    width: 100%;
    padding-bottom: 150%;
    height: 0;
}
#pubA-imgscale img {
    position: absolute;
    width: 100%;
}
#pubA-txt {
    width: 55%;
    text-align: center;
    padding: 0 5% 1em 5%;
    position: absolute;
    top: 40%;
}
#pubA-txt h1 {
    text-transform: uppercase;
    font-size: 1.6em;
    font-weight: bold;
}
#pubA-txt p {padding-top: .6em;}

#prodsshow {
    width: 90%;
    margin: auto;
}
.prod-box {
    float: left;
    width: 25%;
    cursor: pointer;
}
.prod-scale {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    height: 0;
}
.prod {
    position: absolute;
    width: 96%;
    height: 96%;
    left: 2%;
    top: 2%;
    background-color: #c6c6c6;
    background-size: 100% auto;
    background-position: center;
    transition: .3s;
}
.prod:hover {background-size: 110% auto;}
.prod p {
    position: absolute;
    bottom: 5%;
    left: 3%;
    width: 2em;
    height: 2em;
    color: whitesmoke;
    font-size: .8em;
    padding: .3em .5em;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid whitesmoke;
    border-radius: .5em;
    transition: .3s;
    overflow: hidden;
}

/*---------------------------------------------详情页*/
#detailbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 300;
}
#detailwindow {
    position: absolute;
    left: 5%;
    top: 7%;
    width: 90%;
    height: 87%;
    border: none;
}
.closebox {
    position: absolute;
    right: 8%;
    top: 10%;
    background: transparent;
    border: none;
    z-index: +1;
}
.closebox:hover {color: #878787;}

#pub-B {
    width: 100%;
    height: 400px;
    margin-top: 2.5em;
    background-color: #525252;
    background-size: auto 100%;
    background-position: center;
}


/*---------------------------------------------自适应性*/
@media (min-width: 2000px) {
    .prod-box {width: 20%;}
}

@media (max-width: 1280px) {
    #infotemporary h1 {margin: 35px 0 14px 0;}
    #home {padding: 42px 0 35px 0;}
    #home-head {height: 420px;}
    #title-cap {height: 35px;}
    #title {
        padding-bottom: 35px;
        margin-bottom: 14px;
        -webkit-box-shadow: 0 0 21px #e5e5e5;
        box-shadow: 0 0 21px #e5e5e5;
    }
}

@media (max-width: 768px) {
    #infotemporary {
        left: 5%;
        width: 90%;
    }
    #home {padding-top: 60px;}
    #home-head {height: 460px;}
    #title-cap {
        left: 15%;
        width: 70%;
    }
    #title {width: 70%;}
    #pubA-imgbox {
        width: 100%;
        margin-bottom: 1em;
    }
    #pubA-txt {
        width: 100%;
        position: static;
    }
    #prodsshow {width: 96%;}
    .prod-box {width: calc(100% / 3);}
    #detailwindow {
        top: 8%;
        left: 2%;
        width: 96%;
    }
    #pub-B {height: 300px;}
}

@media (max-width: 580px) {
    #title-cap {
        left: 10%;
        width: 80%;
    }
    #title {width: 80%;}
    #pub-A {width: 80%;}
    #prodsshow {width: 98%;}
    .prod-box {width: 50%;}
    #pub-B {height: 250px;}
}
