body {
    background: #f2f2f2;
}

.main-detail-info,
.extra-summary-info {
    float: left;
}

/* ----- main-detail-info ----- */
.main-detail-info {
    width: 978px;
    margin-right: 20px;
}

/* ----- course-summary-info ----- */
.course-summary-info {
    height: 380px;
    padding: 20px;
    border: 1px solid #ccc;
    box-shadow: 0 0 10px rgba(4, 0, 0, .2);
    background: #fff;
}

.course-summary-info > div {
    float: left;
}

.course-summary-wrap {
    width: 504px;
    margin-top: -8px;
}

.course-summary-wrap li em {
    display: inline-block;
    max-width: 398px;
    vertical-align: top;
}

.pictures-wrap {
    width: 400px;
    margin-right: 30px;
}

.show-picture-wrap {
    width: 398px;
    height: 298px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    line-height: 0;
}

.show-picture-wrap img {
    width: 398px;
    height: 298px;
}

.pictures-wrap li {
    float: left;
    width: 88px;
    height: 66px;
    border: 2px solid transparent;
    line-height: 0;
}

.show-picture-list img {
    width: 88px;
    height: 66px;
    cursor: pointer;
}

.pictures-wrap .show-active,
.pictures-wrap li:hover {
    border: 2px solid #ff4400;
}

.pictures-wrap li:not(:last-of-type) {
    margin-right: 10px;
}

.course-summary-wrap h2 {
    margin-bottom: 12px;
    color: #000;
    font-size: 26px;
}

.course-summary-wrap li:first-of-type {
    width: 506px;
    margin-bottom: 18px;
}

.course-summary-wrap li:not(:first-of-type) {
    height: 19px;
    line-height: 19px;
}

.course-summary-wrap li:not(:first-of-type):not(:last-of-type) {
    margin-bottom: 20px;
}

.course-summary-wrap .course-price {
    height: 60px;
    background: #fff2e8;
    line-height: 60px;
}

.course-summary-wrap li span {
    display: inline-block;
    width: 100px;
    text-indent: 22px;
    color: #999;
}

.preferential-info {
    height: 30px;
    background: #fff9f5;
    line-height: 30px;
    color: #999;
}

.course-summary-wrap select {
    width: 200px;
    height: 20px;
}

.course-detail-enroll {
    margin-top: 14px;
    text-align: right;
}

.course-detail-enroll a {
    display: inline-block;
    width: 120px;
    height: 40px;
    border: none;
    border-radius: 5px;
    color: #fff;
    font-size: 20px;
    text-align: center;
    line-height: 40px;
}

.reserve-button {
    background: #ff4400;
    cursor: pointer;
}

.course-detail-enroll a.recent-enrolling {
    background: #ff4400;
    cursor: pointer;
}

.course-detail-enroll a.recent-enrolled {
    background: #ccc;
    cursor: not-allowed;
}

/* ----- course-calender-wrap ----- */
.clear {
    clear: both;
}

#date_new_reservedetail {
    position: relative;
    padding: 12px 18px 18px;
    margin-top: 10px;
    background: #fff;
    border: 1px solid #ff4400;
    box-shadow: 0 0 10px rgba(4, 0, 0, .2);
}

#date_new_reservedetail #date_now_reservedetail {
    width: 460px;
    float: left;
}

#date_new_reservedetail #date_next_reservedetail {
    width: 460px;
    float: right;
}

#date_new_reservedetail .header {
    position: relative;
    height: 22px;
    line-height: 22px;
    text-align: center;
}

#date_new_reservedetail .c {
    line-height: 22px;
    text-align: center;
}

#date_new_reservedetail .l {
    position: absolute;
    top: 0;
    color: #38c249;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    left: 20px;
}

#date_new_reservedetail .r {
    position: absolute;
    top: 0;
    color: #38c249;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    right: 20px;
}

#date_new_reservedetail .weeks {
    height: 28px;
    margin-top: 14px;
    line-height: 28px;
    border: 1px solid #ccc;
}

#date_new_reservedetail span {
    display: inline-block;
    width: 14.2857%;
    text-align: center;
}

.opacity-0 {
    opacity: 0;
}

#date_new_reservedetail ul li {
    width: 65.42px;
    height: 49px;
    padding: 10px 0;
    text-align: center;
    border-bottom: 1px solid #ccc;
    font-size: 12px;
    cursor: pointer;
    float: left;
}

#date_new_reservedetail li:not(.have-info-date) {
    line-height: 49px;
    color: #999;
    text-decoration: line-through;
    cursor: default;
}

#date_new_reservedetail li.have-info-date:hover {
    background: #fff2e8 !important;
}

#date_new_reservedetail li div {
    height: 36px;
    line-height: 36px;
}

/* ----- detail-banner ----- */
.detail-banner {
    position: relative;
    height: 150px;
    background: url(../images/detail-banner.png);
}

.public-number {
    width: 250px;
    height: 110px;
    background: rgba(255, 255, 255, .7) url(../images/code2.png) no-repeat 142px 10px;
    border-radius: 20px;
}

.public-number p {
    width: 110px;
    margin-left: 20px;
    line-height: 1.7em;
    color: #000;
    font-size: 12px;
}

/* ----- course-recommend ----- */
.course-recommend h4 {
    height: 36px;
    line-height: 36px;
    font-size: 16px;
}

.course-recommend > div {
    float: left;
    width: 464px;
    height: 128px;
    padding-right: 14px;
    background: #fff;
    border: 1px solid #ccc;
    word-break: break-all;
    word-wrap: break-word;
}

.course-recommend > div:not(:last-of-type) {
    margin-right: 18px;
}

.course-recommend > div img {
    width: 200px;
    float: left;
    height: 100%;
    margin-right: 20px;
}

.course-recommend a {
    display: block;
    padding: 10px 0 20px 0;
    line-height: 28px;
    font-size: 16px;
}

.course-recommend span {
    text-decoration: line-through;
}

.course-recommend em {
    float: right;
}

/* ----- course-detail-info ----- */
.course-detail-info {
    padding: 20px;
    margin: 10px 0 100px;
    background: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 0 10px rgba(4, 0, 0, .2);
    position: relative;
}

.choose-type {
    width: 100%;
    height: 30px;
    margin-left: -20px;
    margin-bottom: 20px;
    padding-right: 40px;
    border-bottom: 1px solid #e6e6e6;
}

.choose-type span {
    display: inline-block;
    width: 118px;
    height: 28px;
    line-height: 28px;
    text-align: center;
    color: #fff;
    background: #80c269;
    border: 1px solid #e6e6e6;
}

/* ----- 课程详情 ----- */
.course-detail-info p {
    color: #333;
    line-height: 1.8em;
}

.course-detail-info .head {
    height: 64px;
    padding-top: 20px;
    margin-bottom: 20px;
    position: relative;
}

.course-detail-info h2 {
    margin-bottom: 20px;
    font-size: 20px;
    text-align: center;
}

.source-info {
    padding-bottom: 8px;
    text-align: center;
    color: #999;
    font-size: 12px;
}

.source-info time {
    margin-right: 40px;
}

.consult a {
    position: absolute;
    right: 0;
    bottom: 8px;
    color: #38c249;
    font-size: 20px;
    cursor: pointer;
}

.course-detail-type hr {
    height: 2px;
    margin-bottom: 36px;
    background: url(../images/border.png);
    border: none;
}

.course-detail-info h3 {
    margin-bottom: 12px;
    color: #ff7467;
    font-size: 20px;
}

.course-detail-info h3.color-red {
    color: #f00;
}

.course-detail-info h4,
.course-detail-info h5 {
    margin-bottom: 10px;
}

.margin-bottom-40 {
    margin-bottom: 40px;
}

.margin-bottom-30 {
    margin-bottom: 30px;
}

.margin-bottom-10 {
    margin-bottom: 10px;
}

.margin-bottom-0 {
    margin-bottom: 0 !important;
}

.font-size-14 {
    font-size: 14px;
}

.color-green {
    color: #38c249;
}

.padding-left-2em {
    padding-left: 2em;
}

.color-red {
    color: red !important;
}

/* ----- 评论 ----- */
.course-remarks-type {
    margin-top: 50px;
}

.course-remarks-type > ul {
    max-height: 860px;
    overflow: hidden;
}

.course-remarks-type li {
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.course-detail-info .course-remarks-type h5 {
    margin-bottom: 14px;
}

.course-remarks-type li span {
    margin-right: 20px;
    color: #38c249;
    font-size: 12px;
}

.course-remarks-type li time {
    color: #999;
    font-size: 12px;
}

.course-detail-info .course-remarks-type p {
    margin-bottom: 16px;
    line-height: 1.5em;
    word-break: break-all;
    word-wrap: break-word;
}

.course-remarks-type .course-page {
    margin-bottom: 40px;
    text-align: right;
}

.course-remarks-type textarea {
    width: 100%;
    height: 96px;
    margin-bottom: 18px;
    padding: 10px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    outline: none;
}

.submit-comment {
    width: 120px;
    height: 30px;
    margin-bottom: 30px;
    background: #ff4400;
    color: #fff;
    font-size: 20px;
    outline: none;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.submit-comment:hover {
    background: #ff3701;
}

/* ----- extra-summary-info ----- */
.extra-summary-info {
    width: 280px;
}

.extra-summary-info section {
    margin-bottom: 10px;
    background: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 0 10px rgba(4, 0, 0, .2);
}

.extra-summary-info h5 {
    height: 40px;
    padding-left: 14px;
    margin-bottom: 12px;
    border-bottom: 1px solid #ccc;
    color: #000;
    font-size: 16px;
    line-height: 40px;
}

/* ----- share-info ----- */
.share-info li,
.order-info li,
.comment-info li {
    margin: 0 10px 10px;
    word-break: break-all;
    word-wrap: break-word;
    overflow: hidden;
}

.img-wrap {
    display: inline-block;
    width: 60px;
    height: 50px;
    overflow: hidden;
    margin-right: 10px;
    float: left;
}

.share-info img {
    height: 50px;

}

.share-info a {
    display: inline-block;
    max-width: 188px;
    height: 50px;
    overflow: hidden;
    line-height: 16px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.share-info a:hover {
    color: #ff7467;
}

/* ----- current-activities-recommend ----- */
.current-activities-recommend figure {
    margin: 0 10px 16px;
    position: relative;
}

.current-activities-recommend img {
    width: 260px;
    height: 150px;
    margin-bottom: 10px;
}

.current-activities-recommend span {
    position: absolute;
    top: 0;
    right: 0;
    display: inline-block;
    width: 100px;
    height: 30px;
    background: #ff7467;
    color: #fff;
    font-size: 16px;
    text-align: center;
    line-height: 30px;
}

.recommend-title {
    display: inline-block;
    width: 56%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 12px;
}

.current-activities-recommend time {
    float: right;
    color: #999;
    font-size: 12px;
}

/* ----- order-info ----- */
.order-info li,
.comment-info li {
    padding: 10px;
    border: 1px solid #ccc;
}

.order-info li:hover {
    background-color: #f2f2f2;
}

.order-info a {
    display: block;
    margin-bottom: 20px;
    line-height: 1.6em;
}

.order-info span {
    color: #38c249;
    font-size: 12px;
}

.order-info span:last-of-type {
    float: right;
}

/* ----- comment-info ----- */
.comment-info span {
    display: block;
    font-size: 12px;
}

.comment-info span:first-of-type {
    color: #38c249;
}

.comment-info span:last-of-type {
    color: #999;
}

.comment-info span:first-of-type,
.comment-info a {
    margin-bottom: 10px;
}

.comment-info a {
    display: block;
}

/* ----- page-switch ----- */
.page-switch {
    margin-top: 20px;
}

.page-switch a {
    color: #0068b7;
}

.page-next-article {
    float: right;
}

.footer {
    margin-top: 100px;
}

.content-from-edit {
    margin-bottom: 30px;
    font-size: 14px;
}

.content-from-edit em,
.content-from-edit i {
    font-style: italic;
}

.content-from-edit h1,
.content-from-edit h2,
.content-from-edit h3,
.content-from-edit h4,
.content-from-edit h5,
.content-from-edit strong {
    font-weight: bold;
}

.content-from-edit h1 {
    font-size: 2em;
}

.content-from-edit h2 {
    font-size: 1.5em;
    text-align: left;
}

.content-from-edit h3 {
    font-size: 1.17em;
    color: #333;
}

.content-from-edit h5 {
    font-size: 0.83em;
}

.content-from-edit ol,
.content-from-edit ul {
    margin-left: 40px;
}

.content-from-edit p {
    max-width: 936px!important;
}

.content-from-edit img {
    max-width: 100%;
}