﻿/* Bicycle Forum Theme for WR forum */
/* Велосипедная тема для форума о велосипедах, запчастях и велотуризме */

body { 
    font-family: Verdana, Arial, Helvetica, sans-serif; 
    font-size: 14px; 
    background-color: #f0f8ff; 
    margin: 0px; 
    padding: 0px; 
    cursor: default; 
}

body {
    scrollbar-face-color: #3a7bd5;
    scrollbar-highlight-color: #f4f4f4;
    scrollbar-3dlight-color: #00d2ff;
    scrollbar-shadow-color: #00d2ff;
    scrollbar-darkshadow-color: #00d2ff;
    scrollbar-track-color: #f0f8ff;
    scrollbar-arrow-color: #3a7bd5;
}

TABLE { 
    border-collapse: collapse; 
}

font, th, td, p { 
    font-family: Verdana, Arial, Helvetica, sans-serif; 
    font-size: 14px;
}

a:link {
    text-decoration: underline; 
    color: #3a7bd5;
}
a:active {
    text-decoration: underline; 
    color: #ff6b6b;
}
a:visited {
    text-decoration: underline; 
    color: #3a7bd5;
}
a:hover {
    text-decoration: none; 
    color: #ff6b6b;
}

form { 
    display: inline; 
    margin: 2px; 
    padding: 0px; 
    border: 0px;
}

input, textarea, select {
    vertical-align: middle; 
    font-size: 13pt; 
    font-family: verdana, arial, helvetica;
}

td, body {
    font-family: verdana, arial, helvetica; 
    font-size: 13pt; 
    color: #333333;
}

hr { 
    height: 0px; 
    border: solid #e0e0e0 0px; 
    border-top-width: 1px;
}

.bodyline { 
    font-family: verdana, arial, helvetica; 
    font-size: 13pt; 
    color: #333333;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
}

.forumline { 
    background-color: #f8faff; 
    border: 1px solid #d0e0ff solid; 
}

.row1 { 
    padding: 8px;
    background: #ffffff;
}
.row2 { 
    padding: 8px;
    background: #f8faff;
}
.row3 { 
    padding: 8px;
    background: #f0f8ff;
}

td.rowpic {
    padding: 8px;
    height: 45px; 
    background: linear-gradient(90deg, #3a7bd5 0%, #00d2ff 100%);
    font-family: Verdana, Sans-Serif;
    color: #ffffff;
    font-size: 14px;
    font-weight: bold;
}

th {
    color: #ffffff; 
    font-size: 14px; 
    font-weight: bold;
    background: linear-gradient(90deg, #3a7bd5 0%, #00d2ff 100%);
    height: 35px;
    padding: 10px;
    text-align: center;
}

td.cat, td.catSides, td.catRight, td.catBottom {
    background: #f0f8ff;
    border: 1px solid #d0e0ff; 
    border-style: solid; 
    height: 32px;
}

td.catLeft, td.catHead {
    padding: 8px; 
    background: linear-gradient(90deg, #3a7bd5 0%, #00d2ff 100%);
    font-family: Verdana, Sans-Serif;
    color: #ffffff;
    font-size: 14px; 
    font-weight: bold;
}

td.cat, td.catHead, td.catBottom {
    height: 32px;
    border-width: 1px;
}

th.thCornerL {
    border-collapse: collapse;
    background: #3a7bd5; 
    height: 16px; 
    background-color: #3a7bd5; 
    color: #ffffff;
}

th.thHead, th.thSides, th.thLeft, th.thRight, th.thBottom, th.thCornerR {
    padding: 10px;
    height: 45px; 
    background: linear-gradient(90deg, #3a7bd5 0%, #00d2ff 100%);
    font-family: Verdana, Sans-Serif;
    color: #ffffff;
    font-size: 14px;
    font-weight: bold;
}

th.thHead {
    background-color: #3a7bd5; 
    color: #ffffff;
}

td.row3Right, td.spaceRow {
    background-color: #f0f8ff; 
    border: 1px solid #d0e0ff; 
    border-style: solid;
}

td.spaceRow {
    background-color: #f8faff;
}

/* Границы таблиц */
th.thHead, td.catHead { 
    border-width: 1px 1px 0px 1px; 
}
th.thSides, td.catSides, td.spaceRow { 
    border-width: 0px 1px 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; 
}

.maintitle, h1, h2 {
    font-weight: bold; 
    font-size: 22px; 
    font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
    text-decoration: none; 
    line-height: 120%; 
    color: #3a7bd5;
}

.gen { 
    font-size: 14px; 
}
.genmed { 
    font-size: 13px; 
}
.gensmall { 
    font-size: 12px; 
}
.gen, .genmed, .gensmall { 
    color: #333333; 
}
a.gen, a.genmed, a.gensmall { 
    color: #3a7bd5; 
    text-decoration: none; 
}
a.gen:hover, a.genmed:hover, a.gensmall:hover { 
    color: #ff6b6b; 
    text-decoration: underline; 
}

.mainmenu { 
    font-size: 13px; 
    color: #333333;
}
a.mainmenu { 
    text-decoration: none; 
    color: #3a7bd5;  
}
a.mainmenu:hover { 
    text-decoration: underline; 
    color: #ff6b6b; 
}

.cattitle { 
    font-weight: bold; 
    font-size: 14px; 
    letter-spacing: 1px; 
    color: #3a7bd5; 
}
a.cattitle { 
    text-decoration: none; 
    color: #3a7bd5; 
}
a.cattitle:hover { 
    text-decoration: underline; 
    color: #ff6b6b;
}

.forumlink { 
    font-weight: bold; 
    font-size: 14px; 
    color: #3a7bd5; 
}
a.forumlink { 
    text-decoration: none; 
    color: #3a7bd5; 
}
a.forumlink:hover { 
    text-decoration: underline; 
    color: #ff6b6b; 
}

.nav { 
    font-weight: bold; 
    font-size: 13px; 
    color: #3a7bd5;
}
a.nav { 
    text-decoration: none; 
    color: #3a7bd5; 
}
a.nav:hover { 
    text-decoration: underline; 
    color: #ff6b6b;
}

.topictitle { 
    font-weight: bold; 
    font-size: 13px; 
    color: #333333; 
}
a.topictitle:link { 
    text-decoration: none; 
    color: #3a7bd5; 
}
a.topictitle:visited { 
    text-decoration: none; 
    color: #2a5ba5; 
}
a.topictitle:hover { 
    text-decoration: underline; 
    color: #ff6b6b; 
}

.name { 
    font-size: 13px; 
    color: #333333;
}
.postdetails { 
    font-size: 12px; 
    color: #666666; 
}

.postbody { 
    font-size: 14px;
    line-height: 1.5;
}
a.postlink:link { 
    text-decoration: none; 
    color: #3a7bd5;
}
a.postlink:visited { 
    text-decoration: none; 
    color: #2a5ba5; 
}
a.postlink:hover { 
    text-decoration: underline; 
    color: #ff6b6b;
}

.code {
    font-family: Courier, 'Courier New', sans-serif; 
    font-size: 13px; 
    color: #333333;
    background-color: #f8faff; 
    border: 1px solid #d0e0ff; 
    border-style: solid;
    padding: 10px;
    border-radius: 4px;
}

.quote {
    font-family: Verdana, Arial, Helvetica, sans-serif; 
    font-size: 13px; 
    color: #333333; 
    line-height: 125%;
    background-color: #f8faff; 
    border: 1px solid #d0e0ff; 
    border-style: solid;
    padding: 10px;
    border-radius: 4px;
    border-left: 4px solid #3a7bd5;
}

.copyright { 
    font-size: 12px; 
    font-family: Verdana, Arial, Helvetica, sans-serif; 
    color: #666666; 
    letter-spacing: -1px;
}
a.copyright { 
    color: #3a7bd5; 
    text-decoration: none;
}
a.copyright:hover { 
    color: #ff6b6b; 
    text-decoration: underline; 
}

input.button, input.post, textarea.post, input, textarea, select {
    color: #333333; 
    font: normal 13px Verdana, Arial, Helvetica, sans-serif;
    text-decoration: none; 
    border-style: solid; 
    border-width: 1px; 
    border-color: #d0e0ff;
    background-color: #ffffff;
    padding: 6px;
    border-radius: 3px;
}

input { 
    text-indent: 2px; 
}

input.liteoption, input.mainoption {
    background-color: #3a7bd5; 
    color: #ffffff;     
    font-weight: bold;
    font-size: 13px; 
    font-family: Verdana, Arial, Helvetica, sans-serif;
    border: 1px solid #2a5ba5;
    padding: 8px 16px;
    cursor: pointer;
}

input.liteoption:hover, input.mainoption:hover {
    background-color: #00d2ff;
    border-color: #3a7bd5;
}

.helpline {
    background-color: #f8faff; 
    border: 1px solid #d0e0ff;
    color: #333333;
}

TABLE { 
    border-color: #d0e0ff; 
}

/* СТИЛИ для скрипта форума WR-Forum Professional версии 2.2 с 2019 года */

/* 1) ИЗМЕНЕНИЕ ИМЕЮЩИХСЯ СТИЛЕЙ */
.pgbutt a {
    font-family: Verdana; 
    padding-top: 4px;
    padding-bottom: 4px;
    text-decoration: none; 
    border: 1px solid #d0e0ff; 
    background: #ffffff; 
    padding: 6px 12px; 
    margin: 2px;
    color: #3a7bd5;
    -moz-border-radius: 4px;
    -khtml-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    font-weight: bold;
}

.pgbutt a:hover {
    background: linear-gradient(90deg, #3a7bd5 0%, #00d2ff 100%);
    color: #ffffff;
    border-color: #2a5ba5;
}

TD {
    font-size: 13px;
}

/* 2) QR-CODE */
#qr img {
    width: 35px;
    height: 35px;
    position: fixed;
    right: 10px;
    top: 10px;
    border: 1px solid #3a7bd5;
    padding: 2px;
    background-color: #ffffff;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(58, 123, 213, 0.2);
}

#qr img:hover {
    width: 200px;
    height: 200px;
    z-index: 100;
    padding: 4px;
    border-color: #00d2ff;
}

/* 3) Если нет аватара добавляем аватар с первой буквой логина */
.guestavatar {
    width: 120px;
    height: 120px;
    text-align: center;
    background: linear-gradient(135deg, #3a7bd5 0%, #00d2ff 100%);
    color: #ffffff;
    font-size: 50px;
    display: table-cell;
    border-radius: 50%;
    position: relative;
    vertical-align: middle;
    font-weight: bold;
    border: 3px solid #ff6b6b;
}

/* 4) навигационное МЕНЮ В АДМИНКЕ */
#nav8, #nav8 ul, #nav8 li {
    margin: 0;
    padding: 0;
    border: 0;
}
#nav8, #nav8 ul {
    background: #ffffff;
    border: 1px solid #d0e0ff;
}
#nav8 {
    border-spacing: 0 0;
    position: relative;
    z-index: 50;
    width: 100%;
}
#nav8 ul {
    position: absolute;
    display: none;
    background: #ffffff;
    border: 1px solid #d0e0ff;
    box-shadow: 0 4px 8px rgba(58, 123, 213, 0.1);
}
#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 15px;
    text-align: center;
    text-decoration: none;
    color: #3a7bd5;
    font-weight: bold;
}
#nav8 ul a {
    padding: 8px 20px;
    text-align: left;
    white-space: nowrap;
}
#nav8 td:hover, #nav8 li:hover {
    background: #f0f8ff;
}
#nav8 td {
    text-align: center;
    border-right: 1px solid #f0f8ff;
}
#nav8 td:last-child {
    border-right: none;
}

/* 5) Стиль для блока загрузки */
#cssbar-wrapper {
    width: 300px;
    height: 19px;
    position: absolute;
    left: 50%;
}
#cssbar-border {
    border: 3px solid rgba(58, 123, 213, 0.2);
    height: 100%;
    width: 100%;
    position: relative;
    left: -50%;
    top: -50%;
    padding: 4px 3px;
    border-radius: 10px;
    background: #ffffff;
}
#cssbar-whitespace {
    overflow: hidden;
    height: 100%;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    border-radius: 5px;
    background: #f0f8ff;
}
#cssbar-line {
    background: linear-gradient(90deg, transparent 0%, #3a7bd5 50%, #00d2ff 100%);
    position: absolute;
    height: 100%;
    width: 100%;
    animation: cssbar-slide 2s linear infinite;
    -o-animation: cssbar-slide 2s linear infinite;
    -ms-animation: cssbar-slide 2s linear infinite;
    -webkit-animation: cssbar-slide 2s linear infinite;
    -moz-animation: cssbar-slide 2s linear 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%; } 
}

/* Дополнительные велосипедные стили */
.bike-icon {
    color: #3a7bd5;
    font-weight: bold;
}

.route-distance {
    background: #f0f8ff;
    border: 2px solid #3a7bd5;
    border-radius: 4px;
    padding: 4px 8px;
    color: #3a7bd5;
    font-weight: bold;
}

.elevation-gain {
    background: linear-gradient(90deg, #3a7bd5 0%, #00d2ff 100%);
    color: #ffffff;
    border-radius: 4px;
    padding: 4px 8px;
    font-weight: bold;
}

.tech-spec {
    font-family: 'Courier New', monospace;
    background: #f8faff;
    border: 1px dashed #d0e0ff;
    padding: 6px;
    border-radius: 3px;
    color: #333333;
}

.trail-rating {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
    color: #ffffff;
    font-weight: bold;
    font-size: 12px;
}

.trail-easy {
    background: #4CAF50;
}

.trail-medium {
    background: #FF9800;
}

.trail-hard {
    background: #F44336;
}

.bike-type {
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: bold;
}

.road-bike {
    background: #3a7bd5;
    color: #ffffff;
}

.mountain-bike {
    background: #4CAF50;
    color: #ffffff;
}

.hybrid-bike {
    background: #FF9800;
    color: #ffffff;
}

.maintenance-note {
    background: #FFF3E0;
    border-left: 4px solid #FF9800;
    padding: 10px;
    margin: 10px 0;
    border-radius: 3px;
}

.safety-warning {
    background: #FFEBEE;
    border: 2px solid #F44336;
    border-radius: 5px;
    padding: 10px;
    margin: 10px 0;
    color: #D32F2F;
    font-weight: bold;
}

/* Градиенты для велосипедной тематики */
.gradient-blue {
    background: linear-gradient(90deg, #3a7bd5 0%, #00d2ff 100%);
    color: #ffffff;
}

.gradient-orange {
    background: linear-gradient(90deg, #FF6B6B 0%, #FFA726 100%);
    color: #ffffff;
}

/* Спиннер для загрузки (как вращающееся колесо) */
.spinning-wheel {
    width: 40px;
    height: 40px;
    border: 4px solid #f0f8ff;
    border-top: 4px solid #3a7bd5;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


.forum-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    background: #f5f5f5;
}

.logo-block {
    display: flex;
    align-items: center;
    gap: 15px; /* расстояние между картинкой и текстом */
}

.logo-img {
    height: 60px; /* можно подогнать под дизайн */
    width: auto;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.maintitle {
    margin: 0;
    font-size: 1.5rem;
}

.description {
    margin: 0;
    font-size: 0.9rem;
    color: #555;
}

.main-nav ul {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
    display: flex;
    gap: 20px;
}
