/*
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 : Sep 30, 2016, 8:07:33 PM
    Author     : pbelb
*/

html, body, .map {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

vspace {
    line-height: 20px;
}
label {
    vertical-align: bottom;
    margin-top: 10px;
    margin-bottom: 1px;
}

label.radio {
    margin-top: 0px;
    margin-bottom: 0px;
    vertical-align: middle;
    top: 0px;
}
label.checkbox {

    margin-bottom: 0px;
    margin-top: 0px;
    vertical-align: middle;
    top: 0px;
}
following.label {
    margin-top: 0px;
    margin-bottom: 0px;
    vertical-align: middle;
    top: 0px;
}
.options-panel {
    position: absolute;
    top: 130px;
    left: 8px;
    background: rgba(255,255,255,0.7);
    border-radius: 2px;
    padding: 2px;
}

.sag-layer-switch {
    position: absolute;
    top: 240px;
    left: 8px;
    background: rgba(255,255,255,0.7);
    border-radius: 2px;
    padding: 2px;
}
.layer-switch {
    position: absolute;
    top: 65px;
    left: 8px;
    background: rgba(255,255,255,0.7);
    border-radius: 2px;
    padding: 2px;
}
.station-search {
    position: absolute;
    top: 95px;
    left: 8px;
    background: rgba(255,255,255,0.7);
    border-radius: 2px;
    padding: 2px;
}

.ol-touch .sag-layer-switch {
    top:250px;
}
.ol-touch .options-panel {
    top:210px;
}
.ol-touch .layer-switch {
    top:80px;
}
.ol-touch .station-search {
    top:120px;
}

.options-panel a {
    display: block;
    color: white;
    font-size: 16px;
    font-family: 'Lucida Grande',Verdana,Geneva,Lucida,Arial,Helvetica,sans-serif;
    font-weight: bold;
    margin: 1px;
    text-decoration: none;
    text-align: center;
    border-radius: 2px;
    height: 22px;
    width: 22px;
    background: rgba(0,60,136,0.7);
}            
.sag-layer-switch a {
    display: block;
    color: white;
    font-size: 16px;
    font-family: 'Lucida Grande',Verdana,Geneva,Lucida,Arial,Helvetica,sans-serif;
    font-weight: bold;
    margin: 1px;
    text-decoration: none;
    text-align: center;
    border-radius: 2px;
    height: 22px;
    width: 25px;
    background: rgba(0,60,136,0.7);
}
.layer-switch a {
    display: block;
    color: white;
    font-size: 16px;
    font-family: 'Lucida Grande',Verdana,Geneva,Lucida,Arial,Helvetica,sans-serif;
    font-weight: bold;
    margin: 1px;
    text-decoration: none;
    text-align: center;
    border-radius: 2px;
    height: 22px;
    width: 22px;
    background: rgba(0,60,136,0.7);
}
.station-search a {
    display: block;
    color: white;
    font-size: 16px;
    font-family: 'Lucida Grande',Verdana,Geneva,Lucida,Arial,Helvetica,sans-serif;
    font-weight: bold;
    margin: 1px;
    text-decoration: none;
    text-align: center;
    border-radius: 2px;
    height: 22px;
    width: 22px;
    background: rgba(0,60,136,0.7);
}    
.ol-touch .options-panel a {
    font-size: 20px;
    height: 30px;
    width: 30px;
    line-height: 26px;
}            
.ol-touch .sag-layer-switch a {
    font-size: 20px;
    height: 30px;
    width: 30px;
    line-height: 26px;
}
.ol-touch .layer-switch a {
    font-size: 20px;
    height: 30px;
    width: 30px;
    line-height: 26px;
}
.ol-touch .station-search a {
    font-size: 20px;
    height: 30px;
    width: 30px;
    line-height: 26px;
}            
.sag-layer-switch a:hover {
    background: rgba(0,60,136,0.7);
}  
.layer-switch a:hover {
    background: rgba(0,60,136,0.7);
}      
.station-search a:hover {
    background: rgba(0,60,136,0.7);
}

.sag-layer-switch-list {
    position: absolute;
    top: 10px;
    min-height: 100px;
    max-height: 100%;
    left: 50px;
    background: rgba(0,60,136,0.7);
    color: rgba(255,255,255,1);
    border-radius: 4px;
    padding: 2px;
    overflow-y: scroll;
}

.sag-layer-switch-list a {
    color: white;
    font-size: 16px;
    font-family: 'Lucida Grande',Verdana,Geneva,Lucida,Arial,Helvetica,sans-serif;
    font-weight: bold;
    margin: 1px;
    text-decoration: none;
    text-align: center;
    border-radius: 2px;
    height: 96px;
    background: rgba(0,60,136,0.7);
}


.need-layer-switch-list {
    position: absolute;
    top: 10px;
    min-height: 100px;
    max-height: 100%;
    left: 50px;
    background: rgba(0,60,136,0.7);
    color: rgba(255,255,255,1);
    border-radius: 4px;
    padding: 2px;
    overflow-y: scroll;
}

.need-layer-switch-list a {
    color: white;
    font-size: 16px;
    font-family: 'Lucida Grande',Verdana,Geneva,Lucida,Arial,Helvetica,sans-serif;
    font-weight: bold;
    margin: 1px;
    text-decoration: none;
    text-align: center;
    border-radius: 2px;
    height: 96px;

    background: rgba(0,60,136,0.7);
}


.options-list {
    position: absolute;
    top: 10px;
    min-height: 100px;

    left: 50px;
    background: rgba(0,60,136,0.7);
    color: rgba(255,255,255,1);
    border-radius: 4px;
    padding: 2px;
}
.ol-touch .options-list {
    top:10px;
}
.options-list a {
    color: white;
    font-size: 16px;
    font-family: 'Lucida Grande',Verdana,Geneva,Lucida,Arial,Helvetica,sans-serif;
    font-weight: bold;
    margin: 1px;
    text-decoration: none;
    text-align: center;
    border-radius: 2px;
    height: 96px;

    background: rgba(0,60,136,0.7);
}
.ol-touch .options-list a {
    font-size: 12px;
    height: 300px;
    width: 100px;
    line-height: 14px;
}
.options-list a:hover {
    background: rgba(0,60,136,0.7);
}

.layer-switch-list {
    position: absolute;
    top: 10px;
    min-width: 100px;
    left: 50px;
    background: rgba(0,60,136,0.8);
    color: rgba(255,255,255,1);
    border-radius: 4px;
    padding: 2px;
    line-height: 0px;
    white-space: nowrap;
}
.ol-touch .layer-switch-list {
    overflow-x: scroll;
    overflow-y: scroll;
    max-width: 80%;
    max-height: 80%;
    top:10px;
}
.layer-switch-list a {
    color: white;
    font-size: 16px;
    font-family: 'Lucida Grande',Verdana,Geneva,Lucida,Arial,Helvetica,sans-serif;
    font-weight: bold;
    margin: 1px;
    text-decoration: none;
    text-align: center;
    border-radius: 2px;
    height: 96px;

    background: rgba(0,60,136,0.7);
    line-height: 14px;
}
.ol-touch .layer-switch-list a {
    font-size: 12px;
    height: 300px;
    line-height: 14px;
}
.layer-switch-list a:hover {
    background: rgba(0,60,136,0.7);
}      

.station-search-list {
    position: absolute;
    top: 10px;
    height: 400px;
    width: 300px;
    left: 45px;
    background: rgba(0,60,136,0.7);
    color: rgba(255,255,255,1);
    border-radius: 4px;
    padding: 2px;
    overflow: scroll;
}
.ol-touch .station-search-list {
    overflow-x: scroll;
    overflow-y: scroll;
    max-width: 80%;
    max-height: 80%;
    top:10px;
}
.station-search-list a button {
    color: white;
    font-size: 12px;
    font-family: 'Lucida Grande',Verdana,Geneva,Lucida,Arial,Helvetica,sans-serif;
    font-weight: normal;
    margin: 1px;
    text-decoration: none;
    text-align: center;
    border-radius: 2px;
    height: 60px;
    width: 296px;
    background: rgba(0,60,136,0.7);
}

.ol-touch .station-search-list a button {
    overflow-x: scroll;
    overflow-y: scroll;
    max-width: 80%;
    max-height: 80%;
    font-size: 12px;
    height: 300px;
    width: 100px;
    line-height: 12px;
}
.station-search-list a:hover {
    background: rgba(0,60,136,0.7);
}      

.mouse-position {
    font-size: 13px;
    font-family: 'Lucida Grande',Verdana,Geneva,Lucida,Arial,Helvetica,sans-serif;
    position: absolute;
    top: 4px;
    height: 18px;
    max-width: 240px;
    min-width: 100px;
    right: 8px;
    background: rgba(0,60,136,0.7);
    color: rgba(255,255,255,1);
    border-radius: 4px;

}

.mouse-position2 {
    font-size: 13px;
    font-family: 'Lucida Grande',Verdana,Geneva,Lucida,Arial,Helvetica,sans-serif;
    position: absolute;
    bottom: 22px;
    height: 18px;
    max-width: 300px;
    min-width: 0px;
    right: 8px;
    background: rgba(0,60,136,0.7);
    color: rgba(255,255,255,1);
    border-radius: 4px;
}

@keyframes update-animate {
    from { opacity: 0;}
    to { opacity: 1;}
}

.update {
    position: absolute;
    font-size: 13px;
    font-family: 'Lucida Grande',Verdana,Geneva,Lucida,Arial,Helvetica,sans-serif;
    top: 4px;
    height: 18px;
    max-width: 360px;
    min-width: 50px;
    left: 50%;
    background: rgba(0,60,136,0.7);
    color: rgba(255,255,255,1);
    border-radius: 4px;
    padding: 2px;    
    vertical-align: -50%;
    text-align: center;
    transform: translate(-50%,0);
    animation-name: update-animate;
    animation-duration: 120s;
}

.customTitle {
    position: absolute;
    font-size: 16px;
    font-family: 'Lucida Grande',Verdana,Geneva,Lucida,Arial,Helvetica,sans-serif;
    top: 4px;
    height: 20px;
    max-width: 360px;
    min-width: 50px;

    left: 50%;
    background: rgba(0,60,136,0.7);
    color: rgba(255,255,255,1);
    border-radius: 4px;
    padding: 2px;    
    vertical-align: -50%;
    text-align: center;
    transform: translate(-50%, 0%);
}


.following {
    position: absolute;
    font-size: 13px;
    font-family: 'Lucida Grande',Verdana,Geneva,Lucida,Arial,Helvetica,sans-serif;
    top: 30px;
    height: 20px;
    width: auto;
    right: 8px;
    background: rgba(0,60,136,0.7);
    color: rgba(255,255,255,1);
    border-radius: 4px;
    padding: 2px;    
    vertical-align: -50%;
}

.inform {
    font-size: 13px;
    font-family: 'Lucida Grande',Verdana,Geneva,Lucida,Arial,Helvetica,sans-serif;
    position: relative;
    max-width: 400px;
    width: auto;
    background: rgba(0,60,136,1.0);
    color: rgba(255,255,255,1);
    border-radius: 4px;
    padding: 6px;    
}
.inform-old {
    font-size: 13px;
    font-family: 'Lucida Grande',Verdana,Geneva,Lucida,Arial,Helvetica,sans-serif;
    position: absolute;
    top: 0px;
    max-width: 400px;
    width: auto;
    background: rgba(0,60,136,1.0);
    color: rgba(255,255,255,1);
    border-radius: 4px;
    padding: 2px;    
    vertical-align: -50%;
    overflow-wrap: normal;
}

.activeFullLead {
    position: absolute;
    font-size: 13px;
    font-family: 'Lucida Grande',Verdana,Geneva,Lucida,Arial,Helvetica,sans-serif;
    top: 60px;
    height: 20px;
    width: auto;
    right: 8px;
    background: rgba(0,60,136,0.7);
    color: rgba(255,255,255,1);
    border-radius: 4px;
    padding: 2px;    
    vertical-align: -50%;
}

.activeFullLast {
    position: absolute;
    font-size: 13px;
    font-family: 'Lucida Grande',Verdana,Geneva,Lucida,Arial,Helvetica,sans-serif;
    top: 90px;
    height: 20px;
    width: auto;
    right: 8px;
    background: rgba(0,60,136,0.7);
    color: rgba(255,255,255,1);
    border-radius: 4px;
    padding: 2px;    
    vertical-align: -50%;
}

.activeHalfLead {
    position: absolute;
    font-size: 13px;
    font-family: 'Lucida Grande',Verdana,Geneva,Lucida,Arial,Helvetica,sans-serif;
    top: 120px;
    height: 20px;
    width: auto;
    right: 8px;
    background: rgba(0,60,136,0.7);
    color: rgba(255,255,255,1);
    border-radius: 4px;
    padding: 2px;    
    vertical-align: -50%;
}

.activeHalfLast {
    position: absolute;
    font-size: 13px;
    font-family: 'Lucida Grande',Verdana,Geneva,Lucida,Arial,Helvetica,sans-serif;
    top: 150px;
    height: 20px;
    width: auto;
    right: 8px;
    background: rgba(0,60,136,0.7);
    color: rgba(255,255,255,1);
    border-radius: 4px;
    padding: 2px;    
    vertical-align: -50%;
}

.ol-touch .ol-attribution {
    display: none;
}            
.ol-logo {
    display: none;
}    
.popover {
    z-index: auto;
}
.popover-content {
    min-width: 180px;
}   
.ol-popup {
    display: none;
    position: absolute;
    background-color: white;
    -moz-box-shadow: 0 1px 4px rgba(0,0,0,0.2);
    -webkit-filter: drop-shadow(0 1px 4px rgba(0,0,0,0.2));
    filter: drop-shadow(0 1px 4px rgba(0,0,0,0.2));
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #cccccc;
    bottom: 12px;
    left: -50px;
    max-width: 360px;
    min-width: 250px;
    overflow: auto;
}
.ol-popup:after, .ol-popup:before {
    top: 100%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    overflow: auto;
}
.ol-popup:after {
    border-top-color: white;
    border-width: 10px;
    left: 48px;
    margin-left: -10px;
}
.ol-popup:before {
    border-top-color: #cccccc;
    border-width: 11px;
    left: 48px;
    margin-left: -11px;
}
.ol-popup-closer {
    text-decoration: none;
    position: absolute;
    top: 2px;
    right: 8px;
}
.ol-rotate-reset {
    position: absolute;

    top: -5px;
    right: 135px;
}
.ol-full-screen {
    bottom: 20px;
    top: 200px;
    left: 8px;
    right: initial;
    background-color: rgba(255,255,255,0);
    width: 20px;
    height: 20px;
}
.ol-touch .ol-full-screen {
    top: 300px;
}

.radio input[type="radio"], .checkbox input[type="checkbox"] {
    margin-right: 5px;
}