﻿th,td,p { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 14px;}
font,th,td,p { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 14px;}

.nowrap { white-space: nowrap;}

img { border: none; }
form { display: inline; }
td { padding: 2px; }
td.spacerow { height: 5px; padding: 0px; }

body {
    font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif;
    color: #333333;
    background: #ffffff;
    font-size: 14px;
    margin: 0;
    padding: 0 5px;
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.gen { font-size: 14px; color: #333; }
.genmed { font-size: 13px; color: #444; }
.gensmall { font-size: 12px; color: #666; }

.spacer { background: #2c7bc2 url(th.gif) top left repeat-x; }

a { text-decoration: none; color: #2c7bc2; font-weight: bold; }
a:visited { text-decoration: none; color: #1a5a9c; }
a:active, a:hover { text-decoration: underline; color: #ff8c00; }

.toptable {
    background: #ffffff;
    border-style: solid;
    border-color: #d0e4ff;
    border-width: 1px;
    box-shadow: 0 1px 3px rgba(44, 123, 194, 0.1);
    border-radius: 4px;
}

.bakfon { background: transparent; }

.bakfonlogin {
    background: #f0f7ff;
    color: #333;
    border: 1px solid #c8dcff;
    border-radius: 4px;
    padding: 10px;
}

.nav {
    font-weight: bold;
    font-size: 14px;
    background: linear-gradient(180deg, #4a9ae8 0%, #2c7bc2 100%);
    padding: 8px 15px;
    border-radius: 4px;
    color: white;
}
.nav a, .nav a:visited { color: white; text-decoration: none; }
.nav a:hover, .nav a:active { text-decoration: underline; color: #ffd700; }

.forumlink {
    font-weight: bold;
    font-size: 14px;
    color: #2c7bc2;
}
a.forumlink, a.forumlink:visited {
    font-family: "Lucida Grande", Helvetica, Arial, sans-serif;
    text-decoration: none;
    color: #2c7bc2;
}
a.forumlink:hover, a.forumlink:active {
    text-decoration: underline;
    color: #ff8c00;
}

.postbody {
    font-size: 14px;
    line-height: 1.6em;
    margin: 3px 0;
    color: #333;
}
.postbody a {
    color: #2c7bc2;
    text-decoration: underline;
}
.postbody a:visited {
    color: #1a5a9c;
}
.postbody a:visited:hover {
    color: #2c7bc2;
}
.postbody a:hover {
    color: #ff8c00;
    text-decoration: none;
}

.postdetails {
    color: #666;
    font-size: 13px;
    text-align: left;
    font-style: italic;
}
.postdetails b {
    color: #444;
}

.tablebg {
    border: solid 1px #d0e4ff;
    background: #ffffff;
    border-radius: 4px;
}

.row1, .row2, .row3, tr.row1 .row, tr.row2 .row, tr.row3 .row {
    border-left: solid 1px #e8f2ff;
    border-right: solid 1px #e8f2ff;
    border-top: solid 1px #e8f2ff;
    border-bottom: solid 1px #d0e4ff;
    padding: 8px;
}

.row1 {
    background-color: #ffffff;
}

.row2 {
    background-color: #f8fbff;
}

.row3 {
    background-color: #f0f7ff;
}

th, td.th {
    color: #ffffff;
    font-size: 14px;
    font-weight: bold;
    background: linear-gradient(180deg, #4a9ae8 0%, #2c7bc2 100%);
    white-space: nowrap;
    padding: 10px 15px;
    text-align: center;
    height: 36px;
    border: none;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
    border-radius: 4px 4px 0 0;
}

td.cat {
    height: 32px;
    padding: 0 10px;
    border: solid 1px #d0e4ff;
    background: linear-gradient(180deg, #f0f7ff 0%, #e8f2ff 100%);
    text-indent: 8px;
    font-weight: bold;
    color: #2c7bc2;
    border-radius: 4px;
}

td.cathead {
    background: linear-gradient(180deg, #2c7bc2 0%, #1a5a9c 100%);
    height: 32px;
    padding: 1px 10px;
    color: white;
    font-weight: bold;
    border-radius: 4px;
}

.copyright {
    color: #888;
    font-weight: normal;
    font-size: 12px;
    line-height: 1.2em;
}
.copyright a, .copyright a:visited {
    color: #2c7bc2;
    text-decoration: underline;
}
.copyright a:hover {
    color: #ff8c00;
}

input { text-indent: 4px; }
input, textarea, select {
    color: #333;
    font: normal 13px Verdana, Arial, Helvetica, sans-serif;
    background-color: #ffffff;
    border: 1px solid #c8dcff;
    padding: 6px;
    border-radius: 3px;
}
input.post, textarea.post, select {
    background-color: #ffffff;
    font-weight: normal;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    color: #333;
    border: 1px solid #c8dcff;
}
input.button {
    background: linear-gradient(180deg, #4a9ae8 0%, #2c7bc2 100%);
    font-size: 14px;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    border: 1px solid #1a5a9c;
    color: white;
    font-weight: bold;
    padding: 8px 16px;
    cursor: pointer;
    border-radius: 4px;
}
input.button:hover {
    background: linear-gradient(180deg, #5aaaff 0%, #3c8bd2 100%);
    border-color: #2c7bc2;
}

input.post { height: 24px; }

input.mainoption {
    background: linear-gradient(180deg, #4a9ae8 0%, #2c7bc2 100%);
    font-weight: bold;
    border: solid 1px #1a5a9c;
    height: 24px;
    color: white;
    border-radius: 3px;
}
input.liteoption {
    background: #f8fbff;
    font-weight: normal;
    border: solid 1px #c8dcff;
    height: 24px;
    color: #333;
    border-radius: 3px;
}

.post {
    border-style: solid;
    border-width: 1px;
    border-color: #d0e4ff;
    border-radius: 4px;
    padding: 10px;
    background: #ffffff;
}

.quote {
    margin: 10px 5px;
    padding: 10px;
    border: solid 1px #d0e4ff;
    color: #333;
    background-color: #f8fbff;
    font-size: 14px;
    font-weight: normal;
    border-left: 4px solid #2c7bc2;
    border-radius: 4px;
}

.code {
    margin: 10px 5px;
    padding: 10px;
    border: solid 1px #d0e4ff;
    color: #333;
    background-color: #ffffff;
    font-size: 13px;
    font-family: Monaco, 'Courier New', monospace;
    border-radius: 4px;
    border-left: 4px solid #4a9ae8;
}

hr {
    height: 0px;
    border: solid #d0e4ff 0px;
    border-top-width: 1px;
    margin: 20px 0;
}

.maintitle, h1 {
    font-family: "Lucida Grande", "Trebuchet MS", Verdana, sans-serif;
    font-weight: bold;
    font-size: 1.8em;
    text-decoration: none;
    color: #2c7bc2;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

h2 {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    font-size: 1.5em;
    text-decoration: none;
    line-height: 120%;
    color: #1a5a9c;
    border-left: 4px solid #4a9ae8;
    padding-left: 10px;
}

h3 {
    font-size: 1.3em;
    font-weight: bold;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 120%;
    color: #4a9ae8;
}

h4 {
    margin: 0px;
    font-size: 1.1em;
    font-weight: bold;
    color: #666;
}

.cattitle {
    font-weight: bold;
    font-size: 14px;
    letter-spacing: 0px;
    color: #2c7bc2;
}
a.cattitle {
    text-decoration: none;
}
a.cattitle:hover {
    text-decoration: underline;
    color: #ff8c00;
}

.name {
    font-weight: bold;
    font-size: 13px;
    color: #2c7bc2;
}
.name a, .name a:visited {
    text-decoration: none;
    color: #2c7bc2;
}
.name a:hover, a.name a:active {
    text-decoration: underline;
    color: #ff8c00;
}

/* СТИЛИ для скрипта форума WR-Forum Professional версии 2.2 с 2019 года */

/* 1) ИЗМЕНЕНИЕ ИМЕЮЩИХСЯ СТИЛЕЙ */
.pgbutt a {
    font-family: Verdana;
    padding: 6px 12px;
    text-decoration: none;
    border: 1px solid #c8dcff;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    margin: 2px;
    color: #2c7bc2;
    border-radius: 4px;
    font-weight: bold;
}
.pgbutt a:hover {
    background: linear-gradient(180deg, #4a9ae8 0%, #2c7bc2 100%);
    color: white;
    border-color: #1a5a9c;
}

input.button, input.liteoption, .fakebut {
    border: 1px solid #c8dcff;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    font-size: 13px;
    font-weight: bold;
    padding: 6px 12px;
    color: #2c7bc2;
    border-radius: 4px;
}
input.button:hover, .fakebut:hover {
    background: linear-gradient(180deg, #4a9ae8 0%, #2c7bc2 100%);
    color: white;
}

/* 2) QR-CODE */
#qr img {
    width: 35px;
    height: 35px;
    position: fixed;
    right: 10px;
    top: 10px;
    border: 1px solid #c8dcff;
    padding: 1px;
    background-color: white;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(44, 123, 194, 0.2);
}
#qr img:hover {
    width: 200px;
    height: 200px;
    z-index: 100;
    padding: 2px;
    border-color: #2c7bc2;
}

/* 3) Если нет аватара добавляем ЧУДО КВАДРАТ с первой буквой логина */
.guestavatar {
    width: 120px;
    height: 120px;
    text-align: center;
    background: linear-gradient(135deg, #4a9ae8 0%, #2c7bc2 100%);
    color: white;
    font-size: 50px;
    display: table-cell;
    border-radius: 20%;
    position: relative;
    vertical-align: middle;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(44, 123, 194, 0.3);
}

/* 4) навигационное МЕНЮ В АДМИНКЕ */
#nav8, #nav8 ul, #nav8 li {
    margin: 0;
    padding: 0;
    border: 0;
}
#nav8, #nav8 ul {
    background: #ffffff;
    border: 1px solid #d0e4ff;
    border-radius: 4px;
}
#nav8 {
    border-spacing: 0 0;
    position: relative;
    z-index: 50;
    width: 100%;
}
#nav8 ul {
    position: absolute;
    display: none;
    box-shadow: 0 2px 6px rgba(44, 123, 194, 0.15);
    border-radius: 4px;
}
#nav8 td:hover ul {
    display: block;
}
#nav8 ul li {
    list-style: none;
}
#nav8 .right {
    direction: rtl;
}
#nav8 .right ul {
    right: 0;
}
#nav8 .right li {
    direction: ltr;
}
#nav8 a {
    display: block;
    padding: 10px 15px;
    text-align: center;
    text-decoration: none;
    color: #2c7bc2;
    font-weight: bold;
}
#nav8 ul a {
    padding: 8px 20px;
    text-align: left;
    white-space: nowrap;
}
#nav8 td:hover, #nav8 li:hover {
    background: linear-gradient(180deg, #f0f7ff 0%, #e8f2ff 100%);
}
#nav8 td {
    text-align: center;
    border-right: 1px solid #f0f7ff;
}
#nav8 td:last-child {
    border-right: none;
}

/* 5) Стиль для блока загрузки - ДАЛЕЕ >>> */
#cssbar-wrapper {
    width: 300px;
    height: 19px;
    position: absolute;
    left: 50%;
}
#cssbar-border {
    border: 3px solid rgba(44, 123, 194, 0.2);
    height: 100%;
    width: 100%;
    position: relative;
    left: -50%;
    top: -50%;
    padding: 4px 3px;
    border-radius: 10px;
    background: #ffffff;
}
#cssbar-whitespace {
    overflow: hidden;
    height: 100%;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    border-radius: 5px;
    background: #f0f7ff;
}
#cssbar-line {
    background: linear-gradient(90deg, transparent 0%, #4a9ae8 50%, transparent 100%);
    position: absolute;
    height: 100%;
    width: 100%;
    animation: cssbar-slide 2s linear infinite;
    -o-animation: cssbar-slide 2s linear infinite;
    -ms-animation: cssbar-slide 2s linear infinite;
    -webkit-animation: cssbar-slide 2s linear infinite;
    -moz-animation: cssbar-slide 2s linear infinite;
}
@keyframes cssbar-slide {
    0% { left: -100%; }
    100% { left: 100%; }
}
@-o-keyframes cssbar-slide {
    0% { left: -100%; }
    100% { left: 100%; }
}
@-ms-keyframes cssbar-slide {
    0% { left: -100%; }
    100% { left: 100%; }
}
@-webkit-keyframes cssbar-slide {
    0% { left: -100%; }
    100% { left: 100%; }
}
@-moz-keyframes cssbar-slide {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Дополнительные стили для городского форума */
.city-banner {
    background: linear-gradient(90deg, #2c7bc2 0%, #4a9ae8 50%, #2c7bc2 100%);
    color: white;
    padding: 20px;
    text-align: center;
    margin-bottom: 20px;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 2px 4px rgba(44, 123, 194, 0.2);
}

.welcome-msg {
    background: #f8fbff;
    border: 2px solid #d0e4ff;
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
    color: #333;
    font-size: 14px;
    box-shadow: 0 1px 3px rgba(44, 123, 194, 0.1);
}

.online-users {
    background: #ffffff;
    border: 1px solid #d0e4ff;
    border-radius: 6px;
    padding: 10px;
    margin: 10px 0;
    box-shadow: 0 1px 2px rgba(44, 123, 194, 0.1);
}

.statistics {
    background: #f8fbff;
    border: 1px solid #d0e4ff;
    border-radius: 6px;
    padding: 10px;
    margin: 10px 0;
    font-size: 12px;
    color: #666;
}

/* Улучшенные контрасты для светлой темы */
.important {
    background: #fff8e1;
    border: 1px solid #ffd54f;
    border-radius: 4px;
    padding: 8px;
    margin: 5px 0;
}

.notice {
    background: #e8f5e9;
    border: 1px solid #81c784;
    border-radius: 4px;
    padding: 8px;
    margin: 5px 0;
}

.warning {
    background: #ffebee;
    border: 1px solid #ef5350;
    border-radius: 4px;
    padding: 8px;
    margin: 5px 0;
}

/* Светлый фон для всех таблиц */
table {
    background: #ffffff;
    border-collapse: separate;
    border-spacing: 0;
}

/* Улучшенные тени для глубины */
.shadow {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.medium-shadow {
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.08);
}

/* Акцентные цвета для светлой темы */
.accent-blue { color: #2c7bc2; }
.accent-orange { color: #ff8c00; }
.accent-green { color: #2e7d32; }
.accent-red { color: #c62828; }