@import "dropzone.css";

html {
    height: 100%;
}
body {
    font-family: Montserrat, Verdana, sans-serif;
    height: 100%;
}
#content {
    padding-bottom: 6rem;
    max-width: 1200px;
}
.navbar {
    margin-bottom: 2rem;
}

.f3-form-error {
    background-color: #f8d7da;
}
.first-non-display-department td {
    border-top-width: 8px;
}
.employees img {
    border-radius: 50%;
    margin-right: 0.5rem;
    display: inline-block;
}
.bg-log {
    background-color: rgb(240, 242, 245);
}
.log-container {
    max-width: 60rem;
    margin: 0 auto;
}
.log-container img {
    max-width: 100%;
    height: auto;
}
.card {
    box-shadow: rgba(0, 0, 0, 0.2) 0 1px 2px 0px;
    border: none;
    border-radius: 1rem;
}
.card-footer:last-child {
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
    background-color: rgba(0, 0, 0, 0.02);
}
#sketchModal .modal-dialog {
    max-width: none;
    width: 100vw;
    margin: 0;
    height: 100vh;
}
#sketchModal .modal-dialog .modal-content {
    height: 100%;
}
canvas {
    border: 1px solid grey;
}
#display .collection {
    min-height: 35px;
    border: 2px solid #ee7202;
    padding: 3px;
    background-color: #fff;
}
#display {
    color: #000;
    padding-bottom: 600px;
}
#display header {
    border-bottom: 2px solid #ee7202;
    padding: 7px;
    background-color: #fff;
    margin-bottom: 10px;
}
#display h1 {
    text-align: center;
    margin: 0;
    color: #000;
    font-weight: 300;
    font-size: 1.8rem;
}
.kore .btn {
    padding: 3px 4px 1px 4px;
    font-size: 0.8rem;
}
h1 .btn {

}
#display h2 {
    font-weight: 300;
    font-size: 0.9rem;
    margin-bottom: 0;
}
#display h3 {
    font-size: 0.8rem;
    background-color: #ee7202;
    margin: 5px 0 0 0;
    padding: 7px 10px;
    font-weight: 300;
    cursor: pointer;
}
#display .construction-site-list:first-child h3 {
    margin-top: 0;
}
#display h2 .btn {
    color: #ee7202;
    padding: 0 2px 0 0;
    vertical-align: top;
    margin-left: 5px;
    margin-top: -2px;
    font-size: 0.8rem;
}
#display h3 .btn {
    color: #fff;
    padding: 0;
    vertical-align: top;
    float: right;
    font-size: 0.9rem;
}
#display header p {
    margin: 0;
}
#display ul {
    list-style: none;
    padding: 0;
}
#display .has-special-skill {
    border-color: #CCC;
}
.picture-upload img {
    border-radius: 75px;
    display: inline-block;
}
.picture-upload > div {
    margin-bottom: 1rem;
    position: relative;
    width: 150px;
}
.picture-upload > div .remove {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    text-align: center;
    font-size: 200%;
    vertical-align: middle;
    line-height: 150px;
    opacity: 0;
    transition: opacity 0.4s;
    display: block;
}
.picture-upload > div:hover .remove {
    opacity: 1;
    cursor: pointer;
}
.picture-upload.uploaded input {
    display: none;
}
.picture-upload:not(.uploaded) .picture {
    display: none;
}
.hours, .child-time {
    display: inline-block;
}
.select2-container .select2-selection--single {
    height: 38px;
    border-color: #ced4da;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 36px;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 38px;
}
.less .duration {
    color: darkred;
}
input:invalid {
    box-shadow: none;
}
.badge {
    font-weight: 300;
    color: #000;
    background-color: #fff;
    border: 2px solid #666;
    font-size: 0.7rem;
    cursor: pointer;
    margin: 3px 0;
}
.badge .fa-truck {
    font-size: 80%;
    color: #666;
}
.icon {
    background-color: #666;
    color: #fff;
    padding: 3px 0 2px 0;
    border-radius: 2px;
    font-size: 70%;
    display: inline-block;
    font-weight: bold;
}
.badge:first-child .fa-truck {
    color: #fff;
}
.badge:first-child .icon {
    color: #666;
    background-color: #fff;
}
#display .is-iron-layer {
    background-color: #522d0b;
    color: #fff;
}
#display ul.construction-site .badge:first-child {
    color: #fff;
    background-color: #666;
}
#display .form-check-label {
    border-bottom: 2px solid #CCC;
}
#display .has-special-skill {
    border-color: #CCC;
}
#display .can-drive {
    border-color: #e4cc00;
}
#display .is-crane-operator {
    border-color: #cd2822;
}
#display .is-bricklayer {
    border-color: #14c911;
}
#display .is-helper {
    border-color: #027dee;
}
#display .is-semi-skilled-worker {
    border-color: #ff9900;
}
#display .is-skilled-worker {
    border-color: #8932a8;
}
#display .is-trainee {
    border-color: #32a89c;
}
.btn-primary {
    background-color: #ee7202;
    border-color: #ee7202;
}
.btn-primary:hover, .btn-primary.disabled, .btn-primary:disabled {
    background-color: #ee7202;
    border-color: #ee7202;
}
.btn-outline-primary {
    border-color: #ee7202;
    color: #ee7202;
}
.btn-outline-primary:hover {
    border-color: #ee7202;
    color: #ee7202;
    background-color: #fff;
}
.modal-header {
    background-color: #ee7202;
    color: #fff;
    padding: 0.5rem 1rem;
}
.modal-header .close {
    color: #fff;
    padding: 1.2rem;
}
.legend {
    font-size: 80%;
    padding-top: 10px;
}
.legend .icon {
    margin-left: 10px;
}
.black {
    color: #000;
}
.white {
    color: #fff;
}
td.drag {
    width: 14px;
    padding-top: 23px;
}
.drag-handle {
    cursor: pointer;
}
.non-display {
    border-top: 10px solid #999;
}
#publish .date {
    cursor: pointer;
}
#publish .date.active {
    color: #fff;
    background-color: #ee7202;
}

.approved * {
    color: #999;
}
.table.timer-entries {
    width: auto;
}
.time {
    width: 75px;
}
.alert + .alert {
    top: 60px;
}
.alert {
    position: fixed;
    max-width: 400px;
    top: 5px;
    right: 5px;
    padding-right: 44px;
    z-index: 10;
    width: 95%;
}
.alert .close {
    position: absolute;
    top: 5px;
    right: 5px;
    color: #fff;
    cursor: pointer;
    font-size: 18px;
}
.alert.alert-primary .close {
    color: #004085;
}

td.weekend, td.closed, td.holiday {
    color: #999;
}
.week td {
    border-top: 3px solid #666;
}
a {
    color: #ee7202;
}
.timing-container .navbar {
    margin-bottom: 0.5rem;
}
.timing-container .footer {
    max-width: none;
}
.timing-container#content {
    max-width: 1400px;
}
.footer .divider {
    display: inline-block;
    margin-right: 20px;
}
#map, .map { height: 270px; }

.departments {
    column-count: 5;
    column-fill: balance;
    column-gap: 5px;
}
.department {
    break-inside: avoid-column;
}

.footer {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 100%;
    max-width: 320px;
    padding: 15px;

    box-shadow: 0 0 3px 0 #999;
    background-color: #fff;
}
.footer .btn {
    margin-bottom: 5px;
}
.footer .employees {
    max-height: 600px;
    overflow-y: scroll;
}

.load {
    display: none;
}

.colorpicker-element .add-on i, .colorpicker-element .input-group-addon i {
    vertical-align: middle;
    height: 38px;
    width: 250px;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.vehicle-table {
    table-layout: fixed;
}
.vehicle-table td, .vehicle-table th {
    text-align: center;
    border-color: #999;
}
.vehicle-table .vehicle-name {
    width: 15%;
    text-align: left;
}
.vehicle-table .day {
    border: 1px solid #999;
    width: 8%;
}
.vehicle-table td.day {
    padding: 0;
}
.table .thead-light th.divider, .vehicle-table .divider {
    background-color: #dee2e6;
    width: 2%;
    border: none;
    padding: 0;
}
.remove {
    display: none;
}
.assignment:hover {
    position: relative;
    opacity: 0.6;
}
.vehicle:not(.allow-assign) .assignment:hover .remove {
    display: block;
    position: absolute;
    color: red;
    top: 0px;
    right: 0;
    left: 0;
    margin: 0 auto;
    font-size: 120%;
    background-color: rgba(255, 255, 255, 0.5);
}
.vehicle.allow-assign .assignment:hover .assign-current {
    display: block;
    position: absolute;
    color: green;
    top: 0px;
    right: 0;
    left: 0;
    margin: 0 auto;
    font-size: 120%;
    background-color: rgba(255, 255, 255, 0.95);
    cursor: pointer;
}
span.new-assignment {
    display: block;
    width: 100%;
    height: 56px;
}
span.assignment {
    display: block;
    width: 100%;
    height: 56px;
    border-bottom: 12px solid #999;
    vertical-align: middle;
    line-height: 46px;
    background-color: rgba(0,0,0,.05);
    font-size: 75%;
    white-space: nowrap;
    overflow: hidden;
}
td.vehicle-name {
    padding: 0 15px;
    white-space: nowrap;
    overflow: hidden;
}
.vehicle-name strong {
    display: block;
    width: 100%;
    height: 56px;
    vertical-align: middle;
    line-height: 56px;
    font-size: 80%;
}
.assign-current {
    display: none;
}
.departments.error {
    color: red;
}
input.error, select.error {
    border-color: red;
}
.add-assignment-modal .modal-body {
    text-align: left;
}
.day-check {
    display: inline-block;
    margin-right: 15px;
}
.vehicle.disabled td.day {
    position: relative;
}
.vehicle.disabled td.day:before {
    content: " ";
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 100;
    background-color: rgba(0, 0, 0, 0.5);
}
.assign-button button.btn-success {
    position: fixed;
    display: none;
    border-radius: 0;
    font-size: 120%;
    padding: 12px 20px;
    z-index: 500;
}
.btn-success:not(:disabled):not(.disabled):active:focus, .btn-success.focus, .btn-success:focus {
    box-shadow: none;
}
span.new-assignment button {
    display: none;
}
span.new-assignment:hover button {
    display: block;
    width: 100%;
    height: 100%;
    font-size: 130%;
    opacity: 0.6;
    border-radius: 0;
}
.is-marked span.new-assignment button {
    display: block;
    width: 100%;
    height: 100%;
    font-size: 130%;
    opacity: 0.6;
    border-radius: 0;
}


.table tbody tr.child-timer-entry {
    border-bottom: none;
}
.table tbody tr.child-timer-entry.last {
    border-bottom: 2px solid #dee2e6;
}
.table tbody tr.has-child-construction-sites {
    border-bottom: none;
}
.child-construction-site > .select2 {
    width: 80% !important;
}
.child-construction-site > span.number {
    width: 15px;
    display: inline-block;
}
table.timer-entries .timer-entry.child-timer-entry td.construction-site {
    padding-left: 0.6rem;
    font-size: 0.9rem;
    font-style: italic;
}
table.timer-entries .timer-entry .buttons {
    white-space: nowrap;
}
.admin-timer .timer-entry td:nth-child(even) {
    background-color: #f5f5f5;
}
table.admin-timer.timer-entries .timer-entry.child-timer-entry td:nth-child(even) {
    background-color: transparent;
}
.child-construction-site input {
    width: 85%;
    display: inline-block;
}
.table .input-cell {
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
}
.table .input-cell span.title-span {
    height: 38px;
    vertical-align: middle;
    display: table-cell;
}
.admin-timer .buttons .btn {

}
.admin-timer.table td, .admin-timer.table th, .admin-timer.table td input, .admin-timer.table td select {
    font-size: 0.9rem;
    font-family: "Courier New";
}
.admin-timer.table td select {
    max-width: 250px;
}
.admin-timer.table td .time {
    padding: 0.375rem;
    width: 60px;
}
.admin-timer.table td.extra, .admin-timer.table td.duration {
    text-align: right;
    vertical-align: middle;
}
.admin-timer.table th.extra {
    text-align: center;
}
.neos-fluid-widget-paginator {
    list-style: none;
    margin: 1rem 0 2rem 0;
    padding: 0;
}
.neos-fluid-widget-paginator li {
    display: inline-block;
    margin-right: 1rem;
}

@media (min-width: 992px) {
    .modal-lg {
        max-width: 90%;
    }
}

@media (max-width: 664px) {
    .table.timer-entries {
        width: 100%;
    }
    table.timer-entries th:not(:first-child) {
        display: none;
    }
    table.timer-entries .timer-entry {
        display: block;
    }
    table.timer-entries .timer-entry td {
        display: block;
    }
    .from-td input.form-control, .until-td input.form-control {
        display: inline;
    }
    table.timer-entries .timer-entry .from-td, table.timer-entries .timer-entry .until-td, table.timer-entries .timer-entry .duration, table.timer-entries .timer-entry .buttons {
        display: inline-block;
        padding: 0 0.3rem 0.5rem 0;
    }
    .table td {
        border-top: none;
    }
    table.timer-entries th, table.timer-entries td {
        padding-left: 0;
    }
    table.timer-entries td:first-child {
        padding-bottom: 0;
    }
    table.timer-entries .timer-entry .duration {
        padding-top: 0.4rem;
    }
    .table tbody tr {
        border-bottom: 2px solid #dee2e6;
    }
    table.timer-entries .timer-entry.child-timer-entry td.construction-site {
        display: inline-block;
        padding-top: 0.8rem;
    }
    .child-timer-entry .time-td {
        padding-left: 12px;
        padding-top: 0;
    }
    #display h1 {
        display: none;
    }
}

@media (max-width: 360px) {
    .time {
        width: 55px;
        padding-left: 6px;
        padding-right: 6px;
        font-size: 0.85rem;
    }
    table.timer-entries .timer-entry .duration {
        font-size: 0.75rem;
        padding-top: 0.8rem;
    }
    table.timer-entries .timer-entry .from-td, table.timer-entries .timer-entry .until-td, table.timer-entries .timer-entry .buttons {
        padding-top: 0.3rem;
    }
}

.gu-mirror{position:fixed!important;margin:0!important;z-index:9999!important;opacity:.8;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";filter:alpha(opacity=80)}.gu-hide{display:none!important}.gu-unselectable{-webkit-user-select:none!important;-moz-user-select:none!important;-ms-user-select:none!important;user-select:none!important}.gu-transit{opacity:.2;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=20)";filter:alpha(opacity=20)}
