@media (prefers-color-scheme: dark) {
    /* "Give yourself to the Dark Side" - Darth Vader */
}
body { margin: 0; padding: 0; font-family: sans-serif; color: #121212; }
#intro { text-align: center; max-width: 100%; border: 1px solid #000000; box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);}
div#welcome {max-width: 700px;}
.welcome { font-size: 1.4em; padding: 0.5em 0.5em; background: #222222; line-height: 1.55em; text-align: center; color: #e7e7e3; margin: 0}
div#enterButton {background: #222222; margin: 10px auto; align-items: center; display: flex;flex-wrap: wrap; justify-content: center; max-width: 100%;}
button#enter, button#blog { cursor: pointer; background-color: #92ffbe; color: #222222; font-weight: 400; padding: 1rem 1.75rem; font-size: 1.4rem; width: fit-content; margin: 15px 15px; border-radius: 0.25rem; border: 0}
#socials {padding: 10px 0;}
#socials img {margin: 0 5px;}
.bottom{ z-index: 1001!important; }
#legend .popover{ width: max-content; border: 1px solid #d5d5d5; }
.popover-content{ padding: 5px!important; font-size: 1em; text-align: center; font-weight: bold; color: rgba(21,33,38,0.95); }
#popup-content p{ font-size: 0.95em; margin: 0!important; }

.map { position: fixed; top: 0; right: 0; left: 0; background-color: /*#acd8f3*/#c3ccd2; bottom: 0; background-repeat: repeat; background-image: url("../images/sea3.png");}
.projections {position: absolute;right: 0.5em; bottom: 0.5em; z-index: 1000; font-size: 0.9em; background: #f5fffaab; color: #121212;box-shadow: 1px 2px 6px #545353; padding: 0.375rem; border-radius: 0.25rem;border: 1px solid #ced4da;}
.sidebar {width: 350px; position: fixed; z-index: 1;  left: 0; background-color: #121212; overflow-x: hidden; overflow-y: auto; transition: 0.5s; color: #e7e7e3; box-shadow: 1px 3px 10px #545353;color-scheme: dark;}
#sidebar-header {background: #222222; padding: 5px; }
#blog-banner {margin: 10px auto; display: block; border: 0; width: fit-content; padding: 10px 15px; text-align: center; background: #92ffbe; color: #385538; font-size: 14pt; border-radius: 15px;}
#blog-banner p {padding: 10px; margin: 0;}
img#expandIco { transform: rotate(90deg); background: #222222;}
.sidebarHopen {height: 100%; width: 450px; transition: width 1s; top: 0; max-height: 100%;}
.sidebarHopenLarge {height: 100%; width: 40%; transition: width 1s; top: 0; max-height: 100%;}
.sidebarHclosed {height: 100%; width: 0; transition: width 1s; top: 0; max-height: 100%;}
.sidebarVopen { top: 60%; max-height: 40%; transition: top 1s;}
.sidebarVopenLarge { top: 30%; max-height: 70%; transition: top 1s;}
.sidebarVclosed { top: 100%; max-height: 40%; height: 0; transition: top 1s;}
.mapHopen {left: 450px; transition: left 1s; bottom: 0; width: auto; height: auto; }
.mapHopenLarge {left: 40%; transition: left 1s; bottom: 0; height: 100%; }
.mapHclosed {left: 0; transition: left 1s; bottom: 0; width: auto; height: auto }
.mapVclosed {left: 0; bottom: 0; transition: bottom 1s; width: auto; height: auto }
.mapVopen {left: 0; bottom: 40%; transition: bottom 1s;}
.mapVopenLarge {left: 0; bottom: 70%; transition: bottom 1s;}
.ol-mouse-position{right: 55px; display: block;}
@media screen and (orientation:portrait) {
    .sidebar {width: 100%; height: 100%; }
    .ol-mouse-position{display: none;}
    .projections {max-width: 125px;}
}

#loader { text-align: center; height: 100%; position: absolute; background: #121212; width: 100%; display: none; z-index: 101; overflow: hidden}
.helper { display: inline-block; height: 100%; vertical-align: middle; }
img.load{vertical-align: middle;}
.openbtn {background-color: #222222; cursor: pointer;color: white;padding: 8px 10px ;border: none;position: fixed;z-index: 1001; right: 0;}
.openbtn:hover {background-color: #121212;}
.sidebar .closebtn { position: absolute; top: 0; right: 10px; font-size: 36px; margin-left: 50px; }
.chevronHolder, .openbtnHolder {position: fixed; top: 0; width: inherit; text-align: right; }
.sidebar .chevron { height: 30px; padding: 15px; display: none;}
.sidebar a, #about a, .fancybox__caption a, div#copyLink { text-decoration: none; color: #92ffbe; transition: 0.3s; }
#mythDescription a, #mythTags a, a { color: #92ffbe; text-decoration: none;}
#mythTags li { cursor: pointer;color: #92ffbe; text-decoration: underline;}
#mythDescription a:hover, #mythTags a:hover, #welcome a:hover { color: #4be386; text-decoration: underline;}
.sidebar p { font-size: 13pt; padding: 10px 15px; background: #222222; line-height: 1.3; clear: left;}
div.licence {text-align: center; font-size: 0.8em;}
#licence p {margin: 0;}
div#permalink {text-align: center; padding: 5px 0;display: none;}
.sidebar #mythLink { text-align: center; width: 100%; font-size: 0.85em; display: inline-block; padding-left: 10px; vertical-align: middle; white-space: pre-line; white-space: -o-pre-wrap; white-space: -moz-pre-wrap; word-wrap: break-word; }
div#tag { height: 33px;}
.tags, .largeTags {margin: 0; padding: 0; position: relative;}
a.tags { float:left; height:24px; line-height:24px; position:relative; font-size:14px; margin-bottom: 9px; margin-left:20px;}
p.largeTags { display: inline-block; vertical-align: middle; width: fit-content; height:30px; line-height:29px; position:relative; font-size:20px; margin: 12px 0 12px 20px;}
a.tags, p.largeTags{padding:0 10px 0 12px; background:#92ffbe; color: #385538; text-decoration:none; -moz-border-radius-bottomright:4px; -webkit-border-bottom-right-radius:4px; border-bottom-right-radius:4px; -moz-border-radius-topright:4px; -webkit-border-top-right-radius:4px; border-top-right-radius:4px; font-weight: bold;}
a.tags:before { content:""; float:left; position:absolute; top:0; left:-11px; width:0; height:0; border-color:transparent #92ffbe transparent transparent; border-style:solid; border-width:13px 12px 12px 0; }
p.largeTags:before { content:""; float:left; position:absolute; top:0; left:-11px; width:0; height:0; border-color:transparent #92ffbe transparent transparent; border-style:solid; border-width:15px 12px 15px 0; }
a.tags:after { content:""; position:absolute; top:10px;}
p.largeTags:after { content:""; position:absolute; top:12px; }
a.tags:after, p.largeTags:after{left:0; float:left; width:4px; height:4px; -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px; background:#121212; -moz-box-shadow:-1px -1px 2px #004977; -webkit-box-shadow:-1px -1px 2px #004977; box-shadow:-1px -1px 2px #004977;}
.tags a:hover {background:#555;}
.tags a:hover:before{border-color:transparent #555 transparent transparent;}
img.tagInfo {vertical-align: middle; height: 25px; margin-left: 10px; display: inline-block; cursor: pointer;}
div.tagHelp {max-width:700px; }
div.tagHelp p {padding: 0 20px; text-align: center;}
#copyIcon {height: 30px; vertical-align: top; cursor: pointer;}
.enlargeIcon, .closeIcon {position: absolute; top: 10px; background-color: #222222; border: 0;cursor: pointer;}
.enlargeIcon {right: 38px; }
.closeIcon {right: 5px; }
.copied {color: #32c671;}
.sidebar p#furtherReading {font-style: italic; font-size: 0.8em; line-height: 1em; display: none;}
.sidebar p#furtherReading a {font-style: italic; font-size: 0.95em; padding: 0; text-decoration: underline; overflow-wrap: break-word;}
div#mythTitle {margin: 0 15px; display: block}
.sidebar h2 {display: inline-block; margin: 10px 0 0 0; font-size: xx-large; padding: 0 5px 0 0px;}
.sidebar span#dates {font-size: x-large; padding: 0;}
#dates {display: inline-block}
i#aka {display: block!important; margin: 10px 15px; font-size: 0.9em;}
.sidebar a:hover, #about a:hover, .fancybox__caption a:hover, div#copyLink:hover { color: #8f8989; cursor: pointer;}
.sidebar div#mapExample {justify-content: center; padding: 10px 15px; display: none; width: 95%; overflow-x: scroll; align-items: center;}
.sidebar div#mapThumbs {clear: left; padding: 10px 15px; max-height: 350px; min-height: min-content}
.splide__track {min-height: min-content;}
#mapExample::-webkit-scrollbar { display: none; }
div.licence a {padding: 0 5px;}
.credits{ text-align: center; padding-bottom: 10px;}
.credits p {margin: 0; padding: 5px; font-size: 1em; line-height: 1.5 }
.thumbnail { max-width: 350px; cursor: pointer; flex-grow: 1; display: flex; max-height: 350px; height: fit-content; padding: 0 5px}
.splide__list {height: fit-content!important;}
.splide__slide {margin: 0 auto!important;}
/*.imageHighlight { vertical-align: middle; display: flex; }
.imageHighlight img {max-height: 300px;}*/
#mapThumb2 { margin-left: 10px; }
.spl-button {padding: 5px 10px; background-color: #121212; color: #e7e7e3;margin-left: 10px; border: 1px solid #fff;}
.spl-title, .spl-button { display: inline-block; vertical-align: middle; margin-bottom: 10px; line-height: 100%;}
.spl-footer {line-height: 0; padding: 10px 10px 0; width: fit-content;}
.spl-header {right: 0; width: fit-content;}
.spl-download {display: inline-block!important;}
.spl-page, .spl-theme {display: none!important;}
.searchHolder {width: 315px; margin: 5px 0 0 10px; position: absolute; z-index: 1001;}
.shuffleIcon {vertical-align: middle; cursor: pointer;}
#search { border: 1px solid #939393; border-radius: 4px; font-size: 1.1em; margin: 0.25rem; min-width: 110px; width: 110px; padding: 0.4rem;
    color: #222222;
    background-size:contain;
    text-indent: 44px;
    background: #f5fffa4a url('../images/search2.svg') no-repeat 7px 0;
    box-shadow: 1px 2px 6px #545353;}
input#search:focus { background-image:none; text-indent:0;}
input#search:focus-visible { outline: none;}
#result { position: absolute; width:fit-content; max-width: 250px; cursor: pointer;  overflow-y: hidden; box-sizing: border-box; z-index: 1001; text-align: left; margin: 0 0.25rem; padding: 0; font-size: 1rem; }
li.list-group-item{ padding: 0.5rem; border: 1px solid #e1e1e1;}
li i.pseudo{color:#818181;}
.link-class:focus, .active, .link-class:hover{ background-color:#f1f1f1; }
ul.list-group{ list-style-type: none; background-color: #f5fffa; color: #222222}

ul.share-buttons{ list-style: none; padding: 5px 15px 5px 15px; margin: 0 auto; text-align: center; clear: left;}
ul.share-buttons li{ display: inline; vertical-align: middle; }
ul.share-buttons a{ padding: 8px; }

ul.share-buttons .sr-only{
    position: absolute;
    clip: rect(1px 1px 1px 1px);
    clip: rect(1px, 1px, 1px, 1px);
    padding: 0;
    border: 0;
    height: 1px;
    width: 1px;
    overflow: hidden;
}
text {
  font-family:inherit;
  font-size: 11px;
}

img.keys{height: 42px; vertical-align: middle; padding: 0 5px;}

#spotlight.dark{
    background-color: #222222; opacity: 0.97;
}

.ol-attribution.ol-uncollapsible{
    bottom: 0;
    left: 0;
    right: auto;
}

.ol-attribution button{
    float: left;
}

img#layerIcon{
    width: 23px;
}
#layers{
    bottom: 4.6em;
    left: 0.2em;
    position: fixed;
}

#overlay {
  position: absolute;
  bottom: 10px;
  left: 10px;
  width: 420px;
}

ul.publications, p.funding, span.licence {
		font-size: 0.81em!important;
	}

@media only screen and (max-width: 768px) {
  #overlay {
    bottom:0;
    left:0;
    width: 100%;
    max-height: 248px;
  }
  .map-overlay{
    width: 100%!important;
  }
  
  #menu {
		height: 100%;
		display: none;
		
		}
	#graphOverlay {
		height: 248px;
	}		
}

p {font-size: 1.1em;}

div#license {
    font-size: 1em;
    text-align: center;
    margin-top: 5px;
}

div#menu { display: none; }

h3 {
    font-size: 20px;
    text-transform: uppercase;
    margin: 11px;
    text-align: center;
    font-weight: bold;
}
h4{
    font-size: 18pt;
    margin: 20px 0 8px 0;
}
ul {
    margin: 4px -10px;
}
span.liLabel{vertical-align: middle; font-size: 1em;}

.ol-scale-line{
    box-shadow: 1px 2px 6px #545353;
    bottom: 0.4px;
    left: 0.5em;
}
.ol-zoom {
    top: 3.5em!important; /*.5em*/
    right: 10px!important;
    left: inherit!important;
    box-shadow: 1px 2px 6px #545353;
}

.ol-zoom-extent {
    top: 8.5em!important; /* 4.643em*/
    right: 10px!important;
    left: inherit!important;
    box-shadow: 1px 2px 6px #545353;
}
.ol-full-screen {
    top: auto !important;
    bottom: 0.4em!important;
    right: 120px!important;
    left: inherit!important;
    box-shadow: 1px 2px 6px #545353;
    z-index: 1;
}

.ol-rotate {
    top: 9em!important;
    left: inherit!important;
    right: 10px!important;
    box-shadow: 1px 2px 6px #545353;
    z-index: 2;
}

.fullscreen:-webkit-full-screen {
    height: 100%;
    margin: 0;
}

.fullscreen:fullscreen {
    height: 100%;
}

.fullscreen {
    margin-bottom: 10px;
    width: 100%;
}

#close {
    position: absolute;
    right: 0;
    padding:1px 4px;
    background:#ccc;
    cursor: pointer;
}

a[data-fancybox] img {
    cursor: zoom-in;
}

.fancybox__backdrop::after {
    content: "";
    position: absolute;
    width: 10%;
    height: 10%;
    filter: blur(2px);
    left: 50%;
    top: 50%;
    transform: scale(11);
    opacity: 0.3;
    background-image: var(--bg-image);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

.fancybox__container {
    --fancybox-bg: #222222;


    --fancybox-thumbs-width: 48px;
    --fancybox-thumbs-ratio: 1;

    --carousel-button-bg: rgb(91 78 76 / 74%);

    --carousel-button-svg-width: 24px;
    --carousel-button-svg-height: 24px;

    --carousel-button-svg-stroke-width: 2.5;
}

.fancybox__nav {
    --carousel-button-svg-width: 24px;
    --carousel-button-svg-height: 24px;
}

.fancybox__nav .carousel__button.is-prev {
    left: 20px;
}

.fancybox__nav .carousel__button.is-next {
    right: 20px;
}

.fancybox__slide {
    padding: 8px 88px;
}

/* Thumbnails */
.fancybox__thumbs .carousel__slide {
    padding: 8px 8px 16px 8px;
}

.is-nav-selected::after {
    display: none;
}

.fancybox__thumb {
    border-radius: 6px;
    opacity: 0.4;
}

.fancybox__thumb:hover,
.is-nav-selected .fancybox__thumb {
    border-radius: 6px;
    opacity: 1;
}

.is-nav-selected .fancybox__thumb::after {
    display: none;
}

#about.fancybox__content{ --fancybox-content-color: #e7e7e3; padding: 10px;background: #222222; height: fit-content!important; }
#intro.fancybox__content{ height: fit-content!important; background: #222222; }
.fancybox__content{ --fancybox-content-bg: #22222200!important; --fancybox-content-color: #e7e7e3; padding: 5px!important;}
.fancybox__backdrop { --fancybox-opacity: 0.95; }

#popup-content p{
    font-size: 0.95em;
    margin: 0!important;
}
.popover-content{
    padding: 5px!important;
    font-size: 1em;
    text-align: center;
    font-weight: bold;
    color: rgba(21,33,38,0.95);
}
.ol-popup {
    position: absolute;
    background-color: white;
    font-size: 17px;
    -webkit-filter: drop-shadow(0 1px 4px rgba(0,0,0,0.2));
    filter: drop-shadow(0 1px 4px rgba(0,0,0,0.2));
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #cccccc;
    bottom: 12px;
    left: -50px;
    width: fit-content;
    white-space: nowrap;
    max-width: 400px;
    z-index: 1100;
}
.ol-popup:after, .ol-popup:before {
    top: 100%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}
.ol-popup:after {
    border-top-color: white;
    border-width: 10px;
    left: 48px;
    margin-left: -10px;
}
.ol-popup:before {
    border-top-color: #cccccc;
    border-width: 11px;
    left: 48px;
    margin-left: -11px;
}
.ol-popup-closer {
    text-decoration: none;
    position: absolute;
    top: 2px;
    right: 8px;
}

#master-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(24, 24, 27, 0.98);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ede5c1;
    font-family: sans-serif;
    text-align: center;
    backdrop-filter: blur(4px);
}

.overlay-content { max-width: 600px; padding: 40px; }
.welcome-p { font-size: 1.2rem; line-height: 1.6; margin-bottom: 25px; color: #fff; }

.myth-btn {
    background-color: #ede5c1; 
    color: #000000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 32px;
    font-size: 0.9rem;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-family: sans-serif;
}

.btn-secondary {
    background: #6a7685;
    border-color: rgba(86, 96, 109, 0.5);
    font-size: 0.75rem;
    margin-top: 15px;
}

.myth-btn:hover { background-color: #92ffbe; transform: translateY(-1px); }

#home-actions {
    min-height: 155px; 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#home-loading-status, #home-buttons {
    width: 100%;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    overflow: hidden; 
    position: fixed; 
}

#map {
    overflow: hidden;
}