/* style.css */
.overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050; /* Über Bootstrap Modal */
}

.connection-dot {
    position: fixed;
    top: 10px; right: 10px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: none;
}

/* Standardfarbe des Dots ist rot, wird durch JS geändert */
.connection-dot.red {
    background-color: red;
}

.connection-dot.green {
    background-color: green;
}
@keyframes animate {
    0%{
        transform: translateY(0) rotate(0deg);
        opacity: 1;
        border-radius: 0;
    }
    100%{
        transform: translateY(-1000px) rotate(720deg);
        opacity: 0;
        border-radius: 50%;
    }
}
body{
    background: linear-gradient(135deg, rgba(238, 238, 238, 1) 0%, rgba(204, 204, 204, 1) 100%);
    color: #1d6b88;
}
.background {
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    /*background: url("/assets/img/bg.svg");*/
    background: #dce4ea;
    z-index: 0;
}
.background li {
    position: absolute;
    display: block;
    list-style: none;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.2);
    animation: animate 44s linear infinite;
}




.background li:nth-child(0) {
    left: 69%;
    width: 148px;
    height: 148px;
    bottom: -148px;
    animation-delay: 1s;
}
.background li:nth-child(1) {
    left: 7%;
    width: 120px;
    height: 120px;
    bottom: -120px;
    animation-delay: 3s;
}
.background li:nth-child(2) {
    left: 66%;
    width: 151px;
    height: 151px;
    bottom: -151px;
    animation-delay: 5s;
}
.background li:nth-child(3) {
    left: 87%;
    width: 103px;
    height: 103px;
    bottom: -103px;
    animation-delay: 4s;
}
.background li:nth-child(4) {
    left: 34%;
    width: 142px;
    height: 142px;
    bottom: -142px;
    animation-delay: 2s;
}
.background li:nth-child(5) {
    left: 44%;
    width: 127px;
    height: 127px;
    bottom: -127px;
    animation-delay: 7s;
}
.background li:nth-child(6) {
    left: 47%;
    width: 102px;
    height: 102px;
    bottom: -102px;
    animation-delay: 8s;
}
.background li:nth-child(7) {
    left: 67%;
    width: 107px;
    height: 107px;
    bottom: -107px;
    animation-delay: 23s;
}
.background li:nth-child(8) {
    left: 56%;
    width: 155px;
    height: 155px;
    bottom: -155px;
    animation-delay: 1s;
}
.background li:nth-child(9) {
    left: 36%;
    width: 102px;
    height: 102px;
    bottom: -102px;
    animation-delay: 3s;
}
.esd-background{
    position: fixed;
    z-index: 1;
}
.headtitle{
    font-size: 2rem;
    line-height: 2rem;
    color: #9b1006;
    font-style: italic;
    font-weight: bold;
}
.dashcard {
    border-radius: 4px;
    box-shadow: 0px 2px 1px -1px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 1px 3px 0px rgba(0, 0, 0, 0.12);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.5) 0%, rgba(241, 241, 241, 0.5) 50%, rgba(246, 246, 246, 0.5) 100%);
}
.prozent, .number, .dashicon {
    font-size: 9.5vh;
}
span.direction {
    display: none;
    position: absolute;
}
span.direction i {
    position: relative;
    top: -5rem;
    left: 18rem;
    font-size: 2rem;
    background: #150080;
    color: #fff;
    min-width: 3rem;
    display: inline-block;
    border-radius: 10rem;
}
.titlecardwrp {
    position: absolute;
}

.titlecardwrp .titlecard {
    position: relative;
    top: -7.7em;
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(241, 241, 241, 1) 50%, rgba(246, 246, 246, 1) 100%);
    color: #333;
    font-weight: bold;
    padding: 0.4rem 0.7rem;
    box-shadow: 0px 2px 1px -1px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 1px 3px 0px rgba(0, 0, 0, 0.12);
    left: -0.4em;
}

.titlecardbs {
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(241, 241, 241, 1) 50%, rgba(246, 246, 246, 1) 100%);
    color: #9c1006;
    font-weight: bold;
    padding: 0.4rem 0.7rem;
    box-shadow: 0px 2px 1px -1px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 1px 3px 0px rgba(0, 0, 0, 0.12);
    left: -0.4em;
    border-radius: 0;
    font-size: 1.5vh;
}
.esdcenter{
        justify-content: center;
}
.translate-middle {
    transform: translate(-50%, -65%) !important;
}
.direction.up i {
    background: #00a700;
}
.direction.down i {
    background: #ff0000;
}
.changepointer{
    display: inline !important;
}
.indexfild .number, .indexfild .euro, .indexfild {
    font-size: 4.5vh;
}
.titleesd {
    font-size: 5vh;
    text-decoration: underline;
    color: #9c1006;
}
.lowcolor {
    color: #595959;
    text-decoration: none;
    font-size: 5.5vh;
}
i.bi {
    color: #575353;
}
.transparentdash{
    background: transparent !important;
    box-shadow: none !important;
}
#offenkomscheine {
    font-size: 12vh;
    color: #fff;
    background: #9c1006;
}
#offenkomscheine  .fa-hand-holding{
    font-size: 19vh;
}
img.logoicon {
    display: initial;
    width: 13vh;
}
.leftspaceicon {
    padding-left: 3vw;
    font-size: 8vh;
}
.arrownumbers {
    position: absolute;
    display: inline-block;
}
.arrownumbers i {
    position: absolute;
    top: -1.0rem;
    font-size: 0.5em;
    margin-left: -0.8em;
}
.arrownumbers.up i{
    color: green;
}
.arrownumbers.down i{
    color: #9c1006;
}
span.deliverdown i {
    -webkit-transform: scaleX(-1) rotate(270deg);
    -moz-transform: scaleX(-1) rotate(270deg);
    -ms-transform: scaleX(-1) rotate(270deg);
    -o-transform: scaleX(-1) rotate(270deg);
    transform: scaleX(-1) rotate(270deg);
    color: #019b01;
}
span.deliverup i {
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    transform: rotate(90deg);
    scaleX: -1;
    color: #9c1006;
}
.col-12.h-25.indexfild.bhead {
    background: #4472c4;
    color: #fff;
    padding: 0.1em;
}
#topartikelgruppen div{
    font-size: 3vh;
    padding: 0.3em;
    padding-left: 1em;
}

#topartikelgruppen div:nth-child(odd) {
    background: #cfd5ea;
    color:#000;
}

#topartikelgruppen div:nth-child(even) {
    background: #e9ebf5;
    color:#000;
}
/* Verbesserte Stile für die Länderliste mit Auto-Scrolling */
.countries-container {
    height: 100%;
    padding: 0;
    display: flex;
    flex-direction: column;
    position: relative;
}

.countries-title, .topartw {
    font-size: 3vh;
    background-color: #4472c4;
    color: #fff;
    padding: 0.3em 0.5em;
    text-align: center;
    border-radius: 4px 4px 0 0;
    position: sticky;
    top: 0;
    z-index: 10;
}

.countries-list {
    height: calc(100% - 4vh);
    position: relative;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 0 0 4px 4px;
    display: flex;
    flex-direction: column;
}

/* Anzeige von 5 Ländern gleichzeitig im Viewport */
.countries-viewport {
    height: 100%;
    overflow: hidden;
    position: relative;
}

/* Der tatsächliche scrollende Container */
.countries-scroll-container {
    position: absolute;
    width: 100%;
    transform: translateY(0%);
    transition: transform 0.5s ease-out;
}

.country-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8em 1em;
    font-size: 2.8vh;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    height: 20%; /* Jede Zeile nimmt 1/5 der Viewport-Höhe ein */
    transition: background-color 0.3s;
}

.country-row-odd {
    background-color: #cfd5ea;
    color:#000;
}

.country-row-even {
    background-color: #e9ebf5;
    color:#000;
}

.country-row.updated {
    animation: highlight-country 2s;
}

@keyframes highlight-country {
    0% { background-color: rgba(156, 16, 6, 0.4); }
    100% { }
}

.country-name {
    font-weight: normal;
}

.country-percent {
    padding-left: 1em;
}

/* Verbesserte Stile für die Länderliste mit sanftem Scrolling */
.countries-container {
    height: 100%;
    padding: 0;
    display: flex;
    flex-direction: column;
    position: relative;
}

.countries-title, .topartw {
    font-size: 3vh;
    background-color: #4472c4;
    color: #fff;
    padding: 0.3em 0.5em;
    text-align: center;
    border-radius: 4px 4px 0 0;
    position: sticky;
    top: 0;
    z-index: 10;
}

/* Hauptcontainer für die Länderliste */
.countries-list {
    height: calc(100% - 4vh);
    position: relative;
    overflow: hidden;
    background-color: transparent;
    border-radius: 0 0 4px 4px;
}

/* Kontinuierliche Animation für sanftes Scrolling */
@keyframes scrollCountries {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-100%);
    }
}

.countries-scroll-container {
    position: absolute;
    width: 100%;
    animation: scrollCountries 50s linear infinite;
    animation-play-state: running;
}

.countries-list:hover .countries-scroll-container {
    /*animation-play-state: paused;*/
}

.country-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4em 1em;
    font-size: 2.8vh;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: background-color 0.3s;
}

.country-row-odd {
    background-color: #cfd5ea;
    color:#000;
}

.country-row-even {
    background-color: #e9ebf5;
    color:#000;
}

.country-row.updated {
    animation: highlight-country 2s;
}

@keyframes highlight-country {
    0% { background-color: rgba(156, 16, 6, 0.4); }
    100% { }
}

.country-name {
    font-weight: normal;
}

.country-percent {
    padding-left: 1em;
}

/* Pause-Button für Animation */
.countries-controls {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 15;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.countries-list:hover .countries-controls {
    opacity: 0.8;
}

.countries-controls button {
    background: rgba(68, 114, 196, 0.7);
    color: white;
    border: none;
    border-radius: 4px;
    width: 30px;
    height: 30px;
    font-size: 16px;
    margin: 3px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.countries-controls button:hover {
    background: rgba(68, 114, 196, 1);
}

/* Von oben nach unten Farbverlauf für sanftes Ein-/Ausblenden */
.countries-list::before,
.countries-list::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 25px;
    z-index: 5;
    pointer-events: none;
}

.countries-list::before {
    top: 0;
    background: linear-gradient(to bottom,
    rgba(255, 255, 255, 0.5) 0%,
    rgba(255, 255, 255, 0) 100%);
}

.countries-list::after {
    bottom: 0;
    background: linear-gradient(to top,
    rgba(255, 255, 255, 0.5) 0%,
    rgba(255, 255, 255, 0) 100%);
}
button.btn-pause {
    display: none;
}