:root {
    --timeline-h: 6vh;
}
* {
    color: var(--text-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.MENU .header {
    /*	background: blue;*/
    border-bottom: 1px dashed;
}
.header {
    position: fixed;
    background: var(--bg-color);
    /*    border-bottom: 1px dashed;*/
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    height: var(--header-height);
    padding: 0.5em;
}
.vis-time-axis.vis-foreground {
    display: none;
}
.bar-child {
    margin: auto;
    position: relative;
    bottom: -0.09vw;
    letter-spacing: 0.01em;
    /*	text-transform: uppercase;*/
}
.MENU .footer {
    background: var(--bg-color);
    height: fit-content;
}
.footer {
    position: fixed;
    bottom: 0;
    background: var(--chapter-color);
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    height: var(--header-height);
    z-index: 30;
    /*    padding: 0.5em;*/
}

.footer *:not(.footer .start-button, .vis-item-content){
    color: var(--chapter-text-color);
}

.footer .pov-info,
.header .pov-info {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.footer .guides {
    font-size: 0.8em;
}

.footer .guides .button {
    border: 1px solid;
    padding: 0.1em 0.4em 0.1em 0.4em;
    font-size: 1.1em;
    border-radius: 3px;
    line-height: 1em;
}

.menu-buttons.menu-show.interface-show-hide {
    align-items: center;
}

.menu-interface,
.pov-interface {
    position: fixed;
    left: 0;
    top: var(--header-height);
}

.menu-interface {
    width: calc(100% + var(--side-m-w));
    height: calc(100% - (var(--header-height) + 12vh));
    transition: 0.5s transform;
    display: flex;
}

.pov-interface {
    width: calc(100%);
    height: calc(100% - (var(--header-height) * 2));
}

.menu-section {
    background: var(--bg-color);
}

.about-text {
    margin-top: 1em;
    margin-bottom: 1em;
}

.open-menu .menu-interface {
    transform: translateX(calc(var(--side-m-w) * -1));
}
.open-about .menu-interface {
    transform: translateX(0vw);
}

.credits-text {
    row-gap: 1em;
    display: grid;
    font-size: 0.85em;
}

.menu-buttons {
    display: flex;
    width: 100%;
    justify-content: space-between;
}
.menu-buttons.menu-show.interface-show-hide {
    align-items: center;
}

.main-menu {
    right: 0;
}
.about-menu {
    left: 0;
}

.main-menu,
.about-menu {
    height: 100%;
    overflow-y: scroll;
    padding: 0em 0.5em 30vh 0.5em;
    width: var(--side-m-w);
    position: relative;
    row-gap: 1em;
    display: grid;
}

.map {
    height: 100%;
    width: calc(100vw - var(--side-m-w));
    position: relative;
    background: black;
}
.map .main-menu {
    display: grid !important;
}
.map #map-image {
    display: block;
}

.pov-map {
    width: 100%;
    height: 100%;
    position: relative;
}
.map img,
.pov-map img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.map canvas {
    transition: opacity var(--blink-transition);
    opacity: 1;
}
.map canvas.blink {
    opacity: 0;
}

.about-menu .about-text {
    row-gap: 0.5em;
    display: grid;
}

.about-menu p {
    margin: 0;
    line-height: 1.35em;
}
.credits-text strong, .about-text strong {
    font-family: "Diatype";
    font-weight: normal;
    text-transform: uppercase;
    font-size: 1.2em;
}

.filters .title {
    width: 100%;
}
.filter {
    height: fit-content;
    white-space: nowrap;
    cursor: pointer;
    color: red;
}
.filter:hover {
    background: red;
    color: black;
}
.chapterFilters,
.tagFilters {
    display: flex;
    flex-wrap: wrap;
}

.day-title {
    /*	text-transform: uppercase;*/
    font-size: 1.3em;
}

.chapter-title {
    /* text-transform: uppercase; */
    font-size: 1.1em;
    font-weight: bold;
    margin-bottom: 10px;
}

.start-chapter {
    background: var(--bg-color);
    border: 1px solid white;
    text-transform: uppercase;
    font-size: 1.1em;
    padding: 1em;
    cursor: pointer;
}
.start-chapter:hover {
    background: white;
    color: black;
}

.days-menu {
    /*	row-gap: 0.5em;*/
    display: grid;
    height: fit-content;
}

.timeline {
    width: 100%;
    display: grid;
    position: fixed;
    left: 0;
    height: var(--header-height);
    bottom: 0;
    grid-template-columns: 1fr 1fr 1fr 1fr;
}
.main-timeline-cont {
    width: 100%;
    height: 100%;
}
.timeline-main {
    width: 100%;
    height: 12vh;
    display: flex;
    position: fixed;
    /* flex-direction: column; */
    /* row-gap: 0.5em; */
    background: black;
    bottom: 0;
    /*    flex-direction: column;*/
    /*    row-gap: 0.5em;*/
}
.timeline-tabs {
    display: flex;
    justify-content: space-evenly;
}
.timeline-segments.segment-day {
    /*	width: calc(100% - 1em);*/
    position: absolute;
    height: var(--header-height);
    display: flex;
    align-items: center;
    border-top: 1px dashed;
}

/*.timeline-image:hover{
	border: 1px solid red !important;
}*/

.vis-item {
    cursor: pointer !important;
}

.vis-item:not(.vis-range),
.vis-item-overflow,
.vis-item-content {
    /* display: flex; */
    /* align-items: center; */
    /* justify-content: center; */
    margin: 0px;
    padding: 0px;
    /*     height: 300%; */
    /* width: 200px; */
    height: var(--timeline-h);
    border: 0px;
}

.vis-item.timelinechapter {
    height: 20px;
    top: 0.3em !important;
    padding-left: 0.5em;
    padding-right: 0.5em;
    /*    background-color: red;*/
}

.vis-item .vis-item-content {
    padding: 0px;
}
.vis-timeline * {
    font-size: 0.97em !important;
}
.chapters-overview {
    row-gap: 0.5em;
    display: grid;
    padding: 0.5em;
    border: 1px dashed;
}

.vis-item.timelinechapter .vis-item-overflow {
    align-items: center;
    border-radius: 0px;
}
.vis-item img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    max-height: var(--timeline-h);
    filter: grayscale(1);
}

.vis-item.vis-range.vis-readonly .vis-item-overflow .vis-item-content {
    max-height: var(--timeline-h);
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.timelinechapter .vis-item-overflow {
    /*background-color: var(--chapter-color);
    border-color: var(--chapter-color);*/
    border-radius: 0px;
}

.vis-item {
    color: white;
    background-color: black;
    border-color: var(--chapter-color);
}

.vis-foreground .vis-item.vis-range:not(.vis-item.timelinechapter) {
    top: 2em !important;
}

/*.vis-item.vis-range {
    border-radius: 5px

 }

 .vis-item.vis-box {
    border-radius: 5px

 }*/

.vis-background {
    /* display: none; */
    /* border-color: red; */
}

.vis-time-axis .vis-grid.vis-minor {
    /* border-width: 0px; */
    display: none;
}

.vis-item-content {
    color: white;
}

.vis-panel {
    max-height: 15vh !important;
    border: none !important;
}
.vis-item.vis-dot {
    /*  display: none;*/
}
/*.vis-item.vis-line{
	border-left-style: solid;
    border-left-width: 1px;
    padding: 0;
    position: absolute;
    width: 0;
}*/

.vis-item {
    border-width: 0px;
    overflow: hidden;
    /*	border-radius: 0px !important;*/
}
.vis-timeline.vis-bottom.vis-ltr {
    border-top: 1px dashed white !important;
    border-left: none !important;
    border-right: none !important;
    border-bottom: none !important;
}

/*.vis-item.vis-range .vis-item-overflow .vis-item-content:not(.timelinechapter .vis-item-content){
	display: flex;
    align-items: center;
    justify-content: center;
}*/

.vis-item.vis-selected {
    background-color: transparent;
    color: white;
}

.vis-selected > .vis-item-content {
    color: black;
}
.menu-button {
    text-transform: capitalize;
    cursor: pointer;
}

.timeline-cont {
    width: 75%;
    position: absolute !important;

    /*	height: 3vh !important;*/
}

.start-button {
    position: absolute;
    width: 25%;
    right: 0;
    /*background: white;
	color: black;*/
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: center;
    border-left: 1px solid;
    border-top: 1px solid;
    text-transform: uppercase;
    font-family: 'Diatype';
    font-size: 1.7vw;
    cursor: pointer;
    letter-spacing: 0.01em;
}

.start-button:hover {
    background: white;
    color: black;
}

.vis-overlay {
    display: none !important;
}

/*.timeline-cont{
	display: none;
}
.timeline-cont.visible-timeline{
	display: block;
}*/
