#hm-comment .comment {

}
.course-tabs {
    background: #fff none repeat scroll 0 0;
}
#hm-comment .nav-tabs>li.active>a,
#hm-comment .nav-tabs>li.active>a:focus,
#hm-comment .nav-tabs>li.active>a:hover {
    box-shadow: 0 -4px 0 0 #2a70b8 inset;
    border: none;
    color: #2a70b8;
    font-weight: bold;
}

#hm-comment .nav-tabs>li>a {
    border: none;
    color: #505050;
    padding: 10px 5px;
}

#hm-comment .nav-tabs>li>a .fa {
    font-size: 14px;
    margin-right: 2px;
}

#hm-comment .nav-tabs {
    border: none;
}

#hm-comment .nav-tabs>li {
    border-bottom: 1px solid #ddd;
    width: 50%;
    text-align: center;
    font-size: 14px;
}

#hm-comment .nav>li>a:focus, #hm-comment .nav>li>a:hover {
    background-color: transparent;
    font-weight: bold;
}

#hm-comment .comment-action {
    text-align: center;
    margin-top: 24px;
    display: block;
}

#hm-comment .comment-action>span {
    margin: 0 15px;
    font-weight: 500;
}

#hm-comment .find-comment {
    width: 130px;
    display: inline-block;
    border-radius: 0;
    height: 32px;
}

#hm-comment .add-comment {
    display: inline-block;
    position: relative;
}

.add-comment .ac-button {
    width: 130px;
    border-radius: 0;
    font-weight: bold;
}

#hm-comment .find-comment-wrap {
    display: inline-block;
    position: relative;
}

.find-comment-wrap .clear-input {
    display: inline-block;
    position: absolute;
    top: 50%;
    right: 5px;
    margin-top: -7px;
    visibility: hidden;
}
.find-comment-wrap .clear-input a {
    font-family: monospace;
    line-height: 1;
    width: 12px;
    font-weight: bold;
    height: 12px;
    text-align: center;
    background-color: gray;
    color: white;
    border-radius: 5px;
    font-size: 11px;
    display: inline-block;
}

.ac-form {
    display: none;
    margin-top: 15px;
    position: absolute;
    width: 360px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    right: -115px;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 5px 10px 0px;
    background-color: white;
    z-index: 1000;
}

.ac-form .cf-head {
    display: block;
    text-align: left;
    border-bottom: 1px solid #eee;
    padding: 5px 10px;
    position: relative;
    font-size: 18px;
}

.ac-form .cf-head .btn-close {
    font-family: monospace;
    line-height: 1;
    width: 20px;
    font-weight: bold;
    height: 20px;
    text-align: center;
    font-size: 20px;
    display: inline-block;
    position: absolute;
    top: 2px;
    right: 2px;
}

.ac-form .cf-content {
    padding: 10px;
    text-align: left;
}

.ac-form .cf-content .form-control {
    margin-bottom: 10px;
}

.add-comment .arrow {
    left: 50%;
    margin-left: -11px;
    border-top-width: 0;
    border-bottom-color: #999;
    border-bottom-color: rgba(0,0,0,.25);
    top: -11px;
}

.arrow {
    border-width: 11px;
}

.arrow:after {
    border-width: 10px;
}

.arrow,
.arrow:after {
    position: absolute;
    display: block;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
}

.add-comment .arrow:after {
    content: " ";
    top: 1px;
    margin-left: -10px;
    border-top-width: 0;
    border-bottom-color: #fff;
}

.form-comment .tooltip {
    display: none !important;
}


/*comment item*/

.comment-container {
    width: 100%;
    margin-top: 30px;
}

.comment-item {
    width: 100%;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #d4d4d4;
}

.comment-item .ci-user{
    width: 10%;
    display: inline-block;
    vertical-align: top;
}

.comment-item .ci-user a {
    display: inline-block;
}

.comment-item .ci-user img {
    width: 28px;
}

.comment-item .ci-comment {
    width: 89%;
    display: inline-block;
    vertical-align: top;
}

.comment-item .ci-header {
    font-size: 13px;
    position: relative;
    display: block;
}

.comment-item .owner-action {
    display: none;
    position: absolute;
    top: 50%;
    right: 0px;
    margin-top: -10px;
    line-height: 20px;
    background-color: white;
}
.comment-item .owner-action a {
    padding: 0 3px;
}

.hmc-content .title {
    font-size: 15px;
    font-weight: 500;
    line-height: 23px;
    margin: 5px 0;
}

.hmc-content .content {
    font-size: 15px;
    margin: 5px 0;
}

.content-bottom .cb-action {
    display: inline-block;
    margin: 0 10px 0 0;
}

.content-bottom .cb-action i {
    margin-right: 5px;
}

.reply {
    border-left: 10px solid #DEDEDE;
    margin: 20px 0 10px 0;
    padding-left: 10px;
}

.reply-item {
    width: 100%;
}

.reply-item .ri-reply {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #d4d4d4;
}

.reply-item .ri-user {
    width: 8%;
    display: inline-block;
    vertical-align: top;
}

.reply-item .ri-user a {
    display: block;
}

.reply-item .ri-user img {
    display: block;
    width: 28px;
}

.reply-item .ri-reply {
    width: 91%;
    display: inline-block;
}

.reply-item .ri-header {
    font-size: 13px;
    position: relative;
    display: block;
}

.reply .add-reply {
    margin-left: 9%;
    margin-top: 10px;
    text-align: left;
}

.reply .add-reply textarea {
    width: 100%;
}

.tab-pane .tc-loading,
.tab-pane .tc-load {
    text-align: center;
    margin-bottom: 15px;
}

.edit-comment {
    display: none;
    padding: 15px 0;
}

.edit-comment input[type="text"] {
    margin-bottom: 15px;
}

.comment-container .empty {
    text-align: center;
    display: none;
}

#redactor-droparea-placeholder input[type=file] {
    display: inline-block !important;
}