.hasDatepicker {
    text-align: center;
}

.newdelivery {

    margin: 0; /*border: 1px solid silver;*/
    background-color: #f0f0f0;
    padding: 20px 0;
    /*min-width: 1140px;*/
}

.newdelivery h2 {
    margin-bottom: 10px
}

label {
    white-space: nowrap;
}

.newdelivery .timemask,
.newdelivery .needchecknum,
.newdelivery .needcheckfloat,
.newdelivery .needDateMask {
    text-align: center;
    letter-spacing: 0.1em;
}

.newdelivery .receiver,
.newdelivery .sender {
    padding: 0.25em 1em 1em;
    border: 1px dashed #bbb;
    border-radius: 10px;
    background-color: rgb(249, 229, 188);
    margin: -0.3em 0;
}

.newdelivery .receiver label,
.newdelivery .sender label {
    color: #565656 !important;
}

.newdelivery [contenteditable],
.newdelivery input[type=text],
.newdelivery select {
    border: 1px solid silver;
    background-color: white;
}

.newdelivery label {
    display: block

}

.newdelivery table {
    width: 100%
}

.newdelivery td {
    padding: 0 10px
}

.newdelivery label, .newdelivery .label {
    margin-top: 5px;
}

.newdelivery input[type=text] {
    width: 100%;
}

.newdelivery .fieldsroot {
    -moz-display: flex;
    -webkit-display: flex;
    -ms-display: flex;
    display: flex;
    -moz-align-items: stretch;
    -webkit-align-items: stretch;
    -ms-align-items: stretch;
    align-items: stretch;
    -moz-flex-direction: row;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -moz-justify-content: center;
    -webkit-justify-content: center;
    -ms-justify-content: center;
    justify-content: center;
    -moz-flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin: 1em -0.5em;
}

.newdelivery .fieldsroot > * {
    margin: 0 0.5em;
    width: calc(50% - 3.25em);
}

.newdelivery [name=manager_comment] {
    height: calc(100% - 1.5em);
}

#fromto {
    margin: 10px 0 20px;
}

.ui-datepicker {
    z-index: 2!important;
}

#fromto > * {
    display: inline-block;
    margin: 0.5em;
}

#fromto label {
    margin-top: 0;
}

#fromto input[name^=date] {
    width: 7em;
}

/*.newdelivery [name=num_doc] {width: 90px;}
.newdelivery [name=delivery_date] {width: 80px;}
.newdelivery [name=delivery_time] {width: 160px;}
.newdelivery [name=manager_comment] {width: 460px;}
.newdelivery [name=point_address] {width: 868px;}
.newdelivery [name=point_contact] {width: 195px;}
.newdelivery [name=point_phones] {width: 160px;}
*/


.deliveryday .dashed {
    color: #7b7b7b;
    border-color: #7b7b7b;
}

.deliveryday a.icon {
    color: #333;
}

.deliveryday [contenteditable] {
    /*border: 1px solid transparent;*/
    /*background-color: transparent;*/
    /*padding: 3px;*/
    /*min-height: 1.2em;*/
    /*margin: 0;*/
    /*min-height: unset;*/
}

.deliveryday [contenteditable]:hover {
    /*padding: 5px;*/
    /*margin: -5px 0;*/
    /*border: 1px dashed #58a1fb;*/
}

.deliveryday [contenteditable]:focus:hover {
    /*border-color: transparent !important;*/
    white-space: normal;
}

.deliveryday [contenteditable].gray {
    color: gray
}

.deliveryday [name=point_address] {
    font-weight: normal;
    font-style: normal;
    /*background-color: #fff3c9!important;*/
    /*color: #0282ff;*/
}

.deliveryday [name=manager_comment] {
    font-style: normal;
    font-family: Arial, Helvetica, tahoma, Verdana, sans-serif;
    display: inline-block;

    background-color: #fcface !important;
}

.deliveryday .delivery.done [name=manager_comment] {
    background-color: transparent !important;
}

.deliveryday input[type=text]:disabled {
    /*background: transparent;*/
    /*border: none;*/
    /*padding: 0;*/
}

.deliveryday .author-title {
    margin: 0;
    width: 100%;
    padding-right: 35px;
    box-sizing: border-box;
    position: relative;
    -moz-display: flex;
    -webkit-display: flex;
    -ms-display: flex;
    display: flex;
    -moz-align-items: flex-start;
    -webkit-align-items: flex-start;
    -ms-align-items: flex-start;
    align-items: flex-start;
    -moz-flex-direction: row;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -moz-justify-content: flex-start;
    -webkit-justify-content: flex-start;
    -ms-justify-content: flex-start;
    justify-content: flex-start;
    -moz-flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}


.deliveryday .author-title .left-part,
.deliveryday .author-title .rightpart {
    -moz-display: flex;
    -webkit-display: flex;
    -ms-display: flex;
    display: flex;
    -moz-align-items: center;
    -webkit-align-items: center;
    -ms-align-items: center;
    align-items: center;
    -moz-flex-direction: row;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -moz-justify-content: flex-start;
    -webkit-justify-content: flex-start;
    -ms-justify-content: flex-start;
    justify-content: flex-start;
    -moz-flex-wrap: nowrap;
    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    margin-bottom: 1em;
}

.deliveryday .author-title .rightpart {
    -moz-flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.deliveryday .author-title .left-part > * {
    margin-right: 20px;
    flex-shrink: 0;
}

.deliveryday .author-title .rightpart > * {
    margin-left: 1em;

}

.deliveryday .author-title .left-part .point-actions {
    margin-right: 0;
    right: 0;
    position: absolute;
}

.deliveryday .plannedTime .status {
    display: block;
    white-space: nowrap
}

.deliveryday .plannedTime {
    font-size: 1.5em;
    font-weight: bold;
}

.deliveryday .author-title label {
    display: block;
    vertical-align: middle;
    color: #333 !important;
    font-size: 0.9em !important;
    /*font-style: italic !important;*/
    margin: 0 0 0.2em 0;
}


.deliveryday .author-title input[type=text],
.deliveryday .author-title div[contenteditable] {
    display: inline-block;
    vertical-align: middle;
    width: 60px;
    text-align: center;
    /*font-size: 0.9em;*/
}

.deliveryday .author-title div[contenteditable] {
    min-width: 70px;
    width: auto;
}

.deliveryday .author-title [name=num_doc] {
    font-weight: bold;
}

.deliveryday .author-title .rightpart {
    text-align: right;
}

.deliveryday .author-title .rightpart > * {
    margin-bottom: 0.5em;
}

.deliveryday .author-title .dashed {
    margin: 0;
}

.deliveryday .inputs {
    margin: 0 -0.2em 0.5em;
    width: 100%;
}

.deliveryday .inputs td {
    padding: 0 0.2em;
}

.deliveryday .inputs label {
    margin: 0.5em 0 0.2em 0;
}

.deliveryday .delivery_point {
}

.deliveryday .delivery_point .field {
    /*padding: 0 0 0 1.2em;*/
}

.deliveryday .delivery_point .icon {
    position: absolute;
    font-size: 1.2em;
    color: #333;
    margin: 0.3em 0 0 0;
}

.deliveryday .delivery_point [contenteditable] {
    border-color: transparent;
    background-color: transparent;
    width: auto;
    min-width: 50px;
    /*padding: 0.2em;*/
    /*min-height: 1.75em;*/
    margin-left: 1em;
}

.deliveryday .icon.fa-exclamation-triangle {
    color: orange;
}


.deliveryday .point-info {

}

.deliveryday .point-info .delivery_place {
    padding: 1em;
    /*border: 1px dashed #dedede;*/
    /*background-color: #f9e5bc;*/
    position: relative;
    border-radius: 10px;
    border: 3px solid transparent;
}

.deliveryday .point-info .delivery_place .copy-commands {
    padding: 0.2em;
    border-radius: 0 0 5px 5px;
    position: absolute;
    white-space: nowrap;
    text-align: right;
    visibility: hidden;
    bottom: -1.8em;
    right: 1.5em;
    font-size: 0.9em;

}

.deliveryday .point-info .delivery_place.delivery_place-sender .copy-commands {
    background-color: #f0f0f0;
    border: 1px solid #dedede;
    border-top: none;
}

.deliveryday .point-info .delivery_place.delivery_place-receiver .copy-commands {
    background-color: #fcf5bd;
}

.deliveryday .done .point-info .delivery_place .copy-commands {
    background-color: #dedede;
}

.deliveryday .point-info .delivery_place:hover .copy-commands {
    visibility: visible;
}


.deliveryday .point-info .delivery_place .copy-commands span {
    margin: 0 0.5em;
    color: #e68b3f;
    cursor: pointer;
}

.deliveryday .point-info .delivery_place.delivery_place-sender {
    background-color: #fff;
    border: 3px dotted #dedede;
}

.deliveryday .point-info .delivery_place.delivery_place-receiver {
    background-color: #fcf5bd;
}

.deliveryday .delivery.done .point-info .delivery_place {
    background-color: transparent;
    border: 3px dotted #ccc;
}

.deliveryday .point-info .central-part {
    -moz-display: flex;
    -webkit-display: flex;
    -ms-display: flex;
    display: flex;
    -moz-align-items: stretch;
    -webkit-align-items: stretch;
    -ms-align-items: stretch;
    align-items: stretch;
    -moz-flex-direction: row;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -moz-justify-content: flex-start;
    -webkit-justify-content: flex-start;
    -ms-justify-content: flex-start;
    justify-content: flex-start;
    -moz-flex-wrap: nowrap;
    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    position: relative;
    margin: 1em -0.75em;
}

.deliveryday .point-info .central-part > * {
    box-sizing: border-box;
    width: calc(50% - 1.5em);
    margin: 0 0.75em;
}

.deliveryday .point-info .left-part label,
.deliveryday .point-info .footerpart label {
    margin-top: 0;
}

.deliveryday .point-info .delivery_place-inputs {
    width: 100%;
}

.deliveryday .point-info .delivery_place-inputs label {
    margin-top: 0;
}

.deliveryday .point-info .delivery_place-inputs > tbody > tr > td:first-child {
    width: 1em;
    text-align: center;
    padding-top: 0.25em;
    white-space: nowrap;
}

.deliveryday .point-info .footerpart .delivery_place-inputs > tbody > tr > td {
    /*width: auto;*/
    padding: 0;
}

.deliveryday .point-info .central-part > .icon {
    font-size: 2em;
    margin: 0 0.2em;
    align-self: center;
    color: #e4ca94;
    flex-basis: 1%;
}

.deliveryday .point-info .central-part [name=manager_comment] {
    background-color: transparent !important;

}

.deliveryday .flatinputs {
    margin-bottom: 0.5em;
}

.deliveryday .flatinputs td {
    vertical-align: middle;
    padding: 0.1em 0;
}

.deliveryday .flatinputs > tbody > tr > td:nth-child(even) {
    padding: 0 1em 0 0.5em;
    text-align: center;
}

.deliveryday .flatinputs [contenteditable] {
    min-width: 60px;
    text-align: center;
}

.deliveryday .flatinputs input[type=text] {
    width: 60px;
    padding: 0.2em 0.5em;
    text-align: center;
}

.deliveryday .delivery_place-inputs > tbody > tr > td {
    vertical-align: top;
    padding: 0.1em 0;
}

.deliveryday .point-info .delivery_place-inputs [contenteditable],
.deliveryday .point-info .delivery_place-inputs select,
.deliveryday .point-info .delivery_place-inputs input[type=text] {
    background-color: transparent;
    display: block;
    border: 1px solid transparent;
    min-height: 1.5em;
    padding: 0.1em 0.5em !important;
    margin: 0 0.3em;
    box-sizing: border-box;
    outline: none;
    line-height: 1em;
}

.deliveryday .point-info .delivery_place-inputs input[type=text] {
    width: 60px;
    display: inline-block;
    text-align: center;
}

.deliveryday .point-info .delivery_place-inputs input[name=point_phones_from],
.deliveryday .point-info .delivery_place-inputs input[name=point_phones] {
    width: 100%;
    display: block;
    text-align: left;
}

.deliveryday .point-info .delivery_place-inputs .select-wrapper {

}

.deliveryday .point-info .delivery_place-inputs .select-wrapper:before {
    display: none;
}

.deliveryday .point-info .delivery_place-inputs [contenteditable]:focus,
.deliveryday .point-info .delivery_place-inputs input:focus {
    background-color: #fff;
}

.deliveryday .point-info .delivery_place-inputs .nomoney td:last-child {
    display: none;
}


.deliveryday .delivery_point [contenteditable=true]:hover,
.linked-delivery [contenteditable=true]:hover,
.linked-delivery input:not(:disabled):hover,
.linked-delivery select:not(:disabled):hover,
.deliveryday .point-info .delivery_place-inputs [contenteditable=true]:hover,
.deliveryday .point-info .delivery_place-inputs input:not(:disabled):hover,
.deliveryday .point-info .delivery_place-inputs select:not(:disabled):hover {
    border: 1px dashed #999;
}

.deliveryday .point-info .delivery_place-inputs input[name=sum_from],
.deliveryday .point-info .delivery_place-inputs input[name=sum_to] {
    border: 1px solid #ccc !important;
}


.needcheckdate {
    text-align: center;
}

.deliveryday .header {
    text-align: center;
    /*margin: 40px 0 0px;*/
    line-height: 25pt;
    font-size: 30px;
    /*font-family: pf_square_sans_promedium, sans-serif;*/
    color: #333;
    background-color: #E1ECAC;
    padding: 20px 0;
    position: relative;
}

.deliveryday {
    /*border-top: 3px dashed silver;*/
    /*padding: 30px 0;*/
    /*min-width: 1140px;*/
}

.deliveryday .title {
    margin: 0; /*background-color: #bad5f3; padding: 2px 10px;*/
    display: block;
    text-align: center;
    font-size: 26px;
    font-weight: normal;
    color: #333;
    line-height: 1em;
    /*font-family: pf_square_sans_proregular, sans-serif;*/
    background-color: #bad5f3;
    padding: 20px 0;
    position: relative;
}

@media screen {
    .deliveryday .header {
        font-size: 26px;
        line-height: 1em;
        position: sticky;
        position: -webkit-sticky;
        top: 0;
        z-index: 2;
        padding: 10px 0;
    }
}

@media screen and (min-width: 701px) {
    .deliveryday .title {
        padding: 10px 0;
        position: sticky;
        position: -webkit-sticky;
        top: calc(26px + 20px);
        z-index: 2;
        min-height: 50px;
        display: flex;
        align-items: center;
        overflow: hidden;
    }
}

.deliveryday .header *, .deliveryday .title * {
    text-align: center;
}

.deliveryday .title .about {
    display: block;
    font-size: 12pt;
    /*margin: -5px 0px -10px;*/
    /*font-family: arial, tahoma; !*color: #666;*!*/
    /*font-style: italic;*/
}

.deliveryday .title .commands,
.deliveryday .header .commands {
    font-size: 9pt;
    margin: 0;
    position: absolute;
    right: 1em;
    top: 2.5em;
    font-style: italic;
    color: #555;
    line-height: 1em;
    text-align: right;
    white-space: nowrap;
}

@media screen {
    .deliveryday .title .commands,
    .deliveryday .header .commands {
        top: calc(50% - 0.5em);
    }
}

.deliveryday .commands span {
    border-bottom: 1px dashed #555;
    margin: 0 1em;
    cursor: pointer;
}

@media screen and (max-width: 700px) {
    .deliveryday .title .commands,
    .deliveryday .header .commands {
        position: relative;
        display: block;
        text-align: left;
        top: unset;
        right: unset;
        margin-top: 1em;
    }

    .deliveryday .commands span {
        margin: 0 1em 0 0;
    }
}

.deliveryday .delivery > * {
    border-top: 1px solid #ccc;
    padding: 10px 10px;
    vertical-align: top;
}

.deliveryday .delivery:first-child > * {
    border-top: none;
}

.deliveryday .delivery > .npp {
    vertical-align: middle;
    white-space: nowrap;
    width: 100px;
    text-align: center;
    box-sizing: content-box;
    padding: 0;
    position: absolute;
    top: -23px;
    left: 50%;
    margin-left: -50px;

}

.deliveryday .delivery > .npp img {
    cursor: pointer
}

.deliveryday .delivery > .npp .icon {
    cursor: pointer;
}

.deliveryday .delivery > .npp [contenteditable] {
    min-height: unset;
    padding: 0;
}

.deliveryday .small {
    color: gray !important;
    font-size: 8pt !important;
    font-weight: normal !important;
    white-space: nowrap;
}

.deliveryday .delivery .label { /*margin-bottom:-5px*/
}

.deliveryday .delivery .author-title .left-part .npp div {
    font-weight: bold;
    font-size: 18px;
    display: inline-block;
    text-align: center;
    width: 30px;
    height: 30px;
    line-height: 30px;
    min-height: unset;
    min-width: unset;
    padding: 0;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    border: 4px solid #6b9ed7;
    box-sizing: content-box;
    background-color: transparent;
}

.deliveryday .delivery .npp span {
    display: inline-block;
    margin: 15px 10px;
    text-align: center;
    color: #000;
}

/*.deliveryday .delivery.point_type0 .npp div {*/
/*background-color: green;*/
/*color: white;*/
/*}*/

/*.deliveryday .delivery.point_type1 .npp div {*/
/*background-color: blue;*/
/*color: white;*/
/*}*/

/*.deliveryday .delivery.point_type2 .npp div {*/
/*background-color: red;*/
/*color: white;*/
/*}*/

.deliveryday .delivery.zeropoint .npp div {
    border: 2px solid #333;
    background-color: #f0f0f0;
    color: #333;
}

.deliveryday .delivery .dashed {
    margin: 5px 10px 0 0;
    display: inline-block;
    font-size: 9pt;
}

.deliveryday .delivery .status {
    font-weight: bold;
}

.deliveryday .delivery.nomaxoptra.v2 .delivery-id {
    background-color: #ff3600 !important;
    color: #fff;
    border-color: #ff3600 !important;
}

/*.deliveryday .delivery.nomaxoptra.v2 .left-side input,
.deliveryday .delivery.nomaxoptra.v2 .left-side select,
.deliveryday .delivery.nomaxoptra.v2 .left-side .icon {
    color: #fff !important;
}
*/

.deliveryday .delivery.done {
    background-color: #f0f0f0;
    border-color: #fff;
}

.deliveryday .delivery.done .status {
    color: green;
}

.deliveryday .delivery .status {
    margin: 10px 0;
    display: block;
    font-size: 12pt;
    white-space: nowrap;
}

.deliveryday .delivery .status {
    font-size: 12pt;
}

.deliveryday .delivery .status .stamp {
    display: none;
}

.deliveryday .delivery.done .status .stamp {
    display: inline;
    /*margin: -10px 0 10px 20px;*/
    font-weight: normal;
    color: #333;
    font-size: 0.8em;
}

.deliveryday .delivery.short .hideshort {
    display: none;
}

.deliveryday .delivery .toggleview {
    margin: -5px 0 5px 0;
    background-color: #eee;
    padding: 0px 10px;
    font-size: 8pt;
    display: inline-block;
    cursor: pointer;
}

.deliveryday .delivery .toggleview span {
    border-bottom: 1px dotted gray;
    color: gray;
    display: inline
}

.deliveryday .delivery .toggleview span:first-child {
    display: none
}

.deliveryday .delivery.short .toggleview span {
    display: none
}

.deliveryday .delivery.short .toggleview span:first-child {
    display: inline
}

.deliveryday .delivery .manager_penalty [name=manager_penalty] {
    color: red;
    font-weight: bold
}

@media print {
    .dontprint, #head, .smallmenu {
        display: none !important;
    }
}

.deliveryday label {
    color: #9c9c9c !important;
    margin: 0.5em 0;
}

.deliveryday .delivery_point .icon {
    color: #7b7b7b !important;
}

.deliveryday .delivery .needconfirm {
    display: inline-block;
    color: red;
    line-height: 1em;
    white-space: nowrap;
    font-weight: bold;
}

.deliveryday .delivery .needconfirm:before {
    content: 'не подтвержден';
}

.deliveryday .delivery .needconfirm.canconfirm {
    text-decoration: underline;
    cursor: pointer;
}

.deliveryday .delivery .needconfirm.canconfirm:before {
    content: 'подтвердить';
}

/*
.linked-delivery .field .icon {
    position: absolute;
}

.linked-delivery .field .icon + [contenteditable]{
    padding-left: 2em;
}
*/
.linked-delivery {
    margin-bottom: 1em;
    /*border:1px solid #dedede;*/
    padding: 0.2em 0;
    border-radius: 20px;
    /*background-color: #f0f0f0;*/

    -moz-display: flex;
    -webkit-display: flex;
    -ms-display: flex;
    display: flex;
    -moz-align-items: stretch;
    -webkit-align-items: stretch;
    -ms-align-items: stretch;
    align-items: stretch;
    -moz-flex-direction: row;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -moz-justify-content: flex-start;
    -webkit-justify-content: flex-start;
    -ms-justify-content: flex-start;
    justify-content: flex-start;
    -moz-flex-wrap: nowrap;
    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    width: 100%;
    box-sizing: border-box;
}

.linked-delivery .left-side {
    border: 5px solid #d0f5ad;
    box-sizing: border-box;
    padding: 1em;
    border-radius: 10px;
    max-width: 60%;
    margin-right: 1em;
    flex-grow: 1;
}

.point_type0 .linked-delivery .left-side {
    border-color: #eab4b4;
}

.point_type1 .linked-delivery .left-side {
    border-color: #b1d88b;
}

.point_type1 .linked-delivery .right-side {
    max-width: 50%;
}

.linked-delivery .point-action-tag {
    margin-bottom: 1em;
    position: relative;
}

.linked-delivery .point-action-tag .findLinkedDelivery {
    color: #333;
    padding: 0.5em;
    border-radius: 10px;
    cursor: pointer;
    display: inline-block;
    margin-left: 1.8em;
}

.point_type0 .linked-delivery .findLinkedDelivery {
    background-color: #c2dda8;
    /*border: 1px solid #ccc;*/
}

.point_type1 .linked-delivery .findLinkedDelivery {
    background-color: #f2c5c5;
    /*border: 1px solid #ccc;*/
}

.linked-delivery .point-action-tag .dir.icon {
    font-size: 2em;
    color: #666;
    vertical-align: middle;
    margin-right: 0.15em;
    margin-left: -0.3em;
    position: absolute;
}

.linked-delivery .point-action-tag .dir.icon {
    color: #eab4b4;
}

.deliveryday .linked-delivery [name="manager_comment"] {
    background-color: transparent !important;
}

.linked-delivery [contenteditable],
.linked-delivery input[type=text],
.linked-delivery select {
    background-color: transparent;
    border-color: transparent;
}

.linked-delivery .field label ~ [name]:first-of-type {
    width: calc(100% - 1.75em);
    display: inline-block;
}

.linked-delivery .field .timemask {
    width: 50px !important;
    text-align: center;
}
.linked-delivery .field.phone .ext{
    display: inline-block;
    white-space: nowrap;
}
.linked-delivery .field.phone .ext b{
    font-size: 1.2em;
}
.linked-delivery .field.phone input[name=point_phones] {
    width: 10em;
}
.linked-delivery .field.phone [name=point_phones_ext] {
    width: 3.5em;
}

.linked-delivery .field label {
    display: inline-block;
    vertical-align: top;
    margin-top: 0.65em;
}

.linked-delivery .field label .icon {
    font-size: 1.2em !important;
}

.linked-delivery .select-wrapper:before {
    display: none;
}

.linked-delivery select {
    padding-right: 0 !important;
}

.linked-delivery label a {
    color: #333 !important;
}

.linked-delivery .deliveryMoney .select-wrapper,
.linked-delivery .deliveryMoney [contenteditable],
.linked-delivery .deliveryMoney select {
    width: auto;
    display: inline-block;
}

.linked-delivery-table {
    margin: 0.5em -0.5em;
    display: none;
}

.linked-delivery-table > div {
    display: inline-block;
    margin: 0.5em;
}


.linked-delivery-table .dashed {
    vertical-align: middle;
}

.linked-delivery-table label {
    display: block;
    vertical-align: middle;
    color: #333 !important;
    font-size: 0.9em !important;
    /*font-style: italic !important;*/
    margin: 0.5em 0;
}

.linked-delivery-table .plannedTime {
    white-space: nowrap;
}


.delivery .linked-delivery-table .dashed {
    margin: 0;
}

.linked-delivery-table input[type=text],
.linked-delivery-table div[contenteditable] {
    display: inline-block;
    vertical-align: middle;
    width: 60px;
    text-align: center;
    font-size: 0.9em;
}

.linked-delivery-table div[contenteditable] {
    min-width: 70px;
    width: auto;
}


.deliveryday .delivery.hidden-point {
    display: none;
}

.delivery .point-actions {
    position: relative;
}

.delivery .point-actions-title {
    /*font-style: italic;*/
    /*font-size: 0.9em;*/
    /*border-bottom: 1px dashed #666;*/
    /*color: #666;*/
    /*display: inline-block;*/
    cursor: pointer;
}

.delivery .point-actions-title .icon {
    font-size: 2em;
}

.delivery .point-actions-body {
    right: 0;
    position: absolute;
    display: none;
    background-color: #fff1b7;
    border: 1px solid #dedede;
    text-align: left;
    white-space: nowrap;
    z-index: 1;
}

.delivery .point-actions:hover .point-actions-title {
    color: #e69e32;
    border-bottom-color: transparent;
}

.delivery .point-actions:hover .point-actions-body {
    display: block;
}

.delivery .point-actions-body > * {
    display: block;
    border-top: 1px dotted #dedede;
    padding: 0.5em 1em;
    cursor: pointer;
}

.delivery .point-actions-body > *:first-child {
    border-top: none;
}


@media screen and (max-width: 1300px) {
    .newdelivery .pointinfo > .fields > .field.half {
        width: 100%;
    }


}

@media screen and (max-width: 700px) {
    .newdelivery .fieldsroot {
        margin: 2em 0;
    }

    .newdelivery .pointinfo {
        width: 100%;
    }

    .newdelivery .pointinfo + .pointinfo {
        margin-top: 2em;
    }

    .newdelivery .main-info > .field {
        width: 100%;
    }

    .newdelivery .fieldsroot > * {
        margin: 0;
    }
}

@media screen and (max-width: 500px) {
    .newdelivery .main-info > .field {
        max-width: unset;
    }
}

@media print {
    body {
        min-width: 1300px;
    }

    .deliveryday .delivery {
        page-break-inside: avoid;
    }
}

.deliveryday-table .delivery {
    box-sizing: border-box;
    /*min-width: 360px;*/

    overflow: visible;
    padding: 0;
    border: 1px solid #dedede;
    background-color: #fff;
    position: relative;

    -moz-display: flex;
    -webkit-display: flex;
    -ms-display: flex;
    display: flex;
    -moz-align-items: stretch;
    -webkit-align-items: stretch;
    -ms-align-items: stretch;
    align-items: stretch;
    -moz-flex-direction: row;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -moz-justify-content: flex-start;
    -webkit-justify-content: flex-start;
    -ms-justify-content: flex-start;
    justify-content: flex-start;
    -moz-flex-wrap: nowrap;
    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
}

@media screen and (min-width: 1200px) {
    .deliveryday > .title,
    .deliveryday {
        margin-top: -1px;
    }

    .deliveryday-table .delivery {
        border-top: none;
    }
}

@media print {
    .deliveryday > .header {
        page-break-before: always;
    }
    .deliveryday:first-child > .header {
        page-break-before: avoid;
    }

    .deliveryday > .title {
        page-break-before: always;
    }

    .deliveryday > .header + .title {
        page-break-before: avoid;
    }

    .deliveryday > .title,
    .deliveryday {
        margin-top: -1px;
    }

    .deliveryday-table  .delivery {
        border-top: none;
    }
}

.deliveryday-table .delivery > * {
    flex-grow: 0;
    border: none;
    padding: 1em 2em;
}


.deliveryday-table .delivery > .delivery-info {
    /*width: calc(100%);*/
    flex-grow: 1;
}

.deliveryday-table .delivery > .driver {
    width: calc(300px - 6px - 2em);
    flex-shrink: 0;
    /*background-color: #fff;*/
    border-left: 1px solid #dedede;
}

.deliveryday-table .delivery.done > .driver {
    border-color: #fff;
}

.deliveryday-table .linked-delivery .left-side .field {
    min-width: 8em;
}

.deliveryday-table .linked-delivery .left-side .times {
    min-width: 10em;
    white-space: nowrap;
}

.deliveryday-table .linked-delivery .left-side .phone {
    min-width: 13.5em;
}

@media screen and (max-width: 1200px) {

    .deliveryday-table .delivery {
        margin: 2em 0;
        border-radius: 20px;
        border-top-width: 1px;
    }

    .deliveryday-table .delivery.done {
        /*border-top: 1px solid #fff;*/
    }

    .deliveryday-table .linked-delivery .left-side {
        max-width: unset;
        width: 50%;
    }

    .deliveryday-table .linked-delivery .left-side > .fields > .field.half {
        width: 100%;
    }

}

@media screen and (max-width: 1000px) {

    .delivery .linked-delivery {
        -moz-flex-direction: column;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .delivery.point_type1 .linked-delivery {
        -moz-flex-direction: column-reverse;
        -webkit-flex-direction: column-reverse;
        -ms-flex-direction: column-reverse;
        flex-direction: column-reverse;
    }

    .deliveryday-table .linked-delivery .left-side,
    .deliveryday-table .linked-delivery .right-side {
        width: 100%;
        max-width: unset;
    }

    .deliveryday-table .linked-delivery .left-side > .fields > .field.half {
        width: 50%;
    }

    .delivery.point_type0 .linked-delivery .left-side {
        margin-bottom: 1em;
    }

    .delivery.point_type1 .linked-delivery .left-side {
        margin: 1em 0 0 0;
    }

    .deliveryday .header *, .deliveryday .title * {
        text-align: left;
        margin: 0;
    }

    .deliveryday-table .delivery > .npp {
        position: absolute;
        top: -30px;
        left: -40px;
    }

    .deliveryday-table .delivery {
        /*-moz-flex-wrap: wrap;*/
        /*-webkit-flex-wrap: wrap;*/
        /*-ms-flex-wrap: wrap;*/
        /*flex-wrap: wrap;*/
    }

    .linked-delivery .point-action-tag .findLinkedDelivery {
        margin-left: 0;
        margin-bottom: 2em;
        display: block;
    }

    .linked-delivery .point-action-tag .icon {
        left: 50%;
    }

    .delivery.point_type1 .point-action-tag .icon {
        bottom: -1.075em;
        /*display: none;*/
    }

    .delivery.point_type0 .point-action-tag .icon {
        top: -1.1em;
    }

    .delivery.point_type1 .linked-delivery .point-action-tag .icon:before {
        content: "\f175";
    }

    .delivery.point_type0 .linked-delivery .point-action-tag .icon:before {
        content: "\f175";
    }

    .delivery.point_type0 .linked-delivery .left-side {
        margin-bottom: 2em;
    }

    .deliveryday .author-title {
        padding-right: 0;
    }

    .deliveryday .author-title .left-part {
        width: 100%;
    }

    .deliveryday .author-title .left-part .point-actions {
        position: unset;
        flex-grow: 1;
        text-align: right;
    }

    .deliveryday .author-title .rightpart > * {
        margin-left: 0;
        margin-right: 1em;
    }

    .deliveryday .author-title .rightpart > *:last-child {
        margin-right: 0;
    }
}

@media screen and (max-width: 720px) {
    .deliveryday-table .delivery {
        -moz-flex-direction: column;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .linked-delivery .left-side {
        margin: 1em 0;
    }

    .deliveryday-table .delivery > .driver {
        width: 100%;
        box-sizing: border-box;
        border-top: 1px solid #dedede;
        border-left: none;
    }
}

@media screen and (max-width: 500px) {
    .deliveryday-table .delivery > * {
        padding: 1em;
    }
}

@media screen and (max-width: 360px) {
    .deliveryday-table .linked-delivery .left-side > .fields > .field.half {
        width: 100%;
    }
}

