@font-face {
    font-family: 'RobotoCondensedBold';
    font-style: normal;
    font-weight: 700;
    src: url('../app/design/fonts/roboto-condensed-v16-latin-ext_greek-ext_vietnamese_cyrillic_greek_latin_cyrillic-ext-700.eot'); /* IE9 Compat Modes */
    src: local('Roboto Condensed Bold'), local('RobotoCondensed-Bold'),
        url('../app/design/fonts/roboto-condensed-v16-latin-ext_greek-ext_vietnamese_cyrillic_greek_latin_cyrillic-ext-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
        url('../app/design/fonts/roboto-condensed-v16-latin-ext_greek-ext_vietnamese_cyrillic_greek_latin_cyrillic-ext-700.woff2') format('woff2'), /* Super Modern Browsers */
        url('../app/design/fonts/roboto-condensed-v16-latin-ext_greek-ext_vietnamese_cyrillic_greek_latin_cyrillic-ext-700.woff') format('woff'), /* Modern Browsers */
        url('../app/design/fonts/roboto-condensed-v16-latin-ext_greek-ext_vietnamese_cyrillic_greek_latin_cyrillic-ext-700.ttf') format('truetype'), /* Safari, Android, iOS */
        url('../app/design/fonts/roboto-condensed-v16-latin-ext_greek-ext_vietnamese_cyrillic_greek_latin_cyrillic-ext-700.svg#RobotoCondensed') format('svg'); /* Legacy iOS */
}

.inline-block{
    display:inline-block;
}
.pointer {
    cursor: pointer;
} .pointer:active {
    opacity: 0.5;
}

/* Comment input container with embedded send button */
.comment-input-container {
    position: relative;
    width: 100%;
    display: block;
}

textarea#commentContent {
    width: 100%;
    display: block;
    min-height: 60px;
    max-height: 215px;
    padding: 8px 50px 8px 8px; /* Extra right padding for send button */
    resize: vertical;
    box-sizing: border-box;
    border-radius: 12px;
    border: none;
}

/* Send button positioned inside the textarea */
.comment-input-container .comment-send-btn {
    position: absolute;
    top: 50%;
    bottom: auto;
    right: 8px;
    display: block;
    z-index: 2;
    margin: 0;
    padding: 0;
    transform: translateY(-50%);
}

.comment-input-container .comment-send-btn .btn {
    padding: 6px 10px;
    min-height: auto;
    line-height: 1;
    margin: 0;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

/* Reply comment form container */
.FormContainer .comment-input-container {
    position: relative;
    width: 100%;
    display: block;
}

.FormContainer > div.replyComment,
.FormContainer .comment-input-container > div.replyComment {
    overflow: auto;
    width: 100%;
    display: block;
    min-height: 60px;
    max-height: 215px;
    padding: 8px 90px 8px 8px; /* Extra right padding for both buttons */
    box-sizing: border-box;
    border: none;
}

/* Reply form buttons positioning */
.FormContainer .comment-send-btn {
    position: absolute;
    top: 50%;
    bottom: auto;
    right: 8px;
    display: inline-block;
    z-index: 2;
    transform: translateY(-50%);
}

.FormContainer .comment-cancel-btn {
    position: absolute;
    top: 50%;
    bottom: auto;
    right: 48px; /* Position next to send button */
    display: inline-block;
    z-index: 2;
    transform: translateY(-50%);
}

.FormContainer .comment-send-btn,
.FormContainer .comment-cancel-btn {
    padding: 4px 8px;
    min-height: auto;
    line-height: 1;
}

.replyContents > .FormContainer,
.com-content > .FormContainer {
    display: block;
    width: 100%;
    clear: both;
    box-sizing: border-box;
}

.FormContainer .comment-input-container {
    width: 100%;
    max-width: none;
}

div#com-title {
    font-weight: bold;
    font-size: 140%;
}
.comment {
    padding: 10px;
    box-sizing: border-box;
    margin-bottom: 10px;
}
#comment-list {
    padding: 0 10px 10px;
    box-sizing: border-box;
    margin-bottom: 10px;
    overflow: hidden;
}

.com-wrap {
    margin-bottom: 5px;
    word-wrap: break-word;
    overflow: visible;
    padding-bottom: 5px;
    border-bottom: 1px solid #d9d9d9;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0 10px;
}
.com-wrap > a,
.com-wrap > img,
.com-wrap > span {
    flex: 0 0 auto;
}
.com-author, .showReplyBox, .viewReply, .hideReply {
    font-family: "RobotoCondensedBold";
}
#comment-list .reply-edit,
#comment-list .com-delete {
    display: inline-block !important;
    margin-left: 10px;
    text-decoration: none;
    font-family: "RobotoCondensedBold";
}

#comment-list .translate-comment {
    --btnMinHeight: auto;
    display: inline-flex;
    align-items: center;
    min-height: 0 !important;
    height: auto;
    margin-left: 5px !important;
    padding: 1px 8px !important;
    line-height: 1.1;
    border-radius: 4px;
    vertical-align: middle;
}

#comment-list .translate-comment.btn7,
#comment-list .translate-comment.btn7:hover,
#comment-list .translate-comment.btn7:active,
#comment-list .translate-comment.btn7:visited {
    --btnMinHeight: auto;
    min-height: 0 !important;
}

.com-info {
    color: #999;
}
.com-content {
    padding-left: 0;
    flex: 1 1 0%;
    min-width: 0;
}
.com-text {

}
.com-text pre{
    margin: 0;
    display: inline-block;
    white-space: inherit;
}

/* Ratings */
#comment-list div.com-rate {
    float: right;
    margin: 0px 10px;
}
#comment-list div.com-rate a.com-rate-up {
    background: url(../content/misc/comment/thumb.gif) no-repeat top right;
    display: block;
    float: left;
    width: 16px;
    height: 18px;
    margin-right: 10px;
}
#comment-list div.com-rate a.com-rate-up:hover {
    background: url(../content/misc/comment/thumb.gif) no-repeat bottom right;
}
#comment-list div.com-rate a.com-rate-down {
    background: url(../content/misc/comment/thumb.gif) no-repeat top left;
    display: block;
    float: left;
    width: 16px;
    height: 18px;
    margin: 0px 5px;
}
#comment-list div.com-rate a.com-rate-down:hover {
    background: url(../content/misc/comment/thumb.gif) no-repeat bottom left;
}
#comment-list div.com-rate span.com-rating {
    color: #000;
    font-weight: bold;
}
#comment-list span.com-rating-green {
    color: #008000;
    font-weight: bold;
}
#comment-list span.com-rating-red {
    color: #ff3333;
    font-weight: bold;
}
.com-pager {

}

.replyContents {
    flex: 0 0 calc(100% - 60px);
    min-width: 0;
    padding: 0;
    margin-left: 60px;
    width: calc(100% - 60px);
    box-sizing: border-box;
}

.replyContents > .FormContainer {
    width: calc(100% + 60px);
    margin-left: -60px;
}

.replyComments .com-wrap > .commentInlineFormContainer {
    flex: 0 0 100%;
    min-width: 0;
    margin-left: 0;
    width: 100%;
}
.replyContents .showReplyBox,
.replyContents .viewReply,
.replyContents .hideReply,
.replyContents .unreadComment {
    margin-top: 0;
}
.FormContainer > div.replyComment {
    display: block;
    width: 100%;
    margin: 0 0 5px;
    max-width: none;
}
