﻿.main-page {
    padding: 0px 60px;
    overflow: visible;
}

.main-title {
    background: #FFD140;
    height: 40px;
    margin-top: -2px;
    line-height: 40px;
}

.main-title .navigate-bar {
    margin: 0 auto;
    max-width: 1500px;
    min-width: 750px;
    padding: 0 60px 0 290px;
    color: #600;
    position:relative;
}

.main-title .navigate-bar a {
    color: #600;
    text-decoration: none;
    font-weight: bold;
}

.main-title .navigate-bar a:hover {
    color: red;
}

.main-title .navigate-bar .divider {
    font-family: "Roboto";
    font-size: 14px;
    color: #7a0202;
}

.catalogue {
    width: 200px;
    border-radius: 12px;
    background: #FFF9E7;
    padding: 10px;
    margin: -20px 0 20px;
    position: relative;
    z-index: 9;
    border: solid 1px #efefef;
    color: #600;
}

.catalogue .title {
    background: #fcc20c none repeat scroll 0 0;
    border: 2px solid #fff;
    border-radius: 30px;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    line-height: 30px;
    margin: -26px auto 0;
    text-align: center;
    width: 120px;
}

.category-item {
    margin-bottom: 8px;
    transition:all 0.3S;
}
/*.category-item:hover{
    box-shadow:1px 1px 3px rgba(204, 204, 204, 0.80);
}*/

.category-item h1 {
    margin: 2px 0;
    font-size: 15px;
    line-height: 22px;
    line-height:16px;
    padding:3px 0;
}

.category-item a {
    display: block;
    text-decoration: none;
    color: #600;
    padding-left: 10px;
    transition:all 0.2S;
/*    border-radius:2px;*/
}

.category-item a:hover {
    color: red;
    /*animation: fontshadow 0.6S;
    animation-fill-mode: forwards;*/
    box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.30);
}

.category-item h2, .category-item h3 {
    margin: 0;
    font-size: 13px;
    display: inline;
    font-weight: normal;
}

.category-item h3 {
    color: red;
    padding: 0 6px;
}

@keyframes fontshadow {
    0% {
        text-shadow: 30px 3px 10px rgba(0, 0, 0, 0.06);
    }

    100% {
        text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.3);
    }
}

.catalogue {
    width: 16%;
    float: left;
    box-sizing: border-box;
}

.product-container {
    width: 83.3%;
    float: left;
    box-sizing: border-box;
    padding: 8px 46px 8px 0;
}

.product-container .product-item {
    width: 25%;
}
/*竖向产品展示列表*/
.product-item-block{
    border-bottom: 1px solid #eee;
    height: 348px;
    margin: 0 0 15px 16px;
    padding: 16px 8px;
    position:relative;
}
.product-item-block h2{
    padding-left:20px;
    border-left:solid 4px #f90;
    margin-left:8px;
    padding-left:6px;
}
.product-item-block h2 a{
    text-decoration:none;
    color:#600;
}
.product-item-block h2 a:hover{
    color:red;
}
.product-item-block .img-container{
    position:absolute;
    padding:2px;
    border:solid 1px #ccc;
    left:8px;
}
.product-item-block .product-tag{
    left:-3px;
}
.product-item-block .img-container img{
    width:400px;
    height:300px;
    display:block;
}
.product-item-block .details-container{
    margin:18px 30px 26px 420px;
    font-size:14px;
    color:#600;
}
.product-item-block .details-container table{
    width:80%;
    min-width:450px;
}
.details-container table td,th{
    padding:6px;
}
.details-container table th{
    text-align:left;
    width:88px;
}



.pager {
    height: 42px;
    text-align: right;
}

.pager .pager-container {
    text-align: left;
    display: inline-block;
}

.pager .pager-container a {
    border: solid 1px #ccc;
    display: inline-block;
    padding: 8px 10px;
    line-height: 10px;
    text-decoration: none;
    color: #600;
    border-radius: 4px;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.10);
}

.pager .pager-container a:hover {
    color: red;
    border-color: red;
}

.pager .pager-container a.active {
    color: #fff;
    border-color: #600;
    background: #600;
    cursor: default;
    font-weight: bold;
}

.pager .pager-container span {
    padding: 6px;
}

.pager .pager-container input {
    height: 22px;
    width: 38px;
    border: solid 1px #ccc;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.10);
    vertical-align: -3%;
    margin-right: 2px;
    padding: 1px 3px;
}

.pager .pager-container button {
    border: 1px solid #ccc;
    border-radius: 4px;
    height: 27px;
    width: 42px;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.10);
    vertical-align: -3%;
    color: #600;
}

.pager .pager-container button:hover {
    border: 1px solid red;
    cursor: pointer;
    color: red;
}
@media screen and (max-width:1300px){
    .product-container .product-item{
        width:33.333333%;
    }
    .main-title .navigate-bar{
        padding-left:250px;
    }
}
@media screen and (max-width:1000px){
    .catalogue{
        width:22%;
    }
    .product-container{
        width:78%;
    }
    .product-container .product-item{
        width:50%;
    }
}