.paginate_button .page-item {
    color: #fff;
    border-radius: 2px;
    padding: 10px;
    margin-right: 5px;
}

.paginate_button.page-item {
    background-color: #f0f2f5;
    border-radius: 2px;
    padding: 10px;
    margin-right: 5px;
    cursor: pointer;
}
.paginate_button.page-item.active {
    background-color: #27b479;
    color: #fff;
}

.pagination {
    display: flex;
}

.TopNewsTable .pagination li {
    margin-bottom: 0;
    padding: 10px;
}

.dataTables_info::before {
    background-image: none;
}

.dataTables_info {
    padding-right: 0;
}

.dataTables_length .form-control {
    padding: 0;
    padding-left: 0.4rem;
}

div.dataTables_wrapper div.dataTables_info {
    padding-top: 0.2em;
    margin-right: 5px;
}

thead tr:first-child {
    font-weight: bold;
}

.select2-container--default .select2-selection--single {
    border: 0.0625rem solid #ced4da;
    border-radius: 2px;
}

.select2-container .select2-selection--single {
    height: 38px;
}

.select2-container--default .select2-dropdown .select2-search__field,
.select2-container--default .select2-search--inline .select2-search__field {
    border: 1px solid #ced4da;
}
.select2-search__field:focus-visible {
    border: 1px solid #ced4da !important;
}

.alert {
    padding: 0.75rem 1.25rem;
    border: 1px solid transparent;
    color: white;
    margin-bottom: 10px;
    position: relative;
    border-radius: 0.25rem;
}

.alert-danger {
    background-color: #f44336;
}

.alert-success {
    background-color: #2fb986;
}

.closebtn {
    margin-left: 15px;
    color: white;
    font-weight: bold;
    float: right;
    font-size: 22px;
    line-height: 20px;
    cursor: pointer;
    transition: 0.3s;
    position: absolute;
    right: 2px;
    z-index: 1000;
    top: 2px;
}

.closebtn:hover {
    color: black;
}

.alert-item {
    padding: 2px 0;
    line-height: 20px;
}

.d-block {
    display: block;
}

.disabledContent {
    cursor: not-allowed;
}

.disabledContent > * {
    pointer-events: none;
}

input:disabled {
    background-color: #ccc;
}

.word-break {
    word-break: break-all;
}

.is-invalid {
    border-color: #dc3545 !important;
}

.is-invalid .select2-selection.select2-selection--single {
    border-color: #f44336 !important;
}

.icon-mg a {
    margin-right: 10px;
}

.select2-container {
    width: 100% !important;
}

.w-200 {
    width: 200px;
}

.d-flex {
    display: flex;
}

.align-items-center{
    align-items: center;
}

.mr-10{
    margin-right: 10px;
}

.d-none {
    display: none !important;
}

.justify-content-center {
    justify-content: center;
}
.lable_flex {
    display: flex;
}
.status_text_require {
    font-size: 11px;
    line-height: 100%;
    color: #fff;
    max-width: 60px;
    height: 20px;
    width: 100%;
    background-color: #27b479;
    border-radius: 20px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    -o-border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 2px;
    margin-left: 5px;
}
.btn-thanks {
    margin-top: 20px;
}
.in_active {
    background-color: #38424a;
}
button.fc-myCustomButton-button {
    display: none !important;
}

#top_calendar .select-fc {
    display: none !important;
}

.pt-2 {
    padding-top: 2rem !important;
}

.btn-dowload {
    background-color: #27b479;
    height: 36px;
    display: flex;
    align-items: center;
    font-weight: 500;
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
    border-width: 0;
    font-size: 1rem;
    border-radius: 2px;
    color: #fff;
    justify-content: center;
    width: 204px;
    margin: 0px 0px 20px 10px;

}

.btn-dowload:hover {
    background-color: #138a58;
}

.btn-stayroom-qrcode {
    background-color: #27b479;
    height: 30px;
    display: flex;
    align-items: center;
    font-weight: 450;
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
    border-width: 0;
    font-size: 1rem;
    border-radius: 2px;
    color: #fff;
    justify-content: center;
    width: 180px;

}

.btn-stayroom-qrcode:hover {
    background-color: #138a58;
}

#table-user .short_td:hover {
    background-color: #f0f2f5;
}

#table_rooms .short_td:hover {
    background-color: #f0f2f5;
}

.w-243 {
    width: 243px;
}

.whole-page-overlay {
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    position: fixed;
    background: rgba(0, 0, 0, 0.6);
    width: 100%;
    height: 100% !important;
    z-index: 1050;
    display: flex;
    justify-content: center;
    align-items: center;
}
.whole-page-overlay .center-loader {
    color: white;
}

.loader {
    border: 6px solid #f3f3f3; /* Light grey */
    border-top: 6px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 70px;
    height: 70px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.box-overlay {
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    position: fixed;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    animation: fadeIn linear 0.3s;
}

.call-content {
    left: 0;
    right: 0;
    top: 0;
    /* bottom: 0; */
    position: fixed;
    /* background-color: red; */
    transform: translateX(-100%);
    opacity: 0;
    transition: all linear 0.3s;
    height: 100vh;
    z-index: 99999999999;
}

.close-call-box {
    position: absolute;
    top: 20px;
    right: 20px;
}

.control-display:checked ~ .box-overlay {
    display: block;
}
.control-display:checked ~ #video_call {
    display: block;
}

.control-display:checked ~ .call-content {
    transform: translateX(0%);
    opacity: 1;
}
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.btn-danger, .btn-danger:hover {
    color: #fff;
    background-color: #dc3545;
    border-color: #dc3545;
}
table.dataTable tbody tr:hover {
    background-color: #f5f5f5 !important;
    cursor: pointer;
}
.img {
    background-size: contain;
}
.btn-copy {
    align-items: center;
    font-size: 12px;
    margin-right: 10px !important;
    font-weight: bold;
}
.box-image{
    height:500px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pl-108 {
    padding-left: 108px;
}

.pt-21{
    padding-top: 21px;
}

.btn_delete {
    background-color: #a8a8a8;
    color: rgba(0, 0, 0, 0.4);;
}
.box-image img {
    max-height: 500px;
}

.table_hover tr:hover {
    cursor: pointer;
    background-color: 	#F5F7FA;  
}
.text-area-box{
    width: 600px;
    height: 100px;
    border: 0.0625rem solid #ced4da;
}
.text-area-box:focus {
    outline: none;
}
.margin-bottom-5px {
    margin-bottom: 5px;
}
.pre-content {
    word-wrap: break-word;      /* IE 5.5-7 */
    white-space: -moz-pre-wrap; /* Firefox 1.0-2.0 */
    white-space: pre-wrap;
    font-size: 14px;
    text-align: left !important;
    line-height: 1.5;
}
.logo-img img{
    max-width: 120%;
}
.padding-24 {
    padding: 24px;
}
.btn-save {
    margin: 0 auto;
}
#btn_start_qrcode {
    margin-bottom: 40px;
    margin-top: 30px;
}
.txt2-new04 {
    word-spacing: 1px !important;
    letter-spacing: 0.05px;
}
.text-underline{
    text-decoration: underline;
}
.float-right {
    float: right;
}


input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

.w-auto {
    width: auto;
}

.text-danger{
    color: #dc3545 !important;
}

.box-qrcode-url-desktop p {
    margin-bottom: 50px;
}

#overlay {
    background-color: rgb(248 249 250 / 60%);
    z-index: 99999999;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    flex-direction: column;
    color: #fff;
    align-content: center;
    justify-content: center;
}
#overlay.show {
    display: flex;
}
.lds-ellipsis {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}
.lds-ellipsis div {
    position: absolute;
    top: 33px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: rgb(5 88 159 / 90%);
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
    border: 1px solid #1d37ec;
}
.lds-ellipsis div:nth-child(1) {
    left: 8px;
    animation: lds-ellipsis1 0.6s infinite;
}
.lds-ellipsis div:nth-child(2) {
    left: 8px;
    animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(3) {
    left: 32px;
    animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(4) {
    left: 56px;
    animation: lds-ellipsis3 0.6s infinite;
}
#overlay.show {
    display: flex;
}

@keyframes lds-ellipsis1 {
    0% {
        transform: scale(0);
    }
    100% {
        transform: scale(1);
    }
}
@keyframes lds-ellipsis3 {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(0);
    }
}
@keyframes lds-ellipsis2 {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(24px, 0);
    }
}



/* ===== email notice Modal ===== */
body.tm-modal-open { overflow: hidden; }
.tm-modal{
    position: fixed; inset: 0; display: none;
    z-index: 2147483000;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
}
.tm-modal.is-open{
    display:block;
}
.tm-modal__backdrop{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.45);
}
.tm-modal__dialog{
    position:relative;
    max-width:760px;
    margin:1vh auto;
    background:#fff;
    border-radius:12px;
    box-shadow:0 10px 30px rgba(0,0,0,.2);
    overflow:hidden;
}
.tm-modal__title{
    margin:0;
    padding:18px 24px;
    font-size:20px;
    border-bottom:1px solid #eee;
}
.tm-modal__body{
    padding:20px 24px;
    line-height:1.7;
}
.tm-modal__footer{
    padding:14px 16px;
    border-top:1px solid #eee;
    text-align:right;
}
.tm-modal__close{
    position:absolute;
    top:10px;
    right:12px;
    background:transparent;
    border:0;
    font-size:26px;
    line-height:1;
    cursor:pointer;
}
.tm-box{
    border:1px solid #e5e7eb;
    border-radius:10px;
    padding:14px 16px;
    margin:12px 0;
    background:#fafafa;
}
.tm-box h4{
    margin:.2rem 0 .4rem;
    font-size:16px;
}
.tm-list{
    margin:.2rem 0 0 1rem;
}
.tm-note{
    font-size:12px;
    color:#666;
}
.tm-btn{
    padding:8px 16px;
    border:1px solid #ddd;
    border-radius:8px;
    background:#f5f5f5;
    cursor:pointer;
}
.tm-btn:hover{
    background:#eee;
}

@media (max-width: 768px) {
  .tm-modal__dialog {
    width: 90%;
    max-width: 90%;
    margin: 1vh auto;
    border-radius: 8px;
  }
  .tm-modal__title {
    font-size: 16px;
    padding: 12px 12px;
  }
  .tm-modal__body {
    padding: 10px 10px;
    font-size: 12px;
    line-height: 1.3;
  }
  .tm-note{
    font-size:10px;
    line-height: 1.2;
    color:#666;
  }
  .tm-modal__footer {
    padding: 10px 10px;
  }
  .tm-btn {
    padding: 6px 6px;
    font-size: 14px;
  }
  .tm-modal__close {
    font-size: 22px;
    top: 8px;
    right: 10px;
  }
}


@media (max-width: 400px) {
  .tm-modal__title {
    font-size: 12px;
    padding: 10px 10px;
  }
  .tm-modal__body {
    padding: 8px 8px;
    font-size: 10px;
    line-height: 1.3;
  }
  .tm-note{
    font-size:8px;
    line-height: 1.2;
    color:#666;
  }
}
