/*
*
*Warning and Disclaimer:

* This file contains lots of messy experimental code.
* Feel free to rewrite any parts of it.
* I am a css newbie. Sometimes I did not know what I was writing.
*/

#time-slider{
    width:515px; 
    margin:30px 0 0 -255px; 
    position:absolute; 
    display:none; 
    left:50%;
}

#time-slider #slider{
    width: 235px;
    display:inline-block;
    vertical-align:middle;
    margin-right:5px;
}

@media screen and (max-width: 850px) {
    #time-slider #slider{
        display:none;
    }

    #time-slider{
        margin:40px 0px 0px -140px;
        width:280px;
    }

    #time{
        margin-top:40px !important;
        font-size:200% !important;
    }
}

@media screen and (max-width: 320px) {
    #time{
        display:none;
    }
}

@media screen and (max-width: 425px) {
    #home, .cesium-credit-imageContainer{
        display:none;
    }

    #color-bar{
        display:none !important;
    }
    
    #time-slider{
        margin:40px 0px 0px 0px !important;
	width:280px !important;
	left:auto;
	right:0;
    }

    #time{
        margin-top:40px !important;
        font-size:150% !important;
    }

    #time-list-div{
        display:none;
    }

    #speed-list-div{
        display:none;
    }

    #graticule-btn{
        top:auto !important;
	bottom:20px;
	left:5px !important;
    }

    .rift-info-div, #rift-info, #rift-legend, .query-dlg, .entity-list-dlg, #filter-btn{
        display:none !important;
    }
} 

@media screen and (max-width: 320px) {
    #about{
        display:none !important;
    }
}

body {
    background: #000;
    color: #eee;
    font-family: sans-serif;
    font-size: 9pt;
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.fullSize {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    border: none;
    width: 100%;
    height: 100%;
}

#loadingOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 1.0;
    background-color: #000;
    z-index: 1000;
    overflow: auto;
}

#loadingOverlay h1 {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 5em;
        height: 2em;
        margin: -1em 0 0 -2.5em;
        color: #fff;
        font-weight: bold;
}

#toolbar {
    margin: auto;
    padding: 2px 5px;
}

.top,.bottom {
    display: block;
    position: absolute;
    border: none;
    width: 100%;
    height: 50%;
    box-sizing: border-box;
}

.top {
    top: 0;
    left: 0;
    border-bottom: solid 2px #888;
}

.bottom {
    bottom: 0;
    left: 0;
}

#topToolbar,#bottomToolbar {
    margin: auto;
    padding: 2px 5px;
    position: absolute;
    left: 0;
}

#topToolbar {
    top: 0;
}

#bottomToolbar {
    top: 85%;
}


#toolbar {
	width: 900px;
	margin: 0 auto;
	opacity: 0.85;
}
.ui-dialog {
	opacity: 0.9;
}
.ui-icon-blank {
	background-position: -224px -192px;
}
#upload-file-container {
  /*  width:100px;
	height:40px;*/
	position: relative;
	overflow: hidden;    
}

#upload-file-container input {
	position: absolute;
	width: 1px;
	height:1px;
	top: 0;
	right: 0;
	margin: 0;
	/*filter: alpha(opacity=0);
	opacity: 0;*/
	direction: ltr;
	cursor: pointer;
}

#projections {
	top: 0;
	margin-right:0;
    position: absolute;
	right: 0;
}

#loadableFiles .ui-selecting { background: #FECA40; }
#loadableFiles .ui-selected { background: #F30014; color: white; }
#loadableFiles { list-style-type: none; margin: 0; padding: 0; width: 60%; }
#loadableFiles li { margin: 3px; padding: 0.4em; font-size: 1.4em; height: 18px; }

.loaded-files-widget{width: 20%; height: 70%; position: absolute; top: 15%; right: 2%; opacity:0.8;}

.rift_obliquity_info_panel {
    position: absolute; 
    overflow: hidden;
    display:none;
    white-space: nowrap; 
    top:20px; 
    border-radius:5px; 
    height:620px; 
    width:400px; 
    background: rgba(48,51,54,0.8); 
    color:#eee;
    padding: 10px 20px 0px 20px;
    text-align: center;"
}

.rift_obliquity_info_panel #content{
    margin-bottom:15px;
}
.rift_obliquity_info_panel #content #download-div{
    margin-top:5px;
}

.ui-selectmenu-menu #time-list-menu{
    overflow-y: scroll;
    overflow-x: hidden;
    height: 500px;
}

svg{
    background:white;
}

.axis path,
.axis line{
fill:none;
    stroke: black;
shape-rendering: crispEdges;
}

.line{
    fill:none;
    stroke: black;
    stroke-width: 1.5px;
}
