﻿/* ============================================
   ФОРУМ "КИНО" - FILM NOIR STYLE
   ============================================ */

/* SVG BACKGROUND - КІНО КЛАПЕРБОРД */
body {
  font-size: 14px;
  padding: 0;
  margin: 6px;
  font: 12px Georgia, 'Times New Roman', serif;
  color: #1a1a1a;
  background: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%),
              url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><defs><pattern id="cinema" x="0" y="0" width="180" height="180" patternUnits="userSpaceOnUse"><g opacity="0.1"><rect x="30" y="30" width="120" height="120" fill="none" stroke="white" stroke-width="3"/><text x="90" y="85" font-size="16" fill="white" text-anchor="middle" font-weight="bold">TAKE</text><line x1="50" y1="50" x2="130" y2="130" stroke="white" stroke-width="2"/><line x1="130" y1="50" x2="50" y2="130" stroke="white" stroke-width="2"/></g><circle cx="160" cy="160" r="8" fill="rgba(255,255,255,0.15)"/><circle cx="30" cy="30" r="5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="1200" height="800" fill="url(%23cinema)"/></svg>') repeat fixed;
  background-color: #0a0a0a;
  background-attachment: fixed;
}

/* ОСНОВНІ ЕЛЕМЕНТИ */
font, th, td, p {
  font: 13px Georgia, 'Times New Roman', serif;
}

h1, .maintitle {
  font: bold 32px Georgia, 'Times New Roman', serif;
  color: #f5f5f5;
  text-decoration: none;
  text-shadow: 3px 3px 6px rgba(0,0,0,0.8);
  margin: 20px 0;
  letter-spacing: 2px;
}

h2, .subtitle {
  font: bold 24px Georgia, 'Times New Roman', serif;
  color: #d0d0d0;
  text-decoration: none;
  margin: 15px 0;
  letter-spacing: 1px;
}

/* КОНТЕЙНЕРИ І ТАБЛИЦІ */
.bodyline {
  border-right: 3px solid #ffffff;
  border-top: 3px solid #ffffff;
  border-left: 3px solid #ffffff;
  border-bottom: 3px solid #ffffff;
  background: #1a1a1a;
  box-shadow: 0 8px 20px rgba(0,0,0,0.6), inset 0 0 0 1px rgba(255,255,255,0.1);
}

.forumline {
  border-right: 3px solid #ffffff;
  border-top: 3px solid #ffffff;
  border-left: 3px solid #ffffff;
  border-bottom: 3px solid #ffffff;
  background: #2a2a2a;
  box-shadow: 0 8px 20px rgba(0,0,0,0.6), inset 0 0 0 1px rgba(255,255,255,0.1);
}

.code_table, .php_table, .q_table, .quote_table {
  border-right: 2px solid #555555;
  border-top: 2px solid #555555;
  border-left: 2px solid #555555;
  border-bottom: 2px solid #555555;
  font-size: 13px;
  font-family: 'Courier New', monospace;
  background: #1a1a1a;
  width: 95%;
}

/* ЗАГОЛОВКИ ТАБЛИЦЬ */
th {
  padding-right: 14px;
  padding-left: 14px;
  font-weight: bold;
  font-size: 14px;
  background: linear-gradient(180deg, #000000 0%, #2a2a2a 100%);
  color: #ffffff;
  white-space: nowrap;
  height: 34px;
  text-align: center;
  border: 1px solid #ffffff;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
  letter-spacing: 1px;
}

/* РЯДКИ ТАБЛИЦЬ */
.row1 {
  background: #f8f9fa;
  border: 1px solid #555555;
  color: #1a1a1a;
}

.row2 {
  background: #f0f1f3;
  border: 1px solid #555555;
  color: #1a1a1a;
}

.row3 {
  background: #f5f6f8;
  border: 1px solid #555555;
  color: #1a1a1a;
}

td.cat, td.catHead, td.catSides, td.catLeft, td.catRight, td.catBottom {
  font-weight: bold;
  background: linear-gradient(180deg, #000000 0%, #1a1a1a 100%);
  color: #ffffff;
  text-indent: 10px;
  letter-spacing: 1.5px;
  height: 34px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.15);
  vertical-align: middle;
  display: table-cell;
  border: 1px solid #ffffff;
  padding: 0 10px;
}

td.spacerow {
  background: #555555;
  height: 4px;
  border: 1px solid #666666;
}

td.rowpic {
  background: url(cellpic2.jpg) #1a1a1a repeat-y;
}

/* ПОСИЛАННЯ */
a:link, a:active, a:visited {
  color: #c0c0c0;
  text-decoration: none;
}

a:hover {
  color: #ffffff;
  text-decoration: underline;
}

a.postlink {
  color: #b8b8b8;
  text-decoration: none;
  font-weight: 500;
}

a.topictitle:visited {
  color: #a0a0a0;
}

a.topictitle:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* НАЗВИ ТОСТІВ */
.topictitle {
  font-weight: bold;
  font-size: 14px;
  color: #d0d0d0;
  letter-spacing: 0.5px;
}

.name {
  font-weight: bold;
  font-size: 13px;
  color: #c0c0c0;
}

/* КОНТЕНТ ПОСТА */
.postbody {
  font-size: 14px;
  line-height: 160%;
  color: #d0d0d0;
}

.postdetails {
  font-size: 12px;
  color: #888888;
  margin-top: 8px;
}

/* ЦИТАТИ */
.quote {
  border-right: 2px solid #555555;
  border-top: 2px solid #555555;
  border-left: 4px solid #ffffff;
  border-bottom: 2px solid #555555;
  font-size: 13px;
  background: #1a1a1a;
  color: #b8b8b8;
  line-height: 150%;
  padding: 10px 12px;
  margin: 8px 0;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1);
}

/* КОД */
.code {
  border-right: 2px solid #555555;
  border-top: 2px solid #555555;
  border-left: 2px solid #555555;
  border-bottom: 2px solid #555555;
  padding-right: 10px;
  padding-left: 10px;
  padding-top: 10px;
  padding-bottom: 10px;
  background: #0a0a0a;
  font: 12px 'Courier New', monospace;
  color: #a0a0a0;
  line-height: 145%;
  box-shadow: inset 0 0 8px rgba(0,0,0,0.6);
}

/* ПОМИЛКИ */
.errorline {
  border-right: 2px solid #555555;
  border-top: 2px solid #555555;
  border-left: 2px solid #555555;
  border-bottom: 2px solid #555555;
  background: #3a1a1a;
}

/* ФОРМИ ТА КНОПКИ */
form {
  display: inline;
}

input {
  font: 12px Georgia, 'Times New Roman', serif;
}

select {
  background: #2a2a2a;
  color: #d0d0d0;
  font: 12px Georgia, 'Times New Roman', serif;
  border: 2px solid #555555;
  padding: 6px 8px;
  border-radius: 2px;
}

input.post, textarea.post {
  border: 2px solid #555555;
  padding: 8px;
  background: #1a1a1a;
  color: #d0d0d0;
  font: 12px Georgia, 'Times New Roman', serif;
  border-radius: 2px;
}

input.post:focus, textarea.post:focus {
  border-color: #ffffff;
  outline: none;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.2);
}

input.button, input.liteoption, input.mainoption, input.catbutton {
  border: 2px solid #ffffff;
  font-size: 13px;
  background: linear-gradient(180deg, #2a2a2a 0%, #0a0a0a 100%);
  font-weight: bold;
  color: #ffffff;
  padding: 8px 16px;
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.3s ease;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
  letter-spacing: 0.5px;
}

input.button:hover, input.liteoption:hover, input.mainoption:hover, input.catbutton:hover {
  background: linear-gradient(180deg, #3a3a3a 0%, #1a1a1a 100%);
  box-shadow: 0 0 15px rgba(255,255,255,0.3);
}

input.button:active {
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.6);
}

.fakebut {
  border: 2px solid #ffffff;
  font-size: 13px;
  background: linear-gradient(180deg, #2a2a2a 0%, #0a0a0a 100%);
  color: #ffffff;
  cursor: pointer;
  padding: 8px 16px;
  border-radius: 2px;
  font-weight: bold;
  transition: all 0.3s ease;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

.fakebut:hover {
  background: linear-gradient(180deg, #3a3a3a 0%, #1a1a1a 100%);
  box-shadow: 0 0 15px rgba(255,255,255,0.3);
}

a.but {
  color: #c0c0c0;
  text-decoration: none;
  font-weight: 500;
}

a.but:hover {
  color: #ffffff;
}

a.but:visited {
  color: #a0a0a0;
}

/* ДОПОМІЖНІ СТИЛІ */
.helpline {
  background: #1a1a1a;
  font-size: 13px;
  border: 0px solid;
}

.gensmall {
  font-size: 12px;
}

td.genmed {
  font-size: 12px;
}

.genmed {
  font-size: 11px;
}

.explaintitle {
  font-weight: bold;
  font-size: 12px;
  color: #888888;
}

/* ГОРИЗОНТАЛЬНА ЛІНІЯ */
hr {
  border: none;
  border-top: 1px solid #555555;
  height: 0px;
  margin: 12px 0;
}

/* МЕНЮ НАВІГАЦІЇ */
.topbkg {
  background: #1a1a1a repeat-x;
}

.topnav {
  border-right: 2px solid #555555;
  border-top: 2px solid #555555;
  border-left: 2px solid #555555;
  border-bottom: 2px solid #555555;
  font-size: 13px;
  background: linear-gradient(180deg, #1a1a1a 0%, #0a0a0a 100%);
  color: #d0d0d0;
  white-space: nowrap;
  height: 30px;
  letter-spacing: 0.5px;
}

.nav {
  font-weight: bold;
  font-size: 13px;
  color: #c0c0c0;
}

/* АДМІНІСТРАТОР І МОДЕРАТОР */
.admin, a.admin, a.admin:visited {
  color: #ff9999;
  font-weight: bold;
}

a.admin:hover {
  color: #ffcccc;
}

.mod, a.mod, a.mod:visited {
  color: #99ff99;
  font-weight: bold;
}

a.mod:hover {
  color: #ccffcc;
}

/* ЗОБРАЖЕННЯ */
img {
  border-right: 0px solid;
  border-top: 0px solid;
  border-left: 0px solid;
  border-bottom: 0px solid;
}

/* КОПІРАЙТ */
.copyright {
  font-size: 11px;
  color: #666666;
  font-family: Georgia, 'Times New Roman', serif;
  letter-spacing: -0.2px;
}

a.copyright {
  color: #666666;
  text-decoration: none;
}

a.copyright:hover {
  color: #999999;
  text-decoration: underline;
}

/* ПАГІНАЦІЯ */
.pgbutt a {
  font-family: Georgia, 'Times New Roman', serif;
  padding-top: 4px;
  padding-bottom: 4px;
  text-decoration: none;
  border: 2px solid #555555;
  background: #1a1a1a;
  padding: 6px 12px;
  margin: 3px 2px;
  color: #c0c0c0;
  border-radius: 2px;
  transition: all 0.2s ease;
  font-weight: 500;
}

.pgbutt a:hover {
  background: #2a2a2a;
  border-color: #ffffff;
  color: #ffffff;
  box-shadow: 0 0 10px rgba(255,255,255,0.2);
}

/* QR КОД */
#qr img {
  width: 35px;
  height: 35px;
  position: fixed;
  right: 10px;
  top: 10px;
  border: 3px solid #ffffff;
  padding: 4px;
  background-color: #0a0a0a;
  border-radius: 2px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.6);
  transition: all 0.3s ease;
}

#qr img:hover {
  width: 200px;
  height: 200px;
  z-index: 100;
  padding: 6px;
  box-shadow: 0 8px 30px rgba(255,255,255,0.2);
  border-radius: 4px;
}

/* АВАТАР */
.guestavatar {
  width: 120px;
  height: 120px;
  text-align: center;
  background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
  color: #ffffff;
  font-size: 50px;
  font-weight: bold;
  display: table-cell;
  border-radius: 4px;
  position: relative;
  vertical-align: middle;
  box-shadow: 0 4px 12px rgba(0,0,0,0.8), inset 0 0 0 1px rgba(255,255,255,0.1);
  text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
  border: 2px solid #555555;
}

/* МЕНЮ АДМІНА */
#nav8, #nav8 ul, #nav8 li {
  margin: 0;
  padding: 0;
  border: 0;
}

#nav8 {
  border-spacing: 0 0;
  position: relative;
  z-index: 50;
  width: 100%;
  background: #1a1a1a;
}

#nav8 ul {
  position: absolute;
  display: none;
  background: #2a2a2a;
  border: 2px solid #555555;
  box-shadow: 0 4px 15px rgba(0,0,0,0.8);
  border-radius: 2px;
}

#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 0;
  text-align: center;
  text-decoration: none;
  color: #c0c0c0;
  font-weight: 500;
  transition: background 0.2s ease;
  letter-spacing: 0.3px;
}

#nav8 ul a {
  padding: 10px 16px;
  text-align: left;
  border-bottom: 1px solid #3a3a3a;
}

#nav8 ul a:last-child {
  border-bottom: none;
}

#nav8 td:hover, #nav8 li:hover {
  background: #3a3a3a;
}

#nav8 td {
  text-align: center;
}

/* ПРОГРЕС БАР */
#cssbar-wrapper {
  width: 300px;
  height: 23px;
  position: absolute;
  left: 50%;
}

#cssbar-border {
  border: 3px solid #ffffff;
  height: 100%;
  width: 100%;
  position: relative;
  left: -50%;
  top: -50%;
  padding: 4px;
  border-radius: 2px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.8);
}

#cssbar-whitespace {
  overflow: hidden;
  height: 100%;
  width: 100%;
  margin: 0 auto;
  position: relative;
  background: #0a0a0a;
  border-radius: 1px;
}

#cssbar-line {
  background: linear-gradient(90deg, #ffffff 0%, #c0c0c0 50%, #ffffff 100%);
  position: absolute;
  height: 100%;
  width: 100%;
  animation: cssbar-slide 3s steps(30) infinite;
  border-radius: 1px;
  box-shadow: 0 0 10px rgba(255,255,255,0.3);
}

@keyframes cssbar-slide {
  0% { left: -100%; }
  100% { left: 100%; }
}

@-moz-keyframes cssbar-slide {
  0% { left: -100%; }
  100% { left: 100%; }
}

@-webkit-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%; }
}

/* RESPONSIVE */
@media (max-width: 768px) {
  h1, .maintitle {
    font-size: 24px;
  }
  
  #qr img {
    width: 30px;
    height: 30px;
  }
}