@font-face {
    font-family: 'icomoon';
    src: url('../../fonts/material-icons/icomoon.eot?ek1xqx');
    src: url('../../fonts/material-icons/icomoon.eot?ek1xqx#iefix') format('embedded-opentype'),
    url('../../fonts/material-icons/icomoon.ttf?ek1xqx') format('truetype'),
    url('../../fonts/material-icons/icomoon.woff?ek1xqx') format('woff'),
    url('../../fonts/material-icons/icomoon.svg?ek1xqx#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
}

[class^="icon-"], [class*=" icon-"] {
    /* use !important to prevent issues with browser extensions that change fonts */
    font-family: 'icomoon' !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;

    /* Enable Ligatures ================ */
    letter-spacing: 0;
    -webkit-font-feature-settings: "liga";
    -moz-font-feature-settings: "liga=1";
    -moz-font-feature-settings: "liga";
    -ms-font-feature-settings: "liga" 1;
    font-feature-settings: "liga";
    -webkit-font-variant-ligatures: discretionary-ligatures;
    font-variant-ligatures: discretionary-ligatures;

    /* Better Font Rendering =========== */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.icon-add:before {
    content: "\e145" !important;
}

.icon-check:before {
    content: "\e5ca" !important;
}

.icon-close:before {
    content: "\e5cd" !important;
}

.icon-expand_less:before {
    content: "\e5ce" !important;
}

.icon-expand_more:before {
    content: "\e5cf" !important;
}

.form-material {
    padding: 0;
}

.form-material.floating {
    padding-top: 26px;
}

.form-material.floating label {
    position: absolute;
}

.form-material textarea.form-control {
    min-height: 200px;
}

.form-material_top-position {
    margin-top: -15px
}

.form-material_top-position2 {
    margin-top: -30px
}

.form-material_top-position3 {
    margin-top: -45px;
    margin-bottom: 25px;
}

.form-material.floating.form-material_top-position,
.form-material.floating.form-material_top-position2 {
    position: relative;
}

.form-material.floating.form-material_top-position:after,
.form-material.floating.form-material_top-position2:after {
    content: "▼";
    padding: 0 8px;
    font-size: 0.625rem;
    position: absolute;
    right: -23px;
    top: 39px;
    z-index: 1;
    text-align: center;
    width: 20%;
    height: 20%;
    pointer-events: none;
    box-sizing: border-box;
}

.form-material.form-material-warning > .form-control:focus {
    box-shadow: 0 2px #ff9f09;
}

.form-material.form-material-warning > .form-control:focus + label {
    color: #ff9f09;
}

.form-material.form-material-warning > .form-control:focus ~ .input-group-addon {
    color: #ff9f09;
    box-shadow: 0 2px #ff9f09;
}

.form-material.form-material-primary > .form-control:focus {
    box-shadow: 0 2px #ff9f09;
}

.form-material.form-material-primary > .form-control:focus + label {
    color: #ff9f09;
}

.form-material.form-material-primary > .form-control:focus ~ .input-group-addon {
    color: #ff9f09;
    box-shadow: 0 2px #ff9f09;
}

.material-header {
    padding: 30px 30px 0 30px;
    border-bottom: 1px solid #e8e8e8;
    background-color: #fff;
}

.material-header_no-border {
    border: none;
}

.material-header_no-border .material-header__title {
    margin-bottom: 0;
}

.material-header__title {
    margin-bottom: 20px;
    font-size: 1.25rem;
    font-weight: 600;
    color: #000;
}

.material-header__nav {
    text-transform: uppercase;
}

.material-header__nav .nav-item:not(:last-child) {
    margin-right: 30px;
}

.material-header__nav .nav-item a {
    position: relative;
    display: inline-block;
    padding-top: 15px;
    padding-bottom: 15px;
    font-size: 0.875rem;
    line-height: 18px;
    font-weight: 600;
    letter-spacing: 1.3px;
    color: #999;
}

.nav-item__label {
    position: relative;
    display: inline-block;
    padding-top: 15px;
    padding-bottom: 15px;
    font-size: 0.875rem;
    line-height: 18px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 1.3px;
    color: #fcc142;
}

.material-header__nav .nav-item a.active {
    color: #000;
}

.material-header__nav .nav-item a.active::before {
    content: '';
    position: absolute;
    bottom: -1.5px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 3px;
    background-color: #fcc142;
}

.material-content {
    padding: 40px 30px 50px;
    background-color: #fff;
}

.material-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 55px;
}

.material-footer_left {
    justify-content: left;
}

.material-footer_buttons {
    justify-content: left;
    margin-top: 0;
}

.material-footer_buttons .material-footer__reset {
    margin-left: 20px;
}

.material-footer__reset {
    margin-right: 20px;
    font-size: 1rem;
    color: #999;
}

.material-footer__reset:hover {
    color: #999;
}

.material-footer__add,
.material-footer__cancel {
    padding: 8px 26px 10px;
    border: none;
    border-radius: 40px;
    font-size: 1rem;
    line-height: 20px;
    font-weight: 600;
    color: #000;
    background-color: #fcc142;
    cursor: pointer;
}

.material-footer__cancel {
    background: none;
    border: 1px solid #e9e9e9;
    color: #000;
}

.material-footer__cancel:hover {
    color: #000;
}

.material-footer__cancel:not(:first-child) {
    margin-left: 20px;
}

.material__title label {
    font-size: 0.875rem;
    color: #999;
}

.material__text label {
    font-size: 0.875rem;
    color: #999;
}

.material__text textarea {
    font-size: 1rem;
    color: #000;
}

.material__text .cke_contents {
    height: 390px !important;
}

.material__access {
    display: block;
    font-weight: 600;
    font-size: 1rem;
    color: #2173D3;
}

.material__access svg {
    display: inline-block;
    vertical-align: middle;
    margin-right: 4px;
    margin-top: -4px;
    fill: #2173D3;
}

.material__access-txt {
    margin-top: 7px;
    font-weight: 600;
    font-size: 1rem;
    line-height: 20px;
    color: #000000;
}

.material__rubric label {
    font-size: 0.875rem;
    color: #999;
}

.rubric-block__select {
    position: relative;
}

.rubric-block__select select {
    font-size: 1rem;
}

.rubric-block__select i {
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
}

.material__type label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    font-size: 0.875rem;
    color: #999;
}

.material__type label button {
    padding: 0;
    border: none;
    font-size: 0.875rem;
    color: #2173d3;
    background-color: rgba(0, 0, 0, 0);
}

.type-block__select {
    position: relative;
}

.type-block__select select {
    font-size: 1rem;
}

.type-block__select i {
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
}

.material__time {
    font-size: 0.875rem;
    color: #999;
}

.material-toggle {
    margin: 0;
}

.material-toggle__input {
    position: absolute;
    left: -9999px;
}

.material-toggle__input:checked + .material-toggle__icon {
    background-color: #FBC04F;
}

.material-toggle__input:checked + .material-toggle__icon:before {
    left: 22px;
}

.material-toggle__text {
    display: inline-block;
    vertical-align: middle;
    font-weight: 600;
    font-size: 1rem;
    line-height: 22px;
    margin-left: 5px;
    color: #000;
}

.material-toggle__icon {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    width: 45px;
    height: 24px;
    border-radius: 12px;
    background-color: #eee;
    transition: background-color 0.25s;
    cursor: pointer;
}

.material-toggle__icon:before {
    position: absolute;
    top: 2px;
    left: 3px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #fff;
    content: '';
    transition: left 0.25s;
}

.time-block__input {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.time-block__input input {
    font-size: 1rem;
    color: #000;
}

.time-block__input span {
    flex: 1 0 auto;
    margin-left: 15px;
    font-size: 1rem;
    line-height: 1;
    color: #000;
}

.material__number label {
    font-size: 0.875rem;
    color: #999;
}

.material__number input {
    font-size: 1rem;
    color: #000;
}

.material__tags label {
    font-size: 0.875rem;
    color: #999;
}

.material__additional label {
    font-size: 0.875rem;
    font-weight: normal;
    line-height: 18px;
    color: #999999;
}

.material__additional input {
    font-size: 1rem;
    color: #000;
}

.additional-block__list {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.additional-block__item {
    display: flex;
    width: 100%;
    align-items: flex-start;
    padding-left: 0px;
    font-size: 1rem;
    line-height: 20px;
    color: #000;
    word-break: break-all;
    word-break: break-word;
    overflow-wrap: break-word;
}

.additional-block__item span {
    max-width: calc(100% - 25px);
}

.additional-block__item i {
    pointer-events: none;
}

.additional-block__item .fa-close {
    color: #ccc;
}

.additional-block__item:not(:last-child) {
    margin-bottom: 20px;
}

.additional-block__item button {
    padding: 0;
    border: none;
    line-height: 20px;
    background-color: rgba(0, 0, 0, 0);
    cursor: pointer;
    margin-top: 2px;
    margin-right: 10px;
}

@media screen and (min-width: 993px) {
    .textarea {
        margin-bottom: 0;
    }
}

@media screen and (max-width: 991px) {
    .material-time {
        order: 1;
    }
}

@media screen and (max-width: 991px) and (min-width: 769px) {
    .material__tags {
        order: 1;
    }
}

.workers__desc {
    margin-bottom: 35px;
    font-size: 1rem;
    line-height: 22px;
    color: #000;
}

.workers__search {
    position: relative;
    margin-top: 28px;
    margin-bottom: 0;
}

.workers__search i {
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    color: #ccc;
}

.workers__search input {
    padding-left: 36px;
    border-color: #e9e9e9;
    border-radius: 2px 2px 0 0;
}

.workers__search .round {
    border-radius: 10px 10px 0 0;
}

.workers__department {
    flex-grow: 1;
    margin: 0;
    padding: 0;
    border: 1px solid #e9e9e9;
    border-top: 0;
    list-style-type: none;
}

.workers__department--round {
    border-radius: 0 0 10px 10px;
}

@media screen and (max-width: 567px) {
    .workers__department {
        height: auto;
    }
}

.department__item {
    display: flex;
    flex-wrap: wrap;
    padding: 10px 15px;
    cursor: pointer;
}

.department__item.open {
    background-color: #f9f9f9;
}

.department__row {
    position: relative;
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    padding-right: 28px;
}

@media screen and (max-width: 567px) {
    .department__row {
        padding-right: 0;
    }
}

.department__row_arrow {
    margin-right: 15px;
}

.department__row_arrow i,
.selected-department__row_arrow i {
    display: none;
    color: #ccc;
}

.department__item:not(.open) .fa-sort-down {
    display: block;
}

.department__item.open .fa-sort-up {
    display: block;
}

.department__row_name {
    flex-grow: 1;
    font-size: 1rem;
    font-weight: 700;
    color: #000;
    user-select: none;
}

.department__add_button {
    margin: 0 auto;
    background: none;
    border: none;
    border-radius: 20px;
    background-color: #fcc142;
    padding: 6px 15px;
    cursor: pointer;
}

@media screen and (max-width: 567px) {
    .department__row_name {
        font-size: 0.875rem;
    }
}

.department__row_button {
    position: relative;
    width: 21px;
    height: 21px;
    border-radius: 100%;
    background-color: #f5f5f5;
}

.department__row_button:hover {
    background-color: #ebebeb;
}

.department__row_button i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.625rem !important;
    /*display: none;*/
    color: #000;
}

.department__item.selectAll .department__row_button .fa-check {
    display: block;
    color: #fff;
}

.department__item:not(.selectAll) .department__row_button .fa-plus {
    display: block;
    color: #c4c4c4;
}

.department__item.selectAll .department__row_button {
    background-color: #fcc142;
}

.department__list {
    width: 100%;
    padding: 10px 0 0 44px;
    margin: 0;
    list-style-type: none;
    max-height: 157px;
    overflow-y: auto;
}

@media screen and (max-width: 567px) {
    .department__list {
        max-height: none;
        overflow-y: auto;
    }
}

.department__item:not(.open) .department__list {
    display: none;
}

.worker label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 28px 10px 0;
    margin-bottom: 0;
    font-size: 1rem;
    color: #000;
    cursor: pointer;
}

@media screen and (max-width: 567px) {
    .worker label {
        font-size: 0.875rem;
        padding-right: 0;
    }
}

.worker input {
    display: none;
}

.worker__button {
    position: relative;
    width: 21px;
    height: 21px;
    border-radius: 100%;
    background-color: #f5f5f5;
}

.worker__button i {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.worker input:not(:checked) ~ .worker__button .fa-plus {
    display: block;
    color: #c4c4c4;
}

.worker input:checked ~ .worker__button .fa-check {
    display: block;
}

.marker {
    flex: 1 0 auto;
    position: relative;
    display: flex;
    height: 24px;
    line-height: 24px;
    border: 1px solid #fcc142;
    padding: 0 7px;
    border-radius: 2px;
    text-align: center;
    font-size: 0.75rem;
    color: #000;
    overflow: hidden;
    cursor: pointer;
}

.marker.disabled {
    border-color: #d4d4d4;
}

/* убрал в рамках задачи #29476 */
/*
.marker:hover {
    width: auto;
    padding-left: 34px;
    border-color: #fcc142;
    color: #000;
}

.marker:hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 24px;
    height: 100%;
    background-color: #fcc142;
}

.marker i {
    position: absolute;
    top: 50%;
    left: 7px;
    transform: translateY(-50%);
    display: none;
}

.marker.disabled:hover .fa-plus {
    display: block;
}

.marker:not(.disabled):hover .fa-minus {
    display: block;
}
*/
.marker .marker__full-text {
    display: inline-block;
    width: 0;
    opacity: 0;
    /*overflow: hidden;*/
}

.marker:hover .marker__full-text {
    width: auto;
    opacity: 1;
}

@media screen and (max-width: 991px) {
    .workers-selected {
        margin-top: 16px;
    }
}

.workers-selected__desc-block {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    font-size: 0.875rem;
    line-height: 19px;
    color: #000;
}

.workers-selected__desc-block_marker {
    display: block;
    height: 24px;
    margin-left: 10px;
    margin-right: 10px;
    padding: 0 8px;
    border: 1px solid #fcc142;
    border-radius: 4px;
    font-size: 0.75rem;
    line-height: 22px;
    color: #000;
    text-align: center;
}

.workers-selected__desc-block_text {
    max-width: 368px;
}

.workers-selected__title {
    padding: 8px 42px;
    margin-top: 28px;
    border: 1px solid #e9e9e9;
    border-bottom: none;
    border-radius: 2px;
    text-transform: uppercase;
}

.workers-selected__title--round {
    border-radius: 10px 10px 0 0;
}

.workers-selected__department {
    flex-grow: 1;
    margin: 0;
    padding: 0;
    border: 1px solid #e9e9e9;
    border-top: 0;
    list-style-type: none;
}

.workers-selected__department--round {
    border-radius: 0 0 10px 10px;
}

@media screen and (max-width: 567px) {
    .workers-selected__department {
        height: auto;
    }
}

.selected-department__item {
    min-height: 46px;
    padding: 10px 15px;
    cursor: pointer;
}

.selected-department__item.open {
    background-color: #f9f9f9;
}

.selected-department__row {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-right: 20px;
}

@media screen and (max-width: 567px) {
    .selected-department__row {
        padding-right: 0;
    }
}

.selected-department__row_arrow {
    margin-right: 15px;
}

.selected-department__row_arrow i {
    display: none;
}

.selected-department__item.open .fa-sort-up {
    display: block;
}

.selected-department__item:not(.open) .fa-sort-down {
    display: block;
}

.selected-department__row_name {
    flex-grow: 1;
    font-size: 1rem;
    font-weight: 700;
    color: #000;
    user-select: none;
}

@media screen and (max-width: 567px) {
    .selected-department__row_name {
        font-size: 0.875rem;
    }
}

.selected-department__row_buttons {
    display: flex;
    align-items: center;
    justify-content: center;
}

.selected-department__row_buttons .fa-close {
    margin-left: 20px;
    margin-bottom: 5px;
    color: #cccccc;
    cursor: pointer;
}

.selected-department__list {
    max-height: 157px;
    padding: 0 0 0 44px;
    margin-top: 10px;
    list-style-type: none;
    overflow-y: auto;
}

@media screen and (max-width: 567px) {
    .selected-department__list {
        max-height: none;
        overflow-y: auto;
    }
}

.selected-department__item:not(.open) .selected-department__list {
    display: none;
}

.selected-department__list_item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 20px 9px 0;
    margin-bottom: 0;
    font-size: 1rem;
    color: #000;
    cursor: pointer;
}

@media screen and (max-width: 567px) {
    .selected-department__list_item {
        font-size: 0.875rem;
        padding-right: 0;
    }
}

.selected-department__item_buttons {
    display: flex;
    align-items: center;
    justify-content: center;
}

.selected-department__item_buttons .fa-close {
    margin-left: 20px;
    color: #cccccc;
    cursor: pointer;
}

.add-type {
    font-size: 0.875rem;
    font-weight: normal;
    color: #2173d3;
}

.add-type:hover {
    color: #2173d3;
}

.select2-selection__clear {
    display: none;
}

.material-content .form-material > .form-control,
.material-content .form-control {
    height: 38px;
    padding: 6px 17px;
    font-size: 1rem;
    color: #000;
    border: 1px solid #e9e9e9;
    border-radius: 2px;
    /*box-shadow: none;*/
    min-width: 0;
}

.material-content .select2-selection__choice {
    background-color: #f0f0f0 !important;
    position: relative !important;
    padding: 0 10px !important;
    padding-right: 20px !important;
    height: auto !important;
    line-height: 24px !important;
    border: none !important;
    border-radius: 0 !important;
    font-size: 1rem !important;
    margin-right: 10px !important;
    margin-top: 10px !important;
    font-weight: 400 !important;
}

.material-content .select2-selection__choice span {
    /*
    position: absolute;
    top: 50%;
    right: 5px;
    transform: translateY(-50%);
    */
}

.like-label {
    display: block;
    margin-bottom: 8px;
    font-size: 1rem;
    font-weight: normal;
    line-height: 18px;
    color: #999999;
}

.material-content .form-material > label,
.material-content .form-material > .form-control:focus + label,
.material-content .form-material.floating.open > label {
    font-size: 1rem;
    font-weight: normal;
    line-height: 18px;
    color: #999999;
}

.material-content .form-material.floating label {
    top: 0;
}

.material-content .form-material .select2-container--default .select2-selection--multiple {
    height: auto;
    border: 1px solid #e9e9e9;
    border-radius: 2px;
}

/*
TODO: почистить код
переопределяет правило из base.css
*/

.material-content .select2-container--default.select2-container--focus .select2-selection--multiple {
    border: 1px solid #e9e9e9 !important;
    border-radius: 2px !important;
}

.material-content .form-material .select2-container--default .select2-search--inline .select2-search__field {
    margin-top: 10px;
    line-height: 24px;
    height: 26px;
}
.material-content .form-material .select2-container--default .select2-search--inline .select2-search__field::placeholder {
    opacity: 0 !important;
    visibility: hidden !important;
}
.workers__search .form-control {
    padding-left: 36px;
}

.workers,
.workers-selected {
    display: flex;
    flex-direction: column;
}

.ui-autocomplete .ui-menu-item {
    word-break: break-all;
    word-break: break-word;
    overflow-wrap: break-word;
}

.modal-dialog.modal-dialog--access {
    width: 100%;
    max-width: 920px;
    margin: auto calc((100% - 230px - 920px)/2) auto auto;
}

.modal-dialog--access.remove-access {
    max-width: 400px;
}

.modal-dialog--access .close-modal {
    top: -12px;
    right: -46px;
    font-size: 40px;
}

.modal-dialog--access .workers__search {
    margin: 0 15px 10px 0;
}

.modal-dialog--access .workers__col{
    border: 2px solid #E8E8E8;
}

.modal-dialog--access .workers__head {
    padding: 0 15px;
    border-bottom: 2px solid #E8E8E8;
}

.modal-dialog--access .workers__body {
    padding: 15px 0 15px 15px;
}

.modal-dialog--access .workers__head .material-header__nav {
    justify-content: space-between;
}

.modal-dialog--access .workers__head .material-header__nav .nav-item a {
    padding: 15px;
    letter-spacing: 0.5px;
}

.modal-dialog--access .workers__head .material-header__nav .nav-item a.active:before {
    top: -2px;
    bottom: auto;
}

.modal-dialog--access .workers__head .material-header__nav .nav-item:not(:last-child) {
    margin-right: 0;
}

.modal-dialog--access .workers__head .nav-item__numb {
    font-size: 0.75rem;
    font-weight: 400;
    color: #AAAAAA;
}

.modal-dialog--access .department__item,
.modal-dialog--access .selected-department__item {
    padding: 0;
}

.modal-dialog--access .department__item > .department__row .department__icon_top {
    display: none;
}

.modal-dialog--access .department__item.open > .department__row .department__icon_bottom {
    display: none;
}

.modal-dialog--access .department__item.open > .department__row .department__icon_top {
    display: inline;
}

.modal-dialog--access .workers__department .workers__department {
    display: none;
}

.modal-dialog--access .workers__tree .workers__department .workers__department {
    padding-left: 10px;
    border-left: 1px solid #D2D2D2;
    margin-left: 10px;
}

.modal-dialog--access .workers__department .workers__department .department__row_name {
    font-weight: 400;
}

.modal-dialog--access .department__item.open > .workers__department {
    display: block;
}

.modal-dialog--access {
    border-radius: 10px;
}

.modal-dialog--access .modal-content {
    padding: 35px 30px;
}

.remove-access .workers {
    padding: 0 15px;
}

.modal-dialog--access .workers__search .form-control {
    padding-left: 30px;
    border: none;
    border-radius: 2px;
    font-size: 0.875rem;
    color: #9B9B9B;
    background: #F3F3F3;
}

.modal-dialog--access .workers__search .form-control::placeholder {
    color: #9B9B9B;
}

.modal-dialog--access .workers__department {
    border: none;
}

.modal-dialog--access .modal-header {
    padding: 0;
}

.modal-dialog--access .block-title {
    font-weight: 600;
    font-size: 1.25rem;
    line-height: 22px;
}

.modal-dialog--access .workers__search svg {
    position: absolute;
    top: 14px;
    left: 12px;
    fill: #BDBDBD;
}
.modal-dialog--access .workers__list,
.modal-dialog--access .workers__tree {
    height: 380px;
    overflow-y: auto;
    padding-right: 15px;
}

.modal-dialog--access .workers__list {
    height: 428px;
}

.modal-dialog--access .block-content {
    padding: 25px 0 0;
}

.modal-dialog--access .department__list,
.modal-dialog--access .selected-department__list {
    padding: 0;
    margin-top: 0;
}

.modal-dialog--access .department__list_item:hover,
.modal-dialog--access .selected-department__list_item:hover {
    background: #F8F8F8;
}

.modal-dialog--access .department__row_arrow i,
.modal-dialog--access .selected-department__row_arrow i {
    margin-top: 4px;
}

.modal-dialog--access .department__row_name,
.modal-dialog--access .selected-department__row_name {
    font-size: 0.875rem;
    line-height: 18px;
    font-weight: 600;
}

.modal-dialog--access .department__row_button {
    display: block;
}

.modal-dialog--access .department__row,
.modal-dialog--access .selected-department__row {
    padding: 9px 0 9px 5px;
}

.modal-dialog--access .department__row label,
.modal-dialog--access .selected-department__row label {
    margin: 0;
    cursor: pointer;
}

.modal-dialog--access .department__row_arrow,
.modal-dialog--access .selected-department__row_arrow {
    margin-right: 6px;
    margin-top: -2px;
    width: 10px;
}

.modal-dialog--access .access_departament {
    position: absolute;
    left: -9999px;
}

.modal-dialog--access .access_departament:checked + .department__row_button {
    background: #FFB71C;
}

.modal-dialog--access .access_departament:checked + .department__row_button i {
    color: #ffffff;
}

.modal-dialog--access .access_departament:checked + .department__row_button .icon-add {
    display: none;
}

.modal-dialog--access .access_departament:checked + .department__row_button .icon-check {
    display: block;
}

.modal-dialog--access .worker label {
    font-size: 0.875rem;
    line-height: 18px;
    font-weight: 400;
    padding: 10px 21px 10px 56px;
}

.modal-dialog--access .selected-department__list_item {
    font-size: 0.625rem;
    padding: 8px 21px 8px 56px;
}

.modal-dialog--access .selected-department__row_buttons .marker,
.modal-dialog--access .selected-department__item_buttons .marker {
    width: 16px;
    height: 16px;
    border-radius: 2px;
    font-size: 0.625rem;
    line-height: 10px;
    text-align: center;
    display: block;
    color: #000000;
    padding: 2px;
}

.modal-dialog--access .selected-department__row_buttons .marker.disabled,
.modal-dialog--access .selected-department__item_buttons .marker.disabled {
    border-color: #EDEDED;
}

.modal-dialog--access .selected-department__item_buttons .attestation-checkbox-label {
    margin: 0;
}

.modal-dialog--access .selected-department__row_buttons i {
    font-size: 0.625rem;
}

.modal-dialog--access .worker input:checked ~ .worker__button {
    background: #FFB71C;
}

.modal-dialog--access .worker input:checked ~ .worker__button .fa-check {
    color: #ffffff;
}

.modal-dialog--access .workers-selected__title {
    padding: 17px 21px 12px;
    font-size: 0.625rem;
    line-height: 13px;
    letter-spacing: 0.2em;
    color: #C1C1C1;
}

.modal-dialog--access .workers-selected__desc-block .workers-selected__desc-block_first {
    padding-right: 32px;
}

.modal-dialog--access .workers-selected__desc-block_marker {
    width: 16px;
    height: 16px;
    border-radius: 2px;
    padding: 2px 4px;
    line-height: 1;
    font-size: 0.625rem;
    position: absolute;
    top: -4px;
    left: 58px;
    margin: 0;
}

.modal-dialog--access .module-set__footer {
    padding: 40px 0 0;
}

.modal-dialog--access .module-set__footer .module-set__save-btn,
.modal-dialog--access .module-set__footer .module-set__cansel-btn {
    font-size: 1rem;
    line-height: 12px;
    font-weight: 600;
}

.modal-dialog--access .module-set__footer .module-set__save-btn {
    margin: 0 16px 0 0;
    color: #000;
    padding: 15px 31px;
}

.modal-dialog--access .module-set__footer .module-set__save-btn:hover {
    background: #FFC956;
}

.modal-dialog--access .module-set__footer .module-set__cansel-btn {
    color: #9D9D9E;
    background: #ffffff;
    padding: 14px 31px;
}

.modal-dialog--access .module-set__footer .module-set__cansel-btn:hover {
    border-color: #959595;
}

.modal-dialog.modal-dialog--round {
    border-radius: 10px;
    max-width: 352px;
    margin-top: 260px;
}

.modal-dialog--round .modal-content {
    border-radius: 10px;
}

.modal-dialog--round .modal-header {
    padding: 23px 35px 0 31px;
}

.modal-dialog--round .modal-header .block-title {
    font-weight: 600;
    font-size: 1.25rem;
    line-height: 27px;
}

.modal-dialog--round .module-set__footer {
    padding: 22px 35px 35px 31px;
    justify-content: flex-start;
}

.modal-dialog--round .module-set__footer .module-set__save-btn,
.modal-dialog--round .module-set__footer .module-set__remove-btn,
.modal-dialog--round .module-set__footer .module-set__cansel-btn {
    font-size: 1rem;
    line-height: 12px;
    font-weight: 400;
}

.modal-dialog--round .module-set__footer .module-set__save-btn,
.modal-dialog--round .module-set__footer .module-set__remove-btn {
    margin: 0 16px 0 0;
    color: #ffffff;
    padding: 15px 31px;
}

.modal-dialog--round .module-set__footer .module-set__save-btn:hover {
    background: #FFC956;
}

.modal-dialog--round .module-set__footer .module-set__remove-btn {
    background: #EB5757;
}

.modal-dialog--round .module-set__footer .module-set__remove-btn:hover {
    background: #FF7676;
}

.modal-dialog--round .module-set__footer .module-set__cansel-btn {
    border: 1px solid #D5D5D5;
    color: #000000;
    background: #ffffff;
    padding: 14px 31px;
}

.modal-dialog--round .module-set__footer .module-set__cansel-btn:hover {
    border-color: #959595;
}


.modal-dialog--access.block {
    margin: auto calc((100% - 230px - 760px)/2) auto auto;
}

.modal-dialog--access.remove-access.block {
    margin: auto calc((100% - 230px - 400px)/2) auto auto;
}

.modal-dialog--round.block {
    margin: auto calc((100% - 230px - 352px)/2) auto auto;
}

@media screen and (max-width: 992px) {
    .modal-dialog--access.remove-access.block,
    .modal-dialog--round.block,
    .modal-dialog--access.block {
        margin: auto;
    }
}

@media screen and (max-width: 800px) {
    .modal-dialog--access {
        width: calc(100% - 20px);
        margin: 10px 10px 24px;
    }

    .modal-dialog--access .workers__desc,
    .modal-dialog--access .workers-selected__desc-block {
        width: 90%;
    }
}

@media (min-width: 721px) and (max-width: 991px) {
    .modal-dialog--access .workers-selected {
        margin-top: 0;
    }

    .modal-dialog--access .block-content .row .col-lg-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (min-width: 661px) and (max-width: 720px) {
    .modal-dialog--access .workers-selected {
        margin-top: 0;
    }

    .modal-dialog--access .block-content .row .col-lg-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media screen and (max-width: 720px) {
    #modal-add-access {
        padding: 0 !important;
        margin-top: 68px;
        border-top: 1px solid #F0F2F5;
    }

    .modal-dialog--access.remove-access .modal-content {
        border-radius: 10px;
    }

    .modal-dialog--access:not(.remove-access) {
        width: 100%;
        margin: 0;
        padding: 0;
        height: calc(100vh - 69px);
    }

    .modal-dialog--access:not(.remove-access) .modal-content {
        padding: 0 10px;
    }

    .modal-dialog--access:not(.remove-access) .modal-header {
        padding: 18px 0 0;
        border: none;
    }

    .modal-dialog--access:not(.remove-access) .block-title {
        font-size: 1.25rem;
        font-weight: 600;
    }

    .modal-dialog--access:not(.remove-access) .close-modal {
        top: 10px;
        right: 0;
    }

    .modal-dialog--access:not(.remove-access) .block-content {
        padding: 11px 0 0;
    }

    .modal-dialog--access:not(.remove-access) .workers__search {
        margin-top: 16px;
    }

    .modal-dialog--access:not(.remove-access) .workers__desc,
    .modal-dialog--access:not(.remove-access) .workers-selected__desc-block {
        width: 94%;
    }

    .modal-dialog--access:not(.remove-access) .department__row,
    .modal-dialog--access:not(.remove-access) .selected-department__row {
        padding: 9px 16px;
    }

    .modal-dialog--access:not(.remove-access) .department__row_arrow,
    .modal-dialog--access:not(.remove-access) .selected-department__row_arrow {
        margin-right: 10px;
    }

    .modal-dialog--access:not(.remove-access) .workers__department {
        padding-top: 10px;
    }

    .modal-dialog--access:not(.remove-access) .worker label,
    .modal-dialog--access:not(.remove-access) .selected-department__list_item {
        padding: 10px 16px 10px 50px;
    }

    .modal-dialog--access:not(.remove-access) .workers-selected__title {
        margin-top: 14px;
    }

    .modal-dialog--access:not(.remove-access) .workers-selected {
        margin-top: 26px;
    }

    .modal-dialog--access:not(.remove-access) .module-set__footer {
        padding: 12px 0;
        flex-direction: column;
    }

    .modal-dialog--access:not(.remove-access) .module-set__footer .module-set__save-btn {
        margin: 0;
        width: 100%;
    }

    .modal-dialog--access:not(.remove-access) .module-set__footer .module-set__cansel-btn {
        margin-top: 10px;
        width: 100%;
    }

    .modal-backdrop.hide {
        opacity: 0;
    }
}

@media screen and (max-width: 460px) {
    #modal-remove-access {
        padding: 0 !important;
        margin-top: 68px;
        border-top: 1px solid #F0F2F5;
    }

    #modal-add-favorite {
        padding: 0 !important;
    }

    .modal-dialog--access {
        border-radius: 0;
        height: calc(100vh - 69px);
    }

    .modal-dialog--access .modal-content {
        border-radius: 0;
    }

    .modal-dialog--access.remove-access {
        width: 100%;
        margin: 0;
        padding: 0;
        max-width: initial;
    }

    .modal-dialog--access .modal-content {
        padding: 0 10px;
    }

    .modal-dialog--access .modal-header {
        padding: 18px 0 0;
        border: none;
    }

    .modal-dialog--access .block-title {
        font-size: 1.25rem;
        font-weight: 600;
    }

    .modal-dialog--access .close-modal {
        top: 10px;
        right: 0;
    }

    .modal-dialog--access .block-content {
        padding: 11px 0 0;
    }

    .modal-dialog--access .workers__search {
        margin-top: 16px;
    }

    .modal-dialog--access .workers__desc,
    .modal-dialog--access .workers-selected__desc-block {
        width: 94%;
    }

    .modal-dialog--access .department__row,
    .modal-dialog--access .selected-department__row {
        padding: 9px 16px;
    }

    .modal-dialog--access .department__row_arrow,
    .modal-dialog--access .selected-department__row_arrow {
        margin-right: 10px;
    }

    .modal-dialog--access .workers__department {
        padding-top: 10px;
    }

    .modal-dialog--access .worker label,
    .modal-dialog--access .selected-department__list_item {
        padding: 10px 16px 10px 50px;
    }

    .modal-dialog--access .workers-selected__title {
        margin-top: 14px;
    }

    .modal-dialog--access .workers-selected {
        margin-top: 26px;
    }

    .modal-dialog--access .module-set__footer {
        padding: 12px 0;
        flex-direction: column;
    }

    .modal-dialog--access .module-set__footer .module-set__save-btn {
        margin: 0;
        width: 100%;
    }

    .modal-dialog--access .module-set__footer .module-set__cansel-btn {
        margin-top: 10px;
        width: 100%;
    }

    .modal-dialog--round {
        margin: auto;
    }
}

@media screen and (max-width: 390px) {
    .modal-dialog--round {
        width: calc(100% - 26px);
        margin: auto 13px auto;
    }

    .modal-dialog--round .module-set__footer {
        flex-direction: column;
    }

    .modal-dialog--round .module-set__footer .module-set__save-btn {
        margin: 0;
        width: 100%;
    }

    .modal-dialog--round .module-set__footer .module-set__cansel-btn {
        margin-top: 6px;
        width: 100%;
    }
}
