/*
 *	QAT Stylesheet Fault Detection
 *	2023 David Roeskamm
*/

.OVERLAY {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1000;
}

.OVERLAY-OFF {
    display: none;
}

.MODAL {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    padding: 48px;
    max-height: calc(100% - 96px);
    max-width: calc(100% - 96px);
    border-radius: 12px;
    background-color: #f5f6fa;
    overflow: auto;
    transform-origin: -200% -200%;
    animation-name: MODALZOOM;
    animation-duration: 0.2s;
}

.MODAL-HINT {
    width: 400px;
}

@keyframes MODALZOOM {
    from {
        transform: scale(0.8);
    }

    to {
        transform: scale(auto);
    }
}

.MODAL h2 {
    margin-bottom: 2.4rem;
    min-height: 1.2rem;
    font-size: 1.2rem;
}

.MODAL h3 {
    margin-bottom: 0.3rem;
    min-height: 0.8rem;
    font-size: 0.8rem;
}

.MODAL p {
    margin-bottom: 1.2rem;
    font-size: 1rem;
}

.MODAL select {
    margin-bottom: 1.2rem;
    padding: 12px 6px;
    height: auto;
    width: 100%;
    border: none;
    outline: 1px solid #b7b9ba;
    outline-offset: -1px;
    appearance: none;
    background-color: #fff;
    background-image: url(../img/modals/arrow_drop_down_black_48dp_grey.svg);
    background-size: 24px 24px;
    background-position: center right;
    background-repeat: no-repeat;
    color: darkslategrey;
}

.MODAL select:hover,
.MODAL select:focus {
    outline: 2px solid #4e9bc7;
    outline-offset: -2px;
    background-image: url(../img/modals/arrow_drop_down_black_48dp_blue.svg);
}

.MODAL textarea {
    margin-bottom: 0.8rem;
    padding: 6px;
    height: 100px;
    min-height: calc(2.2rem + 12px);
    max-height: 300px;
    min-width: calc(100% - 12px);
    max-width: 900px;
    width: calc(33vw - 94px);
    border: none;
    outline: 1px solid #b7b9ba;
    outline-offset: -1px;
    font-family: osl, sans-serif;
    font-size: 1.1rem;
    color: #000;
}

.MODAL textarea:hover,
.MODAL textarea:focus {
    outline: 2px solid #4e9bc7;
    outline-offset: -2px;
}

.MODAL textarea::placeholder {
    color: #b7b9ba;
}

.MODAL button {
    padding: 12px;
    margin-top: 1.6rem;
    height: auto;
    width: auto;
    border: none;
    outline: 1px solid #b7b9ba;
    outline-offset: -1px;
    background-color: #fff;
    font-family: osm, sans-serif;
    font-size: 1rem;
    color: darkslategrey;
}

.MODAL button:hover {
    outline: none;
    background-color: #4e9bc7;
    color: #fff;
}

.MODAL button:active {
    background-color: #fff;
    color: #000;
}

.MODAL input[type="checkbox"] {
    margin: 1.4rem 6px 0 0;
    appearance: none;
    height: 1.2rem;
    width: 1.2rem;
    outline: 1px solid #b7b9ba;
    outline-offset: -1px;
    background-color: #fff;
}

.MODAL input[type="checkbox"]:hover {
    outline: 2px solid #4e9bc7;
    outline-offset: -2px;
}

.MODAL input[type="checkbox"]:checked {
    outline: 2px solid #4e9bc7;
    outline-offset: -2px;
    background-color: #4e9bc7;
    background-image: url(../img/modals/check_white_48dp.svg);
    background-size: calc(1.2rem - 2px);
    background-position: center center;
    background-repeat: no-repeat;
}

.MODAL small {
    position: relative;
    top: -0.2rem;
    font-size: 0.8rem;
}

.MODAL img {
    height: auto;
    width: 400px;
    outline: 1px solid #b7b9ba;
    outline-offset: -1px;
}

#MODAL-ERRORDESCRIPTION-CREATE .MODAL {
    min-width: 33% !important;
    max-width: 66% !important;
    transition: all 0.5s;
}

@media only screen and (max-width: 1080px) {
    #MODAL-ERRORDESCRIPTION-CREATE .MODAL {
        min-width: 66% !important;
    }
}

.MEDCF-PHOTO {
    display: flex;
    margin: 0 0 1.2rem;
    height: 100px;
    width: auto;
}

.MEDCFP-ADD {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
    width: 100px;
    outline: 1px solid #b7b9ba;
    outline-offset: -1px;
    background-color: #fff;
}

.MEDCFP-ADD:hover {
    outline: 2px solid #4e9bc7;
    outline-offset: -2px;
}

.MEDCFP-ADD:hover > svg {
    fill: #4e9bc7;
}

.MEDCFP-ADD svg {
    fill: #b7b9ba;
}

.MEDCFP-IMG {
    display: none;
    justify-content: center;
    margin-right: 1.2rem;
    height: 100px;
    width: 100px;
    outline: 1px solid #b7b9ba;
    outline-offset: -1px;
    overflow: hidden;
}

.MEDCFP-IMG:hover {
    outline: 2px solid #4e9bc7;
    outline-offset: -2px;
}

.MEDCFP-IMG img {
    display: flex;
    justify-content: center;
    height: 100%;
    width: auto;
    transition: all 0.5s;
}

.MEDCFP-IMG img:hover {
    transform: scale(1.5);
    transition: all 0.5s;
}

.MEDCFP-ON {
    display: flex;
}

.MEDCFP-OFF {
    display: none;
}

#MODAL-ERRORDESCRIPTION-UPDATE .MODAL {
    min-width: 33% !important;
    max-width: 66% !important;
    transition: all 0.5s;
}

@media only screen and (max-width: 1080px) {
    #MODAL-ERRORDESCRIPTION-UPDATE .MODAL {
        min-width: 66% !important;
    }
}

.MEDUF-HEAD {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.MEDUF-DETAIL {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.MEDUF-DETAIL:nth-of-type(3),
.MEDUF-DETAIL:nth-of-type(5),
.MEDUF-DETAIL:nth-of-type(6),
.MEDUF-DETAIL:nth-of-type(7),
.MEDUF-DETAIL:nth-of-type(8) {
    margin-bottom: 2rem;
}

.MEDUFD-KEY {
    height: auto;
    width: 25%;
    min-width: 20ch;
}

.MEDUFD-VALUE,
.MEDUFD-OUTPUT {
    height: auto;
    max-height: 100px;
    width: 75%;
    min-width: 20ch;
    overflow-y: auto;
}

.MEDUFD-INPUT {
    height: auto;
    width: 75%;
    min-width: 20ch;
}

.MEDUFD-INPUT textarea {
    display: flex;
    resize: none;
}

.CHARACTER-COUNTER {
    display: flex;
    justify-content: end;
    padding-right: 4px;
    font-size: 0.8rem;
    font-family: osm, sans-serif;
    color: #4e9bc7;
    visibility: hidden;
}

.COUNTER-SHOW {
    visibility: visible;
}

.MEDUFD-PHOTOS {
    display: flex;
    justify-content: center;
    margin-right: 1.2rem;
    height: 100px;
    width: 100px;
    overflow: hidden;
}

.MEDUFD-PHOTOS img {
    display: flex;
    justify-content: center;
    height: 100%;
    width: auto;
    transition: all 0.5s;
}

.MEDUFD-PHOTOS img:hover {
    transform: scale(1.5);
    transition: all 0.5s;
}

.MEDUD-OFF {
    display: none;
}

.PHOTO:fullscreen {
    outline: none;
    background-color: #4e9bc7;
}

.MW-MODELTITEL {
    margin: 12px 0 0;
    overflow: hidden;
}

.MW-MODELTITEL h1 {
    height: 1.8rem;
    font-size: 1.6rem;
    line-height: 1.6rem;
    color: #000;
}

.MW-MODELDATA {
    display: flex;
    gap: 48px;
    margin-top: 12px;
    overflow: hidden;
    transition: all 0.5s;
}

@media only screen and (max-width: 1080px) {
    .MW-MODELDATA {
        gap: 24px;
    }
}

.MW-WORLDINFO {
    margin-top: 12px;
    height: auto;
    width: auto;
    font-family: osm, sans-serif;
    font-size: 1rem;
    overflow: hidden;
    white-space: nowrap;
}

.MWD-MODELVIEW {
    height: auto;
    width: 66%;
    min-width: 416px;
}

.MWDM-TOOLBAR {
    display: flex;
    gap: 1px;
    margin-bottom: 12px;
}

.MWDM-TOOLBAR span {
    height: 36px;
    width: 36px;
    background-color: #fff;
    overflow: hidden;
}

.MWDM-TOOLBAR span svg {
    padding: 6px;
    height: calc(100% - 12px);
    width: auto;
    fill: darkslategrey;
}

.MWDM-TOOLBAR span:hover {
    border-color: #4e9bc7 !important;
    background-color: #4e9bc7 !important;
}

.MWDM-TOOLBAR span:hover > svg,
.MWDM-TOOLBAR span:hover > label svg {
    fill: #fff !important;
}

.MWDM-TOOLBAR span:active {
    background-color: #fff !important;
}

.MWDM-TOOLBAR span:active > svg,
.MWDM-TOOLBAR span:active > label svg {
    fill: #000 !important;
}

#MWDMT-FILE-OPEN {
    display: none;
}

.MWDMT-FIRST {
    border-radius: 6px 0 0 6px;
}

.MWDMT-LAST {
    border-radius: 0 6px 6px 0;
}

.MWDMT-BUTTON-GREY svg {
    fill: #b7b9ba !important;
}

.MWDMT-BUTTON-UNSELECTABLE {
    pointer-events: none;
}

.MWDMT-BUTTON-HIDDEN {
    visibility: hidden;
}

x3d {
    width: 100%;
    height: calc(100vh - 240px - 2rem);
    border-radius: 12px;
    background-color: #fff;
    overflow: hidden;
}

.x3d-active {
    outline: 2px solid #4e9bc7;
    outline-offset: -2px;
}

#x3domProgessCount {
    display: none;
}

.MWD-MARKERLIST {
    height: auto;
    width: 33%;
    min-width: 400px;
}

.MWDM-OVERVIEW {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 12px;
    height: 36px;
    width: auto;
}

.MWDM-OVERVIEW span {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 36px;
    width: 36px;
    border-width: 0;
    border-style: solid;
    border-radius: 100%;
    font-family: osl, sans-serif;
    font-size: 1rem;
    color: #fff;
}

#MWDMO-OPEN {
    border-color: #f33;
    background-color: #f33;
}

#MWDMO-CLOSED {
    border-color: #3c3;
    background-color: #3c3;
}

.MWDM-CHECKLIST {
    padding: 12px;
    height: calc(100vh - 240px - 2rem - 24px);
    width: auto;
    border-radius: 12px;
    background-color: #fff;
}

.MWDMC-SCROLL {
    height: 100%;
    width: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    transition: all 0.5s;
}

.MWDMC-SCROLL-SPACE {
    padding-right: 12px;
    width: calc(100% - 12px);
}

.MWDMC-SCROLL table {
    height: auto;
    width: 100%;
    border-spacing: 0;
    font-weight: 400;
    font-size: 1rem;
    color: darkslategrey;
}

.MWDMC-SCROLL table tr th {
    position: sticky;
    top: 0;
    padding: 12px 0;
    border-bottom: 1px solid #b7b9ba;
    background-color: #fff;
    font-family: osl, sans-serif;
    color: #000;
}

.MWDMC-SCROLL table tr th:nth-child(1) {
    width: 10%;
}

.MWDMC-SCROLL table tr th:nth-child(2) {
    width: 30%;
}

.MWDMC-SCROLL table tr th:nth-child(3),
.MWDMC-SCROLL table tr th:nth-child(4),
.MWDMC-SCROLL table tr th:nth-child(5) {
    width: 20%;
}

.MWDMC-SCROLL table tr th:hover {
    border-radius: 12px 12px 0 0;
    border-bottom: 1px solid #4e9bc7;
    background-color: #4e9bc7;
    color: #fff;
}

.MWDMC-SCROLL table tr th:active {
    border-radius: 12px 12px 0 0;
    border-bottom: 1px solid #000;
    background-color: #fff;
    color: #000;
}

.MWDMC-SCROLL table tr td {
    padding: 12px 0;
    border-bottom: 1px solid #b7b9ba;
    text-align: center;
}

.MWDMC-SCROLL table tr:last-of-type td {
    border-bottom: none;
}

#MWDMCS-TABLE tbody tr td:first-child {
    padding: 0 12px;
}

.MWDMCST-POSITION svg,/* POSITION und DETAILS */
.MWDMCST-DETAILS svg {
    vertical-align: top;
    padding: 6px;
    height: 24px;
    width: 24px;
    border-radius: 6px;
    fill: #696969;
}

.MWDMCST-POSITION svg:hover,
.MWDMCST-DETAILS svg:hover {
    background-color: #4e9bc7;
    fill: #fff;
}

.MWDMCST-POSITION svg:active,
.MWDMCST-DETAILS svg:active {
    background-color: #fff;
    fill: #000;
}

.MWDMCST-STATUS-OPEN {
    display: block;
    margin: auto;
    height: 16px;
    width: 16px;
    border: 11px solid #fff;
    border-radius: 100%;
    background-color: #f33;
}

.MWDMCST-STATUS-CLOSED {
    display: block;
    margin: auto;
    height: 16px;
    width: 16px;
    border: 11px solid #fff;
    border-radius: 100%;
    background-color: #3c3;
}
