:root {
    /* --cls-color: #9b1432; */
    --cls-color: #000;
    --cls-sec-color: #EEEEf8f9faEE;
    --cls-size: 5rem;
    --cls-margin: 1rem;
    --cls-speed: 2s;
}

.cls-spinner {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    position: absolute;
    box-sizing: border-box;
}

/* Safari */

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.overlay {
    /* Height & width depends on how you want to reveal the overlay (see JS below) */
    display: none;
    height: 100%;
    width: 100%;
    position: fixed;
    /* Stay in place */
    z-index: 1051;
    /* Sit on top */
    left: 0;
    top: 0;
    background-color: rgba(0, 0, 0, 0.6);
    /* Black w/opacity */
    overflow-x: hidden;
    /* Disable horizontal scroll */
    transition: 0.5s;
    /* 0.5 second transition effect to slide in or slide down the overlay (height or width, depending on reveal) */
}

*:focus,
*:active {
    outline: none;
}

ul,
ol {
    padding: 0;
    margin-bottom: 0;
}

ul li,
ol li {
    list-style-type: none;
}

textarea {
    resize: none;
    border-radius: 4px;
    border: 1px solid #ced4da;
}

textarea,
input[type="text"],
input[type="button"],
input[type="submit"],
a {
    -webkit-appearance: none!important;
}

input[type=checkbox],
input[type=radio] {
    transform: scale(1.3);
    cursor: pointer;
}

input[type="file"] {
    background: transparent;
    border: 0;
}

a:focus,
a:active {
    outline: none;
    box-shadow: none!important;
}

.btn-primary.disabled,
.btn-primary:disabled {
    background: #fff;
    border-color: #ced4da;
    color: #4c4c4c;
}


.nav a,
.pos-f-t a,
a:not([href]):not([tabindex]) {
    color: #fff;
}

a:not([href]):not([tabindex]):hover {
    color: #fff;
}

.existing-permissions a:not([href]):not([tabindex]) {
    color: black;
}

.login-container {
    display: flex;
    max-width: 100%;
    justify-content: center;
    align-items: center;
}

.forgot-pass-link {
    margin-left: 21%;
    color: #808080;
    text-decoration: none;
}

.invalid-feedback {
    background-color: rgba(255,255,255,.8);
    border-radius: 2px;
    padding: 2px 23px;
    color: #9b1432;
    margin-top: .7rem;
    display: block;
    margin-bottom: 1rem;
    text-align: center;
}

.green-cell, .green-cell .sorting_1 {
    background-color: #add1b8 !important;
}

.yellow-cell {
    background: rgba(255, 230, 0, .3) !important;
}

.light-red td, .light-red-row {
    background: rgba(218, 150, 150, .3) !important;
}

.light-green-row {
    background: rgba(173, 209, 184, .3) !important;
}

.light-blue-row {
    background: rgba(173, 209, 227, .3) !important;
}

.light-yellow-row {
    background: rgba(255, 230, 0, .3) !important;
}

.light-black-row {
    background: rgba(0, 0, 0, 0.25) !important;
}

.truck-flag-icon {
    margin-bottom: 5px;
    margin-left: 10px;
}

#delivery-rack-table_wrapper,
#delivery-truck-table_wrapper,
#postponed-racks-table_wrapper,
#postponed-racks-table-outer-wrapper {
    border-right: 1px solid #111;
    padding-right: 2em;
}

.standard-select {
    width: 220px;
    display: inline-block !important;
}

.racks-selected {
    margin: 1em;
    font-weight: 500;
    max-height: 400px;
    overflow-y: auto;
}

.racks-selected li {
    font-weight: 400
}

.main-inner {
    padding: 15px;
}

.card-container .card {
    /* background: rgb(155, 20, 50); */
    background: #000;
    font-weight: 600;
    border-radius: 0.5rem;
}

.card-container .card .card-body {
    padding: 2rem;
}

.btn-primary {
    background: #fff;
    border-color: #ced4da;
    color: #4c4c4c;
}

.btn-primary:hover {
    background: #fff!important;
    border-color: #787979!important;
    color: #4c4c4c!important;
}

#choose-responsible-failed-timmerman-modal h4,
#set-end-date-modal h4 {
    text-align: center;
}

#choose-responsible-failed-timmerman-modal label,
#set-end-date-modal label {
    min-width: 220px;
}

#choose-responsible-failed-timmerman-modal .modal-body,
#set-end-date-modal .modal-body {
    margin-left: 5%;
}

#failure_explanation, #failure_reason {
    min-width: 200px;
    margin: 10px 0;
    width: 60%;
    display: inline-block;
    vertical-align: middle;
}

#modal_delivery_total {
    display: inline-block;
}

.failed-timmerman-settings {
    margin-right: 5%;
    float: right;
}

.timmerman-fail-input label {
    min-width: 33% !important;
    width: 40% !important;
}

#failure_description {
    display: inline-block;
    width: 60%;
    vertical-align: middle;
    margin-top: 25px;
}

#modal-control-fees #failure_responsible {
    margin-left: 21%;
}

.parked {
    margin-left:15px;
    color: orange;
}

.select-choose-owner {margin-top: 15px;}
.select-choose-owner select, .type_block select, #rack_name {
    width: 200px;
    margin-bottom: 15px;
    display: inline-block;
}
.select-choose-owner .select2-container {
    margin-left: 10px;
}

.select-choose-customer {
    display: inline-block;
}

.auto-responsible-control {
    margin-right: 10px;
}

.responsible_block .select-choose-owner .select2-container, .responsible_block .select-choose-owner select#responsible, .responsible_block .select-choose-owner span.select2.select2-container.select2-container--default.select2-container--focus {
    margin: -5px 0 0 10px;
}

/* .glass-form-s2-no-mt span.select2.select2-container.select2-container--default.select2-container--below.select2-container {
    margin-top: 0 !important;
} */

.glass-form-s2-no-mt span.select2.select2-container.select2-container--default {
    margin-left: 10px;
}

/* span.select2.select2-container.select2-container--default.select2-container--below.select2-container {
    margin-top: 15px !important;
} */

.additional_rack {
    margin-top: 10px;
}

.responsible_block {
    padding: 10px 0 0px;
}

.type_block, .owner_block, .customer_block, .rack_name_block { /* */
    padding: 10px 0 15px;
    border-bottom: 1px solid darkgrey;
}


.decisions-all label {
    margin-right: 15px;
}
.decisions-all input {
    margin-right: 5px;
}

#link-rack select,
#link-rack .select2,
#customer-address-modal .select_model-responsible,
/*#customer-address-modal .sub-select-responsible,*/
#customer-address-modal .sub-select-container {
    width: 49% !important;
    display: inline-block;
}

#customer-address-modal .sub-select-container .select2 {
    margin-bottom: 0px !important;
}

#customer-address-modal .modal-responsible,
#link-rack .modal-responsible {
    margin-top: 20px;
}

#choose-responsible-owner-modal span.select2.select2-container.select2-container--default.select2-container--below.select2-container {
    margin: -5px 0 0 15px !important;

}

.filter-export-select {
    margin-top:25px;
}
.filter-export-select   .select2 {
    width: 100% !important;
    /*margin-bottom: 10px;*/
}

#responsible-previous-location-table th, #responsible-previous-location-table td {
    padding: 25px !important;
}

.action-modal-xxl {
    max-width:75%;
    margin: 10% auto !important;
}
.action-middle-warning-text {
    text-align: center;
    margin-top: 10px;
}

.action-middle-warning-text h5 {
    margin-left: -200px;
}

#delete-site-modal .modal-body {
    max-height: 500px;
    overflow-y: auto;
    position: relative;
}

#delete-site-modal .modal-body select {
    position: sticky;
    top: 0;
    right: 0;
}

#customer-address-modal .select2 {
    width: 100% !important;
    margin-bottom: 10px;
}

#customer-address-modal input + input {
    margin-top: 5px;
}

#customer-address-modal .modal-title-secondary {
    margin-top: 25px;
}

#customer-address-modal .console-edit-address {
    display: none;
}


.chart {
    background: #fff;
}

.chart, .filtering-chart-block {
    height: 650px;
}

#chart-available {
    height: 80vh;
}

.filtering-chart-block .w-100 + .w-100 {
    margin-top: 4em;
}

#rack-filter-form label,
#edit-target-form label,
#mnt-avg-filter-form label,
#status-filter-form label {
    width: 150px;
}

#rack-filter-form select, #rack-filter-form .select2-container,
#edit-target-form select, #edit-target-form .select2-container,
#mnt-avg-filter-form select, #mnt-avg-filter-form .select2-container,
#impact-filter-form select, #impact-filter-form .select2-container,
#status-filter-form select, #status-filter-form .select2-container{
    margin-left: 10px;
}

#rack-filter-form .btn,
#edit-target-form .btn,
#mnt-avg-filter-form .btn,
#impact-filter-form .btn,
#status-filter-form .btn {
    margin-left: 15px;
}

.rack-dashboard-button {
    display: block;
    padding: 20px;
    /*margin-left: 10%;*/
    font-size: 15px;
    margin-bottom: 15px;
    min-width: 220px;
    max-width: 320px;
}

.chart-filter-container + .chart-filter-container {
    margin-top: 1em;
}

.link-location {
    border: 1px solid #ced4da;
    border-radius: 15px;
    padding: 1em;
}

.form-control:hover {
    border-color: #787979!important;
}

.card-container .card .center {
    margin: 0 auto;
    display: flex;
    align-items: center;
    background-color: #fff;
    padding-right: 0;
    border-radius: .25rem;
}

.card-container .card .center label {
    margin-bottom: 0;
    /* color: rgb(155, 20, 50); */
    color: #000;
}

.card-container .card .center input.form-control, .card-container .card .center select.form-control {
    border: none;
}
.card-container .card .center select.form-control {
    padding: .375rem;
}

.card-container .card .center input.form-control:focus, .card-container .card .center input.form-control:active, .card-container .card .center select.form-control:focus, .card-container .card .center select.form-control:active {
    outline: none;
    box-shadow: none;
}

.nav li {
    transition: all .1s ease-in;
}

.nav li.active,
.pos-f-t li ul li.active {
    background-color: rgba(255, 255, 255, 0.3);
}

.nav li:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

/*.nav-link {*/
/*    padding: .5rem .7rem;*/
/*}*/



.nav-link:focus,
.nav-link:hover {
    color: #fff;
}

.fa,
.fas {
    margin-right: 5px;
}

.logo {
    max-width: 75%!important;
    padding: 20px;
    margin: 0 auto;
    display: block;
}

.sidebar .logo {
    /* margin: 0 auto 30px 0;
    padding: 20px 5px;
    max-width: 60%!important; */
    margin: 10px 12% 5px;
    padding: 0;
    max-width: 60%!important;
}

.sidebar {
    /* background: rgb(155, 20, 50); */
    background: #000;
    min-height: 100vh;
    flex: 0 0 14%;
    max-width: 14%;
}

.sidebar-dev {
    background: #00008B;
}

.text-dark.row-no-padding.main-content {
	flex: 0 0 86%;
    max-width: 86%;
}

.collapsing {
    transition: none;
}

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

.inner-nav-link {
    margin-left: 2.3em;
    font-size: 0.9em;
}

.last-nav-link {
    margin-left: 4.3em;
    font-size: 0.8em;
}

.super-last-nav-link {
    margin-left: 6.3em;
    font-size: 0.7em;
}

.nav ul li button,
.pos-f-t ul li button,
.pos-f-t ul li a,
.logout {
    background: none;
    margin: 0 auto;
    color: #fff;
    border: none;
    padding: .5rem 2rem .5rem 1rem;
    width: 100%;
    text-align: left;
    position: relative;
}

.nav > ul > li > a > i:first-of-type,
.nav > ul > li > a > span > i:first-of-type,
#navbarToggleExternalContent > ul > li > a > i:first-of-type,
#navbarToggleExternalContent > ul > li > a > span > i:first-of-type,
.drop-menu > i:first-of-type {
    min-width: 20px;
}

.pos-f-t ul li button,
.pos-f-t ul li a {
    padding: .5rem 1rem;
}

.icons-mobile button {
    padding: .5rem 1rem!important;
    text-align: center!important;
}

.pos-f-t ul li ul ul li a {
    padding: .5rem 3rem .5rem .2rem;
}

.pos-f-t li ul {
    transform: translateX(34px);
}

.drop-menu-inner-custom {
    padding-right:0px !important;
}

.pos-f-t ul li .drop-menu-inner {
    padding: .5rem 0 !important;
}

.light-gray {
    color: #a5a2a2;
}

.nav-ul-custom {
    margin-left: 1.2em;
}

.nav ul li button i,
.fa-sign-out-alt,
.pos-f-t ul li button i {
    width: 20px;
}

.nav ul li button i.fa-angle-down,
.nav ul li button i.fa-angle-up,
.pos-f-t ul li button i.fa-angle-down,
.pos-f-t ul li button i.fa-angle-up {
    max-width: initial;
    transform: translateY(2px);
    position: absolute;
    right: 5%;
}

.pos-f-t ul li button i.fa-angle-down,
.pos-f-t ul li button i.fa-angle-up {
    right: 5%;
}

.nav.flex-column {
    position: fixed;
    width: 14%;
}

.nav.flex-column .fa,
.nav.flex-column .fas,
#navbarToggleExternalContent .fa,
#navbarToggleExternalContent .fas {
    margin-right: 2px;
}

.dataTable .fa-address-book {
	color: #212529;
}

.dataTable.has-info tbody tr {
    cursor: pointer;
}

.bootbox .modal-lg {
    max-width: 600px;
}

.modal-medium {
    max-width: 500px;
}


.bootbox-body .bootbox-row:first-child {
    border-top: none;
}

.bootbox-body .bootbox-row {
    border-top: 1px solid #dee2e6;
    padding: 10px 0;
    word-wrap: break-word;
}

.nav button:not(.toggled) i.fa-angle-up,
.pos-f-t button:not(.toggled) i.fa-angle-up {
    display: none;
}

.nav button.toggled i.fa-angle-down,
.pos-f-t button.toggled i.fa-angle-down {
    display: none;
}

.nav ul li button:focus,
.nav ul li button:active,
.pos-f-t ul li button:focus,
.pos-f-t ul li button:active {
    outline: none;
}

.nav li ul,
.pos-f-t li ul {
    transition: opacity .7s ease;
    opacity: 0;
    height: 0;
    overflow: hidden;
}

.nav li ul.toggle,
.pos-f-t li ul.toggle {
    height: auto;
    overflow: auto;
    overflow-x: hidden;
    opacity: 1;
}

.nav li.active ul,
.pos-f-t li.active ul {
    transition: opacity .7s ease;
    height: auto;
    overflow: auto;
    opacity: 1;
    overflow-x: hidden;
}

.nav li.active ul.hide,
.pos-f-t li.active ul.hide {
    transition: opacity .7s ease;
    opacity: 0;
    height: 0;
    overflow: hidden;
}

.inner-nav-link.active,
.last-nav-link.active {
    font-weight: 700;
}

.add-new-rack,
.create-new-rack,
.add-new-maintenance,
.add-new,
.accept-changes,
.decline-changes,
.warning-changes,
.accept-postponed-racks,
.decline-postponed-racks {
    background-color: #3a9657;
    font-size: 15px;
    padding: 5px 10px;
    border-radius: 4px;
    border-color: transparent;
    color: #fff;
}

#scan-warning-table .approve-scan {
    min-width: 200px;
}

.action-header {
    margin-right: 20px;
    right: 0px;
    position: absolute;
}

.decline-changes,
.decline-postponed-racks {
    background-color: #9b1432
}

.warning-changes {
    background-color: #ad7632 ;
    color: #000;
}

.accept-changes, .decline-changes, .warning-changes,
.accept-postponed-racks, .decline-postponed-racks {
    margin-left: 15px;
}

.decline-changes:hover,
.decline-changes:active,
.decline-changes i:active,
.decline-changes i:hover,
.decline-postponed-racks:not(:disabled):hover,
.decline-postponed-racks:not(:disabled):active,
.decline-postponed-racks:not(:disabled) i:active,
.decline-postponed-racks:not(:disabled) i:hover {
    background-color: #69081d!important;
    border-color: transparent!important;
    color: #fff!important;
    outline: none;
    box-shadow: none;
}

.warning-changes:hover,
.warning-changes:active,
.warning-changes i:active,
.warning-changes i:hover {
    background-color: #764406FF !important;
    border-color: transparent!important;
    color: #fff!important;
    outline: none;
    box-shadow: none;
}

#address-change-table_wrapper input.no-sort.searchable {width:175px !important;}

.add-new-rack:hover,
.add-new-rack:active,
.add-new-rack:focus,
.add-new-rack i:active,
.add-new-rack i:focus,
.add-new-maintenance:hover,
.add-new-maintenance:active,
.add-new-maintenance i:active,
.add-new-maintenance i:focus,
.add-new:hover,
.add-new:active,
.add-new i:active,
.add-new i:focus,
.accept-changes:hover,
.accept-changes:active,
.accept-changes i:hover,
.accept-changes i:active,
.accept-postponed-racks:not(:disabled):hover,
.accept-postponed-racks:not(:disabled):active,
.accept-postponed-racks:not(:disabled) i:active,
.accept-postponed-racks:not(:disabled) i:hover{
    background-color: #1a7343!important;
    border-color: transparent!important;
    color: #fff!important;
    outline: none;
    box-shadow: none;
}

.pick-responsible-all {
    margin-top: 40px;
    margin-bottom: 25px;
}
.choose-responsible {
    background-color: #FFEC97;
    color: black;
}

div#normal-change-table_wrapper {
    margin-top: 25px;
}
.add-new-rack i,
.add-new i {
    margin-right: 5px;
}

.add-new-form,
.edit-form {
    margin: 0 0 0 -25px;
}

.add-new-form .form-control,
.edit-form .form-control {
    width: 90%;
    margin: 0 auto;
}

.form-control.predictive-search {
    display: none;
}

.add-new-form textarea.form-control,
.edit-form textarea.form-control {
    width: 95%;
}

.add-new-form .add-new,
.edit-form .edit {
    border-color: #ced4da;
    margin-right: 20px;
}

#similar_racks_table thead th {
    font-weight: bold;
}
#similar_racks_table thead th,
#similar_racks_table thead td {
    padding: 10px 18px;
    border-bottom: 1px solid #111;
}

#similar_racks_table tbody tr {
    background-color: #ffffff;
}
#similar_racks_table tbody tr.selected {
    background-color: #B0BED9;
}
#similar_racks_table tbody th,
#similar_racks_table tbody td {
    padding: 8px 10px;
}
#similar_racks_table.row-border tbody th, #similar_racks_table.row-border tbody td, #similar_racks_table.display tbody th, #similar_racks_table.display tbody td {
    border-top: 1px solid #ddd;
}

.filter-container {
    margin-bottom: 0;
    margin-top: 7px;
}

.glass-form .btn {
    margin-left: 15rem;
}

.photo-class-button {
    margin: 0 0 0 15px !important;
}

#history-fail-updates-table {
    width: 100%;
}

#history-fail-updates-table, #history-fail-updates-table tr, #history-fail-updates-table td {
    border: 1px solid lightgray;
    padding: 5px;
}

#form-reminders .btn {
    margin-left: 9.1rem;
}

#add_edit_rack .btn {
    margin-left: 36rem;
}

#add_edit_rack.edit_rack .btn {
    margin-left: 35.8rem;
}

#add_edit_customer .btn {
    margin-left: 18rem;
}

#add_edit_site .btn {
    margin-left: 20.6rem;
}

#add_edit_site.edit_site .btn {
    margin-left: 19.2rem;
}

#add_edit_site .select2 {
    margin-left: 1em;
}

#add_edit_vendor .btn {
    margin-left: 19rem;
}

#add_edit_vendor.edit_vendor .btn {
    margin-left: 17.6rem;
}

#add_edit_truck .btn {
    margin-left: 19.9rem;
}

#add_edit_truck.edit_truck .btn {
    margin-left: 18.5rem;
}

#add_edit_company .btn {
    margin-left: 18rem;
}

#add_edit_company.edit_company .btn {
    margin-left: 16.6rem;
}

#add_edit_location .btn {
    margin-left: 18.7rem;
}

#update_default_invoice_conditions .control-group label,
#add_invoice_conditions .control-group label,
#add_project_invoice_conditions .control-group label,
.control-group .label-wide {
    width: 13em;
}

#update_default_invoice_conditions .btn {
    margin-left: 21rem;
}

#add_invoice_conditions .btn,
#add_project_invoice_conditions .btn {
    margin-left: 32rem;
}

#add_invoice_conditions input[type="radio"] {
    width: auto;
}

#add_invoice_conditions input[type="radio"] + label {
    width: auto;
    padding: 0 20px 0 10px;
    margin-top: 3px;
    margin-bottom: 0;
    cursor: pointer;
}

.inv-cond .dc-table {
    margin: 50px 0 60px;
    border-collapse: collapse;
    background-color: #fff;
}

.inv-cond .dc-table th {
    /*background-color: #f6f6f6;*/
    border: 1px solid #aaa;
}

.inv-cond .dc-table td {
    border: 1px solid #ddd;
}

.inv-cond .dc-table th,
.inv-cond .dc-table td {
    padding: 0 8px;
}

.inv-cond .dc-table tr:last-child td {
    border-bottom-color: #aaa;
}
.inv-cond .dc-table tr td:first-child {
    border-left-color: #aaa;
}
.inv-cond .dc-table tr td:last-child {
    border-right-color: #aaa;
}

.dc-bg-light {
    background-color: #eaeaea;
}

#add_rack_maintenance .btn {
    margin-left: 15rem;
}

#add_form_field .btn {
    margin-left: 17.8rem;
}

#add_edit_user .btn {
    margin-left: 20.2rem;
}

#read_csv .btn {
    margin-left: 21.7rem;
}

#edit-user button.update-user {
    margin-left: 16.2rem;
}

input#import_csv {
    height: 44px;
}

#edit_automail .btn {
    margin-left: 14rem;
}

.roles {
    display: inline-block;
    width: 45%;
    margin: 0 1em 5em 0;
}

#attach-role {
    margin-bottom: 20px;
}


.action-main .dataTables_wrapper.no-footer {
    margin-top: 0px;
}

#send-trucks-table_wrapper,
#rack-reception-table_wrapper,
#link-rack-multiple-table_wrapper,
#rack-truck-table_wrapper,
#fails-by-period-table_wrapper,
#pdf-fails-zip-table_wrapper {
    margin-top: 20px;
}
#rack-truck-table_wrapper table#rack-truck-table td{
    padding: 8px 12px;
}
table.dataTable thead th, table.dataTable thead td {
    padding: 10px;
}

.dataTables_length>label>select {
    height: 35px;
    width: 60px;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    text-align-last: center;
}

.dataTables_filter, .dataTables_info { display: none; }

#vendors-table {
    width: 100%;
    display: block;
    overflow-x: auto;
    white-space: nowrap;
}

.home-row {
    padding: 8% 0 0 0;
    align-items: center;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    height: 300px;
}

.home-button {
    display: inline-block;
    margin: 0 20px;
    padding: 15px 10px;
    height: 220px;
    width: 220px;
    text-align: center;
    /* color: rgb(155, 20, 50); */
    color: #000;
    border-radius: 15px;
    transition: all .5s ease;
}

.home-disabled {
    color:#dddddd;
    cursor: not-allowed;
}

.modal-home {
    top: 0;
}

.modal-content {
    border-radius: .5rem;
}

.home-container .modal.show .modal-dialog {
    top: 10%;
    max-width: 400px;
}

.home-container .modal.fade .modal-dialog {
    -webkit-transform: translate(0,-350px);
    transform: translate(0,-350px);
}

.home-container .modal.fade.show .modal-dialog {
    -webkit-transform: translate(0,100px);
    transform: translate(0,100px);
}

.modal-home ul {
    margin-left: -10%;
}

.modal-home i {
    /* color: rgb(155, 20, 50); */
    color: #000;
    font-size: 26px;
    transition: all .5s ease;
}

.modal-home a span {
    /* color: rgb(155, 20, 50); */
    color: #000;
    transition: all .5s ease;
    font-size: 15px;
}

.home-button:hover, .modal-home a, .modal-home a:hover{
    /* color: rgb(255,255, 255); */
    color: gray;
    transition: all .5s ease;
    text-decoration: none;
    font-weight: normal;
}

.modal-home a, .modal-home a:hover {
    font-weight: bold;
}

.modal-home a:hover i, .modal-home a:hover span {
    /* color: rgb(255, 255, 255); */
    color: darkslategrey;
}

.home-button i {
    display: block;
    height: 115px;
    width: 100%;
    font-size: 7em;
    margin-bottom: 10px;
    cursor: pointer;
}

.home-button span {
    font-size: 18px;
}

.pop-menu-wrap-icons {
    margin-right: 5px;
    display: inline-block;
    vertical-align: middle;
}

.control-group {
    margin-bottom: 2em;
}

.control-group label {
    width: 10em;
}

select#choose-site {
    /* border: 2px solid #f00; */
    border: 2px solid #000;
    font-weight: bold;
}

.control-group input:not([type="checkbox"]),
.control-group select,
.control-group textarea,
.linking select {
    width: 15em; /* was 20 */
    display: inline-block;
}

.control-group input:not([type="checkbox"]),
.control-group select,
.control-group textarea,
.control-group .checkbox-switch,
.linking select {
    margin-left: 10px;
}

.control-group input[type="file"] {
    padding: 0;
}

.control-group select#set-status {
    margin-left: 0;
}

.control-group textarea {
    padding: 10px 15px;
}

.control-group .error {
    margin-left: 10px;
}

.glass-form,
#invoice-condition-type-selector {
    margin-top: 2em;
}

.control-group .sub-select,
.linking .sub-select {
    margin-left: 2em;
}

.select2-container {
    height: calc(1.5em + .75rem + 2px);
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    margin-top: -5px;
    /* margin-left: 2em; */
}

#merging-info-form {
    margin-left: 2em;
}

#merging-info-form .control-group label {
    width: 75%;
}

#merging-info-form .delivery-checkbox,  #merging-info-form .delivery-radio {
    margin-left: 100px;
    margin-right: 10px;
}
#merging-info-form .delivery-radio {
    width: 15px;
}
.half-select {
    display: inline-flex;
    width: 44%;
    margin-left: 10px;
}

.edit-relation {
    color: black !important;
}

.action-buttons {
    margin-left:20%;
    width:50%;
}

.action-main {
    height: 80%;
    min-height: 500px;
    min-width: 95%;
    /* border-radius: 25px; */
    /* border: 3px solid gray; */
    padding: 20px;
    margin: 10px;

}

#add_edit_rack .select2-container {
    margin-top:0;
    margin-left: 1em;
}

.select2-container--open .select2-dropdown {
    left: -1px;
    top: -1px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #495057;
    line-height: 24px;
}

.select2-container--open .select2-dropdown--above {
    border-bottom: 1px solid #ced4da;
}

.select2-container--above.select2-container--open {
    visibility: hidden;
}

.select2-container--default .select2-selection--single {
    border: none;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-width: 7px 3px 0 3px;
    margin-top: 3px;
    margin-left: 0;
    border-color: #495057 transparent transparent transparent;
}

.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
    border-width: 0 3px 7px 3px;
    border-color: transparent transparent #495057 transparent
}

.select2-container--default .select2-search--dropdown .select2-search__field, .select2-dropdown {
    border: 1px solid #ced4da;
}

.dataTables_filter input {
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.dataTables_wrapper:not(#status-office-table_wrapper) .dataTables_processing,
.dataTables_wrapper:not(#responsible-sales-office-table) .dataTables_processing {
    height: 100%!important;
    width: 100%!important;
    z-index: 2;
    /* top: 11rem!important; */
}

.dataTables_wrapper#status-office-table_wrapper,
.dataTables_wrapper#responsible-sales-office-table_wrapper {
    min-height: 100px;
    margin-top: 1rem;
}

.dataTables_wrapper#status-office-table_wrapper .dataTables_processing,
.dataTables_wrapper#responsible-sales-office-table_wrapper .dataTables_processing {
    top: 70px;
    min-height: 70px;
}

#link-rack-multiple-table_processing,
#rack-reception-table_processing {
    top: 13rem!important;
}

.pos-f-t {
    display: none;
}

.pos-f-t .navbar-dark .navbar-toggler {
    border-color: transparent;
    outline: none;
    padding: .25rem .5rem;
}

.pos-f-t .fas.fa-ellipsis-h.text-white {
    margin-right: 0;
    margin-top: 2px;
    font-size: 28px;
}

.navbar-dark .navbar-toggler-icon {
    background-image: none;
}

.sorting input,
.sorting_asc input,
.sorting_desc input {
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.icons-mobile button {
    background: none;
    color: #fff;
    border: none;
    outline: none;
    margin: 0 auto;
}

.modal-dialog {
    margin: 0 auto;
    /* padding: 20% 0; */
}

.modal-open .modal {
    overflow-y: hidden;
}

#modal-delivery-info, #set-end-date-modal, #edit-fail-modal {
    overflow-y: auto !important;
}

.setsenddateaddress input {
    margin-top:15px;
}

#see-photos-modal {
    overflow-y: auto;
}

.modal-dialog .racks-selected ul {
    padding-left: 18px;
}

.modal-dialog .racks-selected ul li {
    list-style-type: initial;
}

#sub-menu-popup-transactions .modal-body ul ul {
    margin-left: 7%;
}

#sub-menu-popup-master-data .modal-body i {
    min-width: 33px;
}

#sub-menu-popup-admin .modal-body ul ul {
    margin-left: 10%;
}

#link-delivery-rack-modal .modal-body {
    height: 500px;
    overflow-y: auto;
}

#link-delivery-rack-modal .modal-footer .link {
    color: #4c4c4c;
    cursor: pointer;
}

.rack-info-modal .modal-dialog {
    top: 50%;
    transform: translateY(-50%);
}

.rack-info-modal .rack-info-title {
    font-weight: 700;
}

.fc-toolbar h2 {
    font-size: 1.2em !important;
}

.calendars {
    margin-top: 20px;
}

.calendars .fc {
    width: 24%;
    height: 500px;
    margin-right: 12px;
    display: inline-block;
}

.invoicing-calendars .fc-day:not(.fc-other-month),
.invoicing-calendars .fc-day-top:not(.fc-other-month) {
    cursor: pointer;
}

.invoicing-calendars-actions {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: flex-end;
    padding-right: 32px;
}

.permission-tables h4:not(:first-child) {
    margin-top: 50px;
}

.permission-tables table th:not(:first-child),
.permission-tables table td:not(:first-child) {
    width: 80px;
}

.permission-tables .row {
    margin-bottom: 30px;
}

.permission-tables td.row-has-parent {
    padding-left: 40px;
}

.permission-tables .section-header {
    font-size: 1.1em;
    font-weight: 700;
}

.permission-tables .select-multi {
    margin-top: 40px;
}

#link-rack-multiple-table_wrapper table thead tr th:first-child,
#link-order-multiple-table_wrapper table thead tr th:first-child,
#filter-rack-table_wrapper table thead tr th:first-child,
#filter-rack-table_wrapper table thead tr th:first-child,
#rack-history-table_wrapper table thead tr th:first-child {
    width: 12px!important;
    padding: 0 10px;
}

#filter-rack-table_wrapper .dataTables_paginate .paginate_button {
    padding: 0.5em;
}

#rack-reception-table_checkbox,
.check_all.console, #link-rack-multiple-table_checkbox {
    transform: translateY(-11px);
}

#filter-rack-table_wrapper .check_all,
#link-rack-multiple-table_wrapper .check_all.console {
    transform: translateY(-6px);
    zoom: 1.4;
}

.permission-tables input.permissions-check-all {
    transform: translateY(1px);
    zoom: 1.4;
}

#link-rack-multiple-table_wrapper table thead tr th:nth-child(2),
#link-order-multiple-table_wrapper table thead tr th:nth-child(2),
#rack-reception-table_wrapper table thead tr th:nth-child(1),
#racks-delivery-table_wrapper table thead tr th:nth-child(1) {
    width: 20px!important;
    padding: 0 10px;
}
#racks_wrapper table#racks td{
    padding: 8px 20px;
}
#add_rack_maintenance #link-rack-multiple-table_wrapper table thead tr th:nth-child(2) {
    width: 200px!important;
}

#link-rack-multiple-table_wrapper table thead tr th:nth-child(2) {
    padding: 0 20px 0 0;
}

.filter-table {
    margin-bottom: 20px;
}

.filter-table tr th:first-child,
.filter-table tr td:first-child,
.filter-table:not(.filter-table-visible) tbody,
.filter-table:not(.filter-table-visible) .dataTables_info,
.filter-table:not(.filter-table-visible) .dataTables_paginate {
    display: none;
}

.dataTables_info {
    visibility: visible;
}

.pane:first-child {
    display: none;
}

.filter-table tr td.dataTables_empty {
    display: table;
}

.filtered-table_wrapper {
    margin-bottom: 20px;
    padding-top: 40px !important;
    display: none;
    border-bottom: 1px solid #111;
}

.filtered-table_inner {
    width: 100%;
    overflow-x: auto;
}

.filtered-table {
    border-bottom: none !important;
}

.table-scroll-wrapper {
    overflow-x: hidden;
    overflow-y: hidden;
    width: 100%;
}

.table-scroll {
    height: 1px;
}


#rack-frankenglas-table tbody tr, #rack-frankenglas-table tbody tr.even>.sorting_1, #rack-frankenglas-table tbody tr.odd>.sorting_1,
#rack-augustdorf-table tbody tr, #rack-augustdorf-table tbody tr.even>.sorting_1, #rack-augustdorf-table tbody tr.odd>.sorting_1   {
    background: #ffb9b9;
}


#rack-frankenglas-table-outstanding tbody tr, #rack-frankenglas-table-outstanding tbody tr.even>.sorting_1, #rack-frankenglas-table-outstanding tbody tr.odd>.sorting_1,
#rack-augustdorf-table-outstanding tbody tr, #rack-augustdorf-table-outstanding tbody tr.even>.sorting_1, #rack-augustdorf-table-outstanding tbody tr.odd>.sorting_1  {
    background: #E2EDD9;
}

#rack_name_replace {
    margin-left: 10px;
    margin-bottom: 0px;
    width: 200px;
    display: inline-block;
}
#replace_rack {
    margin-left: 15px;
}
/*.console #link-rack-multiple-table tbody tr,
.console #link-rack-multiple-table_info {
    display: table-row;
}*/

#link-rack-multiple {
    transform: translateY(-3px);
}

#rack-history-table_wrapper table thead tr th:first-child input {
    max-width: 100px;
    visibility: hidden;
}

#l-rack-history-table_wrapper table thead tr th:first-child input {
    max-width: 100px;
    visibility: hidden;
}

.calendars .fc-widget-content .fc-day-grid-container {
    min-height: 384px;
}

#send-trucks-table_wrapper table.dataTable th:first-child {
    width: 12px!important;
    max-width: 12px;
    word-break: break-all;
    white-space: pre-line;
    padding: 0 10px;
}

#send-trucks-table_wrapper table.dataTable th:first-child input,
#add_rack_maintenance #link-rack-multiple-table_checkbox {
    transform: translateY(1px);
}

.additional-detail {
    display: none;
    margin: 10px 0;
}

th.checkbox input[type="text"] {
    display: none;
}

table.dataTable thead tr:first-child .sorting_disabled {
    /* width: 25px!important;
    max-width: 25px; */
    word-break: break-all;
    white-space: pre-line;
    padding: 0 10px;
}

.existing-permissions table.dataTable thead tr:first-child .sorting_disabled,
.existing-permissions table.dataTable thead tr:first-child .sorting_disabled {
    width: 10% !important;
}


.unlink-racks {
    position: absolute;
    right: 0 !important;
}

.modal-dialog.modal-lg.custom-modal {
    height: 100%;
    width: 100%;
    top: 33%;
    left: 0;
}

.modal-dialog.modal-lg.custom-modal .modal-content.absolute {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
}

.modal-body .deliveries {
    width: 100%;
    display: flex;
}

.modal-body .damage {
    width: 100%;
}

.modal-body .delivery,
.modal-body .damaged_photos {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    text-align: center;
}

.modal-body .deliveries .delivery_block {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    flex-wrap: wrap;
    /* height: 490px; */
    overflow: auto;
}

.modal-body .deliveries .signature {
    text-align: center;
}

.driver-comment {margin-bottom: 15px}

.modal-body .deliveries .delivery_block .delivery_comment,
.modal-body .deliveries .signature .signature_comment {
    margin: 10px 0;
}

.modal-body--scrollable {
    max-height: 500px;
    overflow-y: auto;
}

.delivery_buttons, .signature {
    margin-bottom: 15px;
    min-height: 38px;
}

.delivery_photo, .signature_photo {
    min-height: 220px;
    min-width: 220px;
    height: 220px;
    width: 220px;
    border: 1px solid gray;
    margin-left: 0;
}

#delivery_name {
    margin-left: 10px;
}

.signature img, .delivery_photo img {
    width: 100%;
    height: 100%;
}

.row-map, .timmerman_row-map {
    display: none;
    margin: 0px;
    margin-top: 20px;
}

#map, #timmerman_map {
    width: 100%;
    height: 500px;
}

table.dataTable .sorting_disabled input[type="text"] {
    display: none;
}

#link-rack-multiple-table_wrapper .sorting_disabled input[type="text"],
#rack-truck-table_wrapper .sorting_disabled input[type="text"],
#rack-reception-table_wrapper .sorting_disabled input[type="text"],
#filter-rack-table_wrapper .sorting_disabled input[type="text"],
#rack-history-table_wrapper .sorting_disabled input[type="text"] {
    display: none !important;
}

.edit-type,
.delete-type {
    padding: 0 10px 0 0;
}

.delete-type {
    color: rgb(155, 20, 50)!important;
}

.save-pdf {
    font-size: 1.1em;
}

.buttons-html5, #pdf-btn, #pdf-btn-export, #excel-reminder-btn {
    border-radius: 3px;
    border: none;
}

.buttons-excel, #pdf-btn, #pdf-btn-export, #excel-reminder-btn {
	background-color: #1a7343;
    margin-left: 8px;
    padding: 0 15px;
    height: 34px;
    /* width: 160px; */
    border: none;
    font-size: 15px;
    font-weight: 400;
}

.buttons-excel i, #pdf-btn i, #pdf-btn-export i, #excel-reminder-btn i{
    margin-right: 5px;
}

.buttons-excel-alt {
    width: auto;
    height: auto;
    padding: 5px 20px;
}

.buttons-excel.disabled {
    opacity: 0.8;
    cursor: default;
}

#pdf-btn, #pdf-btn-export {
	background-color: #9b1432;
    transform: translateY(-2px);
}

#excel-reminder-btn {
	background-color: #c7a820;
    transform: translateY(-2px);
}

#pdf-btn-export {
    transform: translateY(-4px);
}

#pdf-btn-export:focus, #pdf-btn-export:active {
    outline: none;
    border: none;
    box-shadow: none;
}

#pdf-btn:hover a, #pdf-btn-export a, #excel-reminder-btn:hover a {
    color: inherit;
    text-decoration: none;
}

.buttons-excel span, #pdf-btn span, #pdf-btn-export span, #excel-reminder-btn span {
	color: #fff;
}

.buttons-pdf {
    height: 29px;
    position: relative;
    top: 2px;
    margin-left: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #fff;
    background-color: #ff3500;
    border: none;
    border-radius: 3px;
}

#pdf-btn:disabled, #pdf-btn-export:disabled {
    opacity: 0.7;
}

#pdf-btn.disabled, #pdf-btn-export.disabled a {
    cursor: no-drop;
}

.block-trucks {
    position: relative;
}

.block-trucks .add-new-rack {
    position: absolute;
    right: 0;
    top: 0;
}

#form-field-options,
#form-field-unique {
    display: none;
}

.select-hide-type {
    visibility:hidden;
    width: 1px !important;
}

.toolbar {
    margin: 10px 0px;
}
.toolbar label {
    margin: 0px 20px 0px 0px;
}
.toolbar input {
    margin: 0px 5px 0px 0px;
}

.toolbar input, .toolbar label {
    margin-right: 10px;
}

.error {
    margin-top: 8px;
    font-size: 0.9em;
    color: red;
}

.error--alt {
    margin-bottom: 8px;
}

.form-error {
    margin-top: 8px;
    font-size: 1em;
}

.form-checkbox-group {
    height: 250px;
    width: 15em;
    white-space: nowrap;
    overflow: auto;
    margin-left: 10px;
}

.form-control-header {
    border-bottom: 1px solid #ced4da;
    margin-bottom: 1em;
}

.form-checkbox-group label {
    width: 100%;
}

.additional-addresses {
    margin-top: 70px;
}

ul.change-lang li.active-language {
    display: none;
}

form.export-pdf-loadings {
    display: inline-block;
}

.dataTables_scrollHead,
.rack-reception-fixed .filter-table,
.link-rack-fixed .filter-table,
.block-trucks {
    position: sticky!important;
    position: -webkit-sticky!important;
    top: 0;
    z-index: 2;
    background-color: #fafafa;
}

.del-to-rack .col.col-md-2 .block-content.f-flex {
    height: 100%;
}
.del-to-rack #racks-delivery-table_wrapper {
    position: sticky!important;
    position: -webkit-sticky!important;
    top: 0;
    z-index: 3;
}

.del-to-rack #delivery-rack-table_wrapper .dataTables_scrollHead,
.del-to-rack #racks-delivery-table_wrapper .dataTables_scrollHead,
.rack-truck-fixed #rack-truck-table_wrapper .dataTables_scrollHead,
.send-truck-fixed #send-trucks-table_wrapper .dataTables_scrollHead,
.rack-reception-fixed #rack-reception-table_wrapper .dataTables_scrollHead {
    top: 44px;
}
#delivery-rack-table_wrapper .dataTables_scrollHead .checkbox.sorting_disabled,
#delivery-rack-table tbody tr td:first-child {
    text-align: center;
}

#delivery-rack-table_wrapper .dataTables_scrollHead .checkbox.sorting_disabled {
    display: table-cell;
    padding: 0 0 0 4px;
}

.console-fixed #link-rack-multiple-table_wrapper .dataTables_scrollHead {
    top: 110px;
}

.del-to-rack .fixed-ctrl-gr,
.rack-truck-fixed .fixed-ctrl-gr,
.send-truck-fixed .fixed-ctrl-gr,
.rack-reception-fixed .fixed-ctrl-gr,
.link-rack-fixed .fixed-ctrl-gr,
.console-fixed .fixed-ctrl-gr {
    position: sticky!important;
    position: -webkit-sticky!important;
    top: 0;
    z-index: 4;
    background-color: #fafafa;
    align-items: center;
}

.del-to-rack .col.col-md-10 {
    flex: 0 0 80%;
    max-width: 80%;
}
.del-to-rack .col.col-md-2 {
    flex: 0 0 20%;
    max-width: 20%;
}

button#link-delivery-rack {
    margin-left: 20px;
    width: 15em;
}

button#link-delivery-postponed-rack, button#link-delivery-diverted-rack {
    margin-left: 20px;
}

.autocomplete-suggestions {
    overflow-y: scroll;
    background-color: #ffffff;
    border: 1px solid #ced4da;
    border-radius: .25rem;
}

.autocomplete-suggestion {
    padding: .75rem;
    cursor: pointer;
}

.autocomplete-suggestion:hover {
    background-color: #eaeaea ;
}

.change-lang {
    transform: translateX(-10px);
}

.change-lang:hover .langs {
    display: block !important;
}

.langs {
    top: 0;
    transform: translate(-8px, -10px);
}

@media screen and (min-width: 768px) {
    .dataTables_wrapper.no-footer div.dataTables_scrollHead table.dataTable,
    .dataTables_wrapper.no-footer div.dataTables_scrollBody>table {
        width: 100%!important;
    }
}

@media screen and (min-width: 768px) and (max-width: 1280px) {
    .login-container {
        height: 85vh;
    }
}

@media only screen and (min-width: 1024px) {
    #filter-rack-table_filter input[type="search"] {
        max-width: 120px;
    }
}

@media screen and (min-width: 1281px) {
    .login-container {
        height: 100vh;
    }
    #filter-rack-table_length,
    #filter-rack-table_filter,
    #filter-rack-table_paginate,
    #filter-rack-table_info {
        width: 100%;
    }
    #filter-rack-table_filter {
    	text-align: left;
	    padding-left: 15%;
    }
    #filter-rack-table_paginate,
    #filter-rack-table_info {
    	text-align: center;
    }
    #filter-rack-table_filter input[type="search"] {
        max-width: 160px;
    }
}

@media only screen and (min-width: 1921px) {
    #filter-rack-table_filter input[type="search"] {
        max-width: 150px;
    }
}

@media only screen and (max-width: 1920px) {
    .calendars .fc {
        width: 23%;
    }
    .col-calendar-filter .dataTables_length,
    .col-calendar-filter #filter-rack-table_filter,
    .col-calendar-filter .dataTables_info,
    .col-calendar-filter .paging_simple_numbers {
        width: 100%;
        text-align: center;
    }
    .col-calendar-filter #filter-rack-table_filter {
        margin-top: 10px;
    }
    #filter-rack-table_filter {
        padding-left: 20px;
        text-align: left;
    }
    #filter-rack-table_wrapper .dataTables_paginate .paginate_button {
        padding-left: 0.2em;
    }
}

@media only screen and (max-width: 1600px) {
    .calendars .fc {
        width: 31%;
    }
    .row.inv-cond .col-md-6:first-child {
        -ms-flex: 0 0 40%;
        flex: 0 0 40%;
        max-width: 40%;
    }
    .row.inv-cond .col-md-6:nth-child(2) {
        -ms-flex: 0 0 60%;
        flex: 0 0 60%;
        max-width: 60%;
    }
    #add_invoice_conditions .btn,
    #add_project_invoice_conditions .btn {
        margin-left: 19.2rem;
    }
    .sidebar {
        flex: 0 0 20.666667%;
        max-width: 20.666667%;
    }
    .text-dark.row-no-padding.main-content {
        flex: 0 0 79.333333%;
        max-width: 79.333333%;
    }
    .nav.flex-column {
        width: 22%;
    }
    #filter-rack-table_filter {
        padding-left: 0;
        text-align: left;
    }
    #update_default_invoice_conditions .control-group label,
    #add_invoice_conditions .control-group label,
    #add_project_invoice_conditions .control-group label {
        width: 100%;
    }
    #update_default_invoice_conditions .btn {
        margin-left: 7.6rem;
    }
    .bootbox.pos-top .modal-body {
        overflow-y: scroll;
        height: 400px;
    }
    .nav ul li button i.fa-angle-down {
        right: 10%;
    }
    .roles {
        width: 48%;
        margin: 0 1em 5em 0;
    }
    .roles:first-child {
        width: 50%;
    }
    .roles:nth-child(2) {
        width: 45%;
    }
    .del-to-rack .col.col-md-10 {
        flex: 0 0 70%;
        max-width: 70%;
    }
    .del-to-rack .col.col-md-2 {
        flex: 0 0 30%;
        max-width: 30%;
    }
}

@media only screen and (max-width: 1396px) {
    .home-button {
        margin: 0 15px;
    }
    .glass-form .btn {
        margin-right: 1rem;
    }
    .control-group .sub-select {
        margin-left: 2em;
    }
    .calendars .fc {
        width: 47%;
    }
    #filter-rack-table_length select,
    #filter-rack-table_paginate span {
        display: block;
        margin: 10px 0;
    }
    #filter-rack-table_length label {
        display: flex;
        align-items: center;
    }
    #filter-rack-table_length select {
        margin: 0 2px;
    }
    .row.inv-cond .col-md-6:first-child {
        -ms-flex: 0 0 30%;
        flex: 0 0 30%;
        max-width: 30%;
    }
    .row.inv-cond .col-md-6:nth-child(2) {
        -ms-flex: 0 0 70%;
        flex: 0 0 70%;
        max-width: 70%;
    }
    #update_default_invoice_conditions .btn {
        margin-left: 7.6rem;
    }
    #add_rack_maintenance .btn {
        margin-left: 4.2rem;
    }
    .del-to-rack .col.col-md-10 {
        flex: 0 0 70%;
        max-width: 70%;
    }
    .del-to-rack .col.col-md-2 {
        flex: 0 0 30%;
        max-width: 30%;
    }
}

@media only screen and (max-width: 1280px) {
    .row.inv-cond .col-md-6:first-child {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }
    .row.inv-cond .col-md-6:nth-child(2) {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }
    #update_default_invoice_conditions .btn {
        margin-left: 21rem;
    }
    #update_default_invoice_conditions .control-group label,
    #add_invoice_conditions .control-group label,
    #add_project_invoice_conditions .control-group label {
        width: 13em;
    }
    #add_invoice_conditions .btn,
    #add_project_invoice_conditions .btn {
        margin-left: 32rem;
    }
    .roles:first-child, .roles:nth-child(2) {
        max-width: 100%;
    }
    .roles:first-child {
        width: 54%;
    }
    .roles:nth-child(2) {
        width: 41%;
    }
    .roles:first-child table.dataTable thead th,
    .roles:first-child table.dataTable tbody td,
    .roles:nth-child(2) table.dataTable thead th,
    .roles:nth-child(2) table.dataTable tbody td {
        padding: 10px 4px;
    }
}

@media only screen and (max-width: 1024px) {
    .sidebar {
        flex: 0 0 30%;
        max-width: 30%;
    }
    .sidebar.collapsed {
        flex: 0 0 10%;
        max-width: 10%;
    }
    .sidebar.collapsed .logo {
        max-width: 45px;
        margin: 0 auto;
    }
    .main-content, .text-dark.row-no-padding.main-content {
        flex: 0 0 70%;
        max-width: 70%;
    }
    .main-content.not-collapsed, .text-dark.row-no-padding.main-content.not-collapsed {
        flex: 0 0 90%;
        max-width: 90%;
    }
    .sidebar .logo {
        max-width: 240px;
        margin: 0;
    }
    .nav ul {
        width: 100%;
    }
    .nav-link {
        padding: 0.5rem 1.5rem;
    }
    .control-group input,
    .control-group select,
    .control-group textarea,
    .select2-container {
        max-width: 16em;
        width: 100%!important;
    }
    .control-group label {
        width: 8em;
    }
    .glass-form .form-group {
        display: block;
        flex: 0 0 100%;
        max-width: 100%;
    }
    .glass-form .btn {
        margin-left: 19rem;
    }
    #add_edit_rack .btn {
        margin-left: 36.5rem;
    }
    #add_edit_customer .btn {
        margin-left: 17rem;
    }
    #add_edit_site .btn {
        margin-left: 19.6rem;
    }
    #add_edit_site.edit_site .btn {
        margin-left: 18.2rem;
    }
    #add_edit_vendor .btn {
        margin-left: 18rem;
    }
    #add_edit_vendor.edit_vendor .btn {
        margin-left: 16.6rem;
    }
    #add_edit_truck .btn {
        margin-left: 19rem;
    }
    #add_edit_truck.edit_truck .btn {
        margin-left: 17.5rem;
    }
    #add_edit_company .btn {
        margin-left: 17rem;
    }
    #add_edit_company.edit_company .btn {
        margin-left: 15.6rem;
    }
    #add_edit_location .btn {
        margin-left: 17.7rem;
    }
    #add_form_field .btn {
        margin-left: 16.9rem;;
    }
    #form-reminders .btn {
        margin-left: 10.1rem;
    }
    #read_csv .btn {
        margin-left: 20.7rem;
    }
    #edit-user button.update-user {
        margin-left: 15.2rem;
    }
    .pos-f-t {
        display: block;
    }
    .sidebar.collapsed .pos-f-t .navbar {
        justify-content: center;
    }
    .pos-f-t .navbar {
        padding: .7rem;
        justify-content: flex-start;
    }
    .icons-mobile .fas {
        margin-right: 0;
    }
    .nav.flex-column {
        display: none;
    }
    .card-container .card .card-body {
        padding: 0 20px 20px 20px;
    }
    .home-button {
        width: 148px;
        margin: 0;
    }
    .home-button i {
        font-size: 5em;
        height: 95px;
    }
    .modal-dialog {
        padding: 50% 0;
    }
    .bootbox .modal-dialog {
        padding: 0;
    }
    #delivery-rack-table_wrapper,
    #delivery-truck-table_wrapper,
    #postponed-racks-table_wrapper,
    #postponed-racks-table-outer-wrapper {
        border-right: 1px solid #111;
        padding-right: 2em;
    }

    .fixed-ctrl-gr h4 {
        margin-right: 10px;
    }

    #delivery-date {
        margin-left: 10px;
    }

    .calendars .fc-toolbar h2 {
        font-size: 1.2em;
    }
    .calendars .fc-button {
        font-size: .8em;
    }
    .calendars .fc {
        width: 47%;
        margin-right: 12px;
    }
    .custom-flex {
        display: flex;
        flex-direction: column-reverse;
    }
    .custom-flex .col.col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .col-calendar,
    .col-calendar-filter {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .col-calendar-filter .dataTables_length,
    .col-calendar-filter #filter-rack-table_filter,
    .col-calendar-filter .dataTables_info,
    .col-calendar-filter .paging_simple_numbers {
        width: initial;
        text-align: initial;
    }
    .col-calendar-filter #filter-rack-table_paginate {
        display: flex;
        align-items: center;
    }
    .col-calendar-filter #filter-rack-table_filter {
        margin-top: 0;
    }
    #filter-rack-table_length select {
        display: initial;
        margin: 0 5px;
    }
    #update_default_invoice_conditions .btn {
        margin-left: 30rem;
    }
    #add_invoice_conditions .control-group select {
        width: 12em!important;
        max-width: 12em;
    }
    #add_invoice_conditions .control-group input, #update_default_invoice_conditions input {
        max-width: 24em;
    }
    #add_invoice_conditions .control-group span.select2 {
        width: 11.5em!important;
    }
    #add_invoice_conditions .btn,
    #add_project_invoice_conditions .btn {
        margin-left: 26rem;
    }
    #add_rack_maintenance .btn {
        margin-left: 9.2rem;
    }
    #add_edit_user .btn {
        margin-left: 19.2rem;
    }
    .form-checkbox-group {
        width: 16em;
    }
    .form-checkbox-group input {
        width: 20px!important;
    }
    .roles, .roles:first-child, .roles:nth-child(2) {
        width: 100%;
    }
    .roles:first-child table.dataTable thead th,
    .roles:first-child table.dataTable tbody td,
    .roles:nth-child(2) table.dataTable thead th,
    .roles:nth-child(2) table.dataTable tbody td {
        padding: 10px;
    }
    .edit-permission-container .custom-flex .col,
    .del-to-rack .col.col-md-10,
    .del-to-rack .col.col-md-2,
    .rack-truck-fixed .col {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .del-to-rack, .rack-truck-fixed {
        flex-direction: column;
    }
    .rack-truck-fixed .col.col-md-8 {
        margin-bottom: 20px;
    }
    .modal-body .deliveries .col-md-8,
    .modal-body .deliveries .col-md-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    .delivery_photo, .signature_photo {
        min-height: 200px;
        min-width: 200px;
        height: 200px;
        width: 200px;
    }
}


#responsible-sales-office-table-outer {
     position: relative;
     min-height: 400px;
}

#responsible-sales-office-table > tbody > tr:last-child {
    font-weight: 700;
}

#responsible-sales-office-table > tbody > tr:last-child td {
    border-top-color: #000;
}

.no-data {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* INVOICE SETTINGS */
.switch-table .switch-table_header {
    padding-bottom: 6px;
}

.switch-table .switch-table_header-title {
    font-weight: 700;
    padding: 5px 10px;
}

.switch-table.invoice-settings .switch-table_header-title {
    font-size: 1.2rem;
}

.switch-table .switch-table_row > div {
    padding: 8px 10px;
}

.switch-table .switch-table_cell {
    display: flex;
    align-items: center;
}

.switch-table.invoice-settings .switch-table_row {
    background: #da9694;
}

.switch-table.invoice-settings .switch-table_row:nth-child(2n) {
    background: #daaaa8;
}

.switch-table.auto-send-trucks {
    padding: 0 15px;
    background: #fff;
}

.switch-table.auto-send-trucks .switch-table_header {
    border-bottom: 1px solid #f0f0f0;
}

.switch-table.auto-send-trucks .switch-table_row {
    /*background: #f8f8f8;*/
}

.switch-table.auto-send-trucks .switch-table_row:nth-child(2n) {
    background: #f8f8f8;
}

.switch-table.auto-send-trucks .switch-table_row:nth-child(n):hover {
    background: #f4f4f4;
}



/*.switch-table.auto-send-trucks .switch-table_row:nth-child(2n):hover {*/
/*    background: #f2f2f2;*/
/*}*/

/*.invoice-settings_row label {*/
/*    margin-bottom: 0;*/
/*    cursor: pointer;*/
/*}*/


/* INVOICE SETTINGS - END */

.legend span {
    width:50px;
    height:20px;
    vertical-align: middle;
    margin-right: 20px;
    margin-left: 10px;
    display: inline-block;
}

/* CHECKBOX SWITCH */
.checkbox-switch {
    display: inline-block;
    height: 18px;
    position: relative;
    width: 38px;
}

.checkbox-switch input {
    display:none;
}

.checkbox-switch .checkbox-slider {
    background-color: #d12b2c;
    bottom: 0;
    cursor: pointer;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: .4s;
    border-radius: 18px;
    box-shadow: rgba(0, 0, 0, 0.2) 0 0 0 1px inset;
}

.checkbox-switch .checkbox-slider:before {
    background-color: #fff;
    content: "";
    height: 14px;
    bottom: 2px;
    left: 2px;
    position: absolute;
    transition: .4s;
    width: 14px;
    border-radius: 50%;
}

.checkbox-switch input:checked + .checkbox-slider {
    background-color: #66bb6a;
}

.checkbox-switch input:checked + .checkbox-slider:before {
    transform: translateX(20px);
}

.checkbox-slider-disabled {
    opacity: 0.5;
    cursor: default !important;
}
/* CHECKBOX SWITCH - END */


/* AUTO-SEND TRUCKS */
.auto-send-trucks {
    max-width: 1200px;
}
/* AUTO-SEND TRUCKS - END */

#see-photos-modal .image {
    background-repeat: no-repeat;
    height: 250px;
    width: 400px;
    background-position: center;
}

@media only screen and (max-width: 800px) {
    .nav-link {
        padding: 0.5rem 1.2rem;
    }
    .calendars .fc {
        width: 47%;
    }
}

@media only screen and (max-width: 768px) {
    .home-button {
        margin: 0 2px;
    }
    .sidebar .logo {
        max-width: 150px;
        margin: 0;
    }
    .nav-link {
        padding: 0.5rem 1.1rem;
    }
    .pos-f-t .navbar {
        padding: .7rem .3rem;
    }
    .home-button {
        width: 136px;
        margin: 0;
    }
}
