/* Analitics */
.echarts {
    /*! background-color: #9DC8E4; */
    width: calc(100% * (5 / 6));
    height: 22rem;
    /*height: 16rem;*/
    background: white;
    margin: 1rem 0.5rem 0.5rem 0.5rem;
    padding: 0.5rem;
    border-radius: var(--radius-big);
    border: solid 1px var(--grey_04);
    /*! margin: 0.5rem; */
}

.echarts.week_day {
    margin: 0.5rem;
    width: calc(50% - 0.5rem);
}

.echarts.right {
    margin: 0.5rem 0.5rem;
    width: calc(50% - 0.5rem);
}

.echarts.big_height {
    height: 32rem;
    width: 100%;
    margin-right: 0.5rem;
    /*! margin-left: 0; */
}


.analitics {
    min-width: 77rem;
    padding: 0 0.5rem 0 0;
    margin-bottom: 0.5rem;
    margin-left: 0.5rem;
}

.analitics .region {
    /*! background: red; */
    background: var(--grey_02);
    border: solid 1px var(--secondary);
    border-radius: var(--radius-big);
    padding: 0.5rem 0.5rem 0.5rem 0;
    margin-top: 0.5rem;
    margin-right: 0.5rem;
    /*! background: RGB(28, 164, 225); */
    margin-left: 0.5rem;
}

.analitics .region .download {
    background: red;
}

.analitic_row {
    /*! margin: 0.5rem 0 0 1rem; */
    /*! background: aquamarine; */
    display: flex;
    align-items: center;
    /*! justify-content: space-between; */
    /*! height: 12rem; */
    /*! width: 100%; */
}

.analitic_row.single {
    margin-top: 1rem;
    /*! margin-bottom: -0.5rem; */
}




.analitic_info {
    margin: 0;
    display: flex;
    align-items: center;
    /*! margin-left: calc(100% / 6); */
    /*! padding: 0 1rem; */
}

.analitic_info .title {
    /*! font-weight: 500; */
    font-size: 0.8125rem;
    /*! margin: 1rem 0.5rem 1rem 0.5rem; */
    /*! color: var(--primary); */
    /*! font-weight: 500; */
    margin-left: 0.5rem;
    margin-right: 0.75rem;
}

.analitic_info .data_info {
    /*! padding: 0 0.5rem; */
    /*! color: var(--primary); */
    font-size: 0.75rem;
    font-weight: 500;
    /*! background: white; */
    padding: 0.5rem 1rem;
    /*! border-radius: var(--radius-small); */
    /*! border: solid 1px var(--grey_04); */
    margin-right: 1rem;
    display: flex;
    align-items: center;
}

.analitic_info .data_info .material-icons {
    padding-right: 0.5rem;
    margin: 0;

    color: var(--primary);
}

.analitic_row .title {
    width: calc(100% / 6);
    /*! background: bisque; */
    font-weight: 500;
    font-size: 0.875rem;
    text-align: right;
    min-width: 13.5rem;
    /*! margin: 0; */
    /*! padding: 0; */
    /*! margin-left: -0.5rem; */
}

.analitic_row .title.left {
    /*! margin: 0; */
    /*! min-width: initial; */
    width: auto;
}

.analitic_row .item {
    width: calc(100% / 6);
    /*! background: burlywood; */
    height: calc(100% - 3rem);
    margin: 0.5rem 0;
    /*! margin-bottom: 0.5rem; */
    /*! width: 8rem; */
}

.analitic_row .item .data {
    width: calc(100% - 1rem);
    height: 14rem;
    background: white;
    border-radius: var(--radius-big);
    border: solid 1px var(--grey_04);
    margin: auto;
    /*! vertical-align: bottom; */
    /*! display: inline-table; */
    padding: 1rem 1rem 0 1rem;
}

.analitic_row .item .description {
    text-align: center;
    font-size: 0.75rem;
}

.analitics .group {
    display: flex;
    /*! font-size: 0.875rem; */
    /*! margin-left: -0.5rem; */
    /*! margin-top: -0.5rem; */
    align-items: flex-start;
}

.analitics .group .column {
    width: 50%;
    margin: 0.5rem;
    background: white;
    border: solid 1px var(--grey_04);
    border-radius: var(--radius-big);
    /*! padding: 1rem 0; */
    /*! align-items: flex-start; */
}

.analitics .group .title {
    background: var(--primary);
    border-radius: 8px 8px 0 0;
    color: white;
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    font-size: 0.8125rem;
    font-weight: 500;
}

.analitics .group .title .name {
    /*! width: 75%; */
    text-align: center;
}

.analitics .group .title .value {
    width: 15%;
    text-align: right;
}

.analitics .group .title .amount {
    text-align: right;
    width: 10%;
}

.analitics .scroll_area {
    overflow-x: hidden;
    overflow-y: auto;
    max-height: 24rem;
    padding: 0.25rem 0;
}

.analitics .scroll_area .hall_row {
    display: flex;
    padding: 0 0.5rem;
    transition: ease-in-out 0.3s;
    font-size: 0.8125rem;
}

.analitics .scroll_area .hall_row.selected {
    background: var(--hover);
    font-weight: 500;
    border-left: solid 0.5rem var(--primary);
}

.analitics .scroll_area .hall_row:hover {
    background: var(--hover);
    cursor: pointer;
}

.analitics .scroll_area .hall_row .name {
    /*! background: aqua; */
    width: 65%;
    padding: 0.5rem;
}

.analitics .scroll_area .hall_row .value {
    display: flex;
    /*! align-items: center; */
    padding: 0.5rem;
    width: 15%;
    /*! text-align: right; */
    justify-content: end;
}

.analitics .scroll_area .hall_row .amount {
    padding: 0.5rem;
    text-align: right;
    width: 10%;
}
.analitics .scroll_area .hall_row .count_days {
    padding: 0.5rem;
    text-align: right;
    width: 10%;
}

/**/
.analitics .scroll_area .history_row {
    display: flex;
    flex-flow: nowrap;
    font-size: 0.75rem;
    transition: ease-in-out 0.3s;
    background: white;
    margin: 0.25rem 0.5rem;
    border-radius: var(--radius-small);
}

.analitics .scroll_area .history_row:hover {
    background: var(--hover);
}

.analitics .scroll_area .history_row .item {
    padding: 0.5rem;
}

.analitics .scroll_area .history_row .item .event_type {
    margin-bottom: 0.5rem;
    font-size: 0.6875rem;
    display: flex;
}

.analitics .scroll_area .history_row .item .event_name {
    font-weight: 300;
    font-size: 0.8125rem;
    color: var(--text_light);
}

.analitics .scroll_area .history_row .item .indicator {
    position: relative;
    height: 0.25rem;
    background: var(--grey_02);
    border-radius: var(--radius-big);
    overflow: hidden;
    margin-top: 0.5rem;
}

.analitics .scroll_area .history_row .item .discreption {
    display: flex;
    align-items: end;

    color: var(--text_light);
    font-weight: 300;
    font-size: 0.6875rem;
    margin-top: 0.5rem;
}

.analitics .scroll_area .history_row .item .indicator .value {
    position: absolute;
    height: 100%;
    background: var(--secondary);
}

.analitics .scroll_area .history_row .item .discreption .square {
    font-weight: 400;
    color: var(--text_light);
}

.analitics .scroll_area .history_row .item .discreption .date {
    margin-left: auto;
}

.analitics .scroll_area .history_row .item .discreption .duration {
    margin-left: 1rem;
    display: flex;
    min-width: 2.5rem;
    justify-content: space-between;
    font-weight: 400;

}

.analitic_row .item .data.custom {
    display: flex;
    align-items: center;
    justify-content: center;
    /*! flex-flow: wrap; */
    /*! width: 100%; */
    flex-flow: column;
}

.analitic_row .item .data.custom .value_row {
    display: flex;
    padding: 1rem 0;
    align-items: baseline;
}

.analitic_row .item .data.custom .value_row span {
    font-size: 0.75rem;
    font-weight: 300;
    margin-right: 1rem;
}

.analitic_row .item .data.custom .value_row .value {
    font-size: 2rem;
    font-weight: 500;
    color: var(--primary);
}

.analitic_row .item .data.custom .value_row.old .value {
    color: rgba(28, 164, 225, 0.5);
    font-size: 1.5rem;
}

.analitic_row .item .data.custom .title {
    width: initial;
    min-width: initial;
    font-weight: 500;
    font-size: 13px;
    margin-top: 3.25rem;
}

/*STAFF*/
.staff_table {
    /*! background: var(--grey_01); */
    /*! margin: 0 2.5rem 0 0; */
    border: solid 1px var(--grey_04);
    border-radius: var(--radius-big);
    padding: 0.5rem 0;
    /*! height: 100%; */
    margin: 1rem 0.5rem 0 0.5rem;
}



.staff_table .company_list.show {
    display: block;
}

.staff_table .company_list {
    background: white;
    display: none;
    /*! max-height: 16rem; */
    /*! overflow-y: auto; */
    margin-top: -0.5rem;
}

.staff_table .staff_row {
    display: flex;
    align-items: center;
    transition: ease-in-out 0.3s;
    margin: 0.5rem 0;
    background: var(--grey_03);
}
.staff_table .company_list .staff_row{
    margin: 0 0;
    background: white;
    border-bottom: 1px solid var(--grey_04);
}

.staff_table .staff_row:hover:not(.header) {
    background: var(--hover);
}

.staff_table .staff_row:nth-of-type(even){
    /*! background: var(--grey_02); */
}

.staff_table .company_list ~ .staff_row:nth-of-type(even){
    /*! background: var(--grey_03); */
}
.staff_table .company_list .staff_row:hover {
    background: RGBa(157, 200, 228, 0.25);
    cursor: pointer;
}

.staff_table .staff_row.header {
    font-weight: 500;
    position: sticky;
    top: calc(4rem - 6px);
    /*! background: var(--grey_02); */
    border-bottom: solid 1px var(--grey_04);
    padding-bottom: 0.25rem;
    background: linear-gradient(var(--grey_01), var(--grey_02));
}

.staff_table .staff_row.header .cell {
    padding: 1rem;
    justify-content: center;
}

.staff_table .staff_row.header .cell:not(:last-child) {
    border-right: solid 1px var(--grey_04);
}



.staff_table .staff_row .cell {
    padding: 0.5rem 1rem;
    font-size: 0.785rem;
    line-height: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    /*! background: white; */
}


.staff_table .company_list .pos_02 {
    justify-content: flex-start;
}

.staff_table .staff_row .cell .logo {
    margin-left: auto;
    /*! max-width: 6rem; */
    /*! max-height: 1.5rem; */
    /*! object-fit: cover; */
    /*! width: 100%; */
    /*! height: 100%; */
    /*! max-width: 100%; */
    /*! max-height: 100%; */
    /*! display: flex; */
}
.staff_table .staff_row .cell .logo img{
    /*! max-width: 6rem; */
    max-height: 1.5rem;
}

.staff_table .staff_row .cell .button {
    width: calc(3.5rem + 2px);
    /*! margin: 0 0 0 auto; */
    background: var(--primary);
    color: white;
    justify-content: end;
}
.staff_table .staff_row .cell .button::before {
  content: "visibility";
  margin-right: auto;
  font-family: 'Material Icons';
}
.staff_table .staff_row .staff_row{
    background: red;
}

.staff_table .staff_row .cell .button .material-icons.rotate {
    transform: rotate(90deg)
}

.staff_table .staff_row .cell.pos_01 {
    width: 20rem;
    justify-content: space-between;
}

.staff_table .staff_row .cell.pos_02 {
    width: 14rem;
}

.staff_table .staff_row .cell.pos_03 {
    width: 7rem;
    /*! justify-content: center; */
}

.staff_table .staff_row .cell.pos_04 {
    width: 8rem;
    /*! justify-content: center; */
}

.staff_table .staff_row .cell.pos_05 {
    width: 8rem;
    /*! justify-content: center; */
}

.staff_table .staff_row .cell.pos_06 {
    width: 8rem;
    /*! justify-content: center; */
}

.staff_table .staff_row .cell.pos_07 {
    width: 8rem;
    /*! justify-content: center; */
}

.staff_table .staff_row .cell.pos_08 {
    width: 8rem;
    /*! justify-content: center; */
}