*,
::after,
::before {
  box-sizing: border-box;
}

b,
strong {
  font-weight: bolder;
}

small {
  font-size: 0.8em;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.5;
  margin: 0;
  width: 100%;
  padding: 8px;
  border-radius: 4px;
  color: #495057;
  border: 1px solid #ced4da;
}

a {
  text-decoration: underline;
  color: inherit;
}

a:link {
  text-decoration: underline;
}

a:visited {
  text-decoration: underline;
}

a:hover {
  text-decoration: none;
}

a:active {
  text-decoration: none;
}

h4 {
  margin: 0 0 1em;
  font-size: 1.1em;
  line-height: 1.2em;
  font-weight: 400;
  display: inline-block;

  margin: 0 0 0.5em;
  font-size: 0.9em;
}

img {
  width: 100%;
}

.b {
  font-weight: bold;
}


body {
  background: #f2f2f2;
  padding: 0;
  margin: 0;
  font-size: 14px;
  line-height: 150%;
  font-weight: 400;
  font-family: Helvetica, Arial, sans-serif;
}

body.frontpage {
  background-image: url('background.png');
  background-size: contain;
  background-position-y: bottom;
}


body.passport {
  background: #223344;
}

body.passport .p-footer {
  margin-top: 0px;
}

.passport-bg {
  background-image: url('background2.png');
  background-size: contain;
  background-position-y: bottom;
  background-repeat: no-repeat;
  padding-bottom: 300px;
}

.page-wrap {
  max-width: 1800px;
  margin: 0 auto;
  padding: 0 2%;
}

.page-wrap2 {
  margin: 0 auto;
  padding: 0 2%;
}

.p-top {
  background: #141b1f;
  font-size: 12px;
  color: rgba(255, 255, 255, .8);
  line-height: 40px;
}

.p-top .page-wrap a,
.p-top .page-wrap span {
  border-left: 1px solid rgba(255, 255, 255, .1);
  padding: 0 12px;
  display: inline-block;
  text-decoration: none;
}

.p-top .login {
  float: right;
}

.p-header {
  background: linear-gradient(117.41deg, rgb(0, 95, 160) 7.4%, rgb(43, 142, 209) 70.06%);
  height: 80px;
  margin-bottom: 20px;
  padding: 10px 0;
}

.p-logo img {
  height: 60px;
  width: auto;
}

.p-filter {
  background: #1976d2;
  padding: 20px;
  font-size: 16px;
  color: #fff;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  grid-gap: 20px;
  border-radius: 4px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.p-filter .sflex {
  display: flex;
  gap: 5px;
  align-items: center;
}

.p-footer {
  padding: 50px 0;
  background: rgba(20, 27, 31, .95);
  color: rgba(255, 255, 255, .5);
  margin-top: 500px;
}

.p-footer .page-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  grid-gap: 20px;
}

.maps {
  width: 100%;
  height: 700px;
  position: relative;
  border: 1px solid #1976d259;
}

.desc_inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  grid-gap: 10px;
  border: 1px solid #1976d259;
  padding: 10px;
  margin: 10px 0 120px;
}

.desc_list {
  padding: 20px;
  font-size: 16px;
  color: #333;
  background: #e1e1e1;
  padding-left: 30px;
}

.desc_list label {
  display: block;
  font-size: 14px;
  margin: 1.6em 0 0;
}

.desc_list span {
  display: block;
  font-weight: bold;
}

.desc_img_big {
  background: #e1e1e1;
  margin-bottom: 10px;
}

.desc_img_big .img_wrapper {
  background-position-x: 50%;
  background-position-y: 50%;
  background-repeat: no-repeat;
  background-size: contain;
  height: 340px;
}

.desc_img_min {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
  grid-gap: 10px;
  margin-bottom: 10px;
}

.desc_img_min div {
  max-height: 120px;
  overflow: hidden;
  background: #e1e1e1;
}

.desc_img_min img {
  cursor: pointer;
}

#desc {
  position: relative;
  background: rgb(255 255 255 / 69%);
}

.desc_close {
  position: absolute;
  right: 11px;
  top: 11px;
  width: 20px;
  height: 20px;
  background: #d92828;
  color: #fff;
  border-radius: 2px;
  text-align: center;
  cursor: pointer;
}
















.leaflet-right .leaflet-control {
  background: #dbdbdb;
  padding: 5px 10px;
  border-radius: 4px;
  box-shadow: 1px 1px 3px 0px #494949;
  cursor: pointer;
  clear: inherit;
}





.leaflet-div-icon {
  border: 0;
  background: none;
}

.leaflet-popup-content-wrapper {
  border-radius: 4px;
}

.leaflet-popup-content-wrapper .leaflet-popup-content {
  margin: 10px;
}

.leaflet-container a.leaflet-popup-close-button {
  padding: 6px 0px 0px;
  background: red;
  color: #fff;
  display: block;
  width: 24px;
  height: 24px;
  text-align: center;
  z-index: 999;
  border-radius: 12px;
  top: -7px;
  right: -7px;
}

.sd-popap {
  width: 301px;
}

.sd-popap img {
  width: 240px;
}

.sd-popap h4 {
  font-size: 16px;
  line-height: 18px;
  margin: 10px 0 10px 0;
  cursor: pointer;
  color: #0078A8;
  font-weight: bold;
}

.sd-popap p {
  line-height: 16px;
  font-size: 13px;
  margin: 0 0 5px 0;
}

.sd-popap .icon-block {
  padding-top: 66.66%;
}

.sd-popap .img-block {
  position: relative;
  width: 300px;
  height: 200px;
  display: block;
  background-size: cover;
  background-position: center center;
  background-repeat: none;
  overflow: hidden;
  cursor: pointer;
}

.sd-popap .img-block img {
  width: 100%;
}

.sd-popap .img-block i {
  position: absolute;
  top: 50%;
  left: 50%;
  color: #fff;
  font-size: 48px;
  width: 60px;
  height: 60px;
  line-height: 60px;
  text-align: center;
  margin: -30px 0 0 -30px;
}

.sd-popap .img-block i:before {
  font-size: 48px;
}

.map-buttons {
  margin: 10px 10px 0 0;
}

.map-buttons .map-button {
  width: auto;
  margin-left: 1px;
}

.marker-block {
  width: 40px;
  height: 40px;
  border: 0;
  text-align: center;
  line-height: 40px;
  border-radius: 50%;
}

.marker-block i {
  color: #fff;
}

.school {
  background: #00539f;
}

.toboggan {
  background: #685bc7;
}

.pharmacy {
  background: #e4002b;
}

.water-tap {
  background: #00a9e0;
}

.motorway {
  background: #84a40b;
}

.heater {
  background: #009ae7;
}

.recycling {
  background: #00b140;
}

.bridge {
  background: #009ca6;
}

.public-toilet {
  background: #ad1aac;
}

.parthenon {
  background: #ad1aac;
}

.gas {
  background: #ff9f1a;
}

.power {
  background: #836eaa;
}

.truck {
  background: #42b883;
}

.house {
  background: #eb6651;
}

.hills {
  background: #2bde73;
}

.veterinarian {
  background: #ffd430;
}

.admin {
  background: #f53794;
}

.cat-icon {
  list-style: none;
  width: 100%;
  padding: 20px;
  background: #f3f8ff;
  margin: 0;
  text-align: left;
  overflow: hidden;
  margin-bottom: 20px;
}

.cat-icon li {
  display: block;
  float: left;
  overflow: hidden;
  line-height: 40px;
  margin: 5px 0;
  width: 25%;
}

.cat-icon li div {
  width: 40px;
  height: 40px;
  border: 0;
  text-align: center;
  line-height: 40px;
  border-radius: 50%;
  float: left;
  margin-right: 10px;
}

.cat-icon li {
  color: #444;
}

.cat-icon li div i {
  color: #fff;
}


.none {
  display: none;
}

.cat-icons {
  padding: 20px;
  overflow: hidden;
  margin-bottom: 20px;
  color: #444;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.cat-icons .cat-item {
  display: flex;
  gap: 10px;
}

.cat-icons .cat-item b {
  display: block;
}

.cat-icons .cat-item div {
  width: 40px;
  height: 40px;
  border: 0;
  text-align: center;
  line-height: 40px;
  border-radius: 50%;
}

.cat-icons .cat-item div i {
  color: #fff;
}



.table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
  text-align: right;
  margin-top: 10px;
  background: rgb(255 255 255 / 69%);
}

.table tr.head {
  background: #2184c6;
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
  text-align: center;
}

.table th,
.table td {
  padding: 0.7em 1.5em;
  border: 1px solid #03A9F4;
}

.table td:first-child {
  text-align: left;
}

.desc_stream_button {
  display: flex;
  gap: 10px;
}

#vtable td span {
  cursor: pointer;
}

#vtable span b,
#vtable span i {
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: red;
}

#vtable span i {
  background: green;
}

#vtable span strong {
  color: #0078a8;
}

.table .cr1 {
  color: #f55c4f;
}

.table .cr2 {
  color: #e7447b;
}

.table .cr3 {
  color: #fba000;
}

.table .cr4 {
  color: #6f39cf;
}

.table .cr5 {
  color: #046abb;
}

.table .cr6 {
  color: #00b7a6;
}

.table .cr007 {
  color: #8BC34A;
}








body.dark {
  background: #292a2d;
}

.dark .p-header,
.dark .p-filter,
.dark .cat-icons,
.dark .desc_list,
.dark .desc_img_big,
.dark .table tr.head {
  background: #202124;
}

.dark .table th,
.dark .table td {
  border-color: #191a1c;
}



.btn-primary {
  background: #0078a8;
  color: #fff;
  border: 0;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  margin: 7px 0;
}

a.btn-primary {
  text-decoration: none;
}


.comment-block {
  display: none;
}

.comment-block .modal-content {
  background-color: #fefefe;
  padding: 20px;
  border: 1px solid #888;
  margin: 1em 0;
}

.comment-block .close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.comment-block .close:hover,
.comment-block .close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.comment-block .modal-content textarea {
  width: 100%;
  height: 100px;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.comment-block .modal-content button {
  background-color: #0078a8;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
}

.comment-block .modal-content h2 {
  margin-top: 0;
}

.commentsList .comment {
  padding: 10px;
  background-color: #f0f0f0;
  border-radius: 5px;
  margin-bottom: 10px;
  font-size: 14px;
  font-style: italic;
}

.response {
  color: green;
  font-weight: bold;
}


.table.kapmon {
  width: auto;
  min-width: 300px;
  text-align: left;
  font-size: 11px;
}

.table.kapmon th {
  text-align: center;
}

.table.kapmon td {
  text-align: left;
  padding: 0.4em 1em;
}

/* Anti-corruption block */
.anti-corruption-block {
  background: rgba(220, 53, 69, 0.08);
  border: 1px solid rgba(220, 53, 69, 0.3);
  border-radius: 8px;
  padding: 20px;
  color: rgba(255, 255, 255, 0.85);
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin-top: -10px;
}

.anti-corruption-block:hover {
  background: rgba(220, 53, 69, 0.12);
  border-color: rgba(220, 53, 69, 0.5);
  box-shadow: 0 6px 20px rgba(220, 53, 69, 0.15);
  transform: translateY(-2px);
}

.anti-corruption-block .ac-header {
  color: #ff6b6b;
  font-size: 1.15em;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.5px;
}

.anti-corruption-block .ac-icon {
  flex-shrink: 0;
  stroke: #ff6b6b;
}

.anti-corruption-block .ac-body {
  font-size: 0.95em;
  line-height: 1.5;
  margin-bottom: 15px;
  color: rgba(255, 255, 255, 0.7);
}

.anti-corruption-block .ac-contacts {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.anti-corruption-block .ac-contacts a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.1em;
  font-weight: bold;
  color: #f8f9fa;
  text-decoration: none;
  transition: color 0.2s;
}

.anti-corruption-block .ac-contacts a::before {
  content: "📞";
  font-size: 0.9em;
  opacity: 0.8;
}

.anti-corruption-block .ac-contacts a:hover {
  color: #ff6b6b;
}