@font-face { font-family: 'OpenSans'; font-style: normal; font-weight: 900; src: url(/fonts/OpenSans-ExtraBold.ttf); }
@font-face { font-family: 'OpenSans'; font-style: italic; font-weight: 900; src: url(/fonts/OpenSans-ExtraBoldItalic.ttf); }
@font-face { font-family: 'OpenSans'; font-style: normal; font-weight: 800; src: url(/fonts/OpenSans-Bold.ttf); }
@font-face { font-family: 'OpenSans'; font-style: italic; font-weight: 800; src: url(/fonts/OpenSans-BoldItalic.ttf); }
@font-face { font-family: 'OpenSans'; font-style: normal; font-weight: 700; src: url(/fonts/OpenSans-SemiBold.ttf); }
@font-face { font-family: 'OpenSans'; font-style: italic; font-weight: 700; src: url(/fonts/OpenSans-SemiBoldItalic.ttf); }
@font-face { font-family: 'OpenSans'; font-style: normal; font-weight: 500; src: url(/fonts/OpenSans-Regular.ttf); }
@font-face { font-family: 'OpenSans'; font-style: italic; font-weight: 500; src: url(/fonts/OpenSans-Italic.ttf); }
@font-face { font-family: 'OpenSans'; font-style: normal; font-weight: 300; src: url(/fonts/OpenSans-Medium.ttf); }
@font-face { font-family: 'OpenSans'; font-style: italic; font-weight: 300; src: url(/fonts/OpenSans-MediumItalic.ttf); }
@font-face { font-family: 'OpenSans'; font-style: normal; font-weight: 100; src: url(/fonts/OpenSans-Light.ttf); }
@font-face { font-family: 'OpenSans'; font-style: italic; font-weight: 100; src: url(/fonts/OpenSans-LightItalic.ttf); }

*{
    margin: 0;
    padding: 0;
    font-family: "OpenSans";
    font-size: 14px;
}

.body{
    background: #eee;
    padding-bottom: 7em;
}

.d-none{
    display: none;
}

.h1{
    font-size: 2em;
}

.link{
    color: #0000EE;
    display: unset;
    cursor: pointer;
    font-size: 1em;
}

.link:hover{
    text-decoration: underline;
}

.select{
    padding: 0.5em;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 9em;
    border: 2px solid #000;
    border-radius: 0.5em;
    background: #fff;
    cursor: pointer;
}
.select .span{
    display: block;
    margin-right: 0.5em;
    overflow: hidden;
    white-space: nowrap;
}
.select .check{
    font-weight: 700;
}
.select .bi{
    transform: rotate(180deg);
}

.select:hover{
    background: #eee;
}


.select-rez{
    position: absolute;
    width: 19em;
    background: #eee;
    padding: 1em;
    border: 2px solid #000;
    border-radius: 0.5em;
    margin-top: 1px;
    z-index: 1;
}

.select-rez .close{
    text-align: right;
    margin-top: -0.5em;
    margin-right: -0.5em;
    margin-bottom: 0.5em;
    cursor: pointer;
}

.select-rez .close .bi{
    width: 1.2em;
    height: 1.2em;
}

.select-rez .filter-list{
    max-height: 15em;
    overflow: auto;
    overflow-x: hidden;
    background: #fff;
    box-sizing: border-box;
    margin-top: 1em;
}
.select-rez .filter-list .filter-list-id{
    display: flex;
    justify-content: space-between;
    padding-bottom: 0.4em;
    border-bottom: 1px solid #ccc;
    margin: 0.4em;
    align-items: center;
}
.select-rez .filter-list .filter-list-id .span{
    max-width: 12em;
    font-size: 0.9em;
}
.select-rez .action{
    display: flex;
    margin-top: 0.5em;
    justify-content: space-between;
}
.select-rez .action .span{
    font-size: 0.8em;
    padding: 0.2em;
}

.select-rez .action .action-first{
    padding: 0.5em;
    border: 2px solid #000;
    background: #ccc;
    border-radius: 0.5em;
    font-size: 0.9em;
    cursor: pointer;
}

.select-rez .action .action-first:hover{
    background: #eee;
}

.select-rez .action .action-next{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.select-rez .action .action-next .span{
    margin-left: 0.2em;
}

.select-rez .seach-select{
    display: flex;
    align-items: center;
    justify-content: center;
}

.select-rez .seach-select .span{
    margin-left: 0.2em;
    margin-right: 0.2em;
}



.form{
    max-width: 35em;
    background: #ffff;
    padding: 2em;
    box-sizing: border-box;
    border: 2px solid #000;
}

.label{
    margin-top: 0.5em;
    display: block;
}

.checkbox{
    width: 1.5em;
    height: 1.5em;
}

.input{
    width: 100%;
    padding: 0.5em;
    border: 2px solid #000;
    border-radius: 0.5em;
    margin-top: 0.2em;
    font-weight: 700;
    min-height: 2.8em;
    box-sizing: border-box;
}

.input:read-only {
    background: #ccc;
}

.input::placeholder{
    color: #999;
    font-weight: 400;
}

.textarea{
    width: 100%;
    padding: 0.5em;
    border: 2px solid #000;
    border-radius: 0.5em;
    margin-top: 0.2em;
    font-weight: 700;
}

.textarea::placeholder{
    color: #999;
    font-weight: 400;
}

.submit{
    padding: 0.8em;
    box-sizing: border-box;
    margin-top: 1em;
    border: none;
    background: #999;
    color: #000;
    font-weight: 700;
    border-radius: 0.3em;
    border: 2px solid #000;
    cursor: pointer;
    max-width: 8em;
    text-align: center;
}

.table{
    width: 100%;
    display: table;
}
.table .tr{
    display: table-row;
}
.table .th, .table .td{
    padding: 0.2em;
    text-align: left;
    display: table-cell;
}


.ul{
    margin-left: 2em;
    margin-bottom: 1em;
}

.add-button{
    display: flex;
    align-items: center;
    margin-bottom: 1em;
}

.add-button .bi{
    margin-right: 0.3em;
}

.enter{
    padding-top: 3em;
    padding-bottom: 3em;
    width: 50%;
    margin: auto;
}

.enter .form{
    margin-top: 3em;
}
.enter .text{
    margin-top: 3em;
}
.enter .form .info{
    margin-top: 1em;
}
.enter .form .info .link{
    margin-right: 1em;
}

.update-user-block{
    display: none;
    position:fixed;
    width:30px; 
    height:30px; 
    background: #f00;     
    border: 1px solid #000; 
    box-sizing: border-box; 
    z-index:1; 
    align-items: center; 
    justify-content: center; 
    border-radius:50%;
}

.lk .top{
    border-bottom: 2px solid #000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1em;
    padding-left: calc(1em + 1px);
    box-sizing: border-box;
}
.lk .top .menu{
    cursor: pointer;
    color: #0000EE;
    margin-right: 3em;
}
.lk .top .user{
    margin: auto;
    margin-left: 0;
    display: flex;
    align-items: center;
}
.lk .top .select{
    margin-right: 3em;
    width: 13em;
}
.lk .top .on-off-edit{
    margin-right: 1em;
    cursor: pointer;
}
.lk .top .user .bi-person{
    margin-right: 0.3em;
    width: 25px;
    height: 25px;
}
.lk .top .user .user-name{
    margin-left: 0.5em;
}
.lk .top .add-order{
    margin: auto;
    margin-left: 0;
    margin-right: 3em;
    border: 2px solid #0000EE;
    display: flex;
    align-items: center;
    padding: 0.4em;
    padding-left: 0.5em;
    padding-right: 1em;
    font-size: 1.3em;
    background: #fff;
    color: #0000EE;
    cursor: pointer;
}
.lk .top .add-order .bi-plus-lg{
    margin-right: 0.5em;
}
.lk .top .add-order .span{
    font-size: 1em;
}
.lk .top .link{
    display: flex;
    align-items: center;
    margin: auto;
    margin-right: 0;
}
.lk .top .link .span{
    margin-right: 0.5em;
}
.lk .list{
    display: flex;
}
.lk .list .left{
    display: none;
    border: 2px solid #000;
    margin-top: 1px;
    margin-left: 1px;
    padding: 1em;
    background: #fff;
    box-sizing: border-box;
    position: absolute;
    z-index: 1;
}
.lk .list .left .menu-id{
    margin-top: 1.5em;
    margin-bottom: 1.5em;
    color: #0000EE;
    cursor: pointer;
}
.lk .list .left .menu-id:hover{
    color:#000;
}

.lk .list .center{
    padding: 1em;
    width: 100%;
    box-sizing: border-box;
}

.lk .list .center .hleb{
    font-size: 1em;
    margin-bottom: 1em;
    display: flex;
    align-items: center;
}
.lk .list .center .hleb .bi{
    margin-left: 0.3em;
    margin-right: 0.3em;
}

.lk .list .center .show-element{
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-bottom: 0.5em;
    padding: 0.5em;
    flex-wrap: wrap;
}
.lk .list .center .show-element .label{
    display: flex;
    align-items: center;
    margin: 0;
    margin-left: 1em;
}
.lk .list .center .show-element .label .checkbox{
    margin-left: 0.5em;
    margin-right: 0.3em;
}


.lk .list .center .filter-top{
    display: flex;
    margin-bottom: -2px;
    overflow: auto;
    overflow-y: hidden;
}

.lk .list .center .filter-top .filter-id{
    padding: 0.5em;
    border: 2px solid #000;
    border-bottom: 0;
    text-align: center;
    border-radius: 0.3em 0.3em 0 0;
    margin-right: 2px;
    margin-left: 2px;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    padding-left: 1em;
    padding-right: 1em;
    white-space: nowrap;
    box-sizing: border-box;
    height: 3em;
}

.lk .list .center .filter-top .filter-id-action{
    background: #fff;
}

.lk .list .center .filter-top .filter-id-start{
    padding: 0.5em;
}

.lk .list .center .filter-top .filter-id .bi{
    margin-left: 0.5em;
    color: #0000EE;
}

.lk .list .center .filter-top .filter-id-start .bi{
    margin: auto;
}

.lk .list .center .filter-top .filter-id .input-filter-id{
    padding-left: 0.3em;
    height: 2em;
    border: 2px solid #ccc;
}

.lk .list .center .filter{
    display: flex;
    margin-bottom: 1em;
    padding: 1em;
    background: #fff;
    border: 2px solid #000;
    flex-wrap: wrap;
}

.lk .list .center .filter .label{
    margin: 0;
    margin-right: 0.5em;
}

.lk .list .center .filter .filter-action{
    display: flex;
    margin-top: 2em;
    width: 100%;
    align-items: center;
    flex-wrap: wrap;
}

.lk .list .center .filter .filter-action .filter-save{
    margin-right: 1.5em;
    border: 2px solid #000;
    padding: 1em;
    background: #ccc;
    text-align: center;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    font-weight: 800;
    cursor: pointer;
}
.lk .list .center .filter .filter-action .filter-save .bi{
    margin-right: 0.5em;
}

.lk .list .center .filter .filter-action .filter-save:hover{
    background: #eee;
}

.lk .list .center .filter .filter-action .filter-sett{
    margin: auto;
    margin-right: 0;
    color: #0000EE;
    cursor: pointer;
    margin-left: 3em;
}

.lk .list .center .filter .filter-action .link{
    margin: auto;
    margin-left: 0;
}

.lk .list .center .filter .filter-action .filter-map{
    margin: auto;
    margin-right: 0;
}

.lk .list .center .calendar{
    background: #fff;
    border: 2px solid #000;
    padding: 1em;
    margin-bottom: 1em;
}
.lk .list .center .calendar .calendar-top{
    text-align: right;
    margin-bottom: 0.7em;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.lk .list .center .calendar .calendar-top .span{
    margin: auto;
}

.lk .list .center .calendar .calendar-top .name-calendar{
    font-weight: 600;
}

.lk .list .center .calendar .calendar-top .link{
    margin: auto;
    margin-right: 1em;
    margin-left: 0;
}
.lk .list .center .calendar .calendar-top .calendar-sett{
    color: #0000EE;
}
.lk .list .center .calendar .calendar-top .calendar-sett .bi{
    width: 1.5em;
    height: 1.5em;
}
.lk .list .center .calendar .calendar-center{
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.lk .list .center .calendar .calendar-center .span{
    font-weight: 600;
    background: #ccc;
    width: 1.5em;
    display: inline-flex;
    height: 1.5em;
    text-align: center;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 1em;
    border: 1px solid #000;
    margin-left: 0.3em;
}

.lk .list .center .calendar .calendar-center .calendar-week{
    display: flex;
    width: 100%;
    justify-content: space-around;
}

.lk .list .center .calendar .calendar-center .calendar-week .day{
    cursor: pointer;
}

.lk .list .center .calendar .calendar-center .calendar-week .action{
    font-weight: 600;
}

.lk .list .center .calendar .calendar-center .right-str{
    transform: rotate(180deg);
}

.lk .list .center .scroll{
    width: 100%;
    overflow: auto;
}

.lk .list .center .sett-result{
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.lk .list .center .sett-result .show-element{
    margin-left: 0.5em;
}
.lk .list .center .sett-result .bi{
    width: 1.5em;
    height: 1.5em;
    color: #0000EE;
}

.lk .list .center .result{
    margin-bottom: 1em;
    display: table;
    width: 100%;
    background: #fff;
    padding: 1em;
    box-sizing: border-box;
}
.lk .list .center .result .tr{
    display: table-row;
}
.lk .list .center .result .tr .td{
    display: table-cell;
    border-bottom: 1px solid #ccc;
    padding: 0.2em;
    font-size: 0.9em;
}

.lk .list .center .result .tr .up-position{
    white-space: nowrap;
    padding: 0;
}

.lk .list .center .result .tr:hover{
    cursor: pointer;
    background: #eee;
}

.lk .list .center .result .tr:hover .text-underline{
    text-decoration: underline;
}

/* .lk .list .center .result .tr .text-underline:hover{
    cursor: pointer;
    text-decoration: underline;
} */

.lk .list .center .result .tr .th{
    display: table-cell;
    border-bottom: 2px solid #ccc;
    border-top: 1px solid #ccc;
    background: #eee;
    padding: 0.2em;
    font-size: 1em;
    font-weight: 300;
    color: #0000EE;
    vertical-align: middle;
}

.lk .list .center .result .tr .th .span{
    display: flex;
    align-items: center;
}

.lk .list .center .result .tr .last{
    text-align: right;
}
.lk .list .center .result .tr .th .bi-gear{
    width: 1em;
    height: 1em;
}


.lk .list .center .pg{
    display: flex;
    margin-top: 1em;
    background: #fff;
    padding: 1em;
    padding-bottom: 0;
    align-items: center;
}
.lk .list .center .pg .pg-page{
    margin: auto;
    margin-right: 0;
    display: flex;
    align-items: center;
}
.lk .list .center .pg .pg-page .span{
    min-width: 0.5em;
    text-align: center;
    cursor: pointer;
    margin-left: 0.25em;
    margin-right: 0.25em;
}
.lk .list .center .pg .pg-limit{
    margin: auto;
    margin-right: 0;
    margin-left: 3em;
    display: flex;
    align-items: center;
}
.lk .list .center .pg .pg-limit .span{
    padding: 0.1em;
    margin-right: 0.5em;
    cursor: pointer;
    border-radius: 50%;
    width: 1.5em;
    height: 1.5em;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8em;
}
.lk .list .center .pg .pg-limit .action{
    background: #ccc;
    border: 1px solid #000;
}


.lk .list .center .result-guide{
    display: flex;
    flex-wrap: wrap;
}

.lk .list .center .result-guide .guide-id{
    padding: 1em;
    border: 1px solid #000;
    margin-right: 1em;
    margin-bottom: 1em;
}

.lk .list .center .result-guide .guide-top{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5em;
}

.lk .list .center .result-guide .guide-top .span{
    font-weight: 700;
    font-size: 1.2em;
    margin-right: 1em;
}

.lk .list .center .result-guide .guide-id .guide-action{
    display: flex;
    align-items: center;
}

.lk .list .center .result-guide .guide-id .guide-icon{
    margin-left: 0.5em;
}

.lk .list .center .result-guide .guide-list .guide-list-id{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.3em;
}

.lk .list .center .result-guide .guide-list .guide-list-id .guide-right{
    display: flex;
    align-items: center;
}

.lk .list .center .result-guide .guide-list .guide-list-id .span{
    max-width: 20em;
    overflow: hidden;
    white-space: nowrap;
}

.lk .list .center .result-guide .icon{
    margin-left: 1em;
}


.setting-api-list{
    display: flex;
    align-items: baseline;
}
.setting-api-list .setting-api{
    background: #fff;
    width: 25em;
    padding: 1em;
    border: 1px solid #ccc;
    margin-bottom: 1em;
    margin-right: 1em;
}





.popap{
    display: none;
    background: #000000bd;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
}
.popap .popap-rez{
    margin: auto;
    width: 45em;
    height: 30em;
    background: #fff;
    padding: 1em;
   
}
.popap .popap-rez .close{
    text-align: right;
    cursor: pointer;
}


.popap .popap-rez .data{
    overflow: auto;
    max-height: calc(100% - 9em);
    margin-top: 1em;
    padding: 1em;
    background: #eee;
}
.popap .popap-rez .data .line{
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    cursor: pointer;
    padding-bottom: 0.4em;
    margin-bottom: 0.4em;
    border-bottom: 1px solid #ccc;
}

.popap .popap-rez .data .line .label{
    max-width: 9em;
}
.popap .popap-rez .data .line .span{
    margin: auto;
    margin-left: 0;
}
.popap .popap-rez .data .line .checkbox{
    margin-left: 1.5em;
}
.popap .popap-rez .data .line .dw{
    transform: rotate(180deg);
    margin-left: 0.5em;
}

.popap .popap-rez .data .line .use-for-filter{
    display: flex;
    align-items: center;
}
.popap .popap-rez .data .line .use-for-filter .checkbox{
    margin: 0;
    margin-right: 0.5em;
}
.popap .popap-rez .data .line .use-for-filter .span{
    max-width: 7em;
}


.popap .guide{
    height: auto;
    max-height: none;
    width: 30em;
}


.popap .seeting-list{
    /* width: 25em;
    height: 45em; */
}

/* .product-add */

.popap .product-add{
    height: auto;
}
.popap .product-add .one-product{
    display: flex;
    flex-wrap: wrap;
}
.popap .product-add .one-product .label{
    width: 25%;
}
.popap .product-add .one-product .w-60{
    width: 60%;
}   
.popap .product-add .one-product .w-20{
    width: 20%;
}
.popap .product-add .one-product .w-33{
    width: 33.33%;
}
.popap .product-add .one-product .w-67{
    width: 66.6%;
}
.popap .product-add .one-product .select{
    min-height: 2.8em;
    box-sizing: border-box;
    width: 100%;
    font-weight: 700;
}
.popap .product-add .one-product .select .span{
    font-weight: 700;
}
.popap .product-add .product-add-line{
    display: flex;
    margin-bottom: 1em;
}
.popap .product-add .product-add-line .link{
    width: 50%;
    padding: 1em;
    box-sizing: border-box;
    border: 2px solid #000;
    text-align: center;
}
.popap .product-add .product-add-line .link:hover{
    background: #ccc;
}

/* end .product-add */

.popap .calendar{
    height: auto;
}
.popap .calendar .data{
    display: flex;
    flex-wrap: wrap;
    max-height: none;
}
.popap .calendar .data .hr{
    width: 100%;
}
.popap .calendar .data .day{
    width: calc(100% / 7);
    padding: 1em;
    box-sizing: border-box;
    text-align: center;
    display: flex;
    cursor: pointer;
    justify-content: center;
}

.popap .calendar .data .day:hover .day-itg{
    text-decoration: underline;
}

.popap .calendar .data .day .day-action{
    font-weight: 600;
    outline: 1px solid #000;
    box-sizing: border-box;
    border-radius: 50%;
    background: #fff;
    width: 1.5em;
}

.popap .calendar .data .day .span{
    border: 1px solid #000;
    border-radius: 50%;
    width: 1.5em;
    height: 1.5em;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ccc;
    position: absolute;
    margin-left: 2.3em;
    margin-top: -1.2em;
    font-size: 0.9em;
    font-weight: 600;
}

.popap .calendar .calendar-change{
    width: 50%;
    margin: auto;
    display: flex;
    justify-content: space-between;
}
.popap .calendar .calendar-change .right-str{
    transform: rotate(180deg);
}

.popap .setting-list .data, .popap .setting-filter .data{
    max-height: calc(100% - 9em);
}



.popap .order{
    width: calc(100% - 10em);
    height: auto;
}
.popap .order .label{
    margin: 0;
}

.popap .order .data{
    display: flex;
    max-height: calc(100% - 14em);
}
.popap .order .data-left{
    width: 75%;
}
.popap .order .data .tab{
    box-sizing: border-box;
    padding-bottom: 0.5em;
}
.popap .order .data .tab .tab{
    display: flex;
    flex-wrap: wrap;
    border: 1px solid #000;
    padding: 0.35em;
    margin-top: 1px;
    background: #ccc;
    align-items: flex-end;
}

.popap .order .data .tab .product-list{
    display: block;
    padding: 1em;
}

.popap .order .data .tab .product-list .order-product-result{
    margin-bottom: 1em;
    margin-top: 1em;
    display: table;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #000;
    border-bottom: 0;
}
.popap .order .data .tab .product-list .order-product-result .tr{
    display: table-row;
}
.popap .order .data .tab .product-list .order-product-result .tr .td{
    display: table-cell;
    border-bottom: 1px solid #000;
    padding: 0.3em;
    background: #fff;
}
.popap .order .data .tab .product-list .order-product-result .tr .td .price{
    display: flex;
    align-items: center;
}
.popap .order .data .tab .product-list .order-product-result .tr .td .price .input{
    margin-left: 0.5em;
}

.popap .order .data .tab .product-list .order-product-result .tr .td .in-product{
    min-height: 2em;
    margin: 0;
}

.popap .order .data .tab .product-list .add-product{
    border: 1px solid #0000EE;
    padding: 0.5em;
    width: 8em;
    background: #eee;
    cursor: pointer;
    text-align: center;
    display: flex;
    align-items: center;
    color: #0000EE;
    justify-content: start;
}
.popap .order .data .tab .product-list .add-product .bi{
    margin-right: 0.5em;
}

.popap .order .data .tab .rez .label{
    width: 21em;
}

.popap .order .data .tab .tab-num{
    max-width: 10em;
    margin-right: 1em;
    display: inline-block;
    vertical-align: bottom;
}

.popap .order .data .tab-inline{
    display: inline-flex;
    align-items: flex-start;
}

.popap .order .data .tab .tab-num-addres{
    max-width: none;
}
.popap .order .data .tab .tab-num-addres .span-icon{
    margin-left: .5em;
    cursor: pointer;
}

.popap .order .data .address-client{
    display: inline-flex;
}

.popap .order .data .tab .product{
    width: 6em;
}
.popap .order .data .tab .product .label{
    font-size: 0.8em;
    display: flex;
    flex-direction: column;
}
.popap .order .data .tab .product .label .input{
    max-width: 5em;
}

.popap .order .data .tab .tab-max{
    max-width: none;
    width: 70%;
}
.popap .order .data .tab .tab-time{
    max-width: 13em;
}

.popap .order .data .tab .block-time{
    display: inline-block;
}
.popap .order .data .tab .block-time .time{
    width: 6em;
}
.popap .order .data .tab .tab-time .time{
    display: inline-block;
    margin-right: 0.5em;
}


.popap .order .data .order-file{
    padding: 0.5em;
    border: 1px solid #ccc;
    display: flex;
    flex-wrap: wrap;
}

.popap .order .data .order-file .span{
    font-size: 0.9em;
    margin: auto;
    margin-left: 1em;
    margin-right: -0.3em;
}

.popap .order .data .order-file .order-file-id{
    display: flex;
    align-items: flex-start;
}
.popap .order .data .order-file .order-file-id .order-file-trash{
    display: flex;
    flex-direction: column;
    margin-top: 0.5em;
}
.popap .order .data .order-file .order-file-id .order-file-trash .bi-trash{
    width: 1em;
    height: 1em;
}
.popap .order .data .order-file .order-file-id .order-file-trash .checkbox{
    display: none;
}

.popap .order .data .order-file .order-file-label{
    width: 2em;
    display: flex;
    height: 2em;
    background: #ccc;
    align-items: center;
    justify-content: center;
    margin: 0.5em;
    border: 2px solid #000;
    box-sizing: border-box;
    margin-right: 2px;
}
.popap .order .data .order-file .order-file-label .img{
    max-width: 100%;
    max-height: 100%;
}

.popap .order .data .order-tab-user{
    width: 100%;
}

.popap .order .data .order-tab{
    margin-bottom: 0.5em;
    margin-right: 0.5em;
}


.popap .order .select{
    width: 10em;
    margin-top: 0.2em;
    font-weight: 700;
    box-sizing: border-box;
}

.popap .order .select .span{
    max-width: 7em;
}

.popap .order .select .bi{
    transform: rotate(0);
}

.popap .order .data-right{
    width: calc(25% - 2em);
    padding: 1em;
    box-sizing: border-box;
    background: #fff;
    margin: 1em;
}

.popap .order .data-right .order-info{
    display: flex;
    margin-top: 1em;
    justify-content: space-between;
}

.popap .order .data-right .order-info .span{
    font-size: 0.8em;
    cursor: pointer;
    text-align: center;
}

.popap .order .data-right .order-info .span:hover{
    text-decoration: underline;
}


.popap .product{
    height: 85vh;
    overflow: auto;
    width: 75%;
}
.popap .product .data{
    display: table;
    width: 100%;
    box-sizing: border-box;
}
.popap .product .data .tr{
    display: table-row;
}
.popap .product .data .tr .td{
    display: table-cell;
    border-bottom: 1px solid #ccc;
    padding: 0.2em;
    font-size: 0.9em;
}
.popap .product .data .tr .th{
    display: table-cell;
    border-bottom: 2px solid #ccc;
    border-top: 2px solid #ccc;
    background: #eee;
    padding: 0.2em;
    font-size: 1em;
    font-weight: 300;
    color: #0000EE;
    vertical-align: middle;
}


.popap .big-img{
    max-width: 45em;
    max-height: 35em;
    width: auto;
    height: auto;
}

.popap .big-img .img{
    max-width: 100%;
    max-height: 30em;
    margin-top: 1em;
}


.popap .client-info{
    width: 80%;
    height: auto;
}
.popap .client-info .data{
    height: 36em;
    max-height: none;
}
.popap .client-info .data .client-info-data{
    display: flex;
    flex-wrap: wrap;
}
.popap .client-info .data .client-info-data .client-data-line{
    margin: 0.2em;
    border: 1px solid #ccc;
    padding: 0.4em;
}
.popap .client-info .data .client-info-data .client-data-line .name{
    font-weight: 600;
}
.popap .client-info .data .client-info-menu{
    display: flex;
    margin-bottom: 1em;
    margin-top: 0.5em;
}
.popap .client-info .data .client-info-menu .client-info-link{
    margin: 0.2em;
    border: 2px solid #000;
    padding: 0.2em;
    border-radius: 0.3em;
    padding-left: 1em;
    padding-right: 1em;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    font-size: 1em;
}
.popap .client-info .data .client-info-menu .client-info-right{
    margin: auto;
    margin-right: 0;
}

.popap .client-info .data .client-info-menu .action{
    background: #fff;
}
.popap .client-info .data .client-info-result{
    padding: 0.5em;
    border: 2px solid #000;
    background: #fff;
    max-height: 25em;
    overflow: auto;
}



.popap .client-seach{
    width: 80%;
    height: auto;
}

.popap .client-seach .data{
    height: 36em;
    max-height: none;
}
.popap .client-seach .data .client-seach-result{
    max-height: 29em;
    overflow: auto;
    margin-top: 1em;
    background: #fff;
    padding: 1em;
    box-sizing: border-box;
}
.popap .client-seach .data .client-seach-result .client-seach-line{
    margin-bottom: 0.2em;
    padding-bottom: 0.2em;
    border-bottom: 1px solid #ccc;
    display: flex;
}
.popap .client-seach .data .client-seach-result .client-seach-id{
    width: 26%;
    font-size: 1em;
    margin-right: 1%;
}
.popap .client-seach .data .client-seach-result .client-seach-id-first{
    width: 6%;
}
.popap .client-seach .data .client-seach-result .client-seach-id-last{
    text-align: right;
    width: 10%;
}
.popap .client-seach .data .client-seach-title{
    font-weight: 600;
    padding-bottom: 0;
    padding-top: 0;
    background: none;
    display: flex;
}


.popap .client-edit{
    width: 56em;
    height: auto;
}
.popap .client-edit .data{
    max-height: 35em;
}
.popap .client-edit .data .data-top{
    display: flex;
    flex-wrap: wrap;
}

.popap .client-edit .data .data-top .data-type-client{
    display: flex;
    flex-wrap: wrap;
}

.popap .client-edit .data .data-top .data-type-client .input{
    width: 12em;
    margin-right: 1em;
}

.popap .client-edit .data .data-top .label{
    width: 12em;
    margin-right: 1em;
}
.popap .client-edit .data .data-top .label .select{
    width: 100%;
    font-weight: 700;
    margin-top: 0.2em;
    padding: 0.4em;
    background: #ccc;
}
.popap .client-edit .data .data-bot{
    display: flex;
    align-items: baseline;
    justify-content: space-around;
    margin-top: 1em;
    margin-bottom: 1em;
}
.popap .client-edit .data .data-bot .client-kontakt{
    width: 30%;
}





.popap .history-order{
    height: 85vh;
}
.popap .history-order .data{
    height: 75vh;
    max-height:none;
}
.popap .history-order .data .line-history, .popap .order-pay .data .line-history{
    display: flex;
    align-items: center;
    margin-bottom: 0.3em;
}
.popap .history-order .data .title, .popap .order-pay .data .title{
    margin-top: 0.5em;
    font-size: 0.9em;
    font-weight: 600;
}

.popap .history-order .data .line-history .key{
    width: 10em;
    font-size: 0.9em;
}
.popap .history-order .data .line-history .from{
    max-width: 35%;
    font-size: 0.9em;
    word-break: break-all;
}
.popap .history-order .data .line-history .to{
    max-width: 55%;
    font-size: 0.9em;
    word-break: break-all;
}

.popap .order-pay-action{
    display: flex;
    align-items: end;
    justify-content: center;
}
.popap .order-pay-action .label{
    display: flex;
    flex-direction: column;
    margin-right: 1em;
}
.popap .order-pay-action .input{
    max-width: 10em;
}
.popap .order-pay-action .submit{
    max-width: 10em;
}

.popap .setting-calendar{
    height: auto;
    width: 35em;
}
.popap .popap-audio{
    width: auto;
    height: auto;
}
.popap .popap-audio .close{
    margin-bottom: 0.5em;
}

.popap .docs{
    height: auto;
}

.sett-company{
    display: flex;
    justify-content: space-between;
}
.sett-company .setting-company-form{
    width: 20em;
}
.sett-company .setting-company-form .label{
    margin: 0;
}
.sett-company .setting-company{
    width: calc((100% - 22em) / 2);
}
.sett-company .setting-company .textarea{
    height: 35.8em;
}

.popap .popap-map {
    width: 70%;
    height: auto;
}

.popap .popap-map .map{
    width: 100%;
    height: 70vh;
}

.avito{
    position: fixed;
    bottom: 1em;
    left: 1em;
    width: 4em;
    height: 4em;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eee;
    border-radius: 50%;
    padding: 0.5em;
    box-sizing: border-box;
    border: 1px solid #000;
}

.avito .push{
    position: absolute;
    margin-left: 3em;
    margin-top: -3em;
    width: 1.5em;
    background: #ccc;
    height: 1.5em;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid #000;
}

.avito .avito-icon{
    cursor: pointer;
}

.avito .avito-chats .avito-chats-res{
    height: calc(90vh - 30px);
    overflow: auto;
    width: 20em;
}

.avito .avito-chats .avito-chats-id{
    margin-bottom: 1px;
    border: 1px solid #ccc;
    padding: 0.5em;
    background: #fff;
}

.avito .avito-chats .avito-chats-id:hover{
    border: 1px solid #000;
}

.avito .avito-chats .avito-chats-id .date{
    font-size: 0.8em;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
}
.avito .avito-chats .avito-chats-id .date .span{
    font-size: 0.9em;
    font-weight: 600;
    cursor: pointer;
}
.avito .avito-chats .avito-chats-id .date .span:hover{
    text-decoration: underline;
}
.avito .avito-chats .avito-chats-id .date .red{
    color: #f00;
    font-weight: 800;
}
.avito .avito-chats .avito-chats-id .from-to{
    font-size: 0.8em;
    display: flex;
    align-items: center;
}

.avito .avito-chats .avito-chats-id .from-to .name-user{
    max-width: 8em;
    overflow: hidden;
    white-space: nowrap;
    font-size: 1em;
}

.avito .avito-chats .avito-chats-id .from-to .span{
    font-size: 0.9em;
    font-weight: 600;
    margin: auto;
    margin-right: 0;
    cursor: pointer;
}
.avito .avito-chats .avito-chats-id .from-to .span:hover{
    text-decoration: underline;
}
.avito .avito-chats .avito-chats-id .mess{
    padding-top: 0.2em;
    padding-bottom: 0.2em;
    font-weight: 600;
    font-size: 0.9em;
    cursor: pointer;
    word-break: break-all;
    max-height: 1.4em;
    overflow: hidden;
}
.avito .avito-chats .avito-chats-id .mess:hover{
    text-decoration: underline;
}

.avito .mess-id{
    background: #fff;
    box-sizing: border-box;
}
.avito .mess-id .mess-res{
    width: 20em;
    height: calc(90vh - 120px);
    padding: 1em;
    box-sizing: border-box;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column-reverse;
}
.avito .mess-id .mess-res .mess-id{
    padding: 0.5em;
    border: 1px solid #ccc;
    margin-bottom: 1px;
    background: #eee;
}

.avito .mess-id .mess-res .alfa{
    background: #fff;
}

.avito .mess-id .mess-res .mess-id .mess-date{
    font-size: 0.8em;
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.2em;
}
.avito .mess-id .mess-res .mess-id .mess-text{
    font-size: 0.9em;
    font-weight: 600;
    word-break: break-word;
}

.avito .mess-id .mess-push .mess-push-action{
    padding: 0.5em;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1em;
}

.avito .mess-id .mess-push .mess-push-action .span{
    font-size: 0.9em;
    font-weight: 600;
}

.avito .mess-id .mess-push .mess-push-action .span:hover{
    cursor: pointer;
    text-decoration: underline;
}

.avito .close{
    text-align: right;
    background: #eee;
    cursor: pointer;
}
.avito .close .bi{
    width: 20px;
}


.avito-template .avito-template-add{
    display: flex;
    align-items: center;
}
.avito-template .avito-template-add .input{
    width: calc(100% - 15em);
    margin: 0;
    margin-right: 1em;
}
.avito-template .avito-template-add .submit{
    margin: 0;
}

.avito-template .avito-template-result{
    max-height: 23em;
    overflow: auto;
    margin-top: 1em;
}

.avito-template .avito-template-list{
    display: flex;
    align-items: flex-start;
    padding: 0.5em;
}
.avito-template .avito-template-list:hover{
    background: #eee;
}
.avito-template .avito-template-list .id{
    margin-right: 1em;
}
.avito-template .avito-template-list .action{
    margin: auto;
    margin-right: 1em;
    margin-top: 0;
}
.avito-template .avito-template-list .text{
    font-weight: 700;
    margin-right: 1em;
}

.tele2{
    position: fixed;
    bottom: 1em;
    right: 1em;
    width: 4em;
    height: 4em;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eee;
    border-radius: 50%;
    padding: 0.5em;
    box-sizing: border-box;
    border: 1px solid #000;
}
.tele2 .tele2-icon{
    cursor: pointer;
}
.tele2 .phone-res{
    width: 22em;
}
.tele2 .phone-res .close{
    text-align: right;
    background: #eee;
    cursor: pointer;
    height: 30px;
}
.tele2 .phone-res .close .bi{
    width: 20px;
}
.tele2 .phone-res .phone-list{
    display: flex;
    flex-direction: column-reverse;
}
.tele2 .phone-res .phone-id{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.2em;
}
.tele2 .phone-res .phone-id .span{
    font-size: 0.8em;
}
.tele2 .phone-res .phone-id .from-to{
    display: flex;
    align-items: center;
    width: 12em;
}
.tele2 .phone-res .bi-arrow-right-short{
    width: 1em;
    height: 1em;
}

.tele2 .phone-res .bi-play-circle{
    width: 1em;
    height: 1em;
}

.tele2 .phone-res .phone-id .duration{
    width: 3em;
}

.tele2 .phone-res .phone-id .phone-file{
    margin-left: 0.2em;
    margin-right: 0.2em;
    width: 1em;
}

.call{
    display: none; 
    align-items: center; 
    justify-content: center;
    position: fixed;
    width: auto;
    color:#fff;
    right: 1em;
    top: 1em;
    border-radius: 0.5em;
    cursor: pointer;
    text-align: right;
    flex-direction: column;
    align-items: end;
}
.call .call_id{
    padding: 5px;
    border: 1px solid #fff;
    cursor: pointer;
    margin-bottom: 1px;
    border: 1px solid #000;
}
.call .call_id:hover{
    text-decoration: underline;
}











@media (max-width: 1000px) {

    *{
        font-size: 12px;
    }

    .lk .top .user .user-name{
        max-width: 75%;
    }

    .enter{
        width: 90%;
    }

    .popap .order .data .tab-inline{
        display: flex;
        flex-wrap: wrap;
    }


    .popap .order .data-right{
        display: none;
    }

    .popap .order .data-left{
        width: 100%;
    }


    .popap .order .data .tab .product{
        width: 16.64%;
    }

    .popap .order .data .tab .tab-num{
        max-width: 9em;
        margin-right: 0.5em;
    }

    .popap .order .select{
        width: 9em;
    }

    .popap .order .data .tab .block-time .time{
        width: 4em;
    }

    .popap .order .data .tab .tab-num-addres{
        max-width: none;
        width: 13em;
    }

    .popap .order .data .tab .tab-num-addres .span-icon{
        margin-left: 0.5em;
    }

    .popap .order .data .address-client{
        display: flex;
        flex-wrap: wrap;
    }

    .popap .order .data .tab .comment{
        width: 25em;
        max-width: none;
    }

}


@media (max-width: 600px) {

    .lk .top{
        flex-wrap: wrap;
    }

    .lk .top .menu{
        margin-right: 2em;
    }

    .lk .top .user{
        max-width: 85%;
        display: none;
    }
    
    .lk .top .company{
        display: none;
    }

    .lk .top .add-order{
        padding: 0.2em;
        margin-right: auto;
    }
    .lk .top .add-order .bi-plus-lg{
        margin: 0;
    }
    .lk .top .add-order .span{
        display: none;
    }

    

    .lk .list .center .show-element .label{
        font-size: 0.8em;
    }
    .lk .list .center .show-element .label .checkbox{
        width: 1.3em;
        height: 1.3em;
    }

    .lk .list .center .calendar .calendar-top .name-calendar{
        display: none;
    }
    .lk .list .center .calendar .calendar-center .calendar-week{
        width: 100%;
    }
    .lk .list .center .calendar .calendar-center .right-str{
        display: none;
    }
    .lk .list .center .calendar .calendar-center .left-str{
        display: none;
    }
    .lk .list .center .calendar .calendar-center .calendar-week .day{
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 12%;
    }

    
    .popap .order{
        width: 90%;
    }
    .popap .popap-rez{
        max-width: 90%;
        height: auto;
        max-height: 95vh;
    }

    .popap .setting-list .data, .popap .setting-filter .data{
        max-height: calc(88vh - 9em);
    }

    .popap .order .data{
        max-height: calc(98vh - 14em);
        padding: 0.5em;
    }

    .popap .order .data .order-file .order-file-label{
        width: 4em;
        height: 4em;
    }
    .popap .order .data .order-file .order-file-id .order-file-trash .bi-trash{
        width: 1.2em;
        height: 1.2em;
    }

    .lk .list .center .filter .select{
        width: 8em;
    }

    .lk .list .center .filter .filter-action .filter-save .span{
        display: none;
    }

    .lk .list .center .filter .filter-action .filter-save .bi{
        margin: 0;
    }

    .lk .list .center .filter .filter-action .filter-sett{
        margin-left: 2em;
    }

    .popap .order .data .tab .tab{
        margin-top: 0.1em;
        margin-right: 0.1em;
    }

    .popap .order .data .tab{
        padding-bottom: 0;
    }


    .avito .mess-id{
        margin: auto;
        margin-bottom: 0;
        margin-left: -20em;
        border: 2px solid #000;
        box-sizing: border-box;
        padding: 0.5em;
    }

    .avito .mess-id .mess-res .mess-id{
        margin: 0;
        margin-bottom: 1px;
    }


    .avito .avito-icon .bi-chat-right-text, .tele2 .tele2-icon .bi-phone-vibrate{
        width: 25px;
    }


}


@media (max-width: 400px) {
    *{
        font-size: 10.2px;
    } 
}