/* wa-theme.css — тема, сгенерированная для восстановленного сайта (deepseek/deepseek-v4-pro, попытка 2). */
* {
  box-sizing: border-box;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  background-color: #f0f5f0;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #2e7d32;
  text-decoration: underline;
  transition: color 0.2s, background-color 0.2s;
}
a:hover,
a:focus {
  color: #1b5e20;
  text-decoration: none;
}
h1, h2, h3, h4, h5, h6 {
  color: #1b5e20;
  font-weight: 600;
  line-height: 1.3;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}
h3 {
  font-size: 1.5rem;
  margin-top: 1.2em;
}
p {
  margin-top: 0;
  margin-bottom: 1em;
}
ul, ol {
  margin: 0 0 1em 1.5em;
  padding: 0;
}
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5em;
  font-size: 0.95rem;
}
th, td {
  padding: 0.7em 0.8em;
  border: 1px solid #c8e6c9;
  text-align: left;
  vertical-align: top;
}
th {
  background-color: #e8f5e9;
  font-weight: 600;
  color: #1b5e20;
}
tr:nth-child(even) td {
  background-color: #f9fff9;
}
input, textarea, select, button {
  font-family: inherit;
  font-size: 1rem;
  margin: 0;
}
input[type="text"],
input[type="email"],
input[type="search"],
input[type="password"],
textarea,
select {
  display: block;
  width: 100%;
  padding: 0.6em 0.8em;
  border: 1px solid #a5d6a7;
  border-radius: 4px;
  background-color: #fff;
  color: #333;
  transition: border-color 0.2s, box-shadow 0.2s;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="search"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
  border-color: #2e7d32;
  box-shadow: 0 0 0 3px rgba(46,125,50,0.15);
  outline: none;
}
label {
  display: block;
  margin-bottom: 0.3em;
  font-weight: 500;
  color: #2e2e2e;
}
button, input[type="submit"], input[type="reset"] {
  display: inline-block;
  background-color: #2e7d32;
  color: #fff;
  border: none;
  padding: 0.65em 1.8em;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s, box-shadow 0.2s;
}
button:hover, button:focus,
input[type="submit"]:hover, input[type="submit"]:focus,
input[type="reset"]:hover, input[type="reset"]:focus {
  background-color: #1b5e20;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.ValidateMessage {
  display: block;
  margin-top: 0.25em;
  margin-bottom: 0.5em;
  font-size: 0.85rem;
  color: #c62828;
  font-weight: 500;
}

#container {
  max-width: 1140px;
  margin: 0 auto;
  background-color: #fff;
  box-shadow: 0 0 25px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

#masthead {
  background-color: #2e7d32;
  background-image: none;
  padding: 1.2rem 2rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.auto-style1 {
  background-image: none;
  background-color: #2e7d32;
}
.auto-style2 {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
#masthead img {
  height: auto;
  max-width: 160px;
}
#masthead .auto-style3 {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.15);
}

#page_content {
  display: flex;
  flex: 1;
}
#sidebar {
  width: 260px;
  flex-shrink: 0;
  background-color: #f9fff9;
  border-right: 1px solid #c8e6c9;
  padding: 0;
  overflow-y: auto;
}
#sidebar ul {
  list-style: none;
  margin: 0;
  padding: 0;
  background-image: none;
}
#sidebar li {
  position: relative;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid #c8e6c9;
  background-image: none;
}
#sidebar a {
  display: block;
  padding: 0.9em 1.3em;
  text-decoration: none;
  color: #2e7d32;
  font-weight: 500;
  background-color: transparent;
  transition: background-color 0.2s, color 0.2s, padding-left 0.2s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#sidebar a:hover,
#sidebar a:focus {
  background-color: #e8f5e9;
  color: #1b5e20;
  padding-left: 1.6em;
  text-decoration: none;
}
#sidebar a:active {
  background-color: #c8e6c9;
}
#sidebar ul ul {
  display: none;
  position: absolute;
  left: 100%;
  top: 0;
  background-color: #fff;
  border: 1px solid #c8e6c9;
  box-shadow: 2px 2px 8px rgba(0,0,0,0.08);
  min-width: 200px;
  z-index: 100;
}
#sidebar li:hover > ul {
  display: block;
}

#content {
  flex: 1;
  padding: 2rem;
  min-width: 0;
  background-color: #fff;
}
.auto-style4 {
  margin-bottom: 1.5em;
}
.auto-style5 {
  margin-bottom: 1.5em;
  border-radius: 6px;
}

.auto-style59 {
  margin: 1.5em 0;
}
#footer {
  background-color: #2e7d32;
  color: rgba(255,255,255,0.9);
  padding: 1.8rem 2rem;
  text-align: center;
  margin-top: auto;
}
#footer a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  padding: 0.3em 0.8em;
  transition: opacity 0.2s;
}
#footer a:hover,
#footer a:focus {
  text-decoration: underline;
  opacity: 0.85;
}
#footer strong {
  font-weight: 600;
}

.stripeMe tr:nth-child(odd) td {
  background-color: #f9fff9;
}
.stripeMe tr:nth-child(even) td {
  background-color: #e8f5e9;
}
.supth th {
  background-color: #c8e6c9;
  font-weight: 700;
}
.subth th {
  background-color: #e8f5e9;
  font-style: italic;
}

.aspNetHidden {
  display: none;
}

@media screen and (max-width: 768px) {
  #masthead {
    padding: 1rem 1.2rem;
    flex-direction: column;
    align-items: flex-start;
  }
  #masthead .auto-style3 {
    font-size: 1.3rem;
  }
  #page_content {
    flex-direction: column;
  }
  #sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #c8e6c9;
  }
  #sidebar ul ul {
    position: static;
    box-shadow: none;
    border: none;
    background-color: #f4faf4;
    padding-left: 1.2em;
    display: none;
  }
  #sidebar li:hover > ul {
    display: block;
  }
  #content {
    padding: 1.2rem;
  }
  #footer {
    padding: 1.2rem;
  }
}