.products-title, .teacher-title, .products-detail-title {
    font-size: 25px;
    color: #444;
    margin-bottom: 30px;
    line-height: 1.5;
}
.products-title, .teacher-title {
    margin-left: 6px;
    margin-right: 6px;
}
.products-list, .teacher-list {
    margin: -40px -20px 0;
}
.products-list .item:nth-child(3n+1) {
    clear: left;
}
.products-list .item, .teacher-list .item {
    width: 33.33%;
    padding: 0 20px;
}
.products-list .item a, .teacher-list .item a {
    max-width: 330px;
    margin: 40px auto 0;
    position: relative;
}
.products-list .pic:before {
    content: "";
    background: url(../images/pd_after.png) no-repeat 100% 100%;
    display: block;
    position: absolute;
    z-index: 50;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    transition: all 0.3s;
}
/*.products-list .more, 
.teacher-list .more {
    display: block;
    background: url(../images/products/pd_ed.png);
    width: 48px;
    height: 48px;
    margin: -55px 0 0 82%;
    position: relative;
    z-index: 55;
}*/
.products-list .more, 
.teacher-list .more {
    display: block;
    background: url(../images/products/pd_ed.png);
    width: 48px;
    height: 48px;
    position:absolute;
    z-index: 55;
    right: 0%;
    margin: -55px 10px;
   padding: 0;
}
.products-list .pic {
    max-width: 330px;
    position: relative;
    overflow: hidden;
     border:1px solid #ddd;
}
.products-list .pic:hover {
  border-color:#FC7382;
}
.products-list a:hover .more, .teacher-list a:hover .more {
    background-position: 0 98%;
}
.products-list li:hover .pic:before,
.products-list li:hover .pic:after {
    /* transition: all .2s; */
    opacity: 1;
}

.products-list .pic:hover:before {
    content: "";
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, .2)url(../images/pd_after.png) no-repeat 100% 100%;
    z-index: 50;
}

.products-list .pic:before,
.products-list .pic:after {
    position: absolute;
    display: block;
    transition: all .2s;
}

.products-list .name, .teacher-list .name {
    padding: 10px 0 3px;
    font-size: 18px;
    font-weight: bold;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    letter-spacing: 1px;
}
.products-list .name {
    text-align: center;
}
.products-list a:hover .name, .teacher-list a:hover .name {
    color: #333;
}
.products-list .description, .teacher-list .description {
    color: #FC7382;
    font-size: 16px;
    line-height: 1.5;
    height: 28px;
    text-align:center;
    font-weight:600;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
/***********************************/
.search.products-list .item{
    width: 25%;
    padding: 0 20px;
}
.search.products-list .item:nth-child(4n+1) {
    clear: left;
}
.search.products-list .item:nth-child(3n+1) {
    clear: none;
}
/*********************************/

.gallery {
    float: left;
    width: 50%;
}
.gallery .pic {
    border: 1px solid #aaa;
    max-width: 500px;
    overflow: hidden;
}
.products-info {
    padding-left: 51%;
}

.products-info .pd-name {
    font-size: 23px;
    color: #1F1F1F;
    line-height: 1.4;
    padding: 8px 0 10px 0;
}

.products-info .pd-id {
    font-size: 13px;
    color: #FC7281;
    display: block;
}

.products-info .price-box {
    margin: 0 0px 20px 0;
    color:#878787;
    font-size:15px;
}
.products-info .price{
    display: inline-block;
    color:#FC7281;
    font-size:25px;
     margin: 0 20px 0 0;
}
.products-info .price b{
    font-size:16px;
    color:#f376cd;
}
.products-info .price-box span+span:before {
    content: "｜";
    margin: 0 2px 0 4px;
}
.products-info .price-box del {
    font-size: 15px;
    display: inline-block;
    color: #6C726B;
    margin: 0 0 5px 0;
}
.products-info .price-box strong {
    font-size: 23px;
}

.products-info .form-group {
    margin-bottom: 16px;
}

.products-info .control-label {
    font-size: 15px;
    color: #878787;
    display: inline-block;
}

.products-info .control-box {
    display: inline-block;
     max-width: 300px;
    width: 100%;
}

.products-info select.form-control {
    border: 1px solid #aaa;
    height: 26px;
    line-height: 26px;
    font-size: 13px;
    color: #888888;
}

.products-intro {
    margin: 0 0 50px;
}

.pro-btn-box {
    margin: 25px 0 0 0;
    padding: 20px 0 0 0;
}

/*********************************/
/*
.gallery .intro-box,
.thumbnails {
    float: right;
    width: 46%;
}
.thumbnails ul {
    margin: 0 -4%;
}
.thumbnails ul li {
    width: 33.33%;
    padding: 8% 4% 0;
}
.thumbnails a {
    position: relative;
    max-width: 120px;
    margin: 0 auto;
}
.thumbnails li.active a:before {
    border-color: #454545;
}
.intro-box h3 {
    font-size: 15px;
    font-weight: 700;
}
.intro-box h3:after {
    content: " /";
}
.intro-box .row .col {
    float: left;
    width: 50%;
}
.intro-box .title {
    font-size: 23px;
    letter-spacing:2px;
    color: #404040;
    line-height: 1.4;
    margin-bottom: 10px;
}
.intro-box .txt {
    margin-bottom: 20px;
}
.intro-box .price, .intro-box .amount {
    font-size: 23px;
    color: #333;
    margin-bottom: 20px;
}
.intro-box .corner {
    color: #222;
    font-size: 20px;
    padding: 9px 54px;
}
.intro-box .corner span {
    position: relative;
    z-index: 10;
}
.intro-box .corner.cutOff:before {
    background-color: #EEE;
    border: 1px solid #EEE;
}
.intro-box .corner.cutOff .cor, .intro-box .corner.cutOff:hover .cor {
    border-color: #CCC;
}
.intro-box .corner.cor {
    border-color: #CCC;
}*/
.products-detail .title {
    margin: 0 0 35px;
    
}

.products-detail .title span {
    background: url(../images/products/detail_title.png)50% no-repeat;
    font-size: 18px;
    color: #2C2C2C;
    padding: 0 25px 0 20px;
    height:60px;
    text-align:center;
    margin:auto;
    display:block;
}
.products-detail{
    color: #444444;
    font-size: 15px;
    line-height: 2.2;
}
.products-detail .editor.clearfix{
    height:auto;
	clear:none;
}
.products-detail .editor img {
   
    max-height: auto;
}


/*.products-detail .title span:after {
    content: "";
    display: inline-block;
    vertical-align: middle;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 8px 6.5px 0 6.5px;
    border-color: #000000 transparent transparent transparent;
    margin: 0 0 0 15px;
}*/


@media screen and (max-width: 1094px) {
.products-info .price{
    display: block;
}
}
@media screen and (max-width: 1100px) {
    .products-list .item {
        width: 50%;
    }
    .products-list .item:nth-child(3n+1) {
    clear: none;
}
.products-list .item:nth-child(2n+1) {
    clear: left;
}
.products-list.search .item, .teacher-list .item {
    width: 50%;
     padding: 0 10px;
}
.products-list.search .item:nth-child(4n+1) {
    clear: none;
}
.products-list.search .item:nth-child(2n+1) {
    clear: left;
}

    /*.gallery .intro-box {
        float: none;
        width: auto;
    }
    .stage {
        width: 60%;
        padding-right: 4.5%;
    }
    .thumbnails {
        width: 31%;
    }
    .thumbnails ul {
        margin-top: -8%;
    }
    .thumbnails ul li {
        width: 50%;
    }*/
}
@media screen and (max-width: 900px) {
    .gallery {
        float: none;
        width: 100%;
        margin-bottom: 35px;
    }
    .products-info {
        padding: 0;
        max-width: 600px;
        margin: 0 auto;
    }
    .gallery .pic{
        margin:auto;
    }
    .products-info .price{
    display: inline-block;
}
}
@media screen and (max-width: 767px) {
.products-list .item, .teacher-list .item {
    padding: 0 15px;
}
}
@media screen and (max-width: 600px) {
    /*.products-list .item {
        width: auto;
        float: none;
    }
    .stage,
    .thumbnails {
        float: none;
        width: auto;
    }
    .stage {
        border: 0;
        padding: 0;
    }
    .thumbnails ul {
        margin: 0 -5px;
    }
    .thumbnails ul li {
        width: 16.66%;
        padding: 10px 5px 0;
    }*/
}
@media screen and (max-width: 480px) {
    .thumbnails ul li {
        width: 33.33%;
    }
}
@media screen and (max-width: 420px) {
.products-info .price{
    display: block;
}
}