:root {
    --color-light-theme:hsl(216, 63%, 50%);
    --color-accent-primary:hsla(216, 63%, 50%, 0.267);
    --color-lightgray: rgb(232, 232, 232);
    --color-gray: rgb(157, 156, 156);
    --color-black:#000;
    --color-light-bg:#F8F9FA;
    --color-dark-blue:#606A79;
    --color-teal:#04AE88;
    --sidebar-expanded-width:230px;
    --sidebar-collapsed-width:50px;
    --rightbar-expanded-width:300px;
    --color-slat:#4682A9;
    --color-orange:#FF824A;
    color: #ece6aa;
}

body {
    height: 100vh;
    overflow: hidden;
}
::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

header {
    z-index: 30;
}

.admin-logo {
    display: flex;
    align-items: center;
    justify-content: start;
    text-decoration: none;
    color: var(--color-light-theme);
}

.admin-logo i {
    /* padding: 7px; */
    margin-right: 15px;
    font-size: 1.2rem;
}

.admin-logo img {
    height: 35px;
}

.admin-logo span {
    font-weight: 800;
    font-size: 1.2rem;
    margin-left: 8px;
}

.dark-theme-switcher {
    border-radius: 50%;
    height: 35px;
    width: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(220, 220, 220, 0.692);
    color: rgb(238, 253, 23);
    cursor: pointer;
}

.language-switcher {
    display: flex;
    align-items: center;
    justify-content: left;
}

.language-switcher img {
    padding: 1px;
    border: 1px solid rgb(220, 220, 220);
    border-radius: 50%;
    height: 33px;
    width: 33px;
    object-fit: cover;
    object-position: center;
}

.language-switcher .language {
    font-size: 0.8rem;
    margin-left: 3px;
    font-weight: 500;
    color: rgb(133, 133, 133);
}

.profile-item {
    display: flex;
    align-items: center;
    justify-content: start;
    font-size: 0.8rem;
    font-weight: 600;
}

.profile-item>img,
.profile-item>.img-placeholder {
    width: 35px;
    height: 35px;
    border-radius: 5px;
    background-color: rgb(232, 232, 232);
    margin-right: 7px;
}


.profile-item>.img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-item>.img-placeholder>span{
    color: var(--color-black);
}

.img-placeholder-lg {
    width: 70px;
    height: 70px;
    border-radius: 5px;
    background-color: rgb(232, 232, 232);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.sidebar {
    height: 100vh;
    width: var(--sidebar-collapsed-width);
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    padding-top: 50px;
    background-color: var(--color-light-bg);
    border-right: 1px solid var(--color-lightgray);
    overflow: hidden;
    transition: all .3s ease-in-out;
    /* z-index: 25; */
}

.sidebar img#profile-img {
    width: 30px;
    height: 30px;
    transition: all ease-in-out .3s;
}

.sidebar .infos {
    opacity: 0;
    max-height: 0;
    transition: all ease-in-out .3s;
    text-wrap: nowrap;
    overflow: hidden;
}

.red-flag-indicator {
    position: absolute;
    top: 0;
    right: 0;
    border-radius: 5px;
    padding: 0 3px;
    background-color: rgb(255, 0, 25) !important;
    transition: all ease-in-out .3s;
    color: #fff;
    font-size: 0.7em;
    font-weight: 700;
    max-height: 50px;
}

.sidebar-active .sidebar {
    width: var(--sidebar-expanded-width);
}

.sidebar-active .sidebar img#profile-img {
    width: 75px;
    height: 75px;
}

.sidebar-active .sidebar .infos {
    opacity: 1;
    max-height: 250px;
}

.sidebar-active .sidebar .red-flag-indicator {
    opacity: 0;
    max-height: 0;
}

.sidebar-navs {
    list-style: none;
    padding: 0;
}

.sidebar-navs .nav-item{
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--color-dark-blue);
    border-radius: 3px;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    margin-bottom: 5px;
    overflow: hidden;
    text-align: center;
}

.sidebar-navs .nav-item>span {
    opacity: 0;
    transition: all ease-in-out .3s;
    text-wrap: nowrap;
}

.sidebar-active .sidebar-navs .nav-item {
    text-align: center;
}

.sidebar-active .sidebar-navs .nav-item>span {
    opacity: 1;
}

.sidebar-navs .nav-item:hover{
    background: rgba(209, 209, 209, 0.342);
}

.sidebar-navs .nav-item.active{
    color: var(--color-light-theme);
    font-weight: 600;
    background: rgba(209, 209, 209, 0.342);
    border-left: 5px solid var(--color-light-theme);
}

.sidebar-navs .nav-item>i{
    padding: 7px;
}

.sidebar .extended .childrenBlock {
    max-height: 0;
    overflow: hidden;
    transition: all .5s ease-in-out;
}

.sidebar-active .sidebar .extended.show .childrenBlock {
    max-height: 500px;
}

.sidebar .extended .showIndicator::before {
    transform: rotate(0);
    transition: all .3s ease-in-out;
}


.sidebar .extended.show .showIndicator::before {
    transform: rotate(180deg);
}

.sidebar .childNavtem {
    font-size: 0.9em;
    font-weight: 500;
    display: flex;
    align-items: center;
    width: 100%;
    text-decoration: none;
    cursor: pointer;
    color: #6f6f6f;
    padding: 3px;
    border-radius: 5px;
    margin-bottom: 2px;
}

.sidebar .childNavtem:hover {
    /* text-decoration: underline; */
    background: #a9a9a924;
    color: #000;
}

.sidebar .active {
    background: #2c69c417 !important;
    color: #2C68C4;
}

.sidebar .childrenBlock {
    padding-left: 10px;
    position: relative;
}

.sidebar .verticalLine {
    position: absolute;
    top: 15px;
    bottom: 15px;
    margin-left: 10px;
    border-left: 2px solid #DFE0E1;
}

.sidebar .nodeIndicator {
    margin-left: 4px;
    margin-right: 5px;
    font-size: 0.5rem;
    color: #DFE0E1;
    /* opacity: 0; */
    z-index: 155;
}

.sidebar .active .nodeIndicator {
    /* opacity: 1; */
    color: #2C68C4;
}

main.main {
    padding: 10px;
    padding-top: 60px;
    width: 100%;
    overflow-y: auto;
    overflow-x: hidden;
}

.rightbar {
    height: 100vh;
    width: 0;
    display: flex;
    flex-direction: column;
    overflow: 5;
    flex-shrink: 0;
    padding-top: 50px;
    padding-bottom: 40px;
    height: 100vh;
    overflow-y: auto;
    transition: all .3s ease-in-out;
}

.rightbar.active {
    width: var(--rightbar-expanded-width);
}

.box-shadow {
    box-shadow: 0 0 10px #d8d8d8;
}

.box-shadow-success {
    box-shadow: 0 0 10px #04AE88;
}

.box-shadow-primary {
    box-shadow: 0 0 10px #3a8cff;
}

.box-shadow-warning {
    box-shadow: 0 0 10px #FF824A;
}

.box-shadow-danger {
    box-shadow: 0 0 10px rgb(255, 0, 64);
}

.inline-shadow-success {
    box-shadow: inset 0 0 5px #04AE88;
}

.inline-shadow-primary {
    box-shadow: inset 0 0 5px #3a8cff;
}

.inline-shadow-warning {
    box-shadow: inset 0 0 5px #FF824A;
}

.inline-shadow-danger {
    box-shadow: inset 0 0 5px rgb(255, 0, 64);
}

.bg-accent-dark {
    background-color: rgba(0, 0, 0, 0.2) !important;
}

.bg-accent-secondary,
.btn-accent-secondary,
.bg-accent-gray {
    background-color: rgba(128, 128, 128, 0.15) !important;
}

.bg-accent-danger,
.btn-accent-danger,
.bg-accent-red {
    background-color: rgba(255, 0, 128, 0.15) !important;
}

.bg-accent-warning,
.btn-accent-warning,
.bg-accent-yellow {
    background-color: rgba(245, 213, 32, 0.15) !important;
}

.bg-accent-primary,
.btn-accent-primary,
.bg-accent-blue {
    background-color: rgba(25, 105, 209, 0.15) !important;
}

.bg-accent-violett {
    background-color: rgba(119, 18, 250, 0.096) !important;
}

.bg-accent-success,
.btn-accent-success,
.bg-accent-green {
    background-color: rgba(0, 128, 58, 0.15) !important;
    /* color: rgb(169, 181, 255); */
}

.text-slatgray {
    color: #606A79;
}

.text-violett {
    color: rgb(122, 26, 239);
}

.text-orange,
.text-warning {
    color: var(--color-orange) !important;
}

.border-orange {
    border-color: var(--color-orange) !important;
}

.text-teal,
.text-success {
    color: var(--color-teal) !important;
}

.border-teal {
    border-color: var(--color-teal) !important;
}

.text-themed {
    color: var(--color-light-theme);
}

.btn-slat {
    background: var(--color-slat) !important;
    color: #fefefe !important;
    opacity: 1;
    font-weight: 500;
    transition: all 0.3s ease-in-out;
}

.btn-slat:hover,
.btn-slat:active {
    opacity: 0.85;
}

.library-item {
    color: #606A79;
}

.fw-500 {
    font-weight: 500;
}

.text-tiny {
    font-size: 0.7em;
}

.text-smallest {
    font-size: 0.5rem;
}

.text-small {
    font-size: 0.75rem;
}

.text-medium {
    font-size: 0.85em;
}

.text-biggest {
    font-size: 5rem;
}

.cursor-pointer {
    cursor: pointer;
}

.cursor-disabled {
    cursor: not-allowed;
}

.pagination>.page-item {
    margin-right: 5px;
    cursor: pointer;
}

.page-item>.page-link {
    border: 1px solid var(--color-light-theme);
    font-size: 0.8rem;
    border-radius: 5px !important;
    font-weight: 500;
}

.z-index-5 {
    z-index: 5;
}

.jumbotron-button-img {
    width: 100%;
}

.auth-wrapper {
    display: flex;
    align-items: center;
}

.auth-wrapper .form-container {
    display: grid;
    align-items: center;
    justify-content: center;
    background: #0789f40d;
}

.bg-auth {
    background-image: url(../img/SES\ 2.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.gray-overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: #21212141;
}

.auth-form {
    width: 300px;
}

.form-label {
    font-weight: 500;
    color: #606A79;
    font-size: 0.8rem;
    margin-bottom: 0.2rem;
}

input.number-input::-webkit-outer-spin-button,
input.number-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number]{
    -moz-appearance: textfield;
}

.steps {
    display: grid;
    width: 100%;
}

.steps .step:not(.active) {
    display: flex;
    max-height: 45px;
    transition: all .7s ease-out;
}

.steps .step .content-container {
    display: none;
    opacity: 0;
}

.steps .step.active .content-container {
    display: block;
    opacity: 1;
}

/* .steps .step.active {
    max-height: 100vh;
    overflow-y: auto !important;
} */

.step .indicator {
    display: block;
    align-items: center;
    justify-content: center;
    width: 200px;
    position: relative;
}

.step .indicator .line {
    border: none;
    height: 100%;
    left: 50%;
    width: 1px;
    background-color: #606A79;
    margin: auto;
    /* position: absolute;
    top: 0;
    z-index: -1; */
}

.step .content {
    width: 100%;
    padding: 10px;
    background: #fefefe;
    box-shadow: 0 0 5px #a7a7a7;
    border-radius: 7px;
    overflow: hidden;
}

.btn-step {
    background: #606A79 !important;
    color: #fefefe !important;
    margin: auto !important;
    opacity: 1;
    transition: all ease-in-out .3s;
}

.btn-step:hover {
    opacity: 0.9;
}

.content .step-header {
    display: flex;
    align-items: center;
    padding-bottom: 7px;
    font-size: 0.85rem;
    font-weight: 500;
    border-bottom: 1px solid var(--color-lightgray);
}

.icon-container {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(25, 105, 209, 0.15);
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkable-card {
    border: 1px solid var(--color-gray);
    padding: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    width: 150px;
    display: grid;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    position: relative;
    color: var(--color-gray);
    text-align: center;
    cursor: pointer;
}

.checkable-card.active {
    border-color: #0371f8;
    color: #0371f8;
    box-shadow: 0 0 5px #0371f8;
}

.checkable-card>.checker {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    border: 1px solid var(--color-gray);
    position: absolute;
    top: 0;
    left: 0;
    margin: 5px;
}

.checkable-card.active>.checker {
    border: 4px solid #0371f8;
}

.modal-end-bottom {
    display: flex;
    align-items: flex-end;
    height: 90vh;
    max-width: unset;
    width: 100%;
    justify-content: end;
    padding: 0 10px;
}

.modal-end-bottom .modal-content {
    max-width: 700px;
    height: 90vh;
}

.modal-end {
    display: flex;
    align-items: center;
    height: 100%;
    max-width: unset;
    width: 100%;
    justify-content: end;
    margin: 0;
    padding: 10px !important;
}

.modal-end .modal-content {
    max-width: 500px;
    height: 95%;
}

.btn-collapsable {
    text-wrap: nowrap;
    max-width: 30px;
    transition: all ease-in-out .5s;
    overflow: hidden;
}

.btn-collapsable:hover,
.btn-collapsable:active,
.btn-collapsable:focus {
    max-width: 250px;
}

.react-tagsinput {
    background-color: #fff;
    border: 1px solid #ccc;
    overflow: hidden;
    padding-left: 5px;
    padding-top: 5px;
    border-radius: 5px;
  }
  
  .react-tagsinput--focused {
    border-color: #046bfc;
  }
  
  .react-tagsinput-tag {
    background-color: var(--color-accent-primary);
    border-radius: 2px;
    color: #046bfc;
    display: inline-block;
    font-family: sans-serif;
    font-size: 13px;
    font-weight: 400;
    margin-bottom: 5px;
    margin-right: 5px;
    padding: 5px;
  }
  
  .react-tagsinput-remove {
    cursor: pointer;
    font-weight: bold;
  }
  
  .react-tagsinput-tag a::before {
    content: " ×";
    color: #046bfc;
  }
  
  .react-tagsinput-input {
    background: transparent;
    border: 0;
    color: #777;
    font-family: sans-serif;
    font-size: 13px;
    font-weight: 400;
    margin-bottom: 6px;
    margin-top: 1px;
    outline: none;
    padding: 5px;
    width: 80px;
  }

  .main-padding {
    padding-top: 50px;
  }

  .chats-block {
    width: 350px;
  }

  .chat-content {
    background: var(--color-light-bg);
  }

  .chat-owner {
    position: absolute;
    top: 51px;
    display: flex;
    align-items: center;
    width: 100%;
    background: #fefefe;
    padding: 10px;
    z-index: 10;
  }

  .chat-send-block {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    width: 100%;
    z-index: 10;
    padding: 10px 0;
    background-image: linear-gradient(0deg,#20202030 20%,  transparent 80%)
  }

  .bg-gradient-primary {
    background-image: linear-gradient(45deg, rgb(28, 92, 243), rgb(96, 144, 255));
  }

  .bg-gradient-danger {
    background-image: linear-gradient(45deg, rgb(243, 28, 28), rgb(255, 96, 96));
  }

  .bg-gradient-success {
    background-image: linear-gradient(45deg, rgb(28, 243, 161), rgb(96, 255, 173));
  }

  .bg-gradient-warning {
    background-image: linear-gradient(45deg, rgb(243, 218, 28), rgb(255, 221, 96));
  }

  .start-radius-0 {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
  }

  .time-delimeter {
    position: relative;
    width: 100%;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .time-delimeter .delimeter {
    height: 1px;
    background-color: var(--color-lightgray);
    position: absolute;
    top: 50%;
    left: 10px;
    right:10px;
    z-index: -1;
  }

  .time-delimeter .delimeter-gray {
    height: 1px;
    background-color: var(--color-light-bg);
    position: absolute;
    top: 50%;
    left: 10px;
    right:10px;
    z-index: -1;
  }

  .time-delimeter .time {
    background-color: var(--color-light-bg);
    font-size: 0.9rem;
    color: var(--color-gray);
    font-weight: 100;
    text-align: center;
    padding: 0 20px;
  }

  
.notifications {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    z-index: 1100;
    padding: 5px;
}

.notification {
    width: 100%;
    border-radius: 7px;
    box-shadow: 0 0 7px rgba(73, 73, 73, 0.493);
    padding: 5px 10px;
    background: rgba(0, 0, 0, 0.555);
    color: #fff;
    display: flex;
    align-items: center;
    margin: 7px 0;
    font-size: 0.8rem;
}

.notification.success {
    background: rgb(203, 226, 255);
    color: rgb(0, 96, 229);
}

.notification.danger {
    background: rgb(255, 222, 239);
    color: rgb(255, 0, 64);
}

.notification.warning {
    background: rgb(255, 239, 222);
    color: rgb(255, 136, 0);
}


.summary {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-gray);
}



.sort-link::after {
    width: 100%;
    margin-left: 7px;
}

.sort-link.asc::after {
    font-family: bootstrap-icons !important;
    content: "\f57b";
}

.sort-link.desc::after {
    font-family: bootstrap-icons !important;
    content: "\f575";
}

.mb--0 {
    margin-bottom: 0 !important;
}

.overflow--auto {
    overflow: auto;
}

.overflow-y--auto {
    overflow-y: auto !important;
}

.overflow-x-hidden {
    overflow-x: hidden !important;
}

.btn-to-top {
    position: relative;
    overflow: hidden;
    border: 0;
    box-shadow: 0 !important;
    background-color: #e5edef;
    box-shadow: 0 0 5px var(--color-slat);
}

.btn-to-top:hover {
    box-shadow:  0 0 10px var(--color-slat); 
}

.btn-to-top i {
    font-weight: 700;
    color: var(--color-slat);
    z-index: 5;
    position: relative;
}
.btn-to-top:hover i {
    color: #fefefe;
    transition: all ease-in-out 0.1s;
}

.btn-to-top .bottom-line {
    position: absolute;
    background: var(--color-slat) ;
    left: 0;
    width: 100%;
    z-index: 0 !important;
    bottom: 0;
    height: 3px;
    transition: all ease-in-out .1s;
}

.btn-to-top:hover .bottom-line {
    height: 100%;
}

.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fefefe;
    border-top: 1px solid #aeaeae;
    padding: 5px;
    justify-content: space-between;
    display: flex;
    z-index: 25;
}

.report-icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    display: flex;
    font-size: 2rem;
}

.chatrooms-list {
    display: grid;
    padding: 5px;
}

.chatroom-item {
    padding: 5px;
}

.chatrooms-list>.chatroom-item:not(:last-child) {
    padding-bottom: 10px;
    border-bottom: 1px solid #e7e7e7;
}

.chatroom-item:hover {
    background-color: rgba(14, 14, 14, 0.1);
    border-radius: 5px;
    cursor: pointer;
    transition: all .3s ease-in-out;
}

.create-chat-item:hover {
    background-color: rgba(6, 49, 106, 0.362)3;
}

.map-element {
    cursor: pointer !important;
    border-radius: 5px;
}

span.badge {
    font-size: 1em;
}

.lang-icon {
    height: 20px !important;
    width: 20px !important;
}

/* .lang-switch-button {
    width: 120px !important;
} */

.end-radius-0 {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.bottom-radius-0 {
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.top-radius-0 {
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
}

@keyframes rotate-animation {
    50% {
        transform: rotate(180deg);
    }
}

.animation-rotate {
    animation: rotate-animation 5s infinite;
}

.breadcrumb-item {
    font-size: 0.8em;
    font-weight: 500;
    text-decoration: none;
    color: var(--color-dark-blue);
}

.breadcrumb-item:not(:first-child)::before{
    content: "\f285";
    font-family: "bootstrap-icons";
    font-weight: bold;
}

.profile-dropdown {
    list-style: none;
    display: grid;
    padding: 5px;
}

.profile-dropdown>.list-item{
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--color-dark-blue);
    border-radius: 3px;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    text-wrap: nowrap;
    font-size: 0.8em;
}
.profile-dropdown>.list-item:not(:last-child){
    margin-bottom: 5px;
}
.profile-dropdown>.list-item:hover{
    background: rgba(209, 209, 209, 0.342);
}

.profile-dropdown>.list-item.active{
    color: var(--color-light-theme);
    font-weight: 600;
    background: rgba(209, 209, 209, 0.342);
    border-left: 5px solid var(--color-light-theme);
}

.profile-dropdown>.list-item>i{
    padding: 7px;
}

.tree .btn {
    padding: .25rem .5rem;
    font-weight: 600;
    color: rgba(0, 0, 0, .65);
    font-size: 1em;
}
  
.tree .btn:hover,
.tree .btn:focus {
    color: rgba(0, 0, 0, .85);
    background-color: rgba(121, 82, 179, .1);
}
  
.tree .btn:focus {
    box-shadow: 0 0 0 1px rgba(121, 82, 179, .7);
}

.tree .btn::before {
    width: 1.25em;
    line-height: 0;
    content: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='rgba%280,0,0,.5%29' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 14l6-6-6-6'/%3e%3c/svg%3e");
    transition: transform .35s ease;

    /* rtl:raw:
    transform: rotate(180deg) translateX(-2px);
    */
    font-size: 1em;
    transform-origin: .5em 50%;
}

.tree>li>.btn[aria-expanded="true"]::before {
    transform: rotate(90deg)/* rtl:ignore */;
  }

/* .tree .btn:not(.collapsed)::before {
    transform: rotate(90deg)
} */

.border-dashed {
    border-style: dashed !important;
}

.border-dotted {
    border-style: dotted;
} 

.show-on-hover {
    opacity: 0;
    transition: all ease-in-out 0.3s;
}

.show-on-hover:hover {
    opacity: 1;
}

.rightbar #rightbar-switcher {
    position: fixed;
    top: 50%;
    right: 0;
    z-index: 100000;
    background: var(--color-light-bg);
    color: var(--color-dark-blue);
    transition: all ease-in-out .3s;
    box-shadow: 0 0 5px #dedede;
    border-top-left-radius: 7px;
    border-bottom-left-radius: 7px;
}

.rightbar.active #rightbar-switcher {
    right: var(--rightbar-expanded-width);
    transform: translateX(50%);
    box-shadow: none;
    border-radius: 7px;
}

.rightbar #rightbar-switcher i::before {
    transition:  transform .5s ease;
    transform-origin: 0.5em 50%;
}

.rightbar.active #rightbar-switcher i::before {
    transform: rotate(-180deg);
}

.btn-little {
    --bs-btn-padding-y: 0.2rem;
    --bs-btn-padding-x: 0.3rem;
    --bs-btn-font-size: 0.65rem;
    --bs-btn-border-radius: 0.2rem;
}

table.calendar>tbody>tr>td:hover .d-grid {
    background-color: var(--color-accent-primary);
    border-radius: 7px;
    cursor: pointer;
    transform: scale(1.2);
    transition: transform ease-in-out .3s;
}
.timelines>.timeline{
    position: relative;;
}

.timelines>.timeline:not(:last-child)>.stick {
    position: absolute;
    height: 100%;
    top: 50%;
    left: 10px;
    border-left: 2px solid #3d5eff;
}

.timeline>.stick-top {
    position: absolute;
    top: 50%;
    left: 2px;
    transform: translateY(-50%);
    border-radius: 50%;
    padding: 2px;
}


.object-cover {
    object-fit: cover;
}

.object-center {
    object-position: center;
}

.department-item:hover,
.department-item:active {
    cursor: pointer;
    background: rgba(59, 134, 255, 0.116);
    transition: all ease-in-out .3s;
}

.treatment-room:hover {
    cursor: pointer;
    background: rgb(12, 104, 252);
    transition: all ease-in-out .3s;
}

.p-01 {
    padding: 2px;
}

.list-style-number {
    list-style: decimal;
}

.color-block {
    width: 30px;
    height: 15px;
}

.diary-days {
    font-size: 0.7em;
    background-color: rgba(128, 128, 128, 0.15) !important;
    color: #606A79;
    font-weight: 500;
    margin: 0 5px;
    border-radius: 5px;
    padding: 0 5px;
    cursor: pointer;
    transition: all ease-in-out .3s;
}

.diary-days.selected {
    background-color: rgba(25, 105, 209, 0.15) !important;
    color: #236bfa;
    font-weight: 700;
    transform: scale(1.2);
}

.diary-days:hover {
    transform: scale(1.1);
}

.diary-timelines {
    display: grid;
    font-size: 0.8em;
}

.diary-timelines .timeline {
    position: relative;
    /* border: 1px solid #95959556; */
    margin-bottom: 10px;
    border-radius: 7px;
}

.diary-timelines>.timeline:not(:last-child)>.stick {
    position: absolute;
    height: 100%;
    top: 50%;
    left: 0;
    margin-top: 5px;
    border-left: 1px dashed #1971fd;
}

.diary-timelines>.timeline>.stick-top {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateX(-50%) translateY(-50%);
    border-radius: 50%;
    color: #1971fd;
}

.accordion-button {
}

.accordion-item {
    background: transparent !important;
    border: none;
}

.accordion-body {
    padding: 0;
}

.object-top {
    object-position: top;
}

.btn-accent-primary {
    color: rgb(13, 110, 253) !important;
}

.btn-accent-secondary {
    color: rgb(108, 117, 125) !important;
}


@keyframes shake {
    0% {
        transform: translateX(-2px);
    }
    25% {
        transform: translateX(2px);
    }
    50% {
        transform: translateX(-2px);
    }
    75% {
        transform: translateX(2px);
    }
    100% {
        transform: translateX(0);
    }
}

.animate-shake {
    animation: shake 0.3s ease-in-out infinite;
}

.sp-results div:not(:last-child){
    border-bottom: 1px solid #9e9e9eb3;
}

.table-layout-fixed {
    table-layout: fixed !important;
}

.bg-striped {
    background-image: linear-gradient(45deg, #d3d3d3 25%, transparent 25%, transparent 50%, #d3d3d3 50%, #d3d3d3 75%, transparent 75%, #fff);
    background-size: 50px 50px;
}

.text-ellipses {
    text-overflow: ellipsis;
    text-wrap: nowrap;
    white-space: nowrap;
}

.rounded-end-triangle::after{
    width: 0;
    height: 0;
    border-color: transparent;
    border-top: 0;
    border-right: 30px;
    border-left: 30px;
}


/* Bordered Tabs */
.nav-tabs-bordered {
    border-bottom: 2px solid #ebeef4;
  }
  .nav-tabs-bordered .nav-link {
    margin-bottom: -2px;
    border: none;
    color: #2c384e;
  }
  .nav-tabs-bordered .nav-link:hover, .nav-tabs-bordered .nav-link:focus {
    color: #4154f1;
  }
  .nav-tabs-bordered .nav-link.active {
    background-color: #fff;
    color: #4154f1;
    border-bottom: 2px solid #4154f1;
  }