﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    height: 100%;
}

.k-notification .k-notification-content .qt-notification-content {
    white-space: pre-line;
    padding-block: 0px 16px; /* realigns text compared to w/o `pre-line` */
}

.k-notification .k-notification-status {
    align-self: start;
    margin-top: 4px;}
.k-notification .k-notification-actions {
    align-self: start;
    padding-left:6px;
}
    
a, .btn-link {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac; 
}

#app {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.top-row {
    height: 3.5rem;
    display: flex;
    align-items: center;
}

.main {
    flex: 1;
    flex-direction:column;
    display:flex;
}

    .main .top-row {
        background-color: #f7f7f7;
        border-bottom: 1px solid #d6d5d5;
        justify-content: flex-end;
    }

        .main .top-row > a, .main .top-row .btn-link {
            white-space: nowrap;
            margin-left: 1.5rem;
        }

.main .top-row a:first-child {
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar {
    background-image: linear-gradient(180deg, #28bfba 0%, #0e8b86 70%);
}

    .sidebar .top-row {
     /*   background-color: rgba(0,0,0,0.4);*/
     padding-left:4px;
    }

    .sidebar .navbar-brand {
        font-size: 1.1rem;
    }

    .sidebar .oi {
        width: 2rem;
        font-size: 1.1rem;
        vertical-align: text-top;
        top: -2px;
    }

    .sidebar .nav-item {
        font-size: 0.9rem;
        padding-bottom: 0.5rem;
    }

        .sidebar .nav-item:first-of-type {
            padding-top: 1rem;
        }

        .sidebar .nav-item:last-of-type {
            padding-bottom: 1rem;
        }

        .sidebar .nav-item a {
            color: #d7d7d7;
            border-radius: 4px;
            height: 3rem;
            display: flex;
            align-items: center;
            line-height: 3rem;
        }

            .sidebar .nav-item a.active {
                background-color: rgba(255,255,255,0.25);
                color: white;
            }

            .sidebar .nav-item a:hover {
                background-color: rgba(255,255,255,0.1);
                color: white;
            }

.content {    
    padding:0 2px;    
    display:flex;
    flex:1;
    flex-direction: column;
}

.navbar-toggler {
    background-color: rgba(255, 255, 255, 0.1);
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e5670d;
    padding: 3px;
}

.validation-message {
    color: #d51923;
}

#blazor-error-ui {
    background: #d51923;
    color: #fff;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

@media (max-width: 767.98px) {
    .main .top-row:not(.auth) {
        display: none;
    }

    .main .top-row.auth {
        justify-content: space-between;
    }

    .main .top-row a, .main .top-row .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 768px) {
   
}

.qt-content {
    display: flex;
    flex-direction: column;
    /* height: 100%;*/
    width: 100%;
    padding: 0;
    margin: 0;
    flex: 1;
}


.qt-content-window {
    display: flex;
    height: 100%;
    flex-direction: column;
    width: 100%;
    padding: 0;
    margin: 0;
    flex: 1;
}

header {
   
}

.qt-p2 {
    padding: 2px !important;
}

.qt-p0 {
    padding: 0px !important;
}

footer {
    padding-bottom:24px;
}

.qt-row {
    display: flex;
    flex-wrap: wrap;
}

.qt-row-tablet {
    display: flex;
    flex-wrap: wrap;
    width: 100%
}

.qt-col-whole {
    flex: 0 0 100%;
    padding: 4px;
}

.qt-col-half {
    flex: 0 0 50%;
    padding: 4px;
}

.qt-col-twothirds {
    flex: 0 0 66.66%;
    padding: 4px;
}

.qt-col-third {
    flex: 0 0 33.33%;
    padding: 4px;
}
.qt-col-onethird {
    flex: 0 0 33.33%;
    padding: 4px;
}

.qt-col-quarter {
    flex: 0 0 25%;
    padding: 4px;
}
.qt-col-twoquarters {
    flex: 0 0 50%;
    padding: 4px;
}
.qt-col-threequarters {
    flex: 0 0 75%;
    padding: 4px;
}
.qt-col-onefith {
    flex: 0 0 20%;
    padding: 4px;
}
.qt-col-fourfiths {
    flex: 0 0 80%;
    padding: 4px;
}

.qt-col-twofiths {
    flex: 0 0 40%;
    padding: 4px;
}

.qt-col-threefiths {
    flex: 0 0 60%;
    padding: 4px;
}

.qt-col-tabletten {
    flex: 0 0 2%;
    padding: 4px;
}
.qt-col-tableteight {
    flex: 0 0 96%;
    padding: 4px;
    
}
.qt-col-oneseventh {
    flex: 0 0 14%;
    padding: 4px;
}

.qt-input-labels{
    margin-bottom:0px;
    font-weight:bold;
    padding:3px;
}

.qt-menu-button {
    width: 100%;
    padding: 1rem;
    margin-top: 1rem;
    padding-block: 1rem !important;
}

.qt-menu-button-sm {
    width: 100%;
    padding: 0.4rem;
    margin-top: 0.6rem;
    padding-block: 0.4rem !important;
}

.qc-menu-button{
    max-width:140px;
}

.qt-form-button {
    width: 100%;
}

.qt-grid {
    height: 100%;
}

.qt-grid-clickable .k-master-row {
    cursor: pointer;
}

main {
    flex: 1 1 auto;
    background-color: #fff;
    flex-direction: column;
    min-height: 200px;
    height: 0px;
    overflow-y: auto;
}

.qt-form {
    display: flex;
    flex-direction: column;
    /* height: 100%;*/
    width: 100%;
    padding: 0;
    margin: 0;
    flex: 1;
}

.qt-content-right {
    padding-right: 20px;
    text-align: end;
    margin-left: auto;
}

.qt-content-bottom {
    margin-top: auto;    
}

.qt-rejected {
    background-color: #d51923 !important;
    color: #fff !important;
}

.qt-approved {
    background-color: #5ec232 !important;
    color: #fff !important;
}

.qt-failed {
    background-color: #e5670d !important;
    color: #fff !important;
}

.qt-largecheckbox {
    /* Double-sized Checkboxes */
    -ms-transform: scale(2); /* IE */
    -moz-transform: scale(2); /* FF */
    -webkit-transform: scale(2); /* Safari and Chrome */
    -o-transform: scale(2); /* Opera */
    transform: scale(2);
    padding: 10px;
    margin: 4px;
    margin-right: 8px;
}
.k-multiselect:after {
    content: "\25BC";
    position: absolute;
    top: 30%;
    right: 25px;
    font-size: 12px;
}

.qt-grid-aligncheckbox{
    text-align:center !important;    
}

.pagebanner {
    display: flex;
    flex-flow: row wrap;
    border-bottom: solid 2px #28bfba;
    margin-bottom: 6px;
}

* {
    box-sizing: border-box;
}

.pageheading {
    display: flex;
    flex-basis: 100%;
    align-items: center;
    justify-content: left;
    /* flex: 1 0 33.3333%;*/
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 8px;
    margin-bottom: 6px;
}



    .pageheading:hover {
        filter: brightness(0.85);
    }

.initials {
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50%;
    text-align: center;
    border: solid 2px #28bfba;
    margin-left: auto;
}

.qt-page-heading-labels{
    font-size:1.4em;
    
}

#qt-logo{
    margin-left:20px;
    margin-top:-5px;
}

.qt-limitwidth {
    align-self: center;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100% !important;
    padding: 0;
    margin: 0;
    flex: 1;
}

.qt-stacked {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 8px 4px;
}



/* grid */
.k-grid.qt-grid,
.k-grid.qt-grid-report,
/* grid toolbar */
.k-grid.qt-grid .k-toolbar,
.k-grid.qt-grid-report .k-toolbar,
/* grid cells */
.k-grid.qt-grid table,
.k-grid.qt-grid-report table,
/* textboxes */
.k-grid.qt-grid .k-input,
.k-grid.qt-grid-report .k-input,
/* date pickers */
.k-grid.qt-grid .k-picker,
.k-grid.qt-grid-report .k-picker,
/* buttons */
.k-grid.qt-grid .k-button,
.k-grid.qt-grid-report .k-button,
/* column and filter menu */
.k-popup,
.k-popup .k-input,
.k-popup .k-picker,
.k-popup .k-button,
/* dropdowns */
.k-popup .k-list {
    font-size: 0.8rem;
}

.k-grid table colgroup > col {
    min-width: 40px !important;
}

.qt-grid .k-table-td {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

.qt-grid-report .k-table-td {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: normal !important;
}

.qt-grid-report .k-table-th {
    justify-content: center !important;
    text-align: center !important;
    white-space: normal !important;
    vertical-align: middle !important;
}

.qt-grid-report .k-column-title {
    justify-content: center !important;
    text-align: center !important;
    white-space: normal !important;
    vertical-align: middle !important;
}

.qt-card-leftlabel {
    width: 100px;
    font-size: 0.8rem;
    font-weight: bold;
    flex: 0 0 auto;
}

.qt-netoffline {    
    margin-right: 8px;
    font-size: 1.2rem;
    font-weight: bold;
    padding: 4px;
    color: white;
    background-color: #d51923;
    border-radius: 4px;
}


.qc-container {
    display: flex;
    height: 100%;
}

.qc-column {
    flex: 1;
}

.qc-column-wide {
    flex-basis: 100%;
    overflow-y: hidden;
    display: flex;
    flex-direction: column;
}

/*QC Drawer*/

.qt-drawercontent {
    flex-wrap: wrap;
}
.qt-drawer-descr {
    margin-top: -5px;
    white-space: nowrap;
    overflow: hidden;
}

.qt-drawer-icontext {
    font-size: 0.8rem;
    font-weight: bold;
    margin-left: -6px;
}

.qt-drawer-wrap > span {
    font-size: 70%;
}

.qt-drawer-wrap {
    display: flex;
    flex-direction: column;
}


.qt-drawer-toolbar {
    width: 100%;
    background-color: #f6f6f6;
    line-height: 10px;
    border-bottom: inset;
    border-bottom-width: 1px;
    text-align:right;
    padding: 3px 13px 3px 0;
    color: #656565;
}

.qt-drawer .oi {
    font-size: 1.2em;
}

.qt-drawer{
    height:100%;
}

    .qt-drawer .k-drawer-item {
        align-items: center;
        font-size: 1rem !important;
        padding-block: 4px !important;
    }

.qt-drawer .k-drawer-content {
    flex: 1 1 auto;
    flex-basis: 100%;
    overflow-y: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding-left: 6px;
}

.qt-button-iconlarge > span {
    font-size: 1.8rem;
}
.qt-link-text {
    color: #0047b3 !important;
}

.qt-link-text-orange {
    color: #b36b00 !important;
}


.qt-separator {
    display: flex;
    align-items: center;
    text-align: center;
}

    .qt-separator::before,
    .qt-separator::after {
        content: '';
        flex: 1;
        border-bottom: 1px solid #000;
    }

    .qt-separator:not(:empty)::before {
        margin-right: .25em;
    }

    .qt-separator:not(:empty)::after {
        margin-left: .25em;
    }


.k-window.k-dialog{
    max-height:100%;
    max-width:100%;
}

.qt-dialog {
    width: 600px;
}

.qt-dialog-small {
    width: 400px;
}

.qt-dialog-large {
    width: 900px;
}

.qt-dialog-xlarge {
    width: 1200px;
}

.qt-edit-container-np {
    border: 1px solid #d6d5d5;
    color: var(--kendo-color-on-app-surface, #424242);
    background-color: var(--kendo-color-surface, #fafafa);
}

.qt-edit-container {
    border: 1px solid #d6d5d5;
    padding-top: 12px;
}

.qt-edit-containerHSE {
    border: 1px solid #d6d5d5;
    padding: 2px;
}

.qt-hsedialog {
    width:700px;
    height: 100%;
}

.qt-hsefileuploaddialog {
    width: 700px;
    height: 700px;
}

.qt-hseform {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
    flex: 1;
    overflow-y: scroll;
    font-size: 0.9rem;
}

qt-input-hselabels {
    margin-bottom: 0px;
    padding: 3px;
}

.qt-actionlink-text {
    color: #0047b3 !important;
    text-decoration:underline;
}

.qt-hsemenu-button {
    width: 100%;
    margin-top: 1rem;
    padding-block: 1rem !important;
}

.qt-hsemenu-button-h {
    height:100px;
}

.qt-hide-row{
    display:none;
}

.qt-hsemenu-button-external {
    width: 70%;
    margin-top: 1rem;
    padding-block: 1rem !important;
}


.k-card-subtitle {
    display: flex;
}

.qt-photolink {
    margin-left: auto;
    font-size: 1.2em;
    text-decoration: underline;
    cursor: pointer
}

.qt-scannerlink {
    margin-left: auto;
    font-size: 0.8em;
    text-decoration: underline;
    cursor: pointer;
    color: #0047b3;
}

.oi-camera-slr {
    margin-right: 8px;
}


.multicolumnheaderrow {
    display: flex;
    font-weight: bold;
}

    .multicolumnheaderrow > .multicolumn1,
    .multicolumnheaderrow > .multicolumn2 {
        padding-left: 6px;
    }

.multicolumn1 {
    flex: 0 0 200px;
}

.multicolumn2 {
    flex-grow: 1;
}

.materialsrange,
.electrodesrange,
.diametersrange {
    width: 100%;
}

    .materialsrange thead tr th:first-child,
    .electrodesrange thead tr th:first-child,
    .diametersrange thead tr th:first-child,
    .fillersrange thead tr th:first-child,
    .materialsrange tbody tr th:first-child,
    .diametersrange tbody tr th:first-child,
    .fillersrange tbody tr th:first-child,
    .electrodesrange tbody tr th:first-child {
        width: 140px;
    }

    .diametersrange th:not(:first-child),
    .materialsrange th:not(:first-child),
    .fillersrange th:not(:first-child),
    .electrodesrange th:not(:first-child),
    .diametersrange td:not(:first-child),
    .materialsrange td:not(:first-child),
    .fillersrange td:not(:first-child),
    .electrodesrange td:not(:first-child) {
        padding: 4px;
        text-align: center;
    }

.label-line {
    border-bottom: rgba(0, 0, 0, 0.08) solid 1px;
}

input::placeholder {
    font-size: 0.8em;
    opacity: 0.5;
}

.previewf {
    font-size: 0.8em;
    font-weight: bold;
}

.previewcontainer {
    margin-bottom: 3px;
}

.qt-preview-container {
    border: 1px solid #d6d5d5;
    padding-top: 2px;
}

.download {
    color: #027044;
}

a.download:hover,
a.clickabletext:hover {
    cursor: pointer !important;
    text-decoration: underline !important;
}


.red {
    color: red;
}

.qt-ndtrequest-dialog {
    min-width: 600px;
    max-width: 800px;
}

.qt-hidden {
    visibility: hidden;
}
.qt-text-right {
    text-align: right !important;
}

.no-headers-form .k-form-legend {
    display: none;
}

.no-headers-form {
    margin-top: 0px !important;
}


.k-form .k-form-legend {    
    text-transform: initial !important;
}

.required-field .k-form-label::after {
    content: "*";
    color: red;
    padding-left: .4em;
}


@media only screen and (max-width: 640px) {

    .qt-page-heading-labels {
        font-size: 1em;
    }

    .qt-col-quarter {
        flex: 0 0 100%;
        padding: 1px;
    }

    .qt-col-twoquarters {
        flex: 0 0 100%;
        padding: 1px;
    }

    .qt-col-threequarters {
        flex: 0 0 100%;
        padding: 1px;
    }

   

}