@font-face {
    font-family: Balloons;
    src: url(./fonts/balloons.ttf);
}
.font-face-balloon {
    font-family: Balloons;
}

.required {
    color: red;
}

.menu-icon-space {
    margin-right: 10px;
}

form.was-validated
    select:invalid
    ~ .select2-container--bootstrap4
    .select2-selection,
select.is-invalid ~ .select2-container--bootstrap4 .select2-selection {
    border-color: #dc3545 !important;
}

.card-body label {
    font-weight: bold;
}

.btn_thumbs,
.update-child-status {
    margin-left: 4px;
}

/*
Parent / Children Modules CSS 
*/
#parent-info {
    display: flex;
    margin-top: 20px;
}
.parent-info-table {
    flex: 1;
    margin-left: 4px;
}
#children {
    display: none;
}
.child {
    width: 25%;
    cursor: pointer;
    border-radius: 10px;
}
.child:hover {
    background-color: #f3f3f3;
}
.slick-arrow {
    border: 0;
    background-color: transparent;
    font-size: 25px;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-55%);
}
.slick-next {
    left: auto;
    right: 0;
}
.children-list {
    padding: 0 20px;
}

#child-form-wrap {
    display: none;
}

/* Datatable top fix */
.table-top {
    margin-bottom: 20px;
    overflow: hidden;
}
.table-top .left-col {
    float: left;
    width: 50%;
}
.table-top .right-col {
    float: left;
    width: 50%;
    display: flex;
    justify-content: flex-end;
}
.dataTables_length {
    margin-right: 20px;
}
.dataTables_length select {
    width: 65px !important;
}

/* Communication */
.classes-list {
    padding: 0 20px;
}
.class {
    text-align: center;
    position: relative;
}
.class .ticked {
    display: none;
}
.class .tick,
.class .ticked {
    position: absolute;
    top: 4px;
    right: 15px;
    color: #cfcfcf;
}
.class.selected .ticked {
    color: #b7e543;
    display: block;
}
.class.selected .tick {
    display: none;
}
.registered-children,
.comm-form-wrap,
.common-form,
.event-fields,
.select-classes {
    display: none;
}
.wallet-types label {
    cursor: pointer;
}
.wallet-types svg {
    font-size: 30px !important;
}

.nav-tabs {
    margin-bottom: 10px;
}
.reg-children-search {
    margin-bottom: 20px;
}
.reg-children-search #DataTables_Table_0_filter {
    text-align: left;
}
.reg-children-search #DataTables_Table_0_filter label,
.reg-children-search #DataTables_Table_1_filter label {
    display: block;
    padding-right: 10px;
}
.reg-children-search #DataTables_Table_0_filter input[type='search'],
.reg-children-search #DataTables_Table_1_filter input[type='search'] {
    width: 100%;
}
.reg-child-data h6 {
    padding-top: 8px;
}
.child-picture {
    padding: 3px;
    width: 100px;
    float: left;
    text-align: center;
}
.report-form p.heading {
    background-color: #248ed0;
    color: #fff;
    line-height: 35px;
    border-radius: 10px;
    text-align: center;
}
.hygiene_visible img,
.nap_visible img,
.milk_visible img,
.medicine_visible img {
    height: 36px;
}
.bulk-update-switch label {
    display: inline;
    font-weight: bold;
}

.report-form,
.report-form-sections,
.registered-children-opt {
    display: none;
}

.report-form-options {
    display: flex;
    flex-direction: row;
}
.report-option {
    flex-grow: 1;
    flex-basis: 0;
    text-align: center;
    cursor: pointer;
    padding: 5px 0;
}
.report-option img {
    width: auto;
    height: 50px;
}
.report-option span {
    display: block;
}
.report-option.selected {
    background-color: whitesmoke;
    border-radius: 5px;
}

.big-num {
    font-size: 30px;
}
.today-reg-count svg {
    color: #fbcf40;
    font-size: 30px;
}
.attendance svg {
    color: #fbcf40;
    font-size: 30px;
}
.class-badges {
    float: right;
}
.class-badges span,
.seats-info span {
    margin: 2px;
}
.nav-tabs .nav-link.active,
.nav-tabs .nav-item.show .nav-link {
    background-color: #2499e3;
    color: #fff;
}
.tui-full-calendar-month-dayname {
    border-top: none !important;
}
.calendar-btns {
    margin-top: -10px;
    position: relative;
    bottom: -5px;
}
.calendar-btns button {
    margin-left: 5px;
    margin-bottom: 0 !important;
}

.widget-chat.widget-chat-demo {
    position: fixed;
    z-index: 1061;
    bottom: 1%;
    right: 410px;
    width: 350px;
}

/* Avatar Css */
/* ---------- */
.avatar {
    white-space: nowrap;
    background-color: #c3c3c3;
    border-radius: 50%;
    position: relative;
    cursor: pointer;
    color: #ffffff;
    display: inline-flex;
    font-size: 0.8rem;
    text-align: center;
    vertical-align: middle;
    margin: 5px;
}

.avatar .avatar-content {
    width: 32px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.avatar .avatar-content .avatar-icon {
    font-size: 1.2rem;
}

.avatar [class*='avatar-status-'] {
    border-radius: 50%;
    width: 11px;
    height: 11px;
    position: absolute;
    right: 0;
    bottom: 0;
    border: 1px solid #ffffff;
}

.avatar [class*='avatar-status-'].avatar-status-lg {
    width: 17px;
    height: 17px;
    border-width: 2px;
}

.avatar .avatar-status-online {
    background-color: #39da8a;
}

.avatar .avatar-status-busy {
    background-color: #ff5b5c;
}

.avatar .avatar-status-away {
    background-color: #fdac41;
}

.avatar .avatar-status-offline {
    background-color: #475f7b;
}

.avatar img {
    border-radius: 50%;
}

.avatar.avatar-xl {
    font-size: 1.5rem;
}

.avatar.avatar-xl img {
    width: 70px;
    height: 70px;
}

.avatar.avatar-xl .avatar-content {
    height: 70px;
    width: 70px;
}

.avatar.avatar-xl .avatar-content .avatar-icon {
    font-size: 3rem;
}

.avatar.avatar-lg {
    font-size: 1.2rem;
}

.avatar.avatar-lg img {
    width: 50px;
    height: 50px;
}

.avatar.avatar-lg .avatar-content {
    width: 50px;
    height: 50px;
}

.avatar.avatar-lg .avatar-content .avatar-icon {
    font-size: 2rem;
}

.avatar.avatar-sm .avatar-content {
    width: 24px;
    height: 24px;
}

.avatar.avatar-sm .avatar-content .avatar-icon {
    font-size: 1rem;
}

.avatar.avatar-sm img {
    width: 24px;
    height: 24px;
}

.media {
    display: flex;
    align-items: flex-start;
}

.media-body {
    flex: 1;
}

#rightsidebar-chats ul.chat-sidebar-list {
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}

#btn_chatbox_send {
    width: 44px;
}

#btn_chatbox_attachment {
    background: #77b9e2;
    width: 44px;
}

/* widget chat */
/* ----------- */
.widget-chat .widget-chat-container {
    position: relative;
    height: 420px;
    text-align: center;
    padding: 1.4rem;
}

.widget-chat .chat-content .chat-body {
    overflow: hidden !important;
    margin: 0.67rem 0 0 0 !important;
}

.widget-chat .chat-content .chat-body .chat-message {
    position: relative !important;
    float: right !important;
    text-align: right !important;
    padding: 0.75rem 1rem !important;
    margin: 0.2rem 0.2rem 1.8rem 0 !important;
    max-width: calc(100% - 5rem) !important;
    clear: both !important;
    word-break: break-word !important;
    color: #ffffff !important;
    background: #5a8dee !important;
    border-radius: 0.267rem !important;
    box-shadow: 0 2px 4px 0 rgba(90, 141, 238, 0.6) !important;
}

.widget-chat .chat-content .chat-body .chat-message p {
    margin-bottom: 0 !important;
}

.widget-chat .chat-content .chat-body .chat-message .chat-time {
    position: absolute !important;
    bottom: -20px !important;
    right: 0px !important;
    color: #828d99 !important;
    font-size: 0.8rem !important;
    white-space: nowrap !important;
}

.widget-chat .chat-content .chat-left .chat-message .chat-time {
    position: absolute !important;
    bottom: -20px !important;
    left: 0px !important;
    color: #828d99 !important;
    font-size: 0.8rem !important;
    white-space: nowrap !important;
}

.widget-chat .chat-content .chat-left .chat-message {
    text-align: left !important;
    float: left !important;
    margin: 0.2rem 0 1.8rem 0.2rem !important;
    color: #727e8c !important;
    background-color: #fafbfb !important;
    box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.3) !important;
}

.widget-chat.widget-chat-demo .widget-chat-container {
    height: 27rem;
}

.widget-chat.widget-chat-demo .chat-content .chat-message {
    max-width: calc(100% - 3rem);
}

.widget-chat.widget-chat-demo .card {
    box-shadow: 0px 0px 22px 0 rgba(25, 42, 70, 0.25);
}

.chat-demo-button {
    position: fixed;
    bottom: 5%;
    right: 80px;
    z-index: 1031;
}

.chat-demo-button i {
    top: 0;
}

@media (max-width: 575.98px) {
    .widget-chat.widget-chat-demo {
        right: 0;
        padding: 0 1.2rem;
        width: 100%;
    }

    .widget-chat.widget-chat-demo .widget-chat-container {
        height: 21rem;
    }
}

/* RIGHT SIDEBAR STYLE */
.rightsidebar-custom {
    position: fixed;
    top: 0;
    right: -400px;
    /* height: 900px; */
    z-index: 9999;
    width: 400px;
}

.rightsidebar-overlay {
    position: fixed;
    opacity: 0;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    cursor: pointer;
    transition: all 0.7s;
    z-index: -1;
}

#rightsidebar-chats ul.chat-sidebar-list {
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}

#rightsidebar-chats ul.chat-sidebar-list li {
    padding: 0.8rem 0rem;
}

.badge-newmessage {
    top: -5px;
    position: absolute;
    left: -5px;
    padding: 0.25em 0.4em 0.18rem 0.35rem;
    font-size: 15px;
    font-weight: 600;
}

.arrow-none::after {
    display: none;
}
.swal2-container {
    z-index: 1062 !important;
}

/* Badges */
/* ------ */
.badge.badge-primary {
    background-color: #5a8dee;
}

.badge.badge-light-primary {
    background-color: #e2ecff;
    color: #5a8dee !important;
}

.badge.bg-primary.badge-glow,
.badge.border-primary.badge-glow,
.badge.badge-primary.badge-glow {
    box-shadow: 0px 0px 10px #5a8dee;
}

.badge-circle-primary {
    background-color: #5a8dee;
}

.badge-circle-light-primary {
    background-color: #e2ecff;
    color: #5a8dee;
}

.overlay-primary {
    background: #5a8dee;
    background: rgba(90, 141, 238, 0.6);
}

.chat-sidebar-name .badge.badge-light-info {
    background-color: #cfcfcf !important;
}

/* TOP BAR */
.top-bar {
    background-color: #ffffff;
    position: fixed;
    width: 100%;
    height: 60px;
    z-index: 99;
    justify-content: end;
    padding: 0 15px;
    order: 2;
}
.top-bar .user-container {
    flex-direction: row;
    order: 3;
    align-items: center;
    height: 100%;
}
.top-bar .user-container .user {
    align-items: center;
    height: 100%;
    padding: 0 8px;
    margin-right: -8px;
    border-radius: initial;
    border-bottom-left-radius: var(--border-radius-md);
    border-bottom-right-radius: var(--border-radius-md);
    color: #74c4eb;
}
.top-bar .user-container .user .profile {
    order: 1;
    width: 20px;
    height: 20px;
    /* width: var(--input-height);
    height: var(--input-height); */
    margin-bottom: 0;
    border-radius: var(--border-radius-xl);
}
.top-bar .user-container .user .name {
    margin-right: 10px;
    margin-bottom: 0;
}
.top-bar .language-switch-container {
    order: 1;
    height: 100%;
    margin-right: 10px;
}
.top-bar .language-switch-container button {
    background-color: inherit !important;
    color: #74c4eb !important;
}
.top-bar .language-switch-container .language-button {
    height: 100%;
    padding: 0 8px;
    border-radius: initial;
    border-bottom-left-radius: var(--border-radius-md);
    border-bottom-right-radius: var(--border-radius-md);
    padding-top: 2px;
}
.top-bar .menu-icons {
    order: 1;
    margin: 0;
    margin-right: 10px;
    margin-left: auto;
    height: 100%;
    display: flex !important;
    justify-content: center;
    cursor: pointer;
}
.top-bar .menu-icons li {
    height: 100%;
}
.top-bar .menu-icons li > a {
    height: 100%;
    display: inline-flex;
    align-items: center;
    border-bottom-left-radius: var(--border-radius-md);
    border-bottom-right-radius: var(--border-radius-md);
    color: #74c4eb;
    font-size: 18px;
    padding: 0.25rem 0.5rem;
    transition: opacity var(--transition-time);
}
.top-bar .user-container .user:hover,
.top-bar .language-switch-container .language-button:hover,
.top-bar .menu-icons li > a:hover {
    background-color: #eeeeee;
}
html[data-placement='vertical'] .nav-container .nav-shadow {
    box-shadow: none;
}
.btn {
    /* background-color: #e2efff !important; */
    background-color: #fff;
    border: 2px solid #44ccff;
    border-radius: 30px;
    color: #44ccff !important;
}
.btn-modal__add-registration {
    padding-bottom: 20px;
}
.btn:hover {
    /* background-color: #c8d3e0 !important; */
    background-color: #44ccff;
    border: 2px solid #44ccff;
    color: #fff !important;
}
.btn:hover svg {
    color: #fff !important;
}
.btn-danger svg {
    color: #f26161 !important;
}
.btn-warning svg {
    color: #eab71d !important;
}
.btn-info svg {
    color: #44ccff !important;
}
.btn-success svg {
    color: #44ccff !important;
}
.btn-success:hover svg {
    color: #fff !important;
}
main .container {
    padding-left: 0;
    padding-right: 0;
}

.form-control,
.select2-container--bootstrap4 .select2-selection {
    border-radius: 18px !important;
}

html[data-placement='vertical'] .nav-container {
    width: 15rem;
}
html[data-placement='vertical'] .nav-container .nav-content .menu-container {
    width: 15rem;
}
:root {
    --nav-size: 14rem;
}

.kv-fileinput-caption {
    border-bottom-right-radius: 0 !important;
    border-top-right-radius: 0 !important;
}

html[data-placement='vertical'] .nav-container .nav-content .menu-container {
    margin-left: 0;
    margin-right: 0;
}

html[data-placement='horizontal'] .nav-container,
html[data-placement='vertical'] .nav-container {
    background-image: none;
    background-color: #fff;
}

.pin-button {
    color: #74c4eb;
}

html[data-placement='vertical']
    .nav-container
    .nav-content
    .menu-container
    .menu
    li
    a {
    color: #44ccff;
}
html[data-placement='vertical']
    .nav-container
    .nav-content
    .menu-container
    .menu
    li.active-nav
    > a {
    background-color: #44ccff;
    color: #fff;
}
.menu a[data-bs-toggle='collapse']:before,
.menu a[data-bs-toggle='collapse'][aria-expanded='true']:before {
    border-color: #44ccff;
}
html[data-placement='vertical']
    .nav-container
    .nav-content
    .menu-container
    .menu
    li
    a:hover {
    background-color: #efefef;
    color: #44ccff;
}

/* Center Selector */
#center-list {
    border-top: 1px #ebebeb solid;
}
#center-list ul {
    padding: 0;
    margin-bottom: 0;
    list-style: none;
}
#center-list li {
    border-bottom: 1px #ebebeb solid;
}
#center-list li button {
    display: block;
    padding: 10px 15px;
    font-weight: bold;
    color: #4e4e4e;
    background-color: #fff;
    border: none;
    width: 100%;
    text-align: left;
}
#center-list li button:hover {
    background-color: #f8f8f8;
}

#form_ticket .fileinput-remove {
    display: none;
}

#btn-ticket {
    width: 50px;
    height: 50px;
    border-radius: 100%;
    background-color: #62cdff;
    position: fixed;
    bottom: 50px;
    right: 15px;
    display: block;
    color: #fff;
    text-align: center;
    font-size: 26px;
    line-height: 50px;
}

#table_tickets thead tr th:first-child {
    width: 20px !important;
}

#screenshot canvas {
    width: 100% !important;
    height: auto !important;
}

#ticket-replies .reply-date {
    color: #a5a3a3;
}
#ticket-replies .bg-secondary .reply-date,
#ticket-replies .bg-secondary h5 {
    color: #fff;
}

#root {
    background-color: #f9f9f9;
}
#ticket-replies .bg-secondary,
#ticket-replies .bg-secondary .card-header {
    background-color: #75ceff !important;
    color: #fff;
}
