/* Mendatory Asterisk (*) */
.mendatory {
    color: #f64e60;
}
.box-card            {
 padding: 15px;

}
.text-ellipsis { text-overflow: ellipsis; white-space: nowrap; overflow: hidden; }
.box-card .card-custom {
    padding-bottom: 15px;
}
.hide                   { display: none;}

.select-validation      { border :1px solid #F64E60; }
/*toggle swtich overwrite the switch-sucees class*/
.switch.switch-outline.switch-success input:empty ~ span:before {
  border: 2px solid #F64E60;
  background-color: transparent; }

.switch.switch-outline.switch-success input:empty ~ span:after {
  background-color: #F64E60; }

.switch.switch-outline.switch-success input:checked ~ span:before {
  border: 2px solid #1BC5BD;
  background-color: transparent; }

.switch.switch-outline.switch-success input:checked ~ span:after {
  color: #ffffff;
  background-color: #1BC5BD; }

.switch input:empty ~ span:after {
    opacity: 1 ;
}

.table-hover tbody tr:hover {
    color: #3f4254;
    background-color: #e7e7e7 !important;
}
.switch.switch-icon input:not(checked) ~ span:after {
    content: "\2716";
    color: #fff;
    font-size: 9px !important;
}
.switch.switch-sm input:empty ~ span:before {
    width: 58px !important;
    border-radius: 4px;
}
.switch.switch-sm input:checked ~ span:after {
    margin-left: 33px;
}
.switch.switch-sm input:empty ~ span:after {
    border-radius: 0px;
    width: 24px;
}
.switch.switch-sm input:empty ~ span::after {
    height: 24px;
    width: 24px;
    top: 0px;
    border-radius: 4px;
}
/* .switch input:empty ~ span::before {
    left: 2px;
} */
.switch.switch-sm input:checked ~ span::after {
    margin-left: 34px;
}
/* Flash Message */
.alert {
    position: absolute;
    margin-bottom: 0;
    bottom: 40px;
    right: 40px;
}
form > .card-header {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    flex-wrap: wrap;
    min-height: 70px;
    padding-top: 0;
    padding-bottom: 0;
    background-color: transparent;
}
form > .card-header .card-toolbar {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin: 0.5rem 0;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}


/*Close button*/
.symbol div a {
    position: absolute; top: 0; right: 0; width: 18px; height: 18px;
}


/* chat */
.chat-room::-webkit-scrollbar { width: 10px; }
.chat-room::-webkit-scrollbar-track { background: #f3f3f3; border-radius: 50px; }
.chat-room::-webkit-scrollbar-thumb { background-color: #c3c3c3; border-radius: 50px; border: none; height: 50px; }
.chat-history { overflow-y: auto; height: calc(100vh - 400px);}
.admin-message { padding: 12px 16px; margin: 20px; background-color: #f5f5f5; border-radius: 8px; margin-left: auto; width: fit-content; max-width: 450px; }
.user-worker-message { padding: 12px 16px; margin: 20px ;background-color: #E6F6FD; border-radius: 8px; width: fit-content; max-width: 450px; }
.chat-message { font-family: 'roboto';font-size: 14px;line-height: 22px;color: #1D1D1B; }
#chatHistory { display: flex; flex-wrap: wrap; }
.time { text-align: right; }
.time .chat-time-publisher { font-family: Roboto; font-size: inherit; color: #99afb9; margin-top: 4px; margin-right: auto;}
.time .chat-time-marketer { font-family: Roboto; font-size: inherit; color: #a7a7a7; margin-top: 4px; }
.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar { background-color: rgba(54,65,80,1); }
.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar, .mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar
{ background-color: rgba(54,65,80,1); }


.font-size-xxs{
    font-size: xx-small;
}
.pt-05{
    padding-top:2px;
}
.px-05{
    padding-left:5px;
    padding-right:5px;
}
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

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