button#submit-card {
    width: 150px;
    z-index: 1032;
    position: relative;
    height: 34px;
}

a#close-card {
    width: 150px;
    z-index: 1032;
    position: relative;
}

.lower-fixed {
    text-align: right;
    bottom: 1.25rem;
    position: fixed;
    right: 5.25rem;
    /* width: 97vw; */
    z-index: 1032;
}

.lower-fixed > button, .lower-fixed > a {
    margin: 0 5px !important;
}

.lower-fixed-left {
    text-align: left;
    bottom: 1.25rem;
    position: fixed;
    right: 5.25rem;
    width: 100%;
    z-index: 1032;
}

.cursor-pointer:hover {
    color: #f39c12 !important;
    cursor: pointer;
}

.form-control[disabled],
.form-control:disabled,
.form-control[readonly] {
    background-color: #cccdce;
    opacity: 1;
}


.add-employee-problem-row {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    align-content: stretch;
    justify-content: center;
    align-items: flex-start;
}

.fixed-btns{
    display: flex;
    flex-direction: column;
    position: fixed;
    bottom: 0;
}

.fixed-btns > div{
    height: 38px;
}

.fixed-btns > div:hover {
    background-color: rgb(220, 13, 13, 0.8);
    font-weight: bold;
}

.fixed-btns > div {
    width: 250px;
    background-color: rgb(220, 13, 13, 0.62);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;

}

.fixed-btns > div i {
    padding-right: 10px;
}

.fixed-btns > div > a {
    display: flex;
    flex-direction: row;
    align-content: stretch;
    flex-wrap: nowrap;
    align-items: baseline;
    color: #fff;
}

.image-box {
    position: relative;
    width: 120px;
    margin-right: 25px;
    /* max-width: 100px; */
    overflow-wrap: anywhere;
    text-align: center;
    margin-bottom: 10px;
}

.image-box a{
    display: grid;
}

.remove-image {
    position: absolute;
    z-index: 999;
    top: 0;
    right: -10px;
}

.kv-grid-table thead th {
    white-space: pre-wrap;
    text-align: center;
}

#form-wrapper select {
    width: fit-content !important;
}

#downtimeregister-image {
    width: 100%;
    min-height: 50px;
}

.swal-wide {
    width: 850px !important;
}


.legend {
    margin-top: 30px;
}

.legend>.row {
    margin-left: 0px;
}

.legend .box {
    width: 40px;
    height: 20px;
    margin-right: 25px;
    margin-bottom: 5px;
}

.legend-red {
    background-color: rgba(255, 0, 0, 0.2) !important;
}

.legend-yellow {
    background-color: rgba(251, 255, 0, 0.25) !important;
}

.legend-green {
    background-color: rgba(0, 255, 0, 0.25) !important;
}

.legend-gray {
    background-color: rgba(128, 128, 128, 0.35) !important;
}

.legend-blue {
    background-color: rgba(0, 44, 219, 0.25) !important;
}

.legend-lightblue {
    background-color: rgba(18, 136, 214, 0.25) !important;
}

.legend-orange {
    background-color: rgba(255, 115, 0, 0.301) !important;
}

.legend-lightorange{
    background-color: #f29132 !important;
}

.legend-violet {
    background-color: #925c84 !important;
}

.legend-dark {
    background-color: #92341e !important;
}

.problem-person-row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: stretch;
    justify-content: space-evenly;
    align-items: center;
}

.blotting-paper-row td:first-of-type,
.bobbin-material-row td:first-of-type,
.packaging-material-row td:first-of-type {
    font-size: 1rem;
    font-weight: bold;
    vertical-align: middle;
}

/* form .table-responsive-sm{
    overflow-x: scroll;
} */

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
    body {
        font-size: 0.65rem !important;
    }

    input,
    select {
        font-size: 0.65rem !important;
    }

    .add-employee-problem-row {
        flex-direction: column;
    }

    .add-employee-problem-row .btn {
        width: 100%;
    }

    .btn {
        font-size: 0.7rem !important;
    }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
    body {
        font-size: 0.70rem !important;
    }

    input,
    select {
        font-size: 0.70rem !important;
    }
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
    body {
        font-size: 0.85rem !important;
    }

    input,
    select {
        font-size: 0.85rem !important;
    }

    /* .add-employee-problem-row{
        flex-direction: row;
    }

    .add-employee-problem-row .btn{
        width: auto;
    } */

    .btn {
        font-size: 0.85rem !important;
    }
}

.card-body.p-0 .table tbody>tr>td:first-of-type,
.card-body.p-0 .table tbody>tr>th:first-of-type,
.card-body.p-0 .table tfoot>tr>td:first-of-type,
.card-body.p-0 .table tfoot>tr>th:first-of-type,
.card-body.p-0 .table thead>tr>td:first-of-type,
.card-body.p-0 .table thead>tr>th:first-of-type {
    padding-left: .75rem;
}

.flex {
    display: flex;
}

input {
    min-width: 85px;
    /* width: 70px; */
}

#time {
    font-size: 1.5rem;
    font-family: "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

.top-header .calculator,
.top-header .messages {
    margin-right: 20px;
}


.hide {
    opacity: 0;
    transition: opacity 0.5s;
}

.show {
    opacity: 1;
    transition: opacity 0.5s;
}

.select2-selection__clear{
    bottom: -0.15rem;
}

#module-name{
    font-size: 1.5rem;
    font-family: "Source Sans Pro",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
    padding-right: 30px;
}

.select2-container--open {
    z-index: 9999999;
}

.select2-selection{
    height: 38px !important;
}


.table-fixed{
    table-layout: fixed;
    white-space: break-spaces;
}


.quality-card-form .row.head::-webkit-scrollbar-track
{
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    border-radius: 10px;
    background-color: #F5F5F5;
}

.quality-card-form .row.head::-webkit-scrollbar
{
    width: 12px;
    background-color: #F5F5F5;
}

.quality-card-form .row.head::-webkit-scrollbar-thumb
{
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
    background-color: #555;
}