#headerLine4, #headerLine4, #subHeader7, .menuContainerColor, #breadcrumbs, .phone-btns {
    display: none!important;
}

#main {
    min-height: 98vh;
}

.limiter {
    padding-top: 15px;
}

.menu-panel {
    font-size: 16px;
    padding: 1em;
    flex-grow: 1;
    align-self: flex-start;
    border-radius: 10px;
    box-shadow: inset 0 0 10px 5px #00000026;
    margin: 0 10px 10px 15px;
}

.menu-panel a {
    transition: 0.2s;
}

.menu-panel a:hover {
    transform: scale(1.05);
}
.menu-panel a:active {
    transition: 0.001s;
    transform: scale(0.95);
}

.menu-panel div {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.menu-panel .just-btn {
    text-decoration: none;
    color: #000;
    margin: 3px 10px;
    border-radius: 7px;
    padding: 3px 7px;
    font-size: 14px;
    cursor: pointer;
}

.menu-panel .exitor {
    margin-left: auto;
}

#foundation {
    background-color: transparent!important;
}

#foundation:before {
    content: '';
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    background: url("/uploads/sky2.jpg");
    background-size: cover;
    z-index: -1;
    opacity: 0.45;
}

.table-orders {
    border-collapse: separate;
}

.table-orders td,
.table-orders th {
    padding: 3px 7px;
    border: 1px dotted #000;
    margin: 2px;
    background-color: rgba(47, 34, 31, 0);
    color: #000000;
}

.row-t {
    position: relative;
    cursor: pointer;
}

.row-t:hover td {
    background-color: #fff;
    color: #000;
    /*font-weight: 800;*/
}

.sel:hover td {
    background-color: rgba(129, 162, 255, 0.31);
    color: #000;
}

.sel td {
    background-color: rgba(173, 174, 255, 0.26);
}

.micro-photo {
    display: inline-block;
    margin: 3px;
    position: relative;
}

.micro-photo .count {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 10px;
    background-color: #0089ff;
    color: #000000;
    border-radius: 50%;
    padding: 2px;
    bottom: 3px;
    width: 15px;
    height: 15px;
}

.menu-desk {
    font-size: 20px;
    /*background-color: #0a7ddd21;*/
    padding: 1em;
    flex-grow: 1;
    align-self: flex-start;
    margin-left: 10px;
    border-radius: 10px;
    box-shadow: inset 0 0 10px 5px rgba(0, 0, 0, 0.15);
    background-color: #0d0d0d0f;
}

.menu-desk input {
    background: none;
    display: inline-block;
    max-width: 180px;
    font-size: 20px;
    margin: 0 5px;
    padding: 5px 10px;
    outline: none;
    border: 1px solid rgba(0, 0, 0, 0.54);
}

.menu-desk select {
    background: none;
    display: inline-block;
    max-width: 250px;
    font-size: 20px;
    font-weight: 100;
    padding: 5px 10px;
    outline: none;
    border: 1px solid rgba(0, 0, 0, 0.54);
}

fieldset {
    margin: 10px 0;
    font-size: 16px;
}

.flex {
    justify-content: space-around;
}

input[type="submit"] {
    cursor: pointer;
    background: none!important;
}

input[type="submit"]:hover {
    background-color: #0a7ddd!important;
    color: orange;
    font-weight: 900;
}

.table-wrapper {
    height: calc(100vh - 100px);
    overflow-y: auto;
}

.table-wrapper-cost {
    margin-top: 1em;
    font-size: 16px;
    height: calc(100vh - 515px);
    padding: 15px 10px;
    /*display: none;*/
}

.table-wrapper-cost div {
    overflow-y: auto;
    height: 100%;
    padding-right: 7px;
}

.table-wrapper-cost table {
    width: 100%;
}

.table-wrapper-cost td {
    border: 1px dotted rgba(0, 0, 0, 0.35);
    padding: 2px 5px;
    position: relative;
}

#edt-text,
#edt-text-base-price,
#name-edt-text {
    position: absolute;
    left: 0;
    top: 0;
    min-width: calc(100% - 2px);
    width: calc(100% - 2px);
    height: calc(100% - 2px);
    display: inline-block;
    padding: 0;
    margin: 0;
    font-size: 16px;
    background-color: #fff;
}

.content {
    width: 100%;
    height: 100%;
}

.former {
    position: fixed;
    left: 10px;
    top: 5px;
    min-height: calc(100vh - 45px);
    max-width: calc(100vw - 20px);
    width: 49vw;
    z-index: 2;
    transform: translateX(-110%) scale(1);
    opacity: 1;
    padding: 10px;
    overflow: hidden;
}

.former header {
    position: relative;
    margin-bottom: 10px;
}

.former header:before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, #1c91e7, #1c91e700);

}

.former-opener {
    transform: translateX(0) scale(1);
}

.grid-layout {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 5px;
}

.grid-layout legend {
    background-color: rgba(28, 145, 231, 0.14);
    border-radius: 20px;
    padding: 3px 7px;
    border-top: 1px solid #000;
}

label {
    position: relative;
}

.abs-right-pos {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    right: -10px;
    width: 30px;
    height: 30px;
    top: 0;
    transform: translate(-50%, -50%);
    background-color: #69c7e6;
    border: 1px dotted #000;
    font-weight: 800;
    font-size: 12px;
    border-radius: 50%;
}

.segment {
    display: flex;
    justify-content: space-around;
    align-items: center;
    /*flex-wrap: wrap;*/
    background-color: rgba(28, 145, 231, 0.14);
    padding: 5px 10px;
    border-radius: 5px;
}

.segment label {
    display: flex;
    flex-direction: column;
    border: 1px dotted #000;
    border-radius: 5px;
    padding: 5px;
    margin: 2px;
}

button {
    cursor: pointer;
}

button:active {
    transform: scale(0.9);
}

input:focus,
select:focus {
    box-shadow: 0 0 2px 3px rgba(10, 125, 221, 0.2);
}

.disabled {
    opacity: 0.4;
    pointer-events: none;
    background-color: rgba(255, 0, 0, 0.16);
}

.disabled:active {
    transform: none!important;
}

.segment label input,
.segment label button,
.segment label select {
    border-radius: 6px;
    padding: 3px 7px;
    display: inline-block;
    max-width: 100%;
    width: 100%;
    outline: none;
    border: 1px solid rgba(0, 0, 0, 0.73);
}

.segment label:nth-child(3) {
    width: 80px;
}

/* Chrome, Safari, Edge, Opera */
.segment label input:nth-child(2)::-webkit-outer-spin-button,
.segment label input:nth-child(2)::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
.segment label input[type=number] {
    -moz-appearance: textfield;
}

.seg-1 {
    grid-column-start: 1;
    grid-column-end: 3;
}
.seg-2 {
    grid-column-start: 3;
    grid-column-end: 5;
}
.seg-3 {
    grid-column-start: 1;
    grid-column-end: 5;
}

fieldset.reset label {
    width: unset!important;
}

.menu-desk details summary {
    display: flex;
    align-items: center;
}

.printer-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    background: none;
    margin-left: auto;
    border: none;
    transition: 0.3s;
    cursor: pointer;
}

.printer-btn:hover {
    transform: scale(1.05);
}
.printer-btn:active {
    transition: 0.0001s;
    transform: scale(0.95);
}

.printer-btn img {
    display: inline-block;
    width: 25px;
    height: 25px;
    object-fit: cover;
}

@media all and (max-width: 1250px) {
    .seg-1 {
        grid-column-start: 1;
        grid-column-end: 5;
    }
    .seg-2 {
        grid-column-start: 1;
        grid-column-end: 5;
    }
}

@media all and (max-width: 880px) {
    .menu-desk fieldset div {
        display: flex;
        flex-direction: column;
    }

    div span {
        margin-top: 10px;
    }

    .one-date {
        padding-top: 10px;
        margin-top: 10px!important;
        border-top: 1px solid #000;
    }

    .main-container {
        flex-direction: column;
        font-size: 14px;
    }

    fieldset, .menu-desk select {
        font-size: 14px;
    }

    .table-orders tr td:nth-child(2),
    .table-orders tr td:nth-child(3),
    .table-orders tr th:nth-child(2),
    .table-orders tr th:nth-child(3) {
        display: none;
    }

    .main-container div:nth-child(2) {
        order: -1;
    }

    .menu-desk input {
        font-size: 16px;
    }

    .menu-desk fieldset:nth-child(2) {
        flex-direction: column;
    }

    .menu-desk fieldset:nth-child(2) input[type="submit"] {
        margin-top: 5px;
    }

    .table-wrapper {
        margin: 20px auto;
    }

    .menu-desk {
        margin-left: 0;
        background-color: #ffffffad;
    }

    div .menu-desk:nth-child(2) {
        min-height: 90vh;
    }

    .limiter .bx-auth-form {
        padding-top: 15px;
    }

    .cost-person {
        font-size: 20px;
        background-color: #ffffffad;
        padding: 1em;
        flex-grow: 1;
        align-self: flex-start;
        margin-top: 10px;
        border-radius: 10px;
        box-shadow: inset 0 0 10px 5px #00000026;
    }

    .menu-panel {
        margin: 10px 0;
        background-color: #ffffffad;
    }

    .former {
        width: calc(100% - 40px);
    }

    .back-fone-set {
        opacity: 0.3;
    }

}