﻿/* ======= ОСНОВНОЙ ФОН — солнечная тема ======= */
body { 
    background-color: #FFF9E8;
    scrollbar-face-color: #FFEFB9;
    scrollbar-highlight-color: #FFFFFF;
    scrollbar-shadow-color: #FFD56B;
    scrollbar-3dlight-color: #FFF4D8;
    scrollbar-arrow-color:  #FFB300;
    scrollbar-track-color: #FDF3D9;
    scrollbar-darkshadow-color: #FFCF47;
}

font, th, td, p {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 13px;
}

a:link, a:active, a:visited { color: #E28B00; }
a:hover { text-decoration: underline; color: #FFCB33; }

/* Разделительные линии */
hr {
    height: 0px;
    border: solid #FFD45F 0px;
    border-top-width: 1px;
}

/* ---- Основные рамки ---- */
.bodyline {
    background-color: #FFFFFF;
    border: 1px #F5A623 solid; /* солнечный оранжевый */
}

.forumline {
    background-color: #FFFFFF;
    border: 2px #F5A623 solid;
}

/* Цветовые зоны строк */
td.row1, td.row2 { background-color: #F3F3F3; }
td.row3 { background-color: #FFF8DF; }

/* Иконка-фон темы */
td.rowpic {
    background-color: #FFFFFF;
    background-image: url(cellpic2.jpg);
    background-repeat: repeat-y;
}

/* Заголовки таблиц */
th {
    color: #003A70; /* глубокий синий — цвет солнечных панелей */
    font-size: 13px;
    font-weight: bold;
    background-color: #FFE081;
    background-image: url(cellpic3.gif);
    height: 25px;
}

/* Категории */
td.cat, td.catHead, td.catSides, td.catLeft,
td.catRight, td.catBottom {
    background-color: #FFE7A5;
    border: #FFFFFF solid;
    height: 28px;
}

/* Сетка категорий */
td.cat, td.catHead, td.catBottom {
    height: 29px;
    border-width: 0px;
}
th.thHead, th.thSides, th.thTop, th.thLeft,
th.thRight, th.thBottom, th.thCornerL, th.thCornerR {
    font-weight: bold;
    border: #FFFFFF solid;
    height: 28px;
}

td.row3Right, td.spaceRow {
    background-color: #FFE7A5;
    border: #FFFFFF solid;
}

/* Управление границами */
th.thHead, td.catHead { font-size: 14px; border-width: 1px 1px 0px 1px; }
th.thSides, td.catSides, td.spaceRow { border-width: 0px 1px; }
th.thRight, td.catRight, td.row3Right { border-width: 0px 1px 0px 0px; }
th.thLeft, td.catLeft { border-width: 0px 0px 0px 1px; }
th.thBottom, td.catBottom { border-width: 0px 1px 1px 1px; }
th.thTop { border-width: 1px 0px 0px 0px; }
th.thCornerL { border-width: 1px 0px 0px 1px; }
th.thCornerR { border-width: 1px 1px 0px 0px; }

/* Заголовки страниц, тем */
a.maintitle, .maintitle, h1, h2, h3 {
    font-weight: bold;
    font-size: 22px;
    font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
    color: #003A70;
    text-decoration: none;
}

/* Основной текст */
.gen { font-size: 14px; }
.genmed { font-size: 13px; }
.gensmall { font-size: 12px; }
.gen, .genmed, .gensmall { color: #003A70; }

a.gen, a.genmed, a.gensmall { color: #E28B00; }
a.gen:hover, a.genmed:hover, a.gensmall:hover {
    color: #FFCB33;
}

/* Меню */
.mainmenu { font-size: 13px; color: #003A70; }
a.mainmenu { color: #E28B00; }
a.mainmenu:hover { color: #FFCB33; }

/* Названия категорий */
.cattitle {
    font-weight: bold;
    font-size: 13px;
    letter-spacing: 1px;
    color: #003A70;
}
a.cattitle { color: #E28B00; }
a.cattitle:hover { color: #FFCB33; }

/* Ссылки форумов */
.forumlink {
    font-weight: bold;
    font-size: 13px;
    color: #003A70;
}
a.forumlink { color: #E28B00; }
a.forumlink:hover { color: #FFCB33; }

/* Навигация */
.nav { font-weight: bold; font-size: 13px; color: #003A70; }
a.nav { color: #E28B00; }
a.nav:hover { color: #FFCB33; }

/* Темы */
.topictitle {
    font-weight: bold;
    font-size: 13px;
    color: #003A70;
}
a.topictitle:link,
a.topictitle:visited { color: #E28B00; }
a.topictitle:hover { color: #FFCB33; }

/* Подписи */
.name { font-size: 13px; color: #003A70; }
.postdetails { font-size: 13px; color: #003A70; }

/* Текст сообщений */
.postbody { font-size: 13px; }
a.postlink:link, a.postlink:visited { color: #E28B00; }
a.postlink:hover { color: #FFCB33; }

/* Код-блоки (усиление солнечной темы) */
.code {
    font-family: Courier, 'Courier New', sans-serif;
    font-size: 13px;
    color: #004411;
    background-color: #FFF3D2;
    border: 1px solid #F5A623;
}

.quote {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 13px;
    color: #003A70;
    line-height: 125%;
    background-color: #FFF3D2;
    border: 1px solid #F5A623;
}

/* Копирайт */
.copyright {
    font-size: 12px;
    color: #003A70;
}
a.copyright { color: #E28B00; }
a.copyright:hover { color: #FFCB33; }

/* Поля ввода */
input, textarea, select {
    color: #000000;
    font: normal 13px Verdana, Arial;
    background-color: #FFF3D2;
    border: 1px solid #FFCF47;
}

input.post, textarea.post, select { background-color: #FFF3D2; }

input { text-indent: 2px; }

input.button {
    background-color: #FFF3D2;
    color: #000000;
    font-size: 13px;
    font-family: Verdana, Arial, Helvetica, sans-serif;
}

/* Акцент кнопок */
input.mainoption {
    background-color: #FFF3D2;
    font-weight: bold;
}

input.liteoption {
    background-color: #FFF3D0;
}

/* Help */
.helpline {
    background-color: #FFF3D2;
    border-style: none;
}

/* ---------- WR-Forum Professional (дополнительные стили) ---------- */

/* Ссылки блока листания страниц */
.pgbutt a {
    font-family: Verdana;
    padding-top: 2px;
    padding-bottom: 2px;
    border: 1px #333 solid;
    background: #F8F8F8;
    padding: 1px 4px;
    margin: 5px 1 0 0;
    border-radius: 4px;
    text-decoration: none;
}

p { margin: 20px; }
TD { font-size: 14px; }
form { display: inline; margin: 2px; }

/* Кнопки админки */
input, textarea, input.liteoption, .fakebut {
    border: 1px solid #000;
    background: #fafafa;
    font-size: 13px;
    font-weight: bold;
}

/* QR-код */
#qr img {
    width: 35px; height: 35px;
    position: fixed; right: 10px; top: 10px;
    border: 1px solid #666;
    padding: 1px; background: white;
}
#qr img:hover {
    width: 200px; height: 200px;
    padding: 2px;
    z-index: 100;
}

/* Аватар без картинки — солнечный квадрат */
.guestavatar {
    width: 120px; height: 120px;
    text-align: center;
    background: #FFE29F;
    color: #3A403C;
    font-size: 50px;
    display: table-cell;
    border-radius: 20%;
    vertical-align: middle;
}

/* Меню админки */
#nav8, #nav8 ul, #nav8 li {
    margin: 0; padding: 0; border: 0;
}
#nav8, #nav8 ul { background: #FFF9E8; }
#nav8 {
    border-spacing: 0;
    position: relative;
    z-index: 50;
    width: 100%;
}
#nav8 ul {
    position: absolute;
    display: none;
}
#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: 7px 0;
    text-align: center;
    text-decoration: none;
}
#nav8 ul a {
    padding: 7px 15px;
    text-align: left;
}
#nav8 td:hover, #nav8 li:hover {
    background: #FFFFFF;
}
#nav8 td { text-align: center; }

/* Блок загрузки */
#cssbar-wrapper {
    width: 300px; height: 19px;
    position: absolute; left: 50%;
}
#cssbar-border {
    border: 3px solid rgb(230, 160, 0);
    height: 100%; width: 100%;
    position: relative; left: -50%; top: -50%;
    padding: 4px 3px;
}
#cssbar-whitespace {
    overflow: hidden; height: 100%;
    width: 100%; margin: 0 auto;
    position: relative;
}
#cssbar-line {
    background-color: rgb(230, 160, 0);
    position: absolute; height: 100%; width: 100%;
    animation: cssbar-slide 4s steps(40) infinite;
}
@keyframes cssbar-slide {
    0% { left: -100%; }
    100% { left: 100%; }
}
