:root {
    --main-bg-color: brown;
    --bdr-color: #324b64;
    --bdr-highlight:#2a3c4e;
    --bdr-inactive:#202d3b;
    --text-color:white;
    --grey:#A2AAAD;
}

.main-content {
    min-height: 850px;
}

.title{
    background-color: #324b64;
    color: #ffffff;
    font-size: 2rem;
    line-height: 3rem;
}

#intro{
    padding: 0 0 10px 0;
}

.map{
    z-index: 0;
    height: 65vh;
}

#content{
    margin-top: 5px;
    padding: 10px;
    height: 100%;
    width: 100%;
    
}
.module{
    display: grid;
    grid-auto-flow: row;
    grid-auto-rows: auto 1fr;
    height: 100%;
    
}
.module .head{
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    justify-content: start;
}
.tab {
    padding: 10px 5vw 10px 5vw;
    border-radius: 10px 10px 0px 0px; 
    background-color: var(--bdr-inactive);
    color:var(--text-color);
      
}
.tab:hover{
    background-color: var(--bdr-highlight);
}
.tab.selected {
    background-color: var(--bdr-color);
}
.module .ctn{
    border:5px solid var(--bdr-color);
    border-radius: 0px 5px 5px 5px; 
}

/*Drop*/
.drop-open {
    background-color: var(--bdr-color);
}
.drop-close {
    background-color: var(--bdr-inactive);
}
.drop-header{
    color: var(--text-color);
    
    padding: 10px;

    display: grid;
    grid-auto-flow: column;
    align-items: center;
    
    cursor: pointer;

    min-height: 4.5vh;
    font-size: 1.3em;
}
.drop-close:hover {
    background-color: var(--bdr-highlight);
}

.drop-header .drop-title {
    margin-left: 5px;
    justify-self: left;
}

.drop-header .dropdown-button {
    justify-self: right;
    color: var(--text-color);
    margin-left: 5px;
    font-size: 1.2em;
}

.drop-button-open {
    animation: spin-animation-open 0.5s;
    animation-fill-mode: forwards;
}
.drop-button-close {
    animation: spin-animation-close 0.5s;
    animation-fill-mode: forwards;
}

@keyframes spin-animation-open {
    0% {
    transform: rotate(0deg);
    }
    100% {
    transform: rotate(180deg);
    }
}
@keyframes spin-animation-close {
    0% {
    transform: rotate(180deg);
    }
    100% {
    transform: rotate(0deg);
    }
}
.drop-content {
    background-color: #aaaaaa;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    position: relative;
    transform: translate(0px, -3px);

    display: grid;
    grid-auto-flow: row;
    -ms-grid-row-align: center;

}
.drop-content.open {
    padding: 10px;
    transition: all 0.3s ease;
    
}
.drop-content.closed {
    overflow: hidden;
    max-height: 0px;
    padding: 0px;
    transition: all 0.3s ease;
}
.data-vars {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    min-width: 30vw;
}
.leaflet-right .leaflet-control:has(div.filter-ctn) {
    margin-right: 0px;
}
.leaflet-top .leaflet-control:has(div.filter-ctn) {
    margin-top: 0px;
}
.filter-ctn {
    display: grid;
    grid-auto-flow: row;
}

.hide {
    display: none;
}

.icon-circle {
    font-size: 30px;
    display: grid;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: #ffffffbf;
    border: 2px solid #ccccccbf;
    border-radius: 50%;
}

.hiker {
    width: 100px;
    height: 100px;
    background-color: #324b64;
    background-image:url("../resources/hiker.png");
}
.arch {
    width: 100px;
    height: 100px;
    background-image:url("../resources/arch.jpeg");
}
.ski {
    width: 100px;
    height: 100px;
    background-image:url("../resources/ski.png");
}


/* leaflet compare fix */
.leaflet-sbs-range {
    
}

.range-value{
    position: absolute;
    bottom: 35px;
    left:34.5px;
    background: white;
    padding:5px;
    font-size: 14px;
    font-weight: bold;
    border-radius:5px;
    transition: left .5s cubic-bezier(0.17, -0.08, 0, 1.09);
}

.compare-slider {
    /*top: 50%;*/
    left: 0%;
    padding-left: 9px !important;
    padding-right: 9px !important;
    
    appearance: none;
    -webkit-appearance: none;
    height: 25px;
    background: #00000000;

    pointer-events: none;
}

.compare-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 25px;
    height: 25px;

    background: #fffffff1;
    border-radius: 50%;
    cursor: pointer;
    pointer-events: auto;
}

.compare-slider::-moz-range-thumb {
    width: 25px;
    height: 25px;

    background: #fffffff1;
    border-radius: 50%;
    cursor: pointer;
    pointer-events: auto;
}

.factsheet-button {
    font-size: 1em;
    padding: 5px 10px 5px 10px;
    border-radius: 5px;
    border: none;
    background-color: #49627a;
    color: white;
    font-weight: bolder;

    z-index: 100;
    position: absolute;
    top: 95%;
    right: 8%;
    cursor:pointer;
}
.factsheet-button:hover {
    background-color: #0f2439;
}

.button {
    font-size: 1em;
    padding: 10px 25px 10px 25px;
    width: fit-content;
    border-radius: 5px;
    border: none;
    background-color: #49627a;
    color: white;
    font-weight: bolder;
}
.button:hover {
    background-color: #49627ace;
}
.button div {
    display: grid;
    align-items: center;
    grid-auto-flow: column;
    column-gap: 5px;
}


.questions{
    display: grid;
    grid-auto-flow: row;  
}


.filter {
    
}
.filter.left{
    margin-bottom: 30.8px;
}
.scenario {
    border-radius: 5px 0px 0px 5px;
    background-color: var(--bdr-color);
    font-weight:bold;
    color: var(--text-color);
    border: none;
    padding-left:5px;
}
.scenario option {
    background-color: white;
    color: black;
}
.time-slider {
    position:relative;
    padding: 5px;
    background: white;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr 8fr 1fr;
    align-items: center;
    border-radius: 0px 5px 5px 0px;
}
.left-slider-cont .time-slider {
    border-radius: 0px;
}

.time-slider span {
    padding: 0px 5px 0px 5px;
}
.time-slider .slider {
    -webkit-appearance: none; 
    appearance: none;
    width: 100%; 
    height: 5px; 
    border-radius: 2.5px;
    background: var(--grey); 
    outline: none; 
    opacity: 0.7; 
    -webkit-transition: .2s; 
    transition: opacity .2s;
}
.time-slider .slider:hover{
    opacity: 1;
}
.time-slider .slider::-webkit-slider-thumb {
    -webkit-appearance: none; 
    appearance: none;
    width: 20px;
    height: 20px; 
    border-radius: 10px;
    background: var(--bdr-color);
    cursor: pointer;
}
.time-slider .slider::-moz-range-thumb {
    width: 20px;
    height: 20px; 
    border-radius: 10px;
    background: var(--bdr-color);
    cursor: pointer;
}
.time-slider.hide{
    width: 0px;
    padding:0px;
    overflow: hidden;
}
.left-slider-cont {
    display: grid;
    grid-auto-flow: column;
    width:100%;
    transition: margin-left ease 0.5s;
}
.left-slider-cont.hide {
    margin-left:calc(-100% + 20px);
}
.left-slider-cont.hide .hide-button-box {
    pointer-events: auto;
}
.right-slider-cont {
    display: grid;
    grid-auto-flow: column;
    width:100%;
    margin-left: 0%;
    
    transition: margin-left ease 0.5s;
}
.right-slider-cont.hide {
    margin-left:calc(100% - 20px);
   
}
.right-slider-cont.hide .hide-button-box {
    pointer-events: auto;
}
.right-slider-cont .hide-button-box {
    border-radius: 5px 0px 0px 5px;
}
.left-slider-cont .hide-button-box {
    border-radius: 0px 5px 5px 0px;
}
.right-slider-cont:has(.hide-button-box) .scenario {
    border-radius: 0px;
}
.hide-button-box{
    color: var(--text-color);
    background-color: var(--bdr-color);  
    padding: 10px;
    display: grid;
    grid-auto-flow: column;
    align-items: center;
    cursor: pointer;
    width: 30px;
}

.filter:has(div.right-slider-cont.hide) {
    pointer-events:none;
}
.filter:has(div.left-slider-cont.hide) {
    pointer-events:none;
}
.leaflet-bottom.leaflet-right:has(div.right-slider-cont:not(.hide)) {
    z-index: 1001;
}
.leaflet-bottom.leaflet-left:has(div.left-slider-cont:not(.hide)) {
    z-index: 1001;
}


.sidebar {
    position: absolute;
    z-index: 1;
    height: 100%;
    display: grid;
    grid-auto-flow: column;
    pointer-events: none;
    left:0px;
    transition: left .6s cubic-bezier(0.18, 0.89, 0.32, 1.28);
    
}
.leaflet-left.leaflet-top:has(div.sidebar) {
    height: 100%;
}

.leaflet-left .leaflet-control:has(div.sidebar) {
    margin-left: 0px;
    height: 100%;
}
.leaflet-top .leaflet-control:has(div.sidebar) {
    margin-top: 0px;
}
.sidebar .ullr-collapse {
    padding: 0px;
}
.ullr-collapse .ullr-header{
    background-color: white;
    text-align: start;
    padding-left: 5px;

}
.sidebar .content {
    background-color: white;
    border-color: var(--bdr-color);
    height: 100%;
    width: 250px;
    
    border-radius: 5px;
    position: relative;

    padding-bottom: 10vh;
    overflow-y:auto;

    pointer-events: auto;
}
.sidebar .content.open {
   max-width: 250px;
}

.sidebar:has(div.content.closed) {
    left: -250px;
} 
.sidebar .header {
    margin-bottom: 10px;
}
.sidebar-footer {
    display: grid;
    justify-content: center;
    align-items: center;
}
.sidebar-footer .button {
    margin-top: 5px;
}
.close-button {
    font-size: 30px;
    cursor: pointer;
    text-decoration: none;
    text-align: right;
    margin-right: 6px;
    margin-bottom: 3px;
}
.open-button {
    padding: 2px 5px 2px 5px;
    font-size:16px;
    background-color: #fff;
    border-radius: 5px;
    margin: 0px;
    width:160px;
    position: relative;
    top:0%;
    z-index: 0;
    cursor:pointer;
}
#bars{
    color:var(--grey);
    display: inline;
    padding-right:5px;
}
.sidebar .header .name{
    background-color: #C5BFB8;
    display: block;
    padding-top: 5%;
    padding-bottom: 5%;
    font-size: x-large;
}

.questions{
    display: grid;
    grid-auto-flow: row;  
}
.radio-button{
    display: grid;
    grid-auto-flow: column;
    justify-content: start;
    margin-left: 5px;


}
.radio-button input {
    margin-right: 5px;
}

#info-icon{
    color: #324b64;
    font-size: 13px;
    cursor: pointer;
    padding-left: 3px;
    display: flex;
    align-items: center;
}

.sidebar .section .title{
    background-color: #C5BFB8;
    color: black;
    font-size: large;
    
}
.sidebar .section .ctn {
    border: none;
    
}
a.download-button {
    padding: 5px 10px 5px 10px;
    color: white;
    text-decoration: none;
}

.ullr-header {
    background-color: #C5BFB8;
}

.ullr-header h2{
    padding-top:5px;
    padding-bottom:5px;
    margin:0px;
}

.ullr-header .ullr-arrow {
    border: solid #394652 1px;
    border-width: 0 3px 3px 0;
    display: inline-block;
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    margin: 9px 10px 0px auto;
    width: 10px;
    height: 10px;
    float: right;
}


.climate-modal .climate-modal-ctn {
    width: 100%;
    max-width: none;
    min-height: 100%;
    margin: 70.8px 0;
}

.climate-modal .climate-modal-content-ctn {
    padding: 0;
}

.home-container-global:has(.climate-modal),
.body:has(.climate-modal) {
    overflow: hidden;
}

@media only screen and (min-width: 751px) {
    .climate-modal .climate-modal-ctn {
        
        margin: 101.59px auto;
    }
}
@media only screen and (min-width: 1250px) {
    .climate-modal .climate-modal-ctn:not(:has(.story, .tutorial-page)) {
        max-width: 80%;
        min-height: 400px;
        margin: 120px auto;
    }
}
    
.legend-box {
    position: relative;
    width: 140px;
    padding: 5px;
    background-color: #ffffffe6;
    border-radius: 5px;
    margin-top: 26px;
    height: fit-content;
}
.legend-button-close {
    pointer-events: auto;
    cursor: pointer;
    position: absolute;
    right: 5px;
    top: -1px;
}

.point-stat-box{
    display: block;
    background: white;
    padding: 10px;
    border-radius: 2px;
}
.point-stat-box.mobile-point-stat-box{
    position: absolute;
    top: -10px;
    left: calc(-100vw + 40px);
    width: calc(100vw - 30px);
    height: calc(100vh);
    
}
.leaflet-top:has(.mobile-point-stat-box) {
    z-index: 1002;
}
.point-stat-box.hide {
    display: none;
}
.point-stat-box .data-box{
    text-align: left;
    padding: 5px;
}
.point-stat-box #point-box-title {
    font-size: 15px;
    text-align: center;
    margin-right:none;
    font-weight: bold;
}
/*66e0ff FBB4AA*/
.point-stat-box .data-box.high-emission{
    background-color: #FBB4AA70;
}
.point-stat-box .data-box.low-emission{
    background-color: #66e0ff70;
}
.point-stat-box .data-box.his-avg{
    background-color: #a2aaad2e;
}
.point-stat-box .data-box.obs-avg{
    background-color: none;
}
.point-stat-box .time-projection{
    font-size: larger;
    font-weight: bolder;
}
.point-stat-icon {
    font-size: 35px;
    color: rgb(243, 82, 82);
}

.chart-button {
    background-color: var(--bdr-color);
    font-weight: bold;
    color: white;
    width: fit-content;
    align-self: center;
    justify-self: center;
    padding: 5px 10px 5px 10px;
    margin-top: 5px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.1s ease;
}
.chart-button:hover:not(.inactive) {
    background-color:  #288DC2;

}
.chart-button.inactive {
    background-color: var(--grey);
    cursor: default;
}
.high-chart-img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 75%;
    max-width: 730px;
    max-height: 200px;
}
.high-chart-about-title {
    font-weight: bold;
}
.landmark-label {
    background-color: #00000000;
    border: none;
    font-weight: 900;
    text-shadow: white 0px 0px 10px;
    box-shadow: none;
    padding: none;
       
}
.landmark-label:before {
    border-top-color: #222;
}


.factsheet {
    position: relative;
    overflow-y: scroll;
    width: 100%;
    height: 80vh;
    padding: 5px;
}
.factsheet-text {
    text-align: left;
    padding: 5px 15px 5px 15px;
}
.factsheet-table {
    display: grid;
    margin-top: 15px;
    margin-left: 5px;
    margin-right: 5px;
    margin-bottom: 5px;
    text-align: center;
}
.factsheet-table.data {
    display: grid;
}
.factsheet-table.data-row {
    display: grid;
    align-items: center;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    border-bottom: 2px solid #ed7d31;
    border-top: 2px solid #ed7d31;
    background-color: #fbe4d5;
    margin-top: 0px;
    min-height: 45px;
    
}
.factsheet-table.data-row.label {
    background-color: unset;
    border-bottom: none;
}
.opacity-slider {
    -webkit-appearance: none;
    -moz-appearance: none;
    background: none;
    width: 150px;
    height: 10px;
    overflow: hidden;
    cursor: pointer;
    border-radius: 5px;
}

.opacity-slider::-webkit-slider-runnable-track {
    background: #ddd;
    height: 10px;
}

.opacity-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    background: #333;
    border-radius: 50%;
    height: 10px;
    width: 0px;
    box-shadow: -100vw 0 0 100vw #333;
}

.opacity-slider::-moz-range-track {
    background: #ddd;
    height: 10px;
}

.opacity-slider::-moz-range-progress {
    background: #333;
    height: 10px;
}

.opacity-slider::-moz-range-thumb {
    background: #333;
    border-radius: 50%;
    height: 10px;
    width: 0px;
    border: none;
}

.search-bar {
    width: 50vw;
    left: 50%;
    transform: translate(40%, 0%);
    position: absolute;
}
.leaflet-top .leaflet-control.search-bar{
    margin-top: 0px;
}
.result-scroll{
    width: 78%;
    margin: 0 auto;
    max-height: 400px;
    overflow: auto;
    background-color: #ddd;
}

.result-scroll::-webkit-scrollbar {
    width: 10px;
    background-color: #ddd;
}

.result-scroll::-webkit-scrollbar-thumb {
    background-color: #aaaaaa;
    border-radius: 12px;
}

.result-scroll::-webkit-scrollbar-track {
    border-radius: 12px;
}
.result-ctn {
    margin-top: 35px;
    margin-left: 10px;
}

.search-result{
    z-index: 401;
    width: 100%;
    position: relative;
    background-color: white;
    cursor: pointer;
    text-align: left;
    padding: 10px 0px 10px 15px;
}

.search-result:nth-child(odd){
    background-color: #F6F2ED;
}

.search-result:nth-child(even){
    background-color: white;
}
.page {
    display: block;
    text-align:left;
    height:500px;
    overflow: auto;
    padding-left:15px;
}
.page h3{
    padding:8px 15px;
}
.page ul{
    list-style: circle;
    padding-left:20px;
}

.search-result.row{
    margin: 0 auto;
    height: auto;
}

.search-result:hover{
    background-color: #C5BFB8;
}
@media only screen and (min-width: 950px) {
    
    .result-scroll{
        width:68%
    }

}

@media only screen and (min-width: 1250px) {
    .result-scroll{
        width:78%
    }

}

/*Flip card / Stories*/

.text{
    height: 100%;
}
.story-pdf{
    height:100%;
}

.story-pdf div:first-child{
    height:100%;
}

.slide-button {
    right: 47%;
}
.flip-card {
    position: relative;
    width: 100%;
    height: 87vh;

    perspective: 1000px;
}
.flip-card .embedded-pdf {
    height: 72vh;
    height:97%;
}
@media only screen and (min-width: 750px) {
    .flip-card{
        height: 84vh;
    }
}
/*@media only screen and (min-width: 1250px) {
    .flip-card{
        height: 70vh;
    }
}
}*/
.flip-card-content {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
}
.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.flip-card-front {
    background-color: #3c3c3c;
    color: white;
}

.flip-card-back {
    background-color: #3c3c3c;
    color: white;
    transform: rotateY(180deg);
}
.flipped {
    transform: rotateY(180deg);
}

.embedded-pdf {
    width: 100%;
    height: 600px;
    border: none;
}

/*Tutorial*/
.tutorial-button {
    padding: 5px 10px 5px 10px;
    width: 25%; 
    margin-top: 5px;
    margin-left: auto;
    margin-right: auto;
}


.tutorial-page {
    position: relative;
    height: fit-content;
    margin: auto;
    text-align: center;
}

.tutorial-slides {
    height: 98%;
    padding: 20px;
    padding-bottom: 40px;
    box-sizing: border-box;
}

.tutorial-image {
    display: block;
    max-height: 75vh;
    object-fit: contain;
}

.tutorial-back-button,
.tutorial-next-button {
    cursor: pointer;
    font-size: 35px;
    user-select: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 5px;
    margin-right: 5px;
}

.tutorial-back-button {
    left: 15px;
}

.tutorial-next-button {
    right: 15px;
}

.tutorial-dots {
    position: absolute;
    bottom: 0%;
    width: 100%;
    margin-bottom: 10px;
}

.tutorial-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 5px;
    background: #ccc;
    border-radius: 50%;
    cursor: pointer;
}

.tutorial-dot.active {
    background: #333;
}



.action-ctn {
}
.action-ctn * {
    margin:0; padding:0; text-indent:0; 
}
.action-ctn .s1 { 
    color: black; 
    font-family:"Times New Roman", serif; 
    font-style: normal; 
    font-weight: normal; 
    text-decoration: none; 
    font-size: 20pt; 
}
.action-ctn p { 
    color: black; 
    font-family:"Times New Roman", serif; 
    font-style: normal; font-weight: normal; 
    text-decoration: none; 
    font-size: 12pt; 
    margin:0pt; 
}
.action-ctn h1 { 
    color: black; 
    font-family:"Times New Roman", serif; 
    font-style: normal; 
    font-weight: bold; 
    text-decoration: none; 
    font-size: 14pt; 
}
.action-ctn .s2 { 
    color: #155F82; 
    font-family:"Times New Roman", serif; 
    font-style: normal; 
    font-weight: normal; 
    text-decoration: none; 
    font-size: 12pt;
}



.img {
    width: 331px;
    height: 192px;
    display: block;
    margin: 0px 5px 0px 5px;
}
.obs-img {

    background-image:url("../resources/aboutData/observations.png");
}
.his-img {
    
    background-image:url("../resources/aboutData/historic.png");
}
.low-emis-img {
    
    background-image:url("../resources/aboutData/lowEmis.png");
}
.high-emis-img {
    
    background-image:url("../resources/aboutData/highEmis.png");
}
.placeholder-img    {
    width: 335px;
}

.leaflet-control-layers-toggle.opacity-icon {
    background-image:url("../resources/static/icons/opacityIcon.png");
    background-position: 50% 50%;
    background-repeat: no-repeat;
}


    
