@media screen {
    .temptasks.page .formblock {
        max-width: 767px;
    }

    .temptasks.page .task_item .mpviimages {
        flex-direction: column;
    }

    .temptasks.page .task_item {
        position: relative;
        display: flex;
        flex-direction: column;
        margin: 0 0 15px;
        padding: 15px;
        box-shadow: none;
    }

    .temptasks.page div.linkin {
        position: absolute;
        top: 5px;
        right: 42px;
        overflow: hidden;
        min-width: 30px;
        height: 30px;
        border-radius: 8px;
        z-index: 2;
    }

    .temptasks.page div.linkin button {
        min-width: 30px;
        height: 30px;
        padding: 0 6px;
        transition: all ease-in .2s;
        background: transparent;
        display: flex;
        gap: 0 6px;
        align-items: center;
        border-radius: 8px;
        border: 1px solid #5078FE;
    }

    .temptasks.page .task_item select,
    .temptasks.page .task_item .chosen-container {
        width: 100% !important;
        min-width: 160px;
    }

    .temptasks.page .field-calendar .task_item select,
    .temptasks.page .field-calendar .task_item .chosen-container,
    .field-calendar select,
    .field-calendar .chosen-container {
        width: auto !important;
        min-width: 0 !important;
    }

    .temptasks.page .task_item .controls,
    .temptasks.page .task_item .controls .control {
        flex-grow: 2;
    }

    .temptasks.page .task_item .task_info {
        border-bottom: none;
        margin: 25px 0 10px 0;
        background: #F1F4FF;
        border-radius: 5px;
    }

    .temptasks.page .task_item .task_title {
        font-size: 20px;
        line-height: 26px;
        position: relative;
        display: flex;
        gap: 5px 10px;
        align-items: center;
        width: 100%;
        padding: 0;
    }

    .temptasks.page .task_item .task_title .linkin {
        order: 10;
    }

    .temptasks.page .task_item .task_title .task_order {
        font-size: 40px;
    }

    .temptasks.page .task_item .task_title .sortable-handler {
        display: none;
    }

    .temptasks.page .task_item .task_title .linkin {
        margin-left: auto;
        display: flex;
        align-items: center;
        flex-grow: inherit;
    }

    .temptasks.page .task_item [class$='_editor'] {
        display: none;
        width: 100%;
    }

    .temptasks.page .task_item .task_title .btn-clone,
    .temptasks.page .task_item .task_title .btn-edit {
        position: static;
        border: 1px solid #5078FE;
    }

    .temptasks.page .task_item .task_title input {
        width: 100%;
    }

    .temptasks.page .task_item .task_title .btn-edit span,
    .temptasks.page .task_item .task_title .btn-clone span {
        display: none;
    }

    .temptasks.page .task_item .close {
        top: 5px;
        right: 6px;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 30px;
        height: 30px;
        padding: 0;
        border: 1px solid #fff;
    }

    .temptasks.page .task_item .close span {
        line-height: 30px;
        align-items: center;
        justify-content: flex-start;
        width: 30px;
        height: 30px;
        text-align: center;
    }

    .temptasks.page .task_item .controls .control {
        margin: 0;
        padding: 0;
    }

    .temptasks.page .task_item .controls textarea,
    .temptasks.page .task_item .controls .textarea {
        flex-grow: 2;
    }

    .temptasks.page .task_item .controls .task_text_edit,
    .temptasks.page .task_item .controls .textarea {
        flex-grow: 2;
    }

    .temptasks.page .task_item.ui-droppable-hover {
        padding: 15px;
        background: #E6E6E6;
    }

    .temptasks.page .task_notes .task_notes__item {
        position: relative;
        display: grid;
        align-items: center;
        margin: 0 0 10px;
        grid-template-columns: 1fr 2fr;
        gap: 5px 15px;
    }

    .temptasks.page .task_notes .task_notes__item:first-child {
        padding: 0;
        width: 100%;
    }

    .temptasks.page .task_notes .task_notes__item > span {
        vertical-align: middle;
        height: 100%;
    }

    .temptasks.page .task_notes .task_notes__item > span.title button {
        display: inline-block;
        margin-left: 5px;
    }

    .temptasks.page .task_notes .task_notes__item > span.title button span {
        display: none;
    }

    .temptasks.page .task_notes .title > span {
        margin-right: 8px;
    }

    .temptasks.page .task_notes .title > span:last-child {
        margin-right: 0;
    }

    .temptasks.page .whellSelect {
        margin-top: 5px;
        display: flex;
        flex-wrap: wrap;
        gap: 5px 5px;
        flex-direction: row;
    }

    .temptasks.page .task_item .whellSelect select,
    .temptasks.page .task_item .whellSelect .chosen-container {
        min-width: 0;
        width: auto !important;
        flex-grow: 2;
    }

    .temptasks.page .task_item .btn-clone,
    .temptasks.page .task_item .btn-edit {
        width: 32px;
        height: 32px;
        min-height: 32px;
    }

    .temptasks.page .task_item .btn-clone:before,
    .temptasks.page .task_item .btn-edit:before {
        width: 20px;
        min-width: 20px;
        height: 20px;
        margin-right: 0 !important;
    }

    .temptasks .control-group.imagesfrommpvi,
    .temptasks .control-group.imagesfrommpvi .controls {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .temptasks .task_notes .ttl label:before {
        display: inline-block;
        width: 15px;
        min-width: 15px;
        height: 15px;
        margin: 0 5px 0 0;
        content: "";
        vertical-align: middle;
        border: 1px solid #BEC4C8 !important;
        background: #BEC4C8 !important;
    }

    .temptasks .linkin input[type="checkbox"] + label {
        width: 32px;
        height: 32px;
        display: block !important;
        padding-left: 0 !important;
    }

    .temptasks .linkin input[type="checkbox"] + label:before {
        position: absolute;
        left: 0;
        top: 50%;
        display: block !important;
        margin-top: -16px;
        width: 32px;
        height: 32px;
        content: "";
        border: 1px solid #CEDCEE;
        border-radius: 3px;
        background: #fff no-repeat 50% 50%;
    }

    .temptasks .linkin input[type="checkbox"]:checked + label:before {
        background: #fff;
    }

    .temptasks .linkin input[type="checkbox"]:checked + label:after {
        width: 32px;
        height: 24px;
        margin: -20px 0 0 2px !important;
    }

    .temptasks .control-group.cost {
        display: none !important;
    }
}