#map {
    position: absolute;
    left: 0;
    width: 100%;
    height: calc(100vh - 125px);
    z-index: 1;
}

#narration {
    position: absolute;
    width: 30%;
    min-width: 300px;
    right: 0;
    height: calc(100vh - 125px);
    overflow: auto;
    z-index: 99;
    background: rgba(254, 254, 254, 1.0); /* to apply opacity background only. */
}

#contents {
    padding: 0%;
    width: 100%;
    margin-top: 0; /*Adjust if Title header needs more space */
    height: 100%; /* Adjust to fit max Description length, one setting for all; alternative is 100% */
    overflow-y: scroll;
    overflow-x: hidden;
}

#contents .space-at-the-top {
    height: 30px;
    margin: 0;
}

#contents .space-at-the-bottom {
    height: 130px;
    margin: 0;
    text-align: center;
    padding-top: 200px;
}

#chapter {
    position: absolute;
    z-index: 999;
    margin: 10px;
    display: block;
    text-align: center;
    color: #fff;
}

#title {
    position: absolute;
    right: 0;
    top: 0;
    background-color: white;
    width: 30%;
    min-width: 300px;
    z-index: 100;
    margin: 0;
    padding: 0;
}

h3 {
    margin-bottom: 0;
}

.image-container {
    /* margin + padding = imageContainerMargin in script.js */
    /* Important for scrolling! */
    margin: 50px 0 0 0;
    padding: 20px 0 0 0;
    text-align: center;
}

.image-container img {
    height: auto;
    width: auto;
    max-height: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.img-holder {
    margin: 0;
    height: 200px;
    max-height: 200px;
    width: 100%;
}

.title-text {
    font-weight: bold;
    text-align: center;
    margin: 10px;
}

.chapter-header {
    display: block;
    text-align: center;
    font-size: 120%;
}

.source {
    font-size: 9pt;
    margin: 20px;
}

.description {
    margin: 20px;
    text-align: left;
    font-size: 11pt;
    padding: 20px;
}

.inFocus {
    opacity: 1.0;
    background-color: #f0f0f0;
}

.outFocus {
    opacity: 0.3;
    background-color: white;
}

@media only screen and (max-device-width: 480px) {
    ::-webkit-scrollbar {
        display: none;
    }

    #map {
        width: 100vw;
    }

    #title {
        width: 80%;
        left: 10%;
        min-width: 0;
    }

    #narration {
        width: 80%;
        min-width: 0;
        left: 10%;
        background: none;
        opacity: 0.8;
    }

    .description {
        padding: 0;
        padding-bottom: 10px;
    }

    .leaflet-control-container {
        display: none;
    }
}