.container {
    max-width: 1472px;
    padding: 0 30px;
}
.container.detail{
    max-width: 1170px;
    padding: 0 15px;
}
.works-list{
    margin: 0 -6px -6px;
}
.works-list .item {
    width: 25%;
    margin-bottom: 40px;
    padding: 0 6px;
}
.works-list .item a {
    display: block;
    max-width: 344px;
    margin: 0 auto;
    position: relative;
}
.works-list .pic {
    position: relative;
    border: 3px solid #FFAF84;
    padding: 4px;
    overflow: hidden;
    -webkit-border-radius: 20px;
       -moz-border-radius: 20px;
            border-radius: 20px;
}
.works-list .pic img{
    -webkit-border-radius: 15px;
       -moz-border-radius: 15px;
            border-radius: 15px;
    overflow: hidden;
}
.works-list a:hover .pic{
    border-color: #607588;
    -webkit-transition: all .3s ease;
       -moz-transition: all .3s ease;
        -ms-transition: all .3s ease;
         -o-transition: all .3s ease;
            transition: all .3s ease;
}
.works-list a:hover .pic img{
    opacity: 0.6;
}
.works-list .name {
    display: block;
    font-size: 18px;
    color: #FF4000;
    line-height: 43px;
    font-weight: bold;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}
.works-list a:hover .name {
    color: #3F4E5A;
}
.works-list .description{
    font-size: 14px;
    color: #5D5D5D;
    height: 50px;
    overflow: hidden;
}
.works-list a:hover .description{
    text-decoration: underline;
}
/******** 列表 ***********/
/******** 大圖簡介 ********/

.works-header{
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0 30px;
    border: 1px solid #DDDDDD;
}
.works-header .works-name{
    width: 100%;
    background: url(../images/works/works_name_bg.jpg);
    color: #FFF;
    font-size: 28px;
    font-weight: bold;
    padding: 10px 0;
    text-align: center;
    letter-spacing: 2px;
    margin-bottom: 30px;
}
.gallery,
.works-header .intro{
    max-width: 840px;
    margin: 0 auto;
    padding: 0 30px;
}
.thumbnails li{
    width: 16.66%;
    padding: 0 2px;
    padding-top: 5px;
}
.thumbnails li a{
    position: relative;
    margin: 0 auto;
    max-width: 136px;
}
.thumbnails li a:before{
    content: '';
    background: rgba(0,0,0,0) url(../images/class/thumbnails_cover_.png) no-repeat center;
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-transition: all .3s ease;
       -moz-transition: all .3s ease;
        -ms-transition: all .3s ease;
         -o-transition: all .3s ease;
            transition: all .3s ease;
}
.thumbnails li a:hover:before{
    background: rgba(0,0,0,0.6) url(../images/class/thumbnails_cover.png) no-repeat center;
}
.intro .title{
    font-size: 15px;
    color: #000;
    font-weight: bold;
    padding: 22px 0 10px 40px;
    position: relative;
}
.intro .title:before{
    content: '';
    display: block;
    width: 30px;
    height: 30px;
    background: url(../images/about/title_icon.png)left top no-repeat;
    position: absolute;
    left: 0;
    top: 20px;
}
.editor{
    padding: 0 4%;
}
/******** 大圖簡介 ********/



@media screen and (max-width: 1600px) {
    .works-list .item {
        width: 33.33%;
    }
}
@media screen and (max-width: 1300px) {
    .works-list .item {
        width: 50%;
    }
}
@media screen and (max-width: 1280px) {
    .works-list .item {
        width: 50%;
    }
}
@media screen and (max-width: 690px) {
    .works-list .item {
        width: 100%;
        float: none;
    }
    .thumbnails li {
        width: 33.33%;
    }
    .class-detail .row{
        border: none;    
    }
    .class-detail .pic,
    .class-detail .txt {
        float: none;
        max-width: 100%;
        width: calc(100%);
        text-align: center;
    }
    .class-detail .row .title,
    .class-detail .row .con{
        float: none;
        text-align: center;
        width:100%;
    }
    .class-detail .txt .name{
        text-align: center;
        margin-top: 5px;
    }
    .class-detail .row .title,
    .class-detail .detail-title{
        text-align: center;
        background: #3CACB8;
        color: #FFF;
        margin-bottom: 15px;
    }
}
@media screen and (max-width: 420px) {
    .detail-btn{
        text-align: center;
    }
    .detail-btn li{
        width: 100%;
    }
    .detail-btn li+li{
        margin: 5px 0 0 0;
    }
}

