/* ============================================================
   PlatformOS — корпоративный сайт в стиле начала 2000-х
   Шрифты: Tahoma/Arial, 3D-кнопки, градиентные баннеры.
   Рекомендуемое разрешение: 1024x768.
   ============================================================ */

html {
  background: #c0c0c0;
}

body {
  margin: 0;
  padding: 8px;
  background: #c0c0c0;
  font-family: Tahoma, Arial, Verdana, sans-serif;
  font-size: 12px;
  color: #000000;
}

a {
  color: #0000cc;
}

a:visited {
  color: #551a8b;
}

a:hover {
  color: #cc0000;
  text-decoration: none;
}

/* ---------- Каркас страницы ---------- */

table.page {
  width: 1000px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #808080;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.35);
}

td.page-header {
  padding: 0;
}

td.page-sidebar {
  width: 190px;
  padding: 10px 8px;
  background: #d4d0c8;
  border-right: 1px solid #808080;
}

td.page-content {
  padding: 12px 16px;
  background: #ffffff;
}

td.page-footer {
  padding: 0;
  background: #d4d0c8;
  border-top: 1px solid #808080;
}

/* ---------- Баннер-шапка ---------- */

.banner {
  background: linear-gradient(180deg, #5b7ec2 0%, #000080 55%, #00004c 100%);
  border-bottom: 2px solid #ffcc00;
  padding: 10px 14px;
}

.banner-table {
  width: 100%;
}

td.banner-logo {
  vertical-align: middle;
}

.logo-icon {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 38px;
  text-align: center;
  font-size: 16px;
  font-weight: bold;
  color: #000080;
  background: linear-gradient(135deg, #ffffff 0%, #d0d8f0 100%);
  border: 2px outset #ffffff;
  margin-right: 10px;
  vertical-align: middle;
}

.logo-text {
  font-size: 30px;
  font-weight: bold;
  color: #ffffff;
  text-shadow: 2px 2px 0 #000000;
  letter-spacing: 1px;
  vertical-align: middle;
}

.logo-accent {
  color: #ffcc00;
}

.banner-tagline {
  margin: 3px 0 0 52px;
  font-size: 11px;
  color: #c0c8e8;
  font-style: italic;
}

td.banner-right {
  text-align: right;
  white-space: nowrap;
}

.lang-switch {
  font-size: 11px;
  color: #ffffff;
}

.lang-switch a {
  color: #ffffff;
}

.lang-switch a:hover {
  color: #ffcc00;
}

.lang-active {
  font-weight: bold;
  color: #ffcc00;
}

.banner-updated {
  margin-top: 6px;
  font-size: 10px;
  color: #9098c0;
}

/* ---------- Боковое меню ---------- */

.side-box {
  border: 1px solid #808080;
  background: #f0f0f0;
  margin-bottom: 10px;
}

.side-title {
  background: linear-gradient(90deg, #000080 0%, #6a8fd6 100%);
  color: #ffffff;
  font-size: 11px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 8px;
  border-bottom: 1px solid #808080;
}

.side-menu ul {
  list-style: none;
  margin: 0;
  padding: 4px;
}

.side-menu li {
  margin: 0;
  padding: 0;
}

.side-menu a {
  display: block;
  padding: 4px 6px 4px 18px;
  font-size: 11px;
  text-decoration: none;
  color: #000080;
  border: 1px solid transparent;
}

.side-menu a::before {
  content: "\25B8";
  color: #808080;
  margin-left: -13px;
  margin-right: 7px;
  display: inline-block;
}

.side-menu a:hover {
  background: #000080;
  color: #ffffff;
  border: 1px inset #a0a0a0;
}

.side-menu a:hover::before {
  color: #ffcc00;
}

.side-menu a.active {
  background: #c0c8e8;
  font-weight: bold;
  border: 1px inset #a0a0a0;
  color: #000040;
}

.side-body {
  padding: 6px 8px;
  font-size: 11px;
  line-height: 1.5;
}

.side-news p {
  margin: 0 0 6px 0;
  padding-bottom: 6px;
  border-bottom: 1px dotted #a0a0a0;
  color: #303030;
}

.side-news p:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.side-status {
  text-align: center;
}

.led {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00cc00;
  border: 1px solid #006600;
}

/* ---------- Контент ---------- */

.breadcrumb {
  font-size: 11px;
  color: #606060;
  margin-bottom: 8px;
}

h1 {
  font-size: 20px;
  font-weight: bold;
  color: #000080;
  margin: 0 0 4px 0;
  padding-bottom: 4px;
  border-bottom: 2px solid #000080;
}

h2 {
  font-size: 15px;
  font-weight: bold;
  color: #000080;
  margin: 18px 0 6px 0;
  padding-bottom: 3px;
  border-bottom: 1px solid #a0a0c0;
}

h3 {
  font-size: 13px;
  font-weight: bold;
  color: #000040;
  margin: 12px 0 4px 0;
}

p {
  margin: 8px 0;
  line-height: 1.5;
}

ul, ol {
  margin: 8px 0;
  padding-left: 26px;
  line-height: 1.5;
}

li {
  margin-bottom: 3px;
}

.note {
  margin: 12px 0;
  padding: 8px 12px;
  background: #f0f0f0;
  border: 1px dashed #808080;
  font-size: 11px;
}

blockquote {
  margin: 10px 0;
  padding: 8px 12px;
  background: #ffffe0;
  border: 1px solid #c0c080;
  color: #404000;
}

table.data {
  border-collapse: collapse;
  margin: 10px 0;
  font-size: 11px;
  background: #ffffff;
}

table.data th {
  background: linear-gradient(180deg, #6a8fd6 0%, #000080 100%);
  color: #ffffff;
  font-weight: bold;
  padding: 5px 10px;
  border: 1px solid #808080;
  text-align: left;
}

table.data td {
  padding: 5px 10px;
  border: 1px solid #a0a0a0;
}

table.data tr:nth-child(even) td {
  background: #eef1f8;
}

/* ---------- Плитки преимуществ (главная) ---------- */

table.tiles {
  width: 100%;
  margin: 16px 0 4px 0;
}

td.tile {
  border: 1px solid #808080;
  background: #f4f6fb;
  padding: 10px 12px;
  vertical-align: top;
  font-size: 11px;
  line-height: 1.5;
}

td.tile-spacer {
  width: 8px;
}

.tile-title {
  font-size: 13px;
  font-weight: bold;
  color: #000080;
  margin-bottom: 6px;
  padding-bottom: 3px;
  border-bottom: 1px solid #c0c8e0;
}

/* ---------- Код и команды ---------- */

pre, code {
  font-family: "Courier New", Courier, monospace;
}

pre {
  background: #f0f0f0;
  border: 1px solid #a0a0a0;
  padding: 8px 10px;
  margin: 8px 0;
  font-size: 11px;
  line-height: 1.4;
  overflow-x: auto;
  color: #000000;
}

code {
  font-size: 11px;
  background: #f0f0f0;
  border: 1px solid #d0d0d0;
  padding: 0 3px;
}

pre code {
  background: none;
  border: 0;
  padding: 0;
}

.hash {
  font-family: "Courier New", Courier, monospace;
  font-size: 10px;
}

/* ---------- 3D-кнопка (Win98) ---------- */

.btn3d {
  display: inline-block;
  padding: 5px 18px;
  background: #d4d0c8;
  color: #000000;
  font-family: Tahoma, Arial, sans-serif;
  font-size: 12px;
  font-weight: bold;
  text-decoration: none;
  border-style: outset;
  border-width: 2px;
  border-color: #ffffff #404040 #404040 #ffffff;
  cursor: pointer;
}

.btn3d:hover {
  background: #e4e0d8;
  color: #000080;
}

.btn3d:active {
  border-style: inset;
  padding: 6px 17px 4px 19px;
}

.cta-box {
  margin: 18px 0 6px 0;
  padding: 12px;
  text-align: center;
  background: #f0f0f0;
  border: 1px solid #a0a0a0;
}

.page-bottom {
  margin-top: 16px;
}

.page-bottom .btn3d {
  float: right;
}

/* ---------- Подвал ---------- */

.footer-inner {
  padding: 6px 12px 10px 12px;
}

.footer-inner hr {
  border: 0;
  border-top: 1px solid #808080;
  margin: 0 0 8px 0;
}

.footer-table {
  width: 100%;
}

.footer-left {
  font-size: 11px;
  color: #303030;
}

.footer-right {
  text-align: right;
}

.small {
  font-size: 10px;
  color: #606060;
}

.counter {
  font-size: 10px;
  color: #303030;
  margin-bottom: 4px;
}

.counter .digit {
  display: inline-block;
  background: #000000;
  color: #33ff33;
  font-family: "Courier New", Courier, monospace;
  font-size: 13px;
  font-weight: bold;
  padding: 1px 3px;
  border: 1px solid #606060;
  margin-left: 1px;
}

.best-viewed {
  font-size: 10px;
  color: #606060;
  font-style: italic;
}
