/* The Modal (background) */
.modal-arcm {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000000000000000 !important; /* Sit on top */
    padding-top: 20px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0, 0, 0); /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content-arcm {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    width: 50%;
    max-width: 400px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s;
    border-radius: 8px;
}

/* Add Animation */
@-webkit-keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }
    to {
        top: 0;
        opacity: 1
    }
}

@keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }
    to {
        top: 0;
        opacity: 1
    }
}

/* The Close Button */
.close {
    color: white;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.modal-header-arcm {
    padding: 2px 16px;
    background-color: white;
    color: black;
    border-radius: 8px;
}

.modal-header-arcm h3 {
    font-size: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.modal-body-arcm {
    padding: 5px 10px;
    text-align: justify;
    font-size: 1rem !important;
}

.modal-body-arcm p {
    padding: 2px 16px;
    font-size: 14px !important;
}

.modal-footer-arcm {
    padding: 2px 16px 20px;
    color: black;
    margin-top: 2%;
}

.modal-arcm a {
    font-size: 11px !important;
}

.checkbox-section {
    text-align: left;
    font-size: 16px !important;
}

.arcm_checkbox {
    height: 20px !important;
    width: 20px !important;
    position: relative !important;
    border-radius: 6px;
    border: 1px solid red !important;
}


.arcm_checkbox:after {
    font-size: 16px !important;
    width: 10px !important;
    height: 14px !important;
    display: block !important;
    position: absolute !important;
    left: 3px !important;
    top: 0px !important;
    border-bottom: solid white !important;
    border-right: solid white !important;
}

.arcm_checkbox:checked {
    background-color: green !important;
    color: white !important;
    border: 1px solid green !important;
}

.info_link {
    text-align: center;
}

.mobile_linebreak {
    display: none !important;
}

.right_buttons {
    text-align: right !important;
}

.btn-arcm {
    width: 100%;
    border-radius: 2px;
    border: 1px solid transparent !important;
    font-size: 18px;
}

.arcm_buttons {
    padding: 10px;
}

.auswahl {
    background-color: rgba(128, 128, 128, 0.4) !important;
    color: black !important;
    cursor: pointer !important;
    padding-top: 5px;
    padding-bottom: 5px;
}

.alle-auswahl {
    background-color: rgba(128, 128, 128, 0.5) !important;
    color: black !important;
    cursor: pointer;
    padding-top: 5px;
    padding-bottom: 5px;
}

.info_icon {
    display: inline-flex;
    align-self: center;
}

.display_info {
    display: none;
}

.cookie_name {
    margin-bottom: 10px;
    border-left: 3px solid rgb(136, 136, 136);
    padding-left: 10px !important;
    background-color: rgba(136, 136, 136, 0.1);
    font-size: 13px !important;
}

#additional_info h3 {
    font-size: 16px !important;
    font-weight: 600;
    margin-top: 10px;
    margin-bottom: 10px;
}

#additional_info p {
    font-size: 12px !important;
    font-weight: 600;
    margin-top: 10px;
    margin-bottom: 10px;
}

.dsgvo_impressum {
    text-align: center !important;
}

@media screen and (max-width: 783px) {

    .modal-content-arcm {
        width: 95%;
    }

    .cookie_name {
        font-size: 12px;
        margin-bottom: 20px;
        border-left: 3px solid rgb(136, 136, 136);
        padding-left: 10px;
        background-color: rgba(136, 136, 136, 0.1);
    }

    #additional_info h3 {
        font-size: 1rem !important;
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .modal-arcm {
        padding-top: 10px !important;
    }

    .alle-auswahl {
        margin-top: 5%;
        margin-bottom: 5%;
    }

    .modal-body-arcm {
        font-size: 1.2rem !important;
    }

    .modal-body-arcm p {
        font-size: 4vw !important;
    }

    .mobile_linebreak {
        display: inline !important;
    }

    .modal-arcm a {
        font-size: 0.8rem !important;
    }

    .modal-header-arcm h3 {
        font-size: 6vw !important;
    }

    .right {
        text-align: left;
        padding-left: 2%;
        margin-top: 2%;
    }

    .right input, .right label, #notwendige_cookies + label {
        font-size: 5vw !important;
    }

    .right_buttons {
        text-align: center;
        padding-left: 2%;
        margin-top: 2%;
    }

    .dsgvo_impressum {
        text-align: center;
    }
}


/**
Bootstrap Grid ARCM
**/


.modal-arcm .mt-0 {
    margin-top: 0 !important;
}

.modal-arcm .mt-1 {
    margin-top: 0.25rem !important;
}

.modal-arcm .mt-2 {
    margin-top: 0.5rem !important;
}

.modal-arcm .mt-3 {
    margin-top: 1rem !important;
}

.modal-arcm .mt-4 {
    margin-top: 1.5rem !important;
}

.modal-arcm .mt-5 {
    margin-top: 3rem !important;
}

.modal-arcm .mt-auto {
    margin-top: auto !important;
}

.modal-arcm .container,
.modal-arcm .container-fluid,
.modal-arcm .container-xxl,
.modal-arcm .container-xl,
.modal-arcm .container-lg,
.modal-arcm .container-md,
.modal-arcm .container-sm {
    width: 100%;
    padding-right: var(--bs-gutter-x, 0.75rem);
    padding-left: var(--bs-gutter-x, 0.75rem);
    margin-right: auto;
    margin-left: auto;
}

.modal-arcm .row {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    display: flex;
    flex-wrap: wrap;
    margin-top: calc(var(--bs-gutter-y) * -1);
    margin-right: calc(var(--bs-gutter-x) * -.5);
    margin-left: calc(var(--bs-gutter-x) * -.5);
}

.modal-arcm .row > * {
    box-sizing: border-box;
    flex-shrink: 0;
    width: 100%;
    max-width: 100%;
    padding-right: calc(var(--bs-gutter-x) * .5);
    padding-left: calc(var(--bs-gutter-x) * .5);
    margin-top: var(--bs-gutter-y);
}

.modal-arcm .col {
    flex: 1 0 0%;
}

.modal-arcm .row-cols-auto > * {
    flex: 0 0 auto;
    width: auto;
}

.modal-arcm .row-cols-1 > * {
    flex: 0 0 auto;
    width: 100%;
}

.modal-arcm .row-cols-2 > * {
    flex: 0 0 auto;
    width: 50%;
}

.modal-arcm .row-cols-3 > * {
    flex: 0 0 auto;
    width: 33.3333333333%;
}

.modal-arcm .row-cols-4 > * {
    flex: 0 0 auto;
    width: 25%;
}

.modal-arcm .row-cols-5 > * {
    flex: 0 0 auto;
    width: 20%;
}

.modal-arcm .row-cols-6 > * {
    flex: 0 0 auto;
    width: 16.6666666667%;
}

.modal-arcm .col-auto {
    flex: 0 0 auto;
    width: auto;
}

.modal-arcm .col-1 {
    flex: 0 0 auto;
    width: 8.33333333%;
}

.modal-arcm .col-2 {
    flex: 0 0 auto;
    width: 16.66666667%;
}

.modal-arcm .col-3 {
    flex: 0 0 auto;
    width: 25%;
}

.modal-arcm .col-4 {
    flex: 0 0 auto;
    width: 33.33333333%;
}

.modal-arcm .col-5 {
    flex: 0 0 auto;
    width: 41.66666667%;
}

.modal-arcm .col-6 {
    flex: 0 0 auto;
    width: 50%;
}

.modal-arcm .col-7 {
    flex: 0 0 auto;
    width: 58.33333333%;
}

.modal-arcm .col-8 {
    flex: 0 0 auto;
    width: 66.66666667%;
}

.modal-arcm .col-9 {
    flex: 0 0 auto;
    width: 75%;
}

.modal-arcm .col-10 {
    flex: 0 0 auto;
    width: 83.33333333%;
}

.modal-arcm .col-11 {
    flex: 0 0 auto;
    width: 91.66666667%;
}

.modal-arcm .col-12 {
    flex: 0 0 auto;
    width: 100%;
}

@media (min-width: 768px) {
    .modal-arcm .col-md {
        flex: 1 0 0%;
    }

    .modal-arcm .row-cols-md-auto > * {
        flex: 0 0 auto;
        width: auto;
    }

    .modal-arcm .row-cols-md-1 > * {
        flex: 0 0 auto;
        width: 100%;
    }

    .modal-arcm .row-cols-md-2 > * {
        flex: 0 0 auto;
        width: 50%;
    }

    .modal-arcm .row-cols-md-3 > * {
        flex: 0 0 auto;
        width: 33.3333333333%;
    }

    .modal-arcm .row-cols-md-4 > * {
        flex: 0 0 auto;
        width: 25%;
    }

    .modal-arcm .row-cols-md-5 > * {
        flex: 0 0 auto;
        width: 20%;
    }

    .modal-arcm .row-cols-md-6 > * {
        flex: 0 0 auto;
        width: 16.6666666667%;
    }

    .modal-arcm .col-md-auto {
        flex: 0 0 auto;
        width: auto;
    }

    .modal-arcm .col-md-1 {
        flex: 0 0 auto;
        width: 8.33333333%;
    }

    .modal-arcm .col-md-2 {
        flex: 0 0 auto;
        width: 16.66666667%;
    }

    .modal-arcm .col-md-3 {
        flex: 0 0 auto;
        width: 25%;
    }

    .modal-arcm .col-md-4 {
        flex: 0 0 auto;
        width: 33.33333333%;
    }

    .modal-arcm .col-md-5 {
        flex: 0 0 auto;
        width: 41.66666667%;
    }

    .modal-arcm .col-md-6 {
        flex: 0 0 auto;
        width: 50%;
    }

    .modal-arcm .col-md-7 {
        flex: 0 0 auto;
        width: 58.33333333%;
    }

    .modal-arcm .col-md-8 {
        flex: 0 0 auto;
        width: 66.66666667%;
    }

    .modal-arcm .col-md-9 {
        flex: 0 0 auto;
        width: 75%;
    }

    .modal-arcm .col-md-10 {
        flex: 0 0 auto;
        width: 83.33333333%;
    }

    .modal-arcm .col-md-11 {
        flex: 0 0 auto;
        width: 91.66666667%;
    }

    .modal-arcm .col-md-12 {
        flex: 0 0 auto;
        width: 100%;
    }
}

