/**************************************************************************************************
 * At-Rules
 **************************************************************************************************/

/* @font-face {
    font-family: mplus-2p-light-sub;
    src: url("/font/mplus-2p-light-sub.ttf?v6");
    unicode-range: U+00-024F;
}

@font-face {
    font-family: monosocialiconsfont-sub;
    src: url("/font/monosocialiconsfont-sub.ttf?v1");
    unicode-range: U+00-024F;
}

@font-face {
    font-family: XinGothic-W4T;
    src: url("/font/XinGothic-W4T.otf");
}

@font-face {
    font-family: XinGothic-W4S;
    src: url("/font/XinGothic-W4Sotf");
} */

/**************************************************************************************************
 * Styling Reset
 **************************************************************************************************/

html, body, div, span, h1, h2, h3, h4, h5, h6, p, a, svg, canvas {
    margin: 0;
    padding: 0;
    border: 0;
    /* font: 1em mplus-2p-light-sub,XinGothic-W4T,Helvetica,arial,freesans,clean,sans-serif; */
    /* font: 1em mplus-2p-light-sub,XinGothic-W4S,XinGothic-W4T,Helvetica,arial,freesans,clean,sans-serif;  */
    font-size: 0.9em;
    -webkit-font-smoothing: subpixel-antialiased; /* safari disables subpixel antialiasing for some reason */
}

html {
    overflow: hidden;
}

html, body, div, span, h1, h2, h3, h4, h5, h6, p, a, svg, canvas, button:not(.btn-spinner) {
    /* font-family: mplus-2p-light-sub,XinGothic-W4S,XinGothic-W4T,Helvetica,arial,freesans,clean,sans-serif;    */
    font-family: Helvetica,arial,freesans,clean,sans-serif;
}

/* #display {
    -ms-touch-action: none;
} */

canvas { 
    touch-action: none;
    -ms-touch-action: none;
}

button {
    font-size: 0.6em;
}

@media (max-width: 825px), (max-height: 700px) {
    html, body, div, span, h1, h2, h3, h4, h5, h6, p, a, svg, canvas {
        font-size: 0.85em;
    }

    #menu p {
        font-size: 0.9em;
    }

    h2{
        font-size: 1.2em;
    }

}

img {
	border: none;
}

/**************************************************************************************************
 * Page Styling
 **************************************************************************************************/

body {
    overscroll-behavior: none;
}

a, .text-button {
    color: #888888;
}

.text-button.highlighted {
    color: #e2b42e;
}

.text-button.disabled {
    color: #444444;
}

a:hover, a:focus, .no-touch .text-button:hover, .no-touch .text-button:focus, .text-button:active {
    color: #ffffff;
    cursor: pointer;
    transition: color 125ms ease-in;
    -webkit-transition: color 125ms ease-in;
}

.text-button > a {
    text-decoration: none;
}

p.invisible, 
span.invisible, 
#sponsor.invisible, 
div.invisible,
rect.invisible,
text.invisible,
path.invisible {
    display: none;
}

svg {
    overflow: hidden;  /* Do not let IE draw outside the bounds of the svg element. */
}

body {
    color: #eeeeee;
    /* background: #000005; */
    background: #303030;    
    height: 100%;    
}

html {
    height: 100%;
}

#warn {
    font-size: 2.0em;
    position: absolute;
    top: 10%;
    left: 2%;
}

#display {
    cursor: default;
}

#map, #animation, #animation2, #overlay, #overlay2, #foreground, #tropical-storm, #tiles {
    position: absolute;
    top: 0;
    left: 0;
    /*will-change: transform;*/
}

#overlay, #overlay2, #foreground, #tropical-storm {
    z-index: 4;
}

#animation, #animation2{
    z-index: 3;
}

#overlay, #overlay2, #tiles, .tc {
    opacity: 1;
    transition: opacity .7s linear;
    -webkit-transition: opacity .7s linear;
}

#overlay.invisible, #overlay2.invisible, #tiles.invisible, .coastline.invisible, .tc.invisible{
    opacity: 0;
    transition: opacity .7s linear;
    -webkit-transition: opacity .7s linear;
}   

.tc.invisible,
#animation-arrow.invisible,
#tc-track-btn-block.invisible {
    display: none;
}

#animation, #animation2, #animation-arrow {
    opacity: 1;
    transition: opacity 500ms linear;
    -webkit-transition: opacity 500ms linear;
}

#animation.invisible, #animation2.invisible {
    opacity: 0;
    transition: opacity 300ms linear;
    -webkit-transition: opacity 300ms linear;
}

#wind-obs, #mslp {
    top: 0;
    left: 0;
}

#sponsor {
    position: absolute;
    text-align: right;
    bottom: 3%;
    right: 2%;
    background-color: rgba(0, 0, 5, 0.6);
    border-radius: 0.5rem/0.5rem;
    padding: 0.5rem 1rem 0.5rem 1rem;
    font-size: 1.0rem;
}

#sponsor:hover #sponsor-hide {
    display: inline;
}

#sponsor a {
    text-decoration: none;
}

#details {
    position: absolute;
    bottom: 3%;
    left: 2%;
    pointer-events: none;  /* This div is just a container--do not let it interfere with operation of the map. */
    z-index: 8;
}

/*	For Play animation	*/
#bottom {
	position: absolute;
	left: 6%;
	right:0;
    bottom:0;
    display: flex;
}

#bottom_wrapper{
	padding: 1em;
}

/* #play-button:hover {
	background-color: #696969;
}     */
/*	End */

#status, #location, #menu {
    font-size: 1.75rem;
}

#status, #location {
    background-color: rgba(0, 0, 5, 0.6);
    border-radius: 0.5rem/0.5rem;
    display: table;
    margin-top: 1rem;
    padding: 0 1rem 0 1rem;
    pointer-events: all;
}

/*#earth {
    font-size: 2.4rem;
	background-color: transparent;
}*/

#menu {
    background-color: rgba(5, 10, 30, 0.85);
    border-radius: 0.5rem/0.5rem;
    overflow: hidden;
    pointer-events: all;

    margin-top: 1rem;
    padding: 0.5rem 1rem 0.5rem 1rem;
    opacity: 1;
    max-height: 34rem;
    transition: opacity 250ms ease, max-height 250ms ease, margin-top 250ms ease;
    -webkit-transition: opacity 250ms ease, max-height 250ms ease, margin-top 250ms ease;
}

#menu.invisible {
    margin-top: 0;
    padding: 0 1rem 0 1rem;
    opacity: 0;
    max-height: 0;
    transition: opacity 250ms ease, max-height 250ms ease, margin-top 250ms ease;
    -webkit-transition: opacity 250ms ease, max-height 250ms ease, margin-top 250ms ease;
}

#progress {
    padding-left: 1rem;
}

#nav-now {
    padding-right: 1rem;
}

#nav-backward, #nav-backward-more, #nav-forward, #nav-forward-more, #option-show-grid {
    padding-left: 1rem;
    padding-right: 1rem;
}

#show-location {
    padding-left: 0.25rem;
    padding-right: 0.25rem;
}

#lang {
    font-size: 1.25rem;
    float: right;
    padding-top: 0.5rem;
}

.social-icon {
    font-size: 2.25rem;
    font-family: monosocialiconsfont-sub,sans-serif;
    padding-left: 0.25rem;
    text-decoration: none;
    position: relative;
    top: 0.1rem;
}

.internal-link {
    text-decoration: none;
}

.sup {
    position: relative;
   	bottom: 0.3em;
   	font-size: 0.6em;
}

.sub {
    position: relative;
   	top: 0.3em;
   	font-size: 0.6em;
}

img.rounded-img {
    border-radius: 50%;
    border: 1px solid #fff;
}

/**************************************************************************************************
 * SVG Element Styling
 **************************************************************************************************/
.placemark {
    stroke: white;
    stroke-width: 1.3;
    fill: #20a0ff;
}

.placemark.invisible{
    display: none;
}

.coastline, .lakes {
    /* stroke: #ffffff; */
    /* stroke: red; */
    stroke: #181818;
    stroke-width: 1.25;
    fill: none;
}

.firefox .coastline, .firefox .lakes {
    /* stroke-width: 1.0; */
    stroke-width: 1.25;
}

.graticule {
    stroke: #505050;
    stroke-width: 1.0;
    fill: none;
}

.hemisphere {
    stroke: #707070;
    stroke-width: 1.25;
    fill: none;
}

.background-sphere {
    stroke: none;
    fill: #303030;
}

.foreground-sphere {
    stroke: #000005;
    stroke-width: 4.0;
    fill: none;
    -moz-user-select: none;  /* Oddly, Win FF sometimes selects this SVG element. Disable. */
    user-select: none;
}

.location-mark {
    stroke: #3aff3a;
    stroke-width: 2.5;
    fill: none;
}

#storm-tooltip.top:before {
    content:'';
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    width: 0;
    height: 0;
    border-top: solid 5px #fff;
    border-left: solid 5px transparent;
    border-right: solid 5px transparent;
}

#storm-tooltip.right:after {
    content:'';
    position: absolute;
    top: 50%;
    left: 0%;
    margin-left: -5px;
    width: 0;
    height: 0;
    border-top: solid 5px transparent;
    border-right: solid 5px #fff;
    border-bottom: solid 5px transparent;
}

#storm-tooltip.left:after {
    content:'';
    position: absolute;
    top: 50%;
    right: 0%;
    margin-right: -5px;
    width: 0;
    height: 0;
    border-top: solid 5px transparent;
    border-left: solid 5px #fff;
    border-bottom: solid 5px transparent;
}

#storm-tooltip.bottom:after {
    content:'';
    position: absolute;
    top: 0%;
    left: 50%;
    margin-top: -5px;
    width: 0;
    height: 0;
    border-left: solid 5px transparent;
    border-right: solid 5px transparent;
    border-bottom: solid 5px #fff;
}

/**************************************************************************************************
 * About Page
 **************************************************************************************************/

#about {
    font-size: 1.5rem;
}

#about h1 {
    font-size: 2.4rem;
    text-align: center;
    padding-top: 2rem;
}

#about div {
    clear: both;
}

#about .blurb {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

#about .blurb img {
    padding-top: 2rem;
}

#about img {
    display: block;
    margin: auto;
}

#about:first-child {
    padding-top: 3rem;
}

#cover {
    border: 1px solid #eeeeee;
}

#about .left {
    width: 50%;
    float: left;
    text-align: right;
}

#about .right {
    width: 50%;
    float: right;
}

#about .center {
    text-align: center;
}

#about .pad {
    visibility: hidden;
}

#closing {
    padding-bottom: 2.5rem;
}

/**************************************************************************************************
 * Menu Footer
 **************************************************************************************************/

#footer {
    list-style-type: none;
    margin: 0 0 0 10px;
    padding: 0 0 5px 0;
    /* position: fixed;
    bottom: 0; */
}

#footer li {
    margin: 8px 0;
    font-size: 14px;
    color: #fff;
    /* display: inline-block; */
    /* width: 32%; */
    /* text-align: center; */
}

#footer li a {
    color: #fff;
    text-decoration: none;
}

#footer .el-switch {
    font-size: 60%; 
    vertical-align: middle;
}

/**************************************************************************************************
 * IE warning
 **************************************************************************************************/
 
#ie-warning {
	font-family: Arial;
}

#ie-warning h2 {
	font-size: 2em;
}
#ie-warning p {
	font-size: 1.2em;
	padding: 10px 0;
}

#ie-warning img {
	width: 40px;
	vertical-align: middle;
}

@media screen and (max-width: 800px) {
    #overlay-nodes{    bottom: 115px !important; }
    div#timeline-control {
        padding: 0px !important;
    }
    #scale-label {
        position: absolute;
        bottom: 70px;
        right: 10px !important;
        z-index: 5;
    }
    div#mainmenu {
        position: fixed;
        z-index: 999;
        left: 0% !important;
        bottom: 90px !important;
    }
div#timeline-container {
    width: 100%;
}div#timeline-control {
    width: 100%;
}div#scale-label {
    bottom: 100px;
}div#mainmenu{    zoom: 0.6;}
}

#overlay-nodes {
    display: none;
}


div#menuleft ul li a {
color: #fff;
text-decoration: none;
}div#menuleft ul li {
color: #fff;
font-size: 18px;
line-height: 1.7;
background: #9a1616;
margin: 5px;
padding: 5px;
list-style-type: none;
text-align: center;
border-radius: 5px;
}div#menuleft {
position: absolute;
top: 0px;
right: 5px;
z-index: 99;
}
