/* wa-theme.css — тема, сгенерированная для восстановленного сайта (deepseek/deepseek-v4-pro, попытка 3). */
html {
  font-size: 16px;
  box-sizing: border-box;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: #333333;
  background: #faf7f2;
  background-attachment: fixed;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}

#skip-links a {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
#skip-links a:focus {
  left: 0;
  top: 0;
  width: auto;
  height: auto;
  padding: 8px 12px;
  background: #345e37;
  color: #faf7f2;
  z-index: 10000;
}
#page-wrapper {
  max-width: 1140px;
  margin: 0 auto;
  background: #ffffff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  padding: 0 20px 0;
  overflow: hidden;
}
#content-wrapper.full-width {
  width: 100%;
}
#flash_content.user-content.content.cheight {
  margin-bottom: 30px;
  overflow: hidden;
  position: relative;
}
#flash_content_swfo {
  width: 100%;
  display: block;
  margin: 0 auto;
}
#non-flash.hideable {
  padding: 20px 0 0;
}
#text-content.clearfix {
  clear: both;
}
#header.borders {
  text-align: center;
  background: #345e37;
  padding: 25px 15px 20px;
  margin-bottom: 30px;
  border-bottom: 4px solid #cba135;
}
#header #sitename {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-size: 2.5rem;
  color: #fefae0;
  display: block;
  margin-bottom: 10px;
  letter-spacing: 1px;
}
#corecol.borders.mainshadow {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 40px;
}
#leftcol, #rightcol {
  flex: 1 1 45%;
  min-width: 0;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  color: #345e37;
  margin-bottom: 0.5em;
  line-height: 1.3;
}
p {
  margin-bottom: 1.2em;
}
a {
  color: #345e37;
  text-decoration: underline;
  transition: color 0.2s;
}
a:hover {
  color: #5b8c5a;
}
hr {
  border: none;
  border-top: 2px solid #cba135;
  margin: 25px 0;
}

/* Navigation base resets */
.menu, .menucontent, .submenu, .containitems {
  list-style: none;
  margin: 0;
  padding: 0;
}
.menu li, .menucontent li, .submenu li {
  position: relative;
}
.menu a, .menucontent a, .submenu a {
  display: block;
  text-decoration: none;
  color: #f4f1de;
  background: #4a7c59;
  padding: 12px 20px;
  border-radius: 6px;
  margin: 2px;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
}
.menu > li, .menucontent > li {
  display: inline-block;
  vertical-align: middle;
}
.menu > li > a, .menucontent > li > a {
  font-size: 1rem;
}
.menu li:hover > a, .menucontent li:hover > a {
  background: #2e4a28;
  color: #ffffff;
}
/* Hide nested lists by default */
.menu ul, .menucontent ul, .submenu ul, .containitems ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #345e37;
  min-width: 200px;
  z-index: 1000;
  border-radius: 0 0 6px 6px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}
.menu ul li, .menucontent ul li, .submenu ul li, .containitems ul li {
  display: block;
  width: 100%;
}
.menu ul a, .menucontent ul a, .submenu ul a, .containitems ul a {
  background: transparent;
  border-radius: 0;
  margin: 0;
  padding: 10px 20px;
  color: #f4f1de;
}
.menu ul a:hover, .menucontent ul a:hover, .submenu ul a:hover {
  background: #4a7c59;
  color: #fff;
}
/* Show on hover */
.menu li:hover > ul, .menucontent li:hover > ul, .submenu li:hover > ul {
  display: block;
}

/* Remove bracket artifacts */
.content::before, .content::after,
.user-content::before, .user-content::after,
.imageitem::before, .imageitem::after,
.widgetimagegallery *::before,
.widgetimagegallery *::after,
.RELATED_BY_PROXIMITY::before,
.RELATED_BY_PROXIMITY::after,
.BOXED_ITEMS::before,
.BOXED_ITEMS::after {
  content: none !important;
}
.prev, .next {
  font-size: 0 !important;
  text-indent: -9999px !important;
  overflow: hidden !important;
  display: none !important;
}
.widgetimagegallery .prev,
.widgetimagegallery .next {
  display: none !important;
}

/* Layout helpers */
.clearfix::after {
  content: "";
  display: table;
  clear: both;
}
.full-width {
  width: 100%;
}
.hideable {
  display: block !important;
}
.cheight {
  height: auto !important;
}

/* Main content spacing */
#non-flash > * {
  margin-bottom: 20px;
}
#flash_content {
  margin-bottom: 30px;
}
#flash_content img,
#non-flash img {
  margin: 0 auto 20px;
}

/* Dot links (pagination or slider) */
#dotlinks {
  text-align: center;
  padding: 20px 0;
}
#dotlinks a {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ccc;
  margin: 0 6px;
  text-indent: -9999px;
  overflow: hidden;
  transition: background 0.2s;
}
#dotlinks a:hover,
#dotlinks a.active {
  background: #345e37;
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 25px;
}
th, td {
  padding: 10px;
  border: 1px solid #ddd;
  text-align: left;
  vertical-align: top;
}
th {
  background: #f0f0f0;
  font-weight: bold;
  color: #345e37;
}
#detection {
  margin: 0 auto;
}

/* Forms */
input, select, textarea, button {
  font-family: inherit;
  font-size: 1rem;
}
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="search"],
input[type="url"],
textarea,
select {
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  width: 100%;
  max-width: 400px;
  display: block;
  margin-bottom: 15px;
  background: #fff;
  transition: border-color 0.2s;
}
input:focus, textarea:focus, select:focus {
  border-color: #345e37;
  outline: none;
}
label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
  color: #345e37;
}
button,
input[type="submit"] {
  background: #7a5230;
  color: #ffffff;
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.2s;
}
button:hover,
input[type="submit"]:hover {
  background: #a67b5b;
}

/* Footer styling (general selectors) */
footer,
.footer,
#footer {
  background: #345e37;
  color: #f4f1de;
  padding: 30px 20px;
  text-align: center;
  margin-top: 40px;
}
address {
  font-style: normal;
  margin-bottom: 15px;
}
.social-links {
  margin: 15px 0;
}
.social-links a {
  display: inline-block;
  margin: 0 8px;
  padding: 8px 12px;
  background: #4a7c59;
  color: #fefae0;
  border-radius: 50%;
  text-decoration: none;
  transition: background 0.3s;
}
.social-links a:hover {
  background: #2e4a28;
}
.copyright {
  font-size: 0.85rem;
  opacity: 0.85;
  margin-top: 10px;
}

/* Container for deepest inner page */
.container {
  max-width: 860px;
  margin: 0 auto;
  padding: 30px 20px;
}
.positive {
  color: #2d6a4f;
  font-weight: bold;
}

/* Lightbox (no JS warning) usually hidden */
.lightbox {
  display: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  #page-wrapper {
    padding: 0 10px;
  }
  #header {
    padding: 20px 10px;
  }
  #header #sitename {
    font-size: 1.8rem;
  }
  #corecol {
    flex-direction: column;
    gap: 20px;
  }
  #leftcol, #rightcol {
    flex: 1 1 100%;
    width: 100%;
  }
  .menu, .menucontent {
    display: block;
    text-align: center;
  }
  .menu > li, .menucontent > li {
    display: block;
    margin: 0;
  }
  .menu > li > a, .menucontent > li > a {
    display: block;
    margin: 0;
    width: 100%;
    border-radius: 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
  }
  .menu ul, .menucontent ul {
    position: static;
    box-shadow: none;
    border-radius: 0;
    background: #2e4a28;
  }
  .menu ul a, .menucontent ul a {
    padding: 10px 25px;
  }
  hr {
    margin: 20px 0;
  }
  img, iframe, object, embed, video {
    max-width: 100% !important;
    height: auto;
  }
  table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}
@media (max-width: 480px) {
  #header #sitename {
    font-size: 1.5rem;
  }
  #page-wrapper {
    padding: 0 5px;
  }
  #dotlinks a {
    width: 10px;
    height: 10px;
    margin: 0 4px;
  }
}