/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/*
    Created on : 05.10.2016, 09:13:00
    Author     : Udo
*/
@media (max-device-height: 500px) {
    .mapview {
        width: 100%;
        height: 100vH;
        z-index: 1;
    }
}

@media (max-device-height: 700px) {
    .mapview {
        width: 100%;
        height: 100vH;
        z-index: 1;
    }
}
@media (min-device-height: 701px) {
    .mapview {
        width: 100%;
        height: 100vH;
        z-index: 1;
    }
}

@media (min-device-height: 800px) {
    .mapview {
        width: 100%;
        height: 100vH;
        z-index: 1;
    }
}

@media (min-device-height: 900px) {
    .mapview {
        position: absolute;
        top: 0;
        bottom: 0;
        width: 100%;
        height: 100vH;
        /*width: 100%;*/
        /*height: 600px;*/
        z-index: 1;
    }
}

@media (min-device-height: 1000px) {
    .mapview {
        /*position: absolute;*/
        /*top: 0;*/
        /*bottom: 0;*/
        /*width: 100%;*/
        width: 99%;
        /*height: 600px;*/
        height: 100vH;
        z-index: 1;
    }
}


.map-container {
    width: 100vH;
    height: 100vH;
}


html {
    font-family: sans-serif;
    font-size: 11pt;
}

.legend {
    line-height: 18px;
    color: #555;
    background-color: rgba(255,255,255,0.9);
    width: auto;
}
.legend i  {
    width: 18px;
    height: 18px;
    float: left;
    margin-right: 8px;
    opacity: 0.75;
}

.legend.leaflet-control br {
    clear: both;
}

/* unvisited link */
a:link {
    color: black;
}

/* visited link */
a:visited {
    color: black;
}

/* mouse over link */
a:hover {
    color: red;
}

/* selected link */
a:active {
    color: red;
}


@media (max-device-width: 500px) {
    .datasets {
        padding: 6px 20px;
        font: 14px/16px Arial, Helvetica, sans-serif;
        word-wrap: normal;
        background: white;
        background: rgba(255,255,255,0.95);
        box-shadow: 0 0 15px rgba(0,0,0,0.2);
        border-radius: 5px;
        width: 200px;
        //display: none;
    }
}
@media (min-device-width: 501px) {
    .datasets {
        padding: 6px 20px;
        font: 14px/16px Arial, Helvetica, sans-serif;
        word-wrap: normal;
        background: white;
        background: rgba(255,255,255,0.95);
        box-shadow: 0 0 15px rgba(0,0,0,0.2);
        border-radius: 5px;
        width: 200px;
    }
}



@media (max-device-width: 500px) {
    .info {
        padding: 6px 20px;
        font: 14px/16px Arial, Helvetica, sans-serif;
        word-wrap: normal;
        background: white;
        background: rgba(255,255,255,0.95);
        box-shadow: 0 0 15px rgba(0,0,0,0.2);
        border-radius: 5px;
        width: 100px;
        display: none;
    }
}
@media (min-device-width: 501px) {
    .info {
        padding: 6px 20px;
        font: 14px/16px Arial, Helvetica, sans-serif;
        word-wrap: normal;
        background: white;
        background: rgba(255,255,255,0.95);
        box-shadow: 0 0 15px rgba(0,0,0,0.2);
        border-radius: 5px;
        width: 350px;
    }
}

.info hr{
    margin: 0 0 2px;
}

.info h4,
.datasets h4 {
    margin: 0 0 5px;
    color: #777;
}

.info h5,
.datasets h5 {
    margin: 0 0 5px;
    color: #777;
}

.nopadding {
    padding: 0 !important;
    margin: 0 !important;
}

.ui-dialog { z-index: 1000 !important ;}

/* Style the tab */
.tab {
    overflow: hidden;
    border: 1px solid #ccc;
    background-color: #f1f1f1;
}

/* Style the buttons that are used to open the tab content */
.tab button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
}

/* Change background color of buttons on hover */
.tab button:hover {
    background-color: #ddd;
}

/* Create an active/current tablink class */
.tab button.active {
    background-color: #ccc;
}

/* Style the tab content */
.tabcontent {
    display: none;
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-top: none;
}

.hint {
    color: black;
    font: 12px/14px Arial, Helvetica, sans-serif;
}

.owntabstyle {
    width:100%;
    max-height:100%
}

img.center {
    display: block;
    margin: 0 auto;
}

label {
    padding-left: 0.4em;
}

#canvas_p {
    border: 1px solid #cccccc;
}

#glCanvas{
    width: 70vw;
    height: 70vh;
    display: block;
}

#mapboxglid {
    height: 70vH;
    width: 100%;
    margin: 0 auto;
}


.tab-content > .tab-pane {
    display: block;
    height:0;
    overflow:hidden;
}

.tab-content > .active {
    display: block;
    height:auto;
}

.button-on-screen {
    padding: 2px;
    background: rgba(255,255,255,0.9);
    color: black;
    border: 1px solid black;
    cursor: pointer;
    min-width: 50px;
    min-height: 30px;
    z-index: 9999;
    margin: 5px;
}

.button-on-screen:hover {
    background: rgba(200,200,200,0.9);
}
.button-on-screen:focus {
    outline: none;
}

.button-on-screen#get-mesh {
}

.progress-bar-custom {
    position: relative;
    /*position: absolute;*/
    z-index: 9999;
    /*left: 50%;*/
    /*bottom: 60px;*/
}
.progress-state-custom {
    /*position: relative;*/
    text-align: center;
    /*position: absolute;*/
    z-index: 9999;
    /*left: 50%;*/
    /*bottom: 30px;*/
}

#progress {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.9);
    border: black 1px solid;
    z-index: 9999;
    left: 40%;
    bottom: 30px;
    min-width: 500px;
    height: 60px;
}

.controls{
    position: absolute;
    right: 10px;
    bottom: 30px;
    padding: 2px;
    color: black;
    width: 160px;
    z-index: 9999;
}
 .controls-element {
    background: rgba(255,255,255,0.8);
    border: 1px solid black;
    margin-bottom: 5px;
    border-radius: 5px;
    padding-left: 20px;
    max-width: 150px;
    position: relative;
}
 .controls-element > * {
    margin: 3px 0;
}

#controls-output {
    /*position: relative;*/
    /*padding-bottom: 5px;*/
}

#info_selection {

}

.cotrols-header{
    font-size: 18px;
    font-weight: bold;
}

.cotrols-button{
    position: relative;
    /*text-align: center;*/
    left: 50%;
    transform: translate(-50%, 0%);
    background: rgba(255,255,255,0.9);
    color: black;
    border: 1px solid black;
    cursor: pointer;
}

.cotrols-button:hover {
    background: rgba(200,200,200,0.9);
}
.cotrols-button:focus {
    outline: none;
}