﻿/* ============================================================
   KHARKIV CITY LIGHTS
   Уникальная тема оформления форума «Харків — знайомства»
   WR-Forum Professional 2.2
   ============================================================ */

/* ============================================================
   1. ОСНОВНОЙ ФОН И ТИПОГРАФИКА
   ============================================================ */

body {
    margin: 0;
    padding: 0;
    background-color: #17202e;

    background-image:
        linear-gradient(rgba(18,27,42,.94), rgba(18,27,42,.94)),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='500' height='500' viewBox='0 0 500 500'%3E%3Cdefs%3E%3Cpattern id='p' width='100' height='100' patternUnits='userSpaceOnUse'%3E%3Ccircle cx='12' cy='15' r='1.5' fill='%23e5b77b' fill-opacity='.24'/%3E%3Ccircle cx='75' cy='65' r='1' fill='%23ffffff' fill-opacity='.17'/%3E%3Cpath d='M0 100 L100 0' stroke='%23ffffff' stroke-opacity='.025'/%3E%3Cpath d='M50 42 L50 58 M42 50 L58 50' stroke='%23e5b77b' stroke-opacity='.08'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='500' height='500' fill='url(%23p)'/%3E%3C/svg%3E");

    background-attachment: fixed;
    background-position: center;
    color: #e8e5e1;
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.5;
}

/* Скроллбар */

body {
    scrollbar-arrow-color: #e8a18d;
    scrollbar-face-color: #35445a;
    scrollbar-track-color: #1c293a;
    scrollbar-highlight-color: #52647c;
    scrollbar-3dlight-color: #52647c;
    scrollbar-shadow-color: #17202e;
    scrollbar-darkshadow-color: #111a27;
}

/* Общая типографика */

font,
th,
td,
p {
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
    font-size: 14px;
}

/* ============================================================
   2. ССЫЛКИ
   ============================================================ */

a {
    text-decoration: none;
    color: #e7a18e;
}

a:visited {
    text-decoration: none;
    color: #c88b91;
}

a:hover,
a:active {
    text-decoration: underline;
    color: #ffd19c;
}

hr {
    height: 0;
    border: 0;
    border-top: 1px solid #526078;
}

img {
    border: 0;
}

form {
    display: inline;
}

/* ============================================================
   3. ТАБЛИЦЫ ФОРУМА
   ============================================================ */

table.forumline {
    background-color: #28364a;
    border: 1px solid #46566d;
    border-radius: 5px;
    overflow: hidden;
}

table.forumline:hover {
    background-color: #304158;
}

.row,
.row1,
.row2 {
    background-color: #263448;
}

.row3 {
    background-color: #304057;
}

/* ============================================================
   4. ЗАГОЛОВКИ ТАБЛИЦ
   ============================================================ */

th,
td.th {
    color: #fff2e9;
    font-size: 13px;
    font-weight: bold;
    background-color: #56394f;
    background-image:
        linear-gradient(110deg, #49344b, #704456, #49344b);
    background-repeat: repeat-x;
    height: 32px;
    padding: 6px 8px;
    border-style: solid;
    border-color: #94677b;
    border-width: 0 1px;
}

/* ============================================================
   5. КАТЕГОРИИ ФОРУМА
   ============================================================ */

td.cat,
td.catHead,
td.catLeft,
td.rowpic,
td.catSides,
td.catRight,
td.catBottom {
    color: #fff0e8;
    font-size: 14px;
    background-color: #3d3044;
    background-image:
        linear-gradient(90deg, #463449, #674052, #463449);
    background-repeat: repeat-x;
    height: 30px;
    padding: 5px;
    border-bottom: 1px solid #806078;
}

/* ============================================================
   6. РАЗМЕРЫ ТЕКСТА
   ============================================================ */

.gen {
    font-size: 14px;
}

.genmed {
    font-size: 13px;
}

.gensmall {
    font-size: 11px;
}

/* ============================================================
   7. НАВИГАЦИЯ
   ============================================================ */

.nav {
    font-weight: bold;
    font-size: 14px;
    color: #f0a28f;
}

.nav a,
.nav a:visited {
    text-decoration: none;
    color: #e7a18e;
}

.nav a:hover,
.nav a:active {
    text-decoration: underline;
    color: #ffd19c;
}

table.nav {
    background-color: #29394e;
    background-image:
        linear-gradient(90deg, #29394e, #35455d);
    border: 1px solid #718096;
    height: 30px;
    border-radius: 4px;
}

table.nav:hover {
    border: 1px solid #e5a18c;
}

/* ============================================================
   8. ССЫЛКИ НА РАЗДЕЛЫ
   ============================================================ */

.forumlink {
    font-weight: bold;
    font-size: 15px;
}

a.forumlink,
a.forumlink:visited {
    text-decoration: none;
    color: #f0b49c;
}

a.forumlink:hover,
a.forumlink:active {
    text-decoration: underline;
    color: #ffd6a8;
}

/* ============================================================
   9. ПОЛЯ ВВОДА
   ============================================================ */

input {
    text-indent: 2px;
}

input,
textarea,
select {
    color: #34313b;
    font: normal 13px "Segoe UI", Arial, Helvetica, sans-serif;
    border: 1px solid #a99aa2;
    border-radius: 4px;
    padding: 5px 7px;
    background-color: #f8f3ee;
    box-sizing: border-box;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #e49b88;
    box-shadow: 0 0 0 2px rgba(228,155,136,.2);
}

input.post,
textarea.post,
select {
    background-color: #fffaf5;
    border: solid 1px #a78a91;
}

input.post {
    height: 27px;
}

textarea.post {
    min-height: 100px;
}

/* Кнопки */

input.button {
    background: linear-gradient(180deg, #e8a18e, #c96e75);
    color: #fff;
    font-size: 13px;
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
    font-weight: bold;
    border: solid 1px #d98d83;
    border-radius: 5px;
    padding: 6px 13px;
    cursor: pointer;
}

input.button:hover {
    background: linear-gradient(180deg, #f0b49b, #d77d80);
    color: #fff;
}

/* Основная кнопка */

input.mainoption {
    background-color: #e8a18e;
    color: #fff;
    font-weight: bold;
    border: solid 1px #cf827d;
    height: 29px;
    cursor: pointer;
}

/* Дополнительная кнопка */

input.liteoption {
    background-color: #eee5df;
    color: #463743;
    font-weight: normal;
    border: solid 1px #a99aa2;
    height: 29px;
    cursor: pointer;
}

/* Выпадающие списки */

select optgroup {
    background-color: #ded5d1;
    color: #443943;
}

select option,
select optgroup option {
    background-color: #fffaf5;
    color: #29252d;
}

/* ============================================================
   10. БЛОКИ КОДА И ЦИТАТ
   ============================================================ */

.code {
    font-family: Consolas, Courier, "Courier New", sans-serif;
    font-size: 13px;
    color: #e7c7a4;
    background-color: #1d2a3b;
    border: 1px dashed #718096;
    border-left: 4px solid #d58b83;
    padding: 10px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.quote {
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
    font-size: 13px;
    color: #e6dce0;
    line-height: 1.5;
    background-color: #344052;
    border: 1px solid #67758b;
    border-left: 4px solid #e7a18e;
    padding: 10px;
    border-radius: 4px;
}

/* ============================================================
   11. СООБЩЕНИЯ
   ============================================================ */

.postbody {
    font-size: 14px;
    color: #e9e4df;
    line-height: 1.65;
}

.postbody a,
.postbody a:visited {
    text-decoration: underline;
    color: #e9a38f;
}

.postbody a:hover,
.postbody a:active {
    text-decoration: underline;
    color: #ffd3a3;
}

.name {
    font-weight: bold;
    font-size: 14px;
    color: #f2c5a9;
}

.name a,
.name a:visited {
    text-decoration: none;
    color: #f2b09b;
}

.name a:hover,
a.name a:active {
    text-decoration: underline;
    color: #ffd3a3;
}

.postdetails {
    color: #aab2c0;
    font-size: 11px;
}

/* ============================================================
   12. РАЗДЕЛИТЕЛИ
   ============================================================ */

td.spacerow {
    background-color: #3a465a;
    background-image:
        linear-gradient(90deg, #354257, #76506a, #354257);
    height: 3px;
    padding: 0;
}

/* ============================================================
   13. НАЗВАНИЯ КАТЕГОРИЙ
   ============================================================ */

.cattitle {
    font-weight: bold;
    font-size: 14px;
    letter-spacing: .5px;
    color: #fff0e8;
}

a.cattitle {
    text-decoration: none;
    color: #fff0e8;
}

a.cattitle:hover {
    text-decoration: underline;
    color: #ffd19c;
}

/* ============================================================
   14. ГЛАВНЫЕ ЗАГОЛОВКИ
   ============================================================ */

.maintitle,
h1,
h2 {
    font-weight: bold;
    font-size: 22px;
    font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
    text-decoration: none;
    line-height: 1.3;
    color: #f5c2a7;
}

.maintitle {
    letter-spacing: .4px;
}

h1 {
    font-size: 25px;
}

h2 {
    font-size: 20px;
}

/* ============================================================
   15. WR-FORUM PROFESSIONAL 2.2
   ============================================================ */

/* Пагинация */

.pgbutt a {
    display: inline-block;
    font-family: Verdana, Arial, sans-serif;
    text-decoration: none;
    border: 1px solid #65758c;
    background: #35445a;
    color: #f2c3aa;
    padding: 4px 8px;
    margin: 3px 2px;
    border-radius: 5px;
}

.pgbutt a:hover {
    background: #745066;
    border-color: #e5a18e;
    color: #ffffff;
    text-decoration: none;
}

/* Кнопки форума */

input,
input.liteoption,
.fakebut {
    border: 1px solid #a88a91;
    font-size: 13px;
    font-weight: bold;
}

/* ============================================================
   16. QR-CODE
   ============================================================ */

#qr img {
    width: 35px;
    height: 35px;
    position: fixed;
    right: 10px;
    top: 10px;
    border: 1px solid #e7a18e;
    padding: 2px;
    background-color: #fffaf5;
    border-radius: 5px;
    z-index: 100;
}

#qr img:hover {
    width: 200px;
    height: 200px;
    z-index: 100;
    padding: 3px;
}

/* ============================================================
   17. АВАТАР ГОСТЯ
   ============================================================ */

.guestavatar {
    width: 120px;
    height: 120px;
    text-align: center;
    background: linear-gradient(145deg, #b56b80, #69445f);
    color: #fff1df;
    font-size: 50px;
    display: table-cell;
    border-radius: 25%;
    position: relative;
    vertical-align: middle;
    border: 2px solid #e5a18e;
}

/* ============================================================
   18. АДМИНИСТРАТИВНОЕ МЕНЮ
   ============================================================ */

#nav8,
#nav8 ul,
#nav8 li {
    margin: 0;
    padding: 0;
    border: 0;
}

#nav8,
#nav8 ul {
    background: #26364b;
}

#nav8 {
    border-spacing: 0;
    position: relative;
    z-index: 50;
    width: 100%;
}

#nav8 ul {
    position: absolute;
    display: none;
    min-width: 160px;
    box-shadow: 0 7px 18px rgba(0,0,0,.35);
}

#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: 8px 10px;
    text-align: center;
    text-decoration: none;
    color: #e9e2dc;
}

#nav8 ul a {
    padding: 8px 15px;
    text-align: left;
}

#nav8 td:hover,
#nav8 li:hover {
    background: #67445c;
}

#nav8 td {
    text-align: center;
}

/* ============================================================
   19. ИНДИКАТОР ЗАГРУЗКИ
   ============================================================ */

#cssbar-wrapper {
    width: 300px;
    height: 19px;
    position: absolute;
    left: 50%;
}

#cssbar-border {
    border: 3px solid #d88f83;
    height: 100%;
    width: 100%;
    position: relative;
    left: -50%;
    top: -50%;
    padding: 4px 3px;
    box-sizing: content-box;
}

#cssbar-whitespace {
    overflow: hidden;
    height: 100%;
    width: 100%;
    margin: 0 auto;
    position: relative;
}

#cssbar-line {
    background: linear-gradient(90deg, #c66d78, #f0bd9b, #c66d78);
    position: absolute;
    height: 100%;
    width: 100%;
    animation: cssbar-slide 4s steps(40) infinite;
    -o-animation: cssbar-slide 4s steps(40) infinite;
    -ms-animation: cssbar-slide 4s steps(40) infinite;
    -webkit-animation: cssbar-slide 4s steps(40) infinite;
    -moz-animation: cssbar-slide 4s steps(40) 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%; }
}

/* ============================================================
   20. ДОПОЛНИТЕЛЬНЫЕ ЭЛЕМЕНТЫ
   ============================================================ */

table {
    border-collapse: separate;
    border-spacing: 0;
}

td {
    line-height: 1.45;
}

textarea {
    line-height: 1.5;
}

blockquote {
    border-left: 3px solid #e7a18e;
    padding: 8px 12px;
    color: #ded7d4;
    background: rgba(255,255,255,.04);
}

/* ============================================================
   21. МОБИЛЬНАЯ АДАПТАЦИЯ
   ============================================================ */

@media screen and (max-width: 700px) {

    body {
        font-size: 13px;
    }

    font,
    th,
    td,
    p {
        font-size: 13px;
    }

    .postbody {
        font-size: 13px;
    }

    .maintitle,
    h1 {
        font-size: 19px;
    }

    h2 {
        font-size: 17px;
    }

    .guestavatar {
        width: 75px;
        height: 75px;
        font-size: 32px;
    }

    .pgbutt a {
        padding: 5px 7px;
        margin: 2px 1px;
    }

    #cssbar-wrapper {
        width: 75%;
    }

    #qr img:hover {
        width: 150px;
        height: 150px;
    }

    input,
    textarea,
    select {
        max-width: 100%;
    }

}