:root {
    --shadow-1: 0px 0px 2px 0px rgba(0, 0, 0, 0.12), 0px 1px 2px 0px rgba(0, 0, 0, 0.14);
    --shadow-2: 0px 0px 2px 0px rgba(0, 0, 0, 0.12), 0px 2px 4px 0px rgba(0, 0, 0, 0.14);
    --shadow-3: 0px 0px 2px 0px rgba(0, 0, 0, 0.12), 0px 4px 8px 0px rgba(0, 0, 0, 0.14);
    --shadow-4: 0px 0px 2px 0px rgba(0, 0, 0, 0.12), 0px 8px 16px 0px rgba(0, 0, 0, 0.14);
    --shadow-5: 0px 0px 8px 0px rgba(0, 0, 0, 0.2), 0px 14px 28px 0px rgba(0, 0, 0, 0.24);
    --shadow-6: 0px 0px 8px 0px rgba(0, 0, 0, 0.2), 0px 32px 64px 0px rgba(0, 0, 0, 0.24);

    --radius-10: 10px;
    --radius-20: 20px;

    --color-text-black: rgba(33, 33, 33, 1);

    --color-notification: rgba(244, 64, 64, 1);
    --color-grey-30: rgba(77, 77, 77, 1);
    --color-grey-34: rgba(87, 87, 87, 1);
    --color-grey-38: rgba(97, 97, 97, 1);
    --color-grey-44: rgba(112, 112, 112, 1);
    --color-grey-48: rgba(122, 122, 122, 1);
    --color-grey-52: rgba(133, 133, 133, 1);
    --color-grey-70: rgba(178, 178, 178, 1);
    --color-grey-74: rgba(189, 189, 189, 1);
    --color-grey-78: rgba(199, 199, 199, 1);
    --color-grey-80: rgba(204, 204, 204, 1);
    --color-grey-82: rgba(209, 209, 209, 1);
    --color-grey-88: rgba(189, 189, 189, 1);
    --color-grey-90: rgba(230, 230, 230, 1);
    --color-grey-92: rgba(235, 235, 235, 1);
    --color-grey-94: rgba(240, 240, 240, 1);
    --color-grey-96: rgba(245, 245, 245, 1);
    --color-grey-white: rgba(255, 255, 255, 1);
    --color-blue-10: rgba(6, 26, 36, 1);
    --color-blue-20: rgba(6, 35, 50, 1);
    --color-blue-30: rgba(8, 44, 64, 1);
    --color-blue-40: rgba(10, 59, 87, 1);
    --color-blue-50: rgba(13, 74, 109, 1);
    --color-blue-60: rgba(14, 86, 129, 1);
    --color-blue-70: rgba(15, 97, 148, 1);
    --color-blue-80: rgba(10, 109, 174, 1);
    --color-blue-90: rgba(29, 137, 211, 1);
    --color-blue-100: rgba(50, 162, 241, 1);
    --color-blue-110: rgba(82, 176, 244, 1);
    --color-blue-120: rgba(106, 186, 246, 1);
    --color-blue-130: rgba(139, 200, 249, 1);
    --color-blue-140: rgba(174, 216, 250, 1);
    --color-blue-150: rgba(204, 229, 250, 1);
    --color-blue-160: rgba(233, 243, 252, 1);
    --color-white-transparent-85: rgba(255, 255, 255, 0.85);
    --color-grey-90-transparent-85: rgba(230, 230, 230, 0.85);
    --color-grey-80-transparent-85: rgba(204, 204, 204, 0.85);
    --space-0: 0px;
    --space-2: 2px;
    --space-4: 4px;
    --space-6: 6px;
    --space-8: 8px;
    --space-10: 10px;
    --space-12: 12px;
    --space-16: 16px;
    --space-20: 20px;
    --space-24: 24px;
    --space-32: 32px;

    --main-font: 'Nunito Sans', sans-serif;
}

/* Typography */
.display, h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, th,
.text-large, .button-link, tbody td, tbody td span, .text-medium, .text-medium-bold, .text-medium-semibold,
.text-small, .text-small-semibold, .text-small-bold, .text-extrasmall, .text-extrasmall-semibold,
.form-select, .bootstrap-select .dropdown-toggle {
    font-family: var(--main-font);
    font-style: normal;
    overflow-wrap: anywhere;
}

.display {
    font-size: 4.25rem;
    font-weight: 700;
    line-height: 5.75rem; /* 135.294% */
}
h1, .h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 3.25rem;
}
h2, .h2, .h2.button-link {
    font-size: 2rem;
    font-weight: 700;
    line-height: 2.5rem;
}
h3, .h3 {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 2.25rem;
}
h4, .h4, .h4.button-link {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 2rem;
}
h5, .h5 {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.75rem;
}
h6, .h6, th {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.375rem;
}
h6.bold, .h6.bold {
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.375rem;
}
.text-large, .text-field-large, tbody td, .button-link {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.375rem;
}
.text-medium, .text-field-medium {
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.25rem;
}
.text-medium-semibold {
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.25rem;
}
.text-medium-bold {
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.25rem;
}
.text-small {
    font-size: 0.75rem;
    font-weight: 400;
    line-height: 1rem;
}
.text-small-semibold {
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1rem;
}
.text-small-bold {
    font-size: 0.75rem;
    font-weight: 800;
    line-height: 1rem;
}
.text-extrasmall {
    font-size: 0.625rem;
    font-weight: 400;
    line-height: 0.875rem;
}
.text-extrasmall-semibold {
    font-size: 0.625rem;
    font-weight: 600;
    line-height: 0.875rem;
}
.text-green {
    color: #30A043;
}
.text-grey {
    color: var(--color-grey-48);
}

/* Buttons */
.button-large, .button-medium, .button-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border: none;
    font-family: var(--main-font);
    font-style: normal;
    line-height: 22px;
    font-weight: 700;
    border-radius: var(--radius-20);
    text-decoration: none;
}
.button-large {
    padding: 0 24px;
    height: 48px;
    font-size: 16px;
    text-wrap: nowrap;
}
.button-medium {
    padding: 0 16px;
    height: 36px;
    font-size: 14px;
    text-wrap: nowrap;
}
.button-icon {
    padding: 0;
    height: 36px;
    width: 36px;
    min-width: 36px;
}
.button-blue {
    background: var(--color-blue-80);
    color: var(--color-grey-white);
}
.button-blue:hover {
    background: var(--color-blue-70);
    color: var(--color-grey-white);
}
.button-blue:active {
    background: var(--color-blue-40);
    color: var(--color-grey-white);
}
.button-blue:disabled {
    background: var(--color-grey-94);
    color: var(--color-grey-74);
}
.button-blue.active {
    background: var(--color-blue-60);
}

.button-red {
    background: #E43434;
    color: var(--color-grey-white);
}
.button-red:hover {
    background: #C22C2C;
    color: var(--color-grey-white);
}
.button-red:active {
    background: #942222;
    color: var(--color-grey-white);
}
.button-red.active {
    background: #A02424;
}
.button-red:disabled {
    background: var(--color-grey-94);
    color: var(--color-grey-74);
    pointer-events: none;
}

.button-white {
    border-radius: var(--radius-20);
    background: var(--color-white-transparent-85);
    color: var(--color-text-black);
    backdrop-filter: blur(8px);
    border: 1px solid var(--color-grey-82);
}
.button-white:hover {
    background: var(--color-grey-90-transparent-85);
    color: var(--color-text-black);
}
.button-white:active {
    background: var(--color-grey-80-transparent-85);
    color: var(--color-text-black);
}
.button-white:disabled {
    background: var(--color-white-transparent-85);
    color: var(--color-grey-74);
}
.button-white.button-icon {
    border-radius: var(--radius-10);
    border: none !important;
}
.button-white.active {
    background: #EBEBEB;
    border: 1px solid #BDBDBD;
}

a.button-link {
    color: var(--color-text-black);
    text-decoration: none;
}
.button-link {
    border: none;
    background-color: transparent !important;
}
.button-link:hover, .button-link:disabled {
    color: var(--color-grey-52);
}
.table .button-link {
    font-weight: 700;
}
.table .button-link:hover {
    color: #0A6DAE;
}
.table .button-link:active {
    color: #0A3B57;
}

/* Text-field */
.text-field-large, .text-field-medium, .form-select, .bootstrap-select .dropdown-toggle {
    height: 40px;
    border-radius: var(--radius-10);
    display: block;
    padding: 0 12px;

    color: #212529;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid var(--color-grey-82);

    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
.text-field-medium {
    height: 32px;
    border-radius: 4px;
    padding: 0 10px;
}
.text-field-large:hover, .text-field-medium:hover {
    border-color: var(--color-grey-78);
}
.text-field-large:active, .text-field-medium:active {
    border-color: var(--color-grey-70);
}
.text-field-large:focus, .text-field-medium:focus {
    border-color: var(--color-blue-80);
}
.text-field-large:disabled, .text-field-medium:disabled {
    color: var(--color-grey-74);
    border-color: var(--color-grey-88);
}

textarea.text-field-large {
    padding-top: 8px;
    padding-bottom: 8px;
    height: auto;
    resize: none;
}

/* Dropdown */
.form-select, .bootstrap-select .dropdown-toggle {
    width: auto;
    padding: .375rem 2.25rem .375rem .75rem;
    -moz-padding-start: calc(0.75rem - 3px);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--color-text-black);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right .75rem center;
    background-size: 16px 12px;
    border-radius: var(--radius-20);
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    max-width: 160px;
}
.bootstrap-select {
    max-width: 160px;
}
.bootstrap-select > .dropdown-toggle:after {
    display: none;
}

/* Color picker */
#colorInput:disabled {
    opacity: 0.4;
    background-color: var(--color-grey-82);
}
input[type=color] {
    border: 1px solid var(--color-grey-82);
    padding: 6px;
    border-radius: 6px;
    height: 36px;
    width: 36px;
    background-color: var(--color-grey-white);
}


/* Check-box */
.form-check {
    margin: 0;
    padding: 0;
}
.form-check-input[type=checkbox], input[type=checkbox] {
    border-radius: 2px;
    margin: 4px 0;
    width: 1em;
    height: 1em;
    vertical-align: top;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: center;
    border: 1px solid var(--color-text-black);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-print-color-adjust: exact;
    color-adjust: exact;
    background-size: 16px 16px;
}
table .form-check-input[type=checkbox], table input[type=checkbox] {
    margin: 0;
}
.form-check-input:hover, input[type=checkbox]:hover, .form-check-input:active, input[type=checkbox]:active {
    border-color: var(--color-grey-52);
}
.form-check-input:active, input[type=checkbox]:active {
    border-color: var(--color-text-black);
}
.form-check-input:disabled, input[type=checkbox]:disabled {
    border-color: var(--color-grey-70);
}
.form-check-input:disabled:checked, input[type=checkbox]:disabled:checked {
    border-width: 0;
    background-image: url("../img/icon/checkmark-grey.svg");
}

.form-check-input:checked[type=checkbox] {
    background-color: var(--color-blue-80);
    background-image: url("../img/icon/checkmark-white.svg");
    border: none;
}
.form-check-input:checked[type=checkbox]:hover {
    background-color: var(--color-blue-70);
    border-color: var(--color-blue-70);
}
.form-check-input:checked[type=checkbox]:active {
    background-color: var(--color-blue-40);
    border-color: var(--color-blue-40);
}

.form-check-input:indeterminate {
    background-image: none !important;
}
.form-check-input:indeterminate::after {
    width: 8px;
    height: 8px;
    border-radius: 2px;
    position: center;
    background-color: var(--color-blue-80);
}

.checkbox-item {
    gap: 12px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
.settings-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.settings-container {
    gap: 20px;
    display: flex;
    flex-direction: row;
}
#addAnswerButton {
    margin-top: 32px;
}
.answer-item {
    padding-top: 24px;
}

/* Switch */
.form-switch {
    padding: 0;
}
.form-switch .form-check-input {
    width: 40px;
    height: 20px;
    background-position: left 2px center;
    background-size:  auto;
    background-repeat: no-repeat;
    border-radius: var(--radius-10);
    background-color: var(--color-grey-white);
    border: 1px solid var(--color-grey-38);
    transition: background-position .15s ease-in-out;
}
.form-switch .form-check-input:hover {
    background-color: var(--color-grey-white);
    border-color: var(--color-grey-34);
}
.form-switch .form-check-input:active {
    background-color: var(--color-grey-white);
    border-color: var(--color-grey-30);
}
.form-switch .form-check-input:disabled {
    background-color: var(--color-grey-white);
    border-color: var(--color-grey-88);
}
.form-switch .form-check-input:checked {
    background-position: right 3px center;
    background-color: var(--color-blue-80);
    border: none;
}
.form-switch .form-check-input:checked:hover {
    background-color: var(--color-blue-70);
}
.form-switch .form-check-input:checked:active {
    background-color: var(--color-blue-40);
}
.form-switch .form-check-input:checked:disabled {
    background-color: var(--color-grey-94);
}
/* shapes */
.form-switch .form-check-input, .form-switch .form-check-input:focus {
    background-image: url(../img/icon/circle-none.svg);
}
.form-switch .form-check-input:hover {
    background-image: url(../img/icon/circle-hover-unchecked.svg);
}
.form-switch .form-check-input:active {
    background-image: url(../img/icon/circle-active.svg);
}
.form-switch .form-check-input:disabled, .form-check-input:checked:disabled {
    background-image: url(../img/icon/circle-disabled.svg);
}
.form-switch .form-check-input:checked, .form-switch .form-check-input:checked:hover,
.form-switch .form-check-input:checked:active, .form-switch .form-check-input:checked:focus {
    background-image: url(../img/icon/circle-checked.svg);
}

/* Tabs switch */
.tab-switch {
    padding: 2px;
    display: flex;
    gap: 2px;
    background-color: #E4E4E4;
    border: 1px solid #CDCDCD;
    border-radius: 20px;
    flex-wrap: nowrap;
}
.tab-switch .nav-link {
    padding: 6px 15px;
    gap: 2px;
    background-color: transparent;
    border: none;
    border-radius: 20px;
    font: 1rem var(--main-font), sans-serif;
    line-height: 22px;
    transition: all 150ms;
    font-weight: 400;
    color: var(--color-text-black) !important;
    white-space: nowrap;
}
.tab-switch .nav-link.active {
    background-color: #FFFFFF;
}

/*Radio*/
.form-check-input[type=radio] {
    width: 16px;
    height: 16px;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: center center;
    background-image: none;
    background-size: auto;
    border: 1px solid #848484;
    border-radius: 50%;
    transition: background-position .15s ease-in-out;
    margin: 4px 0;
}

.form-check-input[type=radio] {
    /*border-radius: 50%;*/
}

.form-check-input[type=radio]:hover {
    border-color: #666666;
    background-image: none;
}

.form-check-input[type=radio]:active {
    border-color: #848484;
    background-image: none;
}

.form-check-input[type=radio]:disabled {
    border-color: #B2B2B2;
    background-image: none;
}

.form-check-input:checked[type=radio] {
    /*width: 16px;*/
    /*height: 16px;*/
    background-color: #ffffff;
    border-color: var(--color-blue-80);
    background-image: url(../img/icon/radio-checked.svg);
    background-position: center;
}

.form-check-input:checked[type=radio]:hover {
    background-color: #ffffff;
    border-color: var(--color-blue-70);
    background-image: url(../img/icon/radio-hover.svg);
    background-position: center;
}

.form-check-input:checked[type=radio]:active {
    background-color: #ffffff;
    border-color: var(--color-blue-40);
    background-image: url(../img/icon/radio-active.svg);
    background-position: center;
}

.form-check-input:checked[type=radio]:disabled {
    background-color: #ffffff;
    border-color: #B2B2B2;
    background-image: url(../img/icon/radio-disabled.svg);
    background-position: center;
}

/* Cards and surfaces */
.card {
    border-radius: var(--radius-20);
    border-color: var(--color-grey-90);
}

/* Search group */
.search-group .form-control {
    border-width: 1px 0 1px 1px;
    border-radius: var(--radius-20) 0 0 var(--radius-20);
}
.search-group .button-blue {
    border-radius: 0 var(--radius-20) var(--radius-20) 0;
    height: 40px;
    padding: 0 8px;
}

/* Header */
.logo-group {
    color: #212121 !important;
    text-decoration: none;
    height: 100%;
    gap: 12px;
}
.burger-menu .navbar-nav.menu .logo-group {
    padding: 8px 0;
}
.logo-group label, .authorisation-group label {
    cursor: pointer;
}

.authorisation-group {
    gap: 10px;
    color: #212121 !important;
    text-decoration: none;
    height: 100%;
    padding: 26px 16px;
}
.authorisation-group:hover, .header-wrapper .dropdown:hover, .dropdown-item:hover {
    background-color: #EBEBEB;
}
.authorisation-group:active, .header-wrapper .dropdown:active, .dropdown-item:active {
    background-color: #C6C6C6;
}
.burger-menu .authorisation-group {
    height: auto;
    padding: 0;
}

.header-style {
    background: #FFF;
    width: 100%;
    height: 72px;
}
.avatar-cell {
    width: 38px;
    min-width: 38px !important;
    max-width: 38px !important;
    padding: 10px 0 !important;
}
.avatar-cell .user-avatar {
    padding: 0;
    border: none;
    width: 32px;
    height: 32px;
}
.user-avatar {
    padding: 1px;
    border: 2px solid #C6C6C6;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}
.header-wrapper {
    background: #FFF;
    box-shadow: 0 3px 15px 0 rgba(0, 0, 0, 0.10);
    width: 100%;
    height: 72px;
    position: fixed;
    z-index: 999;
}

/* Table */
table p {
    margin: 0;
}
.first-column-checkbox tbody tr td:nth-child(1) {
    padding: 16px !important;
    width: 48px;
}

.bottom-panel {
    height: 86px;
    display: flex;
    align-items: center;
    background-color: var(--color-grey-white);
    box-shadow: 3px 0 15px 0 rgba(0, 0, 0, 0.10);
    position: fixed;
    bottom: 0;
    right: 0;
    left: 0;
    z-index: 999;
}
.bottom-panel .d-flex .d-flex {
    gap: 16px;
}


/* file item */
.file-group p.h6 {
    margin: 28px 0 20px 0;
}
.file-item {
    position: relative;
    width: 200px;
    height: 150px;
    overflow: hidden;
    border-radius: 12px;
    background-color: #EFEFEF;
    border: 1px solid var(--color-grey-82);
    box-sizing: border-box;
}
.file-name-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    height: 40px;
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(4px);
    padding: 0 8px;
    gap: 8px;
    cursor: pointer;
}
.file-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.file-img-simple {
    width: 56px;
    height: 71px;
}
.file-container {
    position: relative;
    height: 150px;
}
.file-container .progress-indicator {
    position: absolute;
    bottom: 0;
}
.disabled {
    pointer-events: none;
    opacity: 0.5;
}
.file-img-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.file-name {
    overflow:hidden;
    white-space:nowrap;
    text-overflow: ellipsis;
}
.file-icon {
    width: 14px;
    height: 18px;
}
.file-item .delete-btn {
    top: 4px;
    left: 176px;
}

.avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 20px;
}
.avatar-modal {
    width: 120px;
    height: 120px;
}
.avatar-extra-small {
    width: 80px !important;
    height: 80px !important;
}
.user-info-row .text-large {
    margin-bottom: 0;
}
.user-info-row .text-grey {
    margin-bottom: 5px;
}
.user-view .col-10 {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.user-view .col-2 {
    align-items: center;
    display: flex;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.user-edit-page h2 {
    margin-top: 36px;
}
.user-edit-page .form-label {
    margin: 0;
}
.user-edit-page .col-4 {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
#avatar-form input.file-input {
    display: none;
}

.not-success {
    color: #E43434;
}
.success {
    color: #30A043;
}
.overwork-color {
    color: #F44040;
}



.warning {
    outline: 12px solid #F4404044;
    border-radius: 10px;
    background-color: #F4404044;
    margin-bottom: 30px !important;
}

.input-group-validation {
    display: flex;
    flex-direction: column;
}

.delete-button {
    height: 28px;
    width: 28px;
    background-image: url(/img/icon/close-icon.svg);
    background-color: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(4px);
    background-repeat: no-repeat;
    background-position: center center;
    cursor: pointer;
}
.delete-button:hover, .file-name-row:hover {
    background-color: rgba(230, 230, 230, 0.6);
}
.delete-button:active, .file-name-row:active, .delete-question-button:active {
    background-color: rgba(204, 204, 204, 0.6);
}

/* Task page */
.track-element {
    display: flex;
    align-items: flex-start;
}
.track-element button {
    opacity: 0;
    transition: opacity 150ms;
}
.track-element:hover button {
    opacity: 1;
}
.track-element > img {
    padding: 7px 6px;
}
.track-element .d-flex.flex-row.justify-content-between.align-items-center {
    height: 36px;
}

.deletable-user {
    background-color: white;
    align-items: center;
    border: 1px solid #D1D1D1;
    border-radius: 20px;
    height: 36px;
    padding: 0 8px 0 14px;
}
.deletable-user .delete-button {
    border-radius: 20px;
}

.no-resize-textarea {
    resize: none;
}

/* Report table */

.report-table {
    width: 100%;
    border: none;
    margin-bottom: 20px;
}
.report-table thead th {
    font-weight: bold;
    text-align: left;
    border: none;
    padding: 10px 15px;
    background: #d8d8d8;
    font-size: 14px;
}
.report-table thead tr th:first-child {
    border-radius: 8px 0 0 8px;
}
.report-table thead tr th:last-child {
    border-radius: 0 8px 8px 0;
}
.report-table tbody td {
    text-align: left;
    border: none;
    padding: 10px 15px;
    font-size: 14px;
    vertical-align: top;
}
.report-table tbody tr:nth-child(even){
    background: #f3f3f3;
}
.report-table tbody tr td:first-child {
    border-radius: 8px 0 0 8px;
}
.report-table tbody tr td:last-child {
    border-radius: 0 8px 8px 0;
}

/* Header styles */
.topbar {
    height: 72px;
}
.dd-icon {
    margin: auto;
    width: 11px;
    height: 6px;
}
.header-wrapper .dropdown {
    padding-right: 16px;
}
.header-wrapper .dropdown .authorisation-group {
    padding-right: 10px;
}
.dropdown-menu {
    padding: 0;
    top: 72px;
    margin-left: 0;
    color: #333;
    border: none;
    border-radius: 0;
    min-width: 139px;
    z-index: 1050;
}
.dropdown-item.active, .dropdown-item:active {
    color: var(--color-text-black);
}
.dropdown-item {
    display: block;
    width: 100%;
    padding: 12px;
    clear: both;
    cursor: pointer;
}
.dropdown-item:hover {
    transition: 0.1s;
}
li.nav-item.item.dropdown:hover {
    color: #5681a6;
    background-color: rgba(255, 255, 255, 0.3);
}
.dropdown:hover img {
    transform: rotate(180deg);
    transition: 0.2s;
}
.dropdown img {
    transition: 0.2s;
}
nav-item.item.dropdown:hover .dropdown-menu[data-bs-popper] {
    top: 100%;
    right: 10px;
    margin-top: 16px;
}
nav.navbar .dropdown:hover > .dropdown-menu {
    display: block;
}
.dropdown-menu {
    box-shadow: 0 8px 15px 0 rgba(0, 0, 0, 0.08);
}
.bootstrap-select .bs-ok-default:after {
    border-width: 0 2px 2px 0 !important;
    -webkit-transform: rotate(45deg) translate(2px, 12px) !important;
    -ms-transform: rotate(45deg) translate(2px, 12px) !important;
    -o-transform: rotate(45deg) translate(2px, 12px) !important;
    transform: rotate(45deg) translate(2px, 12px) !important;
}

#totalSign,
#tasksTotalTime,
#tasksTotalComplexity,
#tasksTotalTempo,
#workersTotalTime,
#workersTotalComplexity,
#workersTotalTempo,
#workersTotalUsefulTime,
#workersTotalUsefulTempo,
#workersTotalUnproductiveTime {
    font-weight: bold;
}

/**************************************************************/
/*                                                            */
/*                        Navigation                          */
/*                                                            */
/**************************************************************/
.expanded_menu {
    background-color: #ffffff00 !important;
    transition: 0.3s;
    border-bottom: 1px solid #00000000 !important;
    backdrop-filter: blur(0px) !important;
    -webkit-backdrop-filter: blur(0px) !important;
}
.expanded_menu .container-fluid .logo-group {
    opacity: 0;
    transition: 0.3s;
}
.navbg_hidden {
    top: -72px;
    background-color: #ffffff00;
    transition: 0.3s;
}
.burger-menu .nav ul {
    opacity: 1;
    transition: 0.5s;
}
.burger-menu .nav:not(.expanded) ul {
    opacity: 0;
    transition: 0.5s;
}

/* nav toggle */
.nav-toggle {
    cursor: pointer;
    position: relative;
    width: 2rem;
    z-index: 2;
}
.nav-toggle:hover {
    opacity: 0.8;
}
.nav-toggle .nav-toggle-bar,
.nav-toggle .nav-toggle-bar::after,
.nav-toggle .nav-toggle-bar::before {
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    background: #212121;
    content: "";
    height: 2px;
    border-radius: 2px;
    transition: all 0.5s;
    width: 100%;
}
.nav-toggle .nav-toggle-bar {
    margin-top: 0;
}
.nav-toggle .nav-toggle-bar::after {
    margin-top: 0.8rem;
}
.nav-toggle .nav-toggle-bar::before {
    margin-top: -0.8rem;
}
.nav-toggle.expanded .nav-toggle-bar {
    background: transparent;
}
.nav-toggle.expanded .nav-toggle-bar::after,
.nav-toggle.expanded .nav-toggle-bar::before {
    background: #333;
    margin-top: 0;
    height: 2px;
    border-radius: 1px;
}
.nav-toggle.expanded .nav-toggle-bar::after {
    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}
.nav-toggle.expanded .nav-toggle-bar::before {
    -ms-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.burger-menu .container-fluid {
    display: flex;
    justify-content: space-between;
    height: 71px;
}
.burger-menu {
    background-color: #ffffffe9;
    border-bottom: 1px solid #00000028;
    position: fixed;
    width: 100%;
    z-index: 999;
    transition: 0.3s;
    top: 0;
}
.mobile-nav-link {
    padding: 12px 0;
    color: #212121;
    text-decoration: none;
}
.burger-menu .navbar-nav-scroll {
    max-height: 100%;
    width: 100%;
}
.burger-menu ul div {
    display: flex;
    align-items: center;
    margin-top: 12px;
}
.burger-menu .item {
    padding: 0px;
}
.burger-menu .nav.expanded::before {
    position: fixed;
    top: 0;
    right: 19rem;
    height: 100vh;
    width: 100%;
    background-color: #333333e9;
}
@media (max-height: 680px) {
    .burger-menu .nav li {
        height: 40px !important;
    }
}

/* nav */
.burger-menu .nav {
    background: #fff;
    color: white;
    cursor: pointer;
    display: flex;
    font-size: 2rem;
    height: 100vh;
    right: -19rem;
    padding: 12px 1rem 0 1rem;
    position: fixed;
    top: 0;
    transition: right 0.4s;
    width: 19rem;
    z-index: 1;
    border-left: 1px solid #00000028;
}
.burger-menu .nav.expanded {
    right: 0;
}
.burger-menu .nav ul {
    list-style: none;
    padding: 0;
}

/* navigation */
.topbar {
    box-shadow: 0 0 0 0 #0000;
    border: 0px solid #0000;
    border-bottom: 1px solid #00000028;
    border-radius: 0;
}
.menu .item {
    font-family: Manrope;
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: #333;
}
.nav-item.item.dropdown:hover .dropdown-menu[data-bs-popper] {
    top: 100%;
    right: 10px;
    margin-top: 16px;
}
.burger-menu .nav-link {
    padding: 26px 22px 26px 22px !important;
    min-width: 100%;
}

/* burger menu */
@media (min-width: 1200px) {
    .burger-menu {
        display: none;
    }
}
@media (max-width: 1199px) {
    .topbar {
        display: none;
    }
}

/* Time report page */
.time-report-page table tbody td:first-child,
.time-report-page table tbody td:nth-child(4),
.time-report-page table th {
    white-space: nowrap;
}
.time-report-page table tbody td:nth-child(5) {
    width: 460px;
    max-width: 460px;
    min-width: 256px;
}
.time-report-page table tr td:nth-child(2) {
    min-width: 256px;
}
/* Monthly report styles */
.monthly-report-page {
    height: 100vh !important;
    max-height: calc(100vh - 218px);
    display: flex;
    flex-direction: column;
}
.monthly-report-page .head-filter h1 {
    min-width: max-content;
}
.head-box {
    padding: 97px 16px 16px 16px;
    border-bottom: 1px solid #D1D1D1;
    background-color: #FFFFFF;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}
.head-filter {
    display: flex;
    gap: 16px 32px;
    flex-wrap: wrap;
}
.head-filter .filter-row {
    max-width: 720px;
    padding: 6px 0;
}
.monthly-report-page .bootstrap-select:not([class*="col-"]):not([class*="form-control"]):not(.input-group-btn) {
    width: 182px;
}
.monthly-report-page .text-field-large[type=date] {
    width: 132px;
}
/* Monthly report table */
.monthly-report-page .table-wrapper, #pills-workers {
    width: 100%;
    height: calc(100vh - 218px) !important;
    max-height: calc(100vh - 218px);
    overflow: auto;
}
.monthly-report-page td {
    padding: 14px 12px 14px 0;
}
.monthly-report-page td:first-child {
    padding: 14px 12px 14px 16px;
}
.monthly-report-page td:last-child {
    padding: 14px 20px 14px 0;
}
.monthly-report-page .table-header {
    position: sticky;
    top: 0;
    background-color: #FFFFFF;
    z-index: 1005;
}
.monthly-report-page .table-header::after {
    content: "";
    height: 1px;
    width: 100%;
    position: absolute;
    right: 0;
    bottom: 0;
    background-color: #D1D1D1;
}
.monthly-report-page #pills-diff tr:last-child {
    position: sticky;
    bottom: 0;
    background-color: #ffffff;
}
.monthly-report-page #pills-diff tr:last-child::after {
    content: "";
    height: 1px;
    width: 100%;
    position: absolute;
    right: 0;
    bottom: 50px;
    background-color: #D1D1D1;

}
.monthly-report-page #pills-diff tr:last-child .author-cell {
    border: none;
}
.monthly-report-page .task-header-cell,
.monthly-report-page .author-cell,
.monthly-report-page .task-cell {
    background-color: #FFFFFF;
}
.monthly-report-page .task-header-cell::after,
.monthly-report-page .author-cell::after,
.monthly-report-page .task-cell::after {
    content: "";
    width: 1px;
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
    background-color: #D1D1D1;
}

.monthly-report-page .table-header td,
.monthly-report-page .author-cell {
    font-weight: bold;
}

.monthly-report-page .date-header-cell {
    font-weight: bold;
}
.monthly-report-page .project-cell,
.monthly-report-page .task-cell {
    position: sticky;
}
.monthly-report-page .project-cell {
    background-color: #FFFFFF;
    left: 0;
}
.monthly-report-page .task-cell {
    left: 180px;
}

.monthly-report-page .author-cell {
    font-weight: bold;
    position: sticky;
    left: 0;
    border: solid;
    border-width: 1px 0;
    border-color: #D1D1D1;
}

.monthly-report-page .total-time-cell {
    font-weight: bold;
    min-width: 120px;
    width: 120px;
    padding: 14px 12px 14px 16px;
}

.monthly-report-page .project-header-cell,
.monthly-report-page .task-header-cell {
    position: sticky;
    top: 0;
    background-color: #FFFFFF;
}
.monthly-report-page .project-header-cell {
    min-width: 180px;
    width: 180px;
    left: 0;
}
.monthly-report-page .task-header-cell {
    min-width: 460px;
    width: 460px;
    left: 180px;
}

.monthly-report-page .date-cell, .monthly-report-page .date-header-cell {
    max-width: 80px;
    min-width: 80px;
    width: 80px;
    white-space: nowrap;
}

/* Pie charts report */
#mainContainer {
    display: flex;
    justify-content: center;
    border-bottom: 1px solid #D1D1D1;
}
#additionalContainer {
    display: flex;
    flex-wrap: wrap;
}
.monthly-report-page #pills-workers table a {
    white-space: nowrap;
}
.monthly-report-page #pills-workers td, .monthly-report-page #pills-workers th {
    padding: 6px 12px 6px 0;
}
.monthly-report-page #pills-workers td:first-child {
    padding: 8px 12px 6px 0;
}
h5 .button-link {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.75rem;
    text-align: center;
    display: block;
}
.monthly-report-page #mainContainer .chart-wrapper {
    height: 320px;
    min-height: 320px;
    width: 320px;
    min-width: 320px;
}
.monthly-report-page #additionalContainer .chart-wrapper {
    height: 160px;
    width: 160px;
}
@media (max-width: 1200px) {
    .monthly-report-page #mainContainer .chart-wrapper,
    .monthly-report-page #additionalContainer .chart-wrapper {
        height: 160px;
        width: 160px;
    }
    .monthly-report-page .pie-item > div {
        margin: auto;
    }
    #additionalContainer .pie-item, #mainContainer .pie-item {
        width: 100% !important;
        flex-wrap: wrap;
    }
    #additionalContainer .pie-item {
        border-right: none !important;
    }
}
.monthly-report-page #pills-workers tr:not(:first-child) td:first-child {
    display: flex;
    padding-left: 0;
}
.pie-item {
    display: flex;
    align-items: flex-start;
    gap: 32px;
}
.pie-item table {
    width: 100%;
}
#mainContainer .pie-item {
    padding: 36px;
    width: 100%;
    max-width: 1100px;
}
#mainContainer .pie-item div:last-child {
    width: 100%;
}
#additionalContainer .pie-item {
    padding: 16px 36px;
    width: 50%;
    border-bottom: 1px solid #D1D1D1;
}
#additionalContainer .pie-item:nth-child(odd) {
    border-right: 1px solid #D1D1D1;
}

.color-indicator {
    border-radius: 16px;
    border: 2px solid;
    height: 16px !important;
    width: 16px !important;
    min-height: 16px !important;
    min-width: 16px !important;
    background-color: #ffffff;
    display: inline-block;
    margin: 2px 6px 2px 0;
}

/* Summary report page */
#summary-data .chart-wrapper {
    width: 100%;
    height: 100%;
}
#summary-data, .chart-section {
    width: 100%;
    height: 100%;
    display: flex;
    overflow: auto;
}
.chart-section {
    padding: 32px 32px 32px 16px;
}
.summary-report-page {
    max-width: 100vw;
    max-height: 100vh;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
}
.summary-report-page .filter-row {
    max-width: calc(100vw - 440px);
}
@media (max-width: 600px) {
    .summary-report-page .filter-row > * {
        min-width: 200px;
    }
    .summary-report-page .filter-row > select {
        min-width: 290px;
    }
}

#filterBtn {
    white-space: nowrap;
}

#checkboxContainer {
    padding: 24px;
    min-width: 320px;
    border-right: 1px solid #D1D1D1;
    max-height: 100%;
    overflow: auto;
}
#checkboxContainer .color-indicator {
    margin: 0;
}

/*АДАПТАЦИЯ*/
.avatar-small {
    border-radius: 50%;
    object-fit: cover;
    margin-right: 20px;
}
.task-container-position {
    position: relative;
}
.table-header-sticky {
    position: sticky;
    top: 0;
    background-color: #FFFFFF;
}
.switch-content {
    width: fit-content;
}

@media (max-width: 1200px) {
    .avatar {
        width: 130px;
        height: 130px;
    }
    .content-start-padding {
        padding-bottom: 50px !important;
    }
}
@media (max-width: 576px){
    h1 {
        font-size: 2rem !important;
        line-height: 2.5rem !important;
    }
    .content-start-padding {
        padding-bottom: 40px !important;
    }
}


@media (min-width: 992px){
    .task-data-position {
        position: absolute;
        right: 0;
        max-width: 360px;
        /*margin-right: 80px;*/
    }
}

@media (max-width: 480px) {
    .login-page input[type=text] {
        width: 100% !important;
    }
    .login-page input[type=password] {
        width: 100% !important;
    }
}
@media (max-width: 576px){
    .header-small {
        font-size: 2rem !important;
        line-height: 2.5rem !important;
    }
    h2 {
        font-size: 1.75rem;
        line-height: 2.25rem;
    }
    .header-small-tasks {
        font-size: 1.25rem !important;
        line-height: 1.75rem !important;
    }
}

#fillRow {
    height: 0px;
}
#fillRow .author-cell {
    padding: 0;
    border: none;
}


/**************************************************************/
/*                                                            */
/*                         Calendar                           */
/*                                                            */
/**************************************************************/

.day-header {
    display: none;
}
.calendar#calendar .calendar-header {
    border: none;
}
.calendar .month-container table.month td.day .day-content {
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    padding: 7px 9px;
    width: 100%;
    height: 100%;
    background-color: white;
}
.calendar .month-container table.month tr td.day {
    background-color: #E7E7E7;
}

.calendar .month-container table.month tr td.day.old,
.calendar .month-container table.month tr td.day.new {
    background-color: #FFF;
}
.calendar .month-container table.month tr td, .calendar .month-container table.month tr th {
    padding: 1px;
    width: 46px;
    height: 46px;
    font-size: 16px;
    font-weight: bold;
    border: solid 6px white;
    font-family: 'Nunito Sans', serif;
}
.calendar .month-container table.month tr th.month-title {
    text-align: left;
}
.buttons-container {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}
.bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.10);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.bottom-bar .container-fluid {
    gap: 8px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.calendar .calendar-header {
    display: none;
}
.calendar .month-calendar {
    gap: 32px 0;
}
@media screen and (min-width: 1060px) {
    .month-container:nth-child(3n+1) .month {
        margin: 0 32px 0 0 !important;
    }
    .month-container:nth-child(3n+2) .month {
        margin: 0 auto 0 auto !important;
    }
    .month-container:nth-child(3n+3) .month {
        margin: 0 0 0 auto !important;
    }
}

.day:hover .day-content {
    background-color: #E7E7E7 !important;
    border-radius: 0 !important;
}
.range .day-content, .range:hover .day-content {
    background-color: #CDCDCD !important;
    border-radius: 0 !important;
}
.calendar table {
    margin: 0 auto 0 auto !important;
}
.max-width-150 {
    max-width: 150px;
}