body::-webkit-scrollbar {
    width: 5px;
    /* width of the entire scrollbar */
}

body::-webkit-scrollbar-track {
    background: white;
        width: 15px;
    /* color of the tracking area */
}

body::-webkit-scrollbar-thumb {
    background-color: var(--primary);
    /* color of the scroll thumb
    border-radius: 20px; */
    /* roundness of the scroll thumb 
    border: 3px solid orange;*/
    /* creates padding around scroll thumb */
}

h4.ce_headline {
    text-transform: uppercase;
        font-weight: 100;
}
.about-us-module {
    background-image: url(https://asd.balticworxx.de/files/aid-asd/images/logo-icon.png);
    background-repeat: no-repeat;
    /* background-attachment: fixed; */
    background-position: 25% 50%;
    background-size: contain;
}

.news-module {
    background-image: url(https://asd.balticworxx.de/files/aid-asd/images/content/news.png);
        background-repeat: no-repeat;
        /* background-attachment: fixed; */
        background-position: center;
        background-size: contain;
        padding-bottom: 10rem;
}

.news-module > p {
    color: white;
}
.asd-sidebar-nav a.active.current-page-active
{
    font-weight:700;
}

div.label {
    margin-top: 2rem;
}
html.side-header-hamburguer-sidebar.side-header-hamburguer-sidebar-push .body-overlay {
        content: "";
        width: 100%;
        height: 0;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        background: var(--primary-rgba-80);
}

html.sidebar-left:not(.sidbar-hide).sidebar-push body>.body {
    position: relative;
    left: 355px;
}

html.sidebar-left:not(.sidebar-hide).sidebar-push .body-overlay {
    opacity: 1;
    height: 100%;
}

html.sidebar-left.sidebar-push .body-overlay {
    opacity: 0;
    height: 100%;
}

/*fieldset:not(:last-child) {
    padding: 0;
}*/

.fa-3xl {
    font-size: 3em;
    line-height: .03125em;
    vertical-align: -0.1875em;
}

fieldset {
    margin-top: 2rem;
    padding: 0.35em 0.625em 0.75em;
        margin-bottom: 13px;
        border: 1px solid #dddddd;
}

fieldset div.form-group, fieldset div.widget {
    margin-left: 1rem;
}

fieldset.required legend:before {
    content: '*';
    color: var(--bs-danger);
}

/*h1.home-module, h2.home-module, h3.home-module, h4.home-module {
    color: #042C4F;
    font-size: 40px;
    font-family: Arial;
    font-weight: 900;
    letter-spacing: 4.40px;
    word-wrap: break-word
}
*/

label.mandatory:before {
    content: '*';
    color: var(--bs-danger);
}

legend {
        display: block;
            width: 100%;
            padding: 0px 15px;
            margin-bottom: 20px;
            font-size: 21px;
            line-height: inherit;
            margin-top: -20px;
            background: white;
}

li.active > a {
    font-weight: bold;
}

.home-module-1 > p {
    color: black;
        font-size: 20px;
        font-family: Segoe UI;
        font-weight: 350;
        letter-spacing: 0.60px;
        word-wrap: break-word
}

:root {
    --anim-hover-out: unset;
}

aside.sidebar-left {
    position: fixed;
    top: 0;
    left: -355px;
    width: 355px;
    background: white;
    z-index: 10000;
    height: 100vh;
    transition: ease left 300ms, ease transform 300ms;
}

.bg-primary > div, .bg-primary > p, bg-primary > div > p {
    color:white!important;
}
/*.radio_container span:not(:first-child) {
    margin-left: 2rem;
}*/

.checkbox_container span~span {
    margin-left: 2rem;
}

.mt-n1 {
    margin-top: -0.25rem !important;
}

.mt-n2 {
    margin-top: -0.5rem !important;
}

.mt-n3 {
    margin-top: -0.75rem !important;
}

.mt-n4 {
    margin-top: -1.25rem !important;
}

.mt-n5 {
    margin-top: -1.75rem !important;
}

.mt-n6 {
    margin-top: -2rem !important;
}

.radio_container span ~ span {
    margin-left: 2rem;
}

.sticky-wrapper.sticky-wrapper-effect-1.sticky-effect-active .sticky-body {

    background: var(--primary);
}

.toggle-contact {
    
    color: var(--light) !important;
    background-color: var(--bs-success);
    display: block;
    height: 40px;
    position: fixed;
    left: 0;
    /*top: 135px;*/
    top: calc(80vh - 50%);
    width: 85px;
    font-size: 12px;
    line-height: 40px;
    color: var(--light);
    text-align: right;
    text-decoration: none;
    border-radius: 0 6px 0px 0;
    z-index: 9999;
        padding-right: 15px;
}

.toggle-login {
    color: var(--light) !important;
    background-color: var(--bs-success);
    display: block;
    height: 40px;
    position: fixed;
    left: 0;
    /*top: 176px;*/
    top: calc(80vh - 50% + 41px);
    width: 85px;
    font-size: 12px;
    line-height: 40px;
    color: var(--light);
    text-align: right;
    text-decoration: none;
    border-radius: 0 0px 6px 0;
    z-index: 9998;
    padding-right: 15px;
}

.top-menu:not(:hover) {
    animation-name: hover-out;
    animation-duration: 500ms;
    animation-fill-mode: both;
    transform: scale(1.2)
}

.top-menu {
    width: auto;
    min-width: 140px;
}

.top-menu:not(:last-child, .active):after {
    content: '';
    position: absolute;
    right: 0px;
    top: 31%;
    height: 31%;
    border-right: 1px solid #c4c4c4;
}

.top-menu:hover {
    animation-name: hover-in;
    animation-duration: 500ms;
    animation-fill-mode: both;
    background: var(--primary);
}

.top-menu:hover a {
    color: var(--light)
}

.top-menu.active {
    transform: scale(1.2);
    background: var(--primary);
}

.top-menu.forward {
    transform: scale(1.2);
    background: var(--primary);
}

.top-menu.active a{
    color: var(--light)
}

.top-menu.forward a {
    color: var(--light)
}

.top-menu-row {
    box-shadow: 2px 2px 5px #95959521;
    /*border: 1px solid #eaeaea;*/
}

.mod_om_urm_accident_list table tr.beinahe .col_0 {
    background: #FFBB6E;
}

.mod_om_urm_accident_list table tr.unfall .col_0 {
    background: #D94F00;
}

.mod_om_urm_accident_list table tr.verband .col_0 {
    background: #F28D00;
}

.mod_om_urm_accident_list ul.legend li {
    display: inline;
    padding: 0 2em 0 4px;
}

.mod_om_urm_accident_list ul.legend {
    padding: 0;
    list-style-type: none;
}

.mod_om_urm_accident_list ul.legend li.beinahe {
    border-left: 14px solid #FFBB6E;
}

.mod_om_urm_accident_list ul.legend li.unfall {
    border-left: 12px solid #D94F00;
}

.mod_om_urm_accident_list ul.legend li.verband {
    border-left: 12px solid #F28D00;
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transform: var(--bs-accordion-btn-icon-transform);
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");

}


@keyframes hover-in {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1.1);
        --anim-hover-out: hover-out;
    }
}

@keyframes hover-out {
    0% {
        transform: scale(1.1);
    }

    50% {
        transform: scale(0.9);
    }

    100% {
        transform: scale(1);
    }
}


@media (max-width: 575px) {
    body {
        font-size: 13px;
    }

    .col-sm-12:not(:first-child) {
        margin-top: 1rem;
        border:none!important;
    }

    h1, h2, h3 {
        line-height: 2.5rem;
    }
}

@media (min-width: 992px) {
    .mt-lg-n1 {
            margin-top: -0.25rem !important;
        }
    
        .mt-lg-n2 {
            margin-top: -0.5rem !important;
        }
    
        .mt-lg-n3 {
            margin-top: -0.75rem !important;
        }
    
        .mt-lg-n4 {
            margin-top: -1.25rem !important;
        }
    
        .mt-lg-n5 {
            margin-top: -1.75rem !important;
        }
    
        .mt-lg-n6 {
            margin-top: -2rem !important;
        }
}

.nav {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: row;
    flex-direction: row;
    list-style: none;
    margin: .2rem 0;
}

.mod_customnav>li {
    padding-left: 15px;
}

.nav-link {
    font-weight: 600;
    transition: ease all .3s;
}
a.nav-link:hover, a.nav-link.active {
    color: var(--primary);
    text-decoration: none;
}

a:focus {
    box-shadow: none;
    text-decoration: none;
}
.nav-link:focus-visible {
    outline: 0;
    box-shadow: none;
}

.nav-link.active {
    --bs-navbar-active-color: var(--primary);
}

.mod_newslist.block {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.layout_latest.block {
    padding: 10px;
    flex: 1 1 calc(33.33% - 20px);
    /* Exakte Breite mit Padding berücksichtigt */
    box-sizing: border-box;
    margin: 0;
    /* Keine zusätzlichen Margins */
}

a:hover {
    color: var(--primary);
    text-decoration: none;
}

p.info {
    font-size: small;
}

/*comments blog*/
.ce_comments {
    .formbody {
        label {
            display: block;
            margin-top: 0.625rem;
        }
        input, textarea {
            border-width: 1px;
            border-style: inset;
            border-color: light-dark(rgb(118, 118, 118), rgb(133, 133, 133));
            border-radius: 2px;
        }
        .widget-checkbox {
            span {
                display: flex;
            }
            .checkbox {
                margin: 10px 10px 0 5px;
            }
        }
    }
}

/*form*/
.ce_form {
    input, textarea {
        border-width: 0px;
        padding: 0.625rem;
        margin: 0.313rem 0;
        width: 30rem;
        max-width: 100%;
    }
    .widget-text label{
        display: none;
    }
    .widget-checkbox {
        legend{
            display: none;
        }
        fieldset {
            padding: 0;
            border: 0px solid #dddddd;
            margin: 0.625rem auto;
            width: 30rem;
            max-width: 100%;
            display: flex;
        }
        input {
            width: auto;
        }
    }
    .widget-textarea label{
        display: none;
    }
    [type=button]:not(:disabled), [type=reset]:not(:disabled), [type=submit]:not(:disabled), button:not(:disabled) {
        cursor: pointer;
        background-color: var(--kkm-green);
        border: none;
        color: white;
        display: inline-block;
        padding: 8px 35px;
        border-radius: 25px;
        cursor: pointer;
        text-align: center;
    }
}

/*image*/
img {
    max-width: 100%;
    height: auto;
}