:root {
    --color-blue: #0d6efd;
    --color-indigo: #6610f2;
    --color-purple: #6f42c1;
    --color-pink: #d63384;
    --color-red: #dc3545;
    --color-orange: #fd7e14;
    --color-yellow: #ffc107;
    --color-green: #198754;
    --color-teal: #20c997;
    --color-cyan: #0dcaf0;
    --color-black: #000;
    --color-white: #fff;
    --color-light-theme:hsl(200, 84%, 44%);
    --color-accent-primary:hsla(216, 63%, 50%, 0.267);
    --color-accent-success:rgba(0, 128, 58, 0.15);
    --color-accent-warning:rgba(245, 213, 32, 0.15);
    --color-accent-danger:rgba(255, 0, 128, 0.15);
    --color-accent-secondary:rgba(128, 128, 128, 0.15);
    --color-lightgray: rgb(232, 232, 232);
    --color-gray: rgb(157, 156, 156);
    --color-black:#000;
    --color-light-bg:#F8F9FA;
    --color-dark-blue:#606A79;
    --sidebar-expanded-width:230px;
    --sidebar-collapsed-width:0;
    --rightbar-expanded-width:320px;
    --color-slat:#4682A9;
}

body {
    height: 100vh;
    overflow: hidden;
}
::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

header {
    z-index: 10;
}

.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 {
    margin-right: 15px;
    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);
}

.global-navs {
    display: flex;
    align-items: center;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.global-navs>.global-navs-item {
    padding: 5px 10px;
    margin: 0;
    margin-right: 3px;
    border-radius: 5px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--color-green);
    background: var(--color-accent-success);
    text-decoration: none;
    transition: all ease-in-out .2s;
    text-wrap: nowrap;
}
.global-navs>.global-navs-item:hover{
    font-size: 0.9rem;
}

.profile-item {
    display: flex;
    align-items: center;
    justify-content: start;
    margin-left: 5px;
    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);
}

.sidebar {
    height: 100vh;
    width: 0;
    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;
}

.sidebar-active .sidebar {
    width: var(--sidebar-expanded-width);
}

.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;
}
.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;
}

main.main {
    padding: 10px;
    padding-top: 60px;
    width: 100%;
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
}

.rightbar {
    height: 100vh;
    width: var(--rightbar-expanded-width);
    display: flex;
    flex-direction: column;
    overflow: 5;
    flex-shrink: 0;
    padding-top: 50px;
    height: 100vh;
    overflow-y: auto
}

.box-shadow {
    box-shadow: 0 0 10px #d8d8d8;
}


.bg-accent-secondary,
.bg-accent-gray {
    background-color: rgba(128, 128, 128, 0.15) !important;
}

.bg-accent-danger,
.bg-accent-red {
    background-color: rgba(255, 0, 128, 0.15) !important;
}

.bg-accent-warning,
.bg-accent-yellow {
    background-color: rgba(245, 213, 32, 0.15) !important;
}

.bg-accent-primary,
.bg-accent-blue {
    background-color: rgba(25, 105, 209, 0.15) !important;
}

.bg-accent-success,
.bg-accent-green {
    background-color: rgba(0, 128, 58, 0.15) !important;
    /* color: rgb(169, 181, 255); */
}

.text-slatgray {
    color: #606A79;
}

.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-small {
    font-size: 0.7rem;
}

.text-biggest {
    font-size: 5rem;
}

.cursor-pointer {
    cursor: pointer;
}

.pagination>.page-item {
    margin-right: 5px;
}

.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/bg-login.webp);
    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-image: linear-gradient(5deg,#202020a7 20%,  #4681a900 80%);
}

.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 {
    display: flex;
    max-height: 45px;
    transition: all .7s ease-out;
}

.steps .step.active {
    max-height: 750px;
}

.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;
    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;
}

.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;
  }

  .start-radius-0 {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
  }

  .chat-messages {
    position: absolute;
    width: 100%;
    top: 110px;
    bottom: 0;
    left: 0;
    z-index: 5;
  }

  .message {
    padding: 5px;
    display: flex;
    align-items: baseline;
    justify-content: start;
  }

  .message.own {
    justify-content: end;
  }

  .message-buble {
    padding: 10px;
    border-radius: 7px;
    background-color: rgba(25, 105, 209, 0.15);
    max-width: 80%;
    font-size: 0.8rem;
    color: #0e0e0e;
    font-weight: 400;
  }

  .message-buble .time {
    color: var(--color-gray);
    text-align: end;
    font-weight: 500;
  }

  .message.own .time {
    text-align: start;
  }

  .message.own .message-buble {
    background: rgba(0, 128, 58, 0.15)
  }

  .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 .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);
}


.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";
}