.page-body {    margin: 0% 0% 5% !important;}
.show-vdo-course {    position: relative;    margin-right: 0;}
.button.btn-download {
    width: 200px;
    font-weight: 400;
    font-size: 16px;
    line-height: 2;
    text-align: center;
    color: #fff;
    margin-top: 0.8em;
    border-radius: 2px;
}
img.btn-fb {
    width: 16px !important;
    height: 16px;
    /*float: left;*/
    margin: 0.5em 10em 0.5em 0;
    vertical-align: middle;
    position: absolute;
}
/*.button.btn-shared {
    border: 1px solid #DADADA;
    border-radius: 2px;
    background-color: #0000;
    margin-top: 16px;
    font-weight: 400;
    font-size: 16px;
    line-height: 2;
    text-align: center;
    color: #fff;
    width: 200px;
    height: 40px;
}*/
.button.btn-shared {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #DADADA;
    border-radius: 2px;
    background-color: transparent;
    margin-top: 16px;
    font-weight: 400;
    font-size: 16px;
    line-height: 2;
    text-align: center;
    color: #fff;
    width: 200px;
    height: 40px;
        position: relative;
}
.action-shared.dark_lock_play {
    color: #fff;
    position: absolute;
    display: inline-block;
    top: 0;
       left: 0;
    width: 100%;
}
.action-shared .title {
    font-weight: 600;
    font-size: 24px;
    line-height: 36px;
    color: #fff;
}
.action-shared .load-cer {
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    padding-top: 16px;
    color: #fff;
}
/* Keep the replay action cursor as a normal arrow, not a text-selection cursor. */
.action-shared .replay_course,
.action-shared .replay_course:hover {
    cursor: default !important;
    -webkit-user-select: none;
    user-select: none;
}

span.tag-type{font-size: 14px;}
img.youtube-play {
    position: absolute;
    left: 50%;
    top: 45%;
    width: 5em !important;
}
.button.button-green {
    font-weight: 400;
    font-size: 16px;
    line-height: 2;
    text-align: center;
    color: #fff;
    margin-top: 0.8em;
    border-radius: 2px;
    width: 136px;
    height: 40px;
}
/*******pop up*******/

.modal-header{border-bottom: none;}
.row.item-lists {
    padding: 0.8em;
    border: 1px solid #DADADA;
    border-radius: 4px;
}
.modal-body {
    padding: 0.5rem 1.5rem 0 !important;
}
#payment-popup span.item-name {
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    color: #272522;
    max-width: 25em;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    width: 18em !important;
    display: block;
}
#payment-popup  span.item-amount {
    font-weight: 400;
    font-size: 12px;
    line-height: 18px;
    color: #555;
}
#payment-popup span.item-price {
    font-weight: 600;
    font-size: 24px;
    line-height: 2;
    text-align: right;
    color: #0E552A;
    
}
#payment-popup div.item-price{ text-align: right;}
#payment-popup .button.button-paid,#payment-popup .omise-checkout-button {
    background: #7FB036;
    border-radius: 2px;
    width: 100%;
    height: 40px;
    color: #FFFFFF;
}
#payment-popup .item-submit {  padding: 0.5rem 0.8rem !important}
#payment-popup .pay-omise {    text-align: center;    padding: 0 0 0.8em 0;}
#payment-popup .close,#payomise-popup .close{    font-weight: normal;    margin-top: -0.5em;}
.modal-header h2{line-height: 2.5;}
.regis-quick > div {padding-left: 0; padding-right: 0;}
span.title-regis {
    font-weight: 600;
    font-size: 18px;
    line-height: 27px;
    color: #272522;
    display: block;
}
.subtitle-regis{
    font-weight: 400;
font-size: 16px;
line-height: 24px;
/* identical to box height */

text-align: center;

/* SD75 */

color: #555555;
}
.subtitle-regis a{
color: #7FB036;
}
.regis-quick .form-group {
    padding-top: 1.8rem;
}
.regis-quick .form-group  input {
    border: 1px solid #DADADA;
    border-radius: 3px;
    height: 44px;
}
.regis-quick .form-group label {
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    display: flex;
    align-items: center;
    color: #272522;
}
.row.regis-quick {
    padding: 0.5rem 0.5rem 0.5rem 0.8rem !important;
    display: block;
    overflow-y: scroll;
    height: 40vh;
    position: relative;
}
.row.regis-quick::-webkit-scrollbar{
       width: 0.5em;
    height: 5px;

}
.row.regis-quick::-webkit-scrollbar-track {
  background: transparent; 
  
}
.row.regis-quick::-webkit-scrollbar-thumb {
  background: #C4C4C4;
    border-radius: 100px;
}
.row.regis-quick::-webkit-scrollbar-thumb:hover {
  background: #DADADA; 
}
#payment-popup .row.regis-quick .item-submit {
    padding: 1.5rem 0 !important;
}
.btn-notification.new-regis a, .btn-notification.new-regis a:hover {

    color: #FFFFFF;
}
.price-course {
    position: absolute;
/*    top: 75%;
    left: 3vw;*/
    float: left;
    /*width: 15rem;*/
    text-align: left;
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    /*line-height: 36px;*/
    color: #fff;
    bottom: 5em;
    left: 2em;
    z-index: 2;
}
.row.post-lists { margin: 1rem 0; }
.ans-avatar img.avatar {
    width: 56px;
    height: 56px;
}
.post-lists .ans-avatar {   width: fit-content;}
.post-lists .poster_by {
    font-weight: 400;
    font-size: 12px;
    line-height: 18px;
    color: #555;
}
.post-lists .poster_by span{color:#DADADA;padding: 0 8px;}
.post-lists .ans-detail .post-detail {
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 19px;
    color: #000;
    padding: 16px 0;
}
.post-lists .ans-detail .post-option button.button-w.btn-subcomment, button.button-w.btn-like {   
    line-height: 1.2;
    height: 25px;
    margin-right: 8px;
}
img.sub-icon {
    width: 12px;
    height: 10px;
    margin-right: 8px;
    margin-top: -0.3em;
}
.button-w{
    border: 1px solid #DADADA;
    border-radius: 4px;
    background: transparent;
    font-weight: 400;
    font-size: 14px;
     text-align: center;
    color: #272522;
        padding: 4px 8px;
}
img.like-icon {
    width: 14px;
    height: 14px;
    margin-right: 8px;
    margin-top: -0.5em;
}
button.button-w.btn-readmore {    width: 250px;}
.asnview-more {   margin-top: 3rem;}
img.ex-shared-fb {width: 100%;}
#underconstr-popup .modal-header,#facebook-popup .modal-header{    height: 20px;}
.vdo-course-detail .vdo-title { padding-top: 2rem;}
.vdo-title .title-name{    line-height: 1.5;}
.vdo-title .menu_course_view { margin-top: 2rem;}
.vdo-course {
    background: #555;
    text-align: center;
    padding: 0px 5.5% 0px;
}
#popup-likeinfo .like-row img.avatar {
    width: 48px ;
    height: 48px;
}
#popup-likeinfo .like-row{     padding: 0.5em 0 0.5em 0; border-bottom: 1px solid #DADADA;}
#popup-likeinfo .modal-header{padding-bottom: 0;}
.modal .modal-body.body-scroll {
    width: 100%;
    height: 60vh;
    overflow-y: scroll;
    list-style-type: none;
}
/*.modal  .modal-header .close{     font-weight: 400;    margin-top: -0.7em; }*/
#popup-likeinfo .like-row .like-username{     line-height: 3;}
#popup-likeinfo span.amont_like {
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 21px;
    color: #555;
}
.ans-detail .box-sub-comment { margin-top: 0.8em;}
.ans-detail .box-sub-comment input.button.btn-post-type.active {
    padding: 0 1.5em;
    border-radius: 4px;
    line-height: 1;
    margin-right: 0.8em;
    font-size: 14px;
    height: 30px;
}
.ans-detail .box-sub-comment input.sub_com_closed.button.btn-post-type {
    background-color: transparent;
    padding: 0 0.8em;
    border-radius: 4px;
    line-height: 1;
    border: 1px solid #DADADA;
    color: #272522;
    font-size: 14px;
    height: 30px;
}
.show-vdo-course  img.youtube-bar {width: 100%;}
.vdo-course.coures-list  .action-shared{width: 100%;     padding: 15em 40em;}
.price-course span.mem_pr {
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0px;
    text-align: left;
}
.price-course span.mem_pr .price { color:#5D9532;}
form#coruse_member {
    padding: 0.8em 0;
}
.vdo-recommen a.button-w.btn-readmore {   margin-top: 1em;width: 25%;}
iframe.show-v1,iframe.show-v2{
    background-color: #000000 ;
    opacity: 0.9;
}
.dark_lock_play {
      background-color: rgba(0, 0, 0, 0.7);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 7;
}
.price-course.dark_lock_play .row{
    position: absolute;
    bottom: 1.5em;
    left: 1.5em;
}
.card button.fav_link {z-index: 9;position: absolute;}
#payment-popup .row.regis-quick .item-submit .wait_save{text-align: center;}
h2 {font-size: 14px;    font-weight: bold;}
span.add_new_address {float: right;}
button.button-add.button-white {
    color: #7FB036;
    font-size: 14px;
    border-radius: 4px;
}
#payment-popup .address-option {
    /*display: flex;*/
    padding: 0.8em;
    border: 1px solid #DADADA;
    border-radius: 4px;
}
.address-part {padding-top: 16px;}
.address-option .edit-address {float: right;}
.address-option input[type="radio"] {
    width: 12px;
    height: 12px;
    margin-top: -0.3em;
}
#payment-popup #confirm_order .item-submit {
    padding: 0.5rem 0rem !important;
}
.after_regis .addr_name {
    /*padding: 1em 0.85em;*/
    font-weight: normal;
}
#address_recipt .modal-header h2 {
    line-height: 0;
}
#add_address_recipt .loading {
    border: 10px solid #f3f3f3;
    border-top: 10px solid #7FB036;
    border-radius: 50%;
    width: 70px;
    height: 70px;
    animation: spin 2s linear infinite;
    margin-left: 38%;
    display: block;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.confirm_detail .item-lists {
    display: block;
    padding: 0.8em;
    border: 1px solid #DADADA;
    border-radius: 4px;
}
.button.button-back.button-white {
    color: #7FB036;
    font-size: 14px;
    border-radius: 4px;
     width: 100%;
    background-color: transparent;
    margin-top: 16px;
}
.address-option .row_addr {
    width: 90%;
    display: inline-flex;
}
/*.button.btn-red {
    height: 40px;
    font-size: 16px;
    font-weight: 400;
    border-radius: 4px;
    border: none;
    color: #EF4D44;
    background-color: #F9D3D3;
}*/
.vdo-document .loading {
    border: 10px solid #f3f3f3;
    border-top: 10px solid #7FB036;
    border-radius: 50%;
    width: 70px;
    height: 70px;
    animation: spin 2s linear infinite;
    margin-left: 38%;
    display: block;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.show-vdo-course  #videoGallery video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.action-shared.dark_lock_play .shard_detail {
    padding-top: 20%;
}
.show-vdo-course  #videoGallery{padding-bottom:55%;position:relative;margin-left: 0.2em;}

#videoGallery .loading {
    border: 10px solid #f3f3f3;
    border-top: 10px solid #7FB036;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    animation: spin 2s linear infinite;
    margin: -30em 45em;
    display: block;
    position: absolute;
}
.subcomment-info .post-subcomment{
    background: #FAFAFA;
    border: 1px solid #0E552A;
    border-radius: 4px;
    margin : -8p 0 16px 0;
    padding: 16px;
}
.subcomment-info{    padding: 0.8em;}
.button.subcomment-bar {
    background: #0E552A;
    border-radius: 3px;
    height: 35px;
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 1;
    align-items: center;
    text-align: center;
    color: #FFFFFF;
    padding: 6px 0 4px 0;
    width: 100%;
}
button.button.btn-post-type {background-color: #FFF;padding: 0 4px; font-size: 14px;height: auto;    float: right;}
.button.btn-sub {
    height: 30px;
    border: 1px solid #DADADA;
    border-radius: 4px;
    font-size: 14px;
    line-height: 0;
    text-align: center;
    color: #FFFFFF;
    padding: 0 16px;
}
#videotitle {
  position: relative;
  overflow: hidden; /* เพื่อให้ภาพที่เต็มกว่าขอบของ div ถูกตัดทิ้ง */
}

#videotitle .title_ing {
  width: 100%; /* ให้ภาพเต็มขนาดของ div */
  height: auto; /* ให้สูงของภาพปรับตามอัตราส่วน */
  display: block; /* แสดงเป็นบล็อกเพื่อให้ CSS ทำงานได้ถูกต้อง */
}

#videotitle .click_play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* ให้ตำแหน่งอยู่กลาง */
  width: 56px; /* กำหนดขนาดของ div ปุ่ม play */
  height: 56px; /* กำหนดขนาดของ div ปุ่ม play */
  background-image: url('./images/play_icon.svg'); /* กำหนดรูปภาพของปุ่ม play */
  background-size: cover; /* ให้ภาพเต็มพื้นที่ของ div */
  z-index: 5; /* ให้ปุ่ม play อยู่ด้านบน */
}
.show_titlevdo::before{
    content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%; 
  height: 100%; 
  background-color: black; 
  opacity: 0.5;  
  z-index: 2;  
}
.show-vdo-recommen .show_tag {
    height: 30px;
}

@media screen and (min-width:540px) and (max-width:1290px) {                   
        .show-vdo-recommen  {
            display: inline-flex;
            -ms-overflow-style: auto;
            scrollbar-width: none;
            scrollbar-color: #DADADA #FFF;
            overflow-x: scroll;
            padding-left: 0;
        }
        .show-vdo-recommen .row {  display: contents;    }
        .show-vdo-recommen .col.item {            width: 18rem;        }
        .row.vdo-course-detail{    padding: 1.6em 3% 5% 6%;}
        .card-body {
            padding: 1em 0.8em;
          }
}
a.button.btn-post-type {
    font-size: 14px;
    border-radius: 4px;
    width: fit-content;
    background-color: transparent;
    border-color: #DADADA;
    border: 1px solid #DADADA;
    color: #555555;
    line-height: 1 !important;
    padding: 0.2em 0.3em;
    height: 33px;
}
.subcomment-info .post-option{text-align: right;padding-right: 0.2em;}
.link-product .price-full {  text-align: right;}
.row-price-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/*.row-price-info .num-stude,
.row-price-info .price-full {
    flex: 1;  ทำให้แต่ละคอลลัมกินพื้นที่เท่า ๆ กัน 
    padding: 0;  เพิ่มช่องว่างระหว่างคอลลัม 
   line-height: 1;
}*/
.row-price-info .num-stude {
    width: 10em; /* กำหนดความกว้างของ num-stude เป็น 20% */
    text-align: left; /* จัดข้อความให้ชิดซ้าย (ค่าเริ่มต้น) */
}

.row-price-info .price-full {
    width: 80%; /* กำหนดความกว้างของ price-full เป็น 80% */
    text-align: right; /* จัดข้อความให้ชิดขวา */
}
.num-stude .price-member {
    margin-top: 0;
}
.price-full {
    text-align: right; /* จัดข้อความในคอลลัมที่สองให้ชิดขวา */
}
.small-white{color:#FF; font-size:14px;}
.row-price-info .price-full.buy_mem {
    display: inline-block;
    float: right;
    font-size: 14px !important;
    line-height: 1.5 !important;
    color: #FF0000 !important;
}