/* === Grid === */

.container-full {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.container-85 {
    width: 85%;
    margin-left: auto;
    margin-right: auto;
}

.container-80 {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.row::after {
    content: "";
    clear: both;
    display: block;
}

[class*='col-'] {
    float: left;
    min-height: 1px;
    padding: .2rem;
}

.col-1 {
    width: 12.5%;
}

.col-2 {
    width: 25%;
}

.col-3 {
    width: 37.5%;
}

.col-4 {
    width: 50%;
}

.col-5 {
    width: 62.5%;
}

.col-6 {
    width: 75%;
}

.col-7 {
    width: 87.5%;
}

.col-8 {
    width: 100%;
}

.col-1_3 {
    width: 33.333%;
}


/* === GRID MEDIA-QUERIES === */

@media (max-width: 1600px) {
    .col-1 {
        width: 25%;
    }
    .col-7 {
        width: 75%;
    }
}

@media (max-width: 1366px) {
    .col-4 {
        width: 50%;
    }
}

@media (max-width: 1024px) {
    .col-4 {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .col-1 {
        width: 50%;
    }
    .col-2 {
        width: 100%;
    }
    .col-3 {
        width: 100%;
    }
    .col-4 {
        width: 100%;
    }
    .col-5 {
        width: 100%;
    }
    .col-6 {
        width: 100%;
    }
    .col-7 {
        width: 50%;
    }
    .col-1_3 {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .col-1 {
        width: 100%;
    }
    .col-7 {
        width: 100%;
    }
}


/* === FONTS === */

@font-face {
    font-family: "RobotoCondensed";
    src: url(../fonts/RobotoCondensed-Regular.ttf) format("truetype");
    font-style: normal;
    font-weight: normal;
}

@font-face {
    font-family: "RobotoCondensed";
    src: url(../fonts/RobotoCondensed-Bold.ttf) format("truetype");
    font-style: normal;
    font-weight: bold;
}

@font-face {
    font-family: "RobotoCondensed";
    src: url(../fonts/RobotoCondensed-Italic.ttf) format("truetype");
    font-style: italic;
    font-weight: normal;
}

@font-face {
    font-family: "RobotoCondensed";
    src: url(../fonts/RobotoCondensed-Light.ttf) format("truetype");
    font-style: normal;
    font-weight: lighter;
}


/* === Allgemein === */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html,
body,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: normal;
    margin: 0;
}

body {
    background-color: #D2D5D6;
    font-size: 18px;
    font-family: "RobotoCondensed", sans-serif;
    line-height: 1.5rem;
}


/* === Header === */

header {
    background-color: #ffffff;
    padding: .6rem 0 .6rem 0px;
    text-align: center;
    box-shadow: 0 0 28px -14px rgba(0, 0, 0, .75);
}

header>img {
    width: 60%;
}

@media(max-width: 500px) {
    .container-80 {
        width: 90%;
    }
    header>img {
        width: 90%;
    }
}


/* === Main-Bereich === */

#main-bereich>.row:nth-of-type(1)>.col-8 {
    background: linear-gradient(to right, #b01e22, #ee1e23);
    color: #ffffff;
    text-align: center;
    font-size: 2rem;
    line-height: 3rem;
}

#main-bereich>.row:nth-of-type(2)>.col-8 {
    background-color: #ffffff;
    color: #000000;
    padding: 2rem;
}

#main-bereich>.row:nth-of-type(2)>.col-8>.col-4:nth-of-type(2) {
    padding-left: 2rem;
    font-size: 1.6rem;
    line-height: 2rem;
}

#main-bereich input[type='radio'] {
    /* remove standard background appearance */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    /* create custom radiobutton appearance */
    display: inline-block;
    width: 20px;
    height: 20px;
    padding: 3px;
    /* background-color only for content */
    background-clip: content-box;
    border: 1px solid rgba(25, 25, 25, .5);
    background-color: #ffffff;
    border-radius: 50%;
    margin-top: 2px;
}

#main-bereich input[type='radio']:checked {
    background-color: #b01e22;
    border: 2px solid #b01e22;
}

.anmeldeFeld:not(:nth-of-type(1)) {
    margin-top: 1rem;
}

.anmeldeFeldHeader {
    font-weight: bold;
    font-size: 1.3rem;
}

.anmeldeFeldMain {
    font-size: 1.2rem;
}

input[type='text'],
input[type='email'],
input[type='tel'],
input[type='password'] {
    padding: .5rem;
    border: 1px solid #D2D5D6;
    border-radius: 5px;
    width: 100%;
    font-size: 1.2rem;
    font-family: "RobotoCondensed";
}

button {
    padding: .5rem;
    border: 1px solid #b01e22;
    color: #ffffff;
    border-radius: 5px;
    width: 100%;
    font-size: 1.3rem;
    font-family: "RobotoCondensed";
    background-color: #b01e22;
    transition-duration: .5s;
    font-weight: bold;
}

button:hover {
    border: 1px solid #ee1e23;
    background-color: #ee1e23;
    cursor: pointer;
}

#main-bereich a:link,
#main-bereich a:active,
#main-bereich a:visited {
    text-decoration: none;
    color: #b01e22;
}

#main-bereich a:hover {
    text-decoration: none;
    color: #ee1e23;
}


/* === Footer === */

footer {
    border-top: 2px solid #d6d6d6;
    background-color: #fff;
    font-size: 1.4rem;
    padding: 2rem;
    margin-bottom: 2rem;
}

footer a:link,
footer a:active,
footer a:visited {
    text-decoration: none;
    color: #000;
}

footer a:hover {
    text-decoration: none;
    color: #ee1e23;
}


/* Checkbox */

.control {
    font-family: "Condensed", sans-serif;
    display: block;
    position: relative;
    padding-left: 1.8rem;
    margin-top: 1rem;
    cursor: pointer;
    font-size: 1.2rem;
}

.control input {
    position: absolute;
    z-index: -1;
    opacity: 0;
}

.control_indicator {
    position: absolute;
    top: 3px;
    left: 0;
    height: 20px;
    width: 20px;
    background: #e6e6e6;
    border-radius: 0px;
    border: 1px solid #b01e22;
}

.control:hover input~.control_indicator,
.control input:focus~.control_indicator {
    background: #cccccc;
}

.control input:checked~.control_indicator {
    background: #b01e22;
}

.control:hover input:not([disabled]):checked~.control_indicator,
.control input:checked:focus~.control_indicator {
    background: #b01e22;
}

.control input:disabled~.control_indicator {
    background: #e6e6e6;
    opacity: 0.6;
    pointer-events: none;
}

.control_indicator:after {
    box-sizing: unset;
    content: '';
    position: absolute;
    display: none;
}

.control input:checked~.control_indicator:after {
    display: block;
}

.control-checkbox .control_indicator:after {
    left: 8px;
    top: 4px;
    width: 3px;
    height: 8px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.control-checkbox input:disabled~.control_indicator:after {
    border-color: #7b7b7b;
}

.control-checkbox .control_indicator::before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 4.5rem;
    height: 4.5rem;
    margin-left: -1.3rem;
    margin-top: -1.3rem;
    background: #b01e22;
    border-radius: 3rem;
    opacity: 0.6;
    z-index: 99999;
    transform: scale(0);
}

@-webkit-keyframes s-ripple {
    0% {
        transform: scale(0);
    }
    20% {
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(1);
    }
}

@keyframes s-ripple {
    0% {
        transform: scale(0);
    }
    20% {
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(1);
    }
}

@-webkit-keyframes s-ripple-dup {
    0% {
        transform: scale(0);
    }
    30% {
        transform: scale(1);
    }
    60% {
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(1);
    }
}

@keyframes s-ripple-dup {
    0% {
        transform: scale(0);
    }
    30% {
        transform: scale(1);
    }
    60% {
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(1);
    }
}

.control-checkbox input+.control_indicator::before {
    -webkit-animation: s-ripple 250ms ease-out;
    animation: s-ripple 250ms ease-out;
}

.control-checkbox input:checked+.control_indicator::before {
    -webkit-animation-name: s-ripple-dup;
    animation-name: s-ripple-dup;
}


/* Ende Checkbox */

.modal {
    display: none;
    position: fixed;
    z-index: 30;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: #000000;
    background-color: rgba(0, 0, 0, 0.6);
    -webkit-animation-name: fadeIn;
    -webkit-animation-duration: 0.4s;
    animation-name: fadeIn;
    animation-duration: 0.4s
}

.modal-content {
    position: fixed;
    top: 80px;
    background-color: #ffffff;
    width: 70%;
    margin-left: 15%;
    margin-right: 15%;
    -webkit-animation-name: slideInModal;
    -webkit-animation-duration: 0.4s;
    animation-name: slideInModal;
    animation-duration: 0.4s;
    font-family: "Condensed", sans-serif;
    font-size: 1.5rem;
    border-radius: 10px;
    border: 1px solid #D2D5D6;
    overflow: auto;
    max-height: 80%;
}

.close i {
    color: #ffffff;
    float: right;
    font-weight: bold;
    margin-right: 1rem;
    margin-top: .5rem;
}

.close01 i {
    color: #585858;
    float: right;
    font-weight: bold;
    margin-right: 1rem;
    margin-top: .5rem;
}

.close i:hover,
.close i:focus {
    color: #585858;
    text-decoration: none;
    cursor: pointer;
}

.modal-header h2 {
    margin: 0;
}

.modal-body {
    padding: 1rem;
    width: 100%;
    overflow: hidden;
}

.modal-body>header>i {
    font-size: 2rem;
}

.modal-body>div {
    border-bottom: 2px solid var(--col-grey);
}

.modal-body>.btn-typ-0 {
    margin-top: 1rem;
}

.modal-body>.btn-typ-0:hover {
    border: none;
}

@-webkit-keyframes slideInModal {
    from {
        top: -300px;
        opacity: 0
    }
    to {
        top: 80px;
        opacity: 1
    }
}

@keyframes slideInModal {
    from {
        top: -300px;
        opacity: 0
    }
    to {
        top: 80px;
        opacity: 1
    }
}

@media(max-width: 1024px) {
    .modal-content {
        width: 80%;
        margin-left: 10%;
        margin-right: 10%;
    }
}

@media(max-width: 800px) {
    .modal-content {
        width: 90%;
        margin-left: 5%;
        margin-right: 5%;
        max-height: 85%;
    }
}

@media(max-width: 450px) {
    .modal-content {
        width: 95%;
        margin-left: 2.5%;
        margin-right: 2.5%;
    }
}

.pTeilnehmer0 {
    font-size: 2rem;
    text-align: center;
    margin: 0;
}

.pTeilnehmer1 {
    font-weight: bold;
    font-size: 6rem;
    text-align: center;
    color: #b01e22;
    margin: 3rem;
}

.loader {
    border: 16px solid #f3f3f3; /* Light grey */
    border-top: 16px solid #b01e22; /* Blue */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}