/*custom.css*/
.e-grid .e-content {
    min-height: unset !important;
    height: calc(100vh - 253px) !important;
}
.e-content {
    overflow-x: auto !important;
    overflow-y: overlay !important;
}

.content-page,
.content-page .col-12,
.content-page .col-md-12 {
    padding: 0px;
}
@media (max-width: 767.98px) {
  .content-page {
    padding: 0 10px;
  }
}
/*.enlarged .content-page {
    margin-left: 20px !important;
    margin-top: 8px !important;
    margin-right: -51px !important;
}*/
form#myForm {
    margin-top: 10px;
}

.col-12.calendarcustom {
    margin-top: 35px;
    margin-left: 30px;
}


/*отступы меню на странице конструктора меню*/
div#menu {
    margin-top: 40px;
    margin-left: 30px;
}
/*отступы блока файлового менеджера*/
div#file-manager {
    width: auto !important;
    margin-top: 20px;
    margin-left: 24px;
    margin-right: 23px;
}
/*правка отступов страница измененияя порядка полей по умолчанию*/
div#select_table-wrapper {
    margin-top: 20px;
}
.main {
    margin-left: 20px;
}
/*отступы страница импорта*/
.box {
    margin-left: 43px;
}
*/

/*.card-body {padding: 0rem !important;}*/
/*убирает вертикальную прокрутку экрана везде*/



/*.page-title {
    position: absolute;
    z-index: 1;
    right: 46px;
    top: 53px;
}*/
/*.tab-content>.active {
    display: grid;
    grid-template-columns: 50% 50%;
}*/

.white-popup-block {
    background: #fff;
    border-radius: 5px;
}
/*скрываю таб в создании отчета Обследование NEW
#form-nav_123dfgs > li:nth-child(4) {
    display: none;
}*/

/*цвет тайлта в шапке*/
span.colortitleh {
    color: #bccad4;
}

/*страница создания отчета, поле проект на 100% ширину*/
span.select2.select2-container.select2-container--default {
    width: 100% !important;
}

div#div_id_technik {display:none !important;} /*скрыл исполнителя*/

/*увеличение пространства попап окна в календаре/задачах*/
.fc-popover.popover.fc-more-popover.fc-day.fc-day-fri.fc-day-past {
    max-width: none !important;
    width: 700px;
    left: 27% !important;
}

/*стили для полей select и multiselect из select2 аналогичные другим полям форм*/
.select2-container .select2-selection--single {
    height: calc(1.7em + 0.9rem + 2px) !important;
    padding: 0.45rem 0.9rem;
    font-size: .875rem;
    font-weight: 400;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    color: #6c757d;
    padding-left: 0px !important;
    padding-right: 0 5px !important;
    height: 100%;
    line-height: 1.5 !important;
}

.select2-container .select2-selection--multiple {
    min-height: calc(1.5em + 0.9rem + 2px) !important;
    max-height: 167px !important;
    overflow-y: auto;
    display: block !important;
    align-items: center;
    padding: 0px !important;
}

.select2-container .select2-selection--multiple .select2-search {
    display: none;
}

.select2-container .select2-selection--multiple .select2-selection__rendered {
    display: block !important;
    align-items: center;
    overflow-x: auto;
    margin-bottom: 0px;
    height: 100%;
}

.select2-container .select2-selection--multiple .select2-selection__choice {
    margin: 5px;
    padding-right: 4px !important;
    flex-shrink: 0;
    height: 22px;
    display: flex !important;
    align-items: center;
    color: black;
    white-space: nowrap;
}

/*редактор в конструкторе страниц*/
.ck-content {
    min-height: 800px;
}

/* Текст ошибок в формах редактирования */
span.help-block {
    color: #f1556c;
}

/* Разворот строки табы */
.grid-container .tab-title,
.grid-container .tab-content:not(.pt-0) {
    display: grid;
    grid-template-columns: calc(100vw - 36px - 36px - 70px);
    margin-right: 36px;
}
@media (max-width: 767.98px) {
  .grid-container .tab-title,
  .grid-container .tab-content:not(.pt-0) {
    grid-template-columns: calc(100vw - 36px - 53px);
  }
}

/* аватарка */
.custom-avatar {
    width: 32px;
    height: 32px;
    color: var(--ct-gray-dark);
}

.custom-avatar i {
    display: flex;
}

/*изменение стиля прокрутки*/

::-webkit-scrollbar {
    width: 8px;               /* ширина scrollbar */
}
::-webkit-scrollbar-track {
    background: #eee;        /* цвет дорожки */
}
::-webkit-scrollbar-thumb {
    background-color: #ccc;    /* цвет плашки */
    border-radius: 10px;       /* закругления плашки */
    border: 0px solid #ccc;  /* padding вокруг плашки */
}

/* цвет кнопок btn-primary, заливка чекбоксов */
.btn-primary {
    --ct-btn-bg: var(--purple);
    --ct-btn-border-color: var(--purple);
    --ct-btn-disabled-bg: var(--purple);
    --ct-btn-disabled-border-color: var(--purple);
}

.form-check-input:checked {
    background-color: var(--purple);
    border-color: var(--purple);
}
