﻿/* ==========================================================
   ZAZ FAN CLUB - RETRO GARAGE
   WR-Forum Professional 2.2 / phpBB2
   Нова тема: Ukrainian Auto Club
   ========================================================== */


/* ==========================================================
   1. ОСНОВНІ НАЛАШТУВАННЯ
   ========================================================== */

BODY {
    margin: 0;
    padding: 0;
    font: 14px Arial, Helvetica, sans-serif;
    color: #303943;
    background-color: #e9e8e2;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='300' viewBox='0 0 420 300'%3E%3Cg fill='none' stroke='%232c3945' stroke-opacity='.055' stroke-width='2'%3E%3Ccircle cx='350' cy='65' r='43'/%3E%3Ccircle cx='350' cy='65' r='30'/%3E%3Ccircle cx='350' cy='65' r='12'/%3E%3Cpath d='M0 240 L110 130 L190 130 L260 240 M0 265 L120 145 M260 240 L330 150 L420 150 M30 30 L130 30 L160 60 L240 60'/%3E%3Cpath d='M25 180 L65 180 L85 150 L180 150 L210 180 L235 180 L245 205 L20 205 Z'/%3E%3Ccircle cx='70' cy='205' r='13'/%3E%3Ccircle cx='205' cy='205' r='13'/%3E%3C/g%3E%3C/svg%3E");
    background-repeat: repeat;
    scrollbar-face-color: #344451;
    scrollbar-highlight-color: #536574;
    scrollbar-shadow-color: #202b35;
    scrollbar-3dlight-color: #536574;
    scrollbar-arrow-color: #e7a04b;
    scrollbar-track-color: #dcdcd6;
    scrollbar-darkshadow-color: #202b35;
}

FONT, TH, TD, P {
    font-family: Arial, Helvetica, sans-serif;
}

TD {
    font-size: 13px;
}

P {
    line-height: 1.6;
    margin: 12px 15px;
}


/* ==========================================================
   2. ССЫЛКИ
   ========================================================== */

A:link {
    color: #b45e2d;
    text-decoration: none;
}

A:active {
    color: #d17a3d;
}

A:visited {
    color: #946044;
}

A:hover {
    color: #e08a42;
    text-decoration: underline;
}


/* ==========================================================
   3. ОСНОВНІ КОНТЕЙНЕРИ
   ========================================================== */

.bodyline {
    border: 1px solid #d4d0c5;
    background-color: #f7f6f1;
    box-shadow: 0 3px 18px rgba(25,35,43,0.10);
}

.forumline {
    border: 1px solid #d5d0c5;
    background-color: #f7f6f1;
    border-spacing: 0;
}

HR {
    border: 0;
    border-top: 1px solid #d7d2c8;
    height: 0;
}


/* ==========================================================
   4. РЯДКИ ТАБЛИЦЬ
   ========================================================== */

TD.row1 {
    background-color: #fbfaf6;
    padding: 8px;
}

TD.row2 {
    background-color: #eeece5;
    padding: 8px;
}

TD.row3 {
    background-color: #e3e0d7;
    padding: 8px;
}

TD.rowpic {
    background-color: #e8e5dc;
    background-image: none;
}

TD.row3Right {
    background-color: #e5e2d9;
    border: 1px solid #d1ccc0;
}

TD.spaceRow {
    background-color: #e8e5dc;
    border: 1px solid #d1ccc0;
}

TD.row1, TD.row2, TD.row3, TD.row3Right {
    border-bottom: 1px solid #dedbd2;
}


/* ==========================================================
   5. ЗАГОЛОВКИ ТАБЛИЦЬ
   ========================================================== */

TH {
    font-size: 13px;
    font-weight: bold;
    color: #fff8ed;
    height: 32px;
    padding: 6px 9px;
    background-color: #344451;
    background-image: linear-gradient(to bottom, #435766, #293844);
    border: 1px solid #26343f;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

TH.thHead,
TH.thSides,
TH.thTop,
TH.thLeft,
TH.thRight,
TH.thBottom,
TH.thCornerL,
TH.thCornerR {
    font-weight: bold;
    color: #fff8ed;
    background-color: #344451;
    border: 1px solid #53616b;
    height: 30px;
}

TH.thHead {
    border-top-width: 2px;
    border-bottom: 2px solid #d17a3d;
}

TH.thSides {
    border-left-width: 1px;
    border-right-width: 1px;
}

TH.thTop {
    border-top-width: 2px;
    border-bottom-width: 0;
}

TH.thLeft {
    border-left-width: 2px;
    border-right-width: 0;
}

TH.thRight {
    border-right-width: 2px;
    border-left-width: 0;
}

TH.thBottom {
    border-bottom-width: 2px;
}

TH.thCornerL {
    border-top-width: 2px;
    border-left-width: 2px;
}

TH.thCornerR {
    border-top-width: 2px;
    border-right-width: 2px;
}


/* ==========================================================
   6. КАТЕГОРІЇ ФОРУМУ
   ========================================================== */

TD.cat,
TD.catHead,
TD.catSides,
TD.catLeft,
TD.catRight,
TD.catBottom {
    height: 34px;
    padding: 5px 10px;
    color: #fff7e9;
    background-color: #b76536;
    background-image: linear-gradient(to bottom, #c87947, #a8522c);
    border: 0;
    border-bottom: 2px solid #8d4326;
}

TD.cat {
    border-top: 0;
}

TD.catHead {
    border-top: 2px solid #d28b5a;
    font-size: 14px;
}

TD.catBottom {
    border-bottom: 2px solid #8d4326;
}

TD.catSides {
    border-left: 1px solid #a95b34;
    border-right: 1px solid #a95b34;
}

TD.catLeft {
    border-left: 1px solid #a95b34;
}

TD.catRight {
    border-right: 1px solid #a95b34;
}


/* ==========================================================
   7. ГОЛОВНИЙ ЗАГОЛОВОК
   ========================================================== */

.maintitle {
    font-family: "Trebuchet MS", Arial, sans-serif;
    font-size: 26px;
    font-weight: bold;
    color: #344451;
    line-height: 130%;
    text-decoration: none;
    letter-spacing: 0.5px;
}

.maintitle a {
    color: #344451;
    text-decoration: none;
}

.maintitle a:hover {
    color: #b76536;
}


/* ==========================================================
   8. ОСНОВНІ ТЕКСТИ
   ========================================================== */

.gen {
    font-size: 14px;
    color: #39434b;
}

.genmed {
    font-size: 13px;
    color: #46515a;
}

.gensmall {
    font-size: 11px;
    color: #777a78;
}

A.gen, A.genmed, A.gensmall {
    color: #ad5c32;
    text-decoration: none;
}

A.gen:hover, A.genmed:hover, A.gensmall:hover {
    color: #e08a42;
    text-decoration: underline;
}


/* ==========================================================
   9. НАВІГАЦІЯ
   ========================================================== */

.mainmenu {
    font-size: 13px;
    font-weight: bold;
    color: #b76536;
}

A.mainmenu {
    color: #b76536;
    text-decoration: none;
}

A.mainmenu:hover {
    color: #e08a42;
    text-decoration: underline;
}

.nav {
    font-size: 13px;
    font-weight: bold;
    color: #344451;
}

A.nav {
    color: #a9562d;
    text-decoration: none;
}

A.nav:hover {
    color: #e08a42;
    text-decoration: underline;
}


/* ==========================================================
   10. НАЗВИ КАТЕГОРІЙ ТА ФОРУМІВ
   ========================================================== */

.cattitle {
    font-size: 14px;
    font-weight: bold;
    color: #fff8ed;
    letter-spacing: 0.5px;
}

A.cattitle {
    color: #fff8ed;
    text-decoration: none;
}

A.cattitle:hover {
    color: #ffe0a9;
    text-decoration: underline;
}

.forumlink {
    font-size: 14px;
    font-weight: bold;
    color: #a9562d;
}

A.forumlink {
    color: #a9562d;
    text-decoration: none;
}

A.forumlink:hover {
    color: #e08a42;
    text-decoration: underline;
}


/* ==========================================================
   11. ТЕМИ
   ========================================================== */

.topictitle {
    font-size: 14px;
    font-weight: bold;
    color: #344451;
}

H1 {
    font-size: 20px;
    font-weight: bold;
    color: #344451;
}

H2 {
    font-size: 17px;
    font-weight: bold;
    color: #a9562d;
}

A.topictitle:link {
    color: #344451;
    text-decoration: none;
}

A.topictitle:visited {
    color: #77695f;
    text-decoration: none;
}

A.topictitle:hover {
    color: #c56b37;
    text-decoration: underline;
}


/* ==========================================================
   12. ПОВІДОМЛЕННЯ
   ========================================================== */

.name {
    font-size: 13px;
    font-weight: bold;
    color: #344451;
}

.postdetails {
    font-size: 11px;
    color: #81817c;
}

.postbody {
    font-size: 14px;
    color: #303943;
    line-height: 1.65;
}

A.postlink:link {
    color: #ae5b32;
    text-decoration: underline;
}

A.postlink:visited {
    color: #946044;
    text-decoration: none;
}

A.postlink:hover {
    color: #e08a42;
    text-decoration: underline;
}


/* ==========================================================
   13. ЦИТАТИ ТА КОД
   ========================================================== */

.quote {
    padding: 10px 13px;
    margin: 8px 0;
    border: 1px solid #d8cfc0;
    border-left: 4px solid #c27543;
    color: #53514d;
    font-size: 13px;
    line-height: 1.5;
    font-family: Arial, Helvetica, sans-serif;
    background-color: #efede6;
}

.code {
    padding: 10px 13px;
    margin: 8px 0;
    border: 1px solid #c9d0d3;
    border-left: 4px solid #526a7b;
    color: #395b43;
    font-size: 13px;
    font-family: Consolas, "Courier New", monospace;
    background-color: #e9ece9;
    overflow: auto;
}


/* ==========================================================
   14. АВТОРИ ТА КОПІРАЙТ
   ========================================================== */

.copyright {
    font-size: 11px;
    color: #777a78;
    font-family: Arial, Helvetica, sans-serif;
    letter-spacing: 0;
}

A.copyright {
    color: #777a78;
    text-decoration: none;
}

A.copyright:hover {
    color: #b76536;
    text-decoration: underline;
}


/* ==========================================================
   15. ПОЛЯ ВВЕДЕННЯ
   ========================================================== */

INPUT, TEXTAREA, SELECT {
    border: 1px solid #c8c5bb;
    border-radius: 3px;
    padding: 5px;
    font: 13px Arial, Helvetica, sans-serif;
    color: #344451;
    background-color: #fffefa;
}

INPUT {
    text-indent: 2px;
}

INPUT.post, TEXTAREA.post {
    background-color: #fffefa;
    border: 1px solid #c9c5ba;
}

TEXTAREA.post {
    line-height: 1.5;
}

SELECT {
    background-color: #fffefa;
}

INPUT:focus, TEXTAREA:focus, SELECT:focus {
    border-color: #c27543;
    outline: none;
}

INPUT.button {
    padding: 6px 13px;
    font-size: 13px;
    font-weight: bold;
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    background-color: #344451;
    border: 1px solid #26343f;
    border-radius: 3px;
    cursor: pointer;
}

INPUT.button:hover {
    background-color: #b76536;
    border-color: #914b2b;
}

INPUT.mainoption {
    font-weight: bold;
    color: #ffffff;
    background-color: #b76536;
    border: 1px solid #914b2b;
    cursor: pointer;
}

INPUT.liteoption {
    font-weight: normal;
    background-color: #e8e6df;
    cursor: pointer;
}

.helpline {
    background-color: #eeece5;
    border: 1px solid #d9d5ca;
    padding: 5px;
}


/* ==========================================================
   16. ПАГІНАЦІЯ
   ========================================================== */

.pgbutt a {
    display: inline-block;
    font-family: Arial, sans-serif;
    font-size: 12px;
    font-weight: bold;
    padding: 4px 7px;
    margin: 2px;
    color: #344451;
    text-decoration: none;
    border: 1px solid #c9c5ba;
    background: #f3f1e9;
    border-radius: 3px;
}

.pgbutt a:hover {
    color: #ffffff;
    background: #b76536;
    border-color: #914b2b;
    text-decoration: none;
}


/* ==========================================================
   17. ФОРМИ ТА ЕЛЕМЕНТИ ІНТЕРФЕЙСУ
   ========================================================== */

form {
    display: inline;
    margin: 2px;
    padding: 0;
    border: 0;
}

input, textarea, input.liteoption, .fakebut {
    font-size: 13px;
}


/* ==========================================================
   18. QR-CODE
   ========================================================== */

#qr img {
    width: 35px;
    height: 35px;
    position: fixed;
    right: 10px;
    top: 10px;
    border: 1px solid #a9a69d;
    padding: 2px;
    background-color: white;
    border-radius: 4px;
    z-index: 100;
}

#qr img:hover {
    width: 200px;
    height: 200px;
    z-index: 1000;
    padding: 3px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.25);
}


/* ==========================================================
   19. АВАТАРИ
   ========================================================== */

.guestavatar {
    width: 120px;
    height: 120px;
    text-align: center;
    background: #344451;
    color: #f2b36f;
    font-size: 50px;
    display: table-cell;
    border-radius: 12px;
    position: relative;
    vertical-align: middle;
    border: 3px solid #c27543;
}


/* ==========================================================
   20. АДМІНІСТРАТИВНЕ МЕНЮ
   ========================================================== */

#nav8, #nav8 ul, #nav8 li {
    margin: 0;
    padding: 0;
    border: 0;
}

#nav8, #nav8 ul {
    background: #344451;
}

#nav8 {
    border-spacing: 0;
    position: relative;
    z-index: 50;
    width: 100%;
}

#nav8 ul {
    position: absolute;
    display: none;
    min-width: 160px;
    border: 1px solid #53616b;
    box-shadow: 0 5px 12px rgba(0,0,0,0.2);
}

#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: #f4eee4;
}

#nav8 ul a {
    padding: 9px 15px;
    text-align: left;
}

#nav8 td:hover, #nav8 li:hover {
    background: #b76536;
}

#nav8 td {
    text-align: center;
}


/* ==========================================================
   21. ІНДИКАТОР ЗАВАНТАЖЕННЯ
   ========================================================== */

#cssbar-wrapper {
    width: 300px;
    height: 19px;
    position: absolute;
    left: 50%;
}

#cssbar-border {
    border: 3px solid #344451;
    height: 100%;
    width: 100%;
    position: relative;
    left: -50%;
    top: -50%;
    padding: 4px 3px;
}

#cssbar-whitespace {
    overflow: hidden;
    height: 100%;
    width: 100%;
    margin: 0 auto;
    position: relative;
}

#cssbar-line {
    background-color: #c27543;
    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%;}
}

@-webkit-keyframes cssbar-slide {
    0% {left: -100%;}
    100% {left: 100%;}
}

@-moz-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%;}
}


/* ==========================================================
   22. ДОДАТКОВІ ДЕТАЛІ ОФОРМЛЕННЯ
   ========================================================== */

/* Плавне наведення на рядки форуму */

TD.row1, TD.row2, TD.row3 {
    transition: background-color 0.2s;
}

TD.row1:hover {
    background-color: #f2eee4;
}

TD.row2:hover {
    background-color: #e8e4d9;
}

/* Зображення */

IMG {
    max-width: 100%;
}

/* Розділювачі */

HR {
    margin-top: 10px;
    margin-bottom: 10px;
}

/* Виділення тексту */

::selection {
    background: #c27543;
    color: #ffffff;
}

/* Смуги прокручування для WebKit */

::-webkit-scrollbar {
    width: 11px;
    height: 11px;
}

::-webkit-scrollbar-track {
    background: #deddd6;
}

::-webkit-scrollbar-thumb {
    background: #52616d;
    border: 2px solid #deddd6;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #b76536;
}


/* ==========================================================
   23. МОБІЛЬНА АДАПТАЦІЯ
   ========================================================== */

@media screen and (max-width: 700px) {

    BODY {
        font-size: 13px;
    }

    TD {
        font-size: 12px;
    }

    .maintitle {
        font-size: 20px;
    }

    .postbody {
        font-size: 13px;
    }

    .forumline {
        width: 100%;
    }

    INPUT, TEXTAREA, SELECT {
        max-width: 100%;
        box-sizing: border-box;
    }

    #qr img {
        width: 28px;
        height: 28px;
        right: 5px;
        top: 5px;
    }

    .guestavatar {
        width: 70px;
        height: 70px;
        font-size: 30px;
    }

}