.timelineControls {
    font-size: 12px;
    line-height: 14px;
    padding: 6px 10px;
    white-space: nowrap;
    flex-shrink: 0;
}
.timelinePlaying {
    pointer-events: none;
}
#gameWindow.mapTimeline.gamePaused #pauseMapTimeline {
    display: none !important;
}
#gameWindow.mapTimeline.gamePaused #resumeMapTimeline {
    display: block;
}
#procedurePanel {
    height: calc(100% - 70px);
    padding: 0 10px;
    text-align: center;
    font-size: 16px;
    font-weight: normal;
    text-transform: none;
    display: none;
    overflow: hidden;
}

#procedurePanel[style*='display: block'] {
    display: flex !important;
}
#procedureName {
    margin: 5px 10px 10px;
    font-weight: bold;
    font-size: 18px;
    flex-shrink: 0;
}
#procedureStepDescription {
    text-align: left;
    flex: 1 1 0;
    padding: 0 10px;
    max-height: 35vh;
    overflow-y: auto;
    min-height: 60px;
}
#procedureCautionsName {
    margin: 10px 0 0;
    padding: 0 10px;
    text-align: left;
    max-height: 15vh;
    overflow-y: auto;
    flex-shrink: 0;
}
#procedureCautionsName > span {
    font-weight: bold;
    font-size: 20px;
    font-family: "Big Shoulders", sans-serif;
}

#procedureStepCautions {
    font-weight: normal;
    font-size: 14px;
    padding-top: 5px;
}

#procedureSteps {
    font-weight: bold;
    margin: 5px 0;
    line-height: 25px;
    flex-shrink: 0;
}
#procedureImg {
    aspect-ratio: 3 / 2;
    width: 100%;
    max-height: 30%;
    margin: 10px auto;
    cursor: pointer;
    flex-shrink: 0;
}

#procedureImg .clickableImg {
    pointer-events: none;
}

#procedureImgMap {
    border: 1px solid var(--text-color);
    border-radius: 4px;
}
#timelineBack.disabled, #timelineForward.disabled {
    background-color: rgba(255, 255, 255, 0.2);
    pointer-events: none;
}
#closeTimelineBtn {
    font-size: 1.5em;
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    line-height: 36px;
    color: var(--text-color);
    cursor: pointer;
}
#timelineButtons {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    min-height: 40px;
    margin-bottom: 10px;
    justify-content: center;
    flex-shrink: 0;
}
#timelineButtons.showTimelineControls {
    bottom: 10px;
}

#gameWindow.gamePaused #webContainer {
    filter: saturate(0) brightness(0.5);
}

#bigPause {
    position: absolute;
    z-index: 999;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    display:flex;
    align-items: center;
    pointer-events: none;
    opacity: 0;
    transition: 0.5s opacity;
}
.pauseImg {
    background-image: url("../images/big_pause.png");
    height: 50px;
    width: 50px;
    display: block;
    margin: 0 auto;
    background-size: 100%;
    background-position: center;
    animation: pulse 3s infinite;
}
@keyframes pulse {
    0% {
        transform: scale(0.9);
    }

    50% {
        transform: scale(1);
    }

    100% {
        transform: scale(0.9);
    }
}
#gameWindow.gamePaused #bigPause {
    opacity: 1;
    z-index: 2;
    pointer-events: all;
}
