/*
SIDEBAR
*/
#header {
  display: flex;
  height: 50px;
  z-index: 1;
  background-color: #033e7c;
  width: 100%;
  align-items: center;
  padding: 0px 20px;
}

#showTable {
  margin-left: 10px;
}

#drawPoly {
  float: right;
  margin-right: 10px;
}

.sidebar-left {
  left: -400px;
}

/*.panel > ul .group:nth-of-type(4) ul  {
    overflow-y: scroll;
    max-height: 240px;
}*/

#input-sidebar {
  width: 290px;
  margin-left: 5px;
  margin-right: 6px !important;
}

.btn-dark {
  padding: 5px;
  border-color: transparent;
}

#forma-sidebar {
  font-size: 13px;
  margin-top: 5px;
}

.form-control {
  font-size: 13px;
}

#ponisti-filter {
  width: 40px;
  color: #033e7c;
  background-color: white;
  border: none;
}

#ponisti-filter:hover,
#ponisti-filter:focus {
  color: white;
  background-color: #033e7c;
}

#select-group-sidebar {
  display: flex;
  flex-wrap: wrap;
  padding: 2px;
  width: 100%;
  font-size: 11px;
  flex-direction: row;
  margin-left: 4px;
  margin-top: 12px;
  margin-bottom: 12px;
}

#select-group-sidebar > .form-group {
  flex-basis: 30%;
  font-size: 11px;
}

#select-group-sidebar > .form-group > .form-control {
  width: 100%;
  cursor: pointer;
}

#select-group-sidebar .form-group:nth-child(1) {
  margin-right: 5px;
  flex-basis: 65%;
}
#select-group-sidebar .form-group:nth-child(3) {
  margin-right: 5px;
  flex-basis: 65%;
  margin-top: 10px;
}
#select-group-sidebar .form-group:nth-child(4) {
  margin-top: 10px;
}

#container-sidebar {
  font-size: 12px;
  margin-left: 10px;
  height: calc(100% - 230px);
  overflow: auto;
}
#container-sidebar > div {
  height: 100%;
}

#table-pagination {
  height: 30px;
  width: 90%;
  margin: auto;
  margin-top: 5px;
  /* margin-right: 5px; */
  display: flex;
  flex-direction: row;
  font-size: 13px;
  text-align: right;
  justify-content: flex-end;
}

#table-pagination > button {
  line-height: 15px;
  flex-basis: 10%;
  margin-right: 2.5px;
  margin-left: 2.5px;
}

.disabled_btn {
  pointer-events: none;
  cursor: default;
  opacity: 0.3;
}
#input-pagination {
  width: 15%;
  font-size: 13px;
  height: unset;
  text-align: center;
}

#table-pagination > span {
  line-height: 30px;
  flex-basis: 22%;
  padding-left: 5px;
  padding-right: 5px;
}

.div-data-sidebar {
  border-bottom: 1px solid rgba(25, 25, 25, 0.1);
  display: flex;
  margin-right: 10px;
  padding-left: 15px;
  height: auto;
  flex-direction: row;
}

.div-data-sidebar:hover {
  cursor: pointer;
  opacity: 0.8;
  transition: all 0.2s ease-in-out;
  background-color: #33333321;
}

.div-data-sidebar > * {
  pointer-events: none;
}

.hover-div-sidebar {
  cursor: pointer;
  opacity: 0.5;
  transition: all 0.2s ease-in-out;
}

.first-div-sidebar {
  flex-basis: 80%;
  margin: auto;
  padding-top: 10px;
  padding-bottom: 10px;
}

.first-div-sidebar > p {
  margin: 0;
  font-size: 12px;
}

.first-div-sidebar > p:first-child {
  font-size: 13px;
  font-weight: 600;
}

.second-div-sidebar {
  flex-basis: 20%;
  text-align: center;
  height: 50%;
  padding-top: 10px;
  padding-right: 5px;
  padding-bottom: 10px;
}

.second-div-sidebar > div {
  height: 100%;
}
.second-div-sidebar img {
  width: 24px;
  height: 50px;
}

#print-pdf-div {
  position: fixed;
  display: block;
  text-align: center;
  cursor: pointer;
  color: white;
  font-weight: 300;
  background-color: transparent;
  border-radius: 4px;
  transition: all 0.5s;
  bottom: 284px;
  right: 10px;
}

.btn {
  border-radius: 5px !important;
}

#print-pdf {
  margin: 1px;
  background-color: #033e7c;
  cursor: pointer;
  font-weight: 300;
  padding: 0;
  height: 38px;
  width: 38px;
  display: block;
  color: white;
  font-size: 1.14em;
  line-height: 0.4em;
  border: none;
  background-image: url(../img/pdf_print.svg);
  background-repeat: no-repeat;
  background-size: 24px;
  background-position: center;
  border-radius: 5px !important;
}

.fa-print:before {
  content: "";
}

.ol-control {
  background-color: transparent !important;
}

@keyframes shake {
  0% {
    transform: translate(1px, 1px) rotate(0deg);
  }
  10% {
    transform: translate(-1px, -2px) rotate(-1deg);
  }
  35% {
    transform: translate(-3px, 0px) rotate(1deg);
  }
  55% {
    transform: translate(3px, 2px) rotate(0deg);
  }
  75% {
    transform: translate(-1px, -1px) rotate(1deg);
  }
  90% {
    transform: translate(1px, 2px) rotate(0deg);
  }
  100% {
    transform: translate(1px, -2px) rotate(-1deg);
  }
}
/*   
####        ####
####  POPUP ####
####        ####
*/
.ol-popup {
  position: absolute;
  background-color: #ffffffdb;
  box-shadow: 0 1px 4px rgb(0 0 0 / 58%);
  padding: 15px;
  border-radius: 10px;
  bottom: 12px;
  left: -50px;
  min-width: 350px;
  font-size: 13px;
  height: auto;
}
.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: #ffffffdb;
  border-width: 10px;
  left: 48px;
  margin-left: -10px;
}
.ol-popup:before {
  border-top-color: #ffffffdb;
  border-width: 11px;
  left: 48px;
  margin-left: -11px;
}
.ol-popup-closer {
  text-decoration: none;
  position: absolute;
  top: 0px;
  right: 8px;
  color: black;
}
.ol-popup-closer:after {
  content: "✖";
}

#popup-hover {
  padding: 12px;
  padding-bottom: 0px;
  min-width: 100px;
  width: max-content;
  max-width: 200px;
}

#popup-hover:before {
  border-top-color: unset;
}

.pisanjeimena-pop-up {
  position: relative;
  margin: auto;
  color: white;
  text-align: center;
  background-color: #033e7c;
  border-radius: 5px;
  padding: 4px 0px;
}

#popup-content div span {
  font-size: 10px;
  text-transform: uppercase;
}

.pisanjeimena-pop-up div {
  font-size: 16px;
}

.pisanjeimena-pop-up span {
  text-transform: capitalize !important;
}

.pisanjeimena-pop-up .audio-recording-button {
  position: absolute;
  top: 0px;
  right: 10px;
  height: 100%;
  display: flex;
  align-items: center;
  cursor: pointer;
  background: transparent;
  border: none;
}

#popup-content {
  color: #111111;
  font-weight: 600;
  padding-top: 10px;
}

.div-pop-up {
  text-align: center;
  border-bottom: 1px solid #00000030;
  margin-top: 10px;
}
.div-pop-up > div {
  font-size: 12px;
  color: #033e7c;
}
#popup-content div:last-child {
  border: none;
}

#div-button-popup {
  margin-top: 10px;
  text-align: center;
}

#div-button-popup span {
  text-transform: none !important;
}

.button-popup {
  border-radius: 0.25rem;
  font-size: 12px;
  background-color: #033e7c;
}

.button-popup-page {
  width: 30px;
  margin-right: 10px;
  margin-left: 10px;
}

#button-popup-uredu {
  margin-left: 250px;
}

#divButtonOperater {
  margin-top: 15px;
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

#divButtonOperater button {
  width: 30%;
}

/*
####                    ####
#### TABLICA GEOG. IMENA####
####                    ###
*/
#table-totaldata {
  margin-bottom: 0px;
  font-size: 13px;
  display: inline;
  margin-left: 0.5%;
}
#totaldata-tekst {
  margin-bottom: 0px;
  font-size: 13px;
  margin-left: 10px;
  margin-top: 5px;
}
.totaldata-tekst-span {
  color: #243652;
  font-weight: 600;
}
#tableDiv {
  font-size: 12px;
  height: calc(100% - 65px);
  overflow: auto;
  width: 100%;
}

.selectable-th {
  cursor: pointer;
  white-space: nowrap;
  vertical-align: inherit;
  font-size: 13px;
}

#tableFromSidebar {
  white-space: nowrap;
  vertical-align: inherit;
  font-size: 13px;
  width: 100%;
  display: table;
  position: relative;
  border-collapse: collapse;
  margin-bottom: 5px;
  height: 95%;
}
#tableFromSidebar th:first-of-type {
  text-align: center;
  font-size: 15px;
  width: 50px;
  left: -1px;
  z-index: 2;
}
#tableData-tbody tr {
  cursor: pointer;
}

#tableFromSidebar tr:nth-child(even) {
  background-color: #f2f2f2c0;
}

#tableFromSidebar td,
#tableFromSidebar th {
  border: 1px solid #ddd !important;
  padding: 6px;
}

#tableFromSidebar th:hover {
  background-color: #336394;
}

#tableData-tbody tr td:first-child {
  width: 50px;
  position: sticky;
  left: -1px;
  border-top: 1px solid white;
  background-color: #033e7c;
  background-clip: padding-box;
}

#tableData-tbody tr:hover {
  background-color: rgb(204 204 204 / 62%);
  font-weight: 600;
  color: #336394;
}

.selectable-th span svg {
  margin-left: 10px;
}

#tableFromSidebar thead th {
  position: -webkit-sticky;
  position: sticky;
  top: -1px;
  color: white;
  background-color: #033e7c;
  border: none;
}

.showHidePanel {
  position: absolute;
  left: 50px;
  bottom: 100px;
  font-size: 13px;
  max-height: 300px;
  z-index: 1500;
}
.showHidePanel .col {
  max-height: 300px;
  overflow: auto;
}
.listaShowHide li {
  list-style: none;
}

.listaShowHide li input {
  margin-right: 10px;
}

#panelInputButton {
  cursor: pointer;
  margin: 10px;
  color: white;
}

#panelInputButton > * {
  pointer-events: none;
}
#panelInputLi {
  max-height: 300px;
  overflow: auto;
  position: relative;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-color: #fff;
  background-clip: border-box;
  flex: 1 1 auto;
  min-height: 1px;
  padding: 1.25rem;
  border: 1px solid rgba(0, 0, 0, 0.125);
  border-radius: 0.25rem;
  box-shadow: 1px 0px 6px 0px black;
}

#panelInputLi li label {
  cursor: pointer;
}

#panelInputLi li label input {
  cursor: pointer;
}
#div_pagination_table {
  font-size: 14px;
  float: right;
}

.btn-table {
  margin-right: 5px;
  border-radius: 2px;
  height: 30px;
  width: 30px;
  line-height: 15px;
  color: white;
  border: 0px solid #d4d4d4;
  /* box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3); */
  background-color: #033e7c;
}
.btn-table:hover {
  color: white;
  /* border: 1px solid #111111; */
  background-color: #336394;
  /* background: linear-gradient(to bottom, #0b172c 0%, #111111 100%); */
}
.btn-table:focus {
  color: white;
  /* border: 1px solid #111111; */
  background-color: #336394;
  /* background: linear-gradient(to bottom, #0b172c 0%, #111111 100%); */
}

#input_pagination_table {
  width: 50px;
}
#div_pagination_table span {
  width: 30px;
  margin-left: 5px;
  margin-right: 5px;
}

.loader {
  border: 16px solid #f3f3f3;
  border-top: 16px solid #243652;
  border-radius: 50%;
  width: 150px;
  height: 150px;
  animation: spin 2s linear infinite;
  margin: auto;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/*
 TABLICA S LISTOM PREDLOŽENIH GEO IMENA
*/
#loader2 {
  margin-top: 30px;
}
.paginate_button.current {
  border: 1px solid #d4d4d4 !important;
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3) !important;
  background-color: #eceaea85 !important;
  background: none !important;
}
#tablicaPredDiv {
  font-size: 12px;
  padding: 5px;
}

#buttonPopisPred {
  width: auto;
  margin-bottom: 5px;
}

#buttonPopisPred button {
  border-radius: 0.25rem;
  font-size: 12px;
  padding: 5px;
  color: black;
  border: 1px solid #d4d4d4;
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
  background-color: #d3d0d026;
}

#buttonPopisPred button:hover {
  color: white;
  border: 0px solid #111111;
  background-color: #033e7c;
  /* background: linear-gradient(to bottom, #033E7C 0%, #111111 100%); */
  cursor: pointer;
}

#buttonPopisPred button:disabled {
  color: gray;
  border: 1px solid #979797;
  background-color: #80808052;
  cursor: unset;
  pointer-events: none;
  box-shadow: unset;
}

#tbodyPredIm tr {
  cursor: pointer;
}
#hideDatatable table {
  width: 100% !important;
}
#tablicaPred_paginate {
  width: fit-content;
  display: inline;
}
#buttonPotvrdaBrisanja {
  width: auto;
}

/*
###
### MODAL ZA BRISANJE PREDLOŽENOG IMENA
###
*/

#modalBrisanjePrijedloga.show,
#modalUsvajanjePrijedloga.show,
#modalErrorCrtanje.show {
  background-color: #8080806b;
}

#modalBrisanjePrijedloga .modal-dialog,
#modalUsvajanjePrijedloga.show .modal-dialog,
#modalErrorCrtanje.show .modal-dialog {
  max-width: 50%;
  background-color: unset;
  border: unset;
}
#modalBrisanjePrijedloga .modal-header,
.modal-footer {
  border: none;
}

#modalUsvajanjePrijedloga .modal-header,
.modal-footer {
  border: none;
}

#modalErrorCrtanje .modal-header,
.modal-footer {
  border: none;
}
#modalBrisanjePrijedloga .modal-footer button,
#modalUsvajanjePrijedloga .modal-footer button {
  width: fit-content !important;
}

#modalBrisanjePrijedloga .modal-footer button:first-of-type,
#modalUsvajanjePrijedloga .modal-footer button:first-of-type,
#modalErrorCrtanje .modal-footer button:first-of-type {
  margin-right: 5px;
  border-radius: 0.28rem;
  height: 30px;
  line-height: 15px;
  color: white;
  border: 1px solid #111111;
  background-color: #585858;
  background: linear-gradient(to bottom, #585858 0%, #111111 100%);
}

#modalBrisanjePrijedloga .modal-footer button:first-of-type:hover,
#modalUsvajanjePrijedloga .modal-footer button:first-of-type:hover,
#modalErrorCrtanje .modal-footer button:first-of-type {
  border: 1px solid #d4d4d4;
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
  background: unset;
  background-color: black;
}

/*
###
### STIL ZA ULOGIRANOG USERA
*/

.user-logged-p {
  margin: 0;
  opacity: 0.65;
  font-size: 16px;
  padding: 10px 25px;
  border-bottom: 1px solid #a5a5a5;
}
.user-logged-p span {
  padding-left: 5px;
  color: #033e7c;
}
.user-logged-p i {
  color: #033e7c;
}

/*
###         ###
### LEGENDA ###
###         ###
*/
.div-legend {
  position: fixed;
  display: block;
  bottom: 150px;
  right: 11px;
  transition: all 0.5s;
  border-radius: 4px;
  /* background-color: rgba(255,255,255,0.4); */
}

.div-legend button {
  background-color: #033e7c;
  cursor: pointer;
  font-weight: 300;
  padding: 0;
  height: 38px;
  width: 38px;
  color: white;
  font-size: 1.14em;
  border: none;
  line-height: 0.4em;
  background-image: url(../img/legend.svg);
  background-repeat: no-repeat;
  background-size: 24px;
  background-position: center;
  border-radius: 5px !important;
}

.span-geocjeline {
  color: #00ff01;
  font-size: 1.2em;
}

.span-reljef {
  color: #660001;
  font-size: 1.2em;
}

.span-vode {
  color: #0033ff;
  font-size: 1.2em;
}

.span-otoci {
  color: #99ffff;
  font-size: 1.2em;
}

.span-gradjevina {
  color: #ccff34;
  font-size: 1.2em;
}

.span-podrucja {
  color: #000001;
  font-size: 1.2em;
}

.span-naselja {
  color: #ff0034;
  font-size: 1.2em;
}

.span-prometnice {
  color: #ff00ff;
  font-size: 1.2em;
}

.span-imena {
  color: #ff9901;
  font-size: 1.2em;
}
.popover-body {
  background-color: rgb(51 51 51 / 94%);
  border: 3px solid #eee;
  color: white;
}

.legenda-up {
  bottom: calc(30% + 104px);
}

.legenda-up.legenda-increase {
  bottom: calc(50% + 104px);
}

button:focus {
  outline: unset !important;
}

/*PRIJEDLOG GEO IMENA*/
#prijedlog_geografskog_imena_forma1 .form-group .justify-content-between label {
  flex-basis: 10%;
}

#prijedlog_geografskog_imena_forma1
  .form-group
  .justify-content-between
  .form-group {
  flex-basis: 89%;
}
.ol-touch .ol-control button {
  font-size: 1.14em !important;
}

.ol-control button {
  height: 38px;
  width: 38px;
  font-weight: 400 !important;
  border-radius: 5px !important;
  margin-top: 7px;
  font-size: 1.54em;
}

.dataTables_filter {
  float: left !important;
}

.dodajime-poruke-container,
.prijedlogimena-poruke-container {
  margin: auto;
  bottom: 100%;
  height: 100%;
  width: 100%;
  z-index: 1111;
}

#dodajime-poruke,
#prijedlogimena-poruke {
  margin: auto;
  position: relative;
  padding: 5px;
}

#dodajime-poruke-container.animation-mobilna,
#prijedlogimena-poruke-container.animation-mobilna {
  display: block;
}

#tablicaPredDiv .table.dataTable thead th,
table.dataTable thead td {
  padding: 0px;
}
#tablicaPred_filter label {
  margin-bottom: 0px;
}

@keyframes opacity {
  0% {
    visibility: hidden;
    opacity: 0;
  }

  3% {
    visibility: visible;
    opacity: 1;
  }

  99% {
    opacity: 1;
    visibility: visible;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}
.ol-full-screen {
  display: none;
}

.dropdown-content a img {
  display: none;
}
/*
####          ####
#### CSS RULES ####
#### Responzivnost ###
*/

#header-dropdown {
  display: none;
}

#cancel-dodavanje-div,
#otvaranje-uputa-dodavanje-div,
#otvaranje-uputa-prijedlog-div {
  display: none;
  position: fixed;
  z-index: 1025;
  left: 6px;
  top: 60px;
  margin-top: 0.5em;
  padding-top: 2px;
}

#otvaranje-uputa-prijedlog-div,
#otvaranje-uputa-dodavanje-div {
  top: 105px;
}

#cancel-dodavanje,
#otvaranje-dodavanje-uputa,
#otvaranje-prijedlog-uputa {
  border: none;
  height: 40px;
  width: 40px;
  padding: 0;
  background-color: #033e7c;
  background-image: url(../img/x-lg.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 20px;
  border-radius: 2px;
  cursor: pointer;
}

#otvaranje-dodavanje-uputa,
#otvaranje-prijedlog-uputa {
  background-image: url(../img/help.svg);
  background-size: 30px;
}

#button-filters {
  display: none;
  background: #033e7c;
  border: none;
  width: 50px;
  height: 50px;
  box-shadow: 1px 1px 2px black;
  background-image: url(../img/ui-radios-grid.svg);
  background-size: 25px;
  background-repeat: no-repeat;
  background-position: center;
}

#dismiss img {
  width: 20px;
}

#slideshow-container {
  opacity: 0;
  visibility: hidden;
  display: none;
  position: fixed;
  background-color: #033e7c;
  height: 100%;
  width: 100%;
  z-index: 4000;
  top: 0;
  left: 0;
  margin: auto;
}

.prijedlogimena-poruke-container,
.dodajime-poruke-container {
  position: fixed;
  top: 0px;
  bottom: 0px;
  background-color: #020305e6;
  margin: auto;
  align-items: baseline;
  display: none;
}

#prijedlogimena-poruke,
#dodajime-poruke {
  width: 90vw;
  text-align: center;
  margin: auto;
  position: unset;
  box-shadow: unset;
  background-color: unset;
}

#wrapper {
  height: 100% !important;
  background-color: #033e7c2e !important;
}

#wrapper .card {
  background-color: white !important;
  color: #033e7c !important;
  box-shadow: 0px 0px 4px #033e7c;
  border-radius: 2px !important;
}
#wrapper .form-control {
  background-color: white !important;
  border-radius: 2px;
  border: 1px solid #033e7c;
}

#wrapper .card-header {
  background-color: #033e7c !important;
  color: white;
  text-align: center;
  font-size: 18px;
  font-weight: 500;
}

#wrapper label {
  font-weight: 500;
}

#wrapper .btn-secondary {
  background-color: #033e7c !important;
  color: white !important;
}

#wrapper .btn-secondary:hover {
  background-color: #091325;
  box-shadow: 0px 0px 2px black;
}

#wrapper .card-body .btn {
  border-radius: 5px !important;
}

@-webkit-keyframes fadeout-overlay {
  0% {
    opacity: 1;
    visibility: visible;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}
@keyframes fadeout-overlay {
  0% {
    opacity: 1;
    visibility: visible;
  }

  100% {
    opacity: 0;
    visibility: hidden;
  }
}
.fadeout-overlay {
  -moz-animation: fadeout-overlay 500ms linear;
  -webkit-animation: fadeout-overlay 500ms linear;
  animation: fadeout-overlay 500ms linear;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.layer-switcher.shown {
  z-index: 1040;
}

/*.layer-switcher-fold:last-of-type ul{
    max-height: 50vh!important;
    overflow: auto;
}
*/
.layer-switcher .panel {
  max-height: calc(100vh - 190px);
  overflow: auto;
  border: 0px !important;
}

.layer-switcher .panel::before {
  display: inline-flex;
  height: 40px;
  width: 100%;
  content: "STABLO SLOJEVA";
  color: white;
  background-color: #033e7c;
  align-items: center;
  padding-left: 25px;
  font-weight: 600;
}

.layer-switcher .panel.tablegeo-open {
  max-height: 45vh;
}

.layer-switcher .panel.tableprijedlog-open {
  max-height: 28vh;
}

#image-slider {
  height: 45vh;
}

#image-slider .splide__arrows {
  position: absolute;
  bottom: 50px;
  left: 50px;
  right: 50px;
}

#image-slider .splide__track {
  height: 100%;
}

#image-slider .splide__list {
  height: 100%;
  display: flex;
}

#image-slider .splide__slide {
  display: flex;
  flex-basis: 100%;
  flex-direction: unset;
  align-items: self-end;
  position: relative;
  justify-content: end;
}

.splide__arrow svg {
  fill: white !important;
}

.splide__arrow {
  background: unset !important;
  opacity: 1 !important;
}

.splide__pagination__page {
  opacity: 1 !important;
}

#image-slider .splide__slide img {
  vertical-align: unset !important;
}

#dodajime-poruke .splide__pagination,
#prijedlogimena-poruke .splide__pagination {
  bottom: 25% !important;
}

#dodajime-poruke .splide__slide img,
#prijedlogimena-poruke .splide__slide img {
  width: 90%;
}

.layer-switcher ul:first-of-type li:first-of-type {
  font-weight: 600 !important;
  display: block !important;
}

.group ul li label {
  font-weight: 500 !important;
}

.layer-switcher ul li.group:last-of-type li.layer:nth-child(2),
.layer-switcher ul li.group:last-of-type li.layer:nth-child(4),
.layer-switcher ul li.group:last-of-type li.layer:nth-child(6),
.layer-switcher ul li.group:last-of-type li.layer:nth-child(8),
.layer-switcher ul li.group:last-of-type li.layer:nth-child(10),
.layer-switcher ul li.group:last-of-type li.layer:nth-child(12),
.layer-switcher ul li.group:last-of-type li.layer:nth-child(14),
.layer-switcher ul li.group:last-of-type li.layer:nth-child(16),
.layer-switcher ul li.group:last-of-type li.layer:nth-child(19),
.layer-switcher ul li.group:last-of-type li.layer:nth-child(21),
.layer-switcher ul li.group:last-of-type li.layer:nth-child(23),
.layer-switcher ul li.group:last-of-type li.layer:nth-child(25),
.layer-switcher ul li.group:last-of-type li.layer:nth-child(27) {
  margin-left: 20px !important;
  margin-top: 0px !important;
}

.layer-switcher ul li.group:last-of-type li.layer:nth-child(1),
.layer-switcher ul li.group:last-of-type li.layer:nth-child(3),
.layer-switcher ul li.group:last-of-type li.layer:nth-child(5),
.layer-switcher ul li.group:last-of-type li.layer:nth-child(7),
.layer-switcher ul li.group:last-of-type li.layer:nth-child(9),
.layer-switcher ul li.group:last-of-type li.layer:nth-child(11),
.layer-switcher ul li.group:last-of-type li.layer:nth-child(13),
.layer-switcher ul li.group:last-of-type li.layer:nth-child(15),
.layer-switcher ul li.group:last-of-type li.layer:nth-child(17),
.layer-switcher ul li.group:last-of-type li.layer:nth-child(18),
.layer-switcher ul li.group:last-of-type li.layer:nth-child(20),
.layer-switcher ul li.group:last-of-type li.layer:nth-child(22),
.layer-switcher ul li.group:last-of-type li.layer:nth-child(24),
.layer-switcher ul li.group:last-of-type li.layer:nth-child(26),
.layer-switcher ul li.group:last-of-type li.layer:nth-child(28) {
  margin-top: 10px !important;
}

.layer-switcher ul li.group:last-of-type li.layer:nth-child(odd) label {
  margin: 0px !important;
  font-weight: 500 !important;
}

@media (max-width: 601px) {
  .user-logged-p span {
    color: white;
  }
  /*/
    SIDEBAR
    */
  #container-sidebar {
    height: calc(100% - 180px);
  }
  #sidebar {
    width: 80%;
  }

  .sidebar-right {
    left: 0%;
  }
  .sidebar-left {
    left: -100%;
  }

  #input-sidebar {
    width: 80%;
  }
  #select-group-sidebar > .form-group > .form-control {
    padding: 3px;
  }
  #select-group-sidebar > .form-group:nth-child(2),
  #select-group-sidebar > .form-group:nth-child(4) {
    flex-basis: 30%;
  }
  #select-group-sidebar > .form-group:nth-child(1),
  #select-group-sidebar > .form-group:nth-child(3) {
    flex-basis: 66%;
  }

  #div_pagination_table {
    margin-top: 3px;
  }

  #drawPoly {
    display: none;
  }

  #ponisti-filter {
    width: 12%;
  }
  #table-pagination > span {
    flex-basis: 45%;
  }
  /*STATISTIKA*/
  /*pie chart*/
  .tab {
    display: block;
    width: 100%;
  }
  #myModal .modal-content,
  #go_Modal1 .modal-content {
    padding: 5px;
  }
  #myModal .modal-header,
  #go_Modal1 .modal-header {
    padding-bottom: 0px;
    border: none;
    font-size: 15px;
  }
  #myModal .modal-body,
  #go_Modal1 .modal-body {
    padding: 0px;
    font-size: 14px;
  }
  #myModal .modal-footer,
  #go_Modal1 .modal-footer {
    padding: 0px;
  }
  #myModal .modal-footer button,
  #go_Modal1 .modal-footer button {
    font-size: 13px;
  }
  #grupe_stat1 {
    padding: 0px;
    display: block;
    width: 100%;
  }
  #grupe1_pie {
    height: 100% !important;
    width: 100% !important;
  }
  /*tablica od statistike*/
  #table_grupe1_wrapper table thead tr th {
    font-size: 11px;
    padding: 2px;
  }
  #table_grupe1_wrapper #table_grupe1 #tablica_objektne_cjeline1 tr td {
    font-size: 11px;
    padding: 2px;
  }
  #table_grupe1_wrapper
    #table_grupe1
    #tablica_objektne_cjeline1
    tr
    td:first-child,
  #table_grupe1_wrapper table thead tr th:first-child {
    width: 15% !important;
  }
  #table_grupe1_wrapper
    #table_grupe1
    #tablica_objektne_cjeline1
    tr
    td:nth-child(2),
  #table_grupe1_wrapper table thead tr th:nth-child(2) {
    width: 30% !important;
  }
  #table_grupe1_wrapper
    #table_grupe1
    #tablica_objektne_cjeline1
    tr
    td:nth-child(3),
  #table_grupe1_wrapper table thead tr th:nth-child(3) {
    width: 15% !important;
  }
  #table_grupe1_wrapper
    #table_grupe1
    #tablica_objektne_cjeline1
    tr
    td:last-child,
  #table_grupe1_wrapper table thead tr th:last-child {
    width: 10% !important;
  }
  #table_div_grupe1 .dataTables_scrollBody {
    overflow: hidden !important;
  }
  /*po zupanijama*/
  #zupanije1_horizontal {
    padding: 0px !important;
  }
  #zupanije_stat1 {
    width: 100% !important;
    padding: 0px !important;
    overflow: scroll !important;
  }
  #graph_div_zupanije1 {
    width: 680px !important;
    padding: 0px !important;
    overflow: scroll !important;
  }

  #zupanije_stat1 {
    position: relative !important;
  }

  #zupanije_stat1 > canvas {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    pointer-events: none !important;
  }
  #graph_div_zupanije1 .chartjs-size-monitor {
    position: unset !important;
    direction: unset !important;
    left: unset !important;
    top: unset !important;
    right: unset !important;
    bottom: unset !important;
    overflow: unset !important;
    pointer-events: unset !important;
    visibility: unset !important;
    z-index: unset !important;
  }
  /*Geografski objekti*/
  #table_div_go1 .dataTables_scroll .dataTables_scrollHead table tr th {
    font-size: 12px;
    padding: 5px 13px;
  }
  #table_div_go1
    .dataTables_scroll
    .dataTables_scrollBody
    #table_go1
    #tablica_geografski_objekti1
    tr
    td {
    font-size: 12px;
    padding: 5px 13px;
  }
  #table_go1_paginate {
    font-size: 12px;
  }
  #novo_gi_spremljeno,
  #alert_brisanje_imena,
  #alert_brisanje_im_gi,
  #gi_obrisano1,
  #im_gi_obrisano1,
  #prijedlog_gi_spremljen {
    max-width: unset;
  }
}

@media (max-width: 481px) {
  .layer-switcher,
  .ol-zoom,
  .ol-full-screen {
    position: fixed;
  }

  .ol-full-screen {
    top: 70px;
  }

  /*statistika po zuppanijama*/
  #zupanije1_horizontal {
    height: 385px !important;
  }
  #myModal .tab button {
    padding: 10px;
  }
  #table_go1_filter {
    font-size: 13px;
  }
  #grupe_stat1 {
    max-height: 420px;
  }
  /*geografski objekti*/
  #table_div_go1 .dataTables_scrollBody {
    max-height: 350px !important;
  }

  /*TABLICA GEOGRAFSKA IMENA*/
  #tableFromSidebar td {
    font-size: 11px;
  }
  #tableFromSidebar th {
    font-size: 12px;
  }
  #div_pagination_table {
    font-size: 12px;
  }
  /*layer switcher i panel legende*/
  .layer-switcher .panel {
    font-size: 13px;
  }
  .legenda {
    font-size: 12px;
  }
  #Dropdown_1 {
    font-size: 14px;
  }
  /*Popup*/
  #popup {
    padding: 10px;
    min-width: 250px;
  }
  #button-popup-uredu {
    margin-left: 170px;
  }
  .modal-header {
    padding-left: 5px;
  }
  .modal-title {
    font-size: 18px;
    padding: 0px;
    padding-bottom: 5px;
  }
  /*Sidebar*/
  #select-group-sidebar .form-group {
    margin-bottom: 0px;
  }
  #input-pagination {
    width: 15%;
  }
  #table-pagination {
    width: 100%;
    justify-content: space-between;
  }
  #sidebar {
    height: 100%;
  }
  /*get feature info button*/
  .ol-zoom-in:focus,
  .ol-zoom-out:focus,
  .btn-info:focus,
  #locate:focus,
  #locate:hover,
  .button-clicked,
  .ol-control.full-screen-button-top button {
    background-color: #336394 !important;
  }

  .fixed-bottom,
  .div-legend,
  .locate {
    bottom: 5px;
  }

  .fixed-bottom {
    background-color: #033e7cbd !important;
    font-size: 13px;
  }

  #mjerilo {
    flex-basis: 100%;
  }

  .tableContentup {
    bottom: 0px !important;
  }
  .mousepositionup,
  .legenda-up,
  .locateup {
    bottom: calc(30% + 5px) !important;
  }

  .mousepositionup {
    bottom: calc(30% + 8px) !important;
  }

  .mjerilo.mousepositionup {
    bottom: calc(30% + 50px) !important;
  }
  .legenda-up.legenda-increase,
  .locateup.locateup-increase,
  .layer-switcherup.switcherup-increase {
    bottom: calc(50% + 5px) !important;
  }

  .mousepositionup.mouse-increase {
    bottom: calc(50% + 8px) !important;
  }

  .mousepositionup.mouse-increase.mjerilo {
    bottom: calc(50% + 60px) !important;
  }

  .mousepositionup.mjerilo {
    bottom: calc(30% + 60px) !important;
  }

  .layer-switcherup {
    bottom: calc(30% + 5px) !important;
  }
  .layer-switcherup.fullscreen {
    bottom: calc(30% + 5px) !important;
  }

  .layer-switcherup.fullscreen.switcherup-increase {
    bottom: calc(50% + 5px) !important;
  }

  .zoomup {
    bottom: calc(30% + 60px) !important;
  }
  .zoomup.fullscreen-zoom {
    bottom: calc(30% + 60px) !important;
  }

  .zoomup.zoomup-increase {
    bottom: calc(50% + 60px) !important;
  }

  .zoomup.zoomup-increase.fullscreen-zoom {
    bottom: calc(50% + 60px) !important;
  }
  /*Popis predlozenih imena*/
  #tablicaPred_filter {
    font-size: 11px !important;
    margin-top: 0 !important;
  }
  #tablicaPred_filter label {
    margin: 0px;
  }
  #tablicaPred_paginate {
    font-size: 11px !important;
  }
  #buttonPopisPred {
    font-size: 11px !important;
  }
  #tablicaPred_wrapper {
    font-size: 11px !important;
  }
  .loader {
    height: 100px;
    width: 100px;
  }
  #tablicaPredDiv table.dataTable thead th,
  #tablicaPredDiv table.dataTable thead td,
  #tablicaPredDiv div.dataTables_scrollBody > table > tbody > tr > td {
    padding: 0px 10px !important;
  }
  #tablicaPredDiv .dataTables_wrapper {
    clear: none;
  }
  #tablicaPredDiv table.dataTable thead th:last-child,
  #tablicaPredDiv table.dataTable thead th:first-child,
  #tablicaPredDiv table.dataTable thead th:nth-child(5) {
    width: 25px !important;
  }

  #tablicaPredDiv {
    padding: 0px 5px 10px 5px;
  }
  /* .panel > ul .group:nth-of-type(4) ul  {
        overflow-y: unset;
        max-height: unset;
    }

    .panel > ul {
        overflow-y: scroll;
        max-height: 330px;
    }*/

  .layer-switcher li {
    font-size: 14px;
  }
  .layer-switcher li label {
    padding-right: 0px;
  }

  /*Prilagodba za prijenosne uređaje*/

  .ol-full-screen {
    display: block;
  }
  .div-map {
    height: calc(100% - 60px);
  }

  #panel .dropdown {
    height: 50px;
    text-align: center;
  }
  .locate {
    position: fixed;
  }

  #buttonObrisiPred,
  #buttonPrikaziPred,
  #buttonUsvojiPred,
  #showTable {
    background-size: contain;
    background-repeat: no-repeat;
    height: 25px;
    width: 25px;
  }
  #buttonObrisiPred {
    background-image: url(../img/x-square-fill.svg);
    height: 30px;
    width: 30px;
    margin-right: 5px;
  }

  #buttonUsvojiPred {
    background-image: url(../img/check-square-fill.svg);
    height: 30px;
    width: 30px;
  }
  #buttonPrikaziPred {
    background-image: url(../img/pin-map-fill.svg);
    height: 30px;
    margin-right: 5px;
    width: 30px;
  }

  #buttonObrisiPred:disabled {
    background-image: url(../img/x-square-fill-disabled.svg);
  }

  #buttonUsvojiPred:disabled {
    background-image: url(../img/check-square-fill-disabled.svg);
  }
  #buttonPrikaziPred:disabled {
    background-image: url(../img/pin-map-fill-disabled.svg);
  }

  #buttonPopisPred #buttonPrikaziPred:hover {
    background-color: #070d18;
    background-image: url(../img/pin-map-fill-hover.svg);
    background-size: contain;
    background-repeat: no-repeat;
  }

  #menu_button1,
  #sidebarCollapse {
    background-color: unset;
    border: none;
    width: 50px;
    height: 50px;
  }

  .fixed-top,
  #panel {
    background-color: #033e7c !important;
    width: 50px;
    height: 50px;
    text-align: center;
    border-radius: 5px;
  }

  .sidebar-heading {
    display: none;
  }

  .div-legend {
    margin-right: 4px;
    margin-bottom: 3px;
  }

  .fixed-top {
    left: 6px;
    top: 0px;
  }

  #panel {
    right: 6px;
    position: fixed;
    left: unset;
    top: 0px;
  }

  #sidebarCollapse {
    background-size: 30px;
  }

  #menu_button1 {
    background-size: 40px;
  }

  #sidebarCollapse:hover,
  #sidebarCollapse:focus {
    background-color: unset !important;
  }

  .ol-zoom button,
  #locate,
  #legenda button,
  .ol-full-screen button {
    height: 50px;
    width: 50px;
  }

  .full-screen-button-top {
    top: 65px !important;
    margin: 0 !important;
  }

  #otvaranje-uputa-dodavanje-div.full-screen-help,
  #otvaranje-uputa-prijedlog-div.full-screen-help {
    top: 100px !important;
    margin: 0 !important;
  }

  .ol-full-screen {
    right: 3px;
  }

  .ol-zoom {
    bottom: 60px;
  }

  #legenda {
    right: 60px;
  }

  .fixed-bottom {
    right: 175px;
    bottom: 8px;
    height: 50px;
    align-items: center;
    position: fixed;
    z-index: 1;
  }
  .fixed-bottom.mjerilo {
    bottom: 65px;
    right: 175px;
    width: 150px;
    font-size: 14px;
  }

  .layer-switcher button {
    height: 50px;
    width: 50px;
  }

  .layer-switcher {
    right: 115px;
    bottom: 5px;
    background-color: unset;
  }

  #legenda button,
  #locate,
  .ol-zoom .ol-zoom-in,
  .ol-zoom .ol-zoom-out,
  .fixed-bottom,
  .ol-full-screen button,
  .ol-control button:hover,
  .ol-control button:focus,
  #panel {
    background-color: #033e7c;
  }

  .layer-switcher > button {
    background-size: 30px;
  }

  .ol-control,
  #legenda,
  .locate {
    background-color: unset !important;
  }

  #modalBrisanjePrijedloga .modal-dialog,
  #modalUsvajanjePrijedloga.show .modal-dialog,
  #modalErrorCrtanje.show .modal-dialog {
    max-width: unset;
  }

  #panel {
    z-index: 1040;
  }

  .dropdown-content {
    background-color: #033e7c;
  }

  .dropdown-content a {
    color: white !important;
    width: 75% !important;
    margin: auto;
    font-size: 20px;
  }

  .dropdown-content a img {
    float: left;
    display: block;
  }

  .dropdown-content.show {
    height: 100%;
    width: 100%;
    right: 0px;
    top: 0px;
    position: fixed;
  }

  #x-button,
  #get_help {
    border: none;
    outline: none;
    background-color: unset;
  }

  #x-button img {
    width: 25px;
    height: 25px;
  }

  #get_help {
    position: absolute;
    left: 0px;
  }

  #get_help img {
    width: 30px;
    height: 30px;
  }

  #header-dropdown {
    display: flex;
    flex-direction: row;
    flex-basis: 100%;
    flex-wrap: wrap;
  }

  #div-close-dropdown {
    flex-basis: 100%;
    padding: 5px;
    text-align: right;
  }

  #div-logo-header {
    flex-basis: 100%;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    border-bottom: 1px solid white;
    margin: 0px 20px;
  }

  #div-logo-header div {
    flex-basis: 100%;
    margin-bottom: 10px;
  }

  #div-logo-header a {
    padding: 0px;
  }

  #div-logo-header img {
    width: 100%;
  }

  .predlozi-margin {
    margin-top: 20% !important;
  }
  #type_dodavanje {
    margin-top: 10%;
  }

  .user-logged-p {
    color: white;
    border: none;
  }

  #cancel-dodavanje-div,
  #otvaranje-uputa-dodavanje-div,
  #otvaranje-uputa-prijedlog-div {
    display: block;
  }

  #cancel-dodavanje-div.doesnt-show,
  #otvaranje-uputa-dodavanje-div.doesnt-show,
  #otvaranje-uputa-prijedlog-div.doesnt-show {
    display: none;
  }

  #input-sidebar {
    margin-right: 0px !important;
    width: 80%;
    border: 1px solid #033e7c;
    height: 50px;
    font-size: 14px;
  }

  #ponisti-filter,
  #showTable {
    position: absolute;
    left: 100%;
    top: 5px;
    border-radius: 0px;
    box-shadow: 1px 1px 3px 1px black;
    background-color: #eceaea;
    padding: 5px;
    width: 50px;
    height: 50px;
    font-size: 20px;
  }

  #showTable {
    margin: 0px;
    padding: 0px;
    top: 60px;
    background-image: url(../img/Table.svg);
    background-size: 30px;
    background-position: center;
    color: transparent;
  }

  #sidebar {
    z-index: 1060;
    width: 85%;
  }

  #button-filters {
    display: inline-block;
  }

  #table-pagination > button {
    margin: 0px;
  }

  #table-pagination > span {
    flex-basis: 20%;
  }

  #container-sidebar {
    height: calc(100% - 70px);
  }

  #container-sidebar.open-filters {
    height: calc(100% - 230px);
  }

  #select-group-sidebar {
    display: none;
    margin: 5px 5px 0px 5px;
  }

  #select-group-sidebar.show-filters {
    display: flex;
    justify-content: space-between;
  }

  #button-filters.clicked-button-filters {
    background-image: url(../img/ui-radios-grid-clicked.svg);
    background-color: white;
    border: 1px solid #033e7c;
  }

  #popup {
    z-index: 1050;
  }

  #dismiss {
    width: 50px;
    background-color: #eceaea;
    background-image: url(../img/mobile_sidebar.svg);
    height: 50px;
    top: 115px;
    box-shadow: 1px 1px 3px 1px black;
    left: 100%;
    border-radius: 5px !important;
  }

  #dismiss img {
    width: 30px;
    height: 30px;
    color: #033e7c;
  }
  #underline {
    border-bottom: 1.5px solid #333;
    margin: 0px 10px;
    width: 100%;
    margin-top: 5px;
  }

  #select-group-sidebar select {
    height: 40px;
    padding: 0px;
    color: white;
    background-color: #033e7c;
    box-shadow: 1px 1px 6px black;
    border: none;
    border-radius: 0px;
    font-size: 16px;
  }

  #loader_img {
    background-image: url(../img/statistika.gif);
  }

  .loader_img-text {
    color: #033e7c;
  }

  .tab button {
    border: 1px solid #033e7c;
  }

  .modal-footer button:hover,
  .modal-footer button:focus {
    background-color: #070d18;
  }

  .tab {
    border: none;
    background-color: unset;
  }

  .modal-dialog {
    border-radius: 5px;
  }

  #div-sidebar {
    padding: 0px 5px;
  }
  .first-div-sidebar > p:first-child {
    font-size: 14px;
  }

  .layer-switcher > button:focus {
    background-color: #070d18 !important;
  }
  /* .layer-switcher.shown .panel {
        background-color: #070d18f2!important;
    } */

  .layer-switcher .panel {
    max-height: 80vh;
  }

  .popover {
    margin-bottom: 0px !important;
    margin-right: 55px !important;
  }

  .mySlides {
    display: none;
    text-align: center;
    position: absolute;
    top: 55%;
    width: 100%;
  }

  img {
    vertical-align: middle;
  }

  /* Slideshow container */
  #slideshow-container {
    display: block;
    opacity: 1;
    visibility: visible;
  }

  #dots {
    text-align: center;
    bottom: 10%;
    position: absolute;
    margin: auto;
    width: 100%;
  }

  #slideshow-logos {
    margin-top: 20%;
    width: 100%;
    text-align: center;
  }

  #slideshow-logos img {
    width: 90%;
  }

  #slideshow-logos img:last-of-type {
    margin-top: 25px;
  }

  #slideshow-header {
    width: 100%;
    text-align: right;
  }

  #dodajime-poruke-header,
  #prijedlogimena-poruke-header {
    width: 100%;
    text-align: right;
    height: 20vh;
  }

  #slideshow-header button,
  #dodajime-poruke-header button,
  #prijedlogimena-poruke-header button {
    height: 40px;
    width: 40px;
    margin-top: 30px;
    margin-right: 20px;
    padding: 0px;
    background-image: url(../img/x-lg.svg);
    background-size: 30px;
    background-color: unset;
    background-repeat: no-repeat;
    border: none;
    outline: none;
  }

  .numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    width: 95%;
    margin: auto;
    text-align: center;
    font-size: 27px;
  }

  /* Next & previous buttons */
  .prev,
  .next {
    cursor: pointer;
    user-select: none;
  }

  .prev {
    padding-right: 16px;
  }

  .next {
    padding-left: 16px;
  }

  .fade-slides:not(.show) {
    opacity: unset !important;
  }

  /* The dots/bullets/indicators */
  .dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #60606082;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
  }

  .active,
  .dot:hover {
    background-color: white;
  }

  /* Fading animation */
  .fade-slides {
    -webkit-animation-name: fade-slides;
    -webkit-animation-duration: 1.5s;
    animation-name: fade-slides;
    animation-duration: 1.5s;
  }

  @-webkit-keyframes fade-slides {
    from {
      opacity: 0.4;
    }
    to {
      opacity: 1;
    }
  }

  @keyframes fade-slides {
    from {
      opacity: 0.4;
    }
    to {
      opacity: 1;
    }
  }

  @keyframes fade-container {
    0% {
      opacity: 1;
      visibility: visible;
      display: block;
    }
    100% {
      opacity: 0;
      visibility: hidden;
      display: none;
    }
  }

  #slideshow-container.animating {
    animation: fade-container 1.1s;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .not-showing {
    opacity: 0;
    visibility: hidden;
  }

  @keyframes fadein-container {
    0% {
      opacity: 0;
      visibility: hidden;
    }
    100% {
      opacity: 1;
      visibility: visible;
    }
  }

  #slideshow-container.show-messages {
    animation: fadein-container 4s;
    opacity: 1;
    visibility: visible;
  }

  #overlay {
    background: #033e7c;
    color: white;
    padding-top: 10%;
  }

  #cancel-dodavanje,
  #otvaranje-prijedlog-uputa,
  #otvaranje-dodavanje-uputa {
    height: 45px;
    width: 45px;
  }

  #otvaranje-uputa-prijedlog-div,
  #otvaranje-uputa-dodavanje-div {
    top: 110px;
  }
}

@media (max-width: 385px) {
  .fixed-bottom.mjerilo {
    right: 145px;
  }

  #cancel-dodavanje,
  #otvaranje-prijedlog-uputa,
  #otvaranje-dodavanje-uputa {
    height: 40px;
    width: 40px;
  }
  #otvaranje-prijedlog-uputa,
  #otvaranje-dodavanje-uputa {
    top: 105px;
  }

  .dropdown-content a {
    font-size: 15px;
  }
  #type_dodavanje {
    margin-top: 5%;
  }

  .ol-zoom button,
  #locate,
  #legenda button,
  .ol-full-screen button {
    height: 40px;
    width: 40px;
  }

  .full-screen-button-top {
    top: 50px !important;
    margin: 0 !important;
  }

  .ol-full-screen {
    right: 3px;
  }

  .ol-zoom {
    bottom: 50px;
  }

  #legenda {
    right: 50px;
  }

  .fixed-bottom {
    right: 145px;
    bottom: 8px;
    height: 40px;
    align-items: center;
  }

  .fixed-bottom.mjerilo {
    bottom: 50px;
  }

  .layer-switcher button {
    height: 40px;
    width: 40px;
  }
  .layer-switcher {
    right: 95px;
    bottom: 5px;
    background-color: unset;
  }

  #menu_button1,
  #sidebarCollapse {
    background-color: unset;
    border: none;
    width: 40px;
    height: 40px;
  }

  .fixed-top,
  #panel {
    background-color: #033e7c;
    width: 40px;
    height: 40px;
    text-align: center;
    border-radius: 0;
  }

  #slideshow-logos img:last-child {
    height: unset;
  }
}

@media (max-width: 361px) {
  #header {
    background-size: 220px;
  }

  #slideshow-logos {
    margin-top: 0px;
  }

  .mySlides {
    top: 50%;
  }
  .numbertext {
    font-size: 24px;
  }
}

@media (max-width: 346px) {
  #table-pagination {
    flex-wrap: wrap;
  }
  #table-pagination > span {
    padding: 0px;
  }

  .ol-full-screen button,
  .layer-switcher button:first-of-type,
  #locate,
  #legenda button,
  #sidebarCollapse,
  .ol-zoom-in,
  .ol-zoom-out,
  #menu_button1,
  .fixed-top,
  #cancel-dodavanje-div,
  #cancel-dodavanje-div button,
  #panel,
  #panel .dropdown,
  #otvaranje-uputa-dodavanje-div,
  #otvaranje-uputa-dodavanje-div button,
  #otvaranje-uputa-prijedlog-div,
  #otvaranje-uputa-prijedlog-div button {
    height: 35px !important;
    width: 35px !important;
  }

  .layer-switcher .group button {
    width: 1em !important;
    height: 1em !important;
    background-size: unset !important;
  }

  .layer-switcher .group button:hover {
    background-color: white !important;
  }

  #sidebarCollapse {
    background-size: 25px;
  }

  #legenda {
    right: 40px;
  }

  .fixed-bottom {
    right: 120px;
    height: 35px;
  }

  .fixed-bottom.mjerilo {
    right: 120px;
    height: 35px;
    bottom: 45px;
  }

  .layer-switcher button {
    background-size: 25px;
  }

  .layer-switcher {
    right: 77px;
  }

  .sidebar-left {
    left: -105%;
  }
}

@media (max-width: 321px) {
  #cancel-dodavanje {
    top: 70px;
    margin-top: 0;
  }

  #slideshow-header button,
  #dodajime-poruke-header button,
  #prijedlogimena-poruke-header button {
    margin-top: 10px;
    margin-right: 10px;
  }

  #slideshow-logos {
    margin-top: 0px;
  }

  .numbertext {
    font-size: 22px;
  }

  #dots a img {
    width: 30px;
    height: 30px;
  }

  #button-filters,
  #ponisti-filter,
  #showTable,
  #dismiss {
    height: 40px;
    width: 40px;
  }

  .layer-switcherup {
    bottom: calc(30% + 5px) !important;
  }

  .mousepositionup {
    bottom: calc(30% + 9px) !important;
  }

  .mousepositionup.mouse-increase {
    bottom: calc(50% + 9px) !important;
  }
  .mjerilo.mousepositionup.mouse-increase {
    bottom: calc(50% + 45px) !important;
  }

  .layer-switcherup.switcherup-increase {
    bottom: calc(50% + 5px) !important;
  }

  .mjerilo.mousepositionup {
    bottom: calc(30% + 45px) !important;
  }

  #panel,
  .fixed-top {
    top: 10px;
  }
  .fixed-top {
    display: flex;
  }

  #select-group-sidebar select {
    font-size: 14px;
  }
  .zoomup.fullscreen-zoom {
    bottom: calc(30% + 45px) !important;
  }

  .zoomup {
    bottom: calc(30% + 45px) !important;
  }

  .zoomup.zoomup-increase.fullscreen-zoom,
  .zoomup.zoomup-increase {
    bottom: calc(50% + 45px) !important;
  }
}
