@font-face {
    font-family: 'NotesEsaRegular';
    font-weight: normal;
    font-style: normal;
    src: url('NotesEsaReg.ttf');
/*    src: url('https://www.esa.int/extension/esa_ext/design/esn2/stylesheets/NotesEsaReg.eot') format('embedded-opentype'),
         url('https://www.esa.int/extension/esa_ext/design/esn2/stylesheets/NotesEsaReg.ttf') format('truetype'),
         url('https://www.esa.int/extension/esa_ext/design/esn2/stylesheets/NotesEsaReg.svg#NotesEsaReg') format('svg'); */
}

body {
    font-family: NotesEsaRegular, Helvetica, Arial, sans-serif;
    background: black;
    color: white;
    padding: 0px;
    margin: 0px;
    overflow-x: hidden;
    overflow-y: scroll;
}

.nobreak {
    white-space: nowrap;
}

a {
    color: #333399;
}

#controls {
    transition-property: right;
    transition-duration: 0.25s;
    width: 280px;
    background: #bbbbbb;
    color: black;
    position: fixed;
    top: 10%;
    right: -260px;
    padding-left: 20px;
    padding-bottom: 10px;
    border: solid #666666;
    border-right: none;
    box-shadow: 0 1px 3px black;
    border-radius: 1.5em 0em 0em 1.5em;
    z-index: 3;
}

#controls:hover {
    right: 0px;
}

#controls ul {
    padding-left: 20px;
}

#controls li {
    margin-bottom: 15px;
    list-style: square outside;
}

#zoom {
    width: 180px;
}

#controls form {
    display: inline;
}

#emailaddr {
    width: 12em;
}

#authLink, #emailLink {
    display: none;
}

#VRlink {
    display: none;
}

.vr360 #VRlink {
    display: inline;
}

#tracking {
    display: none;
}

.tracking #tracking {
    display: inline;
}

#fullscreen {
    display: none;
}

.fullscreen #fullscreen {
    display: inline;
}

#container {
    position: relative;
    height: 100vmin;
    width: 100vmin;
    /*max-height: 1024px;
    max-width: 1024px;*/
    border: none;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

#container:fullscreen {
    width: 100%;
    height: 100%;
}

#container.vr360 {
    height: 100vh;
    width: 100vw;
    /*max-width: 2048px;
    max-height: 1024px;*/
}

#canvas {
    cursor: move;
    cursor: grab;
    cursor: -moz-grab;
    cursor: -webkit-grab;
    width: 100%;
    height: 100%;
    margin: 0px;
}

#canvas:active {
    cursor: grabbing;
    cursor: -moz-grabbing;
    cursor: -webkit-grabbing;
}

#canvas.dragdrop {
    border: 4px dashed white;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

#instructions {
    position: absolute;
    color: #CCCCCC;
    top: 0px;
    left: 0px;
    margin-left: 10px;
    margin-top: 10px;
    font-size: 80%;
    display: none;
}

#logoESA {
    position: absolute;
    width: 20%;
    min-width: 80px;
    max-width: 150px;
    bottom: 0px;
    left: 0px;
    z-index: 2;
    border: 0px;
    margin: 0px;
    margin-bottom: 10px;
    margin-left: 10px;
}

#logoACT {
    position: absolute;
    width: 20%;
    min-width: 30px;
    max-width: 100px;
    bottom: 0px;
    right: 10px;
    z-index: 2;
    border: 0px;
    margin: 0px;
    margin-bottom: 10px;
    margin-right: 10px;
}

#spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 10;
}

.complete #spinner {
    display: none;
}

#attribution {
    color: #888888;
    font-size: 80%;
    text-align: right;
    padding-right: 50px;
}

#attribution a {
    color: #999999;
}

#explanation {
    padding: 1%;
    padding-left: 4%;
    padding-right: 4%;
    margin-bottom: 10px;
}

#explanation a {
    color: #8888FF;
}

.more {
    height: 0px;
    transition-property: height;
    transition-duration: 0.5s;
    overflow: hidden;
}

.figure {
    text-align: center;
    font-size: 80%;
}

#explanation a.moreLink {
    color: #777777;
}

#explanation a.lessLink {
    color: #777777;
}

@media only screen and (max-width: 786px) {
    #controls {
        transition: none;
        background: #aaaaaa;
        border: solid #666666;
        border-top: none;
        box-shadow: none;
        border-radius: 0.0em 0.0em 1.5em 1.5em;
        margin: 0px;
        position: relative;
        top: 0px;
        right: 0px;
        width: 90vmin;
        margin-left: auto;
        margin-right: auto;
        display: block;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }

    #controls h2 {
        margin-top: 0px;
        padding-top: 15px;
    }

    #controls ul {
        padding: 0px;
    }

    #controls li {
        margin-bottom: 15px;
        list-style: square outside;
        display: block;
    }

    #zoom {
        width: 80%;
    }

    #container {
        margin-bottom: 0px;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }
}
