body.site.legacy-template {
  margin: 0;
  background: #ffffff;
  color: #333;
  font-family: 'Trebuchet MS', Verdana, Arial, sans-serif;
}

.legacy-page-wrap {
  width: 780px;
  max-width: calc(100vw - 24px);
  margin: 24px auto;
  background: #ffffff;
}

.legacy-shell {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
}

.legacy-header {
  padding: 0;
  line-height: 0;
  font-size: 0;
  background: #ffffff url('../images/zelenkovac/pozadina_vrh.jpg') center top no-repeat;
  background-size: cover;
}

.legacy-shell > tbody > tr:first-child > td.legacy-header {
  padding: 0;
}

.legacy-header-image {
  display: block;
  width: 780px;
  max-width: 100%;
  height: 154px;
  margin: 0;
  background: #ffffff url('../images/zelenkovac/pozadina_vrh.jpg') center top no-repeat;
  background-size: cover;
  position: relative;
}

.legacy-brand-link {
  display: block;
  width: 100%;
  height: 100%;
}

.legacy-top-modules {
  padding: 5px 10px 0;
  background: transparent;
}

.legacy-title-bar {
  padding: 12px 18px 8px;
  background: rgba(255, 255, 255, 0.94);
  border-left: 1px solid #79a240;
  border-right: 1px solid #79a240;
}

.legacy-title-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.legacy-site-title {
  color: #333;
  font-family: Tahoma, Verdana, Arial, sans-serif;
  font-size: 19px;
  font-weight: 700;
}

.legacy-date {
  color: #006600;
  font-size: 11px;
  font-weight: 400;
}

.legacy-breadcrumbs {
  font-size: 11px;
}

.legacy-breadcrumbs .breadcrumb {
  margin: 0;
  padding: 0;
  background: transparent;
  font-size: 11px;
}

.legacy-left-column,
.legacy-content-column {
  vertical-align: top;
  background: rgba(255, 255, 255, 0.96);
}

.legacy-left-column {
  width: 145px;
  padding: 0 6px 12px 14px;
  border-left: 1px solid #79a240;
}

.legacy-content-column {
  width: 615px;
  padding: 0 16px 18px 8px;
  border-right: 1px solid #79a240;
}

.legacy-banner-row {
  text-align: center;
  padding: 8px 0 4px;
}

.legacy-main-content {
  min-height: 360px;
}

.legacy-footer {
  height: 24px;
  padding: 0;
  background: url('../images/zelenkovac/pozadina_dno.jpg') center bottom no-repeat;
  background-size: cover;
  text-align: center;
  border-left: 1px solid #79a240;
  border-right: 1px solid #79a240;
}

.legacy-footer-inner {
  padding-top: 4px;
  color: #fff;
  font-size: 10px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

.legacy-left-column .card {
  margin: 0 0 10px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.legacy-left-column .card-header {
  padding: 2px 0 6px;
  border: 0;
  background: transparent;
}

.legacy-left-column .card-header h3,
.legacy-left-column .card-title {
  margin: 0;
  color: #fff;
  background: #8a8a8a;
  font-size: 11px;
  line-height: 18px;
  padding: 0 6px;
  font-family: 'Trebuchet MS', Verdana, Arial, sans-serif;
  font-weight: 700;
}

.legacy-left-column .card-body {
  padding: 0;
}

.legacy-left-column .mod-menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.legacy-left-column .mod-menu > li {
  margin: 0 0 2px;
}

.legacy-left-column .mod-menu > li > a,
.legacy-left-column .mod-menu .mm-collapse li > a {
  display: block;
  width: 135px;
  height: 20px;
  line-height: 20px;
  padding: 0 0 0 8px;
  margin: 0;
  overflow: hidden;
  color: #8d8d8d;
  background: url('../images/zelenkovac/mencht.gif') no-repeat 0 0;
  text-decoration: none;
  font-size: 11px;
  text-transform: none;
}

.legacy-left-column .mod-menu > li > a:hover,
.legacy-left-column .mod-menu > li.active > a,
.legacy-left-column .mod-menu .mm-collapse li > a:hover {
  background-position: 0 -20px;
  color: #fff;
}

.legacy-left-column .mod-menu .mm-toggler,
.legacy-left-column .mod-menu .metismenu-item-icon {
  display: none !important;
}

.legacy-left-column .mod-menu .mm-collapse {
  display: block !important;
  margin-left: 8px;
}

.legacy-left-column .mod-menu .mm-collapse li > a {
  background: none;
  width: auto;
  height: auto;
  line-height: 1.4;
  padding: 3px 0;
}

.legacy-content-column main,
.legacy-content-column .item-page,
.legacy-content-column .blog,
.legacy-content-column .category-blog {
  background: transparent;
}

.legacy-content-column main {
  padding: 0;
}

.legacy-content-column .page-header h1,
.legacy-content-column h1 {
  color: #333;
  font-family: Tahoma, Verdana, Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
}

.legacy-content-column .item-page h2,
.legacy-content-column .blog-item h2,
.legacy-content-column .content-category h2,
.legacy-content-column a.contentpagetitle {
  color: #808080;
  font-family: Tahoma, Verdana, Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
}

.legacy-content-column .item-title a:hover,
.legacy-content-column a:hover,
.legacy-content-column a:focus {
  color: #006600;
}

.legacy-content-column .blog-item,
.legacy-content-column .item-page,
.legacy-content-column .com-content-category-blog__items .blog-item,
.legacy-content-column p,
.legacy-content-column li,
.legacy-content-column div {
  font-size: 11px;
  line-height: 1.55;
}

.legacy-content-column img {
  max-width: 100%;
  height: auto;
}

.legacy-popup-link {
  display: inline-block;
  margin: 5px;
  text-decoration: none;
}

.legacy-post-image {
  display: block;
  width: 175px;
  max-width: 175px;
  height: 131px;
  object-fit: cover;
  border: 1px solid #b5b5b5;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  cursor: zoom-in;
}

.legacy-lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.82);
  z-index: 9999;
}

.legacy-lightbox.is-open {
  display: flex;
}

.legacy-lightbox__figure {
  margin: 0;
  max-width: min(92vw, 1200px);
  max-height: 90vh;
}

.legacy-lightbox__image {
  display: block;
  max-width: 100%;
  max-height: calc(90vh - 32px);
  margin: 0 auto;
  border: 4px solid #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.legacy-lightbox__caption {
  margin-top: 8px;
  color: #fff;
  text-align: center;
  font-size: 12px;
}

.legacy-lightbox__close {
  position: absolute;
  top: 12px;
  right: 18px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 28px;
  line-height: 38px;
  cursor: pointer;
}

.legacy-content-column .article-info,
.legacy-content-column .article-info dd,
.legacy-content-column .article-info span {
  font-size: 11px;
}

.legacy-content-column .pagination {
  font-size: 11px;
}

.legacy-content-column .page-link,
.legacy-content-column .page-item.active .page-link {
  color: #808080;
}

.legacy-content-column .page-link:hover {
  color: #006600;
}

.legacy-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.legacy-gallery-card {
  display: block;
  background: #fff;
  border: 1px solid #d7d7d7;
  border-radius: 6px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.legacy-gallery-card img {
  display: block;
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.legacy-gallery-card span {
  display: block;
  padding: 0.7rem 0.8rem;
  color: #333;
  font-size: 0.88rem;
  font-weight: 700;
}

.legacy-gallery-description {
  margin-bottom: 1rem;
}

.legacy-form-deprecated {
  padding: 0.75rem 1rem;
  border-left: 4px solid #ce3c37;
  background: #fff2f1;
  color: #7a1f1c;
  margin: 1rem 0;
}

@media (max-width: 820px) {
  .legacy-page-wrap {
    max-width: calc(100vw - 10px);
    margin: 8px auto;
  }

  .legacy-shell,
  .legacy-shell tbody,
  .legacy-shell tr,
  .legacy-shell td {
    display: block;
    width: 100% !important;
  }

  .legacy-left-column,
  .legacy-content-column {
    padding: 10px 12px;
    border-left: 1px solid #79a240;
    border-right: 1px solid #79a240;
  }

  .legacy-left-column .mod-menu > li > a {
    width: 100%;
    background-size: 100% 40px;
  }
}
