body {
    margin: 0;
    padding: 0;
    font-family: arial, verdana;
    background: #f0f2f5;
    font-size: 14px;
    line-height: 1.4;
    color: #242424;
}

img {
    border: none;
}

a {
    color: #186028
}

a:hover {
    color: #2b6287
}

h1,
:not(article) h2 {
    font-weight: normal;
    font-size: 22px;
    color: #004990;
    text-transform: none;
}

.h1-small {
    font-size: 14px;
    line-height: 1.3;
    display: block;
}

#navigation h1 {
    line-height: 1;
}

#content h1,
#content:not(article) h2 {
    margin: 40px 0 30px;
}

#content h1:first-of-type,
#content:not(article) h2:first-of-type {
    margin: 20px 0;
}

h2 {
    font-weight: normal;
    font-size: 18px;
    color: #004990;
    text-transform: uppercase;
}

h3 {
    text-transform: uppercase;
}

li h3 {
    padding: 0;
    margin: 0;
}

h4 {
    color: #004990;
    font-size: 13px;
}

ul {
    padding: 0;
    margin: 0;
}

li {
    padding: 0;
    margin: 0;
}

.clear {
    clear: both;
}

p {
    margin: 10px 0;
    padding: 0;
}

#top_wrap {
    width: 100%;
}

#header {
    width: 100%;
    height: 100%;
    margin: 0 auto;
}

a.pheader {
    display: block;
    padding: 30px;
    color: #004990;
    text-align: center;
    overflow: hidden;
    /* font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif; */
    /* font-family: Georgia, serif; */
    /* font-family: Tahoma, Geneva, sans-serif; */
    /* font-variant: small-caps; */
    letter-spacing: 0.05em;
    /* font-weight: 800; */
    font-size: 34px;
    line-height: 1.4;
}

a.pheader {
    text-decoration: none;
    text-shadow: 0px 1px 0px #fff;
}

#main {
    border: 1px #ccc solid;
    width: 100%;
    margin: 0 auto;
    background: #fff;
    padding: 0 0 30px 0;
    border-radius: 10px;
    display: flex;
}

#navigation {
    padding: 15px 30px 0 15px;
    height: 100%;
    max-width: 27%;
}

#navigation li {
    list-style: none;
    display: flex;
}

.button1 a {
    display: flex;
    align-items: center;
    padding-left: 85px;
    text-decoration: underline;
    color: #fff;
    background: url(img/button2.png) center left no-repeat;
    margin: 10px 0;
    width: 135px;
    height: 79px;
    background-size: cover;
    font-size: 18px;
    -webkit-transition: background-image 0.2s ease-in-out;
    transition: background-image 0.2s ease-in-out;
}

.button2 a {
    display: flex;
    align-items: center;
    padding-left: 85px;
    text-decoration: underline;
    color: #fff;
    background: url(img/button1.png) center left no-repeat;
    margin: 10px 0;
    width: 135px;
    height: 79px;
    background-size: cover;
    font-size: 18px;
    -webkit-transition: background-image 0.2s ease-in-out;
    transition: background-image 0.2s ease-in-out;
}

.button1 a:hover,
.button2 a:hover,
.another_button a:hover {
    text-decoration: none;
    text-shadow: 0px 0px 1px #3a77a3, 0 0 1em #fff;
}

.another_button a {
    text-decoration: underline;
    color: #fff;
    background: url(img/button4.png) center left no-repeat;
    margin: 10px 0;
    padding: 20px 25px 25px;
    width: 170px;
    display: block;
    font-size: 16px;
}

#call {
    font-size: 18px;
    margin-top: 20px;
}

#call h1 {
    color: #242424;
}

#call,
#call h1,
#call u {
    color: #666 !important;
}

#call p {
    font-weight: normal;
    font-size: 30px;
    display: block;
    padding-top: 10px;
    line-height: 0.7em
}

#call p a {
    font-weight: normal;
    font-size: 30px;
    display: block;
    padding-top: 10px;
    line-height: 0.7em;
    text-decoration: none;
    color: #666 !important;
}

#call u {
    font-size: 14px;
    display: block;
    padding: 20px 0 10px 0;
    text-decoration: none;
    font-style: italic;
}

#content {
    color: #262626;
    padding: 10px 30px;
    font-size: 14px;
    line-height: 1.4;
}

.img_content {
    display: block;
    float: left;
    margin: 20px 30px 20px 0;
}

.tables {
    width: 100%;
    margin-bottom: 10px;
}

.tables td {
    border-bottom: 1px #CCCCCC solid;
    padding: 10px 10px 10px 0;
}

.tables td p {
    margin: 0;
    padding: 0;
}

.tables .table-td-extra {
    padding-top: 15px;
    padding-bottom: 15px;
}

.tables tr:first-child .table-td-extra {
    padding-top: 0;
}

.tables .hovcolor {
    background-color: #b9d5e8;
    border-top: 1px #CCCCCC solid;
    border-bottom: 1px #CCCCCC solid;
}

.galochka {
    background: url(img/magenta_checkbox.gif) top left no-repeat;
    padding: 0 0 20px 40px;
    list-style: none;
    margin: 0
}

.copyright {
    text-align: center;
    font-size: 12px;
    margin: 10px auto;
    display: block
}

a.izbrannoe {
    color: #727272;
    display: none;
    font-size: 13px;
    margin: 10px 0 10px 8px;
}

.all_socials {
    margin-top: 40px;
}

.clear {
    clear: both;
}

.name {
    font-weight: bold;
    width: 100px;
    display: inline-block;
}

.date {
    color: #ccc;
    font-family: Arial;
    font-size: 9px;
    margin-right: 10px;
}

.message {
    font-style: italic;
    margin-left: 10px;
}

input {
    margin: 10px 5px 10px 5px;
}

.message {
    width: 300px;
}

.footer {
    width: 100%;
    margin: 0 auto;
}

.footer-keywords {
    color: #888;
    font-size: 12px;
    padding-bottom: 30px;
    text-align: center;
}

.articles {
    padding: 0 15px 0 0;
    font-size: 13px;
}

.articles ul {
    padding-left: 15px;
}

.articles li {
    list-style: square !important;
    padding-bottom: 10px;
    font-weight: bold;
}

.articles li a {
    color: #262626;
    text-decoration: none;
}

.articles li a:hover {
    color: #262626;
    text-decoration: underline;
}

.article h1 {
    text-transform: uppercase;
}

.article ul {
    padding-left: 20px;
}

#content li {
    margin: 10px 0;
}

#content.article {
    line-height: 1.8;
}

.bg1 {
    border: 1px #ccc solid;
    background: #ffffe0;
    padding: 1px 10px 10px 20px;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -khtml-border-radius: 10px;
}

.bg1 h3 {
    color: #074b01;
}

.red {
    color: red;
}

.bq {
    padding-left: 10px;
    margin-left: 100px;
    border-left: 1px #004990 solid;
}

.tables2 {
    width: 100%;
    margin-bottom: 10px;
}

.tables2 td {
    border-bottom: 1px #CCCCCC solid;
    padding: 5px 5px 5px 10px;
    border-collapse: collapse;
}

.tables2 td p {
    margin: 0;
    padding: 0;
}

.tables2 .hovcolor {
    background-color: #b9d5e8;
    font-weight: bold;
    border-top: 1px #CCCCCC solid;
    border-bottom: 1px #CCCCCC solid;
}

.tabl_zag {
    font-weight: bold;
    color: #004990
}


/* Mobile nav */

#mobile-nav {
    display: none;
}

#mobile-nav h4 {
    color: #eaeaea;
    text-align: center;
}

#mobile-nav #navigation a {
    margin: 2px auto;
    color: #eaeaea;
    font-size: 15px;
}

#mobile-nav #navigation ul:last-child {
    margin-bottom: 20px;
}

#mobile-nav #navigation ul:last-child li a {
    color: #eaeaea;
    margin: 2px 0;
    text-decoration: underline;
}

.button1 {
    margin-bottom: 9px;
}

.mobile-burger {
    display: block;
    position: relative;
    overflow: hidden;
    width: 30px;
    min-width: 30px;
    height: 30px;
    font-size: 0;
    text-indent: -9999px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    box-shadow: none;
    border-radius: none;
    border: none;
    cursor: pointer;
    -webkit-transition: background .3s;
    transition: background .3s;
}

.button-burger {
    display: block;
    width: 100%;
    height: 100%;
    background: transparent;
    border: 0 none;
}

.button-burger-line {
    display: block;
    position: absolute;
    top: 14px;
    left: 5px;
    right: 5px;
    height: 2px;
    background: #eaeaea;
    -webkit-transition: background 0s .3s;
    transition: background 0s .3s;
}

.button-burger-line::after,
.button-burger-line::before {
    position: absolute;
    display: block;
    left: 0;
    width: 100%;
    height: 2px;
    background: #eaeaea;
    content: "";
    -webkit-transition-duration: .3s, .3s;
    transition-duration: .3s, .3s;
    -webkit-transition-delay: .3s, 0s;
    transition-delay: .3s, 0s;
}

.button-burger-line::before {
    top: -6px;
    -webkit-transition-property: top, -webkit-transform;
    transition-property: top, -webkit-transform;
    transition-property: top, transform;
    transition-property: top, transform, -webkit-transform;
}

.button-burger-line::after {
    bottom: -6px;
    -webkit-transition-property: bottom, -webkit-transform;
    transition-property: bottom, -webkit-transform;
    transition-property: bottom, transform;
    transition-property: bottom, transform, -webkit-transform;
}

.c-burger--active .button-burger-line {
    background: 0 0;
}

.c-burger--active .button-burger-line::after,
.c-burger--active .button-burger-line::before {
    -webkit-transition-delay: 0s, .3s;
    transition-delay: 0s, .3s;
}

.c-burger--active .button-burger-line::before {
    top: 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.c-burger--active .button-burger-line::after {
    bottom: 0;
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

#mobile-nav #navigation {
    display: none;
}

#mobile-nav.mobile-nav-opened #navigation {
    display: block;
}

.mobile-top {
    display: flex;
    justify-content: space-between;
    width: calc(90% - 2px);
    margin: 0 auto;
    font-style: italic;
    align-items: center;
    max-height: 49px;
}

.mobile-text a {
    color: #fff;
    text-decoration: none;
}

.viber-color {
    color: #59267c;
}

@media screen and (min-width: 890px) {
    #header,
    #main,
    .footer {
        width: 887px;
    }
}

@media screen and (max-width: 890px) {
    body {
        margin: 0 auto;
    }
    #main {
        width: 90%;
    }
    #navigation {
        order: 1;
    }
    #content {
        order: 2;
    }
    a.pheader {
        font-size: 25px;
    }
    #navigation {
        min-width: 240px;
        margin: 0 auto;
        max-width: 100%;
        padding: 15px;
        width: 33%;
    }
}

@media screen and (max-width: 767px) {
    #main {
        flex-direction: column;
    }
    #mobile-nav {
        display: block;
        position: fixed;
        width: 100%;
        background: #fff;
        border-bottom: 1px #ccc solid;
        padding: 5px 0;
        overflow-y: scroll;
        max-height: 100%;
        background: #252526;
        color: #eaeaea;
    }
    #top_wrap {
        padding-top: 50px;
    }
    .mobile-hide {
        display: none !important;
    }
    #navigation {
        padding: 0;
        margin: 0 auto;
    }
    .mobile-menu #navigation {
        padding-top: 17px;
    }
    a.pheader {
        padding: 10px 15px;
    }
    #content {
        padding: 0 15px 20px;
    }
    #call u {
        padding: 5px 0 0 0;
        font-size: 12px;
    }
    #content h1:first-of-type {
        margin: 20px 0 0;
    }
    #call p {
        font-size: 26px;
        padding-top: 0;
        margin-top: 0;
    }
    #call {
        text-align: center;
    }
    .img_content {
        float: none;
        margin-left: auto;
        margin-right: auto;
    }
    a.pheader {
        font-size: 20px;
    }
    h1,
     :not(article) h2 {
        font-size: 20px;
    }
    #content h1,
    #content:not(article) h2 {
        margin: 20px 0 10px !important;
        color: #004990;
    }
    .tables .table-td-extra {
        padding-top: 10px;
    }
}

.widget {
    display: flex;
    align-items: center;
    margin: 20px 0;
    background: #f1f3f7;
    padding: 20px;
}

.widget-foto {
    margin: 0 20px 0 0;
    display: flex;
}

.widget-foto img {
    max-width: 82px;
    max-height: 82px;
    border-radius: 50%;
}

@media screen and (max-width: 767px) {
    .widget {
        flex-wrap: wrap;
        justify-content: center;
    }
    .widget-foto {
        margin: 0 0 20px;
    }
}

.call a {
    margin: 20px 0 15px 0;
    display: flex;
    justify-content: center;
}

.call img {
    display: block;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 0 rgba(111, 212, 84, 0.4);
    animation: pulse 2s infinite;
}

@-webkit-keyframes pulse {
    0% {
        -webkit-box-shadow: 0 0 0 0 rgba(111, 212, 84, 0.4);
    }
    70% {
        -webkit-box-shadow: 0 0 0 10px rgba(111, 212, 84, 0);
    }
    100% {
        -webkit-box-shadow: 0 0 0 0 rgba(111, 212, 84, 0);
    }
}

@keyframes pulse {
    0% {
        -moz-box-shadow: 0 0 0 0 rgba(111, 212, 84, 0.4);
        box-shadow: 0 0 0 0 rgba(111, 212, 84, 0.4);
    }
    70% {
        -moz-box-shadow: 0 0 0 10px rgba(111, 212, 84, 0);
        box-shadow: 0 0 0 10px rgba(111, 212, 84, 0);
    }
    100% {
        -moz-box-shadow: 0 0 0 0 rgba(111, 212, 84, 0);
        box-shadow: 0 0 0 0 rgba(111, 212, 84, 0);
    }
}

@media screen and (min-width: 767px) {
    .call {
        display: none;
    }
}

.d-none {
    display: none;
}

.message-alert {
    font-size: 16px;
    font-weight: bold;
    position: fixed;
    background: red;
    color: #fff;
    top: 0;
    left: 0;
    width: 100%;
    display: block;
    padding: 10px 15px;
    box-shadow: 0 0 2px #fff;
    z-index: 1111;
}

.message-alert-inner {
    width: 80%;
    margin: 0 auto;
    text-align: center;
}

.message-alert-btn {
    background: #fff;
    color: black;
    border: none;
    outline: none;
    padding: 5px 15px;
    font-size: 14px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .message-alert {
        padding: 10px 0;
        font-size: 14px;
    }
    .message-alert-inner {
        width: 86%;
    }
    .message-alert-btn {
        display: block;
        margin: 0 auto;
    }
}