
body {
    font: 16px/1.4 'PT Sans', 'Arial', 'Helvetica', sans-serif;
    color: #000;
    font-weight: 400;
    min-width: 1200px;
}

body, html {
    /* background: #fff; */
    height: 100%;
}

table, td, th {
    border-collapse: collapse;
    font-size: 100%;
}

h1, h2, h3, h4, h5, h6 {
    color: #000;
    font-weight: normal;
}

img {
    border: 0;
    max-width: 100%;
}

a img {
    border: 0;
}

a {
    color: #3579c0;
    text-decoration: none;
}

a:hover, a:focus, a:active {
    color: #000;
    text-decoration: none;
}

p {
    margin: 10px 0;
}

::-moz-selection {
    background: #fafba7;
}

::selection {
    background: #fafba7;
}

.wrapper {
    max-width: 950px;
    margin-left: auto;
    margin-right: auto;
}

body.f-popup {
    height: 100%;
    overflow: hidden;
}

.no-style ul, .no-style, .no-style li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.no-style li img {
    display: inline-block;
    vertical-align: middle;
    padding-bottom: 2px;
}

.link, .link:hover, .links a, .links a:hover {
    border-bottom-style: solid;
    border-bottom-width: 1px;
}

.half-link, .half-link:hover, .half-links a, .half-links:hover a {
    border-bottom-style: dotted;
    border-bottom-width: 1px;
}

.ln-page {
    overflow: hidden;

}

.ln-page.t-decor .ln-header-holder,
.ln-page.t-decor .ln-content,
.ln-page.t-decor .bn-federal-site,
.ln-page.t-decor .ln-footer {
    background: #fff;
    background-color: rgba(255, 255, 255, 0.8);
    padding-left: 20px;
    padding-right: 20px;

}

.ln-header {
    position: relative;
}

.ln-header-holder {
    position: relative;

}

.ln-content {
    position: relative;
}

.ln-content + .ln-content {
    margin-top: 32px;
}

.ln-content-single {
}

.ln-content-center {
    float: left;
    width: 630px;
}

.ln-content-left {
    float: left;
    width: 300px;
    min-height: 10px;
}

@media screen and (max-width: 949px) {
    .ln-content-left {
        width: 100%;
    }
}

.ln-content-holder {
    min-height: 10px;
}

.ln-content-left + .ln-content-holder {
    float: left;
    width: calc(100% - 300px - 41px);
    margin-left: 41px;
}

@media screen and (max-width: 949px) {
    .ln-content-left + .ln-content-holder {
        width: 100%;
        margin-left: 0;
        margin-top: 24px;
    }
}

.ln-content-holder-full {
    margin: 0;
    min-height: 10px;
}

.ln-content-right, .ln-content-top-right {
    float: right;
    width: 300px;
}

.ln-footer {
    position: relative;
    min-height: 135px;
    border-top: 2px solid #a0b4ce;
}

.ln-footer .counters {
    float: right;
    margin-left: -6px;
}

@media screen and (max-width: 529px) {
    .ln-footer .counters {
        margin-top: 10px;
    }
}

.ln-footer .counters span {
    opacity: 0.6;
    filter: alpha(opacity=60);
    margin-left: 6px;
}

.ln-footer .counters > div,
.ln-footer .counters > a {
    float: left
}

.ln-footer .counters:after {
    content: '';
    display: table;
    clear: both;
}

.ln-footer .counters span:hover {
    opacity: 1;
    filter: alpha(opacity=100);
}

.counters .miniwidget-wrapper {
    width: 231px;
    height: 24px;
    cursor: pointer;
    overflow: hidden;
    border-radius: 3px;
    transition: .3s
}

.counters .miniwidget-wrapper:hover {
    opacity: .85;
}

.counters .miniwidget-wrapper .digit {
    display: inline-block;
    width: 10px;
    height: 24px;
    background: url("../img/widget-bookmark-num.png") no-repeat 0 0;
}

.counters .miniwidget-wrapper .digit .digit-position-1 {
    left: 0;
}

.counters .miniwidget-wrapper .digit .digit-position-2 {
    left: 10px;
}

.counters .miniwidget-wrapper .digit .digit-position-3 {
    left: 20px;
}

.counters .miniwidget-wrapper .digit-9 {
    background-position:-90px 0;
}

.counters .miniwidget-wrapper .digit-8 {
    background-position: -80px 0;
}

.counters .miniwidget-wrapper .digit-7 {
    background-position: -70px 0;
}

.counters .miniwidget-wrapper .digit-6 {
    background-position: -60px 0;
}

.counters .miniwidget-wrapper .digit-5 {
    background-position: -50px 0;
}

.counters .miniwidget-wrapper .digit-4 {
    background-position: -40px 0;
}

.counters .miniwidget-wrapper .digit-3 {
    background-position: -30px 0;
}

.counters .miniwidget-wrapper .digit-2 {
    background-position: -20px 0;
}

.counters .miniwidget-wrapper .digit-1 {
    background-position: -10px 0;
}

.counters .miniwidget-wrapper .digit-0 {
    background-position: 0 -0px;
}

@media screen and (max-width: 529px) {
    .counters .miniwidget-wrapper {
        margin-bottom: 10px;
    }
}

.b-content h1, .b-content h2, .b-content h3, .b-content h4, .b-content h5, .b-content h6 {
    margin: 20px 0 10px;
}

.b-content h1 {
    font-size: 21px;
}

.b-content h2 {
    font-size: 18px;
}

.b-content h3 {
    font-size: 16px;
    color: #40546a;
}

.b-content h4 {
    font-size: 14px;
}

.h1, h1.h1 {
    margin: 0;
    display: inline;
    font-size: 20px;
    line-height: 1.2;
}

.h2, h2.h2 {
    margin: 0;
    display: inline;
    font-size: 18px;
    line-height: 1.2;
    text-transform: uppercase;
}

.h3, h3.h3 {
    margin: 0;
    display: inline;
    font-size: 16px;
    line-height: 1.2;
    text-transform: uppercase;
}

.hh1, h1.hh1 {
    margin: 0;
    display: inline;
    font-size: 26px;
    line-height: 1.2;
}

table img {
    max-width: none;
}

.bg-light-gray {
    background-color: #F6F8FB;
}

/* верстка для страниц госуслуги */

.lilac-table--complex,
.lilac-table--simple {
    display: block;
    width: 100%;
    margin: 16px 0 48px;
    font-size: 14px;
    text-align: left;
    overflow: auto;
}
.lilac-table--complex:not(:last-child),
.lilac-table--simple:not(:last-child) {
    margin-bottom: 32px;
}

.lilac-table--complex th,
.lilac-table--simple th{
    background-color: #DDE6F8;
}

.lilac-table--complex td,
.lilac-table--simple td,
.lilac-table--complex tfoot,
.lilac-table--simple tfoot {
    background-color: #ECF2FE;
}

.lilac-table--complex thead th:nth-child(1),
.lilac-table--complex tbody td:nth-child(1),
.lilac-table--simple thead th:nth-child(1),
.lilac-table--simple tbody td:nth-child(1) {
    padding-left: 8px;
}
.lilac-table--complex thead th:last-child,
.lilac-table--complex tbody td:last-child,
.lilac-table--simple thead th:last-child,
.lilac-table--simple tbody td:last-child  {
    padding-right: 8px;
}

.lilac-table--complex td,
.lilac-table--complex th,
.lilac-table--3 td,
.lilac-table--3 th 
{
    padding: 16px 4px;
}
.lilac-table--complex td,
.lilac-table--complex th {
    vertical-align: top;
    font-weight: 400;
}

.lilac-table--4 th {
    padding: 16px 16px;
    vertical-align: top;
}
.lilac-table--4 td {
    padding: 16px 8px 0 16px;
    vertical-align: top;
}
.lilac-table--4 tfoot tr:last-child td,
.lilac-table--complex tbody .timetable:last-child td {
    padding-bottom: 16px;
}

.lilac-table--complex tbody .timetable td:nth-child(1) {
    padding-left: 8px;
}

.lilac-table--complex tbody .timetable td:last-child {
    padding-right: 8px;
}

.lilac-table--complex tbody .timetable td {
    padding: 6px 8px;
}

.lilac-table--complex tbody td.timetable {
    padding-bottom: 6px;
}

/* .lilac-table--complex tbody .timetable td,
.lilac-table--complex tbody td.timetable,
.lilac-table--complex th:first-child,
.lilac-table--simple .tel {
    white-space: nowrap;
} */

.lilac-table--complex tbody .timetable td:nth-child(1),
.lilac-table--complex tbody td:nth-child(4) {
    font-weight: 600;
}

.lilac-table--complex tfoot td {
    padding: 16px 52px;
    color: #7C879D;
    border-top: 1px solid #C5D0E3;
}

.lilac-table--3 tbody tr:not(:last-child) {
    border-bottom: 1px solid #C5D0E3;
}
.lilac-table--3 th,
.lilac-table--3 td {
    width: 35%;
    vertical-align: center;
}
.lilac-table--4 th,
.lilac-table--4 td {
    width: calc(100% / 4);
}
.lilac-table--complex p {
    margin: 0;
}
.lilac-table--complex table {
    border: none;
}

.lilac-table--complex table td {
    border: none;
}

.lilac-table--simple td.caption {
    padding-bottom: 0;
    font-weight: 700;
    color: #000;
    text-align: center;
}

p.caption {
    margin-top: 16px;
    font-size: 16px;
    font-weight: 700;
    color: #000;
    text-align: left;
}

p.address {
    font-weight: 400;
    color: #3578C0;
    margin-top: 16px;
}

.lilac-table--simple tfoot {
    border-top: 16px solid #fff;
}

.gosuslugi-btn {
    display: block;
    color: #fff;
    background-color: #40689C;
    font-size: 18px;
    font-weight: 700;
    padding: 12px 20px;
    border-radius: 6px;
    border: none;
    width: fit-content;
}

.gosuslugi-btn:hover, 
.gosuslugi-btn:visited {
    color: #fff;
}
.epgu, .poll-btn {
    margin-bottom: 48px;
}
.poll-btn {
    margin-top: 16px;
}

.portal-btn {
    display: block;
    margin: 24px auto 34px;
}

.gosuslugi-list {
    display: grid;
    margin: 24px 0;
    padding-left: 30px;
}

.gosuslugi-list li {
    margin-bottom: 16px;
}

.gos-logo {
    float: right;
    margin-left: 24px;
}

@media screen and (max-width: 529px) {
    .gos-logo  {
        display: block;
        float:none;
        margin: auto;
    }
    .poll-btn, .epgu  {
        width: auto;
        text-align: center;
    }
}

.poll-desc p {
    margin-bottom: 16px;
}

.content-wrapper {
    width: 100%;
}

.panel-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 24px 0;
    background-color: #fff;
    color: #131111;
    cursor: pointer;
    border: none;
    text-align: left;
    outline: none;
    font-size: 16px;
    transition: 0.5s;
    font-weight: 700;
}

.panel-question:not(:last-of-type) {
    border-bottom: 1px solid #D9D9D9;
}

.panel-question.active {
    padding:  24px 0 12px;
    border: none;
}

.panel-question:after {
    content: '\276E';
    color: #AFAFAF;
    transform: rotate(270deg);
    font-size: 20px;
    float: right;
    padding: 0 0 0 24px;
}
.panel-question.active:after {
    content: '\276E';
    transform: rotate(90deg);
    padding: 0 24px 0 0;
}

.panel-info {
    font-weight: 400;
    font-size: 16px;
    color: #131111;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.1s ease-out;
}
.panel-info p {
    margin: 0;
}

.panel-question.active + .panel-info:not(:last-of-type) {
    border-bottom: 1px solid #D9D9D9;
    padding: 0  0 24px;
}

.panel-question:first-of-type{
    padding-top: 16px;
}

.faq-wrapper {
    margin-bottom: 24px;
}

.portal-content {
    margin-left: 40px;
}

.portal-content p {
    margin: 24px 0;
}

.portal-content:last-child {
    margin-bottom: 48px;
}

.portal-content li:not(:last-of-type) {
    margin-bottom: 20px;
}

@media screen and (max-width: 529px) {
    .panel-question {
        flex-direction: column;
    }

    .panel-question:after {
        padding: 0 12px 0 0;
    }

    .panel-question.active:after {
        padding: 0 0 0 12px;
    }
    .portal-content {
        margin-left: 0;
    }

    .ul-sub-list {
        padding-left: 0;
    }
}