/*
Theme Name: СИБДЕТАЛЬ
Theme URI: https://sibdetal.com
Author: Ваше имя
Description: Точная копия старого сайта СИБДЕТАЛЬ
Version: 1.0
*/

/* ===== ОРИГИНАЛЬНЫЕ СТИЛИ ===== */

#block_kol_detal {
    position: absolute;
    width: 200px;
    height: 100px;
    border: 1px solid gray;
    background: white;
    display: none;
    padding: 20px 20px 20px 20px;
    text-align: center;
}

BODY {
    font-weight: normal;
    font-size: 14pt;
    margin: 0;
    color: #000000;
    font-family: Times New Roman, Arial, Academy, Tahoma, Verdana, helvetica, geneva;
    background: #c8c7b5;
}

.pagetitle {
    font-family: Times New Roman, Arial, Academy, Tahoma, Verdana, helvetica, geneva;
    font-size: 14px;
    color: #000000;
    font-weight: bold;
}

.title {
    font-weight: bold;
    font-size: 14pt;
    color: #000000;
    font-family: Times New Roman, Arial, Academy, Tahoma, Verdana, helvetica, geneva;
}

.content {
    font-weight: normal;
    font-size: 13pt;
    color: #000000;
    font-family: Times New Roman, Arial, Academy, Tahoma, Verdana, helvetica, geneva;
}

a.price {
    font-weight: normal;
    font-size: 24pt;
    color: #FFFFFF;
    font-family: Times New Roman, Arial, Academy, Tahoma, Verdana, helvetica, geneva;
    text-decoration: underline;
}

a.price:visited {
    color: #FFFFFF;
}

a.price:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

a.price_format {
    font-weight: bold;
    font-size: 14pt;
    color: #3EADD8;
    font-family: Times New Roman, Arial, Academy, Tahoma, Verdana, helvetica, geneva;
    text-decoration: underline;
}

A {
    font-family: Times New Roman, Arial, Academy, Tahoma, Verdana, helvetica, geneva;
    font-size: 14px;
    color: #000000;
    text-decoration: none;
}

A:hover {
    color: #000000;
    text-decoration: underline;
}

a.menu_link {
    font-family: Times New Roman, Arial, Academy, Tahoma, Verdana, helvetica, geneva;
    font-size: 14px;
    color: #000000;
    font-weight: bold;
    text-decoration: none;
}

a.menu_link:hover {
    text-decoration: underline;
}

a.menu_link_tek {
    font-family: Times New Roman, Arial, Academy, Tahoma, Verdana, helvetica, geneva;
    font-size: 14px;
    color: #000000;
    font-weight: bold;
    text-decoration: underline;
}

a.menu_link_sel {
    font-family: Times New Roman, Arial, Academy, Tahoma, Verdana, helvetica, geneva;
    font-size: 14px;
    color: #FFFFFF;
    font-weight: bold;
    text-decoration: none;
}

a.menu_link_sel:hover {
    text-decoration: underline;
}

.form_button {
    display: block;
    background: #CCC;
    border: 1px solid #000000;
    height: 30px;
    text-align: center;
    text-decoration: none;
}

.table_style {
    border: #c8c7b5 1px solid;
    margin: 0px;
}

.table_style TD {
    border: #c8c7b5 1px solid;
    font-size: 10pt;
    font-family: Tahoma, Verdana, helvetica, geneva;
    padding: 5px;
    color: #000000;
    margin: 0px;
}

/* ===== КАТАЛОГ ===== */
.catalog-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 26px;
}

.catalog-table td,
.catalog-table th {
    padding: 8px 10px;
    border: 1px solid #c8c7b5;
    vertical-align: middle;
}

.catalog-table tr:nth-child(even) {
    background: #f9f9f9;
}

.catalog-table tr:hover {
    background: #f0f0f0;
}

.catalog-table img {
    max-width: 50px;
    height: auto;
    cursor: pointer;
}

.catalog-pagination {
    margin-top: 20px;
    text-align: center;
    font-size: 24px;
    padding: 10px 0;
}

.catalog-pagination a,
.catalog-pagination span {
    display: inline-block;
    padding: 5px 12px;
    margin: 0 3px;
    border: 1px solid #c8c7b5;
    border-radius: 3px;
    text-decoration: none;
    color: #000;
    background: #fff;
}

.catalog-pagination a:hover {
    background: #0161A2;
    color: #fff;
    border-color: #0161A2;
}

.catalog-pagination .current {
    background: #0161A2;
    color: #fff;
    border-color: #0161A2;
    font-weight: bold;
}

/* ===== УВЕЛИЧИВАЕМ ТЕКСТ В КРАСНЫХ КНОПКАХ ===== */
.price b {
    font-size: inherit !important;
}

/* ===== ИСПРАВЛЕНИЕ ШАПКИ: УБИРАЕМ СЕРЫЕ УГЛЫ, НО ОСТАВЛЯЕМ ЗАКРУГЛЕНИЕ ===== */
#header {
    /* Убираем круглые углы у самой внутренней ячейки с картинкой */
    border-radius: 0 !important;
    overflow: hidden !important;
}
#header table,
#header table td {
    border-radius: 0 !important;
}
#header img {
    border-radius: 0 !important;
}