body {
    overscroll-behavior: contain;
}
/* ========================== CONTAINER =========================== */
.sk-container {
    position: fixed;
    width: 100%;
    height: 100%;
}
.role-container {
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 100vh;
}
.role-container .col-sm {
    min-height: 100vh;
}
.staff-container .col-sm {
    min-height: 100vh;
}
/* ========================== HEADER =========================== */
.logo-header {
    height: 55%;
    background-color: #03234A;
}
.logo-header .logo {
    height: 100%;
    padding: 30px;
}
.logo-header img {
    height: 45%;
    width: 100%;
}

@media (max-height: 480px) {
    .welcom-text label {
        font-size: 20px;
    }

    .time-room {
        font-size: 1em !important;
    }

    #userCallButton {
        height: 80px !important;
    }

    .comunicate-btn img {
        width: 50px;
        height: 50px;
    }

    .comunicate-btn div {
        font-size: 1em !important;
    }
}

h1 {
    font-size: 60px;
    color: #FFFFFF;
    margin-bottom: 40px;
}
/* ========================== CONTACT =========================== */
.contact-area {
    height: 45%;
}
.welcom-text {
    padding-top: 15px;
    padding-bottom: 20px;
}
.welcom-text label {
    width: 70%;
}
label {
    font-size: 40px;
    color: #03234A;
}
.contact-area .contact {
    /* height: 45%; */
    height: auto;
}


/* ========================== BUTTON =========================== */
.comunicate-btn {
    background-color: transparent;
    /* border: 1px solid #FFFFFF; */
    border: none;
    box-sizing: border-box;
    /* color: #00132C; */
    font-family: "Avenir Next LT W01 Bold",sans-serif;
    font-size: 40px;
    color: #FFFFFF;
    /* font-weight: 700; */
    line-height: 55px;
    /* padding: 16px 23px; */
    position: relative;
    text-decoration: none;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    height: 130px;
    /* max-height: 140px; */
    width: 40%;
}
  
.comunicate-btn:after {
    /* background-color: #D5EDF6; */
    content: "";
    height: calc(100% - 22px);
    border: 1px solid #FFFFFF;
    position: absolute;
    right: 11px;
    top: 11px;
    transition: background-color 300ms ease-in;
    width: calc(100% - 22px);
    /* z-index: -1; */
}
.red-btn.comunicate-btn{
    background-color: #950303;
}
.grey-btn.comunicate-btn{
    background-color: #534C44;
}
.blue-btn.comunicate-btn{
    background-color: #03234A;
}
.green-btn.comunicate-btn{
    background-color: #016055;
}
.yellow-btn.comunicate-btn{
    background-color: #EFB800;
    color: #000000;

}
.yellow-btn.comunicate-btn:after{
    border-color: #000000;
}
/* .comunicate-btn.alarm .icon {
    position: absolute;
    width: 92px;
    height: 92px;
    left: -35px;
    top: -20px;
    background-image: url("/static/images/bell.svg");
    background-repeat: no-repeat;
    z-index: 1;
} */

.comunicate-btn.call .icon {
    position: absolute;
    width: 50px;
    height: 50px;
    left: 20px;
    top: 20px;
    background-image: url("/static/images/telephone-fill.svg");
    background-repeat: no-repeat;
    background-size: contain;
    z-index: 1;
}

.comunicate-btn.chat .icon {
    position: absolute;
    width: 50px;
    height: 50px;
    left: 20px;
    top: 20px;
    background-image: url("/static/images/pencil-solid.svg");
    background-repeat: no-repeat;
    background-size: contain;
    z-index: 1;
}
.comunicate-btn.alarm {
    background-color: #950303;
}

.comunicate-btn.call {
    background-color: #1887A8;
}

.comunicate-btn.chat {
    background-color: #EFB800;
    color: #FFFFFF;
}
.comunicate-btn.chat::after {
    border-color: #FFFFFF;
}
#userCallButton {
    height: 100px;
    min-width: 348px;
}
/* ============================== MODAL ============================== */
.modal-dialog-centered {
    max-width: 90%;
}
.modal-header {
    background-color: #727B8B;
    color: #FFFFFF;
    padding: 5px 10px;
    font-size: 27px;
}
.close {
    position: absolute;
    right: -15px;
    top: -15px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: solid 1px #0C4264;
    background-color: #4695AD;
    color: #FFFFFF;
    font-size: 35px;
}
.speaker img {
    height: 115px;
    width: auto;
    margin-bottom: 15px;
}
#callModal label {
    margin-bottom: 15px;
}
/* ============================== CHAT ============================== */
.chat-area {
    width: 100%;
}
.chat-container {
    max-height: 325px;
    min-height: 100px;
    overflow-y: auto;
}
.chat-message {
    display: flex;
}
.chat-message p{
    width: 466px;
    padding: 15px 25px;
    border-radius: 5px;
    font-size: 20px;
}
.chat-message.user-message {
    justify-content: end;
}
.chat-message.staff-message {
    justify-content: start;
}
.chat-message.user-message p {
    background-color: #C6D2E2;
}
.chat-message.staff-message p {
    background-color: #DBEAD2;
}
.send {
    background-color: #03234A;
    color: #FFFFFF;
    font-size: 20px;
}
/* STAFF CONTAINER */
.staff-container {
    height: 100%;
    padding: 15px;
    overflow-y: auto;
}
/* ==============================LOADING ============================== */
.loading {
    background-color: grey;
    opacity: 0.3;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1111;
}
.lds-spinner {
    color: official;
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
  }
  .lds-spinner div {
    transform-origin: 40px 40px;
    animation: lds-spinner 1.2s linear infinite;
  }
  .lds-spinner div:after {
    content: " ";
    display: block;
    position: absolute;
    top: 3px;
    left: 37px;
    width: 6px;
    height: 18px;
    border-radius: 20%;
    background: #fff;
  }
  .lds-spinner div:nth-child(1) {
    transform: rotate(0deg);
    animation-delay: -1.1s;
  }
  .lds-spinner div:nth-child(2) {
    transform: rotate(30deg);
    animation-delay: -1s;
  }
  .lds-spinner div:nth-child(3) {
    transform: rotate(60deg);
    animation-delay: -0.9s;
  }
  .lds-spinner div:nth-child(4) {
    transform: rotate(90deg);
    animation-delay: -0.8s;
  }
  .lds-spinner div:nth-child(5) {
    transform: rotate(120deg);
    animation-delay: -0.7s;
  }
  .lds-spinner div:nth-child(6) {
    transform: rotate(150deg);
    animation-delay: -0.6s;
  }
  .lds-spinner div:nth-child(7) {
    transform: rotate(180deg);
    animation-delay: -0.5s;
  }
  .lds-spinner div:nth-child(8) {
    transform: rotate(210deg);
    animation-delay: -0.4s;
  }
  .lds-spinner div:nth-child(9) {
    transform: rotate(240deg);
    animation-delay: -0.3s;
  }
  .lds-spinner div:nth-child(10) {
    transform: rotate(270deg);
    animation-delay: -0.2s;
  }
  .lds-spinner div:nth-child(11) {
    transform: rotate(300deg);
    animation-delay: -0.1s;
  }
  .lds-spinner div:nth-child(12) {
    transform: rotate(330deg);
    animation-delay: 0s;
  }
  @keyframes lds-spinner {
    0% {
      opacity: 1;
    }
    100% {
      opacity: 0;
    }
  }

/* ALARM NOTI */
.alarm-noti {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 111111;
    height: 40px;
    background-color: red;
}
.alarm-noti p {
    font-size: 25px;
    line-height: 40px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 0;
    height: 100%;
}

/* ROOM BUSY */
.staffCallButton .icon-busy {display: none;}
.staffCallButton.busy {cursor: unset;}
.staffCallButton.busy .icon-busy {
    display: inline;
    position: absolute;
    width: 50px;
    height: 50px;
    left: 20px;
    top: 20px;
    background-image: url("/static/images/telephone-fill.svg");
    background-repeat: no-repeat;
    background-size: contain;
    z-index: 1;
}
.staffCallButton.busy .icon-busy > img {
    width: 50px;
    height: 50px;
    margin-bottom: 7px;
}

/*Override*/
.btn-call, .alarm-btn {
    border-radius: 40px;
    border: 3px solid #FFFFFF;
    color: #000000;
}
.btn-room {
    border-radius: 30px;
    color: #FFFFFF;
}
.btn-room:after {
    border: none;
}
.btn-call.comunicate-btn:after{
    border: none;
}
.close {
    background-color: #0275FC;
}
.slideToUnlock {
    border-radius: 41px;
    background-color: #CCCCCC;
    box-shadow: inset 0 10px 6px rgb(49 5 5 / 16%);
}
.alarm-btn {
    min-width: 348px;
}
/*=== Common ===*/
.bg-yellow {
    background-color: #FFEB00;
}
.bg-orange {
    background-color: #FFAC27;
}
.bg-blue {
    background-color: #1887A8;
}
.bg-dark {
    background-color: #272727;
}
.bg-red {
    background-color: #B10000;
}
.text-white {
    color: #FFFFFF;
}
.drag.locked_handle {
    background-color: #1887A8;
    color: #FFFFFF;
    border: none;
}
.drag.unlocked_handle {
    background-color: #1887A8;
    color: #FFFFFF;
    border: none;
}
.modal-radius {
    border-radius: 30px;
    background-color: #FFFFFF;
    color: #000000;
}
.modal-radius-none {
    border-radius: 0;
}
.btn-shadow {
    box-shadow: inset 0 10px 6px rgb(49 5 5 / 16%);
}
.btn-room-shadow {
    box-shadow: inset 0 10px 6px rgb(0 0 0 / 16%);
}
.font-40 {
    font-size: 40px;
}

.time-room {
    left: 20px;
    top: 5px;
    font-size: 1.5em;
    font-weight: bold;
    letter-spacing: 3px;
}

/*user had alarm*/
.h-95per {height: 95% !important;}
.h-30per {height: 30% !important;}