@media screen {

    .temptasks.page .button-bar-items{
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
    }
    .temptasks.page .button-bar-items .btn:before{
        display: none;
    }
    .temptasks.page .tasks_list{
        display: block;
    }
    .temptasks.page .formblock {
        max-width: 767px;
        background: transparent;
        padding: 0;
        box-shadow: none;
    }

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

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

        background-color: #fff;
        border-radius: 10px;
        border-bottom: 1px solid #CEDCEE;
        box-shadow: 0px 10px 4px -10px rgba(212, 212, 212, 1);
    }
    .temptasks.page .btn-close{
        position: static;
    }

    .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;

    }

    .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 {

    }

    .temptasks.page .task_item .task_info {
        border-bottom: none;
        margin: 0 -15px 0px;
        background: #e2e8f0;
        border-radius: 10px;

        border-top: 1px solid #FFF;

        background-color: #CEDCEE;
        box-shadow: inset 0 15px 20px #dfe9f5;
        padding-bottom: 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;
        margin-bottom: 5px;
    }

    .temptasks.page .task_item .task_title > *{
        display: inline-block;
    }
    .temptasks.page .task_item .task_title .moveButtons{
        display: flex;
    }
    .temptasks.page .task_item .mvi-add-task-actions {
        display: flex;
        gap: 0;
        justify-content: space-around;
        font-size: 12px;
        align-items: center;
        background-color: #d1d5db;
        background-color: #c3d6ef;
        border-top: 1px solid #b8c4e3;
        border-bottom: 1px solid #b8c4e3;
        margin: 0 -5px -5px -5px;
        border-radius: 0 0 10px 10px;
    }

    .temptasks.page .task_item .mvi-add-task-actions .showpartsitems{
        order:-4;
    }
    .temptasks.page .task_item .mvi-add-task-actions .showmviitems{
        order:-3;
    }

    .temptasks.page .task_item .mvi-add-task-actions .showlineitems{
        order:-2;
    }

    .temptasks.page .task_item .mvi-add-task-actions .showattendants{
        order:-1;
    }


    .task-settings.in {
        padding: 10px 10px;
        border-radius: 0 0 10px 10px;
        border-bottom: 1px solid #CEDCEE;
        background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(242, 242, 242, 1) 100%);
        box-shadow: 0px 10px 10px -10px rgba(212, 212, 212, 1);
        gap: 10px;
        margin: 0 -15px;
    }





    .temptasks.page .task_item .mvi-add-task-actions > button{
        color: #4e5260;
        padding: 5px;
        font-size: 12px;
        text-align: center;
        vertical-align: baseline;
        border: none;
        background: rgba(0,0,0,0.05);
        flex-grow: 2;
        transition: all ease-in .2s;
    }

    .temptasks.page .task_item .mvi-add-task-actions > button.collapsed {
        background-color: transparent;
    }

    .temptasks.page .task_item .mvi-add-task-actions > button:hover,
    .temptasks.page .task_item .mvi-add-task-actions > button:focus{
        background: #5078FE;
        color:#fff;
    }


    .temptasks.page .task_item .task_title .title{
        flex-grow: 2;
        text-shadow: #e2e9f2 1px 1px 1px;
    }

    .temptasks.page .task_item  .moveButtons button{
        font-size: 10px;
        line-height: 10px;

        border-radius: 5px;
    }

    .temptasks.page .task_item  .moveButtons button:focus,
    .temptasks.page .task_item  .moveButtons button:hover{
        background: #5078FE;
        color:#fff;
    }
    .temptasks.page .task_item  .moveButtons button:before{
        display: none;
    }


    .temptasks.page .task_item .task_title .linkin {
        order: 9;
    }
    .temptasks.page .task_item .task_title .task_controls > .publish{
        order:10;
    }

    .temptasks.page .task_item .task_title .task_order {
        font-size: 16px;
        line-height: 30px;
        display: flex;
    }

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

    .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 .task_title .task_controls{
        display: flex;
        gap:0 5px;
        align-items: center;
        margin-top: 1px;
    }



    .temptasks.page .task_item .task_title .task_controls > *{
        /*background:  #ff00ff;*/
        display: block;
        border: none;
        background: transparent;
    }


    .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;

    }

    .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: none;
    }

    .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-settings label,
    .temptasks.page .task_item .task_info_text label{
        font-size: 12px;
        font-weight: normal;

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

    .temptasks.page .task_notes .task_notes__item label{
        font-weight: normal;
    }

    .temptasks.page .task_notes .task_notes__item + .task_notes__item  {
        margin-top: 10px;
    }

    .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;
        border-radius: 3px;
    }

    .temptasks .linkin input[type="checkbox"] + label {
        width: 28px;
        height: 28px;
        display: block !important;
        padding-left: 0 !important;
        border-radius: 5px;
        transition: all ease-in .2s;

    }

    .temptasks .linkin input[type="checkbox"]:focus + label,
    .temptasks .linkin input[type="checkbox"] + label:hover{
        background: #5078FE !important;
        box-shadow: 4px 4px 5px 0 rgba(50, 50, 50, 0.1) !important;
    }

    .temptasks .linkin input[type="checkbox"] + label:focus *,
    .temptasks .linkin input[type="checkbox"] + label:hover *,
    .temptasks .linkin input[type="checkbox"] + label:focus:before,
    .temptasks .linkin input[type="checkbox"] + label:hover:before{
        color:#fff !important;
    }

    .temptasks .linkin input[type="checkbox"] + label:before {
        position: absolute;
        left: 0;
        top: 50%;
        display: block !important;
        margin-top: -14px;
        width: 28px;
        height: 28px;
        border: none;
        border-radius: 3px;
        background:transparent;
        font-family: 'Font Awesome 6 Free';
        content: "\f0c8";
        font-size: 16px;
        box-shadow: none !important;
    }

    .temptasks .linkin input[type="checkbox"]:checked + label:before {
        content: "\f14a";
    }

    .temptasks .linkin input[type="checkbox"]:checked + label:after {
       display: none;
    }

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

    .temptasks.page .task_item .btn-toolbar{
        padding: 0;
        margin: 0 !important;
        font-size: 16px;
        width: 28px;
        height: 28px;
        min-height: 28px;
        line-height: 28px;
        border-radius: 5px;
        overflow: hidden;
        opacity: 1;
        transition: all ease-in .2s;
    }



    .temptasks.page .task_item    .btn-toolbar:focus,
    .temptasks.page .task_item    .btn-toolbar:hover{
        background: #5078FE !important;
        box-shadow: 4px 4px 5px 0 rgba(50, 50, 50, 0.1) !important;
    }

    .temptasks.page .task_item    .btn-toolbar:focus  *,
    .temptasks.page .task_item    .btn-toolbar:hover *{
        color:#fff !important;
    }


    .temptasks.page .task_item    .btn-toolbar:before{
        display: none !important;
    }
    .temptasks.page .task_item    .btn-toolbar span{
        width: 28px;
        height: 28px;
        min-height: 28px;
        line-height: 28px;
    }
    .temptasks   .btn-toolbar i{
        margin: 0;
        font-size: 16px !important;
        color:#4e5260;
        line-height: 29px;
    }

    .temptasks.page .task_item .selectchip  .btn-toolbar{
        height: 22px;
        width: 22px;
        margin-left: 6px  !important;
        line-height: 22px !important;
        min-height: 22px !important;
        display: inline-block;
    }

    .temptasks  .task_item .selectchip .btn-toolbar i{
        font-size: 12px !important;
        line-height: .08333em !important;
    }

    .temptasks   .btn-toolbar.clonetemptaskitem{
        padding: 0 5px;
    }

    .temptasks .linkin input[type="checkbox"] + label:before{
        width: 16px;
        height: 16px;
        min-height: 16px;
        margin:-8px 0 0 6px;
        border-color: #4e5260;
        box-shadow: none;
    }

    div.collapse.in + fieldset{
        margin-top: 15px;
    }

    .temptasks.page .task_item  button.add:before{
        display: none !important;
    }

    .temptasks.page .task_item.form select,
    .temptasks.page .task_item.form textarea,
    .temptasks.page .task_item.form input[type="text"],
    .temptasks.page .task_item.form input[type="number"]{
         font-size: 12px !important;
    }

    .task_item.form .button.add{
        width: 100%;
    }

    .temptasks.page .lineitems select,
    .temptasks.page .lineitems .chosen-container,
    .temptasks.page .lineitems .chosen-container.chosen-container-single,
    .temptasks.page .lineitems .chosen-container.chosen-container-single .chosen-single,
    .temptasks.page .lineitems .chosen-container.chosen-container-single .chosen-single span
    {
        min-height: 26px;
        height: 26px;
        line-height: 26px !important;
    }

    .temptasks.page .lineitems .chosen-single > div:before {
        margin: 4px 0 0 8px !important;
    }
    .temptasks.page .lineitems .chosen-with-drop .chosen-single > div:before {
        margin: 11px 0 0 8px !important;
    }

    .temptasks.page .showlineitems{
        order:3;
    }
    .temptasks.page .showattendants{
        order:4;
    }

    .temptasks.page .task_title_editor .val{
        position: relative;
        display: flex;
        align-items: center;
    }
    .temptasks.page .task_title_editor input{
        /*border-radius: 5px  0 0 5px;
        border-right: none;*/
        padding-right: 34px;
    }
    .temptasks.page .task_title_editor input + button.btn-mini.toggler
    {
        position: absolute;
        top: 1px;
        right: 1px;
        border: none;
        height: 32px;
        width: 32px;
        min-height: 32px;
        box-shadow: none;
        padding: 0;

       /* border-radius: 0 5px 5px 0;*/
    }

    input + button.btn-mini.toggler:after {
        width: 8px !important;
        height: 8px !important;
        margin: 0 0 0 2px;
        transform: rotate(225deg);
        border-width: 1px;
    }

    .shownautocomplete + .btn-simple.toggler:after{
        transform: rotate(45deg);
        margin: 6px 0 0 2px;
    }

    .temptasks.page ul.lineitems,
    .temptasks.page ul.partsitems{
        margin-bottom: 0;
    }

    .temptasks.page .lineitemsblock.collapse:not(.in),
    .temptasks.page .partsitemsblock.collapse:not(.in) {
        display: block!important;
        height: auto !important;
    }
    .temptasks.page .lineitemsblock.collapse:not(.in) button.add,
    .temptasks.page .partsitemsblock.collapse:not(.in) button.add{
        display: none;

    }
    .temptasks.page .lineitemsblock.collapse:not(.in) .btn-secondary + .lineitems,
    .temptasks.page .partsitemsblock.collapse:not(.in) .btn-secondary + .partsitems {
        margin-top: 0px;
    }

    .btn-edit:not(.collapsed) .fa:before{
        font-weight: 400;
        content: "\f0c7";
    }

}