.hide{
    display: none;
}

body {
    overflow: hidden;
    touch-action: none;
    background: var(--body);
    margin: 0px auto;
}

innerBody {
    position: relative;
    max-width: 1500px;
    overflow: hidden;
    background: var(--body);
    margin: 0px auto;
}

/* TITLE 1 */

#title1{
    transition-duration: .5s;
    position: absolute;
    bottom: 0%;
    left: 0%;
    height: 100vh;
    width: 100vw;
    z-index: 6;
    background-image: url(../images/title1.jpg);
    background-color: var(--body);
    background-position: center; 
    background-repeat: no-repeat;
    background-size: cover; 
}

@media (orientation: portrait) {
    #title1 {
        background-image: url(../images/title1_portrait.jpg);
    }
}

#title1 img{
    width: 100%;
    height: auto;
}

#titleCurtainContainer {
    transition-duration: .5s;
    position: absolute;
    width: 100%;
    height: 70%;
    bottom: 0%;
}

#titleCurtain {
    position: absolute;
    width: 100%;
    height: 100%;
    background: white;
    opacity: .5;
}

#titleTitle {    
    position: relative;
    margin-left: 10%;
    font-size: 7rem;
    margin-block-start: 5rem;
    margin-block-end: 0px;
    -webkit-margin-before: 5rem;
    -webkit-margin-after: 0px;
    color: var(--navigation-red);
}

#titleText {    
    position: relative;
    margin-left: 20%;
    font-size: 4rem;
    margin-block-start: 3rem;
    margin-block-end: 0px;
    -webkit-margin-before: 3rem;
    -webkit-margin-after: 0px;
    color: var(--navigation-red);
}

#titleCredits {
    position: relative;
    margin-left: 20%;
    font-size: 2rem;
    color: var(--navigation-red);
}

@media (max-width: 700px) {
    #titleCredits {
        display: none;
    }
}

.arrowContainer {
    position: absolute;
    width: 100%;
    height: calc(10vh - 10px);
    max-height: 70px;
    background: url(../images/arrow_bottom.png) no-repeat top center;
    background-size: contain;
    bottom: 10px;
    cursor: pointer;
}

/* TITLE 2 */

.languageSelectionContainer {
    position: absolute;
    top: 20px;
    right: 20px;
}

.languageSelection {
    font-size: 1.4rem;
    cursor: pointer;
}

.languageGrey {
    color: grey;
}

.languageWhite {
    color: var(--body);
}

.languageSelection:hover, .languageSelected {
    color: var(--navigation-red);
}

#title2Title {
    font-size: 3rem;
    line-height: 3rem;
    color: var(--bordeau-red);
}

#title2Text {
    font-size: 2rem;
    line-height: 3rem;
}

#title2 {
    transition-duration: .5s;
    position: absolute;
    bottom: 0%;
    left: 0px;
    height: 100%;
    width: 100%;
    background: var(--body);
    line-height: 100%;
}


#title2vertical {
    height: 500px;
    width: 100vw;
    max-height: 60vh;
    display: inline-block;
    position: absolute;
    top: 50%;
    transform: translate(0%, -50%);
}

#title2horizontal {
    position: relative;
    margin: auto;
    width: 70vw;
    height: 100%;
}

#title2TextContainer {
    position: relative;
    float: right;
    width: 47%;
    height: 100%;
}

#title2Image {
    position: relative;
    float: left;
    width: 50%;
    max-height: 100%;
    object-fit: contain;
}


@media (orientation: portrait) {
    #title2vertical {
        height: 80vh;
    }

    #title2TextContainer {
        float: left;
        width: 100%;
        height: 40%;
        margin-top: 5%;
    }

    #title2Image {
        width: 100%;
        height: 50%;
    }
}

/*******************************
// Add
*********************************/
.titleBox{
    background-size: cover;
    background-position: center;
    opacity: 0.7;
    border: solid black 2px;
}

.titleBox:hover{
    opacity: 1;
}

.titleBox1{
    position: absolute;
    top: calc(calc(100vh - var(--title-height)) / 2);
    left: calc(calc(100vw - var(--title-width)) / 2);
    width: calc(calc(var(--title-width) * var(--fill-factor)) / 2);
    height: calc(calc(var(--title-height) * var(--fill-factor)) / 3);
    background-image: url(../images/1_0_1.jpg);
}
.titleBox2{
    position: absolute;
    top: calc(50vh - calc(calc(calc(var(--title-height) * var(--fill-factor)) / 3) / 2));
    left: calc(calc(100vw - var(--title-width)) / 2);
    width: calc(calc(var(--title-width) * var(--fill-factor)) / 2);
    height: calc(calc(var(--title-height) * var(--fill-factor)) / 3);
    background-image: url(../images/2_0_1_1.png);
}
.titleBox3{
    position: absolute;
    bottom: calc(calc(100vh - var(--title-height)) / 2);
    left: calc(calc(100vw - var(--title-width)) / 2);
    width: calc(calc(var(--title-width) * var(--fill-factor)) / 2);
    height: calc(calc(var(--title-height) * var(--fill-factor)) / 3);
    background-image: url(../images/3_0_1.png);
}
.titleBox4{
    position: absolute;
    top: calc(calc(100vh - var(--title-height)) / 2);
    right: calc(calc(100vw - var(--title-width)) / 2);
    width: calc(var(--title-width) / 2);
    height: var(--title-height);
    background-image: url(../images/4_0_1_1.jpg);
}


@media (max-width: 800px), (orientation: portrait) {

    .titleBox{
	left: 5vw;
	width: 90vw;
	height: 20vh;
	opacity: 1;
    }

    .languageSelection2{
	display: none;
    }
    
    .titleBox1{
	top: 2.5vh;
    }
    .titleBox2{
	top: 27.5vh;
    }
    .titleBox3{
	top: 52.5vh;
    }
    .titleBox4{
	top: 77.5vh;
    }
}

.titleBoxLabel{
    text-align: center;
    color: var(--navigation-red);
    position: absolute;
}

.titleBoxLabelSmall{
    font-size: 1.8rem;
    top: -3.6rem;
}

.titleBoxLabelBig{
    top: -6rem;    
    font-size: 3rem;
}

/* HEADER CHAPTERS */

.header {
    position: absolute;
    top: 0px;
    width: 100%;
    height: 80px;
    line-height: 80px;
    z-index: 4;
}

.chapter {
    color: black;
    float: left;
    display: inline-block;
    vertical-align: middle;
    height: inherit;
    width: calc(25% - 1px);
    background: var(--chapters);
    text-align: center;
    border-right: solid 1px var(--body);
    line-height: 2rem;
    font-size: 1.6rem;
    font-family: sans-serif;
    cursor: pointer;
    position: relative;
}

.chapterSpan {
    position: absolute;
    top: 50%;
    left: 0%;
    transform: translate(0%, -50%);
    width: 90%;
    margin-left: 5%;
    margin-right: 5%;
    z-index: 1;
}

#chapterDropDown {
    display: none;
    width: 100%;
    height: 60px;
    background: var(--chapters);
    text-align: center;
    line-height: 60px;
}

.chapterCredit {
    display: none;
}

#chapterDropDownIcon {
    float: right;
    font-size: 1.5rem;
    height: inherit;
    color: black;
    width: 60px;
    height: 60px;
    cursor: pointer;
}

.chapterSelected {
    background: var(--bordeau-red);
    color: var(--body);
}

.chapter:hover {
    background: var(--bordeau-red);
    color: var(--body);
}

#content {
    transition-duration: .5s;
    position: absolute;
    bottom: -100%;
    left: 0%;
    height: 100% ;
    width: 100%;
    overflow: hidden;
}


#mapChapter {
    background-image: url(../images/map1.png);
    background-size: cover;
    background-position: center;
}


#mapChapterShade {
    position: relative;
    width: 100%;
    height: 100%;
    background: white;
    opacity: 0.3;
}

#mapChapterShade:hover {
    opacity: 0;
}

#mapChapter:hover {
    color: black;
}

/* FOOTER */

.footer {
    position: absolute;
    bottom: 0px;
    width: 100%;
    height: 80px;
    z-index: 4;
    border-top: solid 1px var(--navigation-red);
    background: var(--chapters);
}

.logo {
    object-fit: contain;
    max-height: 90%;
    width: auto;
    margin-left: 1vw;
    float: left; 
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
}

#logoBig {
    margin-top: 12px;
}

#logoSmall {
    margin-top: 5px;
}

.logo:hover {
  -webkit-filter: grayscale(0%); /* Safari 6.0 - 9.0 */
  filter: grayscale(0%);
}


#footerLinks{
    float: right;
    margin-right: 2%;
    line-height: calc(80px / 3);
    text-align: right;
}

.creditLink {
    color: var(--body);
    text-decoration: none;
    font-size: 1.4rem;
    cursor: pointer;
}

.creditLink:hover {
    text-decoration: underline;
}

/* SCROLLING CONTENT */

.outerContainer {
    position: absolute;
    transition-duration:.5s;
    width: 100%;
}

.leftContainer {
    position: relative;
    object-fit: contain;
    max-width: 100%;
    max-height: calc(90vh - 240px);
    z-index: 3;
    cursor: -moz-zoom-in; 
    cursor: -webkit-zoom-in; 
    cursor: zoom-in;
}

.dotContainer {
    position: relative;
    margin: auto;
    z-index: 3;
    width: fit-content;
    padding: 0px;
    margin-top: 10px;
}

.dotOuterContainer {
    line-height: 40px;
    cursor: pointer;
}

.nextContainer {
    display: inline-block;
    text-align: center;
    position: relative;
    padding-left: 4vh;
    padding-right: 4vh;
    width: calc(40% - 8vh);
    margin-top: 4vh;
}

.dot {
    height: 10px;
    width: 10px;
    border-radius: 5px;
    margin-left: 4px;
    margin-right: 4px;
    display: inline-block;
    border: solid .5px var(--navigation-red);
}

.blackdot {
    background: var(--navigation-red);
    color: var(--navigation-red);
    font-weight: bold;
}


.rightContainer {
    position: relative;
    width: 50%;
    margin-right: 5%; /*left: 5%;*/
    overflow-y: scroll;
    overflow-x: hidden;
    /*z-index: 3;*/
}

.imageClass {
    position: relative;
    margin: auto;
    max-height: calc(100vw - 400px);
    width: 80%;
}

.textClass {
    position: relative;
    width: 90%; 
    max-width: 650px;
    
/************************************
// TO ADD	
*************************************/
    max-height: 19rem;
    text-align: justify;
    margin: auto;
    color:#444;
    z-index: 3;
    cursor: pointer;
    font-size: 1.5rem;
    margin-block-start: 1.5rem;
    margin-block-end: 1.5rem;
    -webkit-margin-before: 1.5rem;
    -webkit-margin-after: 1.5rem;
    line-height: 2rem;
}



.textClassGradient {
    position: absolute;
    height: 100%;
    width: 200%;
    z-index: 1;
    background-image: linear-gradient(to right, var(--body) , var(--body-transp));
}

.fullTextClass {
    position: relative;
    height: calc(100% - 20px);
    text-align: justify;
    margin: auto;
    line-height: 1.6;
    font-size: 18px;
    color:#444;
    overflow-y: scroll;    
    padding: 10px;
}

.expoContainer {
    float: right; 
/************************************
// TO ADD	
*************************************/
    height: calc(100vh - 320px);
}

.imageContainer {
    left: 0px;  
    width: 30%;
}

/************************************
// TO ADD	
*************************************/
.numbers {
    display: contents;
    font-size: 1.2rem;
}
/*
h3 {
    margin-block-start: 1.5rem;
    margin-block-end: 1.5rem;
    line-height: 2.5rem;
}

.paragraphText {
    margin-block-start: 1.5rem;
    margin-block-end: 1.5rem;
    line-height: 2.5rem;
}
*/

/* MODAL BOX */

.modalSite {
    display: none;
    position: absolute;
    z-index: 10; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%;
    background-color: #ddd;
    opacity: .7;
    overflow: hidden;
}


#galleryContainer{
    display: none;
    position: absolute;
    left: 50vw;
    top: 50vh;
    transform: translate(-50%,-50%);
    height: 80vh;
    width: 60vw;
    z-index: 11;
}

@media (max-width: 1000px), (orientation: portrait) {
    #galleryContainer{
        width: 90vw;
        height: 90vh;
    }
}

.textGallery{
    display: block;
    line-height: 1.6;
    font-size: 18;
    text-align: justify;
    color: #444;
    background: #eee;
}

#closeModalSite {
    color: black;
    float: right;
    cursor: pointer;
    font-size: 28px;
    font-weight: bold;
    margin: calc(2vh - 20px) 5px;
}


/* horizontal button */

.horizontalButton {
    position: absolute;
    top: 0px;
    z-index: 9;
    padding-left: 10px;
    padding-right: 10px;
    right: 10px;
}



/* navigation list */ 

.navigation {
    top: 80px;
    bottom: 10%;
    position: absolute;
    list-style-type: none;
    z-index: 2;
    cursor: pointer;
    margin: 0px;
    padding: 0px;
}

.fstitemleft{
    height: 80px;
    border-left: solid .5px var(--navigation-red);
    border-bottom: solid .5px var(--navigation-red);
}

.fstitemright{
    height: 80px;
    border-right: solid .5px var(--navigation-red);
    border-bottom: solid .5px var(--navigation-red);
}

.lstitem{
    height: 100vw;
}


li {
    position: relative;
    width: 100%;
}

.lileft {
    border-right: solid .5px var(--navigation-red);
}

.liright {
    border-left: solid .5px var(--navigation-red);
}


 



/* 
note: 5 is the largest number of paragraphs any chapter has and
should be adjusted if this number changes 
*/
.lismall {
    transition-duration: .5s;
    height: calc((100vh - 240px) / (4 + 3 + 1));
}

/* 
note: 5 is the largest number of paragraphs any chapter has and
should be adjusted if this number changes 
*/
.libig {
    transition-duration: .5s;
    /* 3 times lismall height */
    height: calc(3 * (100vh - 240px) / (4 + 3 + 1))
}

.bullet {
    width: 12px;
    height: 12px;
    border-radius: 6px;
    border: solid 1px var(--navigation-red);
    background: var(--body);
    position: relative;
    margin: auto;
}



.bullethovered {
    background: var(--navigation-red);
}

.mainBullet {
    width: 15px;
    height: 15px;
    transform: rotate(45deg);
    border-radius: 0px;
}

.bullContainer {
    position: relative;
    height: 100%;
    width: 100px;         
    line-height: 100%;
}

.bullLeftContainer{
    float: right;
    transform: translate(50%, 0%);
}

.bullRightContainer{
    float: left;
    transform: translate(-50%, 0%);
}

.bullet:hover{
    background: var(--navigation-red);
}


.itemText {
    position: relative;
    transform: translate(70px, -100%);
    font-size: 1.5rem;
    width: 50vw;
    line-height: 1.6rem;
}


@media (max-width: 800px) {
    .expoContainer {
        height: unset;
    }

    .navigation {
        display: none;
    }

    .rightContainer {
        width: 90%;
    }

    .textClass {
        width: 100%;
    }

    .nextContainer {
        left: 50%;
        transform: translate(-50%, 0%);
        margin-left: auto;
        margin-top: -80px;
        width: unset;
    }

    .leftContainer {
        max-width: 100vw;
        max-height: calc(100vh - 91px - 20rem);
    }

    .footer {
        display: none;
    }

    .chapter {
        display: none;
        width: 100%;
        height: 60px;
    }

    .header {
        height: 60px;
    }

    .chapterVisible {
        display: inline-block;
        border-top: solid black 1px;
    }

    #chapterDropDown {
        display: block;
    }

    #title2 {
        z-index: 5;
    }

    #titleText {
        margin-left: 10px;
        font-size: 2.5rem;
    }
}

/* end navigation list */


#textLengthTestArea {
    position: absolute;
    top: 100vh;
    left: 100vw;
    text-align: justify;
    line-height: 2rem;
    font-size: 1.5rem;
}


