﻿
html {
    background-color: #e2e2e2;
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%
}

body {
    background-color: #fff;
    color: #333;
    font-size: 14px;
    font-family: "Segoe UI", Verdana, Helvetica, Sans-Serif;
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%
}

#map 
{
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

.ol-popup
{
    display: none;
    position: absolute;
    background-color: white;
    padding: 0 15px 15px 15px;
    border-radius: 10px;
    border: 1px solid #cccccc;
    bottom: 12px;
    left: -50px;
    min-width: 365px;
    box-shadow: 5px 5px 20px #182019;
    z-index:3;
}

.ol-popup:after, .ol-popup:before
{
    top: 100%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}
.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;
    right: 8px;
}
.ol-popup-closer:after
{
    content: "✖";
    font-weight: bold;
}

div.popup-content-objects-title-value {
    font-weight: bold;
    font-size: 18px;
    color: darkorchid;
    word-break: break-word;
}

div.popup-position {
    font-size: 12px;
}

div.popup-title {
    padding: 10px 0 8px 0;
    text-align: center;
}


#myTab {
    padding-top: 5px;
}
    
#myTab > li > a {
     padding: 5px;
     font-size:14px
}

div.tab-content
{
    padding: 5px;
    border-right-style: solid;
    border-bottom-style: solid;
    border-left-style: solid;
    border-width: 1px;
    border-color: #DDDDDD;
}

div.tab-content a {
    font-weight: bold;
    overflow-wrap: break-word;
    word-break: break-word;
}

div.tab-content div.popup-content-attributes-value {
    font-weight: bold;
}

#schema-type {
    height: 30px;
    top: 2.5px;
    position: relative;
    border-radius: 4px;
    border: 1px #ccc solid;
    background-color: #fff;
    color: #333;
}

div.schema
{
    overflow: hidden;
}

.schema-button
{
    padding-left: 8px;
    padding-top: 3px;
    width: 40px;
    height: 30px;
}

div.checkbox-true {
    background-image: url('img/true.png');
    background-position: 14px center;
    background-repeat: no-repeat;
}

div.checkbox-false
{
    background-image: url('img/false.png');
    background-position: 14px center;
    background-repeat: no-repeat;
}

ul.popup-content-pager {
    margin: 5px 0 0 0;
}

li.popup-content-pager-previus {
    float: left;
    margin: 0 5px 0 0;
}

li.popup-content-pager-next {
    float: right;
    margin: 0 0 0 5px;
}

div.word-break {
    word-break: break-all;
}


div.map-title-position {
    left: 0;
    top: 0;
}

div.map-title {
    position: absolute;
    background-color: rgba(0, 60, 136, 0.5); 
    border: medium none;
    color: white;
    display: block;
    height: 30px;
    width: 100%;
    padding: 0 10px 0 80px;
    background-position: 2px center;
    background-image: url('img/globema_logo_small.png');
    background-repeat: no-repeat;
    background-size: 65px;
}

div.map-title a {
    color: white;
    cursor: pointer;
    line-height: 30px;
    vertical-align:middle;
    text-align: left;
    text-decoration: none;
    font-weight: bold;
}

input.map-title-button
{
    margin-top: 4px;
    float: right;
    padding-left: 20px;
    background-position: 3px center;
    background-image: url('img/refresh.png');
    background-repeat: no-repeat;
    background-size: 13px;
    position:absolute;
    top:0;
    right:5px;
}


div.ol-zoom {
    top: 4.5em;
}

.address-search-results
{
    border-color: cornflowerblue;
    border-radius: 5px;
    border-style: none;
    background-color: white;
    max-height: 15em;
    overflow:auto;
}

.address-list 
{
    font-family: Tahoma, Arial;
    font-size: 14px;
    list-style-type: circle;
    padding-left: 20px;
}

.address-list li
{
    padding: 3px;
}

.searchPanel {
    position: absolute;
    left: calc(1.375em + 10px);
    transition:0.2s;
    width:0;
    overflow:hidden;
}

.searchBox {
    border-color: cornflowerblue;
    border-radius: 5px;
    border-width: thin;
    border-style: solid;
    padding: 2px;
    background-color: white;
    margin-top: 2px;
    margin-right: 4px;
    min-width:0px;
}

.ol-touch .searchPanel {
    font-size: 1.315em;
}

.mode-button {
    padding-bottom: 2px;
}

.mode-button.on {
    text-decoration: none !important;
    background-color: rgba(0,60,136,1) !important;
    color: #fff !important;
}

.attr-group {
    font-style: italic;
    color: #bbb;
    display: flex;
}

.attr-group .group-text {
    flex: 0;
    margin-right: 0.5em;
    white-space: nowrap;
}

.attr-group .group-line {
    flex: 1;
    margin-top: 0.8em;
    border-top: 1px solid #ddd;
}

.attr-group .group-end-line {
    flex: 1;
    margin-top: 0.3em;
    margin-bottom: 0.3em;
    border-top: 1px solid #ddd;
}

.tooltip {
    position: relative;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 4px;
    color: white;
    padding: 4px 8px;
    opacity: 0.7;
    white-space: nowrap;
    z-index:2;
    font-size:1.15em;
}

.tooltip-measure {
    opacity: 1;
    font-weight: bold;
}

.tooltip-static {
    background-color: #ffcc33;
    color: black;
    border: 1px solid white;
}

.tooltip-measure:before,
.tooltip-static:before {
    border-top: 6px solid rgba(0, 0, 0, 0.5);
    border-right: 6px solid transparent;
    border-left: 6px solid transparent;
    content: "";
    position: absolute;
    bottom: -6px;
    margin-left: -7px;
    left: 50%;
}

.tooltip-static:before {
    border-top-color: #ffcc33;
}

.tooltip .ol-popup-closer {
    position: relative !important;
    right: 0 !important;
    font-size: 1.1em;
    left: 0.3em;
    margin: 0 0.3em;
}

.tooltip.mobile-control a {
    color: white;
    font-size: 1.1em;
}

.mobile-control a.mc-finish {
    margin-left: 1em;
}

.mc-delete::after {
    content: "✖";
}

.mc-finish::after {
    content: "✔";
}

.ol-zoom {
    top:calc(4.125em + 60px) !important;
}

.ol-touch .ol-zoom {
    top: calc(6.1875em + 60px) !important;
}

.twitter-typeahead {
    width:100%;
}

.tt-query {
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}

.tt-hint {
    color: #999
}

.tt-menu {
    position: relative !important;
    border-radius: 5px;
    border-style: none;
    background-color: white;
    max-height: 15em;
    overflow: auto;
    padding: 4px 0;
    background-color: #fff;
    box-shadow: 0 5px 10px rgba(0,0,0,.2);
}

.tt-suggestion {
    padding: 3px 20px;
}

.tt-suggestion:hover {
    cursor: pointer;
    color: #fff;
    background-color: #0097cf;
}

.tt-suggestion.tt-cursor {
    color: #fff;
    background-color: #0097cf;
}

.tt-suggestion p {
    margin: 0;
}

