/* latin-ext */
@font-face {
  font-family: 'Ibarra Real Nova';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/sZlZdQiA-DBIDCcaWtQzL4BZHoiDkH5oHfRqHOJqEU-p.woff2) format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Ibarra Real Nova';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts//sZlZdQiA-DBIDCcaWtQzL4BZHoiDkH5oE_RqHOJqEQ.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Ibarra Real Nova';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts//sZlfdQiA-DBIDCcaWtQzL4BZHoiDkHVYEf5tPuBaEA.woff2) format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Ibarra Real Nova';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts//sZlfdQiA-DBIDCcaWtQzL4BZHoiDkHtYEf5tPuA.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

* {
  box-sizing: border-box;

  -webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10 and IE 11 */
  user-select: none; /* Standard syntax */
  font-weight: 400;
  font-family: 'Ibarra Real Nova', serif;
    
}

img.logo {
    width:400px;
    padding-top:5px;
    padding-bottom:5px;
    max-width:80%;
}
a {
    color: d4b6b5;
}

html {
    -webkit-text-size-adjust: 100%; /* Prevent font scaling in landscape while allowing user zoom */
}

.hider {
    background: rgb(0,0,0);
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(8,0,3,1) 35%, rgba(8,0,3,1) 100%);
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 60px;
    left: 0;
}
body, html {
    padding: 0;
    margin: 0;
    background-color: #080003;
    color: #d4b6b5;
    height: 100%;
    overflow: hidden;
    text-align:center;
}


.titleCenter {
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    text-align:center;

}
.titleCenter img {
    display: block;
    margin: 0 auto;
    margin-top:15px;
    width: 100%;
}

.titleCenter h4 {
    margin:0;
    padding:0;
    font-size:30px;
    font-style:italic;
    line-height:35px;
}

.titleCenter h3 {
    margin:0;
    padding:0;
    font-size:47px;
    font-style:italic;
    line-height:52px;
    margin-bottom:25px;
}


.choose {

    background-color: black;
    padding: 5px;
    border-radius: 5px;
}
#debug {
    position:absolute;
    top:0;
    right:10px;
}
ul#downloadItems, ul#downloadItems li {
    list-style-type:none;
    margin:0;
    padding:0;
}
#downloadItems li {
    margin-bottom:5px;
}
ul#downloadItems {
    padding:10px;
}
.textContent ul {
    font-size:14px;
    line-height:16px;
    padding:0;
    margin:0;
    padding-top:10px;
    padding-bottom:10px;
    margin-left: 15%;
    margin-right: 15%;
}
.textContent ul li {
    margin-bottom: 7px;
    text-align:left;
}
ul li div {
    height:5px;
    background-color:grey;
}
ul li div div {
    height:5px;
    background-color:#7d0e00;
    width:0;
}
#main {
    position:fixed;
    top:0;
    bottom:0;
    width:100%;
}

.fullscreen {
    position:fixed;
    width:100%;
    height:100%;
    top:0;
    left:0;
}
#onboarding {
    z-index:11;
}
form {
    margin:0;
    padding:0;
}

form input {
    border-radius:20px;
    height:40px;
    font-size:28px;
    line-height:28px;
    text-align:center;
    letter-spacing:20px;
    width:80%;
    display:block;
    padding:5px;
    padding-left:10px;
    padding-right:10px;
    font-family: 'Ibarra Real Nova', serif;
    background:transparent;
    border:2px solid #d4b6b5;
    margin:0 auto;
    color: #7d0e00;
    -webkit-user-select: text;
}
.audioSubs {
    position: absolute;
    bottom: 20px;
    text-align: center;
    width: 70%;
    background-color: rgba(0, 0, 0, 0.95);
    padding: 10px;
    color: white;
    display:none;
    z-index: 100000000;
    left: 15%;
    border-radius: 5px;
    pointer-events: none;
}

.audioSubs.on {
    display:block;
}
.iconHolder {
    padding-top:10px;
}
.iconHolder img {
    width:80px;

}
button, .choose.role {
    background-color: #7d0e00;
    font-size: 25px;
    line-height: 45px;
    height: 45px;

    padding-left: 20px;
    padding-right: 20px;
    display: block;
    max-width: 80%;
    margin: 0 auto;
    text-align: center;
    border-radius: 20px;
    border-width: 0;
    color: #d4b6b5;
    font-family: 'Ibarra Real Nova', serif;
}
.choose.role {
    
    margin-top: 10px;
    margin-bottom: 10px;
    line-height: 34px;
    border-radius: 5px;
}

.marker {
    width:20px;
    height:20px;
    border-radius:50%;
    background-color:#7d0e00;
    color:#7d0e00;
    visibility:hidden;
}
.marker.active {
    border-radius:0;
    width:30px;
    height:45px;
    background-color:transparent;
    background-image:url(/images/marker.png);
    text-align:center;
    color:#d4b6b5;
    font-size:20px;
    line-height:30px;
    font-style:italic;
    margin-top:-22.5px;
    visibility:visible;
}



.marker#marker0 {
    display:none;
}


#chapter {
    pointer-events:none;
    font-size: 13px;
    line-height: 33px;
}
#nav {
    position:fixed;
    bottom:0px;
    height:50px;
    padding-bottom:10px;
    padding-top:10px;
    width:100%;
    z-index:10;
    display:none;

    background: rgb(8, 0, 3);
    background: linear-gradient(180deg, rgba(8, 0, 3, 0) 0%, rgba(8, 0, 3, 1) 20%, rgba(8, 0, 3, 1) 100%);
}
#nav button, .modalButtons button {
    font-size: 22px;
    line-height: 28px;
    height: 30px;
    padding-left: 15px;
    padding-right: 15px;
    border-radius: 15px;
    display:inline-block;
}
#nav button.prev {
    border-top-right-radius:3px;
    border-bottom-right-radius:3px;

}
 .modalButtons button.modalYes {
    border-top-right-radius:0;
    border-bottom-right-radius:0;
}

#nav button.next {
    border-top-left-radius:3px;
    border-bottom-left-radius:3px;
}

#nav button.next.disabled {
    opacity:0.1;
    pointer-events:none;
}

.modalButtons button.modalNo {
    border-top-left-radius:0;
    border-bottom-left-radius:0;
}

#nav button img {
    display:inline-block;
    width:15px;

    position: relative;
    top: 1px;
}

#nav button.prev {
    
    position: absolute;
    left: 10px;
    bottom:10px;
    background-color: transparent;
    border: 1px solid #d4b6b5;
}

#nav button.next.skip {

    background-color: transparent;
    border: 1px solid #d4b6b5;
    display:none;
}

#nav button.next {
    
    position: absolute;
    right: 10px;
    bottom:10px;
}

#onboardingInner {
    position:relative;
    top:50%;
    transform:translateY(-50%);
    text-align:center;
    font-size:40px;
    font-weight:bold;
    margin:0;
    padding:0;
}
#onboardingInner p {
    margin:0;
    padding:0;
    font-size:20px;
    line-height:25px;
    margin-bottom:25px;
    margin-left:30px;
    margin-right:30px;
}
.textContent {
    position:relative;
    top:50%;
    transform:translateY(-50%);
    padding-left:5%;
    padding-right:5%;
    overflow-y: auto;
    padding-bottom:55px;
    max-height: 100%;
    overflow: auto;
}
.textContent h3, .textContent p {
    margin:0;
    padding:0;
}
.textContent p.small {

    border-top:2px solid #7d0e00;
    padding-top:30px;
    font-size:14px;
    line-height:17px;
    text-align:left;
}
.textContent h3 {
    margin-bottom:15px;
    font-size:30px;
    line-height:36px;
    padding-top:15px;
}
.textContent p {
    margin-bottom:10px;
}

.textContent {
    position:relative;
    top:50%;
    text-align:center;
    transform:translateY(-50%);
}
.videoTitle {
    margin:0;
    padding:0;
    margin-left:3%;
    margin-right:3%;
    padding-top:12px;
    padding-bottom:12px;
    font-size: 26px;
    line-height:32px;
    font-style: italic;
}
.audioContent {
    position:absolute;
    bottom:60px;
    left:0;
    right:0;
}

.audioContent p, .videoContent p, .textContent p {
    font-size:20px;
    line-height:24px;
    margin:0;
    padding:0;
    margin-bottom:14px;
    margin-left:5%;
    margin-right:5%;
}

.audioContent audio {
    display:block;
    margin-left:5%;
    width:90%;
}




#tearTop {
    position:absolute;
    top:0;
    width:100%;
    z-index:20;
}
#tearBottom {

    position:absolute;
    bottom:0;
    width:100%;
    z-index:20;
}
#tearTop img, #tearBottom img {
    width:100%;
    display:block;
}
.epilogueParagraph {
    display:none;
}
.epilogueParagraph.visible {
    display:block;
}
#map {
    position:absolute;
    width:100%;
    height:100%;
    z-index:19;
}

#mapOuter {
    position: fixed;
    left: 0;
    right: 0;
    top: 0.5%;
    bottom: 35%;
    width: 100%;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}
.mapboxgl-control-container {
    display:none;
}
#mapOuter * {
    pointer-events: none !important;
}
#mapOuter.active {
    opacity: 1;
    pointer-events: auto;
}

#mapOuter.active * {
    pointer-events:auto !important;
}

video {
    width: 100%;
}
button.map {
    float:left;
}

.modalOuter {
  display:none;
  background-color: rgba(0,0,0,0.98);
  z-index:1000000;
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}
.modal p {

    font-size: 19px;
    line-height: 24px;
    margin: 35px;
    padding: 0;
    margin-bottom: 15px;
    text-align: center;
}
.modalButtons {
    position: absolute;
    bottom: 50px;
    left: 10px;
    right: 10px;
    text-align: center;
}

.mapboxgl-user-location-accuracy-circle {
    background-color: #08000322;
    
}
.videoHolder {
    position:relative;
    padding-bottom:10px;
}
.playVideo {

    position: absolute;
    width: 80px;
    height: 80px;
    transform: translateY(-50%);
    margin-left: -40px;
    z-index: 2001;
    left: 50%;
    opacity: 0.6;
    border-radius: 50%;
    top:auto;
    bottom:0;
}
.playVideo img {
    margin-left:5px;
}
.landscapeInstruction {
    position: absolute;
    width: 80%;
    left: 10%;
    top: 5%;
    display: none;
    z-index: 10000;
    background-color: rgba(0, 0, 0, 0.75);
    border-radius: 5px;
    padding: 7px;
    font-size: 16px;
    line-height: 20px;
}
.videoFrame {
    position:absolute;
    z-index:2000;
    padding-bottom:10px;
}
.videoFrame img {
    display:block;
    width:100%;
}
.videoInstruction {
    margin-left: 5%;
    margin-right: 5%;
    font-size: 20px;
    line-height: 22px;
    padding-top: 12px;
    padding-bottom: 12px;
}
.mapboxgl-user-location-dot, .mapboxgl-user-location-dot:before {
    background-color: #080003;
    
}
.mapboxgl-user-location-show-heading .mapboxgl-user-location-heading:after, .mapboxgl-user-location-show-heading .mapboxgl-user-location-heading:before {
    border-bottom: 7.5px solid #080003;
    
}
@media (max-width:400px) {

  button {
        background-color: #7d0e00;
        font-size: 22px;
        line-height: 38px;
        height: 42px;

        padding-left: 16px;
        padding-right: 16px;
    }
}
@media (max-height:725px) {
    #mapOuter {
    
        top: 0.5%;
        bottom:37.5%;
    }  
    .audioContent p {
        font-size:17px;
        line-height:20px;
    }
    .videoInstruction {
        
        font-size: 18px;
        line-height: 20px;
        padding-top: 0;
        padding-bottom: 10px;
    }

}

.rotate_to_portrait {
    display:none;
}
@media (max-height:600px) {
    #mapOuter {
    
        bottom: 40%;
    }
}
@media (orientation: landscape) {

    .landscapeInstruction {
        display:block;
    }

    #nav {
        opacity:0.5;
    }
  .videoTitle {
    display:none;
  }
  .videoInstruction, .iconHolder {
    display:none;
  }
  .playVideo {
    bottom: auto;
    top: 35%;
  }

  .rotate_to_portrait {

    background-color: #7d0e00;
    display:block;
    position:fixed;
    left:0;
    right:0;
    top:0;
    bottom:0;
    z-index:300000;      
  }
  .rotate_to_portrait .inner {
    position:relative;
    top:50%;
    transform:translateY(-50%);
  }
  .rotate_to_portrait img {
    width:100px;
    height:100px;
    display:block;
    margin:0 auto;
    margin-bottom:20px;

  }
  .rotate_to_portrait .inner p {
    margin:0;
    padding:0;
    font-size:23px;
    line-height:28px;
  }
  .rotate_to_portrait.after_video {
    display:none;
  }
    }

}

