body, html {
    margin: 0;
    padding: 0;
    height: 100vh;
    overflow: hidden;
    font-family: Arial, sans-serif;
    font-size: large;
    background-color: #f2f2f2;
    font-family: "Titillium Web", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.container {
    display: flex;
    height: 97vh;
}

#infoline {
    align-self: center;
    text-align: center;
    flex:40%;
}
#myClock {
    align-self: center;
    text-align: center;
    flex:15%;
}

.topicon {
    height: 32px;;
    vertical-align: text-bottom;
  }

h3 {
    /* margin-top:5px; */
    margin-bottom: 5px;
}

.list-overskrift {
    margin-top:0px;
    margin-bottom: 5px;
}

#countdown {
    padding:5px;
    margin:0;
    font-size: smaller;
    width: 100%;
    background-color: white;
}

#progressbarBg {
    padding: 0px;
    margin: 1px;
    color: transparent;
    background-color: lightgrey;
    width: 100%;
    height: 10px;
}

#progressbar {
    padding: 0px;
    margin: 0px;
    color: transparent;
    font-size: 8px;
    background-color: orange;
    height: 100%;
    width: 10%;
    animation: progress 10s linear;
}

@keyframes progress {
    from {width: 0;}
    to {width: 100%;}
}



#description {
    --content-height: 0;
    --container-height: 0;
    transform: translateY(min(calc(1 * (var(--content-height)) * 1px), 0px));
    animation: mymove 10s 1;
    animation-timing-function: ease-in-out;
}

@keyframes mymove {
    0% {transform: translateY(0);}
    100% {transform: translateY(min(calc(1 * (var(--content-height)) * 1px), 0px));}   
}

#descrbox {
    overflow: hidden;
    position: relative;
}

.eventimage {
    min-height:5vh;
    max-height:10vh;
    margin-top: 4px;
    margin-bottom:0px;
    padding:0px;
}

#event-list {
    font-size: larger;
    width: 27vw;
    height: 94vh;
    overflow-y:scroll;
    background-color: #dba42b;
}
#event-list::-webkit-scrollbar {
    width: 1.5vw;
  }
  
  #event-list::-webkit-scrollbar-track {
    background-color: #dba42b;
  }
  
  #event-list::-webkit-scrollbar-thumb {
    background-color: #ffb413;
    border-radius: 0px;
    border: 0px solid transparent;
    background-clip: content-box;
  }
  
#event-details {
    width: 73vw;
    height: 97vh;
    padding: 0 20px;
    font-size: x-large;
    white-space: pre-wrap;
    overflow-y: auto;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    opacity: 1;
    transition: opacity 1.0s ease-in-out;
}

#event-details.fade-out {
    opacity: 0;
}

.event-item {
    padding: 10px;
    cursor: pointer;
    font-family: "Titillium Web", sans-serif;
    font-weight: 400;
    font-style: normal;
    border-radius: 10px;
    margin: 8px;
    box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.19);
}

.event-item.old {
    color:grey;
}

.event-item.active {
    background-color: #2a7889;
    color:#ffb413;
}

/* Alternating background colors for inactive items */
.event-item:not(.active):nth-child(even) {
    background-color: #f2f2f2;
}

.event-item:not(.active):nth-child(odd) {
    background-color: #e5e5e5;
}

.event-item:not(.active).job-item:nth-child(even) {
    background-color: #f7ce77;
    color:#2a7889;
}
.event-item:not(.active).job-item:nth-child(odd) {
    background-color: #fcdc98;
    color:#2a7889;
}

#topline {
    /* position:absolute; */
    /* z-index: 2; */
    background-color: rgba(0.5, 0.5, 0.5, 0.7);
    color:white;
    width:100%;
    padding:20px;
    font-size: larger;
    height:3vh;
    font-family: "Titillium Web", sans-serif;
    font-weight: 700;
    font-style: normal;
    display: flex;
    flex-direction: row;
}

#qr-code {
    background-color: #fff;
    position: absolute;
    top: 20px;
    right: 10px;
    width: 150px; 
    height:165px;
    font-size:small;
    text-align: center;
    /* background-image: url('laiv_qr.png'); */
    background-size: cover;
    z-index: 1000;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}


#qrcode {
    position: absolute;
    bottom: 20px;
    right: 10px;
    width: 150px; 
    height:165px;
    font-size:medium;
    text-align: center;
    background-size: cover;
    z-index: 500;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
