/*updated unminified and changed footer from fixed to absolute 2020-08-13. updated new from VGI 2020-07-24 */
body,
html {
    margin: 0;
    padding: 0;
    background: #fafafa;
    color: #fff;
    font-family: sans-serif;
}
.noselect {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
* {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
#earthCaves {
    width: 100%;
    height: 100vh !important;
    overflow: hidden;
    opacity: 0;
    transition: opacity 1.5s ease-in;
}
#earthCaves.earth-ready {
    opacity: 1;
}
#earthCaves::before {
    content: none;
}
#glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    max-width: 100vh;
    height: 100vh;
    max-height: 100vw;
    transform: translate(-50%, -50%);
}
.footer {
    position: absolute; /*fixed*/
    bottom: 0;
    width: 100%;
    height: 55px;
    line-height: 60px;
    background-color: #f5f5f5;
    z-index: 10;
    opacity: 0.5;
}
.title {
    color: #afadad !important;
    font-size: 1.5rem;
    display: block;
    margin-top: 3px;
    margin-bottom: 4px;
    float: right;
}
.title-highlight {
    color: #ecb101;
    font-weight: 600;
}
.bg-semi-transparent {
    background-color: rgba(0, 0, 0, 0.6) !important;
}
.footer-buttons {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.btn-footer {
    font-size: 0.7rem !important;
    font-weight: 600;
}
.refresh-icon {
    width: 28px;
    height: 28px;
}
.music-icon {
    width: 28px;
    height: 28px;
}
.sound-icon {
    width: 28px;
    height: 28px;
}
.sound-icon {
    width: 28px;
    height: 28px;
}
.help-icon {
    width: 26px;
    height: 26px;
}
.btn:focus,
btn.focus {
    outline: 0;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
}
.btn-outline-warning {
    color: #1d1d1d;
    border: 0;
}
#cave {
    position: absolute;
    left: -300px !important;
    top: 40px !important;
    filter: drop-shadow(3px 3px 8px RGBA(0, 0, 0, 0.8));
    transform: scale(0.001);
    transition: transform 0.1s ease-out;
    border-radius: 1rem;
    outline: 0;
    line-height: 1.2;
    font-size: 2.5rem;
    line-height: 1.2;
    width: max-content;
    padding: 22px 26px;
    border-radius: 4rem;
    border: 10px solid #fff;
    text-shadow: 3px 3px 6px #000;
}
#cave.show {
    transition: transform 0.15s ease-out;
    transform: scale(1);
}
#close-cave {
    position: absolute;
    right: 0;
    top: 0;
    width: 60px;
    height: 60px;
    background: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBmaWxsPSIjZmZmIiBkPSJNMjQgMjAuMTg4bC04LjMxNS04LjIwOSA4LjItOC4yODItMy42OTctMy42OTctOC4yMTIgOC4zMTgtOC4zMS04LjIwMy0zLjY2NiAzLjY2NiA4LjMyMSA4LjI0LTguMjA2IDguMzEzIDMuNjY2IDMuNjY2IDguMjM3LTguMzE4IDguMjg1IDguMjAzeiIvPjwvc3ZnPg)
        center center no-repeat;
    background-size: 28px 28px;
    filter: drop-shadow(0 0 3px #000);
    cursor: pointer;
    pointer-events: all;
}
#close-container {
    width: 100%;
    height: 100%;
    cursor: pointer;
    pointer-events: all;
}
#earthCaves::after {
    content: "";
    position: absolute;
    height: 22%;
    bottom: 4%;
    left: 13%;
    right: 13%;
    background: radial-gradient(ellipse at center, rgba(5, 57, 89, 0.7) 0, rgba(5, 57, 89, 0.55) 20%, rgba(5, 57, 89, 0.2) 40%, rgba(5, 57, 89, 0.1) 50%, rgba(5, 57, 89, 0.02) 60%, rgba(5, 57, 89, 0) 70%, rgba(5, 57, 89, 0) 100%);
}
.modal-header {
    padding: 0 0;
    border-bottom: 6px solid #ecb101;
}
.modal-body {
    background-color: #383737;
    color: #f5f5f5;
    padding: 2em 2em 3em;
}
.modal-title {
    color: #f9f9f9;
    line-height: 1.2;
    font-size: 1.5rem;
}
.modal-subtitle {
    padding-bottom: 30px;
    padding-top: 10px;
    color: #9c9c9c;
    font-size: 1.3rem;
}
.image-credits {
    padding-top: 50px;
    color: #545454;
    font-size: 0.7rem;
}
.close-modal {
    position: absolute;
    top: 10%;
    right: 1%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    background-color: #555;
    color: #fff;
    font-size: 38px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    text-align: center;
    font-size: 38px;
    padding: 0.8rem 1.5rem !important;
    margin: -2.5rem -2.5rem 0 auto !important;
    opacity: 1;
    text-shadow: 3px 3px 3px #000;
}
.close-modal:hover {
    color: #fff;
    text-decoration: none;
}
#helpPanel {
    background-color: #000;
    opacity: 0.75;
}
.help-icon-container {
    width: 25px;
    height: 25px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: inline-block;
    cursor: pointer;
    display: block;
    z-index: 2;
    background-color: transparent;
    position: fixed;
    top: 80px;
    right: 8px;
    -webkit-transition: all 0.1s ease-in;
    -moz-transition: all 0.1s ease-in;
    transition: all 0.1s ease-in;
    -webkit-filter: brightness(1) grayscale(1) opacity(0.4);
    -moz-filter: brightness(1) grayscale(1) opacity(0.4);
    filter: brightness(1) grayscale(1) opacity(0.4);
}
.help-icon {
    width: 25px;
    height: 25px;
}
.modal-help {
    color: #fff;
    padding: 2rem 0;
    text-align: center;
    font-size: 0.8rem;
    background: 0 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    border: 0;
}
.modal-help-col {
    padding: 1em 0 2em;
}
.modal-help-icon {
    width: 60px;
    height: 60px;
    filter: invert(1);
}
.help-close-btn {
    min-height: 50px;
}
.modal-close-btn {
    color: #fff;
    opacity: 1;
    font-size: 2.5rem;
    padding: 14px 17px 14px 16px !important;
}
.modal-close-btn:hover {
    color: #fff;
    opacity: 1;
}
.modal-close-btn:focus {
    outline: 0 auto -webkit-focus-ring-color !important;
}
.close-modal:focus {
    outline: 0 auto -webkit-focus-ring-color !important;
}
.modal-help-title {
    font-weight: 600;
    margin-bottom: 1em;
    padding-right: 5px;
    padding-left: 5px;
}
.modal-help-text {
    font-weight: 300;
    padding-right: 5px;
    padding-left: 5px;
}
.modal-help {
    padding-right: 5px;
    padding-left: 5px;
}
.btn-outline-warning:hover {
    color: #212529;
    background-color: #f7f7f7;
    border-color: #f7f7f7;
}
#spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -1.5em 0 0 -1.5em;
    width: 4em;
    height: 4em;
    background: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBkPSJNMTIgMGMtNi42MjcgMC0xMiA1LjM3My0xMiAxMnM1LjM3MyAxMiAxMiAxMiAxMi01LjM3MyAxMi0xMi01LjM3My0xMi0xMi0xMnptOCAxMmMwIDQuNDE4LTMuNTgyIDgtOCA4cy04LTMuNTgyLTgtOCAzLjU4Mi04IDgtOCA4IDMuNTgyIDggOHptLTE5IDBjMC02LjA2NSA0LjkzNS0xMSAxMS0xMXYyYy00Ljk2MiAwLTkgNC4wMzgtOSA5IDAgMi40ODEgMS4wMDkgNC43MzEgMi42MzkgNi4zNjFsLTEuNDE0IDEuNDE0LjAxNS4wMTRjLTItMS45OTQtMy4yNC00Ljc0OS0zLjI0LTcuNzg5eiIvPjwvc3ZnPg==)
        center center no-repeat;
    background-size: contain;
    animation: spin 1s linear infinite;
    opacity: 0.6;
}
@keyframes spin {
    0% {
        transform: rotate(0);
    }
    100% {
        transform: rotate(360deg);
    }
}
.earthCaves canvas {
    opacity: 0;
    transition: opacity 2s ease;
}
.earthCaves.earth-ready canvas {
    opacity: 1;
}
.hotspot {
    display: block;
    width: 3em;
    height: 3em;
    cursor: pointer;
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
}
.hotspot::before {
    content: "";
    position: absolute;
    left: 0.75em;
    top: 0.75em;
    width: 1.5em;
    height: 1.5em;
    opacity: 0.8;
    background-color: red;
    border-radius: 50%;
}
.hotspot::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 1.5em;
    height: 1.5em;
    border: 1px #fff solid;
    opacity: 0.8;
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(1);
    animation: pulse 1.5s infinite;
}
.hotspot + .hotspot::after {
    animation-delay: 0s;
}
@keyframes pulse {
    0% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1);
    }
    100%,
    50% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(2.5);
    }
}
@media (min-width: 768px) {
    .h5,
    h5 {
        font-size: 2.2rem;
    }
    .btn-rect-lg {
        width: 80px;
        height: 80px;
    }
    .footer {
        height: 76px;
    }
    .btn-footer {
        font-size: 0.9rem !important;
    }
    .refresh-icon {
        width: 40px;
        height: 40px;
    }
    .music-icon {
        width: 40px;
        height: 40px;
    }
    .sound-icon {
        width: 40px;
        height: 40px;
    }
    .help-icon {
        width: 40px;
        height: 40px;
    }
    .title {
        font-size: 2rem;
    }
    #cave {
        position: absolute;
        left: -160px !important;
        top: 20px !important;
        filter: drop-shadow(3px 3px 8px RGBA(0, 0, 0, 0.8));
        transform: scale(0.001);
        transition: transform 0.1s ease-out;
        border-radius: 1rem;
        outline: 0;
        line-height: 1.2;
        font-size: 1.5rem;
        line-height: 1.2;
        width: max-content;
        padding: 12px 24px;
        border-radius: 2rem;
        border: 6px solid #fff;
        text-shadow: 3px 3px 6px #000;
    }
    .modal-title {
        font-size: 1.7rem;
    }
    .modal-subtitle {
        padding-bottom: 30px;
        padding-top: 10px;
        color: #9c9c9c;
        font-size: 1.5rem;
    }
}

@media (min-width:1025px) {
	.footer {
		position: fixed;
		bottom: 0px;
	}
}
