﻿/* reset all elements to standard */
* {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-family: Arial;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}
html, body {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
}

.infoTitle {
    background-color: darkblue;
    color: white;
}

table {border-collapse:collapse;}
td { padding: 1px 3px 1px 3px; }

.infoTitle {
    font-weight: bold;
    text-align: center;
}

/* next entries are for wide screens (PC) only */
@media screen and (min-device-width: 800px) {

    .infoTitle { font-size: 18px; }

    .compassDiv {
        width: 80px;
        height: 80px;
    }
}

/* next entries area form smartphones */
@media screen and (max-device-width: 800px) {
    td {
        font-size: 11px;
    }
    .infoTitle {
        font-size: 14px;
    }
    .compassDiv {
        width: 60px;
        height: 60px;
    }
}

.compassDisc {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 200;
    background: url('../../images/compass3.svg');
    width: 100%;
    height: 100%;
    background-size: 100%;
}

.pageTitle {
    text-align: center;
    vertical-align: middle;
    position: absolute;left:0;top:0;
    padding: 2px;
    font-size: 25px;
    font-weight:bold;
    background-color: darkblue;
    color: white;
    margin:0;border:0;
}

/* the following style is assigned to all panorama divisions by javascript. DO NOT change its name. */
.divPano {
    position: absolute; margin: 0; padding: 0;
}

.panoTitle {
    color:#ffcc77;
    font-family: Arial,Helvetica,sans-serif;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
}

.divMap {
    border: 1px solid darkgreen;
    width:50%;
    z-index:99999;
    position:absolute;
    right:0;
    bottom:0;
}
    .divMap:fullscreen {
        height: 100%;
        width: 100%;
    }
    .divMap:-moz-full-screen {
        height: 100%;
        width: 100%;
    }
    .divMap:-webkit-full-screen {
        height: 100%;
        width: 100%;
    }
    .divMap:-ms-fullscreen {
        height: 100%;
        width: 100%;
    }


.divInfo {
    border: 1px solid blue;
    text-shadow: none;
    color: black;
    background-color: rgba(255,255,255, 1.0);
}

td.label { font-size:10px; }
td.infoCell { font-family:Courier New, Courier, monospace; }

.hpkButton {
    padding: 0;
    margin: 0;
    width: 32px;
    height: 32px;
    background-size: contain;
    background-color: rgba(250, 250, 250, 0.5);
}
    .hpkButton:disabled {
        background-color: rgba(0, 0, 0, 0);
        border:1px;
        filter: invert(0.8);
    }
.hpkButton:hover:enabled {
    box-shadow: 0 0 8px 8px rgba(100,100,100,0.6);
}
.hpkButton:active {
    box-shadow: 0 0 8px 8px rgba(0,0,100,0.8);
}
.fcinButton {
    background-image: url('../../images/fullscreen.svg');
    filter: invert(0.9);
}
.fcexButton {
    background-image: url('../../images/FullscreenExit.svg');
    filter: invert(1);
}
.btnPlay {
    background-image: url('../../images/Play.svg');
    filter: invert(1);
}
.btnStop {
    background-image: url('../../images/Pause.svg');
    filter: invert(1);
}
.btnNext {
    background-image: url('../../images/Next.svg');
    filter: invert(1);
}
.btnPrev {
    background-image: url('../../images/Prev.svg');
    filter: invert(1);
}
.btnMap {
    background-image: url('../../images/Location.svg');
    filter: invert(1);
}
.btnGallery {
    background-image: url('../../images/gallery.svg');
    filter: invert(1);
}
.btnMap {
    background-image: url('../../images/map.svg');
    filter: invert(1);
}
.btnInfo {
    background-image: url('../../images/info.svg');
    filter: invert(1);
}
.btnZoomIn {
    background-image: url('../../images/zoom_in.svg');
    filter: invert(1);
}
.btnZoomOut {
    background-image: url('../../images/zoom_out.svg');
    filter: invert(1);
}
.icoPlus {
    background-image: url('../../images/plus.svg');
    padding: 0;
    margin: 0;
    width: 128px;
    height: 128px;
    background-size: contain;
    background-color: rgba(0, 0, 0, 0);
    filter: invert(1);
}


/* Map Controls */
.ol-zoom, .ol-zoom:hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 30px;
    border: 0;
    border-radius: 0;
    padding: 0;
    margin: 0;
    background-color: transparent !important;
}

.ol-full-screen {
    position: absolute;
    top: 0;
    right: 1px;
    width: 27px;
    border: 0;
    border-radius: 0;
    padding: 0;
    margin: 0;
    background-color: rgba(0,0,0,0)
}

div.tooltip {
    position: relative;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    white-space: nowrap;
    padding:3px;
    font-family: Arial;
    font-weight: bold;
    font-size: 14px;
}

div.bearing {
    position: relative;
    background: rgba(255, 255, 100, 0.8);
    color: black;
    white-space: nowrap;
    font-family: Arial;
    font-weight: bold;
    font-size: 14px;
}

div.bearing-static {
    position: relative;
    background: rgba(0, 0, 127, 0.7);
    color: white;
    white-space: nowrap;
    font-family: Arial;
    font-size: 13px;
}

.selMapDiv, selMapDiv:active, selMapDiv:hover {
    position:absolute;
    left:0;
    bottom: 0;
    width: 142px;
    background-color: transparent !important;
    border-radius:0;
    padding:0;
}

.selMapSel, .selDrawSel {
    margin-left: auto;
    margin-right: auto;
    width: 140px;
    color: white;
    background-color: rgba(0,60,136,0.5);
}


.selDrawDiv, selDrawDiv:active, selDrawDiv:hover {
    position: absolute;
    left: 150px;
    bottom: 0;
    width: 142px;
    background-color: transparent !important;
    border-radius: 0;
    padding: 0;
}


.btnClear {
    position: absolute;
    left: 280px;
    bottom: 0;
    width:120px;
    color: white;
    vertical-align:bottom!important;
}


/* SLIDER is currently NOT used */
/* The switch - the box around the slider */
.switch {
    position: relative; display: inline-block; width: 30px; height: 17px;
}
    /* Hide default HTML checkbox */
    .switch input { display: none; }

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    left: 0; right:0; top:0; bottom: 0;
    background-color: #ccc;
    transition: .4s;
}
    .slider:before {
        position: absolute;
        content: "";
        height: 13px; width: 13px; left: 2px; bottom: 2px;
        background-color:black;
        transition: .4s;
    }

input:checked + .slider { background-color: #ccc; }
input:focus + .slider { box-shadow: 0 0 1px #2196F3; }
input:checked + .slider:before {
    transform: translateX(13px);
    background-color: red;
}

/* rounded sliders */
.slider.round { border-radius: 17px; }
    .slider.round:before { border-radius: 50%;  }

/*================================================================*/