.stock_new_subcomment,.stock_new_subform {
    margin: 1.5em 0;
    /*padding-right: 4em;*/
}       
.show_all_comment{
    background: #0E552A;
    border-radius: 3px;
    color: #fff;
    height: 30px;
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 1.7;
    align-items: center;
    text-align: center;
    color: #FFFFFF;
    flex: none;
    order: 0;
    flex-grow: 0;
    padding: 6px 0 4px 0;
}
.stock_new_subcomment .post
{
    padding: 5px 16px 16px 16px;
}
.stock_new_subcomment .show .box-sub-comment-old {
    margin-top: 16px;
    background-color: #FAFAFA;
    border-radius: 4px;
    border: 1px solid #0E552A;
}
.stock_new_subcomment .postbody {
    width: 80%;
    padding: 16px 16px 1em;
}
.stock_new_subcomment .box-sub-comt-inner {
    display: flow;
}
.stock_new_subcomment .postprofile {
    width: 15vw;
    padding: 16px 16px 1em;
}
@media screen and (min-width:600px) and (max-width:900px) {  
    .stock_new_subcomment .postbody { width:72% !important;}
    .section-viewtopic .stock_new_subcomment .postbody { width: 75%;}
}
@media screen and (min-width:900px) and (max-width:1300px) {  
    .stock_new_subcomment .postbody { width:76% !important;}
    .section-viewtopic .stock_new_subcomment .postbody { width: 77%;}
}
@media screen and (min-width:1300px) and (max-width:1600px) {  
    .stock_new_subcomment .postbody {width:76.5% !important;}
    .section-viewtopic .stock_new_subcomment .postbody { width: 79%;}
}
@media screen and (min-width:1600px) and (max-width:1800px) {  
    .stock_new_subcomment .postbody { width: 77.5% !important;}
    .section-viewtopic .stock_new_subcomment .postbody { width: 79.5%;}
}
@media screen and (min-width:1800px) and (max-width:4000px) {  
    .stock_new_subcomment .postbody { width:  78.5% !important;}
    .section-viewtopic .stock_new_subcomment .postbody { width: 80%;}
}
/*@media screen and (min-width:2000px) and (max-width:4000px) {  
    .stock_new_subcomment .postbody { width: 66.5vw;}
}*/
.stock_new_subcomment  .action-bar.bar-bottom{background-color: transparent;}
.stock_new_subcomment  .action-bar.bar-bottom .button {
    float: right;
        border: 1px solid #DADADA;
        width: 92px;
        height: 25px;
        border-radius: 4px;
            margin-right: 0;
} 
.stock_new_subcomment  .action-bar.bar-bottom .button  .shared-icon{
    padding-right: 0.5em;    
    height: 1em;
    margin-top: -0.5em;
}

.stock_new_subform textarea{width: 98%;padding: 0.5em 1em;}
.stock_new_subform input.button.btn-post-type.active, .stock_new_subform input.sub_com_closed.button.btn-post-type {
    padding: 0.5em 0em;
    line-height: 0.5;
    width: 100px;
}
 .stock_new_subform input.sub_com_closed.button.btn-post-type{background-color: transparent;color: #272522;}
 .stock_new_subform .title_comment{
        font-weight: 400;
        font-size: 16px;
        margin-bottom: 0.5em;
  }
  .stock_new_subcomment div.box-sub-comment-old{    padding-left: 0;}
  .section-viewtopic .stock_new_subcomment .show .box-sub-comment-old {
    margin-top: 16px;
    background-color: transparent;
    border-radius: 0;
    border: none;
        padding-right: 0;
}


.stock_new_subcomment .img_loading {
    border: 3px solid #f3f3f3;         /* สีเทาอ่อน */
    border-top: 3px solid #7FB036;     /* สีเขียว */
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
    margin: 5px 0;
     position: absolute;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.stock_new_subcomment, .stock_new_subform{position: relative;}
.stock_new_subcomment .postbody .content{    padding: 0.5em;}
.group_stocknews a.button.btn-post-type{    background-image: none;    margin-right: 0;}
.stock_new a.button.btn-post-type{line-height: 1.8;}
.section-viewtopic .stock_new_subcomment .subcomment-post span.subcomment-no {
        display: contents;
    line-height: 2.5;
}
.sceditor-button-botsubimg > div {
    background: none !important;
    width: auto !important;
    padding: 0 6px !important;
    font-size: 14px !important;
    color: #272522 !important;
    font-weight: 400 !important;
    display: inline-block !important;
    position: relative !important;
    line-height: normal !important;
    overflow: visible !important; /* สำคัญ เพิ่มรูปภาพ */
}
.sceditor-button-botsubimg {
        text-indent: 0px !important;
    width: auto;
    padding: 0 0.5em;
        height: 27px;
        
}