.doctor-list .thumb .cover {
    padding-bottom: 100%;
}

.cover .img-cover {
    object-position: center top;
}

.concent {
    position: fixed;
    z-index: 1000;
    width: 100%;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.94);
    padding: 20px 0;
}

.concent .icon {
    width: 50px;
}

.concent .icon img {
    -webkit-filter: brightness(1) invert(1);
    filter: brightness(1) invert(1);
}

.concent .desc {
    color: #232122;
    line-height: 1.5em;
    margin-left: 20px;
    font-size: 16px;
}

.concent .desc .link {
    color: #232122;
    text-decoration: underline;
}

.concent .desc .link:hover {
    color: #0072bc;
}

.concent .action {
    margin-left: 40px;
}

.concent .action .btn {
    width: 140px;
}

.editor-content table td {
    padding: 0px;
    font-size: var(--typo-default);
    font-weight: var(--fw-default);
    border: unset;
}

.editor-content table {
    border: unset;
    width: 100%;
    margin-bottom: 40px;
    border-collapse: unset;
}

@media (max-width: 767px) {
    .editor-content table {
        width: 100% !important;
    }
    .editor-content table tr {
        display: revert;
    }
    .editor-content table td {
        display: table-cell;
        padding: 15px;
    }
    .editor-content table td {
        font-size: 17px;
        font-weight: var(--fw-normal);
    }
}

.wg-package-wrapper .cover {
    padding-top: 57%;
}

.package-program .cover {
    padding-top: 57%;
}

.ui-datepicker {
    font-family: "Noto Sans Thai", sans-serif;
}

.ui-widget select {
    font-family: "Noto Sans Thai", sans-serif;
}

.ui-datepicker td a {
    text-align: center;
}

.ui-state-default,
.ui-widget-content .ui-state-default {
    border: none;
    background: #fff;
    font-size: var(--typo-xs);
    padding: 10px 2px;
    position: relative;
}

.ui-state-highlight,
.ui-widget-content .ui-state-highlight {
    color: #fff;
    background: var(--color-primary);
    position: relative;
    border-radius: 5px;
}

.ui-state-default,
.ui-widget-content .ui-state-default.ui-state-active {
    color: #fff;
    background: var(--color-default);
    position: relative;
    border-radius: 5px;
}

.ui-state-default,
.ui-widget-content .ui-state-default.ui-state-hover {
    color: #fff;
    background: #ddd;
    position: relative;
    border-radius: 5px;
}

.ui-state-default,
.ui-widget-content .ui-state-default.ui-state-active::before,
.ui-state-default,
.ui-widget-content .ui-state-default.ui-state-hover::before,
.ui-state-highlight,
.ui-widget-content .ui-state-highlight::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    background: url("../img/background/btn.png") top right no-repeat;
    -webkit-transition: all 400ms ease;
    transition: all 400ms ease;
}

.ui-datepicker select {
    border: none;
    background: none;
    color: #fff;
    z-index: 1;
    cursor: pointer;
}

.ui-datepicker select.ui-datepicker-month {
    text-align: right;
    font-size: 20px;
}

.ui-datepicker select.ui-datepicker-year {
    font-size: 17px;
    font-weight: bold;
}

.ui-datepicker select option {
    background-color: #f8f9fa;
    /* Default background color */
    color: #000000;
    /* Default text color */
}

.ui-widget-header {
    border: 1px solid #ddd;
    background: var(--color-primary);
    color: #fff;
    position: relative;
    border-radius: 5px;
}

.ui-widget-header::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    background: url("../img/background/btn.png") top right no-repeat;
    -webkit-transition: all 400ms ease;
    transition: all 400ms ease;
}

.ui-datepicker-title {
    position: relative;
    z-index: 1;
}

.ui-widget-header .ui-icon {
    background-image: url("../img/icon/ui-icons_444444_256x240.png");
}

.ui-datepicker .ui-datepicker-prev {
    left: 5px;
}

.ui-datepicker .ui-datepicker-next {
    right: 5px;
}

.ui-datepicker .ui-datepicker-prev,
.ui-datepicker .ui-datepicker-next {
    top: auto;
    cursor: pointer;
}

.ui-datepicker .ui-datepicker-prev-hover,
.ui-datepicker .ui-datepicker-next-hover {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
}

.ui-datepicker th {
    text-align: center;
    font-weight: bold;
    font-size: 15px;
    width: 14.28%;
}

.ui-datepicker-title .select2-container--default .select2-selection--single {
    font-family: "Noto Sans Thai", sans-serif;
    border: none;
    border-radius: 5px;
}

.ui-datepicker-title .select2-container .select2-selection--single .select2-selection__rendered {
    line-height: normal;
    font-size: 15px;
    color: #fff
}


/* ปรับขนาดฟอนต์สำหรับ Select2 ที่อยู่ใน Datepicker */

#select2-datepicker-select2-month-results .select2-results__option,
#select2-datepicker-select2-year-results .select2-results__option {
    font-size: 15px;
    /* ปรับขนาดฟอนต์ตามที่คุณต้องการ */
    padding: 10px 25px;
}

.ui-state-disabled,
.ui-widget-content .ui-state-disabled,
.ui-widget-header .ui-state-disabled {
    opacity: 0;
    background-image: none;
}

.news-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 0px 0px;
    grid-template-areas: "pin pin . ." "pin pin . ." ". . . .";
}

.item-list.news-grid>li.pin {
    grid-area: pin;
}

.item-list.news-grid>li {
    width: 100% !important;
}

.item-list.news-grid::before,
.item-list.news-grid::after {
    content: none;
    display: table;
}

@media (max-width: 480px) {
    .news-grid {
        display: flex !important;
    }
}

.package-list .item-list::before {
    content: unset !important;
}

.package-list .item-list {
    display: grid !important;
    gap: 0px 0px;
    grid-template-areas: ".   .   .";
}

.package-list .item-list>li {
    padding: 15px;
    width: 100% !important;
}

@media (max-width: 991px) {
    .package-list .item-list {
        display: grid !important;
        gap: 0px 0px;
        grid-template-areas: ". .";
    }
}

@media (max-width: 767px) {
    .package-list .item-list {
        display: grid !important;
        gap: 0px 0px;
        grid-template-areas: ".";
    }
}