*{
     box-sizing:border-box;
     font-family:Verdana, sans-serif;
}
 html {
     height: 100% ;
}
 body {
     height: 100% ;
     margin: 0;
     padding: 0;
}

 #map{
    position:relative;
     height:100% ;
     transition:margin-right .5s;
}
 .maplibregl-ctrl-info {
     display: block;
}
 .maplibregl-ctrl-basemaps {
     display: flex;
     flex-direction: row;
     pointer-events: auto;
     margin: 10px;
     position: relative;
}
 .maplibregl-ctrl-basemaps.reverse {
     flex-direction: row-reverse;
}
 .maplibregl-ctrl-basemaps.column {
     flex-direction: column;
}
 .maplibregl-ctrl-basemaps.column.reverse {
     flex-direction: column-reverse;
}
 .maplibregl-ctrl-basemaps .basemap {
     width: 64px;
     height: 64px;
     margin: 2px;
     border: 2px solid #CCC;
     cursor: pointer;
     border-radius:10px;
}
 .maplibregl-ctrl-basemaps .basemap.active {
     border: 3px solid orange;
}
 .maplibregl-ctrl-basemaps.closed .basemap {
     display: none;
}
 .maplibregl-ctrl-basemaps .icon {
     position: absolute;
     bottom: -5px;
     left: -5px;
     width: 25px;
     height: 25px;
     border: 2px solid #CCC;
}
 .maplibregl-ctrl-basemaps.closed .basemap.active {
     display: block;
     border: 2px solid #ccc;
}

 .sidebar {
     height: 100% ;
     width: 0;
     position: relative;
     float: right;
     z-index: 1;
     background-color: white;
     transition: 0.5s;
     padding-top: 10px;
     overflow-x: hidden;
}
 .textbox {
     opacity: 0;
     margin: 10px;
     transition: 0.1s;
     transition-delay: 0s;
     overflow: auto;
}
 .textbox.show {
     opacity: 1;
     transition: 0.2s;
     transition-delay: 0.5s;
}
 .tab {
     display: none;
}
 .tab.show {
     display: block;
}
 .sidebar .closebtn {
     position: absolute;
     top: 0;
     right: 25px;
     font-size: 36px;
     margin-left: 50px;
     text-decoration: none;
}
 ul.language-list {
     list-style-type: none;
     margin: 0;
     padding: 0;
}
 li.language {
     margin: 10px;
     border: 2px solid #CCCCCC;
     padding: 5px;
     border-radius:5px;
     display: flex;
}
 .language.active {
     border-color:#888;
}
 .language:hover {
     border-color:orange;
}
 .icon {
     width: 30px;
     height: 30px;
     border-radius:10px;
}
 .lang-name, .lang-loc {
     text-transform: capitalize;
     position: absolute;
     left: 35px;
     top: -6px;
     width: 170px;
     font-size: 15px;
     margin: 2px 0px 0px 10px;
}

.missing {
    text-transform: none;
    color: #7E4748;
    font-size: smaller;
}

.lang-loc {
    color: #777777;
    top: 13px;
    font-size: 12px;

}
 /*.lang-osm, .lang-iso, .lang-tag {
     color: gray;

}*/


.lang-tag, .lang-osm{
    position:absolute;
    right: 0px;
    top: 2px;
    margin: 0px;
    padding: 4px 2px 0px;
    font-size:10px;
    text-align:left;
    text-decoration:none;
    border:none;
    border-radius: 3px;
    background: #f7f7f9;
    color: #555555;
    font-family:"Lucida Console", Courier, monospace;
    &:hover {
        color: white;
    }
}
 .lang-tag {
     top: -3px;
}
 .lang-osm {
     top: 16px;
}

 .language div.codediv {
     position: absolute;
     right: 30px;
}

 .language div.namediv {
     position: absolute;
}

 #content {
     height:100% ;
}
/* On smaller screens, where height is less than 450px, change the style of the * sidenav (less padding and a smaller font size) */
 @media screen and (max-height:450px){
    .sidebar{
        padding-top:15px;
    }
/*      .sidebar a { */
/*          font-size:18px; */
/*     } */
}
 .modal {
     display: none;
    /* Hidden by default */
     position: fixed;
    /* Stay in place */
     z-index:1;
    /* Sit on top */
     left: 0;
     top: 0;
     width: 100% ;
     height: 100% ;
     background-color:rgb(0, 0, 0);
     background-color:rgba(0, 0, 0, 0.2);
}

.modal-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    top: 15%;
    margin: 0 auto;
    max-height: 70%;
}


/* Modal Content/Box */
 .modal-content {
     background-color:#fefefe;
    /* 15% from the top and centered */
     padding: 20px;
     border: 2px solid #CCCCCC;
     border-radius:10px;
     width: 70% ;
     max-width: 700px;
     overflow-y: auto;
     overflow-x: hidden;
    /* Could be more or less, depending on screen size */
}

.modal-content img {
    float: right;
    margin: 10px;
    margin-left: 20px;
}

 .modal-content p, .modal-content em {
     font-size:14px;
}

 .md blockquote {
     font-size:14px;
     background: #BEDDDD;
     font-style: italic;
     color: #555;
     padding: 1px 20px;
     margin: 3px;
     border-radius: 5px;

}

.tab.md blockquote p{
    font-size: smaller;
}

.md {
    font-size: 18px;
}

.md h1 {
    font-size: 100%;
}

.md h2 {
    font-size: 90%;
}

.md p {
    font-size: 85%;
}

.md ul {
    font-size: 80%;
}

/* The Close Button */
 .close {
     color: #aaa;
     float:right;
     font-size:28px;
     font-weight:bold;
}
 .close:hover, .close:focus {
     color: black;
     text-decoration:none;
     cursor: pointer;
}
 a {
     color: #616161;
     text-decoration-style:dotted;
}

 a:hover {
     color: orange;
}

input {
  width: 80%; /* Full-width */
  font-size: 13px; /* Increase font-size */
  padding: 12px; /* Add some padding */
  border: 1px solid #ddd; /* Add a grey border */
  margin: 10px; /* Add some space below the input */

}
input:focus-visible {
    border-color: orange;
  }

.maplibregl-ctrl-geocoder .suggestions {
    width: 80%
}


.about {
    margin: auto;
    width: 70%;
    min-width: 400px;
    max-width: 600px;
/*     border: 3px solid #ddd; */
    padding: 10px;
}


.tab-content {
    margin: auto;
/*     width: 80%; */
    border: 1px solid #fff8ef;
    border-top: 0px;
    padding: 10px;
    display: flow-root;
    border-radius: 0px 0px 4px 4px;
    background: #fff8ef;
}

.bottombar {
    width: 33.33333%;
    float: left;
    text-align: center;
    padding: 10px;
    border-radius: 10px 10px 0px 0px;
    border-bottom: 5px solid #ccc;
}

.bottombar:hover{
    background: #eee;
}

.border-red {
/*     border: 2px solid #ccc; */
    background: #eee;
    border-left: 3px solid #fff;
    border-right: 3px solid #fff;
    border-bottom: 5px solid orange;
}

#head {
  display: flex;
  padding: 1em;
  margin: auto;
}


#head h1 {
  margin-right: auto;
  font-size: revert;
}

#head img{
  margin: auto;
}

a.head-link{
    text-decoration: none;}

a.head-link h1{
     color: #616261;
     text-decoration: none;
}

a.head-link h1, a.head-link img {
    transition: transform .2s;
}

a.head-link h1:hover, a.head-link img:hover {
    transform: scale(1.1);
}

.btn-about{
    border-radius: 50%;
    background-color: #eee;
    font-size: 30px;
    color: #666;
    text-decoration: none;
    text-align: center;
    width: 40px;
    height: 40px;
    border: 3px solid #ccc;
    position: relative;
    line-height: 32px;
    border-left: 3px solid #aaa;
    border-right: 3px solid #aaa;
    transition: 0.2s;
    bottom: 20px;
    flex: 1 0 auto;
}

.tab .btn-about{
    bottom: 0px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.btn-about:hover {
  border: 3px solid #ccc;
  border-bottom: 3px solid #aaa;
  border-top: 3px solid #aaa;
  scale: 1.1;
}
