﻿
@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:wght@300;400;500;600;700;800;900&family=Nunito+Sans:opsz,wght@6..12,200;6..12,300;6..12,400;6..12,500;6..12,700&family=Red+Hat+Display:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

html, body {
    height: 100%;
    font-family: 'Inter Tight', sans-serif;
    font-size: 14px !important;
    color: #001E4B !important;
}

* {
    font-family: 'Inter Tight', sans-serif;
    font-size: 14px !important;
    color: #001E4B !important;
}

app {
    display: block;
    height: 100%;
}

.header-logo {
    flex-shrink: 0;
    background-image: url('../images/app-logo.svg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    height: 37px;
    width: 108px
}

#blazor-error-ui {
    background: inherit;
    bottom: 0;
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 100001;
}

@keyframes scanAnimation {
    0% {
        top: 5%;
    }

    100% {
        top: 92%;
    }
}

.scanner {
    position: relative;
}

    .scanner::after {
        content: "";
        position: absolute;
        margin-left: 5px;
        left: 0;
        right: 0;
        width: 95%;
        height: 50px; /* height of scanning light */
        background: linear-gradient(rgba(255, 255, 255, 0.0), rgba(180, 180, 255, 0.5) 40%, rgba(255, 255, 255, 0.0)); /* barva "skenovacího světla" */
        animation: scanAnimation 2s linear infinite; /* animation application */
        z-index: 10
    }



.pdf-viewer {
    width: 100%;
    height: 800px;
}

/*.pdf-viewer::after {
    padding-top: 0px;
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    width: 800px;
    height: 50px;*/ /* výška "skenovacího světla" */
/*background: linear-gradient(rgba(255, 255, 255, 0.0), rgba(200, 200, 255, 0.7) 40%, rgba(255, 255, 255, 0.0));*/ /* barva "skenovacího světla" */
/*animation: scanAnimation 0.5s linear infinite;*/ /* aplikace animace */
/*z-index: 10
}*/



#applicationLoadingPanel {
    background-color: #FFFFFF;
    color: #4B4B4B;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200vh;
}

.loading-border {
    border: 8px solid #D9D9D9;
    border-radius: 50%;
    height: 200px !important;
    width: 200px !important;
}

.loading-floated-circle {
    border: 8px solid #00A3E0;
    border-radius: 50%;
    border-left-color: transparent;
    border-right-color: transparent;
    border-bottom-color: transparent;
    height: 200px !important;
    width: 200px !important;
}

.loading-image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background-color: #0073E6;
    color: #FFFFFF;
    padding: 10px;
}

.loading-image {
    width: 150px;
    height: auto;
}

.loading-caption {
    margin-top: 16px;
    font-weight: bold;
    color: #4B4B4B;
}

#loadingBackground {
    background-color: #FFFFFF !important;
}

.loading-caption {
    display: none !important;
}

/*navigation back arrow*/
#id9f85d4c3-aa60-4a67-84e1-dd973853a536 > div.xaf-image {
    color: white !important;
}

/* Nastavení stylu pro titulky zobrazení a objektů */
span.xaf-view-caption-sm.xaf-ellipsis.d-block,
span.xaf-object-caption.xaf-ellipsis.fw-bold.d-block {
    color: white !important;
}





.content-collapsed {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
}

.content-expanded {
    max-height: 500px; /* Nastavte na maximální výšku obsahu */
    overflow: hidden;
    transition: max-height 0.5s ease-in;
}

.toggle-container {
    cursor: pointer;
    user-select: none;
}

.main {
    background-color: #F7F7F8 !important;
}


@keyframes blink {
    0% {
        background-color: yellow;
    }

    50% {
        background-color: white;
    }

    100% {
        background-color: yellow;
    }
}

.fmd-incidents-action {
    background-color: yellow;
    animation: blink 1s infinite;
}