/* 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;
}