body {
    margin: 0px;
    padding: 0px;
    FONT-FAMILY: sans-serif,verdana, arial, helvetica;
}

.w50 {
    width:40px!important;
}

/*

#3197ee

*/

/*
color:
    background: #5e6639;
    background: #EBEDDE;

    background: #FFAA77;
    background: #F5F7F0

*/

a:hover {
    color: #FFAA77;
}


.ui {
    font-size: 14px;
    height: auto;
}

.ui #header {
    background: #EBEDDE;
    height: 87px;
    border-bottom: 3px solid #5e6639;
    display:flex;
}

.ui #header #logo {
    height: 60px;
    width:90px;
    margin: 27px 40px 30px 40px;
    font-size: 28px;
    font-weight: 600;
}
.ui #header #logout {
    height: 50px;
    width: 100px;
    font-size: 10px;
    font-weight: 300;
    margin: 12px 18px 18px auto;    
    background: #EBEDEE;
    padding: 5px;
    border: 1px #fAd2a4 solid;
    border-radius: 15px;
    
    
}

.ui #header #logout .link {
    text-decoration: none;
    border-radius: 12px;
    color: #5e6639;
    background: white;
    border: 1px solid #BAC294;
    padding: 2.0px 8px 3px 8px;
    margin: 4px 0px 0px 0px;
    
    /*color: white;*/
}

.ui #header #logout .link:hover {
    color: #FFAA77;
    background: white;
    border: 1px solid #FFAA77;
}


.ui #header #logout .button {
    font-size: 12px;
    color: #5e6639;
    border: 1px solid #5e6639;
    padding: 4.5px 9px 5px 9px;
    border-radius: 12px;
    cursor: pointer;
    text-decoration: none;
    background: white;
}

.ui #header #logout .button:hover {
    color: #FFAA77;
    border-color: #FFAA77;
}
    


.ui #content {
    display: flex;
    flex-direction: row;
    /*height: calc(100% - 90px);*/
    height: auto;
    width: 100%;
}

.ui #left {
    background: #Fafafa;
    width:200px;
    height: 100%;
}

.ui #right {
    /*background: #F0f0f0;*/
    width:calc(100% - 200px);
    height: 100%;
}


.ui .mask {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    max-height: 100%;
    opacity: 0.5;
    background-color: gray;
    z-index: 1;
    display:none;
}

.login {
    margin: 150px auto 0px auto;
    border: 1px solid #5e6639;
}

.login .header {
    background: #5e6639;
    color: white;
    padding: 5px 10px;
    font-size: 13px;
    font-weight: 500;
    /*border-radius: 5px 5px 0px 0px;*/
}

.login .label {
    color: #5e6639;
    text-decoration: none;
    font-size: 13px;
    padding: 3px 5px 3px 20px;
    text-align: right;
}

.login .item {
    color: #5e6639;
    text-decoration: none;
    font-size: 13px;
    padding: 3px 20px 3px 0px;
}

.login .item input {
    width: 150px;
    /*border: 1px #5e6639 solid;*/
    border: 1px #BAC294 solid;
    height: 22px;
    padding: 5px;
}

.login .button {
    font-size: 12px;
    color:#5e6639;
    border: 1px solid #5e6639;
    padding: 8px 11px 8px 11px;
    border-radius: 15px;
    margin-left: 5px;
    cursor: pointer;
    text-decoration: none;
}

.login .button:hover {
    color: #FFAA77;
    border-color: #FFAA77;
}

.login .submit {
    color: white;
    background: #5e6639;
}

.login .submit:hover {
    color: #5e6639;
    background: white ;
    border-color: #5e6639;
}

.login .button-back {
    font-size: 12px;
    color: #5e6639;
    border: 1px solid #5e6639;
    padding: 5.5px 9px 6px 9px;
    border-radius: 12px;
    margin-left: 5px;
    cursor: pointer;
    text-decoration: none;
}

.login .button-back:hover {
    color: #FFAA77;
    border-color: #FFAA77;
}


.menu {
    border: 1px solid #5e6639;
    margin: 15px;
    /*border-radius: 5px;*/
}

.menu .header {
    background: #5e6639;
    color: white;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 500;
    /*border-radius: 5px 5px 0px 0px;*/
}

.menu .content ul {
    margin: 9px;
    padding: 0px 0px 2px 20px;
    list-style: square;
}

.menu .content ul li {
    padding:2px 0px 3px 0px;
    width: 100%;
}

.menu .content ul li a {
    color: #5e6639;
    text-decoration: none;
    font-size: 13px;
    width: 100%;
    /*display: block;*/
    display: flex;
}

.menu .content ul li a:hover {
    color: #FFAA77;
}

.menu .content ul li .num {
    background: #5e6639;
    color: white;
    font-size: 9px;
    border-radius: 10px;
    padding: 2.5px 5.5px 2px 5px;
    margin-left: 7px;

}
.menu .content ul li a:hover span {
    background: #FFAA77;
    color: white;
}

.dashboards {

    width: 1000px;
    height: 315px;
    display: float;
    /*flex-direction: column;
    flex-wrap: wrap;*/
    /*margin: 15px 15px 0px 0px;*/

}

.dashboards .box {
    /*width: 220px;
    height: 150px;*/
    margin: 15px 15px 0px 0px;
    border: 1px solid #5e6639;
    float: left;
}

.dashboards .box .inside {
    /*margin:15px 15px 0px 0px;*/
    border: 1px solid #5e6639;
}

.dashboards .box .header {
    margin: 12px 0px 0px 15px;
    display: flex;
    flex-direction: row;
    font-size: 13px;
    line-height: 20px;
}

.dashboards .box .header .title {
    font-weight: 600;
}

.dashboards .box .header .icon {
    margin-left: auto;
    margin-right: 5px;
}

.dashboards .box .header .icon:hover {
    color: #FFAA77;
    fill: #FFAA77;
}

.dashboards .box:nth-child(1)
{
    flex: 0 1 100%;
}

.dashboards .box:nth-child(2),
.dashboards .box:nth-child(3),
.dashboards .box:nth-child(4)
{
    flex: 0 1 50%;
}


.custom_orders .menu {
    font-size: 10px;
    border-width: 0px;
    margin: 0px;
    padding: 13px 15px 0px 15px;
}

.custom_orders ul {
    list-style: none;
    margin: 0px;
    padding: 6px 15px 0px 15px;
}
.custom_orders li {
    font-size: 13px;
    width: 100%;
    padding: 4px 1px;
    border-bottom: 1px solid #EBEDDE;
    FONT-FAMILY: sans-serif,verdana, arial, helvetica;
    display: flex;
}

.custom_orders a {
    text-decoration: none;
    color: #5e6639;
}

.custom_orders a:hover {
    color: #FFAA77;
}

.custom_orders a {

}

.custom_orders li .num {
    margin-left: auto;
    margin-right: 0px;
    font-weight: 600;
}

.custom_orders li:last-child {
    border-bottom-width: 0px;
}


.frame {
    margin: 15px 15px 20px 0px;
    border: 1px solid #5e6639;
    width: 500px;
    height: 530px;
    /*    background: #F5F7F0;*/
    padding: 15px;
    font-size: 13px;
    display: flex;
    flex-flow: column;

}

.frame .title {
    font-weight: 600;
    font-size: 14px;
    width: 100%;
}

.frame .breadcrumb {
    padding: 5px 0px 7px 0px;
    display: flex;
    font-size: 11px;
    /*    border-bottom: 1px solid #5e6639;*/
    width: 100%;
}

.frame .breadcrumb a {
    color: #5e6639;
    text-decoration: none;
}

.frame .breadcrumb a:hover {
    color: #FFAA77;
}

.frame .breadcrumb span {
    color: #5e6639;
}



.frame .content {
    width: 100%;
    height: 100%;
}

.frame .content.visible {
    display: block;
}

.frame .content.hidden {
    display: none;
}


.frame .buttons {
    margin-top: 15px;
    width: 100%;
    display: flex;
    align-items:  flex-end;
    justify-content: right;
    /*background: white;*/
}

.frame .buttons button {
    font-size: 12px;
    color:#5e6639;
    border: 1px solid #5e6639;
    padding: 5.5px 9px 6px 9px;
    border-radius: 12px;
    margin-left: 5px;
    cursor: pointer;
}

.frame .buttons button:hover {
    color: #FFAA77;
    border-color: #FFAA77;
}

.frame .buttons .submit {
    color: white;
    background: #5e6639;
}

.frame .buttons .submit:hover {
    color: #5e6639;
    background: white ;
    border-color: #5e6639;
}

.frame .buttons .button-back {
    font-size: 12px;
    color: #5e6639;
    border: 1px solid #5e6639;
    padding: 5.5px 9px 6px 9px;
    border-radius: 12px;
    margin-left: 5px;
    cursor: pointer;
    text-decoration: none;
}

.frame .buttons .button-back:hover {
    color: #FFAA77;
    border-color: #FFAA77;
}

.form .element {
    /*display: flex;*/
    margin: 10px 0px 5px 0px;
    padding: 2px 0px;
}

.form .label {
    font-size: 13px;
    width: 100%;
    display: block;
    margin: 5px 0px 5px 0px;
    padding: 2px 0px;
}

.form .element {
    text-align: left;
}


.form .element input[type='radio'] {
    width: 20px!important;
    height: 20px!important;
}


.form .element .radio label {
    padding: 4px 4px 0px 0px;
}




.form .element input {
    width: 150px;
    /*border: 1px #5e6639 solid;*/
    border: 1px #BAC294 solid;
    height: 22px;
    padding: 5px;
}

.form .element select {
    width: 150px;
    /*border: 1px #5e6639 solid;*/
    border: 1px #BAC294 solid;
    height: 24px;
    background: white;
}

.form .element .checkbox {
    border: 1px #BAC294 solid!important;
    height: 16px;
    width: 16px;
    background: #BAC294;

    /*transform: scale(0);*/
    /*transition: 120ms transform ease-in-out;*/
    /*box-shadow: inset 1em 1em #BAC294;*/
    accent-color: #BAC294;
    text-align: left;
    margin-left: 0px;
}

.form .element .switch {
    margin-left:-1px;
    position: relative;
    -webkit-appearance: none;
    outline: none;
    width: 32px;
    height: 20px;
    background-color: #fff;
    border: 1px solid #BAC294;
    border-radius: 11px;
    box-shadow: inset -12px 0 0 0 #BAC294;
}

.form .element .switch:after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    background: transparent;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    /*box-shadow: 2px 4px 6px rgba(0,0,0,0.2);*/
}

.form .element .switch:checked {
    box-shadow: inset 12px 0 0 0 #5e6639;
    border-color: #5e6639;
}

.form .element .switch:checked:after {
    left: 20px;
    box-shadow: -2px 4px 3px rgba(0,0,0,0.05);
}

.form .element textarea {
    border: 1px solid #BAC294;
}

.form td.element {
    font-size: 13px;
}


.tabs {
    margin: 10px 0px 7px 0px;
    display: flex;
    font-size: 13px;
    border-bottom: 1px solid #5e6639;
}

.tabs .tab {
    padding: 5px 11px 5px 11px;
}

.tabs .selected {
    border-bottom: 3px solid #5e6639;
}

.tabs .selected:hover {
    border-bottom: 3px solid #5e6639;
    color: #5e6639;
    cursor: auto;
}


.tabs a:hover {
    color: #FFAA77;
    cursor: pointer;
    border-bottom: 1px solid #5e6639;
}



.elements_radio {
    /*display: flex;*/
    /*   align-items: center;
       justify-content: center;
       min-height: 100vh;
    */
    height: 40px;
}

.radio {
    display: flex;
    float: left;
}

.radio label {
    width: auto!important;
    margin: 0px 5px 5px 0px!important;
}

.radio label.disabled {
    color: #ddd;
}


input[type="radio"] {
    appearance: none;
    background-color: #fff;
    margin: 0;
    font: inherit;
    color: #5e6639;
    width: 16px!important;
    height: 16px;
    border: 1px solid #5e6639;
    border-radius: 50%;
    /*transform: translateY(-0.075em);*/
    display: grid;
    place-content: center;
    margin-right: 10px!important;
}


input[type="radio"]::before {
    content: "";
    width: 9.5px!important;
    height: 9.5px!important;
    border-radius: 50%;
    transform: scale(0);
    transition: 120ms transform ease-in-out;
    box-shadow: inset 1em 1em #5e6639;
}

input[type="radio"]:checked::before {
    transform: scale(1);
}


/*
.radio {
  margin: 0.5rem;
}
.radio input[type=radio] {
  position: absolute;
  opacity: 0;
}
.radio input[type=radio] + .radio-label:before {
  content: "";
  background: #f4f4f4;
  border-radius: 100%;
  border: 1px solid #b4b4b4;
  display: inline-block;
  width: 1.4em;
  height: 1.4em;
  position: relative;
  top: -0.2em;
  margin-right: 1em;
  vertical-align: top;
  cursor: pointer;
  text-align: center;
  transition: all 250ms ease;
}
.radio input[type=radio]:checked + .radio-label:before {
  background-color: #3197EE;
  box-shadow: inset 0 0 0 4px #f4f4f4;
}
.radio input[type=radio]:focus + .radio-label:before {
  outline: none;
  border-color: #3197EE;
}
.radio input[type=radio]:disabled + .radio-label:before {
  box-shadow: inset 0 0 0 4px #f4f4f4;
  border-color: #b4b4b4;
  background: #b4b4b4;
}
.radio input[type=radio] + .radio-label:empty:before {
  margin-right: 0;
}
*/

/*

grid
  toolbar
    title
    buttons
header
    item
rows
    cell
paging
    buttons

*/


.grid {
    /*margin-top: 15px;*/
    width: 100%;
    padding: 0px;
    margin-top:15px;
}

.grid_frame {
    padding:15px;
    border-radius:15px;
    border: 1px #BAC294 solid;
}

.grid .toolbar .buttons {
    /*background-color: #ccc;*/
    height:22px;
}

.grid .toolbar .buttons a.button {
    font-size: 10px;
    color:#000;
    border: 0px solid #5e6639;
    margin-top: 0px;
    border-radius: 12px;
    margin-right: 5px;
    cursor: pointer;
    background: #e2e2e2;
    font-size: 12px;
    text-decoration: none;
    height: 22px!important;
}
.grid .toolbar .buttons a.button:hover {
    color: #FFAA77;
}

.grid .toolbar .buttons .button svg {
    margin: 5px 0px 0px 5px;
}
.grid .toolbar .buttons .button span {
    padding: 5px 8px 0px 0px;
}

.grid .toolbar {
    width:100%;
    display: flex;
    padding-right: 5px;
    margin-bottom: 10px;
}

.grid .toolbar .buttons {
    margin: 0px 3px -2px 0px;
}

.grid .toolbar .buttons button {
    font-size: 10px;
    color:#000;
    border: 0px solid #5e6639;
    margin-top: 0px;
    padding: 0px 2px 6px 0px;
    border-radius: 12px;
    margin-right: 5px;
    cursor: pointer;
    background: white;
    font-size: 11px;
    height: 22px;
    min-width: 22px;
}


.grid .toolbar .icon {
    color:#5e6639;
    border: 0px solid #5e6639;
    margin-top: 0px;
    padding: 3px!important;
    border-radius: 12px;
    margin-right: 5px;
    margin-left: 0px;
    cursor: pointer;
    background: white;
}


.grid .toolbar .buttons button {
    padding: 0px!important;
}

.grid .toolbar button:hover svg {
    fill: #FFAA77;
}

.grid .toolbar .search_form {
    /*background-color: #ddd;*/
    height:22px;
}

.grid .toolbar .search_form input {
    width: 150px;
    /*border: 1px #5e6639 solid;*/
    border: 1px #BAC294 solid;
    height: 22px;
    padding: 5px 8px 5px 8px;
    border-radius: 12px;
    font-size: 12px;
    outline: none;
}

.grid .toolbar .search_form span {
    /*border: 1px #5e6639 solid;*/
    font-size: 12px;
    font-weight: 400;
}


.grid .toolbar .search_form input:focus {
    /*outline: 1px #5e6639 solid;*/
    border: 1px #5e6639 solid;
}

.grid .toolbar .search_form .submit {
    color: #5e6639;
    background: white ;
    border: 1px solid #5e6639;
    padding: 3.5px 8px 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    cursor: pointer;
    margin-left:2px;
}

.grid .toolbar .search_form .submit:hover {
    color: white;
    background: #5e6639;
    border-color: #5e6639;
}

.grid table {
    width: 100%;
}


.grid .header {
    text-align: left;
    /*background: #5e6639;*/
    color: #5e6639;

}

.grid .header .item {
    padding: 5px;
    font-size: 12px;
    /*border-bottom: 1px solid #5e6639;*/
    border-bottom: 1px solid #BAC294;

}

.grid th {
    /*background: #d8d8d8;*/
    margin-bottom: 5px;
}


.grid .row {
    /*display: flex;*/
    background: #fff;
}


.grid .row .cell {
    padding: 7px 5px;
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    /*text-overflow: " [..]";*/
    white-space: nowrap;
    overflow: hidden;
    max-width: 62px;
    height: 20px;
    /*padding:8px 0px 4px 5px*/
}

.grid .row button, .grid .row a.button {
    /*color:#5e6639;*/
    color:#000;
    border: 0px solid #5e6639;
    /*border: 1px solid #BAC294;*/

    margin-top: 0px;
    padding: 4px 5px 3px 5px;
    border-radius: 12px;
    margin-right: 5px;
    cursor: pointer;
    background: white;
    font-size: 12px;

}

.grid .row .button svg.edit {
    margin: 2px 4px 0px 2px;
}

.grid .row .button svg.delete {
    margin: 0px 1px 0px 0px;
}

.grid .row .button span {
    margin: 0px 3px 0px 0px;
}

.grid .row a.button {
    text-decoration: none;
}

.grid .row a.button {
    height: 12px;
}

.grid button:hover, .grid a.button:hover {
    color: #FFAA77;
    border-color: #FFAA77;
}

.grid button:hover svg, .grid a:hover svg {
    fill: #FFAA77;
}
/*
.grid button:hover svg {
    fill: #FFAA77;
}
*/
.paging {
    margin-top:10px;
    display: flex;
}

.paging button {
    font-size: 10px;
    color:#5e6639;
    border: 1px solid #5e6639;
    /*border: 0px;
    /*background: #ccc;*/
    margin-top: 0px;
    padding: 3px 6px 2px 6px;
    border-radius: 12px;
    margin-right: 5px;
    margin-left: 0px;
    cursor: pointer;
    background: white;
    height: 20px;
    width: 20px;
}

.paging a {
    font-size: 10px;
    color:#5e6639;
    border: 1px solid #5e6639;
    /*border: 0px;
    /*background: #ccc;*/
    margin-top: 0px;
    padding: 3.5px 0px 0px 4.5px;
    border-radius: 12px;
    margin-right: 5px;
    margin-left: 0px;
    cursor: pointer;
    background: white;

    height: 15px;
    /*width: 14px;*/
    text-decoration: none;
    width: calc-size(calc-size(max-content, size), size + 5px);
}

.paging a span {
    margin-left: 2px;
}

.paging .selected {
    color:white;
    background: #5e6639;
}

.paging button.active:hover  {
    color: #FFAA77;
    border-color: #FFAA77;
}
.paging button.active:hover svg {
    fill: #FFAA77;
}

.paging button.disable  {
    color: #aaa;
    border-color: #aaa;
}

.paging button.disable svg {
    fill: #aaa;
}

.paging button.disable:hover  {
    color: #aaa;
    border-color: #aaa;
}


.paging .icon {
    color:#5e6639;
    border: 1px solid #5e6639;
    /*border: 0px;
    /*background: #ccc;*/
    margin-top: 0px;
    /*padding: 2px 2px 2px 2px!important;*/
    border-radius: 12px;
    margin-right: 5px;
    margin-left: 0px;
    cursor: pointer;
    background: white;
    line-height: 10px;
    font-size: 14px;
}

.paging .total {
    margin-left: auto;
    padding: 3px 5px 3px 3px;
    font-size: 12px;
}




.grid button span {
    margin:0px 2px 0px 2px;
}




/*
.loader-grid {
    left: 100px;
    top: 100px;

    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #ddd;
    box-shadow: 32px 0 #ddd, -32px 0 #ddd;
    position: relative;
    animation: flash 0.9s ease-out infinite alternate;
}

@keyframes flash {
    0% {
        background-color: #FFF2;
        box-shadow: 32px 0 #FFF2, -32px 0 #FFF;
    }
    50% {
        background-color: #FFF;
        box-shadow: 32px 0 #FFF2, -32px 0 #FFF2;
    }
    100% {
        background-color: #FFF2;
        box-shadow: 32px 0 #FFF, -32px 0 #FFF2;
    }
}
*/

/* HTML: <div class="loader"></div> */
/* HTML: <div class="loader"></div> */

.loader-grid {
    position: relative;
    left: calc(50% - 10px);
    top: 45%;
    width: 20px;
    aspect-ratio: 1;
    border-radius: 50%;
    animation: l5 1s infinite linear alternate;
}
@keyframes l5 {
    0%  {
        box-shadow: 30px 0 #000, -30px 0 #0002;
        background: #000
    }
    33% {
        box-shadow: 30px 0 #000, -30px 0 #0002;
        background: #0002
    }
    66% {
        box-shadow: 30px 0 #0002, -30px 0 #000;
        background: #0002
    }
    100%{
        box-shadow: 30px 0 #0002, -30px 0 #000;
        background: #000
    }
}


.ok {
    float:right;
    position: relative;
    display: inline-block;
    vertical-align: top;
    margin: 5px;
    width: 20px;
    height: 20px;
    border: 1px solid #bbb;
    border-radius: 50%;
    cursor:pointer;
}
.ok:before {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -9px 0 0 -10px;
    height: 8px;
    width: 16px;
    border: solid #888;
    border-width: 0 0 4px 4px;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.generate_button {
    font-size: 12px;
    color: #5e6639;
    border: 1px solid #5e6639;
    padding: 5.5px 9px 6px 9px;
    border-radius: 12px;
    cursor: pointer;
    text-decoration: none;
}

.generate_button:hover {  
    color: #FFAA77;
    border-color: #FFAA77;
}

.generate_button_smaller {
    font-size: 11px;
    color: #5e6639;
    border: 1px solid #5e6639;
    padding: 4.5px 8px 5px 8px;
}