/* common.css */

.Top, .LeftTop, .LeftBottom, .RightTop, .RightBottom, .Bottom, .Left, .Right {
	overflow: hidden;
	box-sizing: border-box;
}
.Center {
    overflow: visible;
    box-sizing: border-box;

}
.Top, .LeftTop, .LeftBottom, .RightTop, .RightBottom, .Bottom, .Left, .Right {
    opacity:0.3;
}
.Top:hover, .LeftTop:hover, .LeftBottom:hover, .RightTop:hover, .RightBottom:hover, .Bottom:hover, .Left:hover, .Right:hover {
    opacity:1;
    cursor: pointer;
}
.LeftTop, .LeftBottom {
}

.Top { padding-bottom: 1em; }
.LeftTop { padding-bottom: 1em; padding-right: 1em; }
.LeftBottom { padding-top: 1em; padding-right: 1em; }
.portrait { padding-top: 1em; padding-bottom: 1em; margin:auto;}
.landscape { padding-left: 1em; padding-right: 1em; margin:auto;}
.RightTop { padding-bottom: 1em; padding-left: 1em; }
.RightBottom { padding-top: 1em; padding-left: 1em; }
.Bottom { padding-top: 1em; }
.Left { padding-right: 1em; }
.Right { padding-left: 1em; }

.topimg, .lefttopimg, .leftbottomimg, .centerimg, .righttopimg, .rightbottomimg, .bottomimg, .leftimg, .rightimg {
    height: 100%;
    width: 100%;
}

body {
    font-family: 'Space Mono';
    line-height: 1.5;
    overflow: hidden;
}
@media only screen and (max-width: 1500px) {
    body {
        font-size: 80%;
    }
}
@media only screen and (max-width: 1200px) {
    body {
        font-size: 70%;
    }
}
@media only screen and (max-width: 1000px) {
    body {
        font-size: 60%;
    }
}
@media only screen and (max-width: 800px) {
    body {
        font-size: 50%;
    }
}
@media only screen and (max-width: 600px) {
    body {
        font-size: 40%;
    }
}

.MultiHexImg {
    margin-top: 0;
    margin-bottom: 0;
    width:inherit;
    box-sizing: border-box;
    padding: 1em;
    opacity:0.6;
}
.MultiHexImg:hover {
    opacity:1;
    cursor: pointer;
}

.Translate {
}

h1,h2,h3,h4 {text-align: center;}

h1 
    { 
    font-family: 'Josefin Sans';
    text-transform: uppercase;
    font-size: 2em;   
} 

h2 
    { 
    font-family: 'Josefin Sans';
    font-size: 1.8em;   
} 

h3 
    { 
    font-family: 'Josefin Sans';
    text-transform: uppercase;
    font-size: 1.6em;   
} 

h4 
    { 
    font-family: 'Josefin Sans';
    font-size: 1.4em;   
} 

p 
    { 
    font-size: 1.2em;   
    line-height: 1.3em;  
    text-align: justify;
}

#zymenu:hover {
    opacity: 1.0;
    cursor: pointer;
}
#zymenu {
    opacity: 0.6;
}
#menuexpanded {
    display: none;
    position: fixed;
    width: 20%;
    height: 16%;
    left: 8%;
    bottom: 10%;
    z-index: 999;
}
#menuexpanded ul {
    list-style-type: none;
    border: 1px solid white;
    margin: 0;
    padding: 0;
    font-size: 1.5em;
    background-color: #0b000e;
}
#menuexpanded li {
    border: 1px solid white;
}
#menuexpanded li a {
    display: block;
    text-align: center;
    text-decoration: none;
    color: white;
    padding-left: 1.5em;
}
#menuexpanded li a:hover {
    background-color: #f0f0f0;
    color: #230126;
}
.portrait svg {
    width: 100%;
    height: auto;
}
.landscape svg {
    height: 100%;
    margin-left: auto;
    margin-right: auto;
}

#worldmap {
    position: fixed;
    left: 10%;
    top: 27%;
}
#worldmap svg {
    /*background: rgba(0,0,30,1);*/
    border-radius: 200px;
}
.land {
    /*fill: #7E0BF2F0;*/
    fill: rgba(58,5,110,0.8);
}
#meshCircle, #meshPath {
  fill: none;
  stroke: rgba(22,147,132,.8);
}
#meshCircle {
  stroke-width: 2px;
}

#videopreview:hover {
    opacity:1;
    cursor: pointer;    
}

#VideoRestore {
    position: absolute;
    right: 0;
    bottom: 0;          
    background-color: rgba(255, 0, 0, 0.5);
    display: none;
    text-align: center;
    z-index: 999;
}
#playbutton {
    position: absolute;
    top: 40%;
    left: 40%;
    font-size: 7em;
}

/*#storybox, #botbox, #activebox, #downloadbox {
    opacity:0.8;
}
#storybox:hover, #botbox:hover, #activebox:hover, #downloadbox:hover, #videopreview:hover {
    opacity:1;
    cursor: pointer;
}
.svgimg {
    pointer-events: none;
}*/

#zylogo {
    z-index: 1;
}
#hexlogo {
    position:fixed;
    top: 1%;
    opacity:0.8;
}
#hexlogo:hover {
    cursor: pointer;
    opacity:1;    
}
#zoomer {
    position:fixed;
    top:20%;
    left:95%;
    height: 60%;
    opacity:0.8;
}
#zoomer:hover {
    cursor: pointer;
    opacity:1;
    /*top:18%;
    left:94.8%;
    height: 64%;*/
}
#thecanvas {
    position: absolute;
    left: 0;
    top: 0;
}
#MultiHexSVGBackground,#RadialGradientOverlay,#topbackground {
    position: fixed;
    left: 0;
    top: 0;    
}
#topbackground {
    height: 100%;
    min-width: 100%;
    z-index: -1;
}

#hexbackgroundsvg {
    position: absolute;
}

@keyframes moveAnimation {
    from { transform : translateX(0em) translateY(0em) }
    50%  { transform : translateX(-4em) translateY(+2em) }
    to   { transform : translateX(0em) translateY(0em) }
}

.Animated {
    -webkit-animation : moveAnimation 5s 1;
    -moz-animation    : moveAnimation 5s 1;
    -o-animation      : moveAnimation 5s 1;
    animation         : moveAnimation 5s 1;
}

ul {    
    list-style-type: decimal;
    list-style-position: inside;
    padding-left: 2em;
    text-indent: -2em;
    font-size: 0.8em;
}

#center img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 100%;    /* can override in db-content */
}


.mapboxgl-marker {
    width: 25px;
    height: 37.5px;
}
#mapselection {
    margin-left: 20%;
}
.coursemarker {
    background-image: url(/inc/img/mapicon_coursestart.svg);
    background-size: 100%;
    background-repeat: no-repeat;
    display: none;
}

/* Notify-me popup – ZappYou theme */
#boxescontainer .linkablesvg > object.svgimg { pointer-events: none; }
body.notify-open { overflow: hidden; }

/* Palette pulled from existing site usage */
:root {
  --zy-bg: #0b000e;        /* menu bg */
  --zy-text: #ffffff;
  --zy-text-dim: #a8a8b3;
  --zy-accent: #169384;    /* mesh stroke teal */
  --zy-deep: #230126;      /* text on hover in menu */
}

.notify-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.65);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100000;
  padding: 16px;
}
.notify-overlay[aria-hidden="false"] { display: flex; }

.notify-modal {
  background: var(--zy-bg);
  color: var(--zy-text);
  width: 100%;
  max-width: 420px;
  border: 1px solid #fff;   /* match menu borders */
  border-radius: 0;         /* no rounded corners */
  padding: 20px;
  box-shadow: 0 18px 50px rgba(0,0,0,.6);
  position: relative;
  font-family: inherit;     /* Space Mono from body */
}
.notify-modal h1,
.notify-modal h2,
.notify-modal h3,
.notify-modal h4 {
  font-family: 'Josefin Sans';
  text-align: center;
  margin: 0 0 12px 0;
}

.notify-close {
  position: absolute;
  top: 8px;
  right: 10px;
  font-size: 22px;
  line-height: 1;
  background: transparent;
  border: 0;
  color: var(--zy-text);
  cursor: pointer;
  padding: 2px 6px;
}
.notify-close:hover,
.notify-close:focus-visible {
  color: var(--zy-accent);
  outline: 1px solid var(--zy-accent);
  outline-offset: 2px;
}

#notify-form { display: grid; gap: 10px; }

#notify-email {
  padding: 10px;
  background: #120216;              /* subtle dark panel */
  color: var(--zy-text);
  border: 1px solid #fff;
  border-radius: 0;                  /* no rounded corners */
  font-size: 16px;
  width: 95%;
  margin-top: 1em;
  caret-color: var(--zy-accent);
}
#notify-email::placeholder { color: var(--zy-text-dim); }
#notify-email:focus-visible {
  outline: 2px solid var(--zy-accent);
  outline-offset: 2px;
}

#notify-submit-btn {
  padding: 10px 14px;
  border: 1px solid var(--zy-accent);
  background: var(--zy-accent);
  color: #0b000e;
  border-radius: 0;                  /* no rounded corners */
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
}
#notify-submit-btn:hover:not([disabled]) {
  filter: brightness(1.1);
}
#notify-submit-btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
#notify-submit-btn[disabled] {
  opacity: .6;
  cursor: default;
}

.notify-msg {
  min-height: 18px;
  font-size: 14px;
  color: var(--zy-text-dim);
}
.notify-msg a {
  color: var(--zy-accent);
  text-decoration: none;
}
.notify-msg a:hover,
.notify-msg a:focus-visible {
  text-decoration: underline;
}

/* Accessibility helpers (unchanged) */
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }