﻿
.task-filter {
    position: fixed;
    top: 67px;
    right: 8.33%;
    z-index: 1200;
}

#status-dropdown input[type="number"] {
    width: 45px;
}

.af-dropdown-result.student-status {
    padding: unset !important;
}

.student-status-content {
    min-width: 180px;
    height: 32px;
    display: flex;
    align-items: center;
    color: var(--grey);
    gap: 4px;
    padding: 0 4px;
}

    .student-status-content .af-label span {
        display: inline-block;
        padding: 0 4px;
        font-weight: 700;
    }



.executor-task-title {
    width: 350px;
    padding-right: 16px;
}

.opl-table-th .executor-task-title {
    width: 366px;
}

.executor-task-element {
    width: 185px;
    padding-right: 16px;
}

.executor-task-date {
    width: 100px;
}

.executor-task-student-status {
    width: 170px;
}

.executor-task-ribbon-holder {
    width: 64px;
}

.opl-table-body .executor-task-ribbon-holder {
    width: 48px;
}

/**Sidepanel**/
#executorTaskModal .modal-body {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.executor-task-sp-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: auto;
}

    .executor-task-sp-content .opl-tab-content {
        flex: 1;
        overflow: auto;
        display: flex;
        flex-direction: column;
        padding: 24px inherit;
        padding-bottom: 16px;
    }

        .executor-task-sp-content .opl-tab-content .opl-tab-content-main {
            flex: 1;
            overflow: auto;
            display: flex;
            flex-direction: column;
        }

    .executor-task-sp-content .af-card-checkbox {
        min-width: unset;
        width: calc(33% - 10.6666666667px);
    }

.af-card-checkbox.not-assigned .checkbox-name {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-right: 16px;
}
.af-card-checkbox.not-assigned .checkbox-content{
    max-width:120px;
}
.af-card-checkbox.not-assigned .checkbox-date {
    /*width: 100px;*/
}
.af-card-checkbox.not-assigned .checkbox-city{
    top:-4px;
}

#assignstudentsModal.show,
#ppChangeStudents.show,
#finishstudent.show,
#signedoffstudent.show,
#removestudentexecutor.show,
#addstudentexecutor.show {
    background: rgba(49,65,96,.7);
}

.pp-change-row {
    background: var(--light);
    padding: 8px 8px 8px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius:8px;
}

    .pp-change-row .pp-change-row-name {
        flex: 1;
        padding-right: 16px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

@media screen and (max-width: 1600px) {
    .task-filter {
        right: 15px;
    }

    .card-table-row.big .card-table .card-table-header .search-container {
    }
}

@media screen and (max-width:880px) {

    .executor-task-sp-content .opl-tab-content .opl-tab-content-main {
        margin-bottom: 76px; /*Height of footer is 64 which contains 12px of pad at top, add 12 to equal 24*/
    }
}

@media screen and (max-width: 767px) {

    .executor-task-title {
        width: unset;
    }


    .executor-task-element {
        width: unset;
        padding-right: 16px;
    }

    .executor-task-date {
        width: unset;
    }

    .executor-task-student-status {
        width: unset;
    }

    /*.executor-task-ribbon-holder {
        width: unset;
    }*/

    .executor-task-sp-content .af-card-checkbox {
        width: 100%;
    }
}
