:root {
    --substrate-bg-color: white;
    --substrate-active-bg-color: rgba(253, 250, 233, 0.821);
    --body-bg-color: black;
    --offcanvas-head-bg: rgb(104, 199, 246);
    --offcanvas-menu-bg: rgb(204, 206, 207);
    --menu-toolbar-bg:  rgb(250, 242, 195);
    --demand-bg-color: rgb(205, 207, 207);
  }
  
* {
    padding: 0;
    margin: 0;
    scrollbar-width: thin;
    scrollbar-color: rgb(207, 250, 123) grey;
}

body {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 100vh;
    font-size: 14px;
    background-color: var(--body-bg-color);
}

.content {
    display: flex;
    flex-direction: column;
    margin-top: 100px;
    margin-bottom: 65px;
}

.about {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 400px;
    height: 400px;
    border: 1px solid whitesmoke;
    border-radius: 15px;
    overflow-y: auto;
    color: aqua;
}

.dimanchik {
    color: rgb(174, 174, 174);
    text-decoration: none;

    &:hover {
        color: rgb(206, 203, 203);
        transition: 0.3s;
    }
}

.form__range {
    min-width: 380px;
    height: 100vh;
}

.header {
    height: 60px;
    width: 100%;
    height: 100hv;
}

.menu__background {
    background: -webkit-linear-gradient(0deg, rgb(245, 245, 245), var(--menu-toolbar-bg));
    background: -moz-linear-gradient(0deg, rgb(245, 245, 245),  var(--menu-toolbar-bg));
    background: linear-gradient(0deg, rgb(245, 245, 245),  var(--menu-toolbar-bg));
}

.toolbar__background {
    background: -webkit-linear-gradient(180deg, rgb(245, 245, 245), var(--menu-toolbar-bg));
    background: -moz-linear-gradient(180deg, rgb(245, 245, 245),  var(--menu-toolbar-bg));
    background: linear-gradient(180deg, rgb(245, 245, 245),  var(--menu-toolbar-bg));
}

.substrate {
    height: 55px;
    width: 65px;
    background-color: var(--substrate-bg-color);
    border-radius: 5px;
}

.substrate__active {
    border: 1px solid rgb(237, 254, 0);
    background-color: var(--substrate-active-bg-color);
}

.custom_shadow {
    -webkit-box-shadow: 4px 4px 8px 0px rgba(34, 60, 80, 0.2);
    -moz-box-shadow: 4px 4px 8px 0px rgba(34, 60, 80, 0.2);
    box-shadow: 4px 4px 8px 0px rgba(34, 60, 80, 0.2);
}

.shadow__light {
    -webkit-box-shadow: 4px 4px 8px 0px rgb(221, 234, 244);
    -moz-box-shadow: 4px 4px 8px 0px rgba(221, 234, 244);
    box-shadow: 4px 4px 8px 0px rgba(221, 234, 244);
}

.menu__font {
    font-size: 12px;
    text-decoration: none;
    color: black;
    
}

.offcanvas__main {
    display: flex;
    flex-direction: column;
    background-color: var(--menu-toolbar-bg);
    border-radius: 0 15px 15px 0;
    font-size: 14px;
}

.offcanvas__header {
    gap: 15px;
    background-color: var(--offcanvas-head-bg);
    color: black;
    border-radius: 15px;
    height: 30px;

}

.offcanvas__menu {
    background-color: white;
    border-radius: 5px;
    font-weight: 600;
}

.offcanvas__item {
    width: 30px;
    height: auto;
}

.offcanvas__a {
    text-decoration: none;
    color: black;

    &:hover {
        background-color: var(--offcanvas-menu-bg);
        border-radius: 5px;
        transition: 0.3s;
    }
}

.demand__back {
    background-color: var(--demand-bg-color);
    border-radius: 15px;
}

.demand__item {
    background-color: var(--menu-toolbar-bg);
    border-radius: 10px;
}

.cards__head {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    border-radius: 10px;
    height: 25px;
    background-color: var(--offcanvas-head-bg);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.cards {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
}

#card__hover:hover {
    transition: 0.2s;
    -webkit-box-shadow: 10px 10px 2px -5px rgba(198, 224, 245, 0.51);
    -moz-box-shadow: 10px 10px 2px -5px rgba(198, 224, 245, 0.51);
    box-shadow: 10px 10px 2px -5px rgba(198, 224, 245, 0.51);
    
    #card__clicable::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

}

#card__ul {
    li {
        padding: 0;
        padding-left: 12px;
        height: auto;
        align-items: center;
    }
}

.card__size__demand {
    width: 18rem;
}

.card__size__user {
    width: 18rem;
}

.card__size__office {
    width: 20rem;
}

.card__size__catalog {
    width: 18rem;
}

.ofcanvass__demand__filters__bg {
    background-color: var(--menu-toolbar-bg);
    border-radius: 10px;
    border: 1px solid rgb(207, 250, 123);
}

.toolbar {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 50px;
    bottom: 0;
}

.toolbar__back {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 35px;
    width: 35px;
    background-color: var(--substrate-bg-color);
    border-radius: 50%;
}

#toolimg:hover {
    cursor: pointer;
    transform: scale(1.2);
    transition: 0.3s;
}

#toolref {
    text-decoration: none;
}

.verify__dialog {
    background-color: var(--menu-toolbar-bg);
    color: black;
    overflow-x: auto;
    overflow-y: auto;
}

.verify__cell {
    background-color: bisque;
}


.mail__visible {
    visibility: visible;
}

.profile__password {
    border-radius: 0 0 5px 5px;
    height: auto;
}

.users__edit__office__bg {
    max-height: 300px;
    overflow-y: auto;
    overflow-x: auto;
    border-radius: 5px 5px 0 0;
    background-color: rgb(243, 251, 252);
    font-size: 12px;
}

.journal__title {
    background-color:rgb(207, 238, 245);
    font-size: 16px;
    border-radius: 5px 5px 0 0;
}

#sizrow:hover {
    background-color:rgb(66, 64, 64);
    transition: 0.2s;
}

#sizrow {
    a {
        color:cyan
    }
}

#siz__a {
    text-decoration: none;
    color:whitesmoke;
}

#siz__a:hover {
    text-decoration: underline;
    color: rgb(69, 162, 255);
}

.tr__last_journal {
    border-color: blue;
    background-color: lightgray;
    color: black;
    font-size: 12px;
}

.broken-date {
    margin-top: 100px;
    border: 1px solid yellow;
    border-radius: 10px;
    overflow-y: auto;
    max-height: 300px;
    width: auto;
    padding: 10px;
}