@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

:root {
    --backgroundColor: #ffffff;
    --headerColor: #f7f7f7;
    --fontColor: #ffffff;
    --sideBarColor: #363636;
}

::-webkit-scrollbar {
    -webkit-appearance: none;
}

    ::-webkit-scrollbar:vertical {
        width: 14px;
    }

    ::-webkit-scrollbar:horizontal {
        height: 14px;
    }

::-webkit-scrollbar-thumb {
    background-color: rgb(193 193 193);
    border-radius: 10px;
    border: 2px solid #ffffff;
}

::-webkit-scrollbar-track {
    border-radius: 10px;
    background-color: #ffffff;
}

html, body 
{
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    height: 100%;
    width: 100%;
    overflow-x: hidden;
}

.logoutLink
{
    position: absolute;
    right: 30px;
}

.logoutLink:hover
{
    cursor: pointer;
}

.btn-light {
    background-color: #c5ced3 !important;
}

body
{
    background-color: var(--backgroundColor) !important;
}

.rz-accordion-header
{
    padding: 15px
}

.rz-dialog-wrapper
{
    z-index: 1003 !important;
}

.rz-dialog-content
{
    height: 100%;
}

.loginCard 
{
    max-width: 300px;
    max-height: 300px;
    width: 95vw;
    height: 95vh;
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.loginCardButton
{
    margin-top: 20px;
    font-size: 20px;
    padding: 15px;
}

.reportListContainer li {
    margin-left: -11px !important;
}

.recordDateLabel 
{
    color: #cdcdcd;
    font-size: 14px;
    float: right;
}

.contentContainer {
    width: 100%;
    padding: 40px;
    position: absolute;
    height: calc(100vh - 60px);
    overflow-y: auto;
    overflow-x: hidden;
    top: 60px;
}



.contentContainer.navBarOpen
{
    padding-left: 270px;
}

.pageHeader
{
    height: 60px;
    width: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    background-color: var(--headerColor);
    z-index: 1002;
    display: flex;
    align-items: center;
    padding-left: 20px;
}

#mainTitle
{
    margin: 0px;
    margin-left: 20px;
}

#applicationLogo
{
    max-width: 200px;
    margin-left: 20px;
    margin-right: 20px;

    max-height: 100%;
}

@media screen and (max-width: 500px)
{
    #globalApplicationLogo {
        display: none;
    }
}

#globalApplicationLogo {
    max-width: 120px;
    max-height: 50%;

    position: absolute;
    top: 10px;
    right: 15px;
}

.profileMenu {
    position: absolute !important;
    right: 20px;
}

.userNameLabel
{
    display: inline;
}

#sidebarToggleButton *
{
    pointer-events: none;
}

.navBar {
    padding: 20px;
    padding-top: 80px;
    background-color: var(--sideBarColor);
    width: 250px;
    height: 100%;
    overflow-y: auto;
    position: absolute;
    top: 0px;
    left: -250px;
    z-index: 1001;
}

.navBar.navBarOpen
{
    top: 0px;
    left: 0px;
}

.navBar > a 
{
    text-decoration: none;
    color: var(--fontColor);
    font-size: 16px;
    display: block;
    margin-left: 5px;
    margin-bottom: 5px;
    padding: 5px;
    border: 3px solid #ffffff00;
    border-radius: 5px;
}

.navBar > a:hover 
{
    border: 3px solid rgba(255, 255, 255, 0.5);
    border-radius: 5px;
    font-weight: 600;
}

.navBar > p
{
    text-decoration: none;
    color: var(--fontColor);
    font-size: 18px;
    display: block;
    width: 100%;
    margin-bottom: 5px;
    padding: 5px;
    border-bottom: 1px solid var(--fontColor);
}

#blazor-error-ui {
    background: #ff0000;
    color: white;
    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;
    z-index: 100000;
}

#blazor-error-ui .dismiss 
{
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

.blazor-error-boundary 
{
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0I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MuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

.blazor-error-boundary::after 
{
    content: "An error has occurred."
}

.mapIframe {
    width: 100%;
    max-width: 300px;
    min-width: 300px;
    height: 200px;
}

.recordMapContainer {
    width: 100%;
    height: 300px;
    max-width: 500px;
}

.popupImg {
    max-width: 200px;
}

.formLabel {
    font-weight: bold;
    margin-top: 10px;
}

.formRow
{
    margin-bottom: 15px;
}

.coordinatClickLabel {
    color: #479cc8;
    text-decoration: underline;
}

.coordinatClickLabel:hover {
    color: #6ea7c4;
    cursor: pointer;
}

.imageInputPreview {
    display: block;
    max-width: 200px;
    max-height: 200px;
    /*
    height: auto;
    width: 100%;
    box-shadow: #00000038 0px 0px 3px 0px;
    */
    margin-top: 5px;
    margin-bottom: 5px;
}

.loginCenterContainer 
{
    margin-top: -50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 300px;
    width: 500px;
    background-color: var(--sideBarColor);
}

.loginBody 
{
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--backgroundColor) !important;
}

.loginBtn 
{
    display: block;
    color: white;
    padding: 15px;
    font-size: 20px;
    width: 80%;
    margin-bottom: 10px;
}

.loginGitHub 
{
    background-color: black;
}

.loginAad
{
    background-color: dodgerblue;
}

.reportListContainer .rz-datalist-data {
    margin-left: -12px !important;
}

.formFieldWide
{
    width: 100% !important;
    max-width: 500px !important;
}

.formFieldRequired 
{
    border: 1px solid red !important;
}

.combiFieldFormContainer
{
    width: 100%;
    overflow-x: auto;
    padding-right: 20px;
}

.combiFieldInputFieldContainer
{
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    margin-bottom: 10px;
}

.geolocationIframe {
    pointer-events: none;
}

.signatureGroup canvas {
    border-radius: 5px;
    background-color: white;
    box-shadow: inset #00000038 0px 0px 3px 0px;
}

.signatureGroup {
    background-color: white;
    padding: 15px;
    border-radius: 5px;
    width: 330px;
}

/*Loading Animation*/
.lds-default {
    display: block;
    position: fixed;
    top: 45%;
    left: calc(50% - 40px);
    width: 80px;
    height: 80px;
    transform: scale(2);
    z-index: 1000;
}

.lds-default div {
    position: absolute;
    width: 8px;
    height: 8px;
    background: dodgerblue;
    border-radius: 50%;
    animation: lds-default 1.2s linear infinite;
}

.lds-default div:nth-child(1) {
    animation-delay: 0s;
    top: 37px;
    left: 66px;
}

.lds-default div:nth-child(2) {
    animation-delay: -0.1s;
    top: 22px;
    left: 62px;
}

.lds-default div:nth-child(3) {
    animation-delay: -0.2s;
    top: 11px;
    left: 52px;
}

.lds-default div:nth-child(4) {
    animation-delay: -0.3s;
    top: 7px;
    left: 37px;
}

.lds-default div:nth-child(5) {
    animation-delay: -0.4s;
    top: 11px;
    left: 22px;
}

.lds-default div:nth-child(6) {
    animation-delay: -0.5s;
    top: 22px;
    left: 11px;
}

.lds-default div:nth-child(7) {
    animation-delay: -0.6s;
    top: 37px;
    left: 7px;
}

.lds-default div:nth-child(8) {
    animation-delay: -0.7s;
    top: 52px;
    left: 11px;
}

.lds-default div:nth-child(9) {
    animation-delay: -0.8s;
    top: 62px;
    left: 22px;
}

.lds-default div:nth-child(10) {
    animation-delay: -0.9s;
    top: 66px;
    left: 37px;
}

.lds-default div:nth-child(11) {
    animation-delay: -1s;
    top: 62px;
    left: 52px;
}

.lds-default div:nth-child(12) {
    animation-delay: -1.1s;
    top: 52px;
    left: 62px;
}

@keyframes lds-default {
    0%, 20%, 80%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.5);
    }
}
/*Loading Animation End*/

@media screen and (max-width: 800px), screen and (max-height: 600px) 
{
    .contentContainer.navBarOpen {
        padding-left: 10px;
    }

    .pageHeader {
        height: 35px;
    }

    .contentContainer {
        padding: 10px;
        height: calc(100vh - 35px);
        top: 35px;
    }

    .userNameLabel {
        display: none;
    }

    .mapIframe {
        max-width: 250px;
        min-width: 250px;
    }

    .imageInputPreview {
        max-width: 250px;
        max-height: 250px;
    }
}


/*QcObject Header Fields Layout on detail view*/
/*
.objectHeaderTableContainer
{
    width: 100%;
    height: 100%;
}

.qcObjectHeaderContainerColumn
{
    column-count: 1;
}

.qcObjectFieldLabel
{
    text-align: start;
    white-space: nowrap;
    margin-top: 20px;
}

.recordsHeaderTable td{
    vertical-align: top;
    break-inside: avoid-column;
    display: block;
}

.recordsHeaderTable td {
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
}

@media only screen and (min-width: 992px)
{
    .qcObjectHeaderContainerColumn
    {
        column-count: 2;
        column-fill: balance;
    }
}

@media only screen and (min-width: 600px)
{
    .recordsHeaderTable td
    {
        display: table-cell;
    }

    .qcObjectFieldLabel
    {
        text-align: end;
    }
}
*/

.recordListItemFlexContainer {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.recordListItemFlexContainer > div
{
    margin-right: 40px;
    margin-bottom: 5px;
    word-break: break-word;
}

.recordGrid {
    display: grid;
    grid-template: 'recordHeader recordHeader'
        'recordSide recordFields';
    grid-template-rows: 50px 1fr;
    grid-template-columns: 3fr 5fr;
}

.recordGridNoSide {
    display: grid;
    grid-template: 'recordHeader recordHeader'
        'recordFields recordFields';
    grid-template-rows: 50px 1fr;
    grid-template-columns: 1fr 1fr;
}

.recordHeader {
    grid-area: recordHeader;
}

.recordSide {
    grid-area: recordSide;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding-right: 20px;
}

.recordSide > div
{
    margin: 10px;
}

.recordFields {
    grid-area: recordFields;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding-left: 20px;
    justify-content: space-between;
}

.recordGrid > .recordFields {
    border-left: 2px solid #cdcdcd;
}

.recordFields > div {
    margin-right: 40px;
    margin-bottom: 5px;
    word-break: break-word;
}

@media screen and (max-width: 850px) {
    
    .recordGrid {
        display: grid;
        grid-template:  'recordHeader'
                        'recordFields'
                        'recordSide';
    }

    .recordSide {
        padding-right: 0px;
        border-top: 2px solid #cdcdcd;
        flex-direction: column;
    }

    .recordFields {
        padding-left: 0px;
        border-left: none;
    }

    .recordGrid > .recordFields
    {
        border-left: none;
    }
}

.mapContainer
{
    display: flex;
    flex-flow: column;
    /*height: 100%;*/
    width: 100%;
}

.mapContainer #map 
{
    /*
    flex: 1 1 auto;
    */
    height: 70vh;
}

.mapContainer .mapQcObjectTableContainer
{
    /*
    height: 420px;
    flex: 1 1 auto;
    */
    margin-top: 20px;
}

/*QcObject Header Fields Layout on detail view
.qcObjectHeaderContainer {
    width: 100%;
    padding-top: 15px;
    padding-bottom: 15px;
}

.qcObjectHeaderContainerColumn {
    column-fill: balance;
}

.qcObjectHeaderFieldContainer {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 15px;
}

.qcObjectHeaderLabelContainer {
    break-inside: avoid-column;
    width: 100%;
    word-break: break-word;
}

.qcObjectHeaderValueContainer {
    break-inside: avoid-column;
    width: 100%;
    text-align: start;
}

.qcObjectHeaderContainerColumn .qcObjectHeaderLabelContainer {
    width: 100%;
}

.qcObjectHeaderContainerColumn .qcObjectHeaderValueContainer {
    width: 100%;
}

@media only screen and (min-width: 600px) {

    .qcObjectHeaderFieldContainer
    {
        flex-direction: row;
    }

    .qcObjectHeaderLabelContainer {
        width: 25%;
        text-align: start;
    }

    .qcObjectHeaderValueContainer {
        width: 75%;
    }

    .qcObjectHeaderContainerColumn ul,
    .qcObjectHeaderContainerColumn p,
    .qcObjectHeaderContainerColumn a {
        padding: 0px;
        padding-left: 10px;
    }

    .qcObjectHeaderContainerColumn .qcObjectHeaderLabelContainer {
        width: 25%;
        text-align: end;
        margin-right: 20px;
    }

    .qcObjectHeaderContainerColumn .qcObjectHeaderValueContainer {
        width: 75%;
        padding-left: 15px;
    }
}

@media only screen and (min-width: 992px) {

    .qcObjectHeaderContainerColumn {
        column-count: 2;
        padding-left: 50px;
        padding-right: 50px;
    }

    .qcObjectHeaderLabelContainer {
        width: 25%;
    }

    .qcObjectHeaderValueContainer {
        width: 75%;
    }
}
*/

.qcHeaderContainer
{
    column-count: 1;
}

.qcHeaderItem
{
    margin-bottom: 20px;
}

.qcHeaderFieldLabel
{
    width: 100%;
}

.qcHeaderValue {
    width: 100%;
    word-wrap: break-word;
}

.tableLoadAmountLabel 
{
    display: inline;
    color: gray;
    margin-top: 10px;
    margin-bottom: 5px;
}

.tableLoadAmountLabelHover 
{
    color: gray;
    cursor: pointer;
}

.tableLoadAmountLabelHover:hover 
{
    color: dodgerblue;
}

/*QR-Scanner*/
#qrCameraContainer 
{
    background-color: black;
    max-width: 800px;
    margin-bottom: 20px;
}

#qrCameraContainer video 
{
    width: 100% !important;
    max-height: 50vh;
}

#qr-shaded-region 
{
    width: 100% !important;
    max-height: 80vh;
}

@media only screen and (min-width: 600px) {
    .qcHeaderContainer
    {
        column-count: 2;
        width: 100%;
    }
}

@media only screen and (min-width: 992px)
{
    .qcHeaderItem
    {
        display: flex;
        width: 70%;
    }

    .qcHeaderFieldLabel
    {
        text-align: end;
        margin-right: 10px;
        width: 40%;
    }

    .qcHeaderValue
    {
        width: 60%;
    }
}

.formDataContainer 
{
    column-count: 1;
    margin-left: 20px;
}

.formDataField {
    break-inside: avoid-column;
}

.formDataFieldLabel {
    width: 100%;
}

.formDataFieldValue {
    width: 100%;
}

.formDataFieldValue p {
    white-space: break-spaces;
}

@media only screen and (min-width: 600px) 
{
    .formDataContainer {
        column-count: 2;
        width: 100%;
    }

    .formDataFieldLabel {
        width: 100%;
    }

    .formDataFieldValue {
        width: 100%;
    }
}

.rz-notification
{
    z-index: 1004 !important;
}

.rz-button
{
    margin-bottom: 5px !important;
    margin-right: 5px !important;
}

.rz-splitbutton .rz-button {
    margin-right: 0px !important;
}

.syncConflictDialogParent {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.syncConflictDialogFormContainer
{
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
}

.syncConflictDialogButtonContainer 
{
    min-height: 100px;
    margin-top: 20px;
}

.fileLink {
    cursor: pointer;
    color: blue;
    text-decoration: underline;
    word-wrap: break-word;
}

    .fileLink:hover {
        text-decoration: none;
    }

.heightFillContainer {
    display: flex;
    flex-flow: column;
    height: 100%;
}

.heightFillSizedToContent {
    flex: 0 1 auto;
}

.heightFillSizedOverflowHeight {
    flex: 0 1 auto;
    overflow: auto;
}

.heightFillSizedForTable {
    flex: 0 1 auto;
    overflow: auto;
    min-height: 250px
}

.heightFillSizedToRemainingHeight {
    flex: 1 1 auto;
    overflow: auto;
}

.FileInputFormFiledInput
{
    display: none;
}

.qcTableHeaderButton {
    border: 1px solid #ccd0d3;
}

.userRoleSelectionContainer {
    display: flex;
    max-width: 800px
}

.userRoleSelectionGroup {
    width: 50%;
    margin-right: 20px;
    margin-bottom: 30px;
}

    .userRoleSelectionGroup:nth-child(odd) {
        border-right: 1px solid #dadfe2;
    }


.drop-zone {
    padding: 50px;
    width: 100%;
    max-width: 500px;
    min-height: 100px;
    border: 2px dashed #0087F7;
    border-radius: 5px;
    margin-left: 0px;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    color: #0087F7;
}

    .drop-zone.hover {
        border: 2px solid limegreen;
        color: limegreen;
    }

.infoIcon {
    margin-left: 8px;
    cursor: pointer;
    color: #28363c87;
    vertical-align: middle;
}

.formLabelContainer {
    margin-bottom: 4px;
}

.formLabelContainer .formLabel {
    display: inline-block;
    margin-bottom: 0px;
}

.formLabelContainer .infoIcon {
    margin-left: 4px;
    font-size: 18px;
}

.toolTipContainer {
    display: inline-block;
}

.headerInfoIconContainer > h1,
.headerInfoIconContainer > h2,
.headerInfoIconContainer > h3,
.headerInfoIconContainer > h4,
.headerInfoIconContainer > h5,
.headerInfoIconContainer > h6,
.headerInfoIconContainer > p {
    display: inline-block;
}

.rz-tooltip-content{
    white-space: break-spaces !important;
    max-width: 400px;
}

.qcCodePreviewContainer{
    display: inline-block;
    margin-right: 30px;
}