/*
  Technik-Formular Stylesheet
  © Paul Weiser 2019

  Überarbeitung © Leo Schneider 2023
  */

/* Allgemein */

/* latin-ext */
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Titillium+Web:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200');



* {
    font-family: "Titillium Web", sans-serif;
}

html {
    width: 100%;
    height: 100%;
    background: #071b31;
    color: white;
}

footer {
    text-align: center;
    font-style: italic;
    margin-top: 32px;
}

h1 {
    text-align: center;
    margin-bottom: -16px;
}

.logo {
    width: 300px;
    margin-top: 64px;
    max-width: calc(100% - 48px);
}

body {
    margin: 0;
    width: 100%;
    height: 100%;
    font-size: 100%;
    font-family: sans-serif;
    display: flex;
    align-items: center;
    flex-direction: column;
}

li {
    margin-bottom: 8px;
}

.warning {
    border: 1px solid rgba(241, 142, 6, 0.81);
    background-color: rgba(220, 128, 1, 0.16);
    box-shadow: 0px 0px 2px #ffb103;
    color: #ffb103;
    text-shadow: 2px 1px #00040a;
    transition: 0.5s;
    color: #ffb40b;
    text-shadow: non;
    margin: 12px 0;
    border-radius: 24px;
    padding: 24px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: space-around;
    align-items: center;
}

.warning span {
    font-size: 44px;
    margin-right: 22px;
}

.wrap-input100 {
    position: relative;
    border: 1px solid #e6e6e6;
    border-radius: 13px;
    padding: 10px 30px 9px 22px;
    margin-bottom: 20px;
    margin-top: 20px;
    padding-right: 0;
    width: calc(100% + 30px);
}

.bg1 {
    background-color: #f7f7f7;
}

input[type='text'],
input[type="number"],
.underline,
input[type='email'],
input[type='tel'],
textarea,
select {
    height: 40px;
    display: block;
    width: 100%;
    background: 0 0;
    font-size: 18px;
    color: #555;
    line-height: 1.2;
    padding-right: 15px;
    border-radius: 500px;
    transition: all 50ms;
    outline: none;
    border: none;
}

main a {
    background-color: #132a4a;
    color: #7bb8f9;
    padding: 1px 9px;
    border-radius: 20px;
    text-decoration: none;
    text-align: center;
    font-style: italic;
}

main a span.material-symbols-outlined {
    font-size: 14px;
}

textarea,
select {
    border-radius: 0;
}

option {
    border-radius: 200px;
    padding: 8px;
    cursor: pointer;
    margin: 4px 0;
}

option:hover {
    background-color: #e6e6e6;
}

select {
    height: 128px;
    margin-top: 8px;
    margin-bottom: 8px;
}


@media (max-width: 576px) {
    .wrap-input100 {
        padding: 10px 10px 9px;
    }
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type='submit'],
input[type='button'],
button {
    margin: auto;
    color: #7bb8f9;
    padding: 15px 25px;
    border-radius: 100px;
    background-color: #0d294a;
    /* box-shadow: 2px 19px 31px rgba(0, 0, 0, 0.2); */
    font-weight: bold;
    font-size: 16px;
    border: 0;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    cursor: pointer;
    margin-top: 64px;
    width: 50%;
}


input[type='submit']:hover,
button:hover,
.auswahl .hauptbeschreibung a:hover {
    color: #002a4d;
    text-decoration: none;
    background: #66baff;
    transition: all 0.7s;
}

input[type='submit']:active,
button:hover {
    background-image: none;
    box-shadow: none;
    border: 1px solid lightskyblue;
}

/* Formular */

#v_form {
    width: 200mm;
}

main {
    margin: 32px;
    max-width: 700px;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.auswahl {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
}

.auswahl .hauptbeschreibung {
    border: 1px solid #7bb8f9;
    border-radius: 0 0 24px 24px;
    width: calc(100% - 38px);
    padding: 37px;
    display: block;
    border-top: 0;
    padding-top: 24px;
}


.auswahl h2 {
    padding: 13px 32px;
    width: calc(100% - 32px);
    text-align: left;
    outline: none;
    font-size: 20px;
    border: 1px solid #7bb8f9;
    border-radius: 24px 24px 0 0;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: flex-start;
    align-items: center;
    font-weight: bold;
    background-color: #0d294a;
    margin-bottom: 0;
    color: #7bb8f9;
    padding-left: 36px;
}

.auswahl .hauptbeschreibung a {
    margin: auto;
    color: #7bb8f9;
    padding: 15px 25px;
    border-radius: 100px;
    background-color: #0d294a;
    font-weight: bold;
    font-size: 16px;
    border: 0;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    cursor: pointer;
    margin-top: 64px;
    width: 50%;
    text-decoration: none;
    margin-top: 32px;
    display: block;
    text-align: center;
    font-style: normal;
}

/*
  CSS für Druckansicht
*/

/* Allgemein */

@media print {
    * {
        background: none !important;
        background-color: none !important;
        letter-spacing: normal !important;
    }

    .wrap-input100 {
        margin: 4px !important;
        float: left !important;
        border: none !important;
    }

    label {
        font-size: 13px !important;
        text-transform: none;
    }

    input,
    textarea,
    em {
        display: none !important;
    }

    #v_besucherzahl_label {
        margin-right: 60px;
    }

    #buttons,
    input[type='submit'],
    button {
        display: none;
    }

    #v_form {
        padding: 16px;
        max-width: 100%;
        max-height: 100%;
        /*font-size: 78%;*/
    }
}

/* Firefox */

@media print and (min--moz-device-pixel-ratio:0) and (min-resolution: 3e1dpcm) {
    #v_form {
        font-size: 78%;
    }
}

.table {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: stretch;
    width: calc(100% + 54px);
}

.row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: flex-start;
    justify-content: space-between
}

.row1 div {
    margin: 20px 0px 0px 0px !important;
}

.row div {
    width: 46%;
    margin-bottom: 0 !important;
}

#gelesenLabel * {
    cursor: pointer !important;
    -webkit-user-select: none;
    user-select: none;
}

#gelesenLabel b {
    font-size: 15px;
    letter-spacing: 1.999;
    padding: 12px;
}

@media (max-width: 890px) {
    main {
        width: unset !important;
        padding: 16px !important;
    }

    .wrap-input100 {
        width: calc(100% - 30px) !important;
    }

    .row {
        flex-direction: column !important;
        justify-content: center;
    }

    .table {
        width: 100%;
    }

    input[type='submit'],
    input[type='button'],
    button {
        width: 100%;
    }
}


.success-checkmark {
    width: 80px;
    height: 115px;
    margin: 0 auto;
}

.success-checkmark .check-icon {
    width: 80px;
    height: 80px;
    position: relative;
    border-radius: 50%;
    box-sizing: content-box;
    border: 4px solid #4caf50;
}

.success-checkmark .check-icon::before {
    top: 3px;
    left: -2px;
    width: 30px;
    transform-origin: 100% 50%;
    border-radius: 100px 0 0 100px;
}

.success-checkmark .check-icon::after {
    top: 0;
    left: 30px;
    width: 60px;
    transform-origin: 0 50%;
    border-radius: 0 100px 100px 0;
    animation: rotate-circle 4.25s ease-in;
}

.success-checkmark .check-icon::before,
.success-checkmark .check-icon::after {
    content: '';
    height: 100px;
    position: absolute;
    background: #fff;
    transform: rotate(-45deg);
}

.success-checkmark .check-icon .icon-line {
    height: 5px;
    background-color: #4caf50;
    display: block;
    border-radius: 2px;
    position: absolute;
    z-index: 10;
}

.success-checkmark .check-icon .icon-line.line-tip {
    top: 46px;
    left: 14px;
    width: 25px;
    transform: rotate(45deg);
    animation: icon-line-tip 0.75s;
}

.success-checkmark .check-icon .icon-line.line-long {
    top: 38px;
    right: 8px;
    width: 47px;
    transform: rotate(-45deg);
    animation: icon-line-long 0.75s;
}

.success-checkmark .check-icon .icon-circle {
    top: -4px;
    left: -4px;
    z-index: 10;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    position: absolute;
    box-sizing: content-box;
    border: 4px solid rgba(76, 175, 80, .5);
}

.success-checkmark .check-icon .icon-fix {
    top: 8px;
    width: 5px;
    left: 26px;
    z-index: 1;
    height: 85px;
    position: absolute;
    transform: rotate(-45deg);
    background-color: #fff;
}

@keyframes rotate-circle {
    0% {
        transform: rotate(-45deg);
    }

    5% {
        transform: rotate(-45deg);
    }

    12% {
        transform: rotate(-405deg);
    }

    100% {
        transform: rotate(-405deg);
    }
}

@keyframes icon-line-tip {
    0% {
        width: 0;
        left: 1px;
        top: 19px;
    }

    54% {
        width: 0;
        left: 1px;
        top: 19px;
    }

    70% {
        width: 50px;
        left: -8px;
        top: 37px;
    }

    84% {
        width: 17px;
        left: 21px;
        top: 48px;
    }

    100% {
        width: 25px;
        left: 14px;
        top: 45px;
    }
}

@keyframes icon-line-long {
    0% {
        width: 0;
        right: 46px;
        top: 54px;
    }

    65% {
        width: 0;
        right: 46px;
        top: 54px;
    }

    84% {
        width: 55px;
        right: 0px;
        top: 35px;
    }

    100% {
        width: 47px;
        right: 8px;
        top: 38px;
    }
}



.checkmark {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: block;
    stroke-width: 2;
    stroke: #fff;
    stroke-miterlimit: 10;
    box-shadow: inset 0px 0px 0px #7bb8f9;
    animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
}

.checkmark_circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke: #7bb8f9;
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark_check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes scale {

    0%,
    100% {
        transform: none;
    }

    50% {
        transform: scale3d(1.1, 1.1, 1);
    }
}

@keyframes fill {
    100% {
        /*box-shadow: inset 0px 0px 0px 30px #7bb8f9;*/
    }
}




/*Checkbox*/

/* Customize the label (the container) */
.container {
    position: relative;
    padding-left: 40px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    margin: 0 24px 16px 24px;
}

.container:last-of-type {
    margin-bottom: 32px;
}

label {
    line-height: 1.5;
}

/* Hide the browser's default checkbox */
.container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Create a custom checkbox */
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #eee;
}

/* On mouse-over, add a grey background color */
.container:hover input~.checkmark {
    background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.container input:checked~.checkmark {
    background-color: #2196F3;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.container input:checked~.checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.container .checkmark:after {
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.collapsible {
    cursor: pointer;
    padding: 18px;
    width: 100%;
    text-align: left;
    outline: none;
    font-size: 15px;
    border: 1px solid #7bb8f9;
    border-radius: 24px 24px 0 0;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: flex-start;
    align-items: center;
    margin-top: 24px;
}

.active {
    border-radius: 24px;
}

/* Style the collapsible content. Note: hidden by default */
.content {
    border: 1px solid #7bb8f9;
    border-radius: 0 0 24px 24px;
    width: calc(100% - 38px);
    border-top: 0;
    padding: 18px;
    display: block;
}


.zusatzhinweis {
    padding: 24px;
}


.required:not(:checked) {
    color: red;
}


.required {
    color: white;
    border: none;
}