﻿.navbar-head {
    border-bottom: 2px solid #FB3C7D;
    background: #FFF;
    padding-top: 1.5px;
    padding-bottom: 1.5px;
}

.navbar-head  .navbar-brand h1 {
    font-size: 14px;
}

.navbar-head .navbar-brand p {
    font-size: 12px;
}

.navbar-light .navbar-nav .nav-link {
    white-space: normal;
    word-break: break-word;
}

.navbar-head .nav-link.active, .navbar-head .show > .nav-link {
    color: var(--brand-color)!important;
    font-weight: 700;
}

.navbar-head .dropdown .dropdown-menu {
    border: 0;
    border-radius: 0;
}

.navbar-head .dropdown .dropdown-menu .dropdown-item {
    font-size: 14px;
    color: rgba(0,0,0,.55)!important;
    padding: 10px;
}

.navbar-head .dropdown .dropdown-toggle::after {
    margin-left: 2px;
}

.navbar-head .dropdown-item:focus, .dropdown-item:hover {
    background-color: #e9ecef!important;
}

.navbar-head .dropdown-menu .dropdown-item.active {
    background-color: transparent !important;
    color: var(--brand-color) !important;
}

.input-group-search {
    width: 195px;
    max-width: 100%;
}

.input-group-search .form-control {
    border: 1px solid #9C9C9C;
    border-radius: 50px 0 0 50px;
    height: 30px;
}

.input-group-search .btn-search {
    width: 40px;
    height: 30px;
    background: linear-gradient(180deg, #F3004C 0%, #CA174C 100%), #FFF;
    border-radius: 0 50px 50px 0;
    position: relative;
}

.input-group-search .btn-search::before {
    content: "";
    background-image: url(../images/icon/search.png);
    background-repeat: no-repeat;
    background-size: 18px;
    width: 18px;
    height: 18px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.navbar-head .btn-search-h {
    background-image: url(../images/icon/search-square.png);
    background-repeat: no-repeat;
    background-size: 40px;
    width: 40px;
    height: 40px;
    border: 0!important;
    transition: all 0.3s ease;
}

.navbar-head .btn-search-h.active {
    background-image: url(../images/icon/search-square-at.png);
}

.input-group-search.lg .form-control {
    height: 40px;
}

.input-group-search.lg .btn-search {
    width: 50px;
    height: 40px;
}

.navbar-lang .nav-lang-img {
    width: 28px;
    height: 20px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: 50%;
}

.navbar-lang .dropdown-menu .dropdown-item {
    background-repeat: no-repeat;
    background-size: 28px 20px;
    background-position: 15px 50%;
    padding: 10px 10px 10px 50px!important;
    display: flex;
    align-items: center;
    color: var(--base-color)!important;
    font-size: 14px;
}

.navbar-lang .dropdown-menu {
    position: absolute!important;
    left: auto;
    right: 0;
    padding-top: 0;
    padding-bottom: 0;
}

.navbar-lang .dropdown-item:focus, .navbar-lang .dropdown-item:hover {
    background-color: #e9ecef!important;
}

footer {
    background: #FDACAE;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

footer .ft-info h1 {
    font-size: 16px;
}

footer .list-contact {
    list-style-type: none;
}

footer .list-contact li {
    display: inline-block;
    position: relative;
    padding-left: 25px;
}

footer .list-contact .ft-ic:before {
    content: "";
    background-repeat: no-repeat;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    margin-right: 10px;
}

footer .list-contact .ft-ic.ic-phone:before {
    background-image: url(../images/icon/phone.png);
    background-size: 14px;
    width: 14px;
    height: 14px;
}

footer .list-contact .ft-ic.ic-fax:before {
    background-image: url(../images/icon/fax.png);
    background-size: 17px;
    width: 17px;
    height: 17px;
}

footer a .img-social {
     transition: transform 0.3s ease;
}

footer a:hover .img-social {
    transform: scale(1.1);
}

footer .ft-copyright {
    background: #CA174C;
    color: #FFF;
}

.wrapper {
    padding-top: 80px;
    flex: 1 0 auto; /* ทำให้ขยายได้ */
    z-index: 2;
}

.slider-hero .slick-dots li {
    margin: 0;
}

/* ปรับขนาด slick dots */
.slider-hero .slick-dots li button {
    width: 15px;
    height: 15px;
    padding: 0;
}

/* ปรับรูปร่างให้เป็นวงกลม */
.slider-hero .slick-dots li button:before {
  font-size: 15px;
  color: #D9D9D9;
  opacity: 1;
}

/* สีจุดเมื่อ active */
.slider-hero .slick-dots li.slick-active button:before {
  color: #F3004C; 
}

.slider-hero img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.btn-style {
    border-radius: 50rem;
    min-height: 40px;
}

h2 {
    font-size: 36px;
}

h3 {
    font-size: 24px;
}

h5 {
    font-size: 18px;
}

h6 {
    font-size: 16px;
}

.btn-link.uf {
    text-decoration: underline!important;
}

.btn-link:hover {
    text-decoration: none!important;
}

.btn-link.hide-uf:hover {
    text-decoration: underline !important;
}

.title-line {
    font-size: 20px;
    display: flex;
    align-items: stretch; 
}

.title-line::before {
    content: "";
    width: 3px;
    height: 35px;
    background: var(--brand-color);
    display: inline-block;
    margin-right: 10px;
    margin-top: -6px;
    flex-shrink: 0;
}

.bg-news {
    background: rgba(255, 182, 182, 0.40);
}

.card-news {
    border-radius: 20px;
    background: #FFF;
    padding: 15px;
    border: 0;
}

.card-news .photo-thumb {
    border-radius: 10px;
}

.card-news .card-title {
    color: #333!important;
    font-size: 14px!important;
    line-height: normal;
    transition: color 0.3s ease;
}

.card-news .card-title.ellipsis-2-lines {
    height: 43px;
}

.card-news .card-text {
    color: #AEAEAE;
    font-size: 12px;
}

.text-date::before {
    content: "";
    display: inline-block;
    background-image: url(../images/icon/calendar.png);
    background-repeat: no-repeat;
    background-size: 16px;
    width: 16px;
    height: 16px;
    margin-right: 5px;
    position: relative;
    top: 3px;
}

.text-view::before {
    content: "";
    display: inline-block;
    background-image: url(../images/icon/view.png);
    background-repeat: no-repeat;
    background-size: 14px 8px;
    width: 14px;
    height: 8px;
    margin-right: 5px;
}

.text-location::before {
    content: "";
    display: inline-block;
    background-image: url(../images/icon/pin.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 12px;
    height: 12px;
    margin-right: 5px;
}

.text-time::before {
    content: "";
    display: inline-block;
    background-image: url(../images/icon/clock.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 10px;
    height: 10px;
    margin-right: 5px;
}


.card-news:hover .card-title {
    color: var(--brand-color)!important;
}

.card-news:hover .photo-thumb .photo {
    transform: scale(1.1);
}

.card-news.border {
    border: 1px solid #DFDFDF!important;
}

.card-list {
    border-radius: 20px;
    border: 1px solid #BFBFBF;
    transition: all 0.3s ease;
}

.card-list .card-title {
    font-size: 18px;
}

.card-list .card-text * {
    font-size: 14px!important;
    color: var(--base-color)!important;
}

.card-list .img-list {
    border-radius: 10px;
    width: 115px;
}

.card-list.hover-text:hover {
    color: var(--brand-color);
}

a.card-list:hover .card-title.text-brand {
    color: #EB6D94!important;
}

.menu-service img {
    transition: transform 0.3s ease;
}

.menu-service:hover img {
    transform: scale(1.1);
}

.list-event-calendar {
    display: flex;
    align-items: center;
    gap: 20px; /* ระยะห่างระหว่าง date กับข้อความ */
}

.list-event-calendar .label-date {
    flex: 0 0 68px; /* บังคับความกว้าง 68px ไม่ให้ยืด-หด */
    width: 68px;
    height: 60px;
    background: linear-gradient(180deg, #F3004C 0%, #CA174C 100%);
    color: #FFF;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.list-event-calendar .label-date h1 {
    font-size: 24px;
}

.list-event-calendar h2 {
    font-weight: 400;
    font-size: 14px!important;
    line-height: normal;
    color: var(--base-color);
    transition: color 0.3s ease;
}

.list-event-calendar:hover h2 {
    color: var(--brand-color);
}

.event-calendar-group.extra .list-event-calendar {
    flex-direction: column;
    align-items: start;
    gap: 0;
    border-top: 1px dashed #C8C8C8;
    padding-top: 10px;
}

.event-calendar-group.extra .list-event-calendar:first-child {
    border-top: none;
}

.event-calendar-group.extra .list-event-calendar h2 {
    color: var(--base-color)!important;
}

.event-calendar-scroll {
/*    max-height: 345px;*/
    max-height: 390px;
    overflow-y: auto;
    overflow-x: hidden;
}

/* ตัว scrollbar ทั้งแถบ */
.event-calendar-scroll::-webkit-scrollbar {
  width: 6px;  /* ความกว้าง scrollbar แนวตั้ง */
  height: 150px; /* ความสูง scrollbar แนวนอน */
}

/* แถบ scrollbar (ราง) */
.event-calendar-scroll::-webkit-scrollbar-track {
  background: transparent;  /* สีพื้นราง scrollbar */
}

/* ตัวเลื่อน scrollbar */
.event-calendar-scroll::-webkit-scrollbar-thumb {
  background-color: #EDEDED;  /* สีเลื่อน */
  border-radius: 50px;
}

/* เลื่อน hover */
.event-calendar-scroll::-webkit-scrollbar-thumb:hover {
  background-color: #9C9C9C;
}

.quote {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px; /* ควบคุมระยะห่างระหว่าง quote กับข้อความ */
    text-align: center;
}

.quote::before,
.quote::after {
    content: "";
    flex: 0 0 auto; /* ห้ามยืด/หด */
    width: 24px;
    height: 20px;
    background-repeat: no-repeat;
    background-size: contain;
}

.quote::before {
    background-image: url(../images/quote-start.png);
    align-self: flex-start;
}

.quote::after {
    background-image: url(../images/quote-end.png);
    align-self: flex-end;
}

.quote .text-quote {
    font-size: 18px;
    font-style: italic;
    max-width: 100%;
}

.text-label {
    display: inline-block;
    background: rgba(0, 0, 0, 0.10);
    font-size: 18px!important;
    padding: 10px 20px;
}

.has-img-top {
    position: relative;
    z-index: 1;
}

.content-text {
    position: relative;
    z-index: 1;
}

.btn-file::after {
    content: "";
    display: inline-block;
    vertical-align: middle;
    background-image: url(../images/icon/upload-file.png);
    background-repeat: no-repeat;
    background-size: 14px 17px;
    width: 14px;
    height: 17px;
    margin-left: 10px;
}

.btn-open-link::after {
    content: "";
    display: inline-block;
    vertical-align: middle;
    background-image: url(../images/icon/open-link.png);
    background-repeat: no-repeat;
    background-size: 18px;
    width: 18px;
    height: 18px;
    margin-left: 10px;
}

.btn-white.btn-file::after {
    content: "";
    display: inline-block;
    vertical-align: middle;
    background-image: url(../images/icon/upload-file-pink.png);
    background-repeat: no-repeat;
    background-size: 14px 17px;
    width: 14px;
    height: 17px;
    margin-left: 10px;
}

.has-img-arrow {
    position: relative;
    z-index: 1;
}

.border-map {
    border-radius: 10px;
    border: 3px solid #FB3C7D;
    overflow: hidden;
}

.pdf-preview-box {
  background-color: var(--brand-color);
  border-radius: 20px;
}

.pdf-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.btn-download {
  background-color: white;
  color: #ff2c91;
}

.btn-download:hover {
  background-color: #ffe3ef;
}

.pdf-frame-wrapper iframe {
  width: 100%;
  height: 500px;
  border: none;
}

.nav-pills-vertical {
    border-radius: 20px;
    background-color: #E5E5E5;
    overflow: hidden;
}

.nav-pills-vertical .nav-link.active, .nav-pills-vertical .show > .nav-link {
    background-color: var(--brand-color);
    color: var(--body-color)!important;
}

.nav-pills-vertical .nav-link {
    color: var(--base-color);
    text-align: left;
    padding: 15px 25px;
}

.nav-pills-vertical .nav-link:hover {
    color: var(--brand-color);
}

.sider-wrapper .lSSlideOuter .lSPager.lSGallery li {
    border: 1px solid transparent;
    transition: border 0.3s ease;
}

.sider-wrapper .lSSlideOuter .lSPager.lSGallery li:hover {
    border-color: var(--brand-color);
}

.accordion-main .accordion-item {
    margin-top: 15px;
    margin-bottom: 15px;
    border: 0;
}

.accordion-main .accordion-button {
    color: var(--base-color);
    background-color: var(--gold-color);
    box-shadow: none !important;
    font-weight: 700;
    font-size: 18px;
}

.accordion-main .accordion-button::after {
    background-image: url(../images/icon/arrow-down.png);
    background-size: 13px 8px;
    width: 13px;
    height: 8px;
}

.accordion-main .accordion-body {
    font-size: 14px;
    padding: 0;
}

.accordion-main .accordion-body-item {
    background: #F4F4F4;
    margin-bottom: 10px;
    padding: 20px 15px;
}

/* ซ่อนข้อความของ event */
.fc .fc-event-title, .fc .fc-event-time {
    display: none;
}

/* ทำให้ event เป็นจุดกลมๆ */
.fc .fc-event {
    width: 5px;
    height: 5px;
    background-color: #F81359;
    border-radius: 50%;
    border: none;
    margin: auto;
    padding: 0;
    display: block;
}

/* จัดตำแหน่งจุดไว้ตรงกลาง cell */
.fc-daygrid-day-events {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%; /* ให้สูงเท่ากับ cell */
}

.fc .fc-daygrid-day-frame {
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
}

.fc .fc-daygrid-day-top {
    justify-content: center;
}

.fc .fc-toolbar.fc-header-toolbar {
    margin-bottom: 1.2em;
}

.fc .fc-scroller-harness {
    margin-bottom: 1.5em;
}

/* ลบเส้นขอบของแต่ละวัน (cell) */
.fc-daygrid-day {
    border: none !important;
    box-shadow: none !important;
}

/* ลบเส้นขอบของ header วันที่ */
.fc-col-header-cell {
    border: none !important;
    box-shadow: none !important;
}

.fc-daygrid-day-number {
    width: 40px;
    height: 40px;
    text-align: center;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* วงกลมสีที่วันที่ปัจจุบัน */
.fc-day-today {
    position: relative;
    background: transparent !important; /* ป้องกัน background เดิมทับ */
}

/* ตัวเลขวันที่ */
.fc-day-today .fc-daygrid-day-number {
  background-color: #F81359;
  color: #FFF;            
  width: 40px;
  height: 40px;
  text-align: center;
  border-radius: 50%;      
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  user-select: none;
}

.fc-daygrid-day-number.active {
    background-color: #F81359;
    color: #FFF !important;
    width: 40px;
    height: 40px;
    text-align: center;
    border-radius: 50%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

body .fc-day-today .fc-daygrid-day-number:hover,
body .fc-daygrid-day-number.active:hover {
    color: #FFF !important;
}

.fc .fc-scrollgrid, .fc-theme-standard td, .fc-theme-standard th {
    border: 0;
}

/* 1. เอา scroll ในกรอบวัน */
.fc .fc-daygrid-day-frame {
  height: 60px !important;       ปรับความสูงตามต้องการ 
  max-height: 60px !important;
  overflow: visible !important; /* แสดงเนื้อหา ไม่ให้ scroll */
}

/* 2. เอา scroll ใน container event ของวัน */
.fc .fc-daygrid-day-events {
  max-height: none !important;  /* ไม่จำกัดความสูง */
  overflow: visible !important; /* แสดงเนื้อหาเต็ม */
}

/* 3. เอา scroll ของตารางหลัก (ถ้ามี) */
.fc {
  overflow: visible !important;
}

/* 4. กรณีมี container ซ้อนที่จำกัด scroll */
.fc .fc-scroller {
  overflow: visible !important;
  max-height: none !important;
  height: auto !important;
}

.fc .fc-button-primary {
    background-color: transparent!important;
    border: none!important;
    box-shadow: none!important;
}

.fc-icon-chevron-left::before, .fc-icon-chevron-right::before {
    color: #F81359;
}

.fc .fc-daygrid-day-number:hover{
    color: #F81359!important;
}

.fc .fc-col-header-cell-cushion {
    color: var(--base-color)!important;
}

@media (min-width: 576px) {
    .title-line::before {
        width: 4px;
        height: 45px;
        margin-right: 15px;
        margin-top: -8px;
    }

    .title-line {
        font-size: 24px;
    }

    h2 {
        font-size: 44px;
    }

    .quote .text-quote {
        font-size: 24px;
    }

    .quote {
        gap: 40px;
    }

    .sider-wrapper .lSSlideOuter .lSPager.lSGallery {
        margin-top: 10px !important;
    }
}

@media (min-width: 992px) {
    .navbar-head .nav-link {
        padding-right: 0.625rem!important;
        padding-left: 0.625rem!important;
    }

    .navbar-head .dropdown .dropdown-menu {
        margin-top: 0;
        padding-top: 0;
        padding-bottom: 0;
        opacity: 0;
        transition: opacity 0.2s ease-in-out;
    }

    /* เปิดเมนู dropdown เมื่อ hover */
    .navbar-head .dropdown:hover > .dropdown-menu {
        opacity: 1;
        display: block;
    }

    footer .ft-top {
        position: relative;
    }

    footer .ft-top::before {
        content: "";
        background-image: url(../images/img-footer01.png);
        background-repeat: no-repeat;
        background-size: contain;
        width: 300px;
        height: 90px;
        position: absolute;
        left: 0;
        bottom: 0;
    }

    footer .ft-top::after {
        content: "";
        background-image: url(../images/img-footer02.png);
        background-repeat: no-repeat;
        background-size: contain;
        width: 280px;
        height: 90px;
        position: absolute;
        right: 0;
        bottom: 0;
    }

    footer .ft-top .ft-top-inner {
        position: relative;
        z-index: 1;
    }

    footer .ft-top .container {
        width: 1150px;
    }

    .has-img-top::before {
        content: "";
        background-image: url(../images/img-top.png);
        background-repeat: no-repeat;
        background-size: contain;
        width: 915px;
        height: 185px;
        position: absolute;
        top: 0;
        right: 0;
        z-index: 0;
    }

    .has-img-arrow::after {
        content: "";
        background-image: url(../images/vector-arrow.png);
        background-repeat: no-repeat;
        background-size: contain;
        width: 310px;
        height: 600px;
        position: absolute;
        bottom: 0px;
        right: 5%;
        z-index: 0;
    }

    .accordion-wrapper {
        margin-top: 120px;
    }

    .calendar-wrapper {
        margin-top: 80px!important;
    }
}

@media (max-width: 991px) {
    .navbar-head .navbar-collapse {
      position: fixed;
      top: 80px;
      right: -100%;
      width: 100vw;
      height: calc(100vh - 80px);
      background-color: var(--body-color); 
      overflow-y: auto;
      transition: opacity 0.3s ease;
      opacity: 0;
      z-index: 9999;
      padding: 15px;
    }

    .navbar-head .navbar-collapse.show {
      opacity: 1;
      right: 0;
    }

    .navbar-head .navbar-toggler {
        padding: 0;
        box-shadow: none !important;
        border: none !important;
    }

    .navbar-toggler .navbar-toggler-icon {
        transition: all 0.3s ease;
    }

    /* ตอนปิดเมนู (มี collapsed class) */
    .navbar-toggler.collapsed .navbar-toggler-icon {
        background-image: url(../images/icon/hamburger.png);
        background-repeat: no-repeat;
        background-size: 40px;
        width: 40px;
        height: 40px;
    }

    /* ตอนเปิดเมนู (ไม่มี collapsed class) */
    .navbar-toggler:not(.collapsed) .navbar-toggler-icon {
        background-image: url(../images/icon/closs-hamburger.png);
        background-size: 40px;
        width: 40px;
        height: 40px;
    }

    .navbar-head .search-box {
        position: absolute;
        top: -100%;
        left: 0;
        right: 0;
        border-bottom: 2px solid #FB3C7D;
        background: #FFE2E2;
        width: 100%;
        height: 70px;
        display: flex;
        justify-content: center;
        align-items: center;
        padding-left: 30px;
        padding-right: 30px;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .navbar-head .search-box.active {
         top: 80px;
         opacity: 1;
    }

    .navbar-head .search-box .input-group-search {
        width: 100%;
    }

    .search-box .input-group-search .form-control,
    .search-box .input-group-search .btn-search {
        height: 40px;
    }

    .search-box .input-group-search .btn-search {
        width: 55px;
    }

    .search-box .input-group-search .btn-search::before {
        background-size: 24px;
        width: 24px;
        height: 24px;
    }

    .navbar-head .dropdown .dropdown-menu {
        padding-left: 20px;
    }

    .navbar-lang {
        position: absolute;
        right: 15px;
    }

    .navbar-head .btn-mb-group {
        position: absolute;
/*        right: 60px;*/
        right: 15px;
    }

    .navbar-head .dropdown .dropdown-toggle::after {
        position: absolute;
        right: 0;
        top: 18px;
    }

    .img-ft {
        width: 70px;
    }
}


@media (max-width: 1440px) {
    .navbar-head .nav-link {
        padding-right: 0.5rem !important;
        padding-left: 0.5rem !important;
    }
}

@media (max-width: 575px) {
    .quote::before, .quote::after {
        width: 15px;
    }

    .sider-artical-group .lSAction > .lSPrev {
        left: 0 !important;
    }

    .sider-artical-group .lSAction > .lSNext {
        right: 0 !important;
    }
}

/*chat*/
chat .chat-topic {
    padding: 10px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    min-height: 63px;
    border-bottom: 0.75px solid #E0E0E0;
}

.chat .chat-body .chat-area {
    position: relative;
    overflow-y: scroll;
    height: calc(100vh - 260px);
}

.chat .chat-body .chat-area .chat-group {
    margin-top: 15px;
    margin-bottom: 15px;
}

.chat .chat-body .chat-area .chat-group .chat-user {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    margin-top: 5px;
}

.chat .chat-body .chat-area .chat-group .chat-item {
    padding: 10px;
    font-size: 14px;
    letter-spacing: 0.04em;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border-radius: 10px;
}

.chat .chat-body .chat-area .chat-group .chat-datetime {
    font-size: 12px;
    letter-spacing: 0.04em;
    color: rgba(0, 0, 0, 0.37);
    margin-top: 5px;
}

.chat .chat-body .btn {
    width: 175px;
    border-radius: 50rem;
    padding: 8px;
    font-size: 14px;
    color: rgb(255, 255, 255);
    margin-top: 10px;
}

.chat .chat-body .btn-green {
    background-color: #45916A !important;
}

.chat .border-brand {
    border: 1px solid var(--brand-color);
}

.chat .chat-body .chat-form textarea {
    font-family: "Prompt", sans-serif;
    width: 100%;
    height: 120px!important;
    background: rgb(255, 255, 255);
    border: 1px solid #CDCDCD;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border-radius: 10px;
    padding: 10px 50px 15px 15px;
    font-size: 14px;
    color: var(--base-color);
}

.chat .chat-group .align-items-end .chat-datetime {
    text-align: right;
}

@media only screen and (max-width: 767px) {
    .chat .chat-body .chat-area {
        height: calc(100vh - 360px);
    }
}

@media only screen and (min-width: 992px) {
    .chat .chat-topic {
        padding: 15px 30px 10px;
    }

    .chat .chat-body .chat-area .chat-group .chat-user {
        margin-top: 12px;
    }

    .chat .chat-body .chat-area .chat-group .chat-item {
        padding: 12px 15px;
    }

    .chat .chat-body .chat-form textarea {
        height: 140px!important;
    }
}