﻿/* ============================================
   ФОРУМ "МЕДИЦИНА" - WEB 2.0 ДИЗАЙН
   ============================================ */

/* SVG BACKGROUND - МЕДИЧНА ТЕМАТИКА */
body {
  font-size: 14px;
  padding: 0;
  margin: 6px;
  font: 12px 'Lucida Grande', 'Segoe UI', Verdana, Arial, sans-serif;
  color: #333333;
  background: linear-gradient(180deg, #f0f4f8 0%, #e8f0f7 50%, #f0f4f8 100%),
              url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><defs><pattern id="medical" x="0" y="0" width="150" height="150" patternUnits="userSpaceOnUse"><path d="M50 20 L50 80 M20 50 L80 50" stroke="rgba(220,53,69,0.08)" stroke-width="3" fill="none"/><circle cx="100" cy="100" r="20" fill="none" stroke="rgba(23,162,184,0.06)" stroke-width="2"/><path d="M30 30 Q50 40 60 30" fill="none" stroke="rgba(40,167,69,0.06)" stroke-width="2"/></pattern></defs><rect width="1200" height="800" fill="url(%23medical)"/></svg>') repeat fixed;
  background-color: #f0f4f8;
}

/* ОСНОВНІ ЕЛЕМЕНТИ */
font, th, td, p {
  font: 13px 'Lucida Grande', 'Segoe UI', Verdana, Arial, sans-serif;
}

h1, .maintitle {
  font: bold 24px/120% 'Trebuchet MS', Verdana, Arial, sans-serif;
  color: #0d4f8b;
  text-decoration: none;
  text-shadow: 1px 1px 2px rgba(255,255,255,0.7);
  margin: 15px 0;
}

h2, .subtitle {
  font: bold 18px/180% 'Trebuchet MS', Verdana, Arial, sans-serif;
  color: #0d4f8b;
  text-decoration: none;
}

/* КОНТЕЙНЕРИ І ТАБЛИЦІ */
.bodyline {
  border-right: #999999 1px solid;
  border-top: #999999 1px solid;
  border-left: #999999 1px solid;
  border-bottom: #999999 1px solid;
  background: #ffffff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

.forumline {
  border-right: #999999 1px solid;
  border-top: #999999 1px solid;
  border-left: #999999 1px solid;
  border-bottom: #999999 1px solid;
  background: #ffffff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

.code_table, .php_table, .q_table, .quote_table {
  border-right: #cccccc 1px solid;
  border-top: #cccccc 1px solid;
  border-left: #cccccc 1px solid;
  border-bottom: #cccccc 1px solid;
  font-size: 13px;
  font-family: 'Lucida Grande', 'Segoe UI', Verdana, Arial, sans-serif;
  background: #f9f9f9;
  width: 95%;
}

/* ЗАГОЛОВКИ ТАБЛИЦЬ */
th {
  padding-right: 10px;
  padding-left: 10px;
  font-weight: bold;
  font-size: 13px;
  background: linear-gradient(180deg, #e8f0f7 0%, #d0dce8 100%);
  color: #0d4f8b;
  white-space: nowrap;
  height: 28px;
  text-align: center;
  border-bottom: 1px solid #999999;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6);
}

/* РЯДКИ ТАБЛИЦЬ */
.row1 {
  background: #f4f8fb;
}

.row2 {
  background: #e8f0f7;
}

.row3 {
  background: #f0f4f8;
}

td.cat, td.catHead, td.catSides, td.catLeft, td.catRight, td.catBottom {
  font-weight: bold;
  background: linear-gradient(180deg, #0d4f8b 0%, #084d7f 100%);
  color: #ffffff;
  text-indent: 6px;
  letter-spacing: 0.5px;
  height: 30px;
  text-shadow: 1px 1px 1px rgba(0,0,0,0.2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
}

td.spacerow {
  background: #dbe7f0;
  height: 3px;
}

td.rowpic {
  background: url(cellpic2.jpg) #f0f0f0 repeat-y;
}

/* ПОСИЛАННЯ */
a:link {
  color: #0d4f8b;
  text-decoration: none;
}

a:active {
  color: #0d4f8b;
  text-decoration: none;
}

a:visited {
  color: #0d4f8b;
  text-decoration: none;
}

a:hover {
  color: #0d7fa0;
  text-decoration: underline;
}

a.postlink {
  color: #0d4f8b;
  text-decoration: none;
}

a.topictitle:visited {
  color: #262626;
}

a.topictitle:hover {
  color: #0d7fa0;
  text-decoration: underline;
}

/* НАЗВИ ТОСТІВ */
.topictitle {
  font-weight: bold;
  font-size: 13px;
  color: #0d4f8b;
}

.name {
  font-weight: bold;
  font-size: 13px;
  color: #0d4f8b;
}

/* КОНТЕНТ ПОСТА */
.postbody {
  font-size: 14px;
  line-height: 140%;
  color: #333333;
}

.postdetails {
  font-size: 13px;
  color: #666666;
}

/* ЦИТАТИ */
.quote {
  border-right: #cccccc 1px solid;
  border-top: #cccccc 1px solid;
  border-left: #cccccc 1px solid;
  border-bottom: #cccccc 1px solid;
  font-size: 13px;
  background: #f4f8fb;
  color: #444444;
  line-height: 140%;
  padding: 4px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6);
}

/* КОД */
.code {
  border-right: #cccccc 1px solid;
  border-top: #cccccc 1px solid;
  border-left: #cccccc 1px solid;
  border-bottom: #cccccc 1px solid;
  padding-right: 5px;
  padding-left: 5px;
  padding-top: 5px;
  padding-bottom: 5px;
  background: #f9f9f9;
  font: 12px Courier, sans-serif;
  color: #006600;
  line-height: 140%;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6);
}

/* ПОМИЛКИ */
.errorline {
  border-right: #333333 1px solid;
  border-top: #333333 1px solid;
  border-left: #333333 1px solid;
  border-bottom: #333333 1px solid;
  background: #dc3545;
}

/* ФОРМИ ТА КНОПКИ */
form {
  display: inline;
}

input {
  font: 11px Verdana, Arial, Helvetica, sans-serif;
}

select {
  background: #ffffff;
  font: 11px Verdana, Arial, Helvetica, sans-serif;
}

input.post {
  border-right: #000000 1px solid;
  border-top: #000000 1px solid;
  border-left: #000000 1px solid;
  border-bottom: #000000 1px solid;
  padding-left: 2px;
  padding-bottom: 2px;
  background: #ffffff;
  font: 11px Verdana, Arial, Helvetica;
}

textarea.post {
  border-right: #000000 1px solid;
  border-top: #000000 1px solid;
  border-left: #000000 1px solid;
  border-bottom: #000000 1px solid;
  padding-left: 2px;
  padding-bottom: 2px;
  background: #ffffff;
  font: 11px Verdana, Arial, Helvetica;
}

input.button, input.liteoption, input.mainoption, input.catbutton {
  border-right: #999999 1px solid;
  border-top: #999999 1px solid;
  border-left: #999999 1px solid;
  border-bottom: #999999 1px solid;
  font-size: 13px;
  background: linear-gradient(180deg, #f4f8fb 0%, #e8f0f7 100%);
  font-weight: bold;
  color: #0d4f8b;
  cursor: pointer;
  padding: 3px 8px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1), inset 0 1px 0 rgba(255,255,255,0.8);
}

input.button:active, input.liteoption:active, input.mainoption:active, input.catbutton:active {
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.2), inset 0 -1px 0 rgba(255,255,255,0.5);
}

input.mainoption {
  font-weight: bold;
}

.fakebut {
  border-right: #999999 1px solid;
  border-top: #999999 1px solid;
  border-left: #999999 1px solid;
  border-bottom: #999999 1px solid;
  font-size: 13px;
  background: linear-gradient(180deg, #f4f8fb 0%, #e8f0f7 100%);
  color: #0d4f8b;
  cursor: pointer;
  padding: 3px 8px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1), inset 0 1px 0 rgba(255,255,255,0.8);
}

a.but {
  color: #0d4f8b;
  text-decoration: none;
}

a.but:hover {
  color: #0d7fa0;
  text-decoration: none;
}

a.but:visited {
  color: #0d4f8b;
  text-decoration: none;
}

/* ДОПОМІЖНІ СТИЛІ */
.helpline {
  background: #e8f0f7;
  font-size: 13px;
  border: 0px solid;
}

.gensmall {
  font-size: 13px;
}

td.genmed {
  font-size: 13px;
}

.genmed {
  font-size: 12px;
}

.explaintitle {
  font-weight: bold;
  font-size: 13px;
  color: #999999;
}

/* ГОРИЗОНТАЛЬНА ЛІНІЯ */
hr {
  border-right: #ffffff 0px solid;
  border-top: #ffffff 1px solid;
  border-left: #ffffff 0px solid;
  border-bottom: #ffffff 0px solid;
  height: 0px;
}

/* МЕНЮ НАВІГАЦІЇ */
.topbkg {
  background: url(cellpic_bkg.jpg) #efefef repeat-x;
}

.topnav {
  border-right: #999999 0px solid;
  border-top: #999999 1px solid;
  border-left: #999999 0px solid;
  border-bottom: #999999 1px solid;
  font-size: 13px;
  background: linear-gradient(180deg, #f4f8fb 0%, #e8f0f7 100%);
  color: #0d4f8b;
  white-space: nowrap;
  height: 24px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
}

.nav {
  font-weight: bold;
  font-size: 13px;
  color: #0d4f8b;
}

/* АДМІНІСТРАТОР І МОДЕРАТОР */
.admin, a.admin, a.admin:visited {
  color: #dc3545;
  font-weight: bold;
}

a.admin:hover {
  color: #c82333;
}

.mod, a.mod, a.mod:visited {
  color: #28a745;
  font-weight: bold;
}

a.mod:hover {
  color: #1e7e34;
}

/* ЗОБРАЖЕННЯ */
img {
  border-right: 0px solid;
  border-top: 0px solid;
  border-left: 0px solid;
  border-bottom: 0px solid;
}

/* КОПІРАЙТ */
.copyright {
  font-size: 12px;
  color: #000000;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  letter-spacing: -1px;
}

a.copyright {
  color: #000000;
  text-decoration: none;
}

a.copyright:hover {
  color: #0d4f8b;
  text-decoration: underline;
}

/* ПАГІНАЦІЯ */
.pgbutt a {
  font-family: Verdana, Arial;
  padding-top: 2px;
  padding-bottom: 2px;
  text-decoration: none;
  border: 1px #888888 solid;
  background: #f4f8fb;
  padding: 2px 6px;
  margin: 3px 2px;
  color: #0d4f8b;
  border-radius: 3px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1), inset 0 1px 0 rgba(255,255,255,0.8);
}

.pgbutt a:hover {
  background: #e8f0f7;
  color: #0d7fa0;
}

/* QR КОД */
#qr img {
  width: 35px;
  height: 35px;
  position: fixed;
  right: 10px;
  top: 10px;
  border: 2px solid #0d4f8b;
  padding: 3px;
  background-color: white;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

#qr img:hover {
  width: 200px;
  height: 200px;
  z-index: 100;
  padding: 5px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* АВАТАР */
.guestavatar {
  width: 120px;
  height: 120px;
  text-align: center;
  background: linear-gradient(135deg, #0d4f8b 0%, #084d7f 100%);
  color: #ffffff;
  font-size: 50px;
  font-weight: bold;
  display: table-cell;
  border-radius: 6px;
  position: relative;
  vertical-align: middle;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15), inset 0 1px 0 rgba(255,255,255,0.2);
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* МЕНЮ АДМІНА */
#nav8, #nav8 ul, #nav8 li {
  margin: 0;
  padding: 0;
  border: 0;
}

#nav8, #nav8 ul {
  background: #f4f8fb;
}

#nav8 {
  border-spacing: 0 0;
  position: relative;
  z-index: 50;
  width: 100%;
}

#nav8 ul {
  position: absolute;
  display: none;
  background: #ffffff;
  border: 1px solid #999999;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

#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;
  color: #0d4f8b;
}

#nav8 ul a {
  padding: 7px 15px;
  text-align: left;
  border-bottom: 1px solid #e8f0f7;
}

#nav8 td:hover, #nav8 li:hover {
  background: #e8f0f7;
}

#nav8 td {
  text-align: center;
}

/* ПРОГРЕС БАР */
#cssbar-wrapper {
  width: 300px;
  height: 19px;
  position: absolute;
  left: 50%;
}

#cssbar-border {
  border: 3px solid #0d4f8b;
  height: 100%;
  width: 100%;
  position: relative;
  left: -50%;
  top: -50%;
  padding: 4px 3px;
  border-radius: 3px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6);
}

#cssbar-whitespace {
  overflow: hidden;
  height: 100%;
  width: 100%;
  margin: 0 auto;
  position: relative;
  background: #f4f8fb;
  border-radius: 2px;
}

#cssbar-line {
  background: linear-gradient(90deg, #0d4f8b 0%, #0d7fa0 50%, #0d4f8b 100%);
  position: absolute;
  height: 100%;
  width: 100%;
  animation: cssbar-slide 4s steps(40) infinite;
  border-radius: 1px;
}

@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%; }
}