.relative {
    position: relative;
}

.align-self-start {
    align-self: flex-start
}

ul {
    padding: 0;
    margin: 0;
}
ul li {
    list-style: none;
}

/* ** горизонтальный скролл в таблицах ** */
.table-responsive.scroll-show:hover::-webkit-scrollbar {
    height: 12px;
}
.table-responsive.scroll-show:hover::-webkit-scrollbar-thumb {
    background-color: #eaeaea;
    border-radius: 12px;
}
/* // горизонтальный скролл в таблицах // */
/* ** Ширина календаря выбора по Кварталу ** */
.daterangepicker .ranges ul {
    width: 260px;
    max-height: fit-content;
}
.daterangepicker .ranges ul li:nth-of-type(10),
.daterangepicker .ranges ul li:nth-of-type(14) {
    border-bottom: 2px solid #dfdfdf;
}
/* // Ширина календаря выбора по Кварталу // */

/* ** Editor ** */
.editor-document .ck.ck-editor__main>.ck-editor__editable {
    height: 500px;
}
/* // Editor // */

/* ** Инпут на странице добавить документ ** */
.doc-heading-input {
    position: relative;
}
.doc-heading-input input {
    width: 100%;
    font-size: 26px;
    border: 0;
    border-bottom: 1px solid #ccced1;
    outline: none;
}
/* // Инпут на странице добавить документ // */

/* ** base ** */
.dsk-oblect-fit--contain {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.dsk-oblect-fit--cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.overlow {
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s linear;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 5;
}
.dsk-btn--relative {
    position: relative;
}
table.dataTable.table.dsk-table-padding>thead>tr>td:not(.sorting_disabled), table.dataTable>thead>tr>th:not(.sorting_disabled) {
    padding-right: 30px;
}
.table.dsk-table-padding th:first-child,
.table.dsk-table-padding td:first-child {
    padding-left: 30px;
}
.table.dsk-table-padding th:last-child,
.table.dsk-table-padding td:last-child {
    padding-right: 30px;
}

/* ** Фиксированный thead (заголовок) в таблице ** */
.dsk-table-fixed thead.active,
.dsk-table-fixed tbody .dsk-fixed-search.active,
.dsk-table-fixed tbody .dsk-fixed-total.active {
    position: sticky;
    top: 0;
    background-color: #fff;
    transition: background-color .2s linear;
    z-index: 50;
}
.table-responsive .dsk-table-fixed thead.active {
    z-index: 100;

}
.dsk-table-fixed tbody .dsk-fixed-search.active,
.dsk-table-fixed tbody .dsk-fixed-total.active {
    box-shadow: 0px 8px 12px -5px rgba(34, 60, 80, 0.2);
}
/* // Фиксированный thead (заголовок) в таблице // */
/* // base // */

/* ** Период (фильтрация статистика) ** */
.labels {
    display: inline-flex;
    border: 1px solid gray;
    border-radius: 5px;
    overflow-y: auto;
}
.label {
    padding: 6px 14px 7px 14px;
    background-color: #fff;
    cursor: pointer;
}
.label.label-active {
    background-color: #e1e1e1;
}
.label:not(:last-child) {
    border-right: 1px solid gray;
}
.label input {
    display: none;
}
.dsk-doubleCalendar .form-control {
    background-color: #fff;
    border: 1px solid gray;
}
/* // Период (фильтрация статистика) // */

/* ** Поставщики - пользователи (права доступа) ** */
.dsk--radio-accessRights--bg {
    background-color: #e4e6ef;
}
.dsk--radio-accessRights--bg.active {
    background-color: #c9c9c9;
}
/* // Поставщики - пользователи (права доступа) // */

.overlow.overlow-show {
    opacity: 1;
    visibility: visible;
}
.tbody-hover tr,
.tbody-hover-nosearch tr {
    transition: background-color .3s ease-in-out;
}
.tbody-hover tr:hover:not(:first-child) {
    background-color: rgb(245 248 250);
}
.tbody-hover-nosearch tr:hover {
    background-color: rgb(245 248 250);
}
.width-form-select .select2-selection {
    min-width: 150px;
}

/* begin select__filter */
.select__filter-wrap {
    position: relative;
}
.select__filter:not(:last-child) {
    margin-right: 16px;
}
.select__filter-btn {
    width: 100%;
    min-width: 105px;
    height: 34px;
    color: #7E8299;
    font-size: 14px;
    font-weight: 500;
    padding-right: 30px;
    padding-left: 11px;
    transition: color .3s ease-in;
    z-index: 1;
    text-align: left;
    border-radius: 6px;
    overflow: hidden;
}
.select__filter-btn.text--dots {
    max-width: 105px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.select__filter-btn.dsk__selectbgGrey {
    height: 32px;
}
.select__filter-btn.dsk__selectbgGrey span {
    display: block;
    width: 100%;
    padding-left: 4px;
}
.select__filter-btn.dsk__selectbgGrey::before {
    content: "";
    width: 100%;
    height: 100%;
    background-color: #f5f8fa;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}
.select__filter-btn {position: relative;}
.select__filter-btn::after,
.select__filter-btn::before {
    content: "";
    width: 6px;
    height: 2px;
    background-color: #bdbdbd;
    position: absolute;
    top: 50%;
    transition: transform .3s linear, background-color .3s linear;
    
}
.select__filter-btn::after {
    right: 17px;
    transform: rotate(45deg);
}
.select__filter-btn::before {
    right: 14px;
    transform: rotate(-45deg);
}
.select__filter.open .select__filter-btn::after {
    transform: rotate(-45deg);
    background-color: #c3cace;
}
.select__filter.open .select__filter-btn::before {
    transform: rotate(45deg);
    background-color: #c3cace;
}
.select__dropdown {
    width: 100%;
    min-width: 230px;
    position: absolute;
    top: 40px;
    right: 0;
    z-index: 11;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 0 20px rgb(0 0 0 / 10%);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s linear;
    overflow-y: auto;
}
.select__dropdown.select__dropdown--left {
    left: 0;
}
.select__filter.open .select__dropdown {
    opacity: 1;
    visibility: visible;
}
.select__dropdown-list {
    overflow-x: auto;
    padding-left: 0;
    margin-bottom: 0;
    height: 0;
    transition: heigth .3s linear;
}
.select__filter.open .select__dropdown-list {
    height: 100%;
}
.select__dropdown-list > li {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 10px 8px 10px 15px;
    transition: background-color .3s ease-in-out;
    position: relative;
}
.select__dropdown-list > li:hover {
    background-color: #eef0f1;
}
.select__dropdown-text-text {
    line-height: 1.5;
    margin-right: 8px;
}

.select__dropdown-icon.active::before {
    content: "";
    width: 20px;
    height: 20px;
    background: url(../media/icons/icon-select-arrow.svg) no-repeat;
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
}

.select__dropdown-checkbox {
    width: 18px;
    height: 18px;
}
/* end select__filter */
/* begin thead td arrow */
.table__arrowdown-icon {
    position: relative;
}
.table__arrowdown-icon::after {
    content: "";
    width: 10px;
    height: 10px;
    background-image: url(../../src/media/images/arrow-down-up.svg);
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%) rotate(180deg);
    margin-left: 1px;
    opacity: 0;
    transition: opacity .2s ease-out;
}
.table__arrowdown-icon:hover.table__arrowdown-icon::after {
    opacity: 1;
}
.col--grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 12px;
}
/* end thead td arrow */
.requiredfield {
    position: relative;
    display: inline-block;
}
.requiredfield::after {
    content: "*";
    color: red;
    position: absolute;
    top: -3px;
    right: -9px;
}
.requiredfield-error {
    border: 1px solid red !important;
}
.dsk-count {
    color: #fff;
    font-size: 12px;
    line-height: 135%;
    font-weight: 700;
    position: absolute;
    top: 2%;
    left: 53%;
    padding: 0px 5px;
    border-radius: 20px;
    background-color: #50CD89;
    box-sizing: border-box;
    text-align: center;
    white-space: nowrap;
    z-index: 1;
}
.dsk-picture-item--img {
    width: 13%;
    position: relative;
    flex-grow: 1;
}
.dsk-picture-item--img img {
    width: 100%;
    height: auto;
    object-fit: contain;
}
.dsk-picture--close {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    background: #e9e9e9;
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
}
.dsk-bg-messages {
    background-color: #ff8d8d !important;
}
.dsk-position--zindex {
    z-index: 1;
}
.dsk-item-list--item {
    overflow: hidden;
    position: relative;
    z-index: 1;
}
.dsk-item-list--item::after {
    content: "";
    display: block;
    width: 100%;
    height: 14px;
    position: absolute;
    left: 0;
    bottom: 5px;
    border-bottom: 1px dashed #d3d4dd;
}
.dsk-list--item.active {
    background-color: #f1f1f1;
}
.timeline .timeline-line.dsk--line {
    left: 28px;
}
.dsk__form-field {
    position: relative;
}
.dsk__form-input {
    width: 100%;
    color: rgb(6, 5, 21);
    font-size: 15px;
    padding: 7px 10px 7px 10px;
    border-radius: 6px;
    border: 2px solid #145fbd;
    -webkit-transition: all .4s linear;
    -o-transition: all .4s linear;
    transition: all .4s linear;
}
.dsk__form-input-file {
    width: 100%;
    height: 100%;
    position: absolute;
    visibility: hidden;
    opacity: 0;
}
.dsk__form-file-label {
    width: 100%;
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    padding: 7px 10px 7px 10px;
    border-radius: 6px;
    cursor: pointer;
}
.dsk__form-file-label svg {
    transform: translateY(2px);
}

.dsk__hoverBgGrey {transition: background-color 1s linear;}
.dsk__hoverBgGrey:hover {background-color: #efefef;}
.table-roles {
    table-layout: fixed;
    border-bottom: 1px solid #e1dfe0;
}
.table-roles thead {
    background-color: #b1b1b1;
}
.table-roles thead tr {
    color: #fff;
    text-align: center;
}
.table-roles tbody td {
    border-left: 1px solid #e1dfe0;
}
.table-roles tbody td:last-child {
    border-right: 1px solid #e1dfe0;
}
.select--roles .form-select {
    padding: 0;
    background-image: none;
    border: transparent;
    background-color: transparent;
    justify-content: center;
}
.select--roles .select2-container--bootstrap5 .select2-selection--single .select2-selection__rendered {
    border-bottom: 1px dotted #000;
}
.select--roles .select2-selection__rendered {
    text-align: center;
}
.select--roles .select2-container--bootstrap5 .select2-selection--single .select2-selection__rendered {
    overflow: visible;
    text-overflow: initial;
    white-space: wrap;
}

.dsk-input-focus {
    background-color: #f5f8fa;
    border: 1px solid transparent;
}
.dsk-input-focus:focus {
    border: 1px solid rgb(132, 132, 132);
    background-color: #f0f4f6;
}
.breadcrumb .breadcrumb-item {
    padding-right: 10px;
}
.breadcrumb .breadcrumb-item:after {
    position: relative;
    left: 5px;
}
.dsk-listitemhover:hover {
    background-color: #dadada;
}
.dsk-catalog {
    display: grid;
    grid-template-columns: repeat(1,calc(100%/1 - 8px/1*(1 - 1)));
    row-gap: 10px;
}
.dsk--img .svg-icon svg {
    width: 100%;
    height: 100%;
}
.dsk--img .svg-icon {
    width: 40px;
    height: 40px;
    position: absolute;
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
}
.dsk-catalog .text-dark {
    font-weight: 400;
}
.table.table-bordered thead tr {
    border-bottom: 1px solid #d1d1d1;
}
.table.table-bordered tbody tr {
    border-top: 1px solid #d1d1d1;
}
.table.table-bordered thead tr th,
.table.table-bordered tbody tr td {
    padding: 5px;
}
/* ** Select (выпадающий список) ** */
.dsk-search .dsk-search-inputs .dsk-icon-search,
.dsk-search .dsk-search-inputs .dsk-icon-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%)
}
.dsk-search .dsk-search-inputs .dsk-icon-search {left: 12px;}
.dsk-search .dsk-search-inputs .dsk-icon-arrow {cursor: pointer; right: 12px;}
.dsk-search .dsk-search-inputs .dsk-icon-arrow svg {
    transition: transform .3s linear;
}
.dsk-search input {
    padding-left: 40px;
    padding-right: 40px;
}
.dsk-search.dsk-search-select input {
    padding-left: 15px;
}
.dsk-search .dsk__search-content {
    width: 100%;
    position: absolute;
    top: 103%;
    left: 0;
    background-color: #fff;
    z-index: 10;
    overflow: hidden;
}
.dsk-search .dsk__search-content.dsk__search-content-one,
.dsk-search .dsk__search-content.dsk__search-content-all {
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s linear;
}
.dsk-search .dsk__search-list {
    overflow-y: auto;
    max-height: 400px;
}
.dsk-search .header__search-link {
    display: block;
    padding: 10px;
    transition: background-color .2s linear;
    cursor: pointer;
    padding: 10px 10px 10px 20px;
}
.dsk-search .header__search-link:hover {
    background-color: rgb(245 248 250);
}
.dsk-search .dsk__search-content.dsk__search-content-one.show {
    opacity: 1;
    visibility: visible;
}
.dsk-search .dsk__search-content.dsk__search-content-all.show {
    opacity: 1;
    visibility: visible;
}
/* ** dsk-search.dsk-select ** */
.dsk-search.dsk-select .dsk-select-btn {
    width: 125px;
    height: 37px;
    min-height: 100%;
    border-radius: 12px;
    background-color: #7272727d;
    color: #f4f4f4;
    border: 0;
    padding: 0 35px 0 18px;
}
.dsk-search.dsk-select .dsk-select-btn span {
    transform: translateY(-20px);
}
.dsk-search.dsk-select .dsk__search-content {
    top: auto;
    bottom: 0;
    bottom: -100%;
    width: 180%;
    background-color: #fff;
    opacity: 0;
    visibility: hidden;
    transition: opacity .4s ease-in-out, bottom .3s linear;
    border-radius: 10px;
}
.dsk-search.dsk-select .dsk__search-content.show {
    opacity: 1;
    visibility: visible;
    bottom: 50px;
}
.dsk-search.dsk-select .dsk__search-content .header__search-link {
    color: #141414;
    font-weight: 500;
    font-size: 15px;
}
/* // dsk-search.dsk-select // */
/* // Select (выпадающий список) // */

/* ** Навигационная панель ** */
.dsk-fixed-navigation {
    /* width: calc(100% - 265px); */
    position: fixed;
    bottom: -50%;
    right: 0;
    z-index: 20;
    transition: bottom .2s linear;
}
.dsk-fixed-navigation.show {
    bottom: 20px;
    transition: bottom .2s linear;
}
.dsk-fixed-navigation .card {
    margin: 0 30px;
    border-radius: 12px;
}
.dsk-fixed-navigation .card-body {
    padding: 7px 18px;
}
.dsk-fixed-navigation .shadow-sm {
    background-color: #1e1e2d;
}
.dsk-fixed-navigation .btn {
    background-color: #7272727d;
    color: #f4f4f4;
    border-radius: 12px;
    font-size: 14px;
}
.dsk-fixed-navigation .dsk-fixed-navigation-count {
    color: #f4f4f4;
    font-size: 14px;
}
.dsk-fixed-navigation .btn:hover {
    background-color: #606064;
}
.dsk-fixed-navigation .btn:hover  {
    stroke: #fff;
    fill: #fff;
}
.dsk-fixed-navigation .hover {
    stroke: #fff;
    fill: #fff;
}
.dsk-fixed-navigation .form-select.form-select-solid {
    background-color: #7272727d;
    color: #f4f4f4;
    border: 1px solid #7272727d;
}
/* // Навигационная панель // */



/* Поставщики users, contacts */
.table__wrap {
    display: grid;
    grid-template-columns: minmax(40px, 50px) minmax(135px, 150px) minmax(120px, 200px) minmax(120px, 200px) minmax(120px, 200px) minmax(170px, 100%) minmax(120px, 200px);
}
/* Поставщики users, contacts */

/* Поставщики transport */
.table__wrap.table__wrap--transport {
    grid-template-columns: minmax(40px, 50px) 1fr 1fr 1fr 1fr;
}
/* Поставщики transport */

/* Поставщики transport */
.table__wrap.table__wrap--requisites {
    grid-template-columns: minmax(100px, 120px) 1fr 1fr 1fr 1fr 1fr;
}
/* Поставщики transport */

/* ** Активные иконки при выборе users, contacts ** */
.icon-checked-social {
    display: none;
}
.icon-checked-green,
.icon-checked-blue,
.icon-checked-purpule {
    cursor: pointer;
}
.icon-checked-social:checked ~ .icon-checked-green rect {
    fill: #43D854;
    stroke: #43D854;
}
.icon-checked-social:checked ~ .icon-checked-blue rect {
    fill: #0088CC;
    stroke: #0088CC;
}
.icon-checked-social:checked ~ .icon-checked-purpule rect {
    fill: #7360F2;
    stroke: #7360F2;
}
.icon-checked-social:checked ~ .icon-checked-green path,
.icon-checked-social:checked ~ .icon-checked-blue path,
.icon-checked-social:checked ~ .icon-checked-purpule path {
    fill: #fff;
}
/* // Активные иконки при выборе users, contacts // */


/* ** Появляющий контент при вводе в инпуте с адресов ** */
.adress-block-iconclose {
    position: absolute;
    top: 60%;
    right: 14px;
}
.adress-content ul {
    overflow: auto;
    max-height: 500px;
}
.adress-content ul li {
    background: url(../media/icons/icon-location-graylight.svg) 11px 12px no-repeat;
    transition: background-color .3s linear;
}
.adress-content ul li:hover {
    background-color: #e5e5e5;
}
/* // Появляющий контент при вводе в инпуте с адресов // */

/* ** Модальное окно с картой ** */
.modal__maps {
    opacity: 0;
    visibility: hidden;
}
.modal__maps.show {
    opacity: 1;
    visibility: visible;
}
.maps__close {
    position: absolute;
    top: 20px;
    right: 20px;
}
.adress-block-iconlocation {
    position: absolute;
    top: 50%;
    left: 13px;
    transform: translateY(-50%);
}
.adress-content-modal {
    width: 200%;
}
.adress-block-iconclose,
.maps-btn {
    display: none;
}
/* // Модальное окно с картой // */

.icon-excel a {
    padding: 3px 30px 3px 0;
    background: url(../media/icons/icon-excel.svg) center right no-repeat;
}



/* ** Страница добавить остатки ** */
.remains--grid {
    display: grid;
    grid-template-columns: minmax(90px, 90px) minmax(340px, 852px) minmax(65px, 65px) minmax(63px, 65px) minmax(120px, 120px) minmax(144px, 144px) minmax(42px, 42px);
    gap: 10px;
}
.manually--grid-top {
    display: flex;
    gap: 10px;
}
.munally--blockInput {
    flex: 0 0 100px;
}
.manually--grid-bottom {
    display: flex;
    gap: 10px;
}




.manually--grid {
    display: grid;
    grid-template-columns: minmax(90px, 90px) repeat(8, 1fr);
    gap: 10px;
}

.selectProduct .selectProductContent {
    display: none;
}

.selectProduct.show .selectProductContent {
    display: block;
}

.selectInput i {
    width: 12px;
    height: 12px;
    position: absolute;
    top: 50%;
    right: 6px;
    transform: translateY(-50%);
    transition: transform .3s linear;
}

.selectProduct.show .selectInput i {
    transform: translateY(-50%) rotate(-180deg);
}

.selectProduct span:hover {
    background-color: #e9ebf1;
}
/* // Страница добавить остатки // */






/* Страница медиа слайдер модальное окно */
.dskCarousel .carousel-indicators {
    max-height: 650px;
    position: absolute;
    right: auto;
    bottom: auto;
    display: inline-flex;
    margin: 12px 0 0 0;
    overflow-x: auto;
}
.dskCarousel .carousel-indicators [data-bs-target] {
    width: 100px;
    height: fit-content;
    flex: 0 0 105px;
    margin: 0;
}
.dskCarousel .carousel-indicators > div {
    column-gap: 24px;
}
.dskCarousel .iconDeleteImg {
    background-color: #fff;
    display: flex;
    position: absolute;
    top: 0px;
    right: -8px;
    cursor: pointer;
}
/* Страница медиа слайдер модальное окно */


/* ** Media ** */
@media (min-width: 576px) {
    .dsk-catalog {
        grid-template-columns: repeat(2,calc(100%/2 - 17px/2*(2 - 1)));
        gap: 14px;
    }
}

@media (min-width: 1200px) {
    .dsk-catalog {
        grid-template-columns: repeat(3,calc(100%/3 - 24px/3*(3 - 1)));
        gap: 24px;
    }
}
@media (min-width: 1960px) {
    .dsk-catalog {
        grid-template-columns: repeat(5,calc(100%/5 - 24px/5*(5 - 1)));
        gap: 24px;
    }
}
/* // Media // */