html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
    --bottm-height: 50px;
}

.mainFrame { 
	width: 100dvw;
    height: 100dvh;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow: hidden;
	display: flex;
    flex-direction: row;
	position: relative;
}

.playerFrame {
    flex: 0 0 85%;
    height: 100%;
	/*left: 15%;
	width: calc(100% - 200px); */
	right: 0;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
	display: flex;
    flex-direction: column;
    justify-content: flex-start;
	position: absolute;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.5s ease;
    transition: height 0.5s ease;
	transition: width 0.3s ease;
    z-index: 1;
	
}

    .playerFrame.show {
        opacity: 1;
    }

    /* .playerFrame.withBottom {
        height: calc(100% - var(--bottm-height));
    } */

.overlayFrame {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    position: absolute;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 2;
    pointer-events: none;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}


/* @media only screen and (max-width: 800px) {
    /* Desktop-Stile erzwingen 
    body {
        width: 1024px;
        zoom: 1;
    }
}
 */
	.overlayFrame.show {
        opacity: 1;
		display: block;
    }

.hideFrame{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: none; 
  z-index: 10;
  background-size: cover;       
  background-position: center;
  background-repeat: no-repeat;
  align-items: center;         
  justify-content: center;      
  flex-direction: column; 
}

.hideFrame.show {
  display: flex;
}

.resumeButton {
  padding: 10px 20px;
  font-size: 16px;
  background-color: #28a745;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  margin-bottom: 20px;
  display: none;
}

.progress-container {
	position: absolute;
	border-radius: 50%;
	background-color: rgba(49, 51, 59, 1);
	display: flex;
    align-items: center;
    justify-content: center;
	height:50%;
}

.progress-bar {
  height: 100%;
  width: 0%;
  background-color: #28a745;
  transition: width 0.3s ease;
}

.bottomFrame {
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    overflow: hidden;
    transition: height 0.5s ease;
    background-color: rgba(49, 51, 59, 1);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
    z-index: 3;
    display: flex;
    flex-flow: row;
    border-top: 2px solid rgba(148, 193, 30, 0.75);
}

    .bottomFrame * button {
        height: 100%;
        background-color: transparent;
        border: 0;
        font-size: 30px;
        color: antiquewhite;
    }

.bottomFrame .leftActions 
{
    margin-left: 30px;
}
    .bottomFrame .timerFrame {
        display: flex;
        align-items: center;
        margin-left: 5px;
        font-size: 24px;
    }
    .bottomFrame .timerFrame .time {
        font-size: 24px;
        color: antiquewhite;
    }
    .bottomFrame .rightActions {
        margin-left: auto;
        margin-right: 30px;
    }
	
	@media all and (max-width: 1024px) {
  .bottomFrame button.fullscreen > i {
    padding: 1rem;
	background-color : rgba(0, 0, 0, 0.15);
  }
}

@media all and (max-width: 1024px) {
  .bottomFrame button.stopButton > i {
    padding: 1rem;
	background-color : rgba(0, 0, 0, 0.15);
  }
}


.centerFrame {
    height: 25%;
    /*width: 20%; */
    aspect-ratio: 1 / 1; 
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.25s ease;
    background-color: rgba(49, 51, 59, 1);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 3;
    pointer-events: none;
    color: antiquewhite;
}

    .centerFrame.show {
        opacity: 1;
    }

    .centerFrame .topic {
        height: 25%;
        background-color: rgba(255, 255, 255, 0.1);
        display: flex;
        border-bottom: 2px solid rgba(148, 193, 30, 0.75);
        font-weight: normal;
        font-size: 1rem;
        text-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
        color: rgba(255, 255, 255, 0.9);
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 5px;
        box-sizing: border-box;
        pointer-events: none;
    }

     .startButton {
        pointer-events: auto;
        aspect-ratio: 1 / 1;
        border: 0;
        background-color: rgba(49, 51, 59, 1);
    }

         .startButton .material-icons {
            color: rgba(148, 193, 30, 0.75);
           /* font-size: 8rem; */
        }

        .centerFrame .buttonFrame {
            height: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .centerFrame .buttonFrame button {
            aspect-ratio: 1 / 1;
            width: 2rem;
            pointer-events: auto;
            background-color: transparent;
            display: flex;
            justify-content: center;
            align-items: center;
        }

    .loadingImage {
        height: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        pointer-events: none;
    }

        .loadingImage img {
            max-height: 100%;
            max-width: 100%;
            object-fit: cover;
            aspect-ratio: 1/1;
        }

    .centerFrame .bottom {
        height: 30%;
        background-color: rgba(255, 255, 255, 0.1);
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        font-weight: normal;
        font-size: 1rem;
        text-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
        color: rgba(255, 255, 255, 0.9);
        padding: 8px;  
        box-sizing: border-box;
        pointer-events: none;
    }

#vagonFrame {
    width: 100%;
    height: 100%;
    border: none;
	flex: 1 1 auto;
}


.configuratorImageBox {
    flex-shrink: 0;
    height: 100%;
    position: relative;
    background-color: #111;
    overflow: hidden;
	width: 100%;
}

.configuratorImageBox .view.active {
    display: block;
	position: absolute;
}

.combinationImage {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.viewArrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
  /*  color: #f9f7f7;  */
    cursor: pointer;
	padding: 10px;
}
.viewArrow-left {
    left: 30px;
}
.viewArrow-right {
    right: 10px;
}

.arrow-icon {
    width: 80px;
    height: 80px;
    display: block;
}

.arrow-border {
    stroke: #4f4f4f;
    stroke-width: 4; 
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.arrow-fill {
    stroke: white;
    stroke-width: 3;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.viewDots {
    position: absolute;
    bottom: 70px;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 5;
	left: 50%;
    transform: translateX(-50%);
}
.viewDot {
    width: 23px;
    height: 23px;
    border-radius: 50%;
    background: rgba(90,85,85,0.5);
    cursor: pointer;
	box-shadow: 0 0 1px 2px rgba(255, 255, 255, 0.5) inset, 0 0 5px rgba(0, 0, 0, 0.25);
    border: 3px solid #4f4f4f;
}
.viewDot.active {
    background: #edebee;
}

.button-list {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 6;
    background: rgba(0, 0, 0, 0.6);
    border: none;
    color: white;
    padding: 8px;
    cursor: pointer;
    border-radius: 4px;
    font-size: 20px;
    display: none;
	/* display: flex; */
    align-items: center;
}
.button-list i {
    font-size: 24px;
}

.modalOverlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999;
}
.modalContent {
    background: white;
    color: black;
    padding: 20px;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
	height: 60%;
    text-align: center;
    position: relative;
	top: 15%;
    left: 35%;
	overflow: auto;
}
.modalContent h2 {
    margin-top: 0;
}
.modalClose {
    position: absolute;
    top: 8px;
    right: 12px;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
}

.articlePanel {
    /*flex: 0 0 15%;*/
	transition: transform 0.3s ease;
	width: 250px;
    background: #ffffff;
    color: #000000;
    padding: 10px;
	padding-left: 15px;
    box-sizing: border-box;
    overflow-y: auto;
    border-left: 2px solid rgba(148, 193, 30, 0.75);
    font-family: sans-serif;
	box-shadow: 2px 0 5px rgba(0,0,0,0.1);
	z-index: 1;
}

/* @media (max-width:1299px){           
    .articlePanel{flex-basis:150px; width:150px;}
}*/

.articlePanel.hidden {
    transform: translateX(-100%);
    box-shadow: none;
	flex-basis:0 !important;
}
.articleToggleBtn {
    position: absolute;
    top: 10px;
    left: 185px;
    z-index: 2;
    background: #a9a4a4;
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 4px;
    font-size: 25px;
	transition: left 0.3s ease;
	/* display: none; */
}

.articleHeader{
    font-size: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px;
	font-weight: bold;
	position: sticky;
}

.articleClose {
    background: transparent;
    border: none;
    font-size: 20px;
    color: white;
    cursor: pointer;
}

.articleListWrapper {
    flex: 1;
    overflow-y: auto;
}


.articleList {
    padding: 0;
    margin: 0;
    list-style: none;
    font-size: 14px;
}

.articleItem {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border-bottom: 1px solid #eee;
    padding: 10px 0;
    cursor: pointer;
    transition: background 0.2s ease;
	overflow: hidden;
    flex-wrap: nowrap;
}
.articleItem:hover {
    background: #f9f9f9;
}
.articleItem img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.articleIcon {
    width: 40px;
    height: 40px;
    background: #e0e0e0;
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    color: #444;
    flex-shrink: 0;
	display: none;
}

.articleItemText {
    flex-grow: 1;
    min-width: 0;
    font-size: 12px;
    color: #333;
    overflow-wrap: break-word;
}

.articleItemType {
    font-weight: bold;
    display: block;
}

.articleItemInfo {
    color: #fbf4f4;
	background: #7975757a;
    font-size: 14px;
    font-weight: bold;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    text-align: center;
    line-height: 20px;
    cursor: pointer;
    user-select: none;
    display: inline-block;
    flex-shrink: 0;
    margin-left: auto;
}
.articleDetail {
    margin-top: 6px;
    padding: 8px;
    background: #f3f3f3;
    font-size: 12px;
    color: #222;
    border-left: 3px solid #7975757a;
    display: none;
}
