﻿@font-face {
    font-family: "CervoNeueSemiBold";
    src: url("fonts/CervoNeueSemiBold/font.woff") format("woff"),url("fonts/CervoNeueSemiBold/font.woff2") format("woff2");
}

@font-face {
    font-family: "CervoNeueBold";
    src: url("fonts/CervoNeueBold/font.woff") format("woff"),url("fonts/CervoNeueBold/font.woff2") format("woff2");
}

/* --- Standard Stylings --- */
:root {
    --nav-height: 80px;
    --footer-height: 140px;
    --clr-primary: #0f2260;
    --clr-secondary: #ffbf00;
    --clr-third: #34c4cf;
}

html {
    height: 100%;
    overflow-x: hidden;
}

body {
    min-height: 100%;
    font-family: CervoNeueSemiBold;
    font-size: 1.2rem;
    background: #fff;
    color: var(--clr-primary);
    position: relative;
    padding-top: var(--nav-height);
    padding-bottom: var(--footer-height);
}

.scroll-element {
    scroll-margin-top: calc(var(--nav-height) + 20px)
}

.field-validation-error, .validation-summary-errors {
    color: #e6353d;
}

.validation-summary-errors > ul {
    padding-left: 1rem;
}

hr {
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgb(15, 34, 96), rgba(0, 0, 0, 0));
    height: 1px;
    border: 0;
}

h1 {
    font-size: 3.5rem;
}

.not-selectable {
    background-color: #e6e6e6;
    pointer-events: none;
}

/* +--- Kaufbeleg Modal ---+ */
#kaufbelegModal span, #kaufbelegModal p {
    color: black;
}

#kaufbeleg_tipps img {
    max-height: 380px;
}

.kaufbeleg-bubble {
    min-width: 45px;
    max-width: 45px;
    position: relative;
    height: fit-content;
}

.kaufbeleg-bubbleZahl {
    position: absolute;
    top: 5%;
    right: 50%;
    transform: translate(50%);
    color: white;
}

.kaufbeleg-bubble + span {
    margin-left: 7px;
    margin-top: 2px;
}

@media screen and (max-width: 1199px) {
    #kaufbeleg_tipps img {
        max-height: 240px;
    }
}

@media screen and (max-width: 991px) {
    #kaufbeleg_tipps img {
        max-height: 280px;
    }
}

/* --- Form Control --- */
.form-control {
    border-radius: 10px !important;
    border: 2px solid var(--clr-primary);
}

.form-control:focus, .k-picker-solid:focus, .k-input-solid:focus-within {
    border-color: var(--clr-third) !important;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(52, 196, 207, 0.25) !important;
}

.control-label {
    margin-bottom: 0.25rem;
}

/* --- Kendo Styles --- */
.k-datepicker, .k-numerictextbox {
    border: 2px solid var(--clr-primary) !important;
    font-family: CervoNeueSemiBold !important;
}

.k-datepicker > .k-input-button {
    background-color: var(--clr-primary)!important;
    color: white;
}

.k-calendar .k-calendar-td.k-selected .k-link {
    border-color: var(--clr-primary)!important;
    background-color: var(--clr-primary)!important;
}

.k-calendar .k-calendar-view .k-today .k-link {
    box-shadow: inset 0 0 0 1px var(--clr-primary)!important;
}

.k-button-flat-primary {
    color: var(--clr-primary)!important;
}

.k-upload {
    border: 2px solid var(--clr-primary) !important;
}

.k-upload-dropzone, .k-upload {
    padding: 0 !important;
    border-radius: 10px !important;
    background-color: white!important;
}

.k-upload-button-wrap {
    width: 100%!important;
}

.k-upload-button {
    border-radius: 10px !important;
    background-color: white !important;
    border: none !important;
    width: 100% !important;
    text-align: left !important;
    font-family: CervoNeueSemiBold !important;
}

.k-upload-button:hover, .k-upload-actions > .k-button:hover {
    background-color: rgba(52, 196, 207, 0.2)!important;
}

.k-upload-status {
    margin-right: 0.5rem!important;
}

/* --- Select --- */
select option {
    font-family: sans-serif !important;
}

.select-style {
    background: url("img/elemente/pfeil.svg") no-repeat right .5rem center/15px 10px;
    background-size: 20px;
    -webkit-appearance: none;
    -moz-appearance: none;
    text-indent: 1px;
    text-overflow: '';
}

/* --- Checkbox --- */
.control-checkbox {
    width: 1em;
    height: 1em;
    min-width: 1em;
    min-height: 1em;
    margin-right: 10px;
    background-color: white;
    border: 2px solid var(--clr-primary);
    border-radius: 10% !important;
    vertical-align: middle;
    -webkit-appearance: none;
    outline: none;
    cursor: pointer;
    background-size: 100%;
    background-repeat: no-repeat;
    background-position-y: 60%;
    background-position-x: 45%;
    transform: scale(1.2);
    margin-top: 3px;
}

.control-checkbox:checked {
    transition: 300ms ease all;
    background-image: url(/Content/img/elemente/check.svg);
    background-size: 80%;
    border: 2px solid var(--clr-primary);
    background-repeat: no-repeat;
    background-position-y: 55%;
    background-position-x: 50%;
    background-color: var(--clr-primary);
}

.control-checkbox:empty {
    transition: all .4s ease-in-out;
}

.checkBoxLabel {
    display: flex;
    line-height: 1.7;
}

.checkBoxLabel:hover {
    cursor: pointer;
}

/* --- Navigation --- */
#logo_d {
    width: 8rem;
    display: block;
}

#logo_m {
    width: 6rem;
}

nav {
    padding: 3.6rem 0;
    background-color: white;
    border-bottom: 1px solid;
    transition: ease-in-out 0.3s;
    height: var(--nav-height);
}

.nav-item {
    display: flex;
    align-items: center;
}

.nav-link {
    color: var(--clr-primary);
    display: block;
    padding-bottom: 3px;
    padding-top: 3px;
    display: inline-block;
    vertical-align: middle;
    background-image: -webkit-gradient(linear,left top,right top,from(var(--clr-primary)),to(var(--clr-primary)));
    background-image: linear-gradient(90deg,var(--clr-primary),var(--clr-primary));
    background-repeat: no-repeat;
    background-size: 0 .1rem;
    background-position: bottom;
    -webkit-transition: background-size .4s cubic-bezier(.525,0,.185,1);
    transition: background-size .4s cubic-bezier(.525,0,.185,1);
    text-decoration: none;
    transition: all .3s ease-in-out;
    line-height: 1;
    letter-spacing: .08rem;
    text-transform: uppercase;
}

nav .nav-link {
    font-size: 1.4rem;
}

.nav-link:hover {
    background-size: 100% .2rem;
    color: var(--clr-primary);
}

.unpinned {
    transform: translateY(-14.3rem) !important;
    transition: ease-in-out;
}

/* --- Navigation Mobile --- */
.openNav {
    top: 9.5% !important;
}

#mobile-nav-content {
    z-index: 5;
    background-color: white;
    width: 100%;
    position: fixed;
    position: fixed;
    top: -35%;
    transition: ease-in-out 0.3s;
    border-bottom: 1px solid var(--clr-primary);
    padding-top: 2rem;
    padding-bottom: 1.5rem;
}

#navbar-toggler {
    width: 3.5rem;
    height: 3.5rem;
    background: white;
    position: relative;
}

.nav-toggler-line {
    position: absolute;
    width: 70%;
    height: 4px;
    background-color: var(--clr-primary);
    left: 50%;
    transform: translateX(-50%);
    border-radius: 10px;
}

#navTogglerLine1 {
    top: 30%;
}

#navTogglerLine2 {
    top: 50%;
}

#navTogglerLine3 {
    top: 70%;
}

#navTogglerLine1, #navTogglerLine2, #navTogglerLine3 {
    transition: all 0.4s;
}

#navTogglerLine1.selected {
    top: 14%;
    transform: rotate(-45deg) translateX(-70%);
    height: 4px;
}

#navTogglerLine2.selected {
    opacity: 0;
}

#navTogglerLine3.selected {
    top: 83%;
    transform: rotate(45deg) translateX(-70%);
    height: 4px;
}

/* --- Styling für Unterseiten --- */
/* --- Gewinne Seite --- */
.pixum-small {
    height: 35px;
    margin-right: 2px;
}

/* --- Accordeon / Hilfe Seite --- */
.myaccordion .btn .icon {
    max-width: 40px;
    height: 40px;
    z-index: 0;
    background: transparent;
    align-self: normal;
}

.myaccordion .btn {
    padding-top: 10px;
    padding-bottom: 10px;
    width: 100%;
    font-weight: normal;
    color: var(--clr-primary);
    padding-left: 0px;
    letter-spacing: 0;
    font-size: 18px;
    border-radius: 0 !important;
    border: none;
    position: relative;
    -webkit-box-shadow: 0px 7px 24px -19px rgba(0, 0, 0, 0.32);
    -moz-box-shadow: 0px 7px 24px -19px rgba(0, 0, 0, 0.32);
    box-shadow: 0px 7px 24px -19px rgba(0, 0, 0, 0.32);
}

#accordion button {
    text-decoration: none!important;
}

#accordion .card-body {
    color: black;
}

#accordion .card {
    background-color: transparent;
    margin-bottom: 20px;
}

.accordion-cross {
    width: 25px;
    height: 25px;
    transition: ease-in-out 0.3s;
    transform: rotate(45deg);
}

[data-toggle="collapse"] .fa::before {
    font-family: "Ionicons";
    font-style: normal;
}

button[aria-expanded="true"] .accordion-cross {
    transform: rotate(0deg);
    color: #37c46f !important;
}

/* --- Footer --- */
footer {
    position: absolute;
    bottom: 0;
    height: var(--footer-height);
    background-color: var(--clr-secondary);
}

header, #so-geht-es {
    background-color: #34c4cf;
}

#header-unterseite {
    background-color: #36b6b1;
}

#so-geht-es {
    font-family: CervoNeueBold;
}

#so-geht-es img {
    width: 180px;
}

/* --- Radio Styles --- */
.radio-item {
    align-items: center;
}

.radio-item:hover {
    cursor: pointer;
}

.radio-item:focus-visible, #spinner:focus-visible {
    outline: 2px solid var(--clr-primary);
    border-radius: 3px;
}

.radio-style {
    margin-left: 8px;
}

.radio-text {
    align-self: end;
    margin-left: 10px;
}

.radiomark:hover, .radiomark ~ span {
    cursor: pointer;
}

#anrede label:hover {
    cursor: pointer;
}

input[type="radio"] {
    /* Add if not using autoprefixer */
    -webkit-appearance: none;
    appearance: none;
    /* For iOS < 15 to remove gradient background */
    background-color: #fff;
    /* Not removed via appearance */
    margin: 0;
}

.radio-style {
    margin-left: 0;
    width: 20px;
    border-radius: 100%;
    height: 20px;
    display: block;
    border: 4px solid transparent;
    outline: 2px solid var(--clr-primary);
    background-color: white;
    aspect-ratio: 1/1 !important;
    transition: all .3s ease-in-out;
}

.radio-style:hover {
    cursor: pointer;
}

.radio-style:checked, .radio-style:focus {
    background-color: var(--clr-primary) !important;
    width: 20px;
    height: 20px;
    display: block;
    border: 4px solid white;
    outline: 2px solid var(--clr-primary) !important;
    background-color: green;
    background-size: contain;
    background-repeat: no-repeat;
    background-position-y: 5px;
}

/* --- Verlinkungen --- */
.link-style {
    text-decoration: underline;
    color: var(--clr-third) !important;
    box-shadow: inset 0 0 0 0 var(--clr-third);
    color: #54b3d6;
    padding: 0 .25rem;
    margin: 0 -.25rem;
    transition: color .3s ease-in-out, box-shadow .3s ease-in-out;
}

.link-style:hover, .link-style:focus, .link-style:active {
    color: white !important;
    box-shadow: inset 600px 0 0 0 var(--clr-third);
    cursor: pointer;
}

.link-style:focus {
    outline: 2px solid var(--clr-third);
}

/* --- Button --- */
.btn-primary, .btn-secondary {
    background-color: var(--clr-primary);
    border: 2px solid var(--clr-primary);
    border-radius: 50px;
    transition: all .3s ease-in-out;
}

.btn-primary:hover, .btn-secondary:hover {
    background-color: var(--clr-third);
    border-color: var(--clr-primary);
    color: var(--clr-primary);
}

.btn-primary {
    min-width: 15rem;
    padding-inline: 40px;
}

.btn-secondary {
    min-width: 10rem;
}

/* --- Media Queries --- */
@media screen and (max-width: 991px) {
    h1 {
        font-size: 3rem;
    }
    .nav-item {
        margin-inline: auto !important;
        padding-inline: 1rem !important;
    }
}

@media screen and (max-width: 767px) {
    :root {
        --footer-height: 220px;
    }
    h1 {
        font-size: 2.8rem;
    }
    .myaccordion .btn .icon {
        max-width: 30px;
        height: 34px;
        align-self: center;
    }
    .myaccordion h3 {
        font-size: 1.3rem;
    }
    .myaccordion > .card > .card-header > button {
        padding-right: 0;
    }
    .accordion-cross {
        width: 20px;
        height: 20px;
    }
}

@media screen and (max-width: 575px) {
    h1 {
        font-size: 2.5rem;
    }
    #header-unterseite {
        background-color: white;
    }
}