body,
html {
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
  font-size: 16px;
  padding: 0;
  margin: 0;
}

main {
  width: 100%;
  height: calc(100% - 70px);
}

footer {
  left: 0;
  right: 0;
  height: 44px;
  position: absolute;
  bottom: 0;
  width: 100%;
  background-color: #033e7c;
  color: white;
  align-items: center;
  display: flex;
  justify-content: center;
  /* padding: 0px 0px 0px 10px; */
}

.no-display {
  display: none;
}

.footer-details {
  font-size: 14px;
}

.footer-details p,
.footer-details p a {
  margin: 0 auto;
  text-decoration: none;
  color: white;
}

.footer-details p a:hover {
  color: #dde3e9;
}

/* Custom stil mape */
#map {
  outline: none;
  position: relative;
  width: 100%;
  height: 100%;
}

.div-map {
  width: 100%;
  height: 100%;
}

.fixed-bottom {
  display: flex;
  position: fixed;
  bottom: 54px;
  left: unset;
  right: 10px;
  background-color: rgba(3, 62, 124, 0.7);
  color: white;
  width: 150px;
  height: 40px;
  line-height: 20px;
  padding: 10px;
  font-size: 12px;
  transition: all 0.5s;
  align-items: center;
  border-radius: 5px;
}

.fixed-bottom.mjerilo {
  right: 170px;
  width: 150px;
}
.fixed-bottom.mjerilo div {
  flex-basis: 100%;
}

.ol-scale-line {
  display: none;
}

.fixed-bottom div {
  flex-basis: 49%;
}

.custom-mouse-position {
  display: inline;
  margin-left: 10px;
}
#mouse-position-E {
  margin-right: 5px;
}

.logo-hr {
  display: flex;
  flex-basis: 25%;
  padding: 12px;
}

.logo-hr div {
  flex-basis: 50%;
  text-align: left;
}

.logo-hr div:nth-child(2) {
  text-align: center;
}

.logo-hr img {
  height: 100%;
}

.logo-rgi {
  flex-basis: 45%;
  margin: auto;
}

.logo-rgi img {
  width: 40%;
}

.ol-zoom .ol-zoom-in {
  background-color: #033e7c;
}

.ol-zoom .ol-zoom-out {
  background-color: #033e7c;
}

.layer-switcher {
  bottom: 80px;
  top: unset;
  background-color: unset;
  transition: all 0.5s;
}

.layer-switcher > button {
  background-image: url(../img/layers.svg);
  background-color: #033e7c !important;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 26px;
  background-color: unset;
  height: 38px;
  width: 38px;
  border-radius: 5px !important;
}

.locate > button {
  background-image: url(../img/locate.svg);
  background-color: #033e7c !important;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 26px;
  background-color: white;
  height: 38px;
  width: 38px;
  border-radius: 5px !important;
}

.button-clicked {
  background-color: #0b172c !important;
  /* border: 2px solid rgb(31, 30, 30)!important; */
}

.panel {
  margin-right: 50px !important;
  background-color: white !important;
  border: 3px solid #eee !important;
  color: #191919 !important;
  font-size: 15px !important;
  box-shadow: 1px 0px 5px 0px #0000008a;
}

.panel input:hover,
.panel label:hover {
  cursor: pointer;
}

.layer-switcher .group.layer-switcher-close button {
  transform: rotate(180deg) !important;
}

.layer-switcher .group button {
  right: 0;
  left: auto;
  background-image: url(../img/arrow_layers.svg);
  background-size: 16px;
  margin-right: 10px !important;
}

.layer-switcher ul {
  margin: 10px 2px;
}

.layer-switcher li input {
  top: 4px;
}

.layer-switcher .group button:hover,
.layer-switcher .group button:focus {
  background-color: transparent !important;
}

#header div {
  height: 45px;
}

#header div:last-child {
  flex-basis: 80%;
  text-align: center;
}

#header div a,
#header div img {
  height: 90%;
}

.ol-zoom {
  left: unset;
  top: unset;
  right: 8px;
  bottom: 171px;
  transition: all 0.5s;
}

.locate {
  bottom: 145px;
  right: 8px;
  background-color: #f8f9fa57;
  transition: all 0.5s;
}

#locate {
  background-color: #033e7c;
}

.ol-control:hover,
.div-legend:hover {
  background: unset !important;
}

#locate:hover,
.div-legend button:hover,
.div-legend button:focus,
.ol-control button:hover,
.ol-control button:focus,
.layer-switcher > button:focus,
#print-pdf:hover {
  background-color: #336394 !important;
}
.layer-switcher.shown {
  background-color: unset !important;
}

.layer-switcher.shown > button {
  display: block;
  position: absolute;
  right: 2px;
  bottom: 2px;
}

#sidebar {
  width: 350px;
  height: calc(100% - 104px);
  position: fixed;
  top: 60px;
  z-index: 1035;
  background-color: #fffffff2;
  transition: all 1.3s;
  box-shadow: 1px 0px 5px 0px #0000008a;
}

.sidebar-right {
  left: 0px;
}
.sidebar-header {
  background-color: #333333;
  color: white;
  height: 45px;
}

#sidebarCollapse {
  width: 40px;
  height: 40px;
  padding: 0;
  background-color: #033e7c;
  cursor: pointer;
  background-image: url(../img/search.svg);
  background-repeat: no-repeat;
  background-size: 24px;
  background-position: center;
  border-radius: 5px !important;
}

.btn-info {
  border-color: #033e7c !important;
}

#menu_button1 {
  background-image: url(../img/list.svg);
  background-repeat: no-repeat;
  background-position: center;
  width: 38px;
  height: 38px;
  background-size: contain;
}

#menu_button1 > * {
  pointer-events: none;
}
#sidebarCollapse:hover,
#sidebarCollapse:focus {
  background-color: #336394;
}

.fixed-top {
  left: 10px;
  top: 60px;
  width: 45px;
  height: 45px;
  text-align: center;
  line-height: 42.5px;
  background-color: transparent !important;
  border-radius: 5px;
}

.ol-rotate {
  display: none !important;
}

.popover {
  margin-right: 50px !important;
  margin-bottom: -40px !important;
}

#dismiss {
  width: 40px;
  height: 40px;
  padding: 0px;
  cursor: pointer;
  border: none;
  /* border-left: 1px solid #D4D4D4;
    box-shadow: 1px 1px 3px rgb(0 0 0 / 30%); */
  background-color: #033e7c;
  position: absolute;
  top: 0px;
  left: 101%;
  text-align: center;
  transition: all 0.5s;
  background-image: url(../img/search.svg);
  background-repeat: no-repeat;
  background-size: 24px;
  background-position: center;
  border-radius: 0px 5px 5px 0px !important;
}

#dismiss:hover,
#dismiss:focus {
  color: white;
  background-color: #336394;
}

.sidebar-heading {
  color: white;
  background-color: #033e7c;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  font-size: 14px;
  font-weight: 600;
}

.sidebar-heading div {
  margin-left: 18px;
  font-weight: 400;
}

.popover .arrow::after,
.popover .arrow::before {
  display: none;
}

#tableContent {
  width: 100%;
  height: 30%;
  background-color: white;
  position: fixed;
  box-shadow: 1px 1px 6px 2px #000000;
  transition: all 0.5s;
  bottom: -31%;
}

#div-sidebar {
  height: calc(100% - 55px);
  margin-bottom: 5px;
}

.button-sidebar:not(.disabled-button) {
  padding: 0.375rem 0.75rem;
  font-size: 14px;
  border-radius: 5px !important;
  color: white;
  border: none;
  /* border: 1px solid #D4D4D4;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3); */
  background-color: #033e7c;
}

.button-sidebar:hover:not(.disabled-button) {
  color: white;
  /* border: 1px solid #111111; */
  background-color: #336394;
  /* background: linear-gradient(to bottom, #033E7C 0%, #111111 100%); */
}

.disabled-button {
  background-color: #80808085;
  border: none;
  color: #625e5e;
}

#tableContent-div-button {
  display: flex;
  justify-content: space-between;
  flex-basis: 100%;
  flex-direction: row;
}

.buttons-table {
  width: 30px;
  height: 30px;
  padding: 0;
  color: black;
  background-color: unset;
}

button {
  border-radius: 5px !important;
}

.btn-dark:hover {
  background-color: #336394;
  border-color: transparent;
}

.buttons-table:hover,
.btn-default {
  color: white;
  background-color: #033e7c;
}

.locateup {
  bottom: calc(30% + 102px);
}

.locateup.locateup-increase {
  bottom: calc(50% + 147px);
}

.zoomup {
  bottom: calc(30% + 150px);
}
.zoomup.zoomup-increase {
  bottom: calc(50% + 207px);
}

.layer-switcherup {
  bottom: calc(30% + 57px);
}
.layer-switcherup.switcherup-increase {
  bottom: calc(50% + 70px);
}

.mousepositionup {
  bottom: calc(30% + 57px);
  right: 55px;
}
.mousepositionup.mouse-increase {
  bottom: calc(50% + 57px);
}

.fixed-bottom.mjerilo.mousepositionup {
  right: 215px;
}

.tableContentup {
  bottom: 45px !important;
}

#tableContent.tableContent-increase {
  height: 50%;
}

.logo-overlay {
  display: block;
  text-align: center;
  margin: auto;
  width: 20%;
  margin-bottom: 5px;
}

@media (max-width: 1025px) {
  footer {
    justify-content: center;
  }
  .logo-rgi {
    flex-basis: 33%;
  }
  .footer-details {
    flex-basis: 40%;
    text-align: center;
    font-size: 10px;
  }
  #header div:last-child {
    flex-basis: 65%;
  }
}

@media (max-width: 769px) {
  .footer-details {
    display: flex;
    flex-direction: row;
    flex-basis: 60%;
    flex-wrap: wrap;
    line-height: unset;
    margin: auto;
  }
  .footer-details > p {
    flex-basis: 100%;
    display: block;
    margin: 0;
    padding: 0;
    margin-right: 10px;
  }
  .logo-rgi {
    flex-basis: 50%;
  }
}
@media (max-width: 601px) {
  .logo-hr {
    display: none;
  }
  .footer-details {
    margin-right: 5px;
  }
  #header div {
    flex-basis: unset;
    width: 60%;
  }
  #header div a,
  #header div img {
    width: 100%;
  }
}
@media (max-width: 481px) {
  #header div:first-child {
    display: none;
  }

  #header {
    justify-content: center;
  }

  #overlay {
    padding-top: 20%;
  }

  .logo-overlay {
    width: 80%;
    margin-bottom: 10%;
  }

  footer {
    display: none;
  }
  main {
    position: relative;
    height: 100%;
  }
  #sidebar {
    height: 100%;
  }
}

@media (max-width: 376px) {
  #header div {
    flex-basis: unset;
    width: 70%;
  }
}

@media (max-width: 321px) {
  #header div {
    flex-basis: unset;
    width: 60%;
  }
}

.ol-rotate.ol-hidden,
.rotate-north,
.ol-attribution {
  display: none !important;
}
