/* ReSharper disable UnknownCssVendorExtension */
@import url("base.css");

/* background */
body {
    -webkit-text-size-adjust: 100%;
    background: url("/images/background.jpg");
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Bootstrap */

/* Controls */
.btn {
    font-weight: 600;
}
    .btn:disabled {
        cursor: not-allowed;
        pointer-events: visible;
    }

.btn-outline-primary, .page-link {
    color: var(--palette-Text);
}

input.form-control, select.form-control, textarea.form-control {
    border-width: 2px;
}

select.form-control {
    -webkit-appearance: initial;
    -moz-appearance: initial;
    appearance: auto;
}

input:not(:focus):not([readonly]), select:not(:focus):not([readonly]) {
    border-color: var(--palette-control-border);
}

select.form-control-plaintext {
    background-image: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.form-control:disabled, .form-control[readonly] {
    background-color: var(--palette-control-disabled) !important;
}

.form-group, .control-label {
}

.spinner {}
.spinnder input {
    text-align: center;
    margin-left: -4px;
    margin-right: -4px;
}

.footer {
    position: relative;
    display: inline-block;
    background-color: var(--palette-Text-White);
    -ms-border-top-right-radius: 1rem;
    border-top-right-radius: 1rem;
    font-size: 75%;
    text-decoration: none;
    color: var(--palette-Text);
    text-align: center;
    padding: 0.125rem;
    z-index: 1002;
}

.footer:nth-child(2) {
    margin-left: -18px;
    padding-left: 18px;
    background-color: #ffe4c4;
    z-index: 1001;
}

.footer > span {
    display: inline-block;
    vertical-align: middle;
    line-height: normal;
    padding: 0.375rem;
}

.footer > img {
    height: 26px;
}
/*
.innoveroLogo {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    background-image: url("/images/innovero_logo.png");
}*/

/* Chrome, Safari, Edge, Opera */
input.noSpinner::-webkit-outer-spin-button,
input.noSpinner::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input.noSpinner[type=number] {
    -moz-appearance: textfield;
}

/* _Layout */
.page {
    display: flex;
    align-items: flex-start;
    -ms-align-items: flex-start;
    -o-align-items: flex-start;
    -webkit-align-items: flex-start;
    justify-content: space-evenly;
    padding: 20px;
    margin: auto;
    gap: 12px;
    flex-grow: 1;
    flex-shrink: 0;
}

.maincontent {
    flex: 1;
    background: #FFFFFF;
    padding: 18px 40px 18px 40px;
}

.navigation {
    width: 230px;
    background: #FFFFFF;
}

.navigation .holiday {
    text-align: center;
    padding: 0rem 0.5rem 40px 0.5rem;
}

.logo {
    padding: 25px;
    width: 100%;
}

.title {
    text-align: center;
    color: #454545;
    padding-bottom: 1rem;
}

.title h1 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: x-large;
    font-weight: normal;
    font-style: normal;
    line-height: initial;
    text-transform: uppercase;
    font-size: 4vw
}

.title h2 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: x-large;
    font-weight: normal;
    font-style: normal;
    line-height: initial;
    font-size: 2vw
}

@media only screen and (max-width: 992px) {
    .page {
        flex-direction: column;
        align-items: initial;
        -ms-align-items: initial;
        -o-align-items: initial;
        -webkit-align-items: initial;
    }

    .navigation {
        -webkit-align-self: center;
        -o-align-self: center;
        align-self: center;
    }
}

@media only screen and (max-width:993px) {
    .page {
        min-width: 80%
    }
}

@media only screen and (min-width: 993px) and (max-width:1320px) {
    .page {width: 960px}
}

@media only screen and (min-width: 1320px) {
    .page {width: 1300px}
}

/* components */

.pagination input {
    text-align: center;
    max-width: 4rem;
}

.pagination input:focus {
    text-align: left;
    max-width: 5rem;
}

/* NavMenu */
.nav-menu {
    display: flex;
    flex-direction: column;
    margin-bottom: 40px;
}

.nav-menu .nav-entry {
    background: var(--palette-secondary);
    transition-duration: 1000ms;
    transition-property: background, background-color;
    text-decoration: none;
}

.nav-menu .nav-entry:hover, .nav-menu .nav-entry.active {
    background: var(--palette-primary);
}

.nav-menu .nav-entry.active {
    color: var(--palette-Text);
}

.nav-menu .nav-entry:not(.active) {
    color: var(--palette-Text-White);
}

.nav-menu .nav-entry .nav-entry-text {
    margin: 0 12px;
    padding: 12px 0 12px 12px;
    text-transform: none;
    font-weight: 600;
}

.nav-menu .nav-entry:not(:last-child) .nav-entry-text {
    border-bottom: 1px solid var(--palette-primary);
}

/* Pages/Registration */
@media (min-width: 992px) {
    #DeliveryInfo { border-left: 1px solid var(--palette-control-border); }
}

/* Pages/Products */
.products {
    /*display: flex;*/
}

.products .card {
    min-width: 16.75rem;
    max-width: 16.75rem;
    -ms-border-radius: 0.25rem;
    border-radius: 0.25rem !important;
}

.products .card:not(.empty) {
    min-height: 21.5rem;
    box-shadow: 0 0.2rem 0.3rem 2px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--palette-control-border) !important;
}

.products .card.empty {
    box-shadow: none !important;
    border: none !important;
}


.products .card .card-header {
    padding: 0;
    height: 200px;
    display: flex;
    position: relative;
}

.products .card img.card-img-top {
    -webkit-object-fit: cover;
    object-fit: cover;
    min-width: 100%;
    min-height: 100%;
}

.products .card .card-header .card-label {
    font-size: 2.5vw;
    display: block;
    position: absolute;
}

.products .card .card-product-label {
    height: 100%;
    position: relative;
    min-height: 2.25rem;
}

.products .card .card-product-label img {
    right: 0.75rem;
    height: 2.25rem;
    position: absolute;
}

#floater {
    position: fixed;
    bottom: 6%;
    right: 6%;
    display: flex;
    gap: 1rem;
    -ms-align-items: flex-end;
    -o-align-items: flex-end;
    -webkit-align-items: flex-end;
    align-items: flex-end;
    z-index: 5;
}

#floater button.btn-primary {
    height: 3rem;
    box-shadow: 0 .5rem 1rem var(--palette-Text);
}

/* Ribbon */
.ribbon {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: absolute;
    pointer-events: none;
}

.ribbon span {
    position: absolute;
    display: block;
    width: 100%;
    padding: 12px 30%;
    background-color: var(--palette-secondary);
    color: var(--palette-Text-White);
    font: 700 0.8rem/1 'Lato', sans-serif;
    text-shadow: 0 1px 1px rgba(0,0,0,.2);
    text-align: center;
    transform: rotate(-45deg);
    top: calc(-4px + 16%);
    left: calc(-14px - 28%);
    z-index: 1;
}

/* */
.voucherlist > tbody > tr[data-odd] > * {
    --bs-table-accent-bg: var(--bs-table-striped-bg);
    color: var(--bs-table-striped-color);
}

/* Style für Mobile - Speziell nur für bestimmte Bereiche*/
@media screen and (max-width: 572px) {

    .maincontent {
        padding: 18px 20px 18px 20px;
    }

    #absenceDateHide { display: none;}
    #absencePresenceHide { display: none; }
    .rowBorderHidden { border-bottom: 0px solid #a7c80f; }

    .pe-4 {
        padding-right: 0.5rem !important;
    }

    .table > :not(caption) > * > * {
        padding: 0.2rem 0.5rem 0rem 0.5rem;
    }
    
    table thead {
        border: none;
        clip: rect(0 0 0 0);
        height: 1px;
        margin: -1px;
        overflow: hidden;
        padding: 0;
        position: absolute;
        width: 1px;
    }

    table tr {
        border-bottom: 3px solid #a7c80f;
        display: block;
        margin-bottom: .625em;
    }

    table td {
        border-bottom: none;
        display: block;
        font-size: .8em;
        text-align: right;
    }

    table td::before {
        content: attr(data-label);
        float: left;
        font-weight: bold;
        text-transform: uppercase;
    }

    table td:last-child {
        border-bottom: 0;
        margin-bottom: 0.25em;
    }
}

