html {
    color: #3c3c3b;
    position: relative;
    min-height: 100%;
}

body {
    padding-bottom: 60px; /* Margin bottom by footer height */
    color: #3c3c3b !important;
    max-height: 100vh;
    max-height: calc(var(--vh, 1vh) * 100);
    min-height: 100vh;
    min-height: calc(var(--vh, 1vh) * 100);
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
    overflow-x: hidden;
    overflow-y: hidden;
    -webkit-touch-callout: none !important; /* iOS Safari */
    -webkit-user-select: none !important; /* Safari */
    -khtml-user-select: none !important; /* Konqueror HTML */
    -moz-user-select: none !important; /* Firefox */
    -ms-user-select: none !important; /* Internet Explorer/Edge */
    user-select: none !important; /* Non-prefixed version, currently supported by Chrome and Opera */
}

#container {
    height: 100%;
    overflow-y: scroll;
}

#footer {
    border-color: #d6d6d7 !important;
    background-color: #d6d6d7 !important;
    color: #3c3c3b !important;
    width: 100%;
    height: 60px; /* Set the fixed height of the footer here */
    line-height: 60px; /* Vertically center the text there */
    z-index: 9001;
}

#header {
    border: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 17px;
    -webkit-box-shadow: 0 0 10px #888888;
    -moz-box-shadow: 0 0 10px #888888;
    box-shadow: 0 0 10px #888888;
}

.center {
    text-align: center;
}

.left {
    text-align: left;
}

.right {
    text-align: right;
}

.modal-content {
    -webkit-border-radius: 0 !important;
    -moz-border-radius: 0 !important;
    border-radius: 0 !important;
}

.btn-default {
    color: #f19000 !important;
    background-color: #fff !important;
    border: 1px solid #d6d6d7;
}

.btn-default:hover {
    color: #f19000 !important;
    background-color: #d6d6d7 !important;
    border: 1px solid #adadad !important;
}

#login-page-container {
    width: 500px;
    border: 1px solid #d6d6d7;
    background: none;
    padding: 15px;
    display: inline-block;
}

.div-table {
    height: 100%;
    width: 100%;
    display: table;
}

.div-table-cell {
    display: table-cell;
}

.middle {
    vertical-align: middle;
}

.img_menu {
    background-color: #d6d6d7;
    min-height: 200px;
    padding-top: 20px;
    padding-bottom: 31px;
    cursor: pointer;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-origin: content-box;
}

.label_menu {
    font-size: 12px;
    background-color: white;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    position: absolute;
    top: 170px;
    width: 100%;
    padding-right: 30px;
}

.clickable_image {
    cursor: pointer;
    padding-top: 7px;
    padding-right: 0;
}

.fl-right {
    float: right;
}

.fl-left {
    float: left;
}

.ui-keyboard-text {
    font-size: 20px;
}

.modal-custom {
    width: 25%;
    position: fixed;
    bottom: 0 !important;
    right: 0 !important;
    margin: 0 !important;
    display: block !important;
}

.hidden {
    display: none;
}

.dataTables_length {
    display: none !important;
}

.dataTables_filter {
    display: none !important;;
}

.dataTables_info {
    display: none !important;;
}

.no-sort::after {
    display: none !important;
}

.no-sort::before {
    display: none !important;
}

.no-sort {
    pointer-events: none !important;
    cursor: default !important;
    background-image: none !important;
}

.row_odd {
    background-color: #f3f3f3 !important;
}

.row_external {
    background-color: #d3d3d3 !important;
}

.row_even {
    background-color: #ffffff !important;
}

.row_odd:hover {
    background-color: #ececec !important;
}

.row_even:hover {
    background-color: #ececec !important;
}

.nopadlr {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.red-text {
    color: red;
}

.fake-disabled {
    background-color: #fff !important;
    border: 0;
}

.dataTable > thead > tr > th, .dataTable > tbody > tr > td {
    font-size: 13px;
}

table.dataTable > thead > tr > th, table.dataTable > tbody > tr > td {
    padding: 4px 10px !important;
}

table.dataTable > thead > tr > th {
    text-transform: uppercase;
}

table.dataTable.no-footer {
    border-bottom: none !important;
}

.dataTables_scrollBody > table > thead {
    display: none;
}

.quantity_control, .update_quantity_control {
    display: inline;
    width: 100px;
    text-align: center;
}

.button_quantity_control {
    width: 46px;
    vertical-align: initial !important;
    box-shadow: none !important;
}

.button_quantity_control_lg {
    width: 56px;
    vertical-align: initial !important;
    box-shadow: none !important;
}

.form-control:focus {
    box-shadow: none !important;
}

.column_qt_control {
    width: 310px;
}

.wondel_order_detail {
    width: 20px;
}

.inner_table {
    width: 100%;
    border: 1px solid gainsboro;
}

.inner_table thead tr th {
    border-bottom: 0;
}

table.dataTable tbody th, table.dataTable tbody td {
    padding: 4px 10px;
}

.text-highlight {
    color: #f19000;
    cursor: pointer;
}

.voceMenu {
    padding-left: 5px;
    padding-right: 5px;
    position: relative;
    width: 170px;
}

.vocePrimaria a {
    color: #FFF;
}

.voceMenu:hover {
    cursor: pointer;
}

.voceMenu > div {
    padding: 5px 26px;
    text-align: center;
}

.voceMenu img {
    padding-right: 5px;
}

.voceMenu img, .voceMenu span {
    vertical-align: middle;
}

.voceMenu span {
    /*text-transform: uppercase;*/
    font-size: 13px;
}

.select {
    background-image: url(../img/down-arrow.png);
    background-repeat: no-repeat;
    background-position: 95% 50%;
    background-size: 9px;
}

.voceMenu:hover .subMenu {
    display: block;
}

.subMenu {
    display: none;
    position: absolute;
    min-width: 200px;
    margin: 0 5px 0 5px;
    max-width: 200px;
    right: 0;
    background-color: white;
    border: 1px solid gainsboro;
    padding: 0 !important;
    z-index: 9999999999999999999;
}

.voce_subMenu {
    font-weight: normal !important;
    font-size: 16px;
    padding: 5px 0px;
}

.voce_subMenu:hover {
    background-color: gainsboro;
}

.subMenu a {
    display: block;
    text-align: left;
}

.subMenu a:hover {
    background-color: gainsboro;
}

.sorting_1 {
    background-color: unset !important;
}

.sorting_2 {
    background-color: unset !important;
}

.sorting_3 {
    background-color: unset !important;
}

/***
	Material Design Switches for Bootstrap 4 and Material Design Bootstrap (MDB)
	by djibe
	JSFiddle : https://jsfiddle.net/djibe89/9deak9dh/
***/

.material-switch > input[type="checkbox"] {
    display: none;
}

.material-switch > label {
    cursor: pointer;
    height: 0px;
    position: relative;
    top: 2px;
    width: 40px;
}

.material-switch > label::before {
    background: rgb(0, 0, 0);
    box-shadow: inset 0px 0px 10px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    content: '';
    height: 16px;
    margin-top: -8px;
    position: absolute;
    opacity: 0.3;
    transition: all 0.4s ease-in-out;
    width: 40px;
}

.material-switch > label::after {
    background: rgb(255, 255, 255);
    border-radius: 16px;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
    content: '';
    height: 24px;
    left: -4px;
    margin-top: -8px;
    position: absolute;
    top: -4px;
    transition: all 0.3s ease-in-out;
    width: 24px;
}

.material-switch > input[type="checkbox"]:checked + label::before {
    background: inherit;
    opacity: 0.5;
}

.material-switch > input[type="checkbox"]:checked + label::after {
    background: inherit;
    left: 20px;
}

.primary-color {
    background-color: #4285F4 !important;
}

.bootstrap-select {
    display: block !important;
    height: calc(1.5em + .75rem + 2px) !important;
    border: 1px solid #ced4da !important;
}

.btn-light {
    color: #495057;
    background-color: white;
    border: 0;
}

.btn-light:hover {
    background-color: white;
}

.bootstrap-select > .dropdown-toggle.bs-placeholder, .show > .btn-light.dropdown-toggle {
    background-color: white;
}

.form-control[readonly] {
    background-color: white;
    cursor: not-allowed;
}

.form-control:disabled {
    background-color: #e9ecef !important;
}

.btn-light.focus, .btn-light:focus, .btn-light:not(:disabled):not(.disabled).active, .btn-light:not(:disabled):not(.disabled):active, .show > .btn-light.dropdown-toggle {
    background-color: white;
}

#edit-attatchment_file_label {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

#edit-delegation_file_label {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.dashboard_block {
    background-color: #d6d6d7;
    min-height: 160px;
    padding: 0;
}

.dashboard_text {
    text-align: center;
    font-size: 20px;
    padding-top: 30px;
}

.dashboard_text_big {
    text-align: center;
    font-size: 60px;
    padding-top: 30px;
}

.dashboard_text_small {
    text-align: center;
    font-size: 30px;
    padding-top: 30px;
}

.dashboard_text_smaller {
    text-align: center;
    font-size: 25px;
    padding-top: 30px;
}

.dashboard_label {
    font-size: 15px;
    background-color: white;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    position: absolute;
    top: 125px;
    width: 100%;
    padding-right: 30px;
}

#legend {
    font-family: monospace;
    margin-bottom: 20px;
}

#legend > .form-group {
    margin-bottom: 0;
}

.substitute {
    border: 1px solid gainsboro;
    text-align: left;
    padding-top: calc(.25rem + 1px);
    padding-bottom: calc(.25rem + 1px);
}

.placeholder {
    font-weight: bold;
    border: 1px solid gainsboro;
    text-align: right;
}

.stepwizard-step p {
    margin-top: 10px;
}

.stepwizard-row {
    display: table-row;
}

.stepwizard {
    display: table;
    width: 100%;
    position: relative;
}

.stepwizard-step button[disabled] {
    opacity: 1 !important;
    filter: alpha(opacity=100) !important;
}

.stepwizard-row:before {
    top: 25px;
    bottom: 0;
    position: absolute;
    content: " ";
    width: 100%;
    height: 1px;
    background-color: #ccc;
    z-order: 0;

}

.stepwizard-step {
    display: table-cell;
    text-align: center;
    position: relative;
    width: 25%;
}

.btn-circle {
    width: 45px;
    height: 45px;
    line-height: 45px;
    text-align: center;
    padding: 0;
    border-radius: 50%;
}

.btn-circle i {
    position: relative;
    top: -1px;
}

.btn-circle-sm {
    width: 35px;
    height: 35px;
    line-height: 35px;
    font-size: 0.9rem;
}

.btn-circle-lg {
    width: 55px;
    height: 55px;
    line-height: 55px;
    font-size: 1.1rem;
}

.btn-circle-xl {
    width: 70px;
    height: 70px;
    line-height: 70px;
    font-size: 1.3rem;
}

.btn-circle.btn-outline-secondary {
    background-color: white;
}

.btn-circle.btn-outline-secondary:hover {
    color: #6c757d;
}

.btn-circle:focus {
    box-shadow: 0 0 0 0 transparent !important;
}

.btn-circle:disabled {
    cursor: default;
}

.parent_flex {
    display: -webkit-box; /* OLD - iOS 6-, Safari 3.1-6 */
    display: -moz-box; /* OLD - Firefox 19- (buggy but mostly works) */
    display: -ms-flexbox; /* TWEENER - IE 10 */
    display: -webkit-flex; /* NEW - Chrome */
    display: flex; /* NEW, Spec - Opera 12.1, Firefox 20+ */
}

.child_flex {
    -webkit-box-flex: 1; /* OLD - iOS 6-, Safari 3.1-6 */
    -moz-box-flex: 1; /* OLD - Firefox 19- */
    width: 20%; /* For old syntax, otherwise collapses. */
    -webkit-flex: 1; /* Chrome */
    -ms-flex: 1; /* IE 10 */
    flex: 1; /* NEW, Spec - Opera 12.1, Firefox 20+ */
}

.break-word {
    word-wrap: break-word;
}

input {
    -webkit-border-radius: 0 !important;
    -moz-border-radius: 0 !important;;
    border-radius: 0 !important;;
}

.pointer {
    cursor: pointer;
}

/***
	Material Design Switches for Bootstrap 4 and Material Design Bootstrap (MDB)
	by djibe
	JSFiddle : https://jsfiddle.net/djibe89/9deak9dh/
***/

.material-switch > input[type="checkbox"] {
    display: none;
}

.material-switch > label {
    cursor: pointer;
    height: 0px;
    position: relative;
    top: 2px;
    width: 40px;
}

.material-switch > label::before {
    background: rgb(0, 0, 0);
    box-shadow: inset 0px 0px 10px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    content: '';
    height: 16px;
    margin-top: -8px;
    position: absolute;
    opacity: 0.3;
    transition: all 0.4s ease-in-out;
    width: 40px;
}

.material-switch > label::after {
    background: rgb(255, 255, 255);
    border-radius: 16px;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
    content: '';
    height: 24px;
    left: -4px;
    margin-top: -8px;
    position: absolute;
    top: -4px;
    transition: all 0.3s ease-in-out;
    width: 24px;
}

.material-switch > input[type="checkbox"]:checked + label::before {
    background: inherit;
    opacity: 0.5;
}

.material-switch > input[type="checkbox"]:checked + label::after {
    background: inherit;
    left: 20px;
}

.red-marker {
    color: #ff0033 !important;
}

.red-marker:hover {
    color: #ff0033 !important;
}

.green-marker {
}

.actions-btn {
    border: 1px solid gainsboro;
}

.small-col {
    max-width: 50px;
}

.med-col {
    max-width: 100px;
}
