/* main web app container */
.container-fluid {
    margin-top: 60px;
}

.panel-left {
    padding-bottom: 5px;
    margin: 5px;
}

.panel-right {
    padding-bottom: 5px;
    margin: 5px;
    overflow-y: auto;
    max-height: 450px;
}

#loadingSpinner {
    padding-top: 140px;
}

/* for large screens */
@media all and (min-width: 992px) {
    .panel-left {
        position: absolute;
        margin-top: 60px;
        left: 60px;
        z-index: 5;

        -webkit-transition: all .4s ease-in-out;
        -moz-transition: all .4s ease-in-out;
        -o-transition: all .4s ease-in-out;
        transition: all .4s ease-in-out;
    }
    
    .panel-left-closed {
        left: -2000px !important;
        opacity: 0;
    }
    
    .panel-right {
        position: absolute;
        margin-top: 60px;
        right: 20px;
        z-index: 5;

        -webkit-transition: all .4s ease-in-out;
        -moz-transition: all .4s ease-in-out;
        -o-transition: all .4s ease-in-out;
        transition: all .4s ease-in-out;  
    }

    .panel-right-closed {
        right: -2000px !important;
        opacity: 0;
    }
    
    .panel-bottom {
        position: absolute;
        bottom: 20px;
        z-index: 5;
        background-color: white;    

        -webkit-transition: all .4s ease-in-out;
        -moz-transition: all .4s ease-in-out;
        -o-transition: all .4s ease-in-out;
        transition: all .4s ease-in-out;  
    }

    .panel-bottom-closed {
        bottom: -2000px !important;
        opacity: 0;
    }
    
    #flights-panel {
        margin-top: 0px;
    }
    
    #search-panel {
        background-color: white;
        margin-top: 60px;
        margin-left: 15px;
        top: 10%;
    }
    
    #control-3d-panel{
        background-color: white;
        margin-top: 60px;
        margin-left: 15px;
        top: 10%;
    }
    
    #range3d {
        padding-top:10px;
    }
    
    #searchInput {
        /*margin-top:2px;*/
        box-shadow: none;
        outline: 0;
        border: 0px solid black;
        border-bottom: 1px solid black; 
    }
    
    #linked-flight-panel {
        margin-top: 15px;
        top: 10%;
    }
    
    #flights-filter-panel {
        left: 37%;
        z-index: 1;
        margin-top: 0px;
    }
    
    #layers-panel {
        padding: 0px;
        margin-left: 15px;
    }
    
    #weather-layers-panel {
        top: 10%;
        margin-left: 15px;
        left: 120px;
    }
    
    #flight-layers-panel {
        top: 10%;
        margin-left: 15px;
        left: 120px;
    }
}

/* for small screens */
@media all and (max-width: 992px) {    
    #replayDateTime,     
    #replayNumber,
    .map-controls,.map-controls-info,
    .cesium-viewer-toolbar {
        display:none;
    }
    
    .panel-left {
        display:none;
        z-index: 100;
    }
    
    .panel-left-closed {
        display: none;
    }
    
    .panel-right {
        z-index: 100;
    }
    
    .panel-right-closed {
        display: none;
    }
    
    .panel-bottom {
        position: absolute;
        bottom: 20px;
        z-index: 5;
    }
    
    .panel-bottom-closed {
        display: none;
    }
    
    #flights-filter-panel {
        z-index: 110;
    }
    
    #layers-panel {
        padding: 0px;
        margin-left: 75px;
    }
}

.panel-group {
    margin-top: 5px;
}

#flights-panel {
    background-color: transparent;
    box-shadow: none;
}

#linked-flight-button {
    background-image: url(../pictures/replay.png);
}

#flights-button {
    background-image: url(../pictures/history.png);
}

#search-control {
    background-image: url(../pictures/search.png);
}

#btn-3d-control {
    background-image: url(../pictures/3dmod.png);
}

#layers-button {
    background-image: url(../pictures/earth2.png);
}

#weather-layers-button {
    background-image: url(../pictures/weather.png);
}

#flight-layers-button {
    background-image: url(../pictures/flight.png);
}

#attach-view-button {
    background-image: url(../pictures/eye.png);
}

#areas-button {
    background-image: url(../pictures/areas.png);
}

#airports-button {
    background-image: url(../pictures/airports.png);
}

#navaids-button {
    background-image: url(../pictures/navaids.png);
}

.map-controls,.map-controls-info {
    position: absolute;
    margin-top: 60px;
    top: 10%;
    z-index: 10;
}

.loading-title {
    padding: 10px;
    border-width: 1px;
    z-index: 10000;
    background-color: white;
    color: black;
    overflow-y: auto;
    overflow-x: hidden;
    box-shadow: 0px 0px 10px #000000;
    position: relative;
    left: 0%;
    top: 50%;
}

#loading-panel {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    top: -100em;
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(1,1,1,0.5);
    z-index: 1000;
    -webkit-transition: all .6s ease-in-out;
    -moz-transition: all .6s ease-in-out;
    -o-transition: all .6s ease-in-out;
    transition: all .6s ease-in-out;    
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

#loadingScreenSpinner {
    position: absolute;
    left: 100px;
    margin-top:15px;
}

.loading-start {
    top: 0px !important;
    cursor: wait;
}

h3 {
    font-weight: bold;
    margin: 10px;
}

#rangeContainer {
    background-color: transparent;
}

.range-title {
    padding: 5px;
}

#replayNumber {
    margin: 5px;
}

tr.sub-table{
    font-size: 1em;
}

td.sub-table{
    font-size: 1em;
}

input[type=range] {
  -webkit-appearance: none; /* Hides the slider so that custom slider can be made */
  width: 100%; /* Specific width is required for Firefox. */
}

input[type=range]:focus {
  outline: none; /* Removes the blue border. You should probably do some kind of focus styling for accessibility reasons though. */
}

input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  margin-top: -0.4em;
  height: 1em;
  width: 1em;
  border-radius: 1em;
  background: #f62459;
  cursor: pointer;
}
input[type=range]::-moz-range-thumb {
  height: 1em;
  width: 1em;
  border-radius: 1em;
  background: #f62459;
  cursor: pointer;
}
input[type=range]::-ms-thumb {
  height: 1em;
  width: 1em;
  border-radius: 1em;
  background: #f62459;
  cursor: pointer;
}

input[type=range]::-webkit-slider-runnable-track {
  width: 100%;
  height: 4px;
  cursor: pointer;
  background-color: #59abe3;
}

input[type=range]:active::-webkit-slider-runnable-track {
  background-color: #f62459;
}

input[type=range]::-moz-range-track {
  width: 100%;
  height: 4px;
  cursor: pointer;
  background-color: #59abe3;
}

input[type=range]::-ms-track {
  width: 100%;
  cursor: pointer;
  background: transparent;
  border-color: transparent;
  color: transparent;
  height: 4px;
  background-color: #59abe3;
}
input[type=range]::-ms-fill-lower {
  background-color: #59abe3;
}
input[type=range]::-ms-fill-upper {
  background-color: #59abe3;
}
input[type=range]:focus::-ms-fill-lower {
  background-color: #f62459;
}
input[type=range]:focus::-ms-fill-upper {
  background-color: #f62459;
}