﻿/* ==========================================================
   THEATRE FORUM — «ТЕАТРАЛЬНАЯ СЦЕНА»
   Новый дизайн для WR-Forum Professional 2.2
   Цвета: графит / бордо / золото / слоновая кость
   ========================================================== */

/* ---------- ОСНОВНОЙ ФОН ---------- */

body {
    background-color: #171519;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='420' viewBox='0 0 420 420'%3E%3Cdefs%3E%3Cpattern id='p' width='140' height='140' patternUnits='userSpaceOnUse'%3E%3Cpath d='M0 0 Q70 45 140 0 M0 140 Q70 95 140 140' fill='none' stroke='%23ffffff' stroke-opacity='.025' stroke-width='1'/%3E%3Ccircle cx='70' cy='70' r='2' fill='%23c69b58' fill-opacity='.09'/%3E%3Cpath d='M70 58 L70 82 M58 70 L82 70' stroke='%23c69b58' stroke-opacity='.04'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='420' height='420' fill='url(%23p)'/%3E%3C/svg%3E");
    color: #e9e0d4;
    font-family: "Segoe UI", Tahoma, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
    padding: 0;
    text-align: center;
}

/* ---------- ВЕРХНЯЯ ШАПКА ---------- */

div.myname {
    width: 100%;
    min-height: 150px;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    background-color: #310f20;
    background-image:
        linear-gradient(90deg, rgba(24,10,19,.94), rgba(73,17,40,.78), rgba(24,10,19,.94)),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='240' viewBox='0 0 1200 240'%3E%3Cdefs%3E%3ClinearGradient id='g' x2='0' y2='1'%3E%3Cstop stop-color='%237d2947'/%3E%3Cstop offset='1' stop-color='%231b1019'/%3E%3C/linearGradient%3E%3ClinearGradient id='l' x2='0' y2='1'%3E%3Cstop stop-color='%23f7d99b' stop-opacity='.65'/%3E%3Cstop offset='1' stop-color='%23c18b48' stop-opacity='.03'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='1200' height='240' fill='url(%23g)'/%3E%3Cpath d='M0 0 Q110 30 150 240 L0 240Z M1200 0 Q1090 30 1050 240 L1200 240Z' fill='%230d0910' opacity='.75'/%3E%3Cpath d='M0 0 Q90 40 115 240 M1200 0 Q1110 40 1085 240' stroke='%23c18b48' stroke-opacity='.35' stroke-width='5' fill='none'/%3E%3Cpath d='M300 0 L430 210 L500 240 L390 0 M900 0 L770 210 L700 240 L810 0' fill='url(%23l)' opacity='.18'/%3E%3Cpath d='M600 0 L530 240 L670 240Z' fill='%23f8dca2' opacity='.06'/%3E%3Ccircle cx='600' cy='25' r='8' fill='%23f6dca8' opacity='.8'/%3E%3Cpath d='M600 30 L440 240 L760 240Z' fill='%23f6dca8' opacity='.055'/%3E%3Cpath d='M0 224 Q300 195 600 224 T1200 224 L1200 240 L0 240Z' fill='%230d0910' opacity='.7'/%3E%3C/svg%3E");
    background-size: cover;
    background-position: center;
    border-bottom: 3px solid #b58a4b;
    box-shadow: 0 8px 25px rgba(0,0,0,.45);
}

#logostrip {
    background-image:
        linear-gradient(90deg, #351323, #6b203b, #351323);
    height: 150px;
    border-bottom: 2px solid #b58a4b;
}

/* ---------- ССЫЛКИ ---------- */

a:link,
a:visited,
a:active {
    background: transparent;
    color: #bd9255;
    text-decoration: none;
    transition: color .2s ease;
}

a:hover {
    background: transparent;
    color: #f1d29a;
    text-decoration: underline;
}

/* ---------- ПОЛЯ ВВОДА ---------- */

.input-warn,
.input-green,
.input-checkbox,
input,
textarea,
select {
    background: #f4eee5;
    border: 1px solid #9a7956;
    border-radius: 4px;
    color: #292128;
    font-family: "Segoe UI", Tahoma, Arial, sans-serif;
    font-size: 13px;
    margin: 5px;
    padding: 6px 8px;
    vertical-align: middle;
    box-sizing: border-box;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #c49a5b;
    box-shadow: 0 0 0 2px rgba(196,154,91,.2);
}

select {
    margin: 0;
}

.input-checkbox {
    border: none;
    background: transparent;
}

.input-warn,
.input-warn-content {
    border: 1px solid #b84949;
}

.input-ok,
.input-ok-content {
    border: 1px solid #558d68;
}

.input-warn-content {
    padding: 8px;
    margin: 4px;
    background-color: #f8dddd;
    color: #722929;
    border-radius: 4px;
}

.input-ok-content {
    padding: 8px;
    margin: 4px;
    background-color: #dcefe0;
    color: #285a36;
    border-radius: 4px;
}

.input-text {
    color: #8e263f;
}

input.button {
    margin: 0;
    width: auto;
    cursor: pointer;
}

optgroup option {
    font-family: Verdana, Arial, sans-serif;
    font-size: 13px;
}

.codebuttons {
    font-family: Verdana, Arial, sans-serif;
    font-size: 12px;
    vertical-align: middle;
    margin: 3px;
}

.textarea,
.searchinput,
.button,
.gobutton {
    background: #f4eee5;
    border: 1px solid #9a7956;
    border-radius: 4px;
    color: #30242a;
    font-family: Verdana, Arial, sans-serif;
    font-size: 13px;
    padding: 6px 9px;
    vertical-align: middle;
}

.button {
    background: linear-gradient(180deg, #8b304c, #5b1b34);
    border: 1px solid #b58a4b;
    color: #fff4df;
    font-weight: bold;
    cursor: pointer;
}

.button:hover,
input.button:hover {
    background: linear-gradient(180deg, #a34360, #70213d);
    color: #fff;
}

.gobutton {
    background: transparent;
    border: 0;
    color: #c49a5b;
    margin: 0;
    vertical-align: middle;
}

.radiobutton,
.checkbox,
.helpbox {
    border: 0;
    vertical-align: middle;
    background: transparent;
}

/* ---------- ЗАГОЛОВКИ ТАБЛИЦ ---------- */

table th,
.borderwrap table th,
.subtitle,
.subtitlediv,
.postlinksbar {
    background: linear-gradient(90deg, #572039, #71304b, #572039);
    border-bottom: 1px solid #bd985f;
    color: #f5e5c7;
    font-size: 13px;
    font-weight: bold;
    margin: 0;
    padding: 10px 8px;
    letter-spacing: .3px;
}

/* ---------- БЛОК ИНФОРМАЦИИ ---------- */

.newslink {
    background: rgba(39,20,30,.94);
    border: 1px solid #8d6947;
    border-radius: 7px;
    margin: 0;
    width: 100%;
    box-shadow: 0 5px 18px rgba(0,0,0,.25);
}

.newslink td {
    color: #e9dfd1;
    font-size: 14px;
    padding: 9px 10px;
}

.newslink span {
    background: transparent;
    color: #d7b77e;
    font-style: italic;
    font-weight: normal;
}

.newslink input {
    background: #f5eee5;
    border: 1px solid #a17e57;
    border-radius: 4px;
    color: #292128;
    font-size: 13px;
    padding: 6px;
    vertical-align: middle;
    width: auto;
}

.newslink input.button {
    background: transparent;
    border: 0;
    color: #f0d19a;
    vertical-align: middle;
}

/* ---------- ЗАГОЛОВКИ РАЗДЕЛОВ ---------- */

.maintitle_left,
.maintitle_right {
    width: 8px;
    height: 31px;
    margin: 0;
    padding: 0;
    background-color: transparent;
    background-image: none;
    color: #f3dfb8;
}

.maintitle_right {
    background-image: none;
}

.maintitle {
    background: linear-gradient(90deg, #391527, #6b2541, #391527);
    color: #f2dfbd;
    border-top: 1px solid #bd985f;
    border-bottom: 2px solid #bd985f;
    padding: 10px;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: .5px;
}

/* ---------- ВСПЛЫВАЮЩЕЕ МЕНЮ ---------- */

.popmenubutton {
    width: 120px;
    white-space: nowrap;
    background: #4b2034;
    border: 1px solid #b58a4b;
    border-radius: 4px;
    color: #f2dfbd;
    font-weight: bold;
    float: right;
    text-align: center;
    margin: 0;
    font-size: 13px;
    padding: 6px;
}

/* ---------- ДОПОЛНИТЕЛЬНЫЕ ЭЛЕМЕНТЫ ---------- */

.vistasoftware img {
    position: absolute;
    top: 7px;
    left: 550px;
    clear: left;
}

.topbarad {
    font-size: 14px;
    font-weight: bold;
    color: #f0d7aa;
    padding: 5px;
}

.topbarad a {
    color: #f0d7aa;
}

.copyright {
    font-size: 11px;
    font-family: Verdana, Arial, sans-serif;
    color: #a99b91;
    letter-spacing: 0;
}

a.copyright,
a.copyright:visited,
.copyright a,
.copyright a:visited {
    color: #c5a777;
    text-decoration: none;
}

a.copyright:hover,
a.copyright:active,
.copyright a:hover,
.copyright a:active {
    color: #f0d7aa;
    text-decoration: underline;
}

/* ---------- ЦИТАТЫ И КОД ---------- */

.quote,
.q_table {
    font-family: Verdana, Arial, sans-serif;
    font-size: 13px;
    color: #e6d9c9;
    line-height: 1.5;
    background-color: #30232c;
    border: 1px solid #a17a52;
    border-left: 4px solid #b58a4b;
    padding: 10px;
    border-radius: 4px;
}

.code,
.php_table {
    font-family: Consolas, "Courier New", monospace;
    font-size: 13px;
    color: #e7c68f;
    background-color: #211b23;
    border: 1px dashed #936d4c;
    padding: 10px;
    border-radius: 4px;
    overflow-wrap: anywhere;
}

/* ---------- ПОДЗАГОЛОВКИ ---------- */

.subtitle {
    font-size: 16px;
    font-family: "Segoe UI", Arial, sans-serif;
    text-decoration: none;
    font-weight: bold;
    color: #f5e5c7;
}

.subtitlediv {
    color: #f5e5c7;
}

.postlinksbar {
    color: #e7d2b2;
}

.forumline {
    color: #e8dfd4;
    background: #2b2229;
    border: 1px solid #684457;
    border-radius: 5px;
}

/* ---------- СТРОКИ ТАБЛИЦ ---------- */

td.row1 {
    background-color: #352a32;
    color: #e9dfd4;
}

td.row1_over {
    background-color: #44313b;
    color: #fff0db;
}

td.row2 {
    background-color: #2d252c;
    color: #e9dfd4;
}

td.row2_over {
    background-color: #40303a;
    color: #fff0db;
}

td.row3,
td.row3Right {
    background-color: #382b34;
    color: #e9dfd4;
}

td.row3_over {
    background-color: #49343e;
    color: #fff0db;
}

td.row4 {
    background-color: #49333e;
    color: #f0dfc9;
}

td.spacer {
    background-color: #9b7049;
    height: 3px;
}

td.rowpic {
    background-color: #30232c;
}

/* ---------- ЗАГОЛОВКИ КОЛОНОК ---------- */

th,
td.th {
    color: #f3dfbd;
    font-size: 13px;
    font-weight: bold;
    background: linear-gradient(90deg, #552139, #71304b);
    height: 30px;
    border-bottom: 1px solid #bd985f;
}

/* ---------- КАТЕГОРИИ ФОРУМА ---------- */

td.cat,
td.catHead,
td.catSides,
td.catLeft,
td.catRight,
td.catBottom {
    background: linear-gradient(90deg, #512038, #71304b, #512038);
    height: 30px;
    color: #f4dfb9;
    border-top: 1px solid #a57d4c;
    border-bottom: 1px solid #a57d4c;
}

td.th2 {
    background-color: #49323e;
    height: 24px;
    color: #e9d8c1;
}

td.spaceRow {
    background: #a17b4f;
    height: 3px;
}

/* ---------- ЗАГОЛОВКИ ТЕКСТА ---------- */

h1,
h2 {
    font-weight: bold;
    font-size: 21px;
    font-family: Georgia, "Times New Roman", serif;
    text-decoration: none;
    line-height: 1.3;
    color: #f0d5a5;
    display: inline;
}

h1 {
    letter-spacing: .5px;
}

h2 {
    font-size: 18px;
}

/* ---------- ТЕКСТ ФОРУМА ---------- */

.gen {
    font-size: 13px;
}

.genmed {
    font-size: 12px;
}

.gensmall,
.gensmall2 {
    font-size: 11px;
}

.genmedred {
    font-size: 12px;
    color: #ed7777;
}

.gensmallred {
    font-size: 12px;
    color: #ed7777;
}

.gensmallgreen {
    font-size: 12px;
    color: #82c99b;
}

.gen,
.genmed,
.gensmall {
    color: #e5d9cc;
}

a.gen,
a.genmed,
a.gensmall {
    color: #c5a16c;
    text-decoration: none;
}

a.gen:hover,
a.genmed:hover,
a.gensmall:hover {
    color: #f4dba9;
    text-decoration: underline;
}

chekbox {
    color: #ed7777;
    background: #30232c;
}

form {
    display: inline;
}

/* ---------- ПОЛЯ СОЗДАНИЯ СООБЩЕНИЙ ---------- */

input.post,
textarea.post,
select {
    background-color: #f5eee5;
    color: #292128;
}

input {
    text-indent: 2px;
}

input.button {
    background: linear-gradient(180deg, #8b304c, #5b1b34);
    color: #fff1d8;
    border: 1px solid #bd985f;
    border-radius: 4px;
    font-size: 13px;
    font-family: Verdana, Arial, sans-serif;
    font-weight: bold;
}

input.mainoption {
    background-color: #e8d7bd;
    font-weight: bold;
}

input.liteoption {
    background-color: #f3eadc;
    font-weight: normal;
}

input.graybutton {
    background-color: #ded2c4;
    font-weight: normal;
}

input.bluebutton {
    background: #71304b;
    color: #fff1d8;
    font-weight: normal;
    border: 1px solid #bd985f;
}

input.helpline {
    background-color: #e9dfd4;
    border: solid 1px #b7a18a;
}

/* ---------- ПОДПИСИ И ИМЕНА ---------- */

.postformtitle {
    font-size: 14px;
    font-family: Verdana, Arial, sans-serif;
    text-decoration: none;
    font-weight: bold;
    color: #e9d5b4;
}

.names {
    font-size: 14px;
    color: #e7c58e;
    font-weight: bold;
}

div.userstop {
    border-top: 1px solid #8c6549;
    width: 100%;
    margin-top: 8px;
    padding-top: 8px;
    padding-bottom: 8px;
}

/* ---------- ИЗОБРАЖЕНИЯ ---------- */

img {
    border-top: 0;
    border-bottom: 0;
    border-right: 0;
    border-left: 0;
    max-width: 100%;
}

/* ==========================================================
   WR-FORUM PROFESSIONAL 2.2
   ========================================================== */

/* ---------- ПАГИНАЦИЯ ---------- */

.pgbutt a {
    font-family: Verdana, Arial, sans-serif;
    padding: 3px 7px;
    text-decoration: none;
    border: 1px solid #9c7955;
    background: #3b2933;
    color: #e9d5b4;
    margin: 2px;
    border-radius: 4px;
    display: inline-block;
}

.pgbutt a:hover {
    background: #79334f;
    border-color: #d0aa6d;
    color: #fff0d4;
    text-decoration: none;
}

input.button,
input.liteoption,
.fakebut {
    border: 1px solid #a17b54;
    background: #e9ddcb;
    color: #392632;
    font-size: 13px;
    font-weight: bold;
    border-radius: 4px;
    padding: 5px 9px;
}

/* ---------- QR-CODE ---------- */

#qr img {
    width: 35px;
    height: 35px;
    position: fixed;
    right: 10px;
    top: 10px;
    border: 1px solid #bd985f;
    padding: 2px;
    background-color: #f5eee5;
    border-radius: 4px;
    z-index: 100;
}

#qr img:hover {
    width: 200px;
    height: 200px;
    z-index: 100;
    padding: 3px;
}

/* ---------- АВАТАР ГОСТЯ ---------- */

.guestavatar {
    width: 120px;
    height: 120px;
    text-align: center;
    background: linear-gradient(145deg, #8b304c, #42182d);
    color: #f3d9a9;
    font-size: 50px;
    display: table-cell;
    border-radius: 50%;
    position: relative;
    vertical-align: middle;
    border: 2px solid #bd985f;
}

/* ---------- МЕНЮ АДМИНИСТРАТОРА ---------- */

#nav8,
#nav8 ul,
#nav8 li {
    margin: 0;
    padding: 0;
    border: 0;
}

#nav8,
#nav8 ul {
    background: #30202a;
}

#nav8 {
    border-spacing: 0;
    position: relative;
    z-index: 50;
    width: 100%;
    border-bottom: 1px solid #a17b54;
}

#nav8 ul {
    position: absolute;
    display: none;
    min-width: 180px;
    box-shadow: 0 7px 18px rgba(0,0,0,.4);
}

#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: 9px 12px;
    text-align: center;
    text-decoration: none;
    color: #e8d5b6;
}

#nav8 ul a {
    padding: 9px 15px;
    text-align: left;
}

#nav8 td:hover,
#nav8 li:hover {
    background: #6b2944;
}

#nav8 td {
    text-align: center;
}

/* ---------- ИНДИКАТОР ЗАГРУЗКИ ---------- */

#cssbar-wrapper {
    width: 300px;
    height: 19px;
    position: absolute;
    left: 50%;
}

#cssbar-border {
    border: 3px solid #b58a4b;
    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, #74304b, #d0a45f, #74304b);
    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%; }
}

/* ---------- ДОПОЛНИТЕЛЬНОЕ ОФОРМЛЕНИЕ ---------- */

table {
    border-collapse: separate;
    border-spacing: 0;
}

td {
    line-height: 1.45;
}

hr {
    border: 0;
    border-top: 1px solid #76513f;
}

blockquote {
    border-left: 3px solid #bd985f;
    padding-left: 12px;
    color: #d8c5aa;
}

/* ---------- АДАПТАЦИЯ ДЛЯ ТЕЛЕФОНОВ ---------- */

@media screen and (max-width: 700px) {
    body {
        font-size: 13px;
    }

    div.myname {
        min-height: 110px;
        background-position: center;
    }

    #logostrip {
        height: 110px;
    }

    .newslink td {
        padding: 6px;
        font-size: 12px;
    }

    h1,
    h2 {
        font-size: 17px;
    }

    .guestavatar {
        width: 75px;
        height: 75px;
        font-size: 32px;
    }

    #cssbar-wrapper {
        max-width: 80%;
    }

    .pgbutt a {
        padding: 4px 6px;
        margin: 2px 1px;
    }
}