/*
 * MAIN COLOR: #fff234 yellow
 */
.hidden {
    display: none !important;
}

.background-red {
    background: #b32328 !important;
}

/* --- DEV TOOLS ------------------------------------------------------------ */

.dev-tool-block {
    background: #e0e0e0;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 6px;
}

.dev-tool-block h2 {
    background: black;
    color: white;
    border-radius: 6px;
    padding: 5px;
    margin-bottom: 10px;
}

.dev-tool-block ul li {
    list-style: inside;
}


/* --- HEADER ------------------------------------------------------------ */
header {
    display: flex;
    justify-content: space-between;
    max-width: 100%;
    height: 63px;
    background: #ffffff;
    box-shadow: 0 1px 1px 0 #e7e7e7;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2;
}

header .header-btn {
    transition: .2s;
    position: relative;
    margin-right: 30px;
    display: flex;
    align-items: center;
}

header .header-btn i {
    margin-right: 10px;
}

.header-btn.active {
    /*background: #f4f4f4;*/
}

.header-btn.user-work-time {
    color: #8cd036;
}

.middle-header {
    display: flex;
}

header .dropdown-menu {
    position: absolute;
    top: 63px;
    right: 0;
    background: #252525;
    width: 100%;
    display: none;
    min-width: 160px;
}

header .dropdown-menu.show {
    display: block;
}

header .dropdown-menu.show li.active a {
    background: #8cd036;
    width: 100%;
}

header .dropdown-menu li {
    transition: .3s;
    display: flex;
    align-items: center;
}


header .dropdown-menu a {
    color: #ffffff;
    padding: 15px;
    display: flex;
    align-items: center;
}

header .dropdown-menu a i {
    font-size: 15px;
}

.menu-buttons {
    display: flex;
    flex: 1;
    justify-content: flex-end;
}

.logo {
    flex: 2;
    display: flex;
    align-items: center;
    margin-left: 10px;
    transition: .2s;
    justify-content: center;
}

.daily-quarry-amount {
    width: 120px;
}

.menu-toggle {
    background: #f4f4f4;
    width: 232px;
    display: flex;
    align-content: center;
    cursor: pointer;
    transition: .2s;
    padding: 0px 15px;
}

.menu-toggle:after {
    content: "";
    width: 27px;
    height: 27px;
    border: 2px solid #ffffff;
    background: #f4f4f4;
    border-radius: 50%;
    position: absolute;
    top: 18px;
    right: -14px;
    display: inline-block;
    background-image: url(../images/icons/small-arrow-left.svg);
    background-repeat: no-repeat;
    background-position: center;
    transition: .3s;
}

.menu-toggle.close:after {
    transform: rotate(180deg);
}

.menu-toggle i {
    font-size: 38px;
    color: #34353a;
    align-self: center;
    margin: 0 auto;
}

.user-toggle {
    display: flex;
    align-content: center;
    cursor: pointer;
    justify-content: center;
}

.user-toggle i {
    font-size: 28px;
    align-self: center;
    transition: .2s;
}

.user-toggle span {
    align-self: center;
    transition: .2s;
    text-align: center;
}

.user-toggle-menu-down {
    background: #e7e7e7;
    border-radius: 4px;
    padding: 11px;
    width: 24px;
    height: 24px;
    margin-left: 10px;
}

.user-toggle-menu-down:after {
    content: "";
    width: 12px;
    height: 12px;
    position: absolute;
    top: 26px;
    right: 6px;
    background-image: url(../images/icons/small-arrow-down.svg);
    background-repeat: no-repeat;
    background-position: center;
    transition: .3s;
}

.user-toggle[dropdown=on] .user-toggle-menu-down:after {
    transform: rotate(180deg);
}

/* QUARRY OPTIONS */
.setting-table {
    /*display: flex;*/
    max-width: 50%;
    justify-content: space-between;
    margin: 0 auto;
    flex-wrap: wrap;
}

.setting-table .main-item {
    background: #000000;
}

.setting-table-item {
    padding: 20px;
    margin: 10px;
    cursor: pointer;
    border-radius: 4px;
    background: #505050;
    transition: .2s;
}

.setting-table-item.active {
    background: #8cd036;
}

.setting-table li:hover {
    background: #89c73a;
}

.setting-table-item a {
    text-transform: uppercase;
    color: white;
}

.setting-table-item:hover a {
    color: #ffffff;
}

.title-list h2 {
    text-align: center;
    margin: 10px 0;
}

.title-list ul {
    width: 100%;
    background: #8cd036;
    border-radius: 8px;
    padding: 8px;
}

.title-list li {
    text-align: center;
    color: #ffffff;
    font-weight: bold;
}

/* --- SIDEBAR ------------------------------------------------------------ */

.sidebar {
    position: fixed;
    background: #252525;
    width: 232px;
    height: 100%;
    transition: .2s;
    top: 63px;
    z-index: 1;
    max-height: calc(100vh - 63px);
    overflow-y: auto;
}

.sidenav {
    display: flex;
    flex-direction: column;
    padding-top: 5px;
}

.sidenav li {
    padding: 5px 10px 5px 10px;
}

.sidenav .active a {
    color: #fff;
}

.sidenav a {
    display: flex;
    height: 60px;
    color: #dadada;
    transition: .2s;
    padding-left: 17px;
    align-items: center;
    border-radius: 8px;
    text-transform: capitalize;
}

.sidenav a:hover {
    background: #343434;
}

.sidenav i {
    font-size: 26px;
    align-self: center;
    margin-right: 10px;
    width: 30px;
    display: flex;
    justify-content: center;
}

.sidenav .active i {
    color: #8cd036;
}

.sidenav .active a {
    background: #343434;
}

.sidenav span {
    align-self: center;
}

/* WAREHOUSE TABLE */

.warehouse-td input {
    border: none;
    background: transparent;
    border-radius: 4px;
    margin-right: 10px;
    transition: .2s;
}

.warehouse-td input:focus {
    background: white;
}

.warehouse-btn {
    border: 1px solid #00a6ff;
    color: #00a6ff;
    padding: 5px;
    cursor: pointer;
    border-radius: 4px;
    transition: .2s;
}

.warehouse-btn:hover {
    border: 1px solid #ffffff;
    color: #ffffff;
    background: #00a6ff;

}

.warehouse-amount.below-zero {
    color: red;
}

/* CUSTOM SCROLLBAR ------------------------------------------------ */
/*** NEED TO TEST ON TOUCHSCREENS - WORKS! ***/
/* .scrollable::-webkit-scrollbar { width: 0 !important }
.scrollable { -ms-overflow-style: none; } */

/* width */
::-webkit-scrollbar {
    width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #d6d6d6;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #c1c1c1;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #b7b7b7;
}


/* --- SUB NAVIGATION ------------------------------------------------------------ */

.subbar {
    flex: 1;
    background: #f4f4f4;
    padding: 10px;
}

.subbar.orders {
    flex: 2;
}

.orders .subnav {
    margin: 0 5px;
}

.sub-filter,
.sub-heading {
    display: flex;
    align-items: stretch;
    border-right: 2px solid #d4d4d4;
    border-bottom: 2px solid #d4d4d4;
}

.sub-controls {
    margin: 5px 5px 8px 5px;
}

.sub-heading {
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #e7e7e7;
}

.sub-controls.show-filter .sub-heading {
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}


.sub-controls li {
    text-transform: uppercase;
    cursor: pointer;
    text-align: center;
    font-weight: bold;
    transition: .2s;
    color: #525252;
}

.sub-controls .active {
    color: #252525;
    background: #e4e4e4;
}

.control-btn.with-icon i {
    margin: 0 10px;
}

.sub-heading li {
    padding: 10px 20px;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 6px;
    border-radius: 4px;
}

.sub-heading li.old-orders-list {
    margin: 6px 0;
}

.sub-filter li {
    padding: 10px;
}

.sub-filter li:first-child {
    flex: 5;
    padding: 10px 40px;
}

.sub-filter li:nth-child(2) {
    flex: 6;
}

.sub-filter li:last-child {
    flex: 1;
    background: #f2f2f2;
}

.filter-search {
    border-left: 2px solid #d4d4d4;
    background: white;
}

.filter-search-bar {
    display: flex;
    justify-content: space-between;
    border-bottom: 2px solid #d4d4d4;
}

.filter-search-bar input {
    flex: 2;
    border: none;
    padding: 9px;
    font-size: 18px;
    border-radius: 0;
}

.filter-search-bar button {
    padding: 0 18px;
    cursor: pointer;
    transition: .2s;
    color: #34353a;
}

.filter-search-bar button:hover {
    background: #b7b7b7;
    color: white;
}

.filter-cancel {
    border-left: 2px solid #d4d4d4;
    border-right: 2px solid #d4d4d4;
}


.sub-controls .control-filter {
    background: white;
    padding: 10px;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    display: none;
    border-left: 1px solid #e7e7e7;
    border-right: 1px solid #e7e7e7;
    border-bottom: 1px solid #e7e7e7;
}

.sub-controls.show-filter .control-filter {
    display: flex;
}


.sub-controls .control-filter-search {
    flex: 10;
    display: flex;
    position: relative;
}

.sub-controls .control-filter-search input {
    width: 100%;
    border: 1px solid #e7e7e7;
    border-radius: 8px;
    padding: 10px;
}

.sub-controls .control-filter-search i {
    position: absolute;
    right: 0px;
    top: 0px;
    padding: 10px;
    cursor: pointer;
}

.sub-controls .control-filter label {
    margin-right: 20px;
}

.production-btn {
    text-align: center;
    border-radius: 8px;
    padding: 20px;
    background: #8cd036;
    border: 1px solid #d7d7d7;
    text-transform: uppercase;
    cursor: pointer;
    transition: .2s;
    color: white;
}

.production-btn:hover {
    background: #7db730;
}


.production-btn.do-edit {
    background: #00a6ff;
}

.production-btn i {
    margin-right: 10px;
}

.csv-production-btn {
    margin-left: 10px;
    background: #4136d0;
    color: white;
}

.csv-production-btn:hover {
    background: #322a9a !important;
}

.clear-search-btn {
    margin-left: 10px;
    background: #b32328;
    color: white;
}

.clear-search-btn:hover {
    background: #d0292e !important;
}


.production-container .totals {
    background: #e1e1e1;
    margin: 0 5px;
    padding: 10px;
    display: flex;
    border-radius: 8px;
    margin-bottom: 10px;
}

.production-container .totals li {
    margin-right: 10px;
}

.production-container .totals li span {
    font-weight: bold;
}

/* SUBNAV LI */

.subnav li {
    background: #ffffff;
    display: flex;
    transition: .3s;
    cursor: pointer;
    margin-bottom: 8px;
    border-radius: 8px;
    border: 1px solid #e3e3e3;
}

.subnav li.active {
    background: #e4e4e4;
}

.general .subnav li a {
    display: block;
    text-transform: uppercase;
    padding: 17px 10px;
    width: 100%;
    color: #34353a;
}

.general .subnav li.active {
    background: #d4d4d4;
}

.list-datetime {
    display: flex;
    flex-direction: column;
    padding: 0 20px;
    text-align: center;
    justify-content: center;
}

.list-time {
    font-size: 25px;
    color: #8cd036;
    margin-bottom: 5px;
}

.list-date {
    color: #b8b8b8;
}

.list-info {
    display: flex;
    margin-left: 20px;
    flex: 1;
    padding: 10px 0;
    align-items: center;
}

/*.list-item {*/
/*    display: flex;*/
/*    flex-direction: column;*/
/*    flex: 1;*/
/*    padding: 0 10px;*/
/*}*/

.list-item {
    display: flex;
    flex-direction: column;
    padding: 0 10px;
    width: 50%;
}

.list-type {
    display: flex;
    align-items: center;
    background: #e3e3e3;
    margin-right: -8px;
    width: 30px;
    justify-content: center;
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
}

.list-info table tr td:first-child {
    width: 70px;
    color: gray;
    text-transform: uppercase;
    font-size: 10px;
}

.list-info table tr td:nth-child(2) {
    color: #34353a;
    text-transform: uppercase;
    font-size: 17px;
}

.list-info .title {
    color: #a7a7a7;
}

.list-info .value {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 6px;
    color: #636363;
}


.list-status {
    align-self: center;
    text-transform: capitalize;
    width: 90px;
    text-align: center;
    margin-right: 10px;
}

.order-status .status-level {
    border-radius: 40px;
    padding: 5px 15px;
}

.order-status .value {
    margin-top: 10px;
}

.list-group {
    font-size: 12px;
    display: block;
    margin-top: 20px;
}

/* --- MAIN CONTENT ------------------------------------------------------------ */

.module-container,
main {
    display: flex;
    /* flex-flow: row wrap; */
    transition: .2s;
    margin-left: 232px;
    position: fixed;
    top: 63px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    z-index: 1;
    background: #f4f4f4;
}

/*// if not logged in then center the login form */
.ml-0 {
    margin-left: 0px;
}

.content {
    flex: 4;
    z-index: 1;
    min-height: 100%;
}

.content-header {
    border-bottom: 2px solid gainsboro;
    margin-top: 18px;
    margin-bottom: 20px;
    padding-bottom: 20px;
}

.content-header h1 {
    font-size: 20px;
    text-transform: uppercase;
    color: #34353a;
    margin-left: 20px;
}

/* EMPTY CONTENT */

.empty-content {
    display: flex;
    justify-content: center;
}

.empty-message {
    font-size: 40px;
    padding-bottom: 80px;
    margin-top: 40%;
    color: #dadada;
    text-transform: uppercase;
}

/* GENERAL CONTENT */
.content-data {
    margin: 20px;
}

.content-data strong {
    font-weight: bold;
}

.modal-side-content .content-data {
    margin: 0px;
    flex: 2;
}


.fractions li.active {
    color: red;
}

.boxes {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -5px;
}

.box {
    width: 33.33%;
}

.inner-box {
    background: white;
    border-radius: 2px;
    /*margin: 10px;*/
}

.inner-fractions {
    transition: .4s;
}

/* FORM CONTENT */

.form-wrapper {
    display: flex;
    justify-content: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group h2 {
    font-size: 20px;
    color: #8cd036;
    margin-bottom: 10px;
    height: 30px;
}

.form-group h3 {
    font-size: 15px;
    color: #8cd036;
    margin-bottom: 10px;
}

.form-group .form-group-title {
    font-size: 15px;
    color: #3d3d3d;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.side-by-side-inputs .side:first-child {
    margin-right: 20px;
}

.side-by-side-inputs.side-multiple .side:not(:last-child) {
    margin-right: 20px;
}

.transport-info-container {
    background: #e0e0e0;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.transport-info-container .side:last-child {
    margin-bottom: 0px;
}

.form-group .checkbox-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-right: 10px;
}

.form-select-icon.padded {
    right: 80px;
}

.form-title {
    font-size: 15px;
    margin-bottom: 10px;
    text-transform: uppercase;
    color: #b7b7b7;
}

.form-text input {
    background: #fff;
    opacity: .7;
}

.form-options-select {
    display: flex;
}

.form-options {
    flex: 1;
}

.select2-container {
    z-index: 1;
}

.form-option-select-icon {
    margin: 0 23px;
    align-self: center;
    font-size: 30px;
    color: #999999;
}

.form-options ul {
    background: #fff;
    height: 200px;
    border: 1px solid #d4d4d4;
    border-radius: 8px;
    overflow-y: auto;
}

.form-unselected-options ul {
    opacity: .7;
}

.form-options ul li {
    padding: 10px;
    cursor: pointer;
    border-bottom: 1px solid #f1f1f1;
}

.form-options ul li:hover {
    background: rgb(230, 230, 230);
}

.form-options .checkbox-select {
    border-bottom: 1px solid #f1f1f1;
    position: relative;
}

.form-options .checkbox-select label {
    padding: 10px;
    width: 100%;
    display: block;
    cursor: pointer;
}

.form-options .checkbox-select input {
    position: absolute;
    right: 15px;
    top: 13px;
}

.form-list li {
    list-style: initial;
    margin-left: 20px;
    margin-bottom: 5px;
}

.form-list a {
    font-size: 16px;
    color: #000;
}

.form-list a:hover {
    text-decoration: underline;
}

.form-tab-title {
    background: #dddddd;
    padding: 15px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    margin-bottom: 20px;
    transition: .2s;
}

.form-tab-title:hover {
    background: #b4b4b4;
}

.form-tab-title i {
    margin-right: 10px;
}


.form-tab-title.active {
    background: #8cd036;
    color: #ffffff
}

.status-title {
    display: flex;
    justify-content: space-between;
    flex-direction: row !important;
    align-items: center;
}

.status-title .status {
    color: #999999;
}

.status-title .status .status-level {
    text-transform: uppercase;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 20px;
    background: #fff;
    border: 1px solid #d4d4d4;
}

.status-title .order-switch {
    position: relative;
}

.status-title .order-switch select {
    font-size: 26px;
    color: #8cd036;
    cursor: pointer;
    border: none;
    padding-left: 25px;
    padding-right: 25px;
}

.status-title .order-switch i {
    position: absolute;
    color: #8c8c8c;
    left: 7px;
    top: 5px;
    font-size: 23px;
    z-index: -1;
}

.form-input {
    display: flex;
    background: #ffffff;
    border: 1px solid #e7e7e7;
    transition: .2s;
    position: relative;
    border-radius: 8px;
}

.form-input:hover {
    border-color: #868383;
}

.form-input:hover .form-icon {
    border-color: #868383;
}

.form-input:hover .form-icon i {
    color: #868383;
}

.form-input select {
    width: 100%;
    padding: 16px 25px;
    border: none;
    cursor: pointer;
    font-size: 20px;
    position: relative;
    z-index: 1;
    color: #000000;
}

.form-input .form-double-input {
    border-left: 1px solid #e7e7e7;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.form-input.single-row-double input:last-child {
    border-left: none;
}

.form-select .select2-selection {
    height: 100% !important;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    display: flex !important;
    align-items: center;
}

.form-select .select2-selection__rendered {
    height: 100%;
}

.form-wrapper .form-select .select2-selection__rendered {
    height: 55px;
}

.gross-weights-container .form-select .select2-selection__rendered {
    padding: 10px
}

.date-flatpickr input {
    width: 100%;
    height: 60px;
}

.date-flatpickr i {
    top: 23px !important;
}


.select2-container--open .select2-dropdown--below {
    border-top: 1px solid #e7e7e7 !important;
    margin-top: 10px;
    border-top-left-radius: 8px !important;
    border-top-right-radius: 8px !important;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.select2-search--dropdown .select2-search__field {
    border-radius: 5px;
    border: 1px solid #e7e7e7;
}

.select2-dropdown {
    border: 1px solid #e7e7e7 !important;
}

.form-select li {
    transition: .2s;
}

.form-select li:hover {
    background: #8cd036;
    color: #fff;
}

#no-results-title {
    margin-bottom: 10px;
    font-size: 15px;
}

#no-results-btn {
    width: 100%;
    padding: 10px;
    border-radius: 2px;
    background: #76ad2d;
    border: none;
    text-transform: uppercase;
    color: white;
    font-size: 20px;
    cursor: pointer;
    transition: .2s;
}

#no-results-btn:hover {
    background: #5c8822;
}

.select2-results__option[aria-selected=true] {
    background: rgb(196, 196, 196);
    color: white;
}

.select2-results__options {
    max-height: 200px;
    overflow-y: auto;
}

/* Track */
.select2-results__options::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

/* Handle */
.select2-results__options::-webkit-scrollbar-thumb {
    background: #8bce37;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

/* Handle on hover */
.select2-results__options::-webkit-scrollbar-thumb:hover {
    background: #77af2e;
}

.disabled,
.select2:disabled {
    opacity: 0.3;
}

.radiobtn.contract-fraction.live.disabled {
    color: #ff0000;
}

.show-missing {
    margin-left: 20px;
    transition: .2s;
}

.show-missing.open {
    background: #77af2d;
}

.missing-work-container .title {
    color: #93d023;
    display: inline-block;
    font-size: 20px;
    margin: 10px 0;
}

.missing-work-container .date,
.missing-work-container .delete,
.missing-work-container .type {
    margin-left: 10px;
}


.missing-work-container .delete i,
.missing-work-container .checked i {
    color: #cdcdcd;
    cursor: pointer;
    transition: .2s;
}

.missing-work-container .checked .confirmed {
    color: #93d023;
}

.missing-work-container .delete i:hover {
    color: #f62f2a;
}

.form-icon {
    padding: 0 15px;
    display: flex;
    align-items: center;
    border-right: 1px solid #d4d4d4;
    margin: 8px 0px;
    color: #bbbbbb;
    font-size: 18px;
    width: 60px;
    transition: .2s;
    justify-content: center;
}

.form-select-icon {
    position: absolute;
    right: 10px;
    font-size: 13px;
    color: #34353a;
    z-index: 1;
    display: flex;
    align-self: center;
}

.production-container .form-select-icon {
    top: 10px;
}

.gross-weights-container .form-select-icon {
    top: 10px
}

.form-input input {
    width: 100%;
    min-width: 0;
    padding: 14px 20px;
    font-size: 20px;
    font-weight: 100;
    border: none;
    border-radius: 8px;
}

.form-input textarea {
    width: 100%;
    border: none;
    padding: 10px;
    border-radius: 8px;
}

.form-helper {
    display: block;
    margin-top: 7px;
    color: #34353a;
    font-size: 18px;
}

.form-helper i {
    margin-left: 6px;
}

.form-input.error,
.form-input.error .form-icon,
.form-input.error .form-icon i {
    border-color: #fd495a;
    color: #fd495a;
}

.form-helper.error {
    color: #fd495a;
}

.form-input.success,
.form-input.success .form-icon {
    border-color: #8cd036;
}

.submit-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #d4d4d4;
    opacity: 1; /* Firefox */
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: #d4d4d4;
}

::-ms-input-placeholder { /* Microsoft Edge */
    color: #d4d4d4;
}

.col-md {
    width: 50%;
}

@media (max-width: 1200px) {
    .col-md {
        width: 100%;
    }

    .form-group {
        flex-flow: column;
    }

    .form-group label {
        align-self: initial;
    }
}

.responsible-emails h2 {
    font-size: 20px;
    color: #8cd036;
}

.responsible-emails ul {
    margin: 0 20px;
}

.responsible-emails li {
    background: #e0e0e0;
    margin: 7px 0;
    padding: 6px;
    list-style: circle;
    cursor: pointer;
    border-radius: 2px;
    transition: .2s;
    color: #34353a;
}

.responsible-emails li:hover {
    background: #ff6060;
}

.responsible-emails .flex-col-1 {
    margin-bottom: 15px;
}

/* SIDE CONTENT */
.side-content {
    margin-left: 20px;
}

.side-content h2 {
    font-size: 20px;
    color: #8cd036;
    margin-bottom: 21px;
}

.add-btn {
    background: #8cd036;
    padding: 5px 10px;
    border-radius: 3px;
    color: #ffffff;
    text-transform: uppercase;
    cursor: pointer;
    transition: .2s;
}

.add-btn:hover {
    background: #77b02e;
}

/* SUB TABLE */
.sub-btn {
    cursor: pointer;
    padding: 7px;
    text-transform: uppercase;
    float: right;
}

.sub-btn.active {
    background: #d03636;
    color: white;
}

.add-sub {
    background: #8cd036;
    color: white;
}

.sub-table-container {
    background: white;
    padding: 10px;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

.sub-edit {
    cursor: pointer !important;
    color: #05924f;
}

/* TABLE SEARCH */

.table-with-filters {
    display: flex;
    flex-direction: column;
    margin-bottom: 100px;
}

.production-filters {
    margin-bottom: 10px;
}

.production-form {
    margin-top: 20px;
}

.table-with-filters h2 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #8cd036;
}

.table-with-filters .form-select-icon {
    right: 7px;
}

.table-with-filters .form-select .select2-selection__rendered {
    font-size: 14px;
}

.table-wrapper {
    width: 100%;
}

.group-btns {
    display: flex;
}

.filter-control-bar {
    margin-right: 20px;
    max-width: 240px;
}

.table-search-wrapper {
    margin-bottom: 10px;
}

.table-totals {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.table-totals div {
    margin: 0 10px;
}

.table-with-filters .table-totals div {
    margin: 0 0 5px 0;
}

.control-bar {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.control-bar.search-only {
    justify-content: flex-end;
}

.select-data-wrapper {
    display: flex;
}

.input-title-wrapper:not(:last-child) {
    margin-right: 10px;
}

.add-production-grid-2 {
    margin: 0 10px;
}

.input-title {
    font-size: 14px;
    color: #252525;
    font-weight: 600;
    margin-bottom: 10px;
}

.table-text-input input {
    padding: 10px 10px;
    border: 1px solid #e7e7e7;
    border-radius: 8px !important;
}

.table-button {
    border: 1px solid #e7e7e7;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.table-search {
    display: flex;
    position: relative;
}

.table-search input {
    height: 100%;
    padding: 10px 8px;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    margin-right: -1px;
    border-top: 1px solid #e7e7e7;
    border-left: 1px solid #e7e7e7;
    border-bottom: 1px solid #e7e7e7;
    border-right: none;
}

.table-search .date-input,
.table-search .date-picker,
.table-search .flatpickr-input {
    border-right: 1px solid #e7e7e7;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    height: 44px;
}

.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    top: 12px;
    right: 12px;
}

.calendar-icon {
    position: absolute;
    top: 15px;
    right: 10px;
}

.table-search input.date-input:after,
.table-search input.date-picker:after {
    display: flex;
}

.table-with-filters .table-search input {
    width: 100%;
}

.table-with-filters .table-search {
    margin-bottom: 10px;
}

.table-search .search-clear-btn,
.table-search .search-btn {
    background: #ffffff;
    width: 50px;
    color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    /*height: 100%;*/

    border-top: 1px solid #e7e7e7;
    border-right: 1px solid #e7e7e7;
    border-bottom: 1px solid #e7e7e7;
    border-left: none;
}

.table-search .search-clear-btn {
    border-left: 1px solid #e7e7e7;
    border-radius: 8px;
    margin-right: 4px;
}

.control-bar.simple .form-input select {
    width: 100%;
    padding: 9px 25px 6px 9px;
    border: none;
    cursor: pointer;
    font-size: 20px;
    position: relative;
    z-index: 1;
}

.control-bar.simple .form-select-icon {
    position: absolute;
    top: 15px;
    right: 8px;
    font-size: 20px;
    color: #34353a;
}

.gross-table-btn {
    border: 1px solid;
    border-radius: 4px;
    padding: 5px 15px;
    cursor: pointer;
    transition: .2s;
}

.gross-table-btn:hover {
    background: black;
    color: white;
}

.final-confirm-btn.phase-2 {
    background: #8cd036;
    color: white;
}

.im-table.vehicle-table tr.row > td {
    height: 27px;
}

.vehicle-table a {
    font-weight: bold;
}

.im-table.vehicle-table tr.head > th {
    padding-left: 17px;
    cursor: pointer;
    position: relative;
}

.pin-label {
    text-transform: uppercase;
    margin-right: 5px;
}

.pin-code {
    font-size: 19px;
}

.pin-edit {
    margin-left: 5px;
    cursor: pointer;
    opacity: .5;
    transition: .2s;
}

.pin-edit:hover {
    opacity: 1;
}

.pin-edit i {
    font-size: 12px;
}

/* FILTER TABLE */


.table-with-filters .form-input.pagination-select {
    /*height: 10px;*/
}

.table-header th {
    cursor: pointer !important;
}

.direction-icon {
    margin-left: 5px;
}

.direction-icon i.fa-minus {
    color: #c9c9c9;
}

.print-report-wrapper {
    background: #ffffff;
    padding: 10px 20px;
}

.print-report-content {
    display: flex;
}

.print-report-content .form-select .select2-selection {
    min-height: initial;
    width: 100%;
}

.print-report-content .select2-container--kiiusoon {
    width: 220px !important;
}

.print-report-content .form-input {
    border-radius: 8px;
    margin-right: 10px;
}

.report-select .select2-dropdown {
    margin-top: -10px !important;
    border-radius: 8px;
}

.report-select .select2-results__options {
    border-radius: 8px;
}

.report-select.select2-container--open .select2-dropdown--above {
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.yearly-report-months-btn {
    position: relative;
    padding: 10px 30px 10px 10px;
}

.yearly-report-months-wrapper {
    position: absolute;
    bottom: 45px;
    background: #ffffff;
    min-width: 130px;
    padding: 10px;
    left: 0;
    border: 1px solid #e7e7e7;
    border-radius: 8px;
}

.yearly-report-months-wrapper .smooth-checkbox .cbx {
    padding: 0;
}

.yearly-report-months-wrapper .smooth-checkbox .cbx {
    width: 100%;
}

.yearly-report .year-input {
    margin-right: 10px;
    height: 40px;
    width: 100px;
}


.get-report-grossweight {
    cursor: pointer;
    transition: .2s;
    background: #252525;
    color: #ffffff;
    border: 1px solid #252525;
    min-width: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
}

.get-report-grossweight:hover {
    background: #000000;
}

.print-report-content .title {
    font-weight: 600;
    margin-right: 10px;
}

.report-control {
    display: flex;
    margin-top: 3px;
}

.report-control label {
    background: #e4e3e3;;
    padding: 10px;
    min-width: 120px;
    cursor: pointer;
    transition: .2s;
}

.report-control label:hover {
    background: #dddddd;
}

.report-control label.active {
    background: lightgray;
}

.report-control input {
    display: none;
}

.report-big-data-wrapper label {
    width: 100%;
    text-align: center;
}

.big-data-settings {
    margin-top: 5px;
    display: none;
}

.big-data-settings .months label {
    font-size: 18px;
    background: #e4e3e3;
    cursor: pointer;
    width: 100%;
    margin-bottom: 5px;
    padding: 5px;
    display: block;
    transition: .2s;
}

.big-data-settings .months label:hover {
    background: #d3d3d3d3;
}

.total-weight-report {
    margin-left: auto;
    display: flex;
    align-items: center;
}

.total-weight-report ul {
    display: flex;
}

.total-weight-report li {
    margin-left: 10px;
}

.total-weight-report li span {
    font-weight: bold;
    font-size: 20px;
}

/*///ROW AMOUNT SELECT*/
.row-amount-select {
    padding: 7px;
    background: white;
    border: 1px solid white;
    font-size: 20px;
    border-radius: 8px;
    cursor: pointer;
}

.row-amount-select:before {
    content: "\f2c2";
    display: inline-block;
    position: absolute;
    top: 0;
}

/*///DATERANGE*/
.date-range-wrapper {
    display: flex;
}

.weight-form .date-range-wrapper {
    margin-bottom: 20px;
}

.date-range {
    cursor: pointer;
}

.date-range.active {
    background: red;
}

.date-range-preselect {
    margin-top: 7px;
    padding: 8px;
    text-transform: uppercase;
    border-radius: 2px;
}

/*///SELECT CLIENT FRACTION*/

.select-data-wrapper .form-input {
    width: 100%;
    border: none;
}

.table-with-filters .form-input {
    margin-bottom: 10px;
    height: 38px;
    border-radius: 8px;
    border: 1px solid #e7e7e7;
}

.table-with-filters .select-edits-wrapper {
    margin-bottom: 10px;
}

/*///TABLE SETTINGS*/
.table-settings {
    display: flex;
    margin-top: 15px;
    margin-bottom: 10px;
}

.table-settings .checkbox-title {
    font-weight: 600;
}

.cell-settings {
    cursor: pointer;
    font-weight: bold;
}

.weight-settings-wrapper .radiobtn label {
    padding: 17px 5px;
    font-size: 23px;
}

.print-report-wrapper {
    position: fixed;
    bottom: 0;
    right: 0;
    left: 232px;
    border-top: 1px solid #e3e3e3;
    z-index: 1;
    transition: .2s;
}

main.close .print-report-wrapper {
    left: 65px;
}

/*///TABLE ROW EDITS*/
.edit-rows-wrapper {
    display: flex;
    margin-top: 3px;
    justify-content: center;
    background: #e4e3e3;
    padding: 19px;
}

.edit-row-btn {
    margin-right: 3px;
    padding: 10px 15px;
    text-transform: uppercase;
    cursor: pointer;
}

.edit-row-btn.edit-to-faulty {
    background: #ffbcbc;
    transition: .2s;
}

.edit-row-btn.edit-to-faulty:hover {
    background: #fd1100;
}

.edit-row-btn.edit-to-archive {
    background: #81D4FA;
    transition: .2s;
}

.edit-row-btn.edit-to-archive:hover {
    background: rgb(0, 139, 253);
}

/*///PAGINATION*/
.pagination {
    display: flex;
    align-self: center;
}

.paginatior-list {
    display: flex;
}

.pagination ul li {
    display: flex;
    border: 1px solid #e7e7e7;
    cursor: pointer;
    border-radius: 8px;
    min-width: 28px;
    height: 28px;
    justify-content: center;
    align-items: center;
    background: #ffffff;
    padding: 0 5px;
}

.pagination ul li:not(:last-child) {
    margin-right: 4px;
}

.pagination .active {
    background: #8cd036;
    color: white;
}

.total-rows {
    align-self: center;
}


/*///FLATPICKR RESET*/
.flatpickr-clear {
    border-top: 1px solid #f3f3f3;
    padding: 5px 10px;
    cursor: pointer;
    text-transform: uppercase;
    color: #434343;
    transition: .2s;
}

.flatpickr-clear:hover {
    color: #ff0000;
}

.flatpickr-day.selected, .flatpickr-day.startRange, .flatpickr-day.endRange, .flatpickr-day.selected.inRange, .flatpickr-day.startRange.inRange, .flatpickr-day.endRange.inRange, .flatpickr-day.selected:focus, .flatpickr-day.startRange:focus, .flatpickr-day.endRange:focus, .flatpickr-day.selected:hover, .flatpickr-day.startRange:hover, .flatpickr-day.endRange:hover, .flatpickr-day.selected.prevMonthDay, .flatpickr-day.startRange.prevMonthDay, .flatpickr-day.endRange.prevMonthDay, .flatpickr-day.selected.nextMonthDay, .flatpickr-day.startRange.nextMonthDay, .flatpickr-day.endRange.nextMonthDay {
    background: #8cd036 !important;
    border-color: #8cd036 !important;
}

.flatpickr-day.selected.startRange + .endRange:not(:nth-child(7n+1)), .flatpickr-day.startRange.startRange + .endRange:not(:nth-child(7n+1)), .flatpickr-day.endRange.startRange + .endRange:not(:nth-child(7n+1)) {
    -webkit-box-shadow: -10px 0 0 #8cd036 !important;
    box-shadow: -10px 0 0 #8cd036 !important;
}

.flatpickr-innerContainer {
    margin-bottom: 6px;
}

.flatpickr-quarter {
    width: 50%;
    float: left;
    background: rgb(245, 245, 245);
    cursor: pointer;
    text-transform: uppercase;
    padding: 4px;
    transition: .2s;
}

.flatpickr-quarter:hover {
    background: rgb(218, 218, 218);
}

/* YEARLY REPORT */

.yearly-report-content {
    margin-right: 10px;
}

.remove-client {
    min-width: 2003px;
}

.remove-clients {
    display: flex;
    overflow-x: auto;
}

.remove-clients label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    background: #f4f4f4;
    padding: 5px 10px;
    text-transform: capitalize;
    align-items: center;
    cursor: pointer;
    border-radius: 8px;
    margin-right: 10px;
    min-width: 150px;
    margin-bottom: 15px;
}

.remove-clients label input {
    margin-left: 10px;
}

.remove-clients::-webkit-scrollbar {
    height: 6px;
}

.return-removed-client {
    appearance: none; /* Remove default checkbox */
    width: 20px;
    height: 20px;
    border: 1px solid #878787;
    border-radius: 6px;
    position: relative;
    cursor: pointer;
}

.return-removed-client:hover {
    border: 1px solid #f80000;
    color: #f80000;
}

/* "X" symbol when checked */
.return-removed-client:checked::before {
    content: "✕"; /* Unicode X character */
    position: absolute;
    top: 0;
    left: 0;
    width: 18px;
    height: 17px;
    color: #878787;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.return-removed-client:checked:hover::before {
    color: #f80000;
}

/* Track */
.remove-clients::-webkit-scrollbar-track {
    background: #f3f3f3;
}

/* Handle */
.remove-clients::-webkit-scrollbar-thumb {
    background: #8cd036;
}

/* Handle on hover */
.remove-clients::-webkit-scrollbar-thumb:hover {
    background: #8cd036;
}

/* CONTRACT CONTENT */

.im-table .head .order-by {
    cursor: pointer;
}

.order-by.active[order-way="asc"]::after {
    content: "\25bc";
    color: #8cd036;
}

.order-by.active[order-way="desc"]::after {
    content: '\25B2';
    color: #8cd036;
}

.contract-edit {
    display: flex;
    padding-bottom: 100px
}

.contract-edit .form-content {
    width: 90%;
}

.contract-edit .with-add-btn {
    right: 65px;
}

.contract-changes .show-contract-edits {
    color: red;
    margin-bottom: 10px;
    text-transform: uppercase;
    cursor: pointer;
}

.contract-edits {
    width: 100%;
}

.contract-edits th {
    text-transform: uppercase;
}

.contract-edits td,
.contract-edits th {
    border: 1px solid #dddddd;
    text-align: left;
    padding: 8px;
}

.contract-edit .edited-time {
    flex: 5
}

.contract-edit .edited-status {
    flex: 1
}

.contract-edit .small-add-btn {
    position: absolute;
    right: 0;
    height: 100%;
    z-index: 10;
}

.contract-excludes {
    margin-bottom: 20px;
}

.contract-exclude-row th {
    width: 100px;
    text-transform: uppercase;
    color: red;
}

.contract-exclude-row td {
    text-decoration: line-through;
}

.contract-exclude-row label {
    cursor: pointer;
    font-size: 17px;
    margin-left: -2px;
    padding: 1px 6px;
}

.contract-exclude-row.active th {
    color: green;
}

.contract-exclude-row.active td {
    text-decoration: none;
}


.contract-wrapper {
    width: 50%;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    border-radius: 8px;
    border: 1px solid #e7e7e7;
}

.contract-edit .form-wrapper {
    position: relative;
    width: 50%;
    z-index: 1;
}

.contract-edit .email {
    font-size: 13px;
    cursor: pointer;
}

.contract-edit .email.inactive {
    text-decoration: line-through;
    color: red;
}

.contract-edit .emails {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.contract-title {
    display: flex;
    flex-flow: row;
}

.contract-title h2 {
    font-size: 30px;
    margin-right: 10px;
}

.contract-title span {
    font-size: 30px;
    color: #34353a;
}

.contract-title span.name {
    line-height: 25px;
    margin-top: -5px;
}

.contract-content {
    margin: 20px;
}

.contract-item {
    margin-bottom: 20px;
}

.contract-item .name {
    font-size: 11px;
    margin-bottom: 5px;
    color: gray;
    display: flex;
    justify-content: space-between;
}

.contract-item .value {
    font-size: 20px;
}

.contract-form h2 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #8cd036;
    text-transform: uppercase;
}

.contract-client .value {
    display: flex;
    justify-content: space-between;
}

.contract-delete {
    position: absolute;
    font-size: 12px;
    top: 2px;
    left: -15px;
    cursor: pointer;
}

.contract-delete i {
    color: #e8e8e8;
    transition: .2s;
}

.contract-delete i:hover {
    color: red;
}

.contract-transport ul li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;

    position: relative;
}

.contract-transport ul li:not(:first-child) {
    padding-top: 5px;
    border-top: 3px dotted whitesmoke;
}

.contract-transport ul li:not(:first-child) .contract-delete {
    top: 6px;
}


.contract-quarries {
    padding: 5px;
    border-radius: 2px;
    border: 3px dotted whitesmoke;
    border-radius: 8px;
}

.contract-quarry {
    /*background: white;*/
    /*padding: 5px;*/
    /*border-radius: 2px;*/
    margin-bottom: 15px;
}

.contract-quarry:last-child {
    margin-bottom: 0px;
}

.contract-quarry .value {
    font-size: 27px;
    color: #34353a;
    padding: 5px 0px;
    flex: 2;
}

.contract-quarry .remove {
    cursor: pointer;
    align-self: center;
    font-size: 17px;
    margin-right: 10px;
    display: inline-block;
    padding: 2px;
    color: #e8e8e8;
    transition: .2s;
}

.contract-quarry .remove:hover {
    color: red;
}

.contract-quarry .options-btn {
    margin-left: 10px;
    border-radius: 6px;
    padding: 15px;
    cursor: pointer;
    transition: .2s;
    display: flex;
    align-items: center;
    background: #e8e8e8;
}

.contract-quarry .options-btn:hover {
    background: #cbcbcb;
}


.contract-fraction {
    margin-top: 5px;
    display: flex;
}

.contract-fraction.archived {
    opacity: .3;
    border: 2px solid #0014ff;
    border-radius: 8px;
}

.contract-fraction div {
    padding: 5px;
}

.contract-fraction .disabled {
    background: #fff;
}

.contract-fraction .value {
    font-size: 16px;
    align-self: center;
    padding: 11px;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

.contract-fraction .price,
.contract-fraction .value,
.contract-fraction .total {
    border: 1px solid #e3e3e3;
    border-right: none;
}

.contract-fraction .taken {
    border: 1px solid #e3e3e3;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

.contract-fraction .price,
.contract-fraction .total,
.contract-fraction .taken {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: space-between;
}

.contract-fraction .price input,
.contract-fraction .total input,
.contract-fraction .taken input {
    width: 100%;
    height: 100%;
    padding: 5px;
    border: none;
}

.contract-fraction .input-indicator {
    text-transform: uppercase;
    font-size: 10px;
    align-self: center;
}


.contract-fraction.live .value {
    flex: 3;
    font-size: 15px;
    font-weight: initial;
    padding: 7px;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

.contract-vehicle {
    display: flex;
    position: relative;
}

.contract-vehicle div {
    flex: 1;
    padding: 5px 0;
    margin-bottom: 5px;
}

.contract-vehicle .email {
    flex: 2;
    text-align: center;
}

.contract-vehicle.inactive .value,
.contract-vehicle.inactive .email,
.contract-vehicle.inactive .name {
    text-decoration: line-through;
}

.contract-transport .control,
.contract-vehicle .control {
    border: 1px solid #ececec;
    padding: 6px;
    text-align: center;
    cursor: pointer;
    transition: .2s;
    color: #ff7878;
}

.contract-vehicle .control:hover {
    background: #ececec;
}

.contract-fraction-destination {
    border: 1px solid #b9b9b9;
    border-radius: 8px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: .2s;
}

.contract-fraction-destination.active {
    background: #8cd036;
}

.contract-fraction-destination:hover {
    background: #9ad960;
}

.contract-footer {
    margin: 0 20px 20px;
}

.hide-contract {
    margin-left: 25%;
}

.status-switch {
    cursor: pointer;
}

.contract-notify {
    border: 1px solid #000000;
    color: #000000;
    text-transform: uppercase;
    cursor: pointer;
    padding: 6px;
    border-radius: 4px;
    text-align: center;
    margin-bottom: 10px;
    margin-left: 10px;
}

.contract-notify.yes {
    border: 1px solid #73b323;
    color: #73b323;
}

.contract-notify.no {
    border: 1px solid #ed030b;
    color: #ed030b;
}

/* .contract-edit .select2-container .select2-selection--single .select2-selection__rendered {
	min-width: 628px;
} */

.contract-emails .title {
    text-transform: capitalize;
    font-size: 14px;
    font-weight: bold;
}

.contract-emails .email {
    margin-left: 10px;
}

/* PAGE TOP CONTENT */

.page-top-bar {
    display: flex;
    background: #e0e0e0;
    align-items: center;
    margin-bottom: 40px;
}

.page-title {
    font-size: 20px;
    color: #999999;
    font-weight: 700;
}

.page-title h1 {
    margin-left: 15px;
    text-transform: uppercase;
}

.page-top-title {
    font-size: 24px;
    color: #252525;
    margin-top: 25px;
    margin-left: 18px;
}

.page-header-border {
    margin-top: 25px;
    margin-left: 20px;
    margin-right: 20px;
    border-bottom: 1px solid #e3e3e3;
}

/* LOADED CONTENT */

.page-border {
    border-bottom: 1px solid #e3e3e3;
}

.order-controls {
    display: flex;
    justify-content: space-between;
}

.order-controls .weight-calc-label {
    align-self: center;
}

.order-controls button {
    padding: 18px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
}

.order-controls .confirm-order-btn {
    background: #8cd036;
    color: #fff;
    font-family: "Open Sans";
}

.order-controls .extra-order-btn {
    background: #bdbdbd;
    color: #fff;
}

.order-controls .decline-order-btn {
    background: #e85050;
    color: #fff;
}

.loaded-content {
    margin-right: 20px;
    margin-bottom: 20px;
}

.loaded-content .order {
    display: flex;
    flex-wrap: wrap;
}

.loaded-content .order.border-bottom {
    border-bottom: 1px solid #e3e3e3;
    margin-bottom: 25px;
}


.loaded-content .outer-box {
    flex: 0 0 33.33%;
    max-width: 33.33%;
    min-height: 120px;
    padding: 10px 0;
}

.loaded-content .outer-box.info {
    flex: 0 0 66.66%;
    max-width: 66.66%;
    min-height: 120px;
}

.loaded-content .full-box {
    flex: 0 0 100%;
    max-width: 100%;
    min-height: 120px;
    margin-bottom: 10px;
}

.loaded-content .inner-box {
    display: flex;
    background: white;
    border-radius: 4px;
    height: 100%;
}

.loaded-content .icon {
    align-self: center;
    font-size: 40px;
    margin: 20px;
    color: #8cd036;
}

.loaded-content .inner-data {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-transform: uppercase;
    width: 100%;
}

.loaded-content .inner-data.full-data {
    width: 100%;
    text-transform: initial;
}

.loaded-content .heading {
    margin-bottom: 8px;
    font-size: 18px;
    color: #73b323;
    text-transform: capitalize;
}

.loaded-content .value {
    font-size: 18px;
    color: #252525;
    line-height: 25px;
    font-weight: 600;
    padding: 15px 0px;
}

.loaded-content .weight-input input {
    border: 1px solid #e7e7e7;
    border-radius: 8px;
    cursor: pointer;
    width: 125px;
    height: 60px;
    padding: 0px 29px 0px 10px;
    background: #ffffff;
    font-size: 18px;
}

.loaded-content .side button {
    margin-right: 10px;
}

/* --- TABLE INFO --- */

.table-info table {
    width: 100%;
}

.table-info tr {
    display: flex;
    align-items: center;
}

.table-info tr:not(:last-child) {
    margin-bottom: 20px;
}

.table-info td:first-child {
    flex: 1;
}

.table-info td:last-child {
    flex: 3;
}

.table-info .table-title {
    font-size: 18px;
    color: #252525;
}

.table-info .table-info-box {
    padding: 10px;
    border-radius: 8px;
}

.table-info .table-info-box .empty {
    text-transform: capitalize;
    font-style: italic;
    color: #929292;
    font-weight: 100;
}

.table-info .table-info-box.colored {
    background: #f4f4f4;
}

.table-info .table-info-box i {
    margin-left: 35px;
}

.table-info .status-level {
    padding: 5px 20px;
    font-weight: bold;
}

.table-info .radio-buttons {
    display: flex;
    flex-wrap: wrap;
}

.table-info .radio-buttons label {
    padding: 15px 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    color: #252525;
    font-weight: bold;
}

.table-info .radio-buttons .green-btn label {
    background: #e3ffa0;
}

.table-info .radio-buttons i {
    font-size: 24px;
    margin-right: 15px;
}

.table-info .radio-buttons .radiobtn {
    width: 33%;
}

.table-info .radio-buttons .radiobtn input[type="radio"]:checked + label {
    -webkit-animation-name: blink;
    animation-name: blink;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    border-color: #8cd036;
}

.table-info textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #e3e3e3;
    border-radius: 8px;
    font-size: 18px;
}

.fraction-test-btn i {
    color: #ababab;

}

.fraction-test-btn i.active {
    color: #70bd23;
}

.red-outline {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    border: 10px solid red;
    box-sizing: border-box;
    z-index: 999999; /* keep it above layout */
}

.animate__flash {
    animation: flash 1s ease both infinite;
}

@keyframes flash {
    0%, 50%, 100% {
        opacity: 1;
    }
    25%, 75% {
        opacity: 0;
    }
}


/* LOGS */
.log-form .form-input {
    border: none;
}

.log-cleardata {
    padding: 10px;
}

.log-cleardata b {
    font-weight: bold;
}

.log-cleardata .red {
    color: red;
}

.log-cleardata .green {
    color: green;
}

.log-cleardata .blue {
    background: #58ca56;
    color: white;
}

.log-cleardata .accepted-rfid {
    background: #58ca56;
    color: white;
}

.log-cleardata .error-rfid a,
.log-cleardata .error-rfid {
    background: #fd625f;
    color: white;
}

.log-cleardata .set-rfid {
    cursor: pointer;
    transition: .2s;
}

.log-cleardata .set-rfid:hover {
    background: #70ab72;
}


.log-table {
    width: 100%;
    border-top: 3px solid #ececec;
    border-bottom: 3px solid #ececec;
}

.log-table.incoming {
    background: #ffd96a;
}

.log-table.outgoing {
    background: rgba(139, 195, 74, 0.43);
}

.log-row:not(:first-child) {
    border-top: 1px solid #ececec;

}

.log-row td {
    padding: 5px;
}

.log-row td:not(:first-child) {
    border-left: 1px solid #ececec;
}


.log-row td.regno {
    cursor: pointer;
    transition: .2s;
    width: 100px;
}

.log-row td.regno:hover {
    background: white
}

.log-table .snapshot {
    width: 50%;
    cursor: pointer;
    display: flex;
    flex-wrap: wrap;
    float: left;
}

.log-table .snapshot img {
    width: 100%;
}

.log-table .snapshot.zoom {
    display: initial;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    z-index: 1;
    background: rgba(0, 0, 0, 0.7);
}

.log-table .manual-row {
    background: white;
}

/* --- CLIENT VIEW ------------------------------------------------------------ */
.client-view-blurred {
    filter: blur(4px);
    -webkit-transition: all 0.25s ease-in;
    transition: all 0.25s ease-in;
    visibility: visible;
}

.client-view-disabled:before {
    content: "";
    height: 100%;
    width: 100%;
    position: absolute;
    opacity: .1;
    z-index: 10;
    background: black;
}

.client-error-msg {
    display: flex;
    width: 100%;
    justify-content: center;
    align-self: center;
    z-index: 10;
}

.client-error-msg span {
    background: #8cd036;
    padding: 30px;
    text-transform: uppercase;
    color: white;
    font-size: 30px;
    box-shadow: 4px 4px 0px 0px #b3b3b3;
    cursor: pointer;
    transition: .3s;
}

.client-error-msg span:hover {
    box-shadow: 0px 0px 0px 0px #b3b3b3;
}


/* --- ADMIN PAGE --------------------------------------- */
.api-response div {
    border: 1px solid #e0e0e0;
    background: #e4e4e4;
    border-radius: 2px;
    color: #34353a;
    margin: 20px 0px;
    padding: 10px;
}

.admin-tools li {
    margin-top: 20px;
}

.admin-btn {
    text-decoration: underline;
    cursor: pointer;
    color: green;
    text-transform: uppercase;
    margin-right: 10px;
}


/* SIDEBAR OPEN & CLOSE */

.menu-toggle.close {
    width: 65px;
}

.sidebar.close {
    width: 65px;
}

.sidebar.close .sidenav i {
    font-size: 26px;
}

.sidebar.close .sidenav a {
    height: 50px;
}

.sidebar.close .sidenav span {
    display: none;
}

.sidebar.close .sidenav a {
    justify-content: center;
    padding: 0;
}

.sidebar.close .sidenav a i {
    margin: 0;
}


main.close,
main.close .module-container {
    margin-left: 65px;
}

.menu-toggle.close .logo {
    margin: 0;
}

.menu-toggle.close:after {
    right: -23px;
}

.menu-toggle.close .logo .logo-large {
    display: none;
}

.menu-toggle .logo .logo-small {
    display: none;
}

.menu-toggle.close .logo .logo-small {
    display: inline-block;
}

.menu-toggle .logo .logo-large,
.menu-toggle .logo .logo-small {
    mix-blend-mode: multiply;
}


/* --- SCROLLS ------------------------------------------------------------ */

.subbar-scroll {
    /* max-height: calc(100vh - 70px); */
    overflow-y: auto;
}

.orders .subbar-scroll {
    max-height: calc(100vh - 202px);
}

.orders .subbar-scroll::-webkit-scrollbar-thumb,
.orders .subbar-scroll::-webkit-scrollbar-track {
    border-radius: 8px;
}

.content-scroll {
    max-height: calc(100vh - 70px);
    overflow-y: auto;
}

.filterableTable.content-scroll {
    max-height: calc(100vh - 280px);
}


/* // disable hover on touch devices */
@media (hover: hover) {

    .sidenav a:hover {
        color: #fff;
    }

    .sub-controls li:hover {
        background: #eeeeee;
    }

    .subnav li:hover {
        background: #e4e4e4;
    }
}


/* --- MOBILE VIEWS ------------------------------------------------------------ */

/* iPad landscape view */
@media (max-width: 1200px) {
    .sidebar {
        /* max-height: calc(100vh - 120px); */
    }

    .subnav {
        max-height: calc(100vh - 199px);
    }

    .content-scroll {
        /* max-height: calc(100vh - 130px); */
        height: 100%;
    }

    .subbar.orders {
        flex: 3;
    }

    /* LOADED CONTENT */
    .content-header {
        margin-top: 25px;
        padding-bottom: 25px;
    }

    .loaded-content .outer-box {
        flex: 0 0 50%;
        max-width: 50%;
        min-height: 100px;
        padding: 10px 0;
    }

    .loaded-content .outer-box.info {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .loaded-content .icon {
        font-size: 30px;
        margin: 10px;
    }

    /* ORDERS LIST */
    .list-datetime {
        padding: 0 15px;
    }

    .sub-heading {
        height: 70px;
    }

    /* CONTRACT */
    .hide-contract {
        margin-left: 0;
        width: 100%;
    }


    .log-table .snapshot {
        height: 50px;
    }

    .log-table .snapshot.zoom {
        height: initial;
    }
}


@media (max-width: 1024px) {

    .module-container,
    main {
        flex-flow: row wrap;
    }

    .setting-table {
        max-width: 100%;
        justify-content: center;
    }

    .col {
        width: 50%;
    }

    /* ORDERS LIST */
    .subnav {
        max-height: calc(100vh - 238px);
    }

    /* ORDER */
    .confirm-again {
        margin-right: 10px;
    }

    .orders .subbar-scroll {
        /*max-height: calc(100vh - 210px);*/
    }

}

/* iPad portrait view */
@media (max-width: 900px) {
    .form-group {
        flex-flow: wrap;
    }

    .form-group h2 {
        margin-bottom: 20px;
    }

    .form-icon {
        font-size: 19px;
        width: 40px;
    }

    .sidebar {
        /* max-height: calc(100vh - 100px); */
    }

    .sub-heading li {
        padding: 10px;
    }

    .empty-message {
        font-size: 2em;
    }

    /* ORDER */
    .loaded-content .icon {
        display: none;
    }

    .loaded-content .value {
        font-size: 16px;
        line-height: 20px;
    }

    .loaded-content .inner-data {
        padding: 10px 10px;
    }

    .order-controls {
        flex-wrap: wrap;
    }

    .confirm-again {
        margin-bottom: 10px;
    }


    .module-container, main {
        /*flex-direction: column;*/
    }

    .col {
        width: 100%;
    }

    .orders .subbar-scroll {
        /*max-height: calc(50vh - 210px);*/
    }

    .content-scroll {
        height: 100%;
    }


    /* MOBILE BAR */
    main.close, main.close .module-container {
        margin-left: 0;
    }

    .sidebar.close {
        width: 0px;
    }

    .module-container, main {
        margin-left: 0;

    }

    .sidebar {
        z-index: 3;
    }

    .date-range-wrapper {
        flex-direction: column;
    }

    .select-data-wrapper {
        flex-wrap: wrap;
    }

    .table-settings {
        display: inline-block;
    }

}

/* phone portraid view */
@media (max-width: 600px) {

    .form-select-icon {
        display: none;
    }

    .table-search {
        height: 55px;
        width: 100%;
        margin-top: 15px;
    }

    .table-search input {
        width: 100%;
    }

}


/* UTILITIES */

/* ----------------- LOADING GIF */
.loading {
    background-color: lightgrey;
    height: 2px;
    margin: 1em;
    overflow: hidden;
    position: relative;
    /* width: 12em; */
    width: 100%;
}

.loading-bar {
    animation: side2side 2s ease-in-out infinite;
    background-color: dodgerblue;
    height: 100%;
    position: absolute;
    width: 50%;
}

@keyframes side2side {
    0%, 100% {
        transform: translateX(-50%);
    }
    50% {
        transform: translateX(150%);
    }
}

.loading.center {
    left: 50%;
    margin: 0;
    /* position: absolute; */
    position: relative;
    top: 50%;
    transform: translate(-50%, -50%);
}

.loading.top {
    position: absolute;
    width: 100%;
    margin: 0;
    z-index: 3;
    top: 0;
}

.loading.bottom {
    position: absolute;
    width: 100%;
    margin: 0;
    bottom: 0;
    z-index: 3;
}

/* ----------------- RADIO BUTTONS */

.radiobtn {
    position: relative;
    display: block;
}

.radiobtn label {
    display: flex;
    margin-bottom: 5px;
    cursor: pointer;
    border: 2px solid #ffffff;
    border-radius: 10px;
    background: #f6f6f6;
}

.radiobtn label i {
    margin: 0 10px;
}

/* .radiobtn label:after, .radiobtn label:before {
	content: "";
	position: absolute;
    right: 15px;
    top: 30%;
	width: 25px;
	height: 25px;
	border-radius: 3px;
	background: #8cd036;
} */
/* .radiobtn label:before {
	background: transparent;
	transition: 0.1s width cubic-bezier(0.075, 0.82, 0.165, 1) 0s, 0.3s height cubic-bezier(0.075, 0.82, 0.165, 2) 0.1s;
	z-index: 2;
	overflow: hidden;
	background-repeat: no-repeat;
	background-size: 18px;
	background-position: center;
	width: 0;
	height: 0;
	background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNS4zIDEzLjIiPiAgPHBhdGggZmlsbD0iI2ZmZiIgZD0iTTE0LjcuOGwtLjQtLjRhMS43IDEuNyAwIDAgMC0yLjMuMUw1LjIgOC4yIDMgNi40YTEuNyAxLjcgMCAwIDAtMi4zLjFMLjQgN2ExLjcgMS43IDAgMCAwIC4xIDIuM2wzLjggMy41YTEuNyAxLjcgMCAwIDAgMi40LS4xTDE1IDMuMWExLjcgMS43IDAgMCAwLS4yLTIuM3oiIGRhdGEtbmFtZT0iUGZhZCA0Ii8+PC9zdmc+);
} */
.vehicle .radiobtn label {
    padding: 20px 10px;
    background: #f9f9f9;
    border-radius: 3px;
    text-align: center;
    display: block;
}

.vehicle .radiobtn {
    width: 31%;
    float: left;
    margin: 3px;
}

.radiobtn input[type="radio"] {
    display: none;
    position: absolute;
    width: 100%;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.radiobtn input[type="radio"]:checked + label {
    -webkit-animation-name: blink;
    animation-name: blink;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    border-color: #8cd036;
}

.radiobtn input[type="radio"]:checked + label:after {
    background: #8cd036;
}

.radiobtn input[type="radio"]:checked + label:before {
    width: 25px;
    height: 25px;
}


/* ----------------- CORNER RIBBON */

.ribbon {
    position: absolute;
    right: -5px;
    top: -5px;
    z-index: 1;
    overflow: hidden;
    width: 75px;
    height: 75px;
    text-align: right;
}

.ribbon span {
    font-size: 10px;
    color: #fff;
    text-transform: uppercase;
    text-align: center;
    font-weight: bold;
    line-height: 20px;
    transform: rotate(45deg);
    width: 100px;
    display: block;
    background: #79A70A;
    background: linear-gradient(#9BC90D 0%, #79A70A 100%);
    box-shadow: 0 3px 10px -5px rgb(74, 74, 74);
    position: absolute;
    top: 19px;
    right: -21px;
}

.ribbon span::before {
    content: '';
    position: absolute;
    left: 0px;
    top: 100%;
    z-index: -1;
    border-left: 3px solid #79A70A;
    border-right: 3px solid transparent;
    border-bottom: 3px solid transparent;
    border-top: 3px solid #79A70A;
}

.ribbon span::after {
    content: '';
    position: absolute;
    right: 0%;
    top: 100%;
    z-index: -1;
    border-right: 3px solid #79A70A;
    border-left: 3px solid transparent;
    border-bottom: 3px solid transparent;
    border-top: 3px solid #79A70A;
}

.red span {
    background: linear-gradient(#F70505 0%, #8F0808 100%);
}

.red span::before {
    border-left-color: #8F0808;
    border-top-color: #8F0808;
}

.red span::after {
    border-right-color: #8F0808;
    border-top-color: #8F0808;
}

.blue span {
    background: linear-gradient(#2989d8 0%, #1e5799 100%);
}

.blue span::before {
    border-left-color: #1e5799;
    border-top-color: #1e5799;
}

.blue span::after {
    border-right-color: #1e5799;
    border-top-color: #1e5799;
}


/* ----------------- RIPPLE EFFECT */

/**
 * Component: Button
 * --------------------------------------------------
 */
.c-button {
    -webkit-appearance: none;
    position: relative;
    display: inline-block;
    vertical-align: middle;
    overflow: visible;
    color: #fff;
    font: inherit;
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
    text-align: center;
    letter-spacing: 1px;
    border: 0;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    box-shadow: 2px 2px 0 0 #d0d0d0;
    transition: all 0.2s ease;
}

.c-button:hover, .c-button:focus {
    outline: 0;
    text-decoration: none;
}

.c-button:not(:disabled) {
    cursor: pointer;
}

/**
 * Mixin: Button Modifier
 * --------------------------------------------------
 */
/**
 * Component: Button
 * Modifier: Purple
 * --------------------------------------------------
 */
.c-button--purple {
    background: #967ADC;
    text-shadow: 2px 2px 0 #7652d1;
}

.c-button--purple:hover {
    background: #8666d7;
}

/**
 * Component: Button
 * Modifier: Blue
 * --------------------------------------------------
 */
.c-button--blue {
    background: #4A89DC;
    text-shadow: 2px 2px 0 #276ecc;
}

.c-button--blue:hover {
    background: #357bd8;
}

/**
 * Component: Button
 * Modifier: Red
 * --------------------------------------------------
 */
.c-button--red {
    background: #E9573F;
    text-shadow: 2px 2px 0 #dc3519;
}

.c-button--red:hover {
    background: #e64328;
}

/**
 * Utility: Ripple
 * --------------------------------------------------
 */
.c-ripple {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: transparent;
}

.c-ripple__circle {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    opacity: 0;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
}

.c-ripple.is-active .c-ripple__circle {
    -webkit-animation: a-ripple .4s ease-in;
    animation: a-ripple .4s ease-in;
}

/**
 * Animation: Ripple
 * --------------------------------------------------
 */
@-webkit-keyframes a-ripple {
    0% {
        opacity: 0;
    }
    25% {
        opacity: 1;
    }
    100% {
        width: 200%;
        padding-bottom: 200%;
        opacity: 0;
    }
}

@keyframes a-ripple {
    0% {
        opacity: 0;
    }
    25% {
        opacity: 1;
    }
    100% {
        width: 200%;
        padding-bottom: 200%;
        opacity: 0;
    }
}


/* ----------------- ANIMATIONS */
.imjs-notifier {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-name: bounceInDown;
    animation-name: bounceInDown;
}

@-webkit-keyframes bounceInDown {
    from,
    60%,
    75%,
    90%,
    to {
        -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
        animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    }

    0% {
        opacity: 0;
        -webkit-transform: translate3d(0, -3000px, 0);
        transform: translate3d(0, -3000px, 0);
    }

    60% {
        opacity: 1;
        -webkit-transform: translate3d(0, 25px, 0);
        transform: translate3d(0, 25px, 0);
    }

    75% {
        -webkit-transform: translate3d(0, -10px, 0);
        transform: translate3d(0, -10px, 0);
    }

    90% {
        -webkit-transform: translate3d(0, 5px, 0);
        transform: translate3d(0, 5px, 0);
    }

    to {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
}

@keyframes bounceInDown {
    from,
    60%,
    75%,
    90%,
    to {
        -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
        animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    }

    0% {
        opacity: 0;
        -webkit-transform: translate3d(0, -3000px, 0);
        transform: translate3d(0, -3000px, 0);
    }

    60% {
        opacity: 1;
        -webkit-transform: translate3d(0, 25px, 0);
        transform: translate3d(0, 25px, 0);
    }

    75% {
        -webkit-transform: translate3d(0, -10px, 0);
        transform: translate3d(0, -10px, 0);
    }

    90% {
        -webkit-transform: translate3d(0, 5px, 0);
        transform: translate3d(0, 5px, 0);
    }

    to {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
}


/******* EXPERIMENTAL CAN DELETE ******/

.open-modal {
    color: #8cd036;
    cursor: pointer;
}

.open-modal:after {
    content: "\f067";
    font-family: FontAwesome;
    font-weight: normal;
    font-style: normal;
    text-decoration: none;
    margin-left: 5px;
}

.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 2; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0, 0, 0); /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
}

.modal .module-container {
    display: initial;
    flex-flow: row wrap;
    transition: .2s;
    margin-left: 150px;
    position: sticky;
    top: 70px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    z-index: 1;
}

/* Modal Content */
.modal-content {
    position: relative;
    background-color: #fbfbfb;
    margin: auto;
    padding: 0;
    width: 80%;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s;
    border-radius: 8px;
}

/* Add Animation */
@-webkit-keyframes animatetop {
    from {
        opacity: 0
    }
    to {
        opacity: 1
    }
}

@keyframes animatetop {
    from {
        opacity: 0
    }
    to {
        opacity: 1
    }
}

/* The Close Button */
.modal .close {
    color: rgb(80, 80, 80);
    font-size: 28px;
    font-weight: bold;
    padding: 10px;
    position: absolute;
    right: 0;
    top: 0;
}

.modal .close:hover,
.modal .close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.modal-header {
    padding: 10px 16px;
    background-color: #ffffff;
    color: black;
    text-align: center;
    font-size: 20px;
    border-bottom: 3px solid #dbdbdb;
    text-transform: uppercase;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.modal-body {
    padding: 2px 16px;
}

.modal-footer {
    padding: 2px 16px;
    background-color: #5cb85c;
    color: white;
}

.contract-set-favorite {
    padding: 20px;
    cursor: pointer;
}

.contract-set-favorite i {
    font-size: 20px;
    margin: 0 auto;
}

/* --- FLEX GRID --- */
.flex-grid {
    display: flex;
}

.flex-col-1 {
    flex: 1;
}

.flex-col-2 {
    flex: 2;
}

.flex-col-3 {
    flex: 3;
}

/* --- GRID SYSTEM --- */
.grid-outer {
    background: #e2e2e2;
    padding: 5px 5px 5px 5px;
    margin-bottom: 10px;
    border-radius: 2px;
}

.grid-inner {
    background: white;
    padding: 5px;
    margin-bottom: 5px;
    display: flex;
    border-radius: 2px;
}

.grid-inner:last-child {
    margin-bottom: 0px;
}

.grid-item {
    width: 100%;
}

.grid-item.grid-title {
    font-weight: bold;
    text-transform: uppercase;
}

.grid-item.center {
    text-align: center;
}

.grid-item.grid-status {
    border-radius: 2px;
    color: black;
}

.grid-item.grid-2 {
    width: 20%;
}

.grid-item.grid-3 {
    width: 30%;
}

.grid-item.grid-4 {
    width: 40%;
}

.grid-item.grid-5 {
    width: 50%;
}

.grid-item.grid-6 {
    width: 60%;
}

.grid-item.grid-7 {
    width: 70%;
}

.grid-item.grid-8 {
    width: 80%;
}

.grid-item.grid-9 {
    width: 90%;
}

.grid-item.grid-10 {
    width: 100%;
}


/* --- DIV TABLE SYSTEM --- */

.is-striped {
    background-color: rgba(233, 200, 147, 0.2);
}

/* Table column sizing
================================== */
.cell-length-5 {
    width: 5%;
}

.cell-length-7 {
    width: 7%;
}

.cell-length-10 {
    width: 10%;
}

.cell-length-20 {
    width: 20%;
}

/* Apply styles
================================== */
.Rtable {
    display: flex;
    flex-wrap: wrap;
    margin: 0 0 15px 0;
    padding: 0;
}

.Rtable .Rtable-row {
    width: 100%;
    display: flex;
    border-radius: 2px;
}

.Rtable .Rtable-row .Rtable-cell {
    box-sizing: border-box;
    flex-grow: 1;
    padding: 0.3em 0.6em;
    overflow: hidden;
    list-style: none;
    display: flex;
}

.Rtable .Rtable-row.row-striped .Rtable-cell {

    background: #f4f4f4;
}

.Rtable .Rtable-row .Rtable-cell.column-heading {
    background-color: #252525;
    color: #ffffff;
    padding: 1em;
    cursor: pointer;
    position: relative;
}

.Rtable .Rtable-row--footer .Rtable-cell.column-heading {
    border-top: 1px solid #e3e3e3;
    background-color: #ffffff;
    color: #252525;
}

.Rtable .Rtable-row--head .Rtable-cell.column-heading:first-child {
    border-top-left-radius: 8px;
}

.Rtable .Rtable-row--head .Rtable-cell.column-heading:last-child {
    border-top-right-radius: 8px;
}

.Rtable .Rtable-row--footer .Rtable-cell.column-heading:first-child {
    border-bottom-left-radius: 8px;
}

.Rtable .Rtable-row--footer .Rtable-cell.column-heading:last-child {
    border-bottom-right-radius: 8px;
}

.Rtable .Rtable-row .Rtable-cell .Rtable-cell--heading {
    display: none;
}

.Rtable .Rtable-row .Rtable-cell .Rtable-cell--content {
    display: flex;
    align-items: center;
}

.Rtable .Rtable-row .Rtable-cell .Rtable-cell--content a {
    font-size: 1.5em;
    color: #8cd036;
}

.Rtable .Rtable-row .Rtable-cell .Rtable-cell--content .webinar-date {
    font-weight: 700;
}

.Rtable-row-wrapper {
    width: 100%;
}

.Rtable-row-wrapper .Rtable-row {
    transition: .2s;
    background: #ffffff;
    padding: 4px;
}

.Rtable-row-wrapper .Rtable-row:hover .Rtable-cell {
    background: rgb(219, 219, 219);
}

.Rtable-cell--content.wrapped-name {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.send-invoice {
    color: rgba(140, 208, 54, 0.60);
    cursor: pointer;
    font-size: 20px;
    float: right;
}

.send-invoice:hover {
    color: rgba(140, 208, 54, 1);
}

.show-order-comment {
    color: rgba(140, 208, 54, 0.60);
    cursor: pointer;
    font-size: 20px;
}

.show-order-comment:hover {
    color: rgba(140, 208, 54, 1);
}

.no-results {
    text-align: center;
    padding: 30px;
    font-size: 20px;
}

.full-alert {
    color: red;
    margin-right: 10px;
    font-size: 20px;
}

/* --- MODAL SIDE CONTENT --- */

.modal-side-content {
    position: fixed;
    background: #ffffff;
    left: 60%;
    overflow: auto;
    height: 100%;
    z-index: 20;
    padding: 5px 40px;
    width: 40%;
}

.modal-side-content .table-info {
    flex: 20;
}

.modal-side-content .loaded-content {
    flex-direction: column;
    height: 100%;
    display: flex;
}

.modal-side-content .content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-side-content .content-header h1 {
    margin-left: 0;
}

.modal-side-content .content-header {
    border-bottom: 1px solid gainsboro;
}

.modal-side-content .loaded-content {
    margin: 0;
}

.modal-side-content-bg {
    background: rgb(0 0 0 / 40%);
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
}

.x-button {
    background: #f6f6f6;
    width: 34px;
    height: 34px;
    border-radius: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: .2s;
}

.x-button:before {
    content: "";
    transform: rotate(45deg);
    display: inline-block;
    width: 12px;
    height: 2px;
    background: #000000;
    position: absolute;
}

.x-button:after {
    content: "";
    transform: rotate(315deg);
    display: inline-block;
    width: 12px;
    height: 2px;
    background: #000000;
}

.x-button:hover {
    background: #dedede;
}

.modal-side-content-footer {
    margin-top: 20px;
    border-top: 1px solid gainsboro;
    padding-top: 20px;
    padding-bottom: 10px;
    display: flex;
    justify-content: space-between;
}

.modal-side-content-btn {
    padding: 15px 25px;
    border: 1px solid #e3e3e3;
    border-radius: 8px;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-transform: capitalize;
    cursor: pointer;
}

.modal-side-content-btn i {
    margin-left: 10px;
}

.modal-close-btn {
    background: #f2f2f2;
    transition: .2s;
}

.modal-close-btn:hover {
    background: #e0e0e0;
}

.modal-general-btn {
    padding: 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: .2s;
}

.modal-general-btn:hover {
    background: #00a6ff;
}

.modal-general-btn.active {
    background: #00a6ff;
}

.modal-action-btn {
    color: #ffffff;
    background: #000000;
}

.modal-side-content .order-controls {
    border-bottom: 1px solid #e3e3e3;
    padding-bottom: 25px;
    width: 100%;
}

.modal-side-content .loader-weight-calc-wrapper:after {
    content: "t";
    position: relative;
    right: 22px;
    color: #929292;
    font-size: 18px;
}

.modal-side-content .kg-calc-wrapper:after {
    content: "kg";
    position: relative;
    right: 30px;
    color: #929292;
    font-size: 18px;
}

.modal-side-content .equal-sign {
    font-weight: bold;
    font-size: 18px;
    margin-right: 8px;
    color: #252525;
}

.desktop-hide {
    display: none;
}

.open-report-btn {
    border: 1px solid #e5e5e5;
    background: white;
    padding: 10px;
    border-radius: 4px;
    position: fixed;
    bottom: 10px;
    right: 20px;
}

.opening-balance-date {
    color: gray;
    font-size: 12px;
    margin-top: 10px;
}

/* INVENTORY GRID */
.inventory-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
    padding: 5px;
    max-width: 400px;
    background-color: #f9f9f9;
}

.inventory-row {
    display: contents;
}

.inventory-key, .inventory-value {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px;
    background-color: #e0e0e0;
    text-align: center;
    min-height: 40px;
}

.inventory-key {
    font-weight: bold;
}

.inventory-key.primary {
    background-color: #c4c4c4;
}

.inventory-value.bg-green {
    background: #8bce37;
}

.inventory-value.bg-red {
    background: #b32328;
    color: #ffffff;
}

/* Responsive
==================================== */
@media all and (max-width: 1200px) {
    .Rtable .Rtable-row .Rtable-cell {
        padding: 1px;
    }

    .modal-side-content {
        left: 30%;
        width: 70%;
    }

    .im-table tr.row > td {
        padding: 0px 5px !important;
    }

    .side-by-side-inputs .form-input:first-child {
        margin-bottom: 20px;
        margin-right: 0px !important;
    }
}

@media all and (max-width: 1000px) {

    .side-by-side-inputs .form-input:first-child {
        margin-bottom: 0px;
        margin-right: 20px !important;
    }

    .mobile-hide {
        display: none;
    }

    .is-striped {
        background-color: white;
    }

    .Rtable--collapse {
        display: block;
        width: 100%;
        padding: 10px 0;
        box-shadow: none;
    }

    .Rtable-cell--content.title-content {
        background: #8cd036;
        font-size: 20px;
        padding: 10px;
        color: white;
    }

    .Rtable--collapse .Rtable-row {
        box-sizing: border-box;
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        margin-bottom: 2em;
        background: #f7f7f7;
    }

    .Rtable--collapse .Rtable-row .Rtable-cell {
        width: 100% !important;
        display: flex;
        align-items: center;
    }

    .Rtable--collapse .Rtable-row .Rtable-cell .Rtable-cell--heading {
        display: inline-block;
        flex: 1;
        max-width: 100px;
        min-width: 100px;
        color: #34353a;
        font-weight: 700;
        border-right: 1px solid #ccc;
        margin-right: 1em;
        margin-left: 22px;
    }

    .Rtable--collapse .Rtable-row .Rtable-cell .Rtable-cell--content {
        flex: 2;
        padding-left: 1em;
    }

    .Rtable--collapse .topic-cell {
        background-color: #43BAC0;
        color: white;
        font-weight: 700;
        order: -1;
    }

    .Rtable--collapse .topic-cell .Rtable-cell--content {
        padding-left: 0 !important;
    }

    .Rtable--collapse .Rtable-row--head {
        display: none;
    }

    .table-with-filters {
        flex-wrap: wrap;
    }

    .filter-bar-mobile {
        margin-right: 0;
        width: 100%;
        max-width: 100%;
        margin-bottom: 50px;
    }

    .report-control label {
        min-width: 50%;
    }

    .filterableTable.content-scroll {
        max-height: 100%;
    }

    .hide-mobile {
        display: none !important;
    }

    .list-info {
        /*flex-direction: column;*/
        align-items: flex-start;
        flex-wrap: wrap;
    }

    /** MAKSETABEL MOBILE **/
    .input-title-wrapper {
        padding-right: 0;
        margin-right: 0px !important;
        width: 100%;
    }

    .production-container .input-title-wrapper {
        margin-top: 10px;
    }

    .input-title-wrapper input {
        width: 100%;
    }

    .final-confirmation-check-container {
        display: none !important;
    }

    .Rtable--collapse .Rtable-row .Rtable-cell .Rtable-cell--content {
        padding-left: 5px !important;
    }

    .Rtable--collapse .Rtable-row .Rtable-cell .Rtable-cell--heading {
        display: inline-block;
        flex: 1;
        max-width: 90px;
        min-width: 90px;
        color: #34353a;
        font-weight: 700;
        border-right: 1px solid #ccc;
        margin-right: 0.5em;
        margin-left: 5px;
    }

    .modal-side-content {
        left: 0%;
        width: 100%;
    }

    .modal-side-content {
        padding: 5px 10px;
    }

    .Rtable-cell--content i {
        padding: 10px 0;
    }

    .table-search {
        height: 40px;
    }

    .desktop-hide {
        display: inline-block;
    }


    main.close .print-report-wrapper {
        left: 0px;
    }

    .general-report,
    .print-report-content {
        flex-direction: column;
    }

    .print-report-content .form-input {
        width: 100%;
        margin: 10px 0;
    }

    .get-report-grossweight {
        padding: 10px;
        margin-top: 15px;
    }

    .total-weight-report {
        margin-left: 0;
    }

    .total-weight-report ul {
        margin-top: 20px;
    }

    .yearly-report {
        flex-direction: column;
        width: 100%;
    }

    .yearly-report .table-text-input {
        width: 100%;
    }

    .yearly-report .year-input {
        width: 100%;
    }

    .yearly-report-content {
        margin-right: 0;
        width: 100%;
        margin-top: 10px;
    }

    .yearly-report-months-wrapper {
        z-index: 1;
    }

    .print-report-wrapper {
        display: none;
    }

    .remove-clients label {
        margin-top: 20px;
    }

    .print-report-content .select2-container--kiiusoon {
        width: 100% !important;
    }

    .select2-container .select2-selection--single .select2-selection__rendered {
        width: 100% !important;
    }

    .add-production-grid-2 {
        margin: 0;
    }

}

.no-flexbox .Rtable {
    display: block;
}

.no-flexbox .Rtable.Rtable-cell {
    width: 100%;
}

.btn-sweet-confirm {
    background-color: #8bce37;
    color: white;
}

.btn-sweet-deny {
    background-color: #e5b300;
    color: white;
}

.btn-sweet-cancel {
    background-color: gray;
    color: white;
}

/* --- CHECKBOX --- */

.checkbox-container input[type=checkbox] {
    height: 0;
    width: 0;
    visibility: hidden;
}

.checkbox-container label {
    cursor: pointer;
    width: 55px;
    height: 30px;
    background: grey;
    display: block;
    border-radius: 100px;
    position: relative;
}

.checkbox-container label:after {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 90px;
    transition: 0.3s;
}

.checkbox-container input:checked + label {
    background: #8cd036;
}

.checkbox-container.red-bg input:checked + label {
    background: #d03636;
}

.checkbox-container input:checked + label:after {
    left: calc(100% - 5px);
    transform: translateX(-100%);
}

.checkbox-container label:active:after {
    width: 40px;
}

/* --- REGULAR - RADIOBUTTON --- */


/* Customize the label (the container) */
.regular-radio-container {
    display: block;
    position: relative;
    padding-left: 35px;
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide the browser's default radio button */
.regular-radio-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Create a custom radio button */
.regular-radio-container .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #f4f4f4;
    border-radius: 50%;
    border: 1px solid #e7e7e7;
}

/* On mouse-over, add a grey background color */
.regular-radio-container:hover input ~ .checkmark {
    background-color: #ccc;
}

/* When the radio button is checked, add a blue background */
.regular-radio-container input:checked ~ .checkmark {
    background-color: #f4f4f4;
}

/* Create the indicator (the dot/circle - hidden when not checked) */
.regular-radio-container .checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the indicator (dot/circle) when checked */
.regular-radio-container input:checked ~ .checkmark:after {
    display: block;
}

/* Style the indicator (dot/circle) */
.regular-radio-container .checkmark:after {
    top: 3px;
    left: 3px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: black;
}

/** ---------------- LOGS ------------------ **/


.admin-logs table.table {
    width: 100%;
}

.admin-logs .table th, .table td {
    text-align: left;
    padding: 0.25em;
}

.admin-logs .table tr {
    border-bottom: 1px solid #DDD;
}

.admin-logs td.edit-buttons {
    text-align: right;
}

.admin-logs button {
    border-radius: 3px;
    border: none;
    margin: 0 0.25em;
    transition: all 0.3s;
}

.admin-logs button:hover {
    box-shadow: 0 0 4px rgba(3, 3, 3, 0.8);
    opacity: 0.9;
}

.admin-logs button.edit {
    background: #6F9;
}

.admin-logs button.delete {
    background: #F69;
}

@media screen and (max-width: 800px) {
    .admin-logs tr {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        margin: 0.5em 0;
        border: 1px solid rgba(3, 3, 3, 0.2);
    }

    .admin-logs td, .admin-logs th {
        flex: 1 1 150px;
        border: 0.5px solid rgba(3, 3, 3, 0.2);
    }

    .admin-logs td.edit-buttons, .admin-logs td.empty {
        /*flex: 1 0 90%;
        text-align: center;*/
    }
}

