*{
    margin: 0;
    padding: 0;
}
body{
    font-family: "Microsoft yahei", Arial;
    background: #eeeeee;
}
.box{
    width: 960px;
    height: 500px;
    margin: 50px auto;
}
.box h3{
    text-align: center;
    line-height: 50px;
}
.box ul li{
    float: left;
    width: 300px;
    height: 300px;
    /*background: #979797;
    border: solid 10px #979797;*/
    margin: 0 20px 20px 0;
    list-style: none;
    position: relative;
    overflow: hidden;
}
.box ul li .cover a{
    /*width: 30px;
    height: 30px;
    background: #ffffff;
    display: block;
    border-radius: 50%;
    line-height: 30px;*/
    margin: 0 auto;

}
.box ul li .cover a i{
    color: red;
}

.box ul li .cover{
    width: 300px;
    height: 300px;
    background: rgba(19, 13, 13, 0.7);
    position: absolute;
    left: 0;
    top: 0;
    text-align: center;
    color: #ffffff;

    transform-origin: right bottom;
	-webkit-transform-origin: right bottom;
	-moz-transform-origin: right bottom;

    transform: rotate(90deg);
	-webkit-transform: rotate(90deg);
	-moz-transform: rotate(90deg);

    transition: all 0.35s;
	-webkit-transition: all 0.35s;
	-moz-transition: all 0.35s;
}
.box ul li .cover p{
    margin-top: 10px;
    font-size: 14px;
}
.box ul li:hover .cover{
    transform: rotate(0deg);
	-webkit-transform: rotate(0deg);
	-moz-transform: rotate(0deg);
}




/*for ipad, mobile phone */
@media screen and (max-width: 749px) {

 .section-heading h1,.section-heading h2, .section-heading h3,h1,h2,h3 {
    font-size: 18px;
 }

 .carousel-caption p{
    display:none;
 }
 
 .box{
    width:100%;
    margin:0 0 4% 4%;
 }

 .box ul li{
    width:45%;
    height:auto;
    margin: 0 3% 3% 0;
 }

 .box ul li .cover {
    width: 100%;
    height: 100%;
 }


 .box ul li .cover p {
    font-size:12px;
    margin-top:50% !important;
 }

 .box ul li .cover p button{
    font-size:14px !important;
 }


}
