﻿
@font-face {
    font-family: 'open_sansbold';
    src: url('opensans-bold-webfont.woff2') format('woff2'), url('opensans-bold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}




@font-face {
    font-family: 'open_sansregular';
    src: url('opensans-regular-webfont.woff2') format('woff2'), url('opensans-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}


@font-face {
    font-family: 'michelinbold';
    src: url('michelin-bold-webfont.woff2') format('woff2'), url('michelin-bold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'michelinregular';
    src: url('michelin-regular-webfont.woff2') format('woff2'), url('michelin-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

:root {
    --clr-primary: #004F9F;
    --clr-secondary: #FCE500;
    --clr-third: #0A1542;
    --nav-height: 167px;
    --footer-height: 540px;
}

html
{
    height:100%;
}

body {
    padding-bottom: var(--footer-height);
    padding-top: var(--nav-height);
    overflow-x: hidden;
    font-family: 'open_sansregular';
    position: relative;
}

.body-content a chevron {
    color: var(--clr-third) !important;
    text-decoration: none !important;
    font-size: 50px;
}


.chevron {
    color: var(--clr-third)!important;
    text-decoration:none!important;
    font-size:50px;
}


.chevron::before {
    color: var(--clr-third) !important;
    text-decoration: none !important;
    font-size: 50px;
}

.chevron:hover {
    color: var(--clr-third);
    text-decoration: none !important;
}

#carouselExampleIndicators {
    height: 360px;
}

.carousel-inner {
    height: 100%;
}

.carousel-item {
    top: 0;
    height: 100%;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
    color: #fff;
}



/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

.underline::after {
    bottom: -5px!important;
}

select, option {
    font-family: 'open_sansregular';
    font: -moz-pull-down-menu;
}

h1, h2, h3,h4 {
    font-family: 'michelinbold';
}

/* +--- Footer ---+ */
footer {
    height: var(--footer-height);
    position: absolute;
    bottom: 0;
}

footer a {
    width: fit-content;
    margin: auto;
}

footer a:hover {
    text-decoration: underline;
}

footer div.row.justify-content-center.backblau.text-white.font-weight-bold div.col-12.text-center a::after {
    content: " | ";
    padding: 0px 10px;
}

footer div.row.justify-content-center.backblau.text-white.font-weight-bold div.col-12.text-center a:last-child::after {
    content: "";
    padding: 0px 10px;
}


.underline {
    text-decoration: none;
    position: relative;
}

    .underline:after {
        position: absolute;
        height: 6px;
        content: '';
        left: 0;
        right: 0;
        width: 200px;
        left: -100px;
        background-color: #ffe500;
        bottom: 0px; /* adjust this to move up and down. you may have to adjust the line height of the paragraph if you move it down a lot. */
    }


@media (max-width:1200px) {
    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.2rem;
    }
    h3 {
        font-size: 1.1rem;
    }
    h4 {
        font-size: 0.9rem;
    }


    footer a {
        display:block;
        color: #fff !important;
        font-weight:400;
        text-align:left;
        text-decoration: none !important;
        margin-top:10px;
    }

        footer a:hover {
            text-decoration: underline;
        }

    footer div.row.justify-content-center.backblau.text-white.font-weight-bold div.col-12.text-center a::after {
        content: "";
        padding: 0px 10px;
    }
}

.michreg {
    font-family: 'michelinregular';
}

.codeform {
    font-family: 'michelinbold';
    font-size:120%;
    color: var(--clr-third) !important;
    text-align: center;
}

.fontblau {
    color: var(--clr-third) !important;
}

.activelang {
    border: 3px solid var(--clr-third);
}
.backblau {
    background-color: var(--clr-third);
    color: white;
}

.backwhite {
    background-color: #fff;
}

.modal-content {
    padding: 50px;
}

.scroll-element {
    scroll-margin-top: 200px;
}

.bg-light {
    background-color: #fff !important;
    box-shadow: inset 0 -8px 14px 4px rgb(255,255,255), inset 0 2px 6px 0px rgba(50, 50, 50, 0.35);
    border-bottom: 5px solid var(--clr-secondary);
}

.nav-link:not(.lang-select) {
    font-family: 'open_sansregular';
    color: #27509b !important;
    font-size: 1.4rem;
    padding-inline: 1rem !important;
}

.nav-link:hover:not(.dropdown-toggle) {
    text-decoration: underline;
    font-weight: bold;
}

.navbar-light .navbar-nav .nav-link:hover, .navbar-light .navbar-nav .nav-link:focus {
    color: rgba(0, 0, 0, 0.7);
}

#nav-logo {
    display: block;
    width: fit-content;
}

#nav-logo > img {
    height: 60px;
}

a {
    color: #ffe500;
    text-decoration:underline;
}

a:hover {
    color: white;
    text-decoration: underline;
}

.nav-link {
    text-decoration:none;
}

.form-control
{
    width:100%;
    max-width:none;
    margin-bottom:15px;
    border-radius:0px;
}

.validation-summary-errors {
    color: #ffe500;
}


/* --- Checkbox --- */
.control-checkbox {
    width: 1.3em;
    height: 1.3em;
    min-width: 1.3em;
    min-height: 1.3em;
    margin-right: 10px;
    background-color: white;
    border: 2px solid var(--color-tile-4);
    border-radius: 7px !important;
    vertical-align: middle;
    -webkit-appearance: none;
    outline: none;
    cursor: pointer;
    background-size: 90%;
    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: 70%;
    border: 2px solid var(--color-tile-4);
    background-repeat: no-repeat;
    background-position-y: 55%;
    background-position-x: 50%;
    background-color: #ffe500;
}

.control-checkbox:focus-visible {
    outline: 3px solid var(--color-tile-4);
}

.control-checkbox:empty {
    transition: all .4s ease-in-out;
}

.checkBoxLabel {
    display: flex;
    line-height: 1.7;
}

.checkBoxLabel:hover {
    cursor: pointer;
}

.btn-primary {
    font-family: 'open_sansbold';
    border-radius: 0px;
    background-color: var(--clr-secondary);
    color: #000;
    width: fit-content;
    border: none;
    padding: 15px 25px;
    text-transform: uppercase;
    padding-inline: 5rem;
}


    .btn-primary:hover, .btn-primary:focus, .btn-primary:active {
      
        background-color: #d6c429;
        color: #000;
        border: none;
    }

.codecheck {
    max-width: 60%;
}

    footer a
    {
        color:#fff !important;
        text-decoration:none !important;
    }



.carousel-indicators {
    margin-bottom:-30px;
    
}

.carousel .carousel-indicators li {
    background-color: #004F9E;
}

    .carousel .carousel-indicators li.active {
        background-color: #004F9E;
    }



.carousel-indicators li {
    width: 10px;
    height: 10px;
    border-radius: 100%;
   
}




table, th, td {
    border: 1px solid;
}

/*
        FAQ accordion +
    */
.card-header .fas {
    transition: .3s transform ease-in-out;
}

.card-header .collapsed .fas {
    transform: rotate(90deg);
}

.btn-link {
    text-align: left;
    width: 100%;
    color: white;
}


    .btn-link:hover {
        color: white;
        text-decoration: none
    }

.accordion-button:not(.collapsed)::after {
    background-image: url(/Content/img/chevron-up-regular.png);
    transform: rotate(-180deg);
}



.accordion-button {
    font-size: 1rem;
}

    .accordion-button::after {
        flex-shrink: 0;
      
        width: 1.5rem;
        height: 1.5rem;
        margin-left: auto;
        content: "";
        background-image: url(/Content/img/chevron-up-regular.png);
        background-repeat: no-repeat;
        background-size: 1.5rem;
        transition: transform .2s ease-in-out;
    }

.accordion-item:first-of-type .accordion-button {
    border-top-left-radius: .25rem;
    border-top-right-radius: .25rem;
}

.accordion-button:not(.collapsed) {
}



.accordion-button {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    border-radius: 0;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,border-radius .15s ease;
}


.card {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0, 0, 0, 0) !important;
    border-radius: 0.25rem;
}


.card-header {
    padding: 0.75rem 0rem;
    margin-bottom: 0;
    background-color: rgba(0, 0, 0, 0.00);
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
    background-color: var(--clr-third);
}


.teilnehmen {
    padding-left: 33px;
    text-indent: -30px;
}

#addProd, #delProd, .addProd {
    color: #ffe500 !important;
    cursor: pointer;
    font-weight: bold;
    font-size: 32px;
}

.numberCircle {
    border-radius: 50%;
    width: 44px;
    height: 44px;
    padding: 2px;
    padding-left:7px;
    background: #fff;
    border: none;
    color: var(--clr-third);
    text-align: center;
    font-size: 26px;
    display: inline-block;
    text-decoration: none !important;
    margin-right:25px;
}

.numberCircleactive {
    border-radius: 50%;
    width: 99px;
    height: 99px;
    padding: 0px;
    padding-left: 7px;
    background: #fff;
    border: none;
    color: var(--clr-third);
    text-align: center;
    font-size: 66px;
    font-weight: bold;
    display: inline-block;
    margin-right: 25px;
    background-color: #ffe500;
}

    .numberCircleactive a, .numberCircle a {
        color: var(--clr-third) !important;
        text-decoration: none !important;
        font-weight:bold;
    }


.navbar-toggler {
    color: rgba(0, 0, 0, 0.5);
    border: none;
    width: 3rem !important;
    aspect-ratio: 1/1;
    padding: 0;
}

.navbar-toggler:focus {
    outline: none;
}

.navbar-toggler:not(.collapsed) > * .line:nth-child(1) {
    transform: translateY(13px) rotate(-45deg);
}

.navbar-toggler:not(.collapsed) > * .line:nth-child(2) {
    opacity: 0;
}

.navbar-toggler:not(.collapsed) > * .line:nth-child(3) {
    transform: translateY(-13px) rotate(45deg);
}

label.hamburg {
    display: block;
    background-color: transparent;
    width: 40px;
    height: 40px;
    position: relative;
    margin-left: auto;
    margin-right: auto;
    border-radius: 0px;
    margin-bottom: 0;
}

input#hamburg {
    display: none;
    border: none;
}

.line {
    position: absolute;
    height: 4px;
    width: 40px;
    background: var(--clr-third);
    border-radius: 2px;
    display: block;
    transition: 0.5s;
    transform-origin: center;
}

    .line:nth-child(1) {
        top: 3px;
    }

    .line:nth-child(2) {
        top: 45%;
    }

    .line:nth-child(3) {
        bottom: 3px;
    }

.hamburg:hover {
    cursor: pointer;
}

#hamburg:checked + .hamburg .line:nth-child(1) {
    transform: translateY(15px) rotate(-45deg);
}

#hamburg:checked + .hamburg .line:nth-child(2) {
    opacity: 0;
}

#hamburg:checked + .hamburg .line:nth-child(3) {
    transform: translateY(-15px) rotate(45deg);
}

/* --- MAFO STYLINGS --- */

.carousel-item {
    margin-right: 0;
}

#moFaPopup {
    color: var(--clr-third);
}

.maFoRadio {
    text-align: center;
    display: flex;
    flex-direction: column;
}

.maFoRadio .form-check-input {
    margin-left: 0;
}

.form-check-input:hover, .form-check-label:hover {
    cursor: pointer;
}



.moFaNextBtn, .moFaCloseBtn {
    background-color: var(--clr-third);
    font-family: 'open_sansbold';
    color: white;
    width: 100%;
    padding: 10px 15px;
    text-transform: uppercase;
    border-radius: 5px;
    text-decoration: none;
}

.moFaNextBtn:disabled {
    background-color: #a9a9a9;
}

.moFaNextBtn:disabled:hover {
    background-color: #a9a9a9;
     text-decoration: none;
}

.moFaNextBtnDiv a {
    text-decoration: none;
}

.moFaNextBtn:hover {
    background-color: #0262c4;
}

.moFaCloseBtn {
    background-color: #c8c8c8;
}

.moFaCloseBtn:hover {
    background-color: #a9a9a9;
}

.tnbZustimmung {
    color: #0b4f9f;
    text-decoration: none;
}

.tnbZustimmung:hover {
    color: #146cd3;
    text-decoration: underline;
}

@media (max-width:768px) {
    .carousel-inner .maFoRadio .form-check-label {
        position: absolute;
        transform: translate(-50%, -50%);
        width: 30px;
        height: 30px;
        border-radius: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .maFoRadio input[name='maFo2']:checked + label {
        background-color: var(--clr-third);
        color: white;
    }

    .maFoRadio input[name='maFo3']:checked + label {
        background-color: var(--clr-third);
        color: white;
    }


}

