﻿/*初始化样式*/
input{padding:0;margin:0;font-family:'Microsoft YaHei';}
img{border:none;background:none;vertical-align:middle;}
ul,ol,li{list-style-type:none;}
select,input,img,select{vertical-align:middle;}
table{border-collapse:collapse;border-spacing:0}
table, th, td {vertical-align: middle}
.clearfix:after{content: ".";display: block;height: 0;clear: both;overflow: hidden;visibility: hidden;}
.clearfix{zoom:1}
.clearboth{height:0px;line-height:0px;overflow:hidden;clear:both;font-size:0px;}

h1,h2{font-size:12px;font-weight:bold;}
hr {border: 0;border-top:1px solid #ccc;height:0;}
p{margin: 0;   }
.product-detail-tabcon p{ line-height: 32px;}
/*----- Common css ------*/
.fl{float:left;}
.fr{float:right;}
.di{_display:inline;}
.fwn{font-weight:normal;}
.dib{*display:inline;_zoom:1;_display:inline;_font-size:0px;}

.com-img{ display:block; overflow:hidden;}
.com-img img{ transition:all 0.5s; -webkit-transition:all 0.5s; -moz-transition:all 0.5s; -o-transition:all 0.5s;}
.com-img:hover img{transform:scale(1.2); -webkit-transform:scale(1.2); -moz-transform:scale(1.2); -o-transform:scale(1.2);-ms-transform:scale(1.2);}

.xypg-right-content{font-size: 16px;}

.j-space-between{justify-content:space-between}
.j-flex-start{justify-content:flex-start}
.j-flex-end{justify-content:flex-end}
.j-center{justify-content:center}
.a-j-center{align-items:center;justify-content:center}
.a-center{align-items:center}
.a-flex-start{align-items:flex-start}
.a-flex-end{align-items:flex-end}

/*主体样式*/


.youshi{width: 100%;    background: url(../images/ysbggt.jpg) no-repeat center center;
    background-attachment: fixed;
    background-size: cover;    overflow: hidden;
    position: static;    min-height: inherit;padding-bottom: 50px;
    padding-top: 50px;margin-bottom: 50px;
}

.youshi h3{ font-size:34px;line-height:1.6;font-weight: bold;text-align: center;color: #fff;}
.youshi p{ font-size:16px;line-height:1.6;text-align: center;color: #fff;margin-bottom: 20px;}

.youshi .content {
    width: 80%;
    margin: 0 auto;
   
}

.youshi dl{ float: left; margin-bottom: 20px;    box-sizing: border-box; width: 24%; height: 300px;margin-right: 1%;border-color: rgba(255, 255, 255, 0.2);
    border-style: solid;
    border-width: 1px;
    background: rgba(0, 0, 0, 0);
    transition: all .5s ease;}

.youshi dl:nth-of-type(4n){ float: right;}

.youshi dt{margin: 0 auto;max-width: 85px; margin-top: 50px;}
.youshi dl:hover{ background: rgba(0, 0, 0, .5); } 
.youshi dl:hover img{ transform:rotateY(180deg);    transition: all .5s ease; } 
.youshi dl img{   transition: .6s;    transform: rotateY(0deg); } 
.youshi dd h4{   font-size:18px;color:#FFFFFF; text-align: center; height: 50px; font-weight: normal;line-height: 50px;} 
.youshi dd p{   font-size:14px;color:#FFFFFF; text-align: center; height: 30px; font-weight: normal;margin-left: 20px;    margin-right: 20px;} 



 

@media only screen and (max-width: 1424px){
    .youshi .content {
        width: 100%;
        margin: 0 auto;
       
    }
}

@media only screen and (max-width: 1024px){
   
    .youshi dl{width: 48%; }
    .youshi dl:nth-of-type(2n){ float: right;}
}

@media only screen and (max-width: 668px){

    /* .youshi dl{width: 100%; } */

}

