﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

/* fira-sans-100 - latin */
@font-face {
    font-display: swap;
    font-family: 'Fira Sans';
    font-style: normal;
    font-weight: 100;
    src: url('../fonts/fira-sans-v16-latin-100.woff2') format('woff2');
}
/* fira-sans-200 - latin */
@font-face {
    font-display: swap;
    font-family: 'Fira Sans';
    font-style: normal;
    font-weight: 200;
    src: url('../fonts/fira-sans-v16-latin-200.woff2') format('woff2');
}
/* fira-sans-300 - latin */
@font-face {
    font-display: swap;
    font-family: 'Fira Sans';
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/fira-sans-v16-latin-300.woff2') format('woff2');
}
/* fira-sans-regular - latin */
@font-face {
    font-display: swap;
    font-family: 'Fira Sans';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/fira-sans-v16-latin-regular.woff2') format('woff2');
}
/* fira-sans-500 - latin */
@font-face {
    font-display: swap;
    font-family: 'Fira Sans';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/fira-sans-v16-latin-500.woff2') format('woff2');
}
/* fira-sans-600 - latin */
@font-face {
    font-display: swap;
    font-family: 'Fira Sans';
    font-style: normal;
    font-weight: 600;
    src: url('../fonts/fira-sans-v16-latin-600.woff2') format('woff2');
}
/* fira-sans-700 - latin */
@font-face {
    font-display: swap;
    font-family: 'Fira Sans';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/fira-sans-v16-latin-700.woff2') format('woff2');
}
/* fira-sans-800 - latin */
@font-face {
    font-display: swap;
    font-family: 'Fira Sans';
    font-style: normal;
    font-weight: 800;
    src: url('../fonts/fira-sans-v16-latin-800.woff2') format('woff2');
}
/* fira-sans-900 - latin */
@font-face {
    font-display: swap;
    font-family: 'Fira Sans';
    font-style: normal;
    font-weight: 900;
    src: url('../fonts/fira-sans-v16-latin-900.woff2') format('woff2');
}

/* galada-regular - latin */
@font-face {
    font-display: swap;
    font-family: 'Galada';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/galada-v14-latin-regular.woff2') format('woff2');
}


/*would like stop ng-include this into RazorClassLibrary, button didn't load after publish'*/
.limitedPage {
    width: 100%;
    max-width: var(--content-max-width);
    margin: auto;
    background-color: var(--color-page-background);
}

.mainNavRow-item {
    width: 100%;
    padding: 14px 0px 14px 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    transition: background-color .6s ease-in, color .2s ease-in;
}

    .mainNavRow-item.active {
        background-color: var(--color-page-background);
        color: var(--color-page-font-tertiary);
    }

    .mainNavRow-item:hover {
        background-color: #888;
        color: white;
    }

/*end of section*/


html, body {
    font-size: 16px;
    --color-app: #17a2b8;
    --color-app-light: #73cbd9;
    --color-app-xtralight: #96dcdcce;
    --color-warning: #d83f3f;
    --color-highlight: #fcfbc2;
    --color-menu-background: #333;
    --color-menu-font: white;
    --color-page-background: white;
    --color-page-background2: #fafafa;
    --color-page-font: black;
    --color-page-font-secondary: gray;
    --color-page-font-tertiary: #181c32;
    --color-page-font-quaternary: #444;
    --color-table-header-background: #dadada;
    --color-table-background: #f7f7f7;
    --color-table-background2: #dadada;
    --color-table-border: white;
    --color-form-control-border: #dcdfe6;
    --color-b1-font: #fff;
    --color-b1-back: #1b6ec2;
    --color-b1-border: #1861ac;
    --color-b2-font: #6c757d;
    --color-b2-back: #1b6ec2;
    --color-b2-border: #6c757d;
    --color-transparent: transparent;
    --color-disabled: #eee;
    --content-max-width: 1140px;
}

@media (prefers-color-scheme: dark) {
    html, body {
        --color-app: #17a2b8;
        --color-app-light: #5aa2ad;
        --color-app-xtralight: #7a989f;
        --color-warning: #e87474;
        --color-highlight: #a3a269;
        --color-menu-background: #333;
        --color-menu-font: white;
        --color-page-background: #474747;
        --color-page-background2: #5b5b5b;
        --color-page-font: white;
        --color-page-font-secondary: #9e9e9e;
        --color-page-font-tertiary: white;
        --color-page-font-quaternary: #dadada;
        --color-table-header-background: #333;
        --color-table-background: #717171;
        --color-table-background2: #5b5b5b;
        --color-table-border: #8fa8ae;
        --color-form-control-border: #a5b9be;
        --color-b2-font: #5b5b5b;
        --color-b2-back: #474747;
        --color-b2-border: #5b5b5b;
        --color-disabled: #333;
    }
}

.form-label {
    color: var(--color-page-font);
}

.form-control {
    color: var(--color-page-font);
    background-color: var(--color-page-background);
}

.btn-dark {
    background-color: var(--color-page-font);
    color: var(--color-page-background);
}

.btn-outline-dark {
    border-color: var(--color-page-font);
    color: var(--color-page-font);
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn-secondary {
    color: var(--color-b2-font);
    background: var(--color-b2-back);
    border-color: var(--color-b2-border);
}

.btn-outline-secondary {
    color: var(--color-b2-font);
    background-color: var(--color-transparent);
    border-color: var(--color-b2-border);
}

.btn:disabled {
    color: grey;
    border-color: grey;
}

.btn-info {
    color: #fff;
    background-color: var(--color-app);
    border-color: var(--color-app);
}

    .btn-info:hover {
        color: var(--color-app);
        border-color: var(--color-app);
        background-color: var(--color-transparent);
    }

app {
    position: relative;
    display: grid;
    grid-template-rows: auto auto 1fr auto;
}

.hamburger {
    display: inline-block;
    cursor: pointer;
}

.bar1, .bar2, .bar3 {
    width: 50px;
    height: 7px;
    background-color: white;
    margin: 8px 0;
    transition: 0.4s;
}


.change .bar2 {
    opacity: 0;
}

.change .bar1 {
    -webkit-transform: rotate(-45deg) translate(-9px, 6px);
    transform: rotate(-45deg) translate(-12px, 8px);
}

.change .bar3 {
    -webkit-transform: rotate(45deg) translate(-8px, -8px);
    transform: rotate(45deg) translate(-14px, -10px);
}

.menu {
    font-size: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.menu-item {
    color: white;
    padding: 0.5em 0em 0.3em 0.5em;
    cursor: pointer;
    min-width: 80%;
    font-size: 24px;
}

    .menu-item:hover {
        background-color: rgba(255,255,255,0.2);
    }

.menu-item-small {
    color: white;
    padding: 0.2em 0em 0.2em 2.4em;
    cursor: pointer;
    width: 80%;
    font-size: 22px;
}

    .menu-item-small:hover {
        background-color: rgba(255,255,255,0.2);
    }



.toprow {
    overflow: hidden;
    background-color: #333;
    top: 0;
    width: 100%;
    z-index: 99;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 1em;
}

    .toprow > div {
        color: white;
        font-size: 1.8em;
        padding-left: 0.7em;
    }


.shaddow {
    box-shadow: 0 4px 8px 0 rgb(0 0 0 / 20%), 0 6px 20px 0 rgb(0 0 0 / 19%);
}


.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: var(--color-warning);
    padding: .3em;
    font-size: .9em;
}

.card-signin {
    border: 0;
    border-radius: 1rem;
    box-shadow: 0 0.5rem 1rem 0 rgba(0, 0, 0, 0.1);
}

    .card-signin .card-title {
        margin-bottom: 2rem;
        font-weight: 300;
        font-size: 1.5rem;
    }

    .card-signin .card-body {
        padding: 2rem;
    }

.form-signin {
    width: 100%;
}

    .form-signin .btn {
        font-size: 80%;
        border-radius: 5rem;
        letter-spacing: .1rem;
        font-weight: bold;
        padding: 1rem;
        transition: all 0.2s;
    }

.inputform {
    border: 0;
    border-radius: 1rem;
    box-shadow: 0 0.7rem 1rem 0 rgba(0, 0, 0, 0.2);
    padding: 1rem;
    max-width: 50rem;
}


/*loading screen*/
.welcome {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 14em;
    height: 18em;
    margin-left: -7em; /*set to a negative number 1/2 of width*/
    margin-top: -9em; /*set to a negative number 1/2 of height*/
}

.infoboxcollection {
    width: 100%;
    max-width: var(--content-max-width);
    position: relative;
    left: 50%; /* Move it halfway from the left */
    transform: translateX(-50%); /* Shift it back by half of its own width */
    margin-top: 1em;
    margin-bottom: 2em;
    background-color: var(--color-page-background2);
    padding: 0.5em;
    text-align: left;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    /*border-radius: 0.5em;*/
    perspective: 600px;
}


    .infoboxcollection .title {
        font-size: 1.3em;
        font-weight: 500;
        color: var(--color-page-font-tertiary);
    }

    .infoboxcollection .infoboxitems {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
    }

.infobox {
    /*border-radius: 0.5em;*/
    background-image: linear-gradient(180deg, rgb(154, 157, 161) 0%, #e9e9e9 70%);
    margin: 0.4em;
    width: 13em;
    height: 17em;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    text-align: center;
    display: flex;
    flex-direction: column;
    line-height: 100%;
    cursor: pointer;
    transform-style: preserve-3d;
    transform-origin: center right;
    transition: transform 700ms;
    position: relative;
    animation: itemmoveout 10ms, itemmovein 300ms;
    animation-fill-mode: forwards;
}

@keyframes itemmoveout {
    from {
        top: 0px;
        left: 10000px;
    }

    to {
        top: 0px;
        left: 10000px;
    }
}

@keyframes itemmovein {
    from {
        top: 0px;
        left: 10000px;
    }

    to {
        top: 0px;
        left: 0px;
    }
}

.infobox-flipped {
    transform: translateX(-100%) rotateY(-180deg);
}

.infobox__face {
    /*border-radius: 0.5em;*/
    background-image: linear-gradient(180deg, rgb(154, 157, 161) 0%, #e9e9e9 70%);
    backface-visibility: hidden;
    position: absolute;
    width: 100%;
    height: 100%;
}

.infobox___front {
}

.infobox___back {
    transform: rotateY(180deg);
}

.infobox .boxtitle {
    font-size: 1.1em;
    font-weight: 600;
    padding: 5px;
    height: 3.3em;
    vertical-align: middle;
}

.infobox .boxbodymajor {
    font-size: 0.8em;
    font-weight: 600;
    align-self: center;
    color: rgb(68, 68, 68);
    padding: 10px;
}

.infobox .boxbody {
    font-size: 0.8em;
    align-self: center;
    color: rgb(68, 68, 68);
    padding: 10px;
}

.infobox .boxdate {
    font-size: 0.8em;
    align-self: center;
    color: rgb(68, 68, 68);
    padding: 5px;
    order: 9;
    margin-top: auto;
}

.highligthed {
    box-shadow: 0 4px 8px 0 rgba(248, 229, 78, 0.44), 0 6px 20px 0 rgba(0, 0, 0, 0.19) !important;
}

.canceled {
    box-shadow: 0 4px 8px 0 rgba(248, 98, 78, 0.44), 0 6px 20px 0 rgba(0, 0, 0, 0.19) !important;
}

.shiny {
    box-shadow: 0 4px 8px 0 rgba(78, 248, 136, 0.44), 0 6px 20px 0 rgba(0, 0, 0, 0.19) !important;
}


#blazor-error-ui {
    background: lightyellow;
    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) {
    body {
        font-size: 14px;
    }

    .main {
        padding: 0.8em;
    }

    .infobox {
        margin: 0.1em;
    }

    .infoboxcollection {
        margin: 1em .1em 3em .1em;
        padding: 0.2em;
    }
}

#pdf-viewer {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    width: 100%;
    height: 100%;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .toprow {
        position: sticky;
        top: 0;
    }
}

.spinner-outer {
    padding: 3em;
    position: fixed;
    bottom: 50%;
    width: 100%;
    opacity: calc((var(--blazor-load-percentage,0) - 99));
}

.spinner {
    width: 60px;
    height: 60px;
    position: relative;
    text-align: center;
    animation: sk-rotate 2.5s infinite linear;
    display: block;
    align-self: center;
    margin: 0 auto;
}

.dot1, .dot2 {
    width: 60%;
    height: 60%;
    display: inline-block;
    position: absolute;
    top: 0;
    background-color: #333;
    border-radius: 100%;
    animation: sk-bounce 2.5s infinite ease-in-out;
}

.dot2 {
    top: auto;
    bottom: 0;
    animation-delay: -1.0s;
}


@keyframes sk-rotate {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes sk-bounce {
    0%, 100% {
        transform: scale(0.1);
        background-color: #333;
    }

    50% {
        transform: scale(0.9);
        background-color: var(--color-app-light);
    }
}

.strikethough {
    text-decoration-line: line-through;
    text-decoration-thickness: 0.3em;
    text-decoration-style: solid;
    text-decoration-color: rgba(170, 24, 24, 0.4);
}


.app-loading-outer {
    width: 100vw;
    height: 100vh;
    background-image: linear-gradient(180deg, #333 33%, #717171);
}

.app-loading-hero {
    font-family: 'Fira Sans', sans-serif;
    font-size: 2.85rem;
    font-weight: 800;
    color: #fff;
    margin: 0px 0px 3px 10px;
}



.loading-progress-text {
    color: rgba(0, 0, 0, 0.20);
    /*position: absolute;*/
    text-align: center;
    font-weight: 600;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Aushang.app wird geladen...");
    }

.loading-info {
    margin-top: 2em;
    color: var(--color-app-light);
    text-align: center;
}


.progress-outer {
    position: fixed;
    bottom: 10%;
    width: 100%
}

.progress {
    margin: 0 auto;
    width: 90%;
    height: 30px;
    padding: 4px;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 6px;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.25), 0 1px rgba(255, 255, 255, 0.08);
}

.progress-bar {
    width: var(--blazor-load-percentage, 0%);
    border-radius: 4px;
    background-image: linear-gradient(to bottom, var(--color-app), var(--color-app-light));
    transition: 0.4s linear;
    transition-property: width, background-color;
    box-shadow: 0 0 1px 1px rgba(0, 0, 0, 0.25), inset 0 1px rgba(255, 255, 255, 0.1);
}

.form-outer-border {
    border-radius: 5px;
    border: 1px solid rgb(200,200,200);
    padding: 0.3em;
}
