@charset "utf-8";
/*表单部分*/
#request{
    position: fixed;
    width: 500px;
    height: 500px;
    background: #CCCCCC;
    z-index: 999;
    left: 50%;
    top: 40px;
    margin-left: -250px;
    border-radius: 5px;
    box-shadow: 3px 3px 13px #000;
    display: none;
    text-align: center;
}
#request input[name=show_psd]{
    border-radius: 5px;
    position: absolute;
    left:115px;
    top:115px;
    border:1px solid #ccc;
    background-color: #fff;
}
#request input[type=submit]{
    border-radius: 5px;
    position: absolute;
    left:188px;
    top:150px;
    border:1px solid #ccc;
    background-color: #fff;
}
/*主体*/
.main{
    width: 90%;
    margin: auto;
    display: flex;
}
/*分类和产品主体*/
#cats,#products{
    float: left;
}
#cats{
    width: 20%;

}
#products{
    width: 80%;
    margin: 0 auto;
}
/*标题样式*/
#cats h2{
    margin: 20px 0 10px 0;
    position: relative;
}
#cats a,#cats a:visited,#products a,#products a:visited{
    transition: color 300ms ease 0s;
    color:#000;
}
#cats ul li{
    padding: 20px 0 20px 20px;
    position: relative;
}
#cats ul li a span{
    position: absolute;
    left:0;
    top:27px;
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 15px;
    border:0.1px solid black;
    border-radius: 50%;
}
#cats ul li a:hover,#products a:hover{
    color:#999;
}
#cats ul li a:hover span{
    background-color: #000;
}
#products .title{
    padding: 15px 0;
}
#products a{
    font-size: 13px;
}
#products ul li{
    float: left;
    margin:0 25px;
}
#products ul li dl dt,#products ul li dl dd{
    text-align: center;
    width: 200px;
    line-height: 20px;
}
.details img{
    width: 180px;
    height: 180px;
}