@import url("https://fonts.verwaltungsportal.de/import/?family=Roboto:400,500,600,400i,500i,600i");
@import url("https://fonts.verwaltungsportal.de/import/?family=PT+Serif:400,400i");

html {
    max-width: 1930px;
    margin-left: auto;
    margin-right: auto;
    background: #e1eefa;
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    scrollbar-color: #2e3c48 #ffffff;
    scrollbar-width: thin;
}

body {
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    color: #0d0d0d;
    background: #ffffff;
    font-size: clamp(1rem, 2vw, 1.125rem);
    /* 1rem = 16px */
    line-height: 1.5;
}

a {
    color: #cc0000;
}

a:is(:hover, :focus) {
    color: #cc0000;
    text-decoration: underline;
}

b,
strong {
    font-weight: 600;
}

@media (min-width: 1200px) {

    .row,
    .compact,
    ._op-container .container {
        max-width: 1600px;
        width: 100%;
    }
}

#over {
    overflow: clip;
}

/* ------------------------------------------------- topbar ------------------------------------------------ */

#topbar {
    padding: 30px 0;
}

#optionsbar span {
    font-size: 1rem;
    margin-right: 5px;
    font-weight: 500;
}

#optionsbar {
    gap: clamp(10px, 2vw, 30px);
}

#style,
#contrast_style {
    gap: 10px;
}

#style button {
    border: none;
    color: #0d0d0d;
    display: inline-block;
    width: 35px;
    height: 35px;
    font-weight: 400;
    text-align: center;
    background-color: #fff;
    position: relative;
    line-height: 1;
    padding: 0;
    transition: background 200ms ease;
    border: 2px solid #0d0d0d;
    font-family: "PT Serif", serif;
    font-size: 18px;
}

#style button::after {
    content: '';
    position: absolute;
    top: 3px;
    right: 3px;
    bottom: 3px;
    left: 3px;
    display: inline-block;
    border: 1px solid #0d0d0d;
    pointer-events: none;
}

#style button:focus-visible {
    outline: 2px auto;
}

#contrast_style button {
    color: #000000;
    padding: 0;
    border: 2px solid #0d0d0d;
    font-family: "Khand", sans-serif;
    display: inline-block;
    width: 35px;
    height: 35px;
    font-weight: 400;
    text-align: center;
    background-color: #ffffff !important;
    position: relative;
    z-index: 1;
    font-size: 0;
    padding: 0;
}

#contrast_style button::before {
    content: "";
    display: block;
    position: absolute;
    z-index: -1;
    left: -6px;
    top: -6px;
    width: 30px;
    height: 30px;
    background: rgba(0, 0, 0, 0.1);
    opacity: 0;
    transition: opacity 150ms linear;
}

#contrast_style button::after {
    content: "";
    display: block;
    position: absolute;
    top: 3px;
    right: 3px;
    left: 3px;
    bottom: 3px;
    border: 1px solid rgba(0, 0, 0, 0.6);
}

#contrast_style button:nth-of-type(1)::after {
    background: linear-gradient(to right, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6) 50%, rgba(255, 255, 255, 1) 50%);
}

#contrast_style button:nth-of-type(2)::after {
    background: linear-gradient(to right, rgba(255, 255, 255, 1), rgba(255, 255, 255, 1) 50%, rgba(0, 0, 0, 0.6) 50%);
}

#contrast_style button:nth-of-type(3)::after {
    background: #ea5b0c;
    border: none;
    filter: none !important;
}

#style button:hover,
#style button:focus,
#contrast_style button:hover,
#contrast_style button:focus {
    border-color: #cc0000;
}

#search2 {
    min-height: 40px;
    margin-bottom: 11px;
    border: 2px solid #f0f0f0;
}

#search_input2 {
    height: 40px;
}

form[id*="search"] {
    background: #fff;
    display: block;
    position: relative;
    min-height: 100%;
    min-height: 40px;
}

input[id*="search_input"] {
    color: #0d0d0d;
    font-size: 0.875rem;
    font-style: normal;
    background: transparent;
    padding: 0;
    border: 0;
    padding-left: 15px;
    padding-right: 43px;
    height: 100%;
    width: 100%;
    min-height: 40px;
}

input[id*="search_submit"] {
    width: 36px;
    background-image: url('../img/icon-lupe_v2.png');
    background-position: center;
    background-repeat: no-repeat;
    background-color: #fff;
    padding: 0;
    cursor: pointer;
    line-height: 33px;
    border: none;
    position: absolute;
    top: 5px;
    right: 5px;
    height: calc(100% - 10px);
    font-size: 0;
    border-left: 1px solid #d9d9d9;
    transition: background-color 300ms linear;
}

input[id*="search_submit"].contrast_light_font {
    background-color: #fff !important;
}

input[id*="search_submit"]:hover {
    outline: 2px auto;
}

input[id*="search_input"]::placeholder {
    color: color-mix(in srgb, #0d0d0d 100%, transparent) !important;
}

input[id*="search_input"].contrast_light_font::placeholder {
    color: color-mix(in srgb, #fff 100%, transparent) !important;
}

input[id*="search_input"]::-ms-input-placeholder {
    color: color-mix(in srgb, #0d0d0d 100%, transparent) !important;
}

input[id*="search_input"]::-webkit-input-placeholder {
    color: color-mix(in srgb, #0d0d0d 100%, transparent) !important;
}

input[id*="search_input"]::-moz-placeholder {
    opacity: 1;
}

input[id*="search_input"]::-moz-placeholder {
    opacity: 1;
}

/* ------------------------------------------------- logo ------------------------------------------------ */

#logo.contrast_light_font img {
    background-color: #fff;
}

#logo {
    display: inline-block;
}

#logo img {
    display: block;
}

body:not(.index) #logo img {
    max-width: 300px;
}

@media (max-width: 991px) {
    #logo {
        padding: 10px 0;
    }

    #logo img {
        max-width: 300px;
        width: 100%;
    }
}

@media (min-width: 992px) {
    #logo {
        position: absolute;
        top: -85px;
        transition: top 300ms ease, margin 300ms ease;
    }

    .is-sticky #logo {
        top: 0;
        margin-top: 5px;
        margin-bottom: -55px;
    }

    #logo img {
        -webkit-transition: max-width 300ms linear;
        -moz-transition: max-width 300ms linear;
        -ms-transition: max-width 300ms linear;
        -o-transition: max-width 300ms linear;
        transition: max-width 300ms linear;
    }

    .is-sticky #logo img {
        max-width: 100px;
    }
}

/* #region ---------------------------------- navigation ---------------------------------------- */

/* burgermenu for tablet */

@media (max-width: 991px) {

    #headerElement {
        padding-top: 10px;
    }

    #menu {
        position: relative !important;
    }

    #burgerButton {
        font-size: 0;
        border: none !important;
        display: block;
        height: 50px;
        width: 60px;
        border-radius: 2px;
        padding: 6px 8px;
        cursor: pointer;
        background-color: #ffffff;
        box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.08);
    }

    #burgerButton::before,
    #burgerButton::after,
    #burgerButtonInner {
        background-color: #b22124;
        border-radius: 2px;
        position: absolute;
        width: 40px;
        height: 3px;
        left: 10px;
        transition: transform 200ms linear, opacity 200ms linear;
    }

    #burgerButton[aria-expanded="true"] #burgerButtonInner {
        transform: rotate(-45deg) translate(-6px, 6px);
    }

    #burgerButton[aria-expanded="true"]::before {
        opacity: 0;
    }

    #burgerButton[aria-expanded="true"]:after {
        transform: rotate(45deg) translate(-4px, -6px);
    }

    #burgerButtonInner {
        top: 16px;
    }

    #burgerButton::before {
        top: 24px;
        content: "";
    }

    #burgerButton::after {
        top: 32px;
        content: "";
    }

    .navbar-nav {
        margin: 20px 0;
    }

    .navbar-collapse {
        width: calc(100% - 90px);
        max-width: 300px;
        top: 0;
        background: #ffffff;
        position: fixed;
        left: -100%;
        bottom: 0;
        z-index: 100;
        height: auto !important;
        opacity: 0;
        pointer-events: none;
        visibility: hidden;
        overflow-y: auto;
        transition: left 300ms linear, opacity 300ms linear, box-shadow 600ms linear;
        box-shadow: 250px 0 50vw 50vw rgba(255, 255, 255, 0);
    }

    .navbar-collapse:is([aria-expanded="true"], .in) {
        left: 0;
        opacity: 1;
        pointer-events: auto;
        visibility: visible;
        box-shadow: 250px 0 50vw 50vw rgba(0, 0, 0, 0.6);
    }

    .navbar-header {
        position: fixed;
        top: 15px;
        right: 15px;
        z-index: 101;
    }

    .dropdown-toggle-button-wrapper {
        top: 7px;
    }

    .dropdown-toggle-button-wrapper2 {
        top: -2px;
    }
}

/* menu desktop */

@media (min-width: 992px) {
    #headerElement {
        background: rgba(255, 255, 255, 0.85);
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        z-index: 103;
    }

    #menu {
        transition: background 300ms ease, box-shadow 300ms ease;
    }

    #menu .navbar {
        margin-bottom: -30px;
        transition: margin 300ms ease;
    }

    .is-sticky #menu .navbar {
        margin-top: 5px;
        margin-bottom: 5px;
    }

    .is-sticky #menu {
        background: rgba(255, 255, 255, 0.95);
        box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2);
    }

    nav.horizontally .navbar-nav {
        position: relative;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 10px;
    }

    nav.horizontally .navbar-nav li[class*="toplevel"]>ul {
        display: flex !important;
        flex-wrap: wrap;
        pointer-events: none;
        position: absolute;
        opacity: 0;
        top: auto;
        left: 0;
        right: 0;
        z-index: 1000;
        padding: clamp(30px, 7vw, 40px) 30px;
        transform-origin: top center;
        transition: top 300ms linear, opacity 300ms linear;
    }

    nav.horizontally .navbar-nav li[class*="toplevel"]>ul>div {
        width: 100%;
        max-height: 60vh;
        padding-right: 15px;
    }

    nav.horizontally .navbar-nav li[class*="toplevel"]>ul>div>div:first-of-type {
        display: flex !important;
        flex-wrap: wrap;
    }

    nav.horizontally .navbar-nav>li.open>ul {
        pointer-events: none !important;
        opacity: 0 !important;
    }

    nav.horizontally .navbar-nav>li:is(:hover, :focus-within)>ul,
    nav.horizontally .navbar-nav>li.open:focus-within>ul {
        pointer-events: auto !important;
        opacity: 1 !important;
    }

    nav.horizontally .navbar-nav>li:is(:hover, :focus)>ul {
        z-index: 1003;
    }

    nav.horizontally li[class*="toplevel"] {
        flex-grow: 1;
    }

    nav.horizontally li[class*="secondlevel"] {
        margin-bottom: 30px;
        width: 33.33%;
    }

    nav.horizontally [class*="secondlevel"]>ul {
        display: block !important;
    }

    nav.horizontally li[id*="secondlevel"] {
        outline-offset: -3px;
    }
}

@media (min-width:1200px) {
    nav.horizontally .navbar-nav li[class*="secondlevel"] {
        width: 25%;
    }

    nav.horizontally .navbar-nav li[class*="end"],
    nav.horizontally .navbar-nav li[class*="start"] {
        display: none !important;
    }

    nav.horizontally .navbar-nav li[class*="secondlevel"] {
        padding: 10px;
    }
}

/* toplevel */

nav.horizontally a[class*="toplevel"] {
    color: #454545;
    font-weight: 500;
    text-align: left;
    padding: 10px 35px;
    position: relative;
    font-size: 1.0625rem;
    text-transform: uppercase;
    line-height: 1.2;
    text-decoration: none;
    hyphens: auto;
    transition: border-color 300ms linear;
    background: #fcdd09;
    hyphens: auto;
}

@media (min-width: 992px) {
nav.horizontally li[class*="toplevel"]:nth-child(8)>a {
    padding: 27px 10px;
}
}

nav.horizontally a[class*="toplevel"]::before {
    content: '';
    display: block;
    width: 100%;
    margin: auto;
    text-decoration: none !important;
    font-size: 0.8125rem;
    hyphens: auto;
    margin-bottom: 10px;
    text-transform: none;
    font-weight: 400;
}

nav.horizontally li[class*="toplevel"]:nth-child(8)>a:before {
    display: none;
}

nav.horizontally li[class*="toplevel"]:nth-child(1)>a:before {
    content: 'Aktuelles';
}

nav.horizontally li[class*="toplevel"]:nth-child(2)>a:before {
    content: 'Rathaus & Service';
}

nav.horizontally li[class*="toplevel"]:nth-child(3)>a:before {
    content: 'Einrichtungen & Vereine';
}

nav.horizontally li[class*="toplevel"]:nth-child(4)>a:before {
    content: 'Freizeit & Tourismus';
}

nav.horizontally li[class*="toplevel"]:nth-child(5)>a:before {
    content: 'Natur & Kultur';
}

nav.horizontally li[class*="toplevel"]:nth-child(6)>a:before {
    content: 'Gewerbe';
}

nav.horizontally li[class*="toplevel"]:nth-child(7)>a::before {
    content: '360';
    background: url(../img/360.png) no-repeat left 22px top 2px;
    padding: 0 50px;
    width: fit-content;
}

nav.horizontally li[class*="toplevel"]:nth-child(2)>a {
    content: 'Rathaus & Service';
    background-color: #cc0000;
    color: #fff;
}

nav.horizontally li[class*="toplevel"]:nth-child(3)>a {
    background-color: #0f47af;
    color: #fff;
}

nav.horizontally li[class*="toplevel"]:nth-child(4)>a {
    background-color: #fff;
}

nav.horizontally li[class*="toplevel"]:nth-child(5)>a {
    background-color: #92d050;
}

nav.horizontally li[class*="toplevel"]:nth-child(6)>a {
    background-color: #d9d9d9;
}

nav.horizontally li[class*="toplevel"]:nth-child(7)>a {
    background-color: #014526;
    color: #fff;
}

@media (min-width: 992px) {

    nav.horizontally a[class*="toplevel"] {
        /* z-index: 1005; */
        text-align: center;
    }

    nav.horizontally a[class*="toplevel"] {
        padding: 15px 10px 15px 10px;
    }
}

/* toplevel-over */

nav.horizontally li[class*="toplevel"]:is(:hover, :focus-within)>a,
nav.horizontally li[class*="toplevel"]>a:is(:hover, :focus),
nav.horizontally li[class*="toplevel"].open>a,
nav.horizontally li[class*="toplevel"].open>a:is(:hover, :focus),
nav.horizontally li[class*="toplevel"][class*="_over"]>a,
nav.horizontally li[class*="toplevel"][class*="_over"]>a:is(:hover, :focus) {
    text-decoration: underline;
}

/* secondlevel + thirdlevel dropdown-box */

nav.horizontally [class*="toplevel"]>ul {
    background-color: rgba(255, 255, 255, 0.90);
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15);
}

@media (max-width: 991px) {
    nav.horizontally [class*="toplevel"]>ul {
        padding: 15px;
    }

    nav.horizontally li[class*="toplevel"] {
        margin-bottom: 5px;
    }

    nav.horizontally [class*="secondlevel"]>ul {
        margin-bottom: 8px;
    }
}

/* secondlevel + thirdlevel */

nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]) {
    text-align: center;
}

@media (min-width: 992px) {
    nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]) {
        text-align: left;
    }
}

nav.horizontally a[class*="secondlevel"] {
    color: #0d0d0d;
    font-weight: 500;
    padding: 0 0 10px 0;
    display: inline-block;
    position: relative;
    font-size: 1rem;
    line-height: 1.2;
    text-decoration: none;
    hyphens: auto;
}

@media (min-width: 992px) {
    nav.horizontally a[class*="secondlevel"]::after {
        content: "";
        display: block;
        height: 3px;
        background-color: #0d0d0d;
        transition: background-color 300ms linear;
        margin-top: 5px;
    }
}

@media (max-width: 991px) {

    nav.horizontally a[class*="secondlevel"] {
        padding: 10px 35px 10px 10px;
    }

    nav.horizontally a[class*="secondlevel"],
    nav.horizontally a[class*="thirdlevel"] {
        width: 100%;
        text-align: left;
    }

    .dropdown-toggle-button-wrapper2 {
        top: 5px;
    }
}

nav.horizontally a[class*="thirdlevel"] {
    color: #454545;
    font-weight: normal;
    padding: 7px 15px 7px 20px;
    font-size: 1rem;
    line-height: 1.2;
    text-decoration: none;
    position: relative;
    hyphens: auto;
}

nav.horizontally a[class*="thirdlevel"]::before {
    content: "»";
    position: absolute;
    top: 6px;
    left: 10px;
}

/* secondlevel + thirdlevel over */

nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]):is(:hover, :focus-within)>a,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"])>a:is(:hover, :focus),
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]).open>a,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]).open>a:is(:hover, :focus),
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"])[class*="_over"]>a,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"])[class*="_over"]>a:is(:hover, :focus) {
    background: transparent;
    color: #cc0000;
}

/* #endregion ------------------------------- navigation ---------------------------------------- */

/* -------------------------------------------- banner ------------------------------------------ */

#overlay {
    background: transparent !important;
}

@media (min-width: 992px) {
    #overlay {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 12;
        pointer-events: none;
        display: flex;
        align-items: center;
    }

    #logo {
        pointer-events: all;
    }
}

#slider {
    max-height: clamp(300px, 42vw, 550px);
    position: relative;
}

@media (min-width: 768px) {
    #headerpic .nivo-controlNav {
        bottom: 40px;
    }
}

@media (min-width: 992px) {
    body.index #slider {
        max-height: clamp(400px, 62vw, 750px);
    }

    #headerpic a.nivo-prevNav {
        left: 65px;
    }

    #headerpic a.nivo-nextNav {
        right: 65px;
    }

    #headerpic .nivo-controlNav {
        bottom: 80px;
    }
}

#headerpic {
    padding: 0;
    overflow: hidden;
    position: relative;
}

.slider-wrapper,
#slider {
    height: 100%;
}

@media (min-width: 768px) {
    .slider-mask {
        display: block;
        background: url(../img/slider-mask-big-logos.png) no-repeat bottom -1px center / 100% auto;
    }
}

/* ------------------------------------------------ content ----------------------------------------------- */

#content {
    text-align: left;
    padding-top: 30px;
    padding-bottom: 60px;
}

@media (max-width: 991px) {
    main {
        padding-bottom: 60px;
    }
}

main {
    overflow: clip;
}

/* -------------------------------------- h1 - h6, newslink ------------------------------------- */

.h4link a:is(:link, :hover, :focus, :visited),
h6,
h5,
h4,
h3,
h2,
h1 {
    color: #0d0d0d;
    font-weight: 400;
    line-height: 1.2;
    font-family: "PT Serif", serif;
    hyphens: auto;
}

h1,
.h1,
.legacy_h1 {
    font-size: clamp(1.875rem, 3vw, 2.375rem);
}

h2,
.h2,
.legacy_h2 {
    font-size: clamp(1.75rem, 3vw, 2.3rem);
}

h3,
.h3,
.legacy_h3 {
    font-size: clamp(1.625rem, 3vw, 2.2rem);
}

h4,
.h4,
.h4link a:is(:link, :hover, :focus, :visited) .legacy_h4 {
    font-size: clamp(1.5rem, 3vw, 2.0625rem);
}

h5,
.h5,
.legacy_h5 {
    font-size: clamp(1.375rem, 2vw, 1.75rem);
}

h6,
.h6,
.legacy_h6 {
    font-size: clamp(1.25rem, 2vw, 1.5625rem);
}

/* ----------------------------------------------- tickerWrapper ----------------------------------------------- */

#tickerWrapper {
    margin-top: 30px;
}

/* ----------------------------------------------- quickbuttons ----------------------------------------------- */

#quickButtons {
    padding: 30px 0 0 0;
}

@media (min-width: 992px) {
    #quickButtons {
        padding: 30px 0 30px 0;
    }
}

#quickButtons ul,
#quickButtons li {
    all: unset;
}

#quickButtons ul {
    list-style: none;
}

#quickButtons .tabContent ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: clamp(5px, 5vw, 30px);
}

#quickButtons .tabContent li {
    flex-grow: 1;
    text-align: center;
}

#quickButtons .tabContent li::before {
    display: none;
}

#quickButtons a {
    display: block;
    padding: 15px 5px;
    font-size: clamp(0.875rem, 2vw, 1rem);
    font-weight: 500;
    border: 3px solid #f0f0f0;
    transition: border-color 300ms ease;
    color: #454545;
    text-decoration: none;
    background: #f0f0f0;
    text-transform: uppercase;
}

#quickButtons a.contrast_light_font {
    color: #000 !important;
}

#quickButtons :is(:hover, :focus) {
    background: #fff;
}

#quickButtons img {
    display: block;
    margin: auto;
    margin-bottom: 12px;
}

/* ----------------------------------------------- News ----------------------------------------------- */

#news {
    padding-top: 50px;
    padding-bottom: 50px;
    z-index: 12;
    position: relative;
}

#news .tab_link_entries {
    display: grid;
    gap: clamp(15px, 2vw, 30px);
    grid-template-columns: 1fr 1fr 1fr;
}

@media (max-width: 991px) {
    #news .tab_link_entries {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 575px) {
    #news .tab_link_entries {
        grid-template-columns: 1fr;
    }
}

#news .buttonStyle {
    margin-top: 15px;
}

#news .tab {
    margin-bottom: 30px;
}

@media (min-width: 992px) {
    #news .tabHeadline {
        margin-bottom: 40px;
    }
}

#news .tab_link_entry {
    font-size: 1rem;
    position: relative;
    width: 100%;
    color: #454545;
    background: #ffffff;
    padding: 180px 30px 30px 30px;
    border: 2px solid #f0f0f0 !important;
}

#news .tab_link_title a {
    line-height: 1.2;
    font-weight: 500;
    font-size: 1.125rem;
    display: block;
    margin-bottom: 8px;
    color: #0f47af;
}

@media (min-width: 992px) {

    #news .tab,
    #news .tab_link,
    #news .tab_link>div {
        height: 100%;
        min-height: 100%;
    }
}

#news .tab_link_entry::before,
#news .tab_link_entry .tab_preview_picture {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    right: 0;
    height: 160px;
    overflow: hidden;
    background: #fff;
}

#news .tab_preview_picture img {
    position: absolute;
    margin: 0 !important;
    left: 50%;
    top: 50%;
    max-width: none;
    min-width: 100%;
    min-height: 100%;
    max-width: 350px;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
}

.tab_link_entries+div,
.tab_link_entries .tab_spacer,
.tab_link_entry>div:nth-last-child(2) {
    display: none;
}

/* ----------------------------------------------- buttonStyle ----------------------------------------------- */

.tab_link_mehr {
    font-size: 0;
}

.tab_link_mehr a,
.buttonStyle a:not(.has-image):not([rel]) {
    display: inline-block;
    padding: 8px 33px;
    background: #cc0000;
    text-transform: uppercase;
    color: #fff;
    font-size: 1rem;
    text-transform: uppercase;
    text-decoration: none;
}

.tab_link_mehr a:hover,
.tab_link_mehr a:focus,
.buttonStyle a:not(.has-image):not([rel]):hover,
.buttonStyle a:not(.has-image):not([rel]):focus {
    background: #0f47af;
}

/* ----------------------------------------------- tabRightElement ----------------------------------------------- */

.tabRightElement {
    font-size: 1rem;
    color: #454545;
}

.tabRightElement .tabHeadline,
.tabRightElement h2 {
    text-transform: uppercase;
    color: #0d0d0d;
    font-size: 1.25rem;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
}

.tabRightElement {
    padding: clamp(15px, 2vw, 30px) clamp(15px, 2vw, 40px);
    border: 2px solid #f0f0f0 !important;
}

.tabqr {
    padding: clamp(15px, 2vw, 30px);
}

@media (min-width: 992px) {
    #elementsRight>*+* {
        margin-top: 60px;
    }
}

@media (max-width: 575px) {
    #elementsRight>*+* {
        margin-top: 60px;
    }
}

/* --------------------------------------------- #footer -------------------------------------------- */

#scrollTopBtn {
    color: #0d0d0d;
    font-family: "PT Serif", serif;
    font-size: 0.875rem;
    position: relative;
    text-transform: uppercase;
}

#scrollTopBtn::after {
    content: '';
    position: absolute;
    right: -28px;
    top: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 -960 960 960" width="24px" fill="%230d0d0d"><path d="m553.85-253.85-42.16-43.38L664.46-450H180v-60h484.46L511.69-662.77l42.16-43.38L780-480 553.85-253.85Z"/></svg>');
    background-size: 20px auto;
    background-repeat: no-repeat;
    width: 22px;
    height: 19px;
    display: inline-block;
    transform: rotate(-90deg);
}

@media (max-width: 991px) {
    #footer>.row>*+* {
        margin-top: 30px;
    }
}

#footer {
    font-size: 1rem;
    padding-top: 40px;
    padding-bottom: 30px;
    background: #f0f0f0;
}

#footer :is(h1, h2, h3, h4, h5, h6, .footerHeadline) {
    color: #fff;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1.3125rem;
}

#counterElement {
    border: 1px solid #cecece;
    padding: 12px 20px;
    font-weight: 500;
    text-transform: uppercase;
    width: fit-content;
    min-width: 250px;
    margin: auto;
    background: #fff;
    color: #454545;
}

#counterElement span {
    margin-right: 10px;
}

#footer .footerTab ul {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: start;
    margin: 0;
    flex-wrap: wrap;
}

@media (max-width: 767px) {
    #footer .footerTab ul {
        justify-content: center;
    }
}

#footer .footerTab ul li {
    all: unset;
}

/* ---------------------------------------------.innerfooter -------------------------------------------- */

.innerfooter {
    font-size: 1rem;
}

.innerfooter ul {
    padding: 0;
}

.innerfooter li {
    display: inline-block;
}

.innerfooter a {
    color: #454545;
    padding: 24px 0px;
    text-decoration: none;
    font-weight: 500;
}

.innerfooter a:hover,
.innerfooter a:focus {
    text-decoration: underline;
    color: #cc0000;
}

.innerfooter li+li::before {
    content: "|";
    margin: 0 15px;
}

@media (min-width: 1200px) {
    .innerfooter li+li::before {
        margin: 0 35px;
    }
}

@media (max-width: 767px) {
    .innerfooter li {
        display: block;
        text-align: center;
        padding: 5px;
        margin: 0;
    }

    .innerfooter li+li::before {
        display: none;
    }
}