/*--课程详细--*/
.coursecon-head {
    width: auto;
    height: 20px;
    position: relative;
}

.coursecon-head .location {
    width: auto;
    height: 20px;
    line-height: 20px;
    font-size: 15px;
    color: #a3a3a3;
}

.coursecon-head .location a {
    color: #a3a3a3;
}

.coursecon-head .location span {
    padding: 0 8px;
}

.coursecon-head .location a.on {
    color: #28b970;
}

.coursecon-head .bulletin {
    width: auto;
    height: 20px;
    line-height: 20px;
    font-size: 14px;
    color: #28b970;
    padding-left: 30px;
    background: url("../images/icon-bulletin.png") no-repeat left center;
    position: absolute;
    right: 0;
    top: 0;
}

.coursecon-head .bulletin a {
    color: #28b970;
}

/*--主题讨论--*/
.coursebbs {
    width: auto;
    height: auto;
}

.coursebbs-intro {
    width: auto;
    height: auto;
    background: #fff;
    position: relative;
}

.coursebbs-intro .img {
    width: 66px;
    height: 66px;
    position: absolute;
    right: 40px;
    top: 40px;
    font-size: 0;
}

.coursebbs-intro .img img {
    width: 66px;
    height: 66px;
    border-radius: 50%;
}

.coursebbs-intro .title {
    width: auto;
    height: auto;
    font-size: 19px;
    font-weight: bold;
    color: #272727;
}

.coursebbs-intro .date {
    width: auto;
    height: auto;
    font-size: 16px;
    color: #777777;
    padding-top: 12px;
}

.coursebbs-intro .txt {
    width: auto;
    height: auto;
    font-size: 17px;
    color: #272727;
    padding-top: 20px;
}

.coursebbs-main {
    width: auto;
    height: auto;
    margin-top: 25px;
}

.coursebbs-title {
    width: auto;
    height: auto;
    font-size: 17px;
    color: #28b970;
    padding: 30px 0;
}

.coursebbs-form {
    width: auto;
    height: auto;
    position: relative;
    padding-left: 70px;
}

.coursebbs-form .portrait {
    width: 50px;
    height: 50px;
    font-size: 0;
    position: absolute;
    left: 0;
    top: 0;
}

.coursebbs-form .portrait img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.coursebbs-form .box {
    width: auto;
    height: auto;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 3px;
    position: relative;
    font-size: 0;
}

.coursebbs-form .box .btns {
    width: 160px;
    height: auto;
    padding-top: 10px;
    position: absolute;
    right: 0;
    top: 0;
}

.coursebbs-form .box .btns .upfile {
    width: auto;
    height: 30px;
    line-height: 30px;
    text-align: center;
    border-left: 2px solid #ddd;
}

.coursebbs-form .box .btns .upfile a {
    font-size: 13px;
    color: #28b970;
}

.coursebbs-form .box .btns .release {
    width: auto;
    height: auto;
    padding: 10px 0 0 2px;
}

.coursebbs-form .box .btns .release input.btn {
    display: block;
    width: 80px;
    height: 28px;
    line-height: 28px;
    text-align: center;
    border: 0 none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 13px;
    color: #fff;
    background: #28b970;
    margin: 0 auto;
}


.coursebbs-form .box .text {
    width: auto;
    height: auto;
}

.coursebbs-form .box .text textarea {
    width: 100%;
    height: 100px;
    background: none;
    border: 0 none;
    font-size: 14px;
    color: #666;
    padding: 10px;
}

.coursebbs-list {
    width: auto;
    height: auto;
}

.coursebbs-list .happystu-list .item {
    padding: 30px 0;
}


/*文件下载*/
.coursedown {
    width: auto;
    height: auto;
}

.coursedown-list {
    width: auto;
    height: auto;
    padding: 25px;
    border-bottom: 1px solid #eeeeee;
}

.coursedown-list ul li {
    width: auto;
    height: auto;
    padding-bottom: 15px;
}

.coursedown-list ul li:last-child {
    padding-bottom: 0;
}

.coursedown-list ul li .box {
    width: auto;
    height: auto;
    overflow: hidden;
}

.coursedown-list ul li .box .name {
    width: auto;
    height: auto;
    line-height: 32px;
    float: left;
    font-size: 14px;
    color: #333333;
}

.coursedown-list ul li .box .down {
    width: auto;
    height: auto;
    float: right;
}

.coursedown-list ul li .box .down a {
    display: block;
    width: 90px;
    height: 32px;
    line-height: 30px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 13px;
    color: #999999;
}

.coursedown-list ul li .box .down a:hover {
    color: #28b970;
    border-color: #28b970;
}


.discuss-list {
    width: auto;
    height: auto;
}

.discuss-list .item {
    width: auto;
    height: auto;
    border-bottom: 1px solid #e8e8e8;
    padding: 30px;
}

.discuss-list .item .itembox {
    width: auto;
    height: auto;
    position: relative;
    padding-left: 50px;
}

.discuss-list .item .portrait {
    width: 50px;
    height: 50px;
    position: absolute;
    left: 0;
    top: 0;
    font-size: 0;
}

.discuss-list .item .portrait img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.discuss-list .item .con {
    width: auto;
    height: auto;
    min-height: 60px;
    padding-left: 20px;
}

.discuss-list .item .head {
    width: auto;
    height: 20px;
    position: relative;
}

.discuss-list .item .opera {
    width: auto;
    height: 20px;
    position: absolute;
    right: 0;
    top: 50%;
    margin-top: -10px;
}

.discuss-list .item .opera ul li {
    width: auto;
    height: 20px;
    float: left;
    padding-left: 20px;
}

.discuss-list .item .opera ul li a {
    display: block;
    width: auto;
    height: 20px;
    line-height: 20px;
    font-size: 13px;
    color: #a7a7a7;
    position: relative;
    padding-left: 25px;
}

.discuss-list .item .opera ul li a i {
    display: block;
    width: 20px;
    height: 20px;
    position: absolute;
    left: 0;
    top: 50%;
    margin-top: -10px;
    font-size: 0;
    line-height: 0;
    background-image: url("../images/icon-happystu.png");
    background-repeat: no-repeat;
    background-position-y: 0;
    background-position-x: 0;
}

.discuss-list .item .opera ul li a i.icon-good {
    background-position-x: 0;
}

.discuss-list .item .opera ul li a i.icon-reply {
    background-position-x: -20px;
}

.discuss-list .item .opera ul li a i.icon-edit {
    background-position-x: -40px;
}

.discuss-list .item .opera ul li a i.icon-del {
    background-position-x: -60px;
}

.discuss-list .item .opera ul li a.on {
    color: #28b970;
}

.discuss-list .item .opera ul li a.on i {
    background-position-y: -20px;
}

.discuss-list .item .defbox {
    width: auto;
    height: auto;
}

.discuss-list .item .defbox .name {
    width: auto;
    height: 20px;
    line-height: 20px;
    font-size: 15px;
    color: #272727;
    float: left;
    position: relative;
}

.discuss-list .item .defbox .name b {
    display: block;
    width: 14px;
    height: 14px;
    text-align: center;
    line-height: 14px;
    font-weight: bold;
    font-size: 12px;
    color: #fff;
    border-radius: 3px;
    background: #000;
    position: absolute;
    left: 100%;
    top: 50%;
    margin-top: -7px;
    margin-left: 10px;
}

.discuss-list .item .defbox .name.t span {
    color: #28b970;
}

.discuss-list .item .defbox .name.t b {
    background: #28b970;
}

.discuss-list .item .defbox .name.s span {
    color: #23c3a7;
}

.discuss-list .item .defbox .name.s b {
    background: #23c3a7;
}


.discuss-list .item .defbox .date {
    width: auto;
    height: auto;
    font-size: 14px;
    color: #b5b5b5;
    padding-top: 5px;
}

.discuss-list .item .defbox .txt {
    width: auto;
    height: auto;
    font-size: 15px;
    color: #272727;
    padding-top: 5px;
}

.discuss-list .item .defbox .img {
    width: auto;
    height: auto;
    font-size: 0;
    overflow: hidden;
    padding-top: 10px;
}

.discuss-list .item .defbox .img ul li {
    height: 80px;
    float: left;
    background: #ffffff;
    margin: 0px 10px 0px 0px;
    text-align: center;
    padding: 1px;
    min-width: 50px;
}

.discuss-list .item .defbox .img ul li img {
    width: auto;
    height: 80px;
}

.discuss-list .item .repbox {
    width: auto;
    height: auto;
    margin-top: 10px;
    background: #f5f5f5;
    border-radius: 3px;
    padding: 0 20px;
}

.discuss-list .item .repbox .repform {
    width: auto;
    height: auto;
    padding: 20px 0;
    display: none;
}

.discuss-list .item .repbox .repform .box {
    width: auto;
    height: auto;
    position: relative;
    padding-right: 128px;
    font-size: 0;
}

.discuss-list .item .repbox .repform textarea {
    width: 100%;
    height: 72px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 14px;
    color: #666;
    padding: 10px;
}

.discuss-list .item .repbox .repform input.btn {
    display: block;
    width: 54px;
    height: 22px;
    line-height: 22px;
    text-align: center;
    font-size: 13px;
    color: #fff;
    border: 0 none;
    border-radius: 3px;
    position: absolute;
    bottom: 0;
    cursor: pointer;
}

.discuss-list .item .repbox .repform input.btn.btn1 {
    background: #28b970;
    right: 64px;
}

.discuss-list .item .repbox .repform input.btn.btn2 {
    background: #cccccc;
    right: 0;
}

.discuss-list .item .repbox .repform .upfile {
    width: auto;
    height: 30px;
    line-height: 30px;
    text-align: center;
}

.discuss-list .item .repbox .repform .upfile a {
    font-size: 13px;
    color: #28b970;
}


.discuss-list .item .repbox .repitem {
    width: auto;
    height: auto;
    padding: 20px 0;
    border-bottom: 1px solid #ddd;
}

.discuss-list .item .repbox .repitem:last-child {
    border-bottom: 0 none;
}

.discuss-list .item .repbox .repitem .name {
    width: auto;
    height: 20px;
    line-height: 20px;
    float: left;
    font-size: 15px;
    color: #272727;
    margin-right: 20px;
}

.discuss-list .item .repbox .repitem .name span {
    color: #23c3a7;
}

.discuss-list .item .repbox .repitem .date {
    width: auto;
    height: 20px;
    line-height: 20px;
    float: left;
    font-size: 15px;
    color: #b5b5b5;
}

.discuss-list .item .repbox .repitem .txt {
    width: auto;
    height: auto;
    font-size: 15px;
    color: #272727;
    padding-top: 5px;
}

.discuss-list .item .repbox .repitem .img {
    width: auto;
    height: auto;
    font-size: 0;
    overflow: hidden;
    padding-top: 10px;
}

.discuss-list .item .repbox .repitem .img ul li {
    width: auto;
    height: auto;
    float: left;
    margin-right: 10px;
}

.discuss-list .item .repbox .repitem .img ul li img {
    width: 85px;
    height: 58px;
}


.replay-form {
    padding: 10px 0;
    display: none;
}

.replay-form table {
    margin: 0px;
    width: 100%;
    border: none;
}

.replay-form textarea {
    width: 100%;
    height: 72px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 3px;
    font-size: 14px;
    color: #666;
    padding: 10px;
}

.replay-form .upfile {
    width: auto;
    height: 30px;
    line-height: 30px;
    text-align: center;
}

.replay-form .btns {
    width: auto;
    height: 22px;
    margin-top: 12px;
    line-height: 22px;
    text-align: right;
}

.replay-form .upfile a {
    font-size: 13px;
    color: #28b970;
}

.replay-form input.btn {
    display: inline-block;
    width: 50px;
    height: 22px;
    line-height: 22px;
    text-align: center;
    font-size: 13px;
    color: #fff;
    border: 0 none;
    border-radius: 3px;
    cursor: pointer;
    margin: 0;
    outline: none;
}

.replay-form input.btn.btn1 {
    background: #28b970;
}

.replay-form input.btn.btn2 {
    background: #cccccc;
}

.replay-form .input-images .img-item {
    margin: 5px 10px 5px 0px;
}

.replay-form .input-files .file-item {
    margin: 5px 10px 5px 0px;
}


/*--弹窗公共样式--*/
.layui-layer.layer-nobg {
    background: none;
}

.openbox {
    width: auto;
    height: auto;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 3px;
    display: none;
}

.openbox-title {
    width: auto;
    height: auto;
    font-size: 16px;
    color: #28b970;
    font-weight: bold;
    margin: 0 24px;
    padding: 16px 0;
    border-bottom: 1px solid #e8e8e8;
}

.openbox-close {
    width: 30px;
    height: 30px;
    position: absolute;
    right: 20px;
    top: 12px;
    cursor: pointer;
    background: url("../images/layer-close.png") no-repeat center;
}

.openbox-btns {
    width: auto;
    height: auto;
    padding: 0 24px 20px 24px;
    text-align: right;
    position: relative;
    font-size: 0;
}

.openbox-btns .btn {
    display: inline-block;
    width: 60px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    border-radius: 3px;
    border: 0 none;
    font-size: 13px;
    color: #fff;
    margin-left: 20px;
}

.openbox-btns .btn.btn1 {
    background: #28b970;
}

.openbox-btns .btn.btn2 {
    background: #cccccc;
}

.openaddhappystu-form {
    width: auto;
    height: auto;
    padding: 20px 24px;
}

.openaddhappystu-form .upimgs {
    width: auto;
    height: auto;
}

.openaddhappystu-form .upimgs .note {
    width: auto;
    height: auto;
    font-size: 15px;
}

.openaddhappystu-form .upimgs .note a {
    color: #28b970;
}

.openaddhappystu-form .upimgs .note span {
    color: #999;
}

.openaddhappystu-form .text {
    width: auto;
    height: auto;
    padding-top: 20px;
}

.openaddhappystu-form .text textarea {
    width: 100%;
    height: 138px;
    border: 1px solid #ddd;
    border-radius: 3px;
    padding: 10px;
    font-size: 14px;
    color: #666;
}
