* {
    box-sizing: border-box;
}

i:hover {
    cursor: pointer;
}

.btn:focus {
    outline: none;
    box-shadow: none;
}

html, body {
    margin: 0;
    height: 100%;
    width: 100%;
    font-family: sans-serif;
}

body {
    margin:0;
    padding:0;
}

#js-map {
    height: 100%;
    width: 100%;
    position:fixed;
}

.customSidebar {
    padding: 15px;
    margin:4px;
    margin-bottom:7px;
    border: 3px solid black;
    border-radius: 2%;
    background-color: rgb(255, 247, 234);
}

h1 {
    font-size: 1.6rem;
    margin-bottom: 5%;
    margin-left: 4%;
    margin-top: 7%;
}

h2 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    margin-top: 9px;
}

p {
	margin: 0;
	padding: 0;
	border: 0;
	vertical-align: baseline;    
    font-size: 1rem;
    word-wrap: break-word;
}

h5 {
    font-size: 1.4rem;
}

.fa-1x {
    font-size: 1.5rem;
}

.navbar-toggler.toggler-example {
cursor: pointer;
}

.overlay-container {
    background-color: rgb(241, 241, 241);
    width: 150px;
    color: black;
    text-align: center;
    border: 1px solid rgb(192, 192, 192);
    border-radius: 4px;
    padding: .5em;
    position: absolute;
    z-index: 1;
    bottom: 100%;
    left: 50%;
    margin-left: -80px;
    margin-bottom: 20px;
}

.overlay-container #landnr::after {
    content: "";
    position:absolute;
    top: 100%;
    left: 50%;
    margin-left: -10px;
    border-width: 10px;
    border-style: solid;
    border-color: rgb(190, 190, 190) transparent transparent transparent;
}

/* Controls */ 

.ol-control button {
    background-color: rgb(0, 0, 0, 0.7);
    border-radius: 4px;
}

.ol-control button:hover {
    background-color: rgb(0, 0, 0, 1);
    cursor: pointer;
}

.ol-control button:focus {
    background-color: rgb(0, 0, 0, 0.8);
}

.ol-zoom, .ol-zoom-extent, .ol-zoomslider {
    margin-left: 5px;
}

.ol-zoom {
    left: unset;
    right: .3em;
}

.ol-zoom-in, .ol-zoom-out {
    border-radius: 20%;
    width: 1em;
    height: 1em;
}

.ol-overviewmap {
    margin-bottom: 50px;
}

.ol-locate {
    left: unset;
    right: .3em;
    top: 5.5em;
    pointer-events: auto; 
}

.ol-attribution {
    right: 5.7em;
}

.ol-pdf {
    left: unset;
    right: 3.0em;
    bottom: .5em;
    pointer-events: auto;
}

.ol-info {
    left: unset;
    right: .3em;
    bottom: .5em;
    pointer-events: auto;
}

#clearDiv {
    pointer-events: auto; 
    margin-left: 1em;
    margin-top: 1em;
}

.searchDiv {
    position: absolute;
    z-index: 1;
    margin: .4em;
    margin-left: 3.5em;
    width: 28%;
    font-size: 1em;
}

#searchKey {
    font-size: .85em;
}

.modal {
    display: none;
    position: fixed;
    z-index: 2;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(26, 21, 21, .4);
  }
  
.modal-content {
    background-color: #fefefe;
    margin: 1.6% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 60%;
}

.close {
color: #aaa;
float: right;
font-size: 28px;
font-weight: bold;
}

.close:hover,
.close:focus {
color: black;
text-decoration: none;
cursor: pointer;
}

#textContent h2 {
    margin-top:.7em;
}

#type {
    height: 34px;
    margin-right: 8px;
    font-size: 0.8rem;
}

#drawCheck {
    margin:8px;
    font-size: 0.8rem;
}

#panel {
    background-color: rgba(255, 255, 255, .8);
    padding: 8px;
    font-size: 0.8rem;
}

#drawClear, .labelButton {
    display: none;
    font-size: .8rem;
}

#clear {
    font-size: .8rem;
    height: 34px;
}

#clearButton {
    float: right;
    margin-right: 1em;
    margin-left: .2em;
}

.noStyleBtn {
    background-color: Transparent;
    background-repeat:no-repeat;
    border: none;
    cursor:pointer;
    overflow: hidden;
    outline:none;
    text-decoration: none;
    padding:0em;
    padding-left:.1em;
}

.infoButton {
    float: right
}

#textContent {
    margin-left: 5%;
}

#neighbours {
    padding-left: 1em;
    padding-bottom: 2em;
    padding-top: .3em;
    padding: 1.3em;
}

#neighbours h5 {
    font-size: 1.1em;
    margin-top: 17px;
}

#neighbours p {
    font-size:.95em;
}

.custom-control p {
    font-size: .8em;
}

#textContent img {
    height: 2em;
    width: 2em;
    margin: .7em;
}

#js-map img {
    width: 7.5em;
    position: absolute;
    z-index: 5;
    bottom: .7em;
    border-radius: 8px;
}

#eignamorkLogo {
    height: 2.3em;
    margin-left: 38%;
    margin-right: 35%;
}

#topolocateLogo {
    height: 2.6em;
    margin-left: 55%;
    margin-right: 38%;
    filter: contrast(150%);
}

.searchDiv {
    display: none;
}

@media (min-width: 0px) and (max-width: 800px) {
    .searchDiv {
        position: absolute;
        z-index: 1;
        margin: .5em;
        margin-left: 3.4em;
        width: 55%;
    }

    #js-map {
        height: 100%;
        width: 100%;
        margin: 0;
    }

    #textContent h2 {
        font-size: .9em;
    }

    #textContent p {
        font-size: .6em;
    }

    #textContent h4 {
        font-size: 1.0em;
    }

    #textContent img {
        height: 1.2em;
        width: 1.2em;
        margin: .7em;
    }

    .modal-content {
        width: 85%;
    }

    #js-map img {
        display: none;
    }
}

@media (min-width: 800px) and (max-width: 1050px) {
    .modal-content {
        width: 60%;
    }
}