body {
    background-color: #f5f5f5;
}

.form-signin {
    max-width: 330px;
    padding: 15px;
    margin: 0 auto;
}

.form-signin .form-control {
    position: relative;
    font-size: 16px;
    height: auto;
    padding: 10px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.form-signin .form-control:focus {
    z-index: 2;
}

.form-signin input[type="text"] {
    margin-bottom: -1px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.form-signin input[type="password"] {
    margin-bottom: 10px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.account-wall {
    margin-top: 80px;
    padding: 40px 0 0 0;
    background-color: #ffffff;
    box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.16);
}

.profile-img {
    width: 60%;
    margin: 0 auto 10px;
    display: block;
}

.logo {
    width: 50%;
}

.row.header,
.row.border {
    padding: 10px;
}

.header {
    text-align: center;
    background-color: #ff8400;
    color: #fff;
}

.header .collapse {
    position: absolute;
    top: 2px;
    right: 0;
    font-size: 20px
}

.border {
    border: none !important;
    border-bottom: 1px solid #dee2e6 !important;
}

.row.border > .priority {
    padding-left: 15px;
    padding-right: 15px;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.text-center {
    text-align: center;
}

.text-justify {
    text-align: justify;
}

.container.bg-white {
    box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.16);
}

.bg-ubintia {
    background-color: #1e22aa;
    color: #fff;
}

.bg-ubintia.h1 {
    height: 50px;
    line-height: 40px;
}

.alert.alert-success > .fa-times {
    font-size: 15px;
}

.fab-container {
    position: fixed;
    right: 0;
    bottom: 15px;
}

.fab-container .options {
    display: none;
    list-style-type: none;
    margin-right: 100px;
    margin-bottom: 20px;
}

.fab-container .options li {
    text-align: right;
}

.fab-container .options .text {
    position: fixed;
    right: 80px;
    padding: 5px 10px;
    border-radius: 4px;
    background-color: #000;
    color: #fff;
}

.fab-container .options .fas {
    position: fixed;
    right: 20px;
    border: 1px solid #fff;
    background-color: #1e22aa;
    border-radius: 50%;
    color: #fff;
    width: 50px;
    height: 50px;
    box-shadow: 0 5px 6px grey;
}

.fab-container .options .fas::before {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 15px;
}

.fab-container .fa-plus {
    position: fixed;
    right: 15px;
    bottom: 15px;
    border: 1px solid #fff;
    background-color: #ff8400;
    border-radius: 50%;
    color: #fff;
    width: 60px;
    height: 60px;
    box-shadow: 0 5px 6px grey;
}

.fab-container .fa-plus::before {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
}

.display-block {
    display: block;
}

#create,
#update,
#incident,
#need,
#preventive,
#task,
#material_order {
    margin-top: 15px;
}

#incident .col,
#need .col,
#preventive .col,
#task .col {
    font-size: 18px;
}

.form-control[readonly] {
    background-color: #fff;
    opacity: 1;
}

input[type="text"] {
    height: 34px;
}

textarea {
    resize: none;
}

.custom-file-label {
    font-weight: normal !important;
}

.custom-file-label::after {
    content: "\f002" !important;
    font-family: 'Font Awesome 5 Free', sans-serif;
    font-weight: 900;
    margin-left: 10px;
}

span.required,
span.message {
    font-size: 14px;
    font-weight: bold;
    color: #dc3545;
}

span.message {
    display: none;
}

label {
    font-weight: bold;
}

label[for="incident_images"] .required,
label[for="need_images"] .required,
#groups-machines,
#machines {
    display: none;
}

.switch {
    position: relative;
    display: inline-block;
    width: 49px;
    height: 21px;
    margin-bottom: 0;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: '';
    height: 13px;
    width: 13px;
    left: 4px;
    bottom: 4px;
    background-color: #fff;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: #1e22aa;
}

input:focus + .slider {
    box-shadow: 0 0 1px #1e22aa;
}

input:checked + .slider:before {
    -webkit-transform: translateX(27px);
    -ms-transform: translateX(27px);
    transform: translateX(27px);
}

div[class*="level"]:not(:last-child) {
    margin-bottom: 15px;
}

.slider.round {
    border-radius: 26px;
}

.slider.round:before {
    border-radius: 50%;
}

span[class*="question_"]:not(.message) {
    position: absolute;
    display: none;
    top: 31px;
    left: 70px;
}

.images ul,
.attachments ul {
    padding-left: 0;
    list-style-type: none;
    font-size: 14px;
}

.priority,
.state {
    font-weight: bold;
}

.critical,
.high,
.pending {
    color: #dc3545
}

.medium,
.ordered {
    color: #e47b12;
}

.low,
.delivered {
    color: #01b081;
}

span.enabled {
    color: #1e22aa;
}

span.disabled {
    color: #000;
}

table#material-orders {
    width: 100%;
}

table#material-orders tbody tr td:last-child {
    text-align: center;
}

.material-order .modal-body {
    max-height: 800px;
    overflow-y: scroll;
}

.btn {
    margin-top: 15px;
    border-color: #1e22aa;
    background-color: #1e22aa;
    color: #fff;
}

.btn-lg {
    margin-bottom: 15px;
}

.btn-clear {
    width: 100%;
}

.modal-title {
    font-weight: bold;
}

.modal-body .carousel-control {
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .6);
}

.modal-body .carousel-indicators li {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.modal-body .fa-caret-left,
.modal-body .fa-caret-right {
    position: absolute;
    top: 50%;
    font-size: 20px;
}

.modal-body .fa-caret-right {
    right: 0;
}

.input-group-text {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-left: 0;
}

#loader {
    display: none;
    z-index: 1;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#machines.row,
#inventories.row {
    display: none;
}

.select2-container--default .select2-results__group {
    display: none !important;
}

.signature-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 300px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    overflow: hidden;
}

canvas#signature {
    display: block;
    width: 100%;
    height: 100%;
}

@media screen and (max-width: 767px) {
    .material-order .modal-body {
        max-height: 500px;
    }
}
