/*******************************************************************************
 *                                                                             *
 *   Мост Безопасности // Основной стиль для экрана                            *
 *   ----------------------------------------------------------------------    *
 *   Copyright (C) 1998-2018 Studio "Cherry-Design"                            *
 *   URL: http://www.cherry-design.ru/                                         *
 *   E-mail: mike@cherry-design.ru                                             *
 *                                                                             *
 *******************************************************************************/

/* Базовые стили
-------------------------------------------------------------------------------*/

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

body {
    font-family: Helvetica, Arial, Tahoma, sans-serif;
    font-size: 16px;
    font-weight: 300;
    background: #ffffff;
}

h1, h2, h3, h4, h5 {
    margin: 0; 
}

header, section, article, aside, footer, nav {
  display: block;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}

a {
    color: #bf1617;
}

.error {
    color: #bf1617;
}

p.section_title {
    margin: 30px 0 20px 0;
    padding: 0 0 0 0;
    font-size: 1.5em;
    font-weight: 100;
    font-family: "Roboto Condensed";
    color: #2f3648;
}

label.mce-charactercount {
    margin: 2px 0 2px 2px;
    padding: 8px;
    color: red;
}

/* Контейнер
-------------------------------------------------------------------------------*/

.container {
    width: 100%;
    background: #27484b url("/pic/background.png") top center no-repeat;
}

/* Основное содержание
-------------------------------------------------------------------------------*/

main {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* Заголовок сайта
-------------------------------------------------------------------------------*/

.header {
    width: 100%;
}

.header_inner {
    display: flex;
    flex-wrap: wrap;
}

/* Заголовок сайта (логотип)
-------------------------------------------------------------------------------*/

.header_title {
    width: 250px;
}

.header_title p {
    margin: 0;
    padding: 20px 0 20px 10px;
}

.header_title p a,
.header_title p span {
    display: block;
    width: 250px;
    height: 41px;
    background: transparent url("/pic/logo_small.png") left center no-repeat;
}

.header_title p a span,
.header_title p span span {
    display: none;
}

/* Кнопки основного меню
-------------------------------------------------------------------------------*/

.header_menu_buttons {
    width: calc(100% - 250px);
    text-align: right;
    display: block;
}

.header_menu_buttons ul {
    list-style: none;
    padding: 32px 10px 0 0;
    margin: 0;
}

.header_menu_buttons ul li {
    display: inline-block;
    margin: 0 0 10px 12px;
}

.header_menu_buttons ul li a span {
    display: none;
}

.header_menu_buttons ul li:first-child {
    display: none;
}

/* Меню пользователя
-------------------------------------------------------------------------------*/

.header_user_menu {
    width: 100%;
    border-top: #bf1617 2px solid;
}

.header_user_menu ul {
    list-style: none;
    padding: 10px 0;
    margin: 0 10px;
    color: #ffffff;
}

.header_user_menu ul li {
    display: inline-block;
    text-align: center;
    width: calc((100% - 14px) / 2);
    padding: 3px 0;
    margin: 0 8px 0 0;
    line-height: 24px;
}

.header_user_menu ul li a {
    color: #ffffff;
}

.header_user_menu ul li:last-child {
    margin-right: 0;
}

.header_user_menu ul li.loginout {
    border: 1px #ffffff solid;
    border-radius: 6px;
    min-width: 60px;
}

.header_user_menu ul li.signin {
    min-width: 110px;
    border-radius: 6px;
    font-weight: 600;
    background-color: #bf1617;
}

.header_user_menu ul li.loginout a,
.header_user_menu ul li.signin a {
    display: block;
    text-decoration: none;
}

.header_user_menu ul li.authorized {
    min-width: 86px;
    border-radius: 6px;
    font-weight: 600;
    background-color: #bf1617;
}

.header_user_menu ul li.authorized a {
    display: block;
    text-decoration: none;
}

.header_user_menu ul li.authorized span {
    display: none;
}

/* Кнопки основного меню (иконки)
-------------------------------------------------------------------------------*/

.icons_menu_main,
.icons_menu_user {
    display: block;
    width: 28px;
    height: 28px;
    background: transparent url("/pic/icons_menu.png") no-repeat;
}

.icons_menu_main  { background-position:  0   0; }
.icons_menu_user  { background-position: -28px  0; }

/* Основное меню
-------------------------------------------------------------------------------*/

.main_menu {
    width: 100%;
    background-color: rgba(0,0,0,0.7);
}

.main_menu_inner {
    width: 100%;
    display: none;
}

.main_menu_inner ul {
    list-style: none;
    padding: 10px 0;
    margin: 0 10px;
}

.main_menu_inner ul li {
    text-align: left;
    line-height: 24px;
    padding: 0;
    margin: 2px 0;
}

.main_menu_inner ul li.selected {
    background-color: #bf1617;
    color: #ffffff;
}

.main_menu_inner ul li a {
    display: block;
    padding: 10px 8px;
    color: #ffffff;
    text-decoration: none;
}

.main_menu_inner ul li a:hover {
    background-color: #333333;
    color: #ffffff;
}

.main_menu_inner ul li.selected a {
    color: #ffffff;
}

/* Меню второго уровня
-------------------------------------------------------------------------------*/

.content_menu {
    width: 100%;
    margin: 0;
}

.content_menu ul {
    list-style: none;
    padding: 0;
    font-size: 1em;
}

.content_menu ul li {
    text-align: left;
    padding: 1px 0;
    margin: 0;
}

.content_menu ul li a {
    display: block;
    padding: 10px 9px;
    color: #000000;
    text-decoration: none;
}

.content_menu ul li a:hover {
    background: #f0f0f0;
}

.content_menu ul li.selected a {
    color: #ffffff;
    background: #bf1617;
}

/* Кнопка показа левой колонки
-------------------------------------------------------------------------------*/

.content_column_button {
    width: 100%;
    text-align: center;
    display: block;
}

.content_column_button p {
    margin: 0;
    padding: 0;
}

.content_column_button p a {
    display: block;
    width: 100%;
    height: 50px;
    margin: 0;
    padding: 0;
    background: transparent url("/pic/arrow_content.png") center center no-repeat;
    text-decoration: none;
    color: #333333;
}

.content_column_button p a span {
    display: none;
}

/* Колонка с основным содержимым
-------------------------------------------------------------------------------*/

.content {
    width: 100%;
    background-color: #ffffff;
}

.content_inner {
    width: 100%;
    padding: 20px 10px 20px 10px;
    display: flex;
    flex-wrap: wrap;
}

.content_column {
    width: 100%;
    margin: -15px 0 0 0;
    padding: 0;
    display: none;
}

.content_text {
    width: 100%;
    padding: 0 0 0 0;
}

.content_text h1 {
    margin: 0 0 30px 0;
    padding: 0 0 0 0;
    font-size: 2.2em;
    font-weight: 100;
    font-family: "Roboto Condensed";
}

.content_text h2 {
    margin: 30px 0 20px 0;
    padding: 0 0 0 0;
    font-size: 1.5em;
    font-weight: 100;
    font-family: "Roboto Condensed";
    color: #2f3648;
}

.content_text h3 {
    margin: 20px 0 10px 0;
    padding: 0 0 0 0;
    font-size: 1.3em;
    font-weight: 100;
    font-family: "Roboto Condensed";
    color: #2f3648;
}

.content_text h4 {
    margin: 20px 0 10px 0;
    padding: 0 0 0 0;
    font-size: 1.2em;
    font-weight: 100;
    font-family: "Roboto Condensed";
    color: #2f3648;
}

.content_text h5 {
    margin: 20px 0 10px 0;
    padding: 0 0 0 0;
    font-size: 1em;
    font-weight: 300;
    font-family: "Roboto Condensed";
    color: #2f3648;
}

.content_text h6 {
    margin: 20px 0 10px 0;
    padding: 0 0 0 0;
    font-size: 0.8em;
    font-weight: 600;
    font-family: "Roboto Condensed";
    color: #2f3648;
}

.content_text blockquote {
    padding: 2px 8px;
    border: #27484b 1px solid;
    border-left: #27484b 6px solid;
    margin: 18px;
}

.content_text blockquote blockquote {
    border: none;
    border-left: #27484b 6px solid;
}

.content_text .rating {
    text-decoration: none;
    font-size: 15pt;
}

.content_text pre {
    padding: 10px;
    background-color: #f0f0f0;
    overflow: auto;
    font-size: 0.9em;
}

.content_text img {
    max-width: 100%;
}

.content_text strong {
    font-weight: 600;
}
    
.content_text iframe {
    max-width: 100% !important;
}

/* Основное содержимое (кнопки)
-------------------------------------------------------------------------------*/

.button {
    display: inline-block;
    padding: 6px 20px;
    margin: 0 10px 10px 0;
    text-align: center;
    text-decoration: none;
    font-size: 1em;
    font-weight: 300;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    background-color: #27484b;
}

/* Основное содержимое (таблицы)
-------------------------------------------------------------------------------*/

.content_text .table_overflow {
    display: block;
    overflow: auto;
}

.content_text table {
    padding: 0;
    margin: 10px 0;
    border-collapse: collapse;
}

.content_text table tr:nth-of-type(2n+1) {
    background-color: #f0f0f0;
}

.content_text table th {
    padding: 3px 5px;
    font-weight: normal;
	background-color: #27484b;
    border-right: 1px #27484b solid;
	color: #ffffff;
    font-size: 0.95em;
}

.content_text table td {
    padding: 4px 5px;
    border: 1px #cccccc solid;
    vertical-align: top;
}

.content_text table td img,
.content_text table td iframe {
    max-width: 100%;
}

/* Основное содержимое (информация)
-------------------------------------------------------------------------------*/

.content_text dl.info {
    margin: 10px 0 20px 0;
    padding: 0;
    width: 100%;
}

.content_text dl.info dt {
	width: 45%;
	height: 18px;
	position: absolute;
    padding: 0;
	font-weight: 600;
	text-align: right;
}

.content_text dl.info dt:after {
    content: ":";
}

.content_text dl.info dd {
    margin: 2px 0 2px calc(45% + 20px);
    padding: 0;
}

/* Основное содержимое (список категорий форума)
-------------------------------------------------------------------------------*/

.forum_categories {
    columns: 1;
    column-gap: 2em;
    margin: 40px 0;
}

/* Таблица со списком тем форума (выравнивание и ширины ячеек таблицы)
-------------------------------------------------------------------------------*/

.forum_topics_table {
    width: 100%;
    border: 1px #cccccc solid;
}

.forum_topics_table th { text-align: center; }
.forum_topics_table td { text-align: center; }

.forum_topics_table th:nth-of-type(1) { text-align: left; }
.forum_topics_table td:nth-of-type(1) { text-align: left; }

.forum_topics_table th:nth-of-type(1) { width: 55%; }
.forum_topics_table th:nth-of-type(2) { width: 10%; }
.forum_topics_table th:nth-of-type(3) { width: 10%; }
.forum_topics_table th:nth-of-type(4) { width: 25%; }

.forum_topics_title_date {
    display: none;
    font-style: italic;
    color: #666666;
}

.forum_topics_title_views {
    display: none;
    color: #666666;
}

.forum_topics_num_messages {
    display: none;
}

/* Сообщения в тем форума
-------------------------------------------------------------------------------*/

.forum_messages_list {
    border-bottom: 1px #cccccc solid;
}

.forum_user_info {
    display: flex;
    flex-wrap: wrap;
    background: #f0f0f0;
    border: 1px #cccccc solid;
}

.forum_user_info p {
    width: 100%;
    margin: 4px 0;
    padding: 4px 12px;
}

.forum_user_info p:nth-child(1) { width: 40%;}
.forum_user_info p:nth-child(2) { width: 35%;}
.forum_user_info p:nth-child(3) {
    width: 25%;
    text-align: right;
    padding: 8px 15px;
}
.forum_user_info_name {
    margin-top: 0;
}

.forum_user_info_name strong {
    font-weight: 600;
}

.forum_message {
    width: 100%;
    margin: 0;
    padding: 4px 12px;
    border-left: 1px #cccccc solid;
    border-right: 1px #cccccc solid;
    overflow: auto;
}

.forum_message_date {
    margin-top: 8px;
}

.forum_message iframe {
    max-width: 100% !important;
}

.forum_message strong {
    font-weight: 600;
}

/* Основное содержимое (формы)
-------------------------------------------------------------------------------*/

.general_form {
    padding: 1em 0;
}

.general_form h3 {
    margin: 0 0 30px 0;
    padding: 0;
    font-family: "Roboto";
    font-weight: 600;
    font-size: 0.8em;
    color: #bf1617;
    text-transform: uppercase;
    border-bottom: #bf1617 1px solid;
}

.general_form label {
    font-size: 1em;
}

.general_form dl {
    margin: 0 0 1em 0;
    padding: 0;
}

.general_form dl dt {
    padding: 0;
}

.general_form dl dd {
    margin: 0;
    padding: 0;
}
.general_form .long {
    width: 100%;
}

.general_form .middle {
    width: 100%;
}

.general_form .short {
    width: calc((100% - 10px) / 2);
    margin-right: 5px;
}

.general_form .short:last-child {
    margin-right: 0;
}

.general_form textarea {
    width: 100%;
}

.general_form .required {
    font-weight: 600;
}

.general_form input,
.general_form textarea,
.general_form select {
    font-size: 0.9em;
    background: #ffffff;
    padding: 4px 8px;
    margin: 0 0 0.8em 0;
    border: 1px solid #c0c0c0;
}

.general_form select {
    font-size: 0.9em;
    -webkit-appearance: button;
    -webkit-border-radius: 2px;
    -webkit-user-select: none;
    background: #ffffff url("/pic/arrow_select.png") calc(100% - 10px) center no-repeat;
    border: 1px solid #c0c0c0;
    padding: 4px 28px 4px 8px;
    text-overflow: ellipsis;
    white-space: nowrap;
    -moz-appearance: none;
}
    
.general_form_submit {
    text-align: left;
}

.general_form_submit input {
    font-size: 1em;
    font-weight: 600;
    color: #ffffff;
    padding: 6px;
    margin: auto;
    width: 100%;
    border: none;
    border-radius: 6px;
    background-color: #bf1617;
    cursor: pointer;
    -webkit-appearance: none;
}

.general_form_submit_confirm {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

.general_form_submit_confirm input {
    font-size: 1em;
    font-weight: 600;
    color: #ffffff;
    padding: 6px;
    margin: auto 10px auto 0;
    width: calc((100% - 10px) / 2);
    border: none;
    border-radius: 6px;
    background-color: #bf1617;
    cursor: pointer;
    -webkit-appearance: none;
}

.general_form_submit_confirm input:nth-child(2) {
    margin-right: 0;
    background-color: #999999;
}

/* Основное содержимое (форма поиска)
-------------------------------------------------------------------------------*/

.search_form {
    padding: 1em 0;
}

.search_form input {
    font-size: 1em;
    background: #ffffff;
    padding: 4px 8px;
    margin: 0 0 0.8em 0;
    border: 1px solid #c0c0c0;
    width: calc(100% - 111px);
}

.search_form input[type="submit"] {
    font-size: 1em;
    font-weight: 600;
    color: #ffffff;
    padding: 6px;
    margin: auto;
    width: 100px;
    margin-left: 5px;
    border: none;
    border-radius: 6px;
    background-color: #bf1617;
    cursor: pointer;
    -webkit-appearance: none;
}

.gsc-control-cse,
.gsc-webResult,
.gsc-thumbnail-inside,
.gsc-url-top {
    padding: 0 !important;
}

.gsc-cursor-box {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.gsc-cursor-page {
    display: inline-block !important;
    min-width: 1.7em !important;
    height: 1.7em !important;
    padding: 0.25em 0.25em 0 0.25em !important;
    margin: 0 0.7em 0.7em 0 !important;
    text-decoration: none !important;
    text-align: center !important;
    background: #e0e0e0 !important;
    color: #000000 !important;
}

.gsc-cursor-current-page {
    background-color: #bf1717 !important;
    color: #ffffff !important;
}

.gsc-control-cse table td {
    border: none;
    background: #ffffff;
    padding: 1px;
}
    
/* Постраничная навигация
-------------------------------------------------------------------------------*/

.navigation {
    margin: 1em 0;
    padding: 0;
}

.navigation ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.navigation ul li {
    display: inline-block;
    text-align: center;
    margin: 0 0.7em 0.7em 0;
    padding: 0;
    font-size: 0.9em;
}

.navigation ul li a {
    display: block;
    min-width: 1.7em;
    height: 1.7em;
    padding: 0.25em 0.25em 0 0.25em;
    text-decoration: none;
    text-align: center;
    background: #e0e0e0;
    color: #000000;
}

.navigation ul li span {
    display: block;
    min-width: 1.7em;
    height: 1.7em;
    padding: 0.25em 0.25em 0 0.25em;
    text-align: center;
    background-color: #bf1717;
    color: #ffffff;
}

/* Основное содержимое (баннеры)
-------------------------------------------------------------------------------*/

.banner_728x90 {
    display: none;
    text-align: center;
}

.banner_240x400 {
    display: none;
    margin-top: 80px;
    text-align: center;
}

/* Блок ссылок внизу
-------------------------------------------------------------------------------*/

.footer {
    width: 100%;
    background-color: #000000;
}

.footer_inner {
    width: 100%;
    padding: 10px 10px 30px 10px;
    display: flex;
    flex-wrap: wrap   
}

.footer_inner section:nth-child(n) {
    width: 100%;
}

.footer_inner h4 {
    font-size: 0.85em;
    font-weight: 600;
    color: #cccccc;
    text-transform: uppercase;
    padding: 0;
    margin: 20px 0 20px 0;
}

.footer_inner ul {
    width: 100%;
    list-style: none;
    color: #980f10;
    padding: 0;
    margin: 0;
    font-size: 0.8em;
    line-height: 1.4em;
}

.footer_inner ul li {
    padding: 0;
    margin: 0;
}

.footer_inner ul li a {
    color: #980f10;
}

/* Копирайты
-------------------------------------------------------------------------------*/

.copyright {
    width: 100%;
    background-color: #000000;
}

.copyright_inner {
    width: 100%;
    padding: 0 0 20px 0;
    border-top: 2px solid #980f10;
    display: flex;
    flex-wrap: wrap   
}

.copyright_inner ul {
    width: 100%;
    list-style-type: none;
    margin: 0;
    padding: 20px 0 0 0;
    text-align: center;
    font-size: 0.75em;
    color: #cccccc;
}

.copyright_inner ul li {
    margin: 0;
    padding: 1px 0;
}

.copyright_inner ul li a {
    color: #cccccc;
}

.copyright_inner p {
    width: 100%;
    margin: 0;
    padding: 20px 0 0 0;
    text-align: center;
    color: #ffffff;
}
