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

body, th, td, h1, h2, h3 {
    font-family: 'Open Sans', times;
    color: #526163;
}

body, h1, h2, h3, ul, ol, li, p {
    margin: 0;
    padding: 0;
}

ol, ul {
    list-style: none;
}

h1 {
    font-size: 32px;
    margin-top: 24px;
}

table {
    border-width: 0px;
    border-collapse: collapse;
}

body, th, td {
    font-size: 14px;
}

img {
    border: 0
}

a, a:visited {
    color: #0082aa;
    text-decoration: none;
}

a:hover {
    color: #fe4339;
}

body {
    background-image: url(/static/img/main/pattern.png);
}

/* Именованные стили */
/* ----------------- */
a.soft {
    color: inherit;
    text-decoration: none;
}

a.soft:hover {
    color: #fe0000;
    text-decoration: none;
}

/* Картиночная кнопка */
.image_button {
    cursor: pointer;
}

/* Тело типичной страницы */
body.page {
    width: 982px;
}

/* Простой текстовый блок */
div.plain_text {
    width: 900px;
    margin-bottom: 50px;
    text-align: justify;
}

div.plain_text p {
    margin-top: 10px;
}

div.plain_text ol {
    margin-top: 10px;
}

div.plain_text ol li {
    list-style-type: decimal;
    margin-top: 10px;
    margin-left: 21px;
}

/* Блок для завершения обтекания */
div.clear {
    clear: both;
    font-size: 0;
    overflow: hidden; /* тройной презерватив для IE */
}

/* Шапка */
div.header {
    background-color: #f7f8f7;
    border-bottom: 1px solid #d6d8d5;
}

div.header div.content {
    width: 996px;
    height: 67px;
    margin-left: auto;
    margin-right: auto;
    overflow-y: hidden;
    position: relative;
    display: flex;
}

div.header div.content div.title {
    display: inline-block;
    width: 305px;
    vertical-align: top;
    /*margin-left: -8px;*/
}

div.header div.content div.title img {
    padding-top: 0px;
}

div.header div.content div.name {
    display: inline;
    font-size: 38px;
    font-weight: bold;
}

div.header div.content div.domain {
    display: inline;
    font-size: 22px;
    font-weight: bold;
    color: #b5bbbb;
}

ul.main_menu {
    font-size: 17px;
    background-color: #eaece7;
    height: 67px;
    margin: 0;
    padding: 0;
    vertical-align: top;
    display: flex;
}

ul.main_menu li {
    padding: 15px 0 15px 0;
    vertical-align: top;
    /*border-left: 1px solid #eaece7;*/
    background-color: #f8f9f7;
    /*-webkit-border-bottom-left-radius: 11px;*/
    /*-moz-border-radius-bottomleft: 11px;*/
    /*border-bottom-left-radius: 11px;*/
    font-family: "Open Sans", Arial, Helvetica, Sans-Serif, serif;
    font-weight: 600;
    color: #f3574c;
    font-size: 14px;
    /*height: 67px;*/
    width: 110px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

div.header div.auth {
    position: absolute;
    background-color: #decbaf;
    width: 183px;
    height: 67px;
    justify-content: center;
    align-items: center;
}

div.auth {
    display: flex;
    right: 0;
}

.user-avatar {
    max-width: 42px;
    max-height: 42px;
    border-radius: 7px;
}

form.lang_switcher {
    display: inline-block;
    padding: 15px;
}

a.change_language:hover {
    cursor: pointer;
    color: #fe0000;
    text-decoration: none;
}

#user-panel {
    padding-left: 15px;
    font-size: 11px;
    color: #292929;
    white-space: nowrap;
    overflow: hidden;
    margin-right: 5px;
    text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    -ms-text-overflow: ellipsis;
}

div.header div.auth img {
    margin-bottom: -1px;
    margin-right: 3px;
}

.sticky {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 2;
}

/* Тело страницы */
div.page_body {
    width: 982px;
    margin-left: auto;
    margin-right: auto;
}

/* Подвал */
div.footer {
    background-color: #fbfbfa;
    padding-top: 25px;
    padding-bottom: 30px;
    font-size: 13px;
}

div.footer div.content {
    position: relative;
    width: 982px;
    margin-left: auto;
    margin-right: auto;
    background-color: #fbfbfa;
    /*height: 120px;*/
}

div.footer div.content div.ti {
    /*position: absolute;*/
    top: 0;
    left: 0;
}

div.footer div.content div.support {
    padding-left: 343px;
    margin-top: 0;
}

div.footer div.content div.support p {
    font-size: 10px;
    margin-bottom: 6px;
}

div.footer div.content div.support a.button {
    margin-right: 10px;
    display: inline-block; /* Рисунок как блочный элемент */
    width: 143px; /* Ширина рисунка в пикселах */
    height: 129px; /* Высота рисунка */
}

div.footer div.content div.support a.button:hover {
    background-position: 0 -129px; /* Смещение фона */
}

div.footer div.content div.support a.kgi-logo {
    background: url(/static/img/main/kgi-logo.png);
}

div.footer div.content div.support a.slon-logo {
    background: url(/static/img/main/slon-logo.png);
}

div.footer div.content div.social {
    position: absolute;
    right: 0;
    top: 0;
}

div.footer div.content div.social a.button {
    margin-left: 15px;
    display: inline-block; /* Рисунок как блочный элемент */
    width: 26px; /* Ширина рисунка в пикселах */
    height: 26px; /* Высота рисунка */
}

div.footer div.content div.social a.button:hover {
    background-position: 0 -26px; /* Смещение фона */
}

div.footer div.content div.social a.fb-button {
    background: url(/static/img/main/fb-button.png);
}

div.footer div.content div.social a.twi-button {
    background: url(/static/img/main/twi-button.png);
}

div.footer div.content div.social a.vk-button {
    background: url(/static/img/main/vk-button.png);
}

div.footer div.content div.social a.tel-button {
    background: url(/static/img/main/tel-button.png);
    border-radius: 2px;
}

div.footer div.content div.disclaimer {
    text-align: justify;
    font-size: 14px;
    width: 570px;
    position: absolute;
    right: 0;
    bottom: 0;
    line-height: 20px;
}

div.footer div.content div.decl-copyright {
    /*position: absolute;*/
    line-height: 21px;
    bottom: 0;
}

div.decl-copyright p {
    margin: 0;
    padding: 0;

}

/* Раздел страницы, представляющий собой текстовый документ */
div.narrow {
    width: 500px;
}

/* Узкий документ */
div.text {
}

div.text h1 {
    margin-top: 1em;
}

div.text h2 {
    margin-top: 1em;
}

div.text h3 {
    margin-top: 1em;
}

div.text p {
    margin-top: 1em;
}

/* Блок сообщения о http-ошибке */
div.http_error {
    padding-top: 7em;
    padding-bottom: 10em;
}

/* Вспомогательные стили */
/* --------------------- */
.no-display { /* .hidden имеет visibilaty:hidden в jquery-ui */
    display: none;
}

.disabled {
    color: #AAA;
}

.help_text {
    color: #838383;
    font-size: 8pt;
    white-space: nowrap;
}

.narrow td {
    vertical-align: top;
}

a.action {
    color: green;
    font-size: 8pt;
}

p.sec_header {
    font-weight: bold;
    margin-top: 0.5em;
}

p.comment {
    font-style: italic;
}

.hidden {
    display: none;
}

.text-right {
    text-align: right;
}

.alignleft {
    float: left;
}

.alignright {
    float: right;
}

.italic {
    font-style: italic;
}

/* Текстовая кнопка */
.text_button {
    color: green;
    border-bottom-width: 1px;
    border-bottom-style: dashed;
    cursor: pointer;
}

.asoft {
    color: green;
    border-bottom-width: 1px;
    border-bottom-style: dashed;
    cursor: pointer;
}

/* Таблицы для оформления данных */
table.document {
    border: 1px solid black;
    border-collapse: collapse;
}

table.document td, table.document th {
    border: 1px solid black;
    vertical-align: middle;
}

table.document_light {
    border-collapse: collapse;
}

table.document_light td {
    border-top: 1px solid black;
}

/* Блок с появлением контекстных ссылок */
.activetext .follow {
    visibility: hidden;
    display: flex;
    flex-direction: row;
    align-items: normal;
    margin-left: 0.5em;
}

.activetext {
    display: flex;
}

.activetext:hover .follow {
    visibility: visible;
}

/* Классы из бутстрапа */
.list-inline {
    padding-left: 0;
    margin-left: -5px;
    list-style: none;
    display: flex;
    flex-direction: row;
}

.list-inline > li {
    display: inline-block;
    padding-right: 5px;
}

.btn-link {
    font-weight: normal;
    color: #428bca;
    cursor: pointer;
    border-radius: 0;
}

.btn-link,
.btn-link:active,
.btn-link[disabled] {
    background-color: transparent;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.btn-link,
.btn-link:hover,
.btn-link:focus,
.btn-link:active {
    border-color: transparent;
}

.btn-link:hover,
.btn-link:focus {
    color: #2a6496;
    text-decoration: underline;
    background-color: transparent;
}

.btn-link[disabled]:hover,
.btn-link[disabled]:focus {
    color: #777;
    text-decoration: none;
}

/* Хлебные крошки */
div.breadcrumbs {
    margin-top: 30px;
}

/* similar to bootstrap */
.pull-right {
    float: right;
}

.no-display {
    display: none;
}

.table {
    display: table;
    width: 100%;
}

.table-row {
    display: table-row;
}

.table-cell {
    display: table-cell;
    vertical-align: middle;
    padding: 2px 10px;
}

/* similar to bootstrap */
.pull-right {
    float: right;
}

.no-display {
    display: none;
}

.table {
    display: table;
    width: 100%;
}

.table-row {
    display: table-row;
}

.table-cell {
    display: table-cell;
    vertical-align: middle;
    padding: 2px 10px;
}

.cursor-forbidden {
    cursor: not-allowed;
}

a[rel*="external"]:after {
    content: "\f08e";
    font-family: FontAwesome;
    font-weight: normal;
    font-style: normal;
    display: inline-block;
    text-decoration: inherit;
    margin-left: 0.5em;
}

.tooltip-content {
    display: none;
}

.tooltip-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    background: transparent url(/static/img/media/help.png) no-repeat center center;
}

.verify_section {
    padding-top: 20px;
}

.section_verified_icon img {
    vertical-align: baseline;
}

.prev_prop_text {
    font-weight: normal;
}

.poll-popup__close-btn {
    width: 20px;
    height: 20px;
    position: absolute;
    top: 15px;
    right: 20px;
    cursor: pointer;
}
