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

body {
    background: #e9edf1;
    color: #333;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.55;
}

* {
    box-sizing: border-box;
}

a {
    color: #176b9b;
    text-decoration: none;
}

a:hover {
    color: #0b456d;
    text-decoration: underline;
}

#wrapper {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

#header {
    width: 100%;
    background: #164c70;
    border-bottom: 4px solid #e3a52c;
    color: #fff;
}

#header-in {
    position: relative;
    width: 100%;
    max-width: 1120px;
    min-height: 105px;
    margin: 0 auto;
    padding: 20px 25px;
}

.top-menu {
    position: absolute;
    top: 12px;
    right: 25px;
}

.top-menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.top-menu li {
    display: inline-block;
}

.top-menu a {
    color: #fff;
}

.logo-sitit-big {
    display: inline-block;
    margin-top: 25px;
    color: #fff;
    font-size: 34px;
    font-weight: bold;
}

.logo-sitit-big:hover {
    color: #fff;
    text-decoration: none;
}

.wiki-menu {
    position: absolute;
    top: 58px;
    right: 25px;
}

.wiki-link {
    display: inline-block;
    padding: 6px 13px;
    border: 1px solid rgba(255,255,255,.4);
    border-radius: 3px;
    color: #fff;
}

.wiki-link:hover {
    background: rgba(255,255,255,.12);
    color: #fff;
    text-decoration: none;
}

.clear {
    clear: both;
}

#center {
    width: 100%;
    max-width: 1120px;
    margin: 30px auto 0;
    padding: 0 25px;
    flex: 1 0 auto;
}

#content,
#content-in {
    width: 100%;
}

.sitit-title {
    margin: 0 0 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #d6dce1;
    color: #164c70;
    font-size: 27px;
    font-weight: 600;
}

.title-warnings-wrapper {
    width: 100%;
}

.title-warnings {
    margin-bottom: 20px;
    padding: 15px 20px;
    border: 1px solid #e5b6b6;
    border-radius: 4px;
    background: #fff0f0;
}

.title-error h2 {
    margin: 0 0 8px;
    color: #a52b2b;
    font-size: 18px;
}

.title-error p {
    margin: 0;
    color: #713c3c;
}

.title-wrapper-wrapper {
    width: 100%;
    margin-bottom: 25px;
}

.title-wrapper {
    width: 100%;
    padding: 25px 30px;
    border: 1px solid #dce2e7;
    border-radius: 5px;
    background: #fff;
    box-shadow: 0 2px 7px rgba(0,0,0,.05);
}

.article-new {
    width: 100%;
}

.article-new > ul {
    margin: 0 0 20px;
    padding-left: 25px;
}

.article-new > ul li {
    margin-bottom: 10px;
    padding-left: 5px;
    color: #444;
    font-size: 15px;
    line-height: 1.6;
}

.article-new > ul li::marker {
    color: #247da8;
}

.audiences {
    width: 100%;
    margin-top: 20px;
}

.audiences .less p,
.audiences .more > p {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin: 0;
    padding: 8px 0;
}

.audiences .less span {
    color: #176b9b;
    font-weight: bold;
}

.audiences .switcher {
    display: inline-block;
    width: 22px;
    height: 22px;
    margin-left: 8px;
    border: 1px solid #cbd5dc;
    border-radius: 50%;
    background: #f3f6f8;
}

.audiences .switcher:hover {
    background: #dceaf2;
}

.audiences .more .detail {
    padding-top: 15px;
}

.audiences .detail > h2 {
    margin: 0 0 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #dce2e7;
    color: #164c70;
    font-size: 21px;
}

.audience {
    margin-bottom: 15px;
    padding: 17px 20px;
    border-left: 4px solid #3682a8;
    border-radius: 3px;
    background: #f5f8fa;
}

.audience h3 {
    margin: 0 0 10px;
    color: #205b7d;
    font-size: 16px;
}

.audience ul {
    margin: 0;
    padding-left: 22px;
}

.audience li {
    margin-bottom: 6px;
    color: #444;
}

.audience.academia {
    border-left-color: #3682a8;
}

.audience.companies {
    border-left-color: #39936b;
}

.audience.students {
    border-left-color: #d49b32;
}

.audience.public {
    border-left-color: #8b72ae;
}

.headline-documents {
    margin-top: 20px;
    padding: 15px 18px;
    border-radius: 3px;
    background: #edf3f7;
    color: #444;
}

.headline-documents a {
    font-weight: bold;
}

#panel {
    width: 100%;
    margin: 25px 0;
}

#panel-in {
    width: 100%;
}

.widget,
.wtf {
    max-width: 100%;
}

.wtf[style*="display: none"] {
    display: none !important;
}

.login-panel {
    width: 100%;
    max-width: 440px;
    margin: 0 auto 20px;
    padding: 22px 25px;
    border: 1px solid #dce2e7;
    border-radius: 5px;
    background: #fff;
    box-shadow: 0 2px 7px rgba(0,0,0,.05);
}

.loginform {
    width: 100%;
}

.loginform fieldset {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.loginform label {
    display: block;
    margin-bottom: 15px;
    color: #444;
}

.loginform label span {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
}

.loginform input[type="text"],
.loginform input[type="password"],
.loginform input[type="email"] {
    display: block;
    width: 100%;
    height: 39px;
    padding: 8px 11px;
    border: 1px solid #cbd4dc;
    border-radius: 3px;
    background: #fff;
    color: #333;
    font-family: inherit;
    font-size: 14px;
}

.loginform input:focus {
    border-color: #3682a8;
    outline: none;
}

.loginform input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 3px 7px 0 0;
    vertical-align: middle;
    accent-color: #247da8;
}

.loginform button,
.loginform input[type="submit"] {
    display: inline-block;
    min-width: 120px;
    padding: 10px 22px;
    border: 0;
    border-radius: 3px;
    background: #247da8;
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
}

.loginform button:hover,
.loginform input[type="submit"]:hover {
    background: #185c80;
}

.loginform .messages {
    margin-top: 12px;
}

.openid-login-panel {
    display: none;
}

.Panel_Registration,
.Panel_Resend {
    width: 100%;
    max-width: 440px;
    margin: 15px auto;
    padding: 20px;
    border: 1px solid #dce2e7;
    border-radius: 5px;
    background: #fff;
}

.blue {
    background-color: #fff;
}

.wtf-embedded-form {
    width: 100%;
}

.bot-block {
    width: 100%;
    max-width: 1120px;
    margin: 20px auto 35px;
    padding: 0 25px;
}

.bot-block ul {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid #d9e0e5;
    border-radius: 5px;
    background: #fff;
    list-style: none;
}

.bot-block li {
    min-width: 0;
    margin: 0;
    border-right: 1px solid #e5e9ed;
    border-bottom: 1px solid #e5e9ed;
}

.bot-block li:nth-child(3n) {
    border-right: 0;
}

.bot-block li a {
    display: flex;
    min-height: 48px;
    align-items: center;
    padding: 11px 15px;
    color: #285b78;
    font-size: 13px;
}

.bot-block li a:hover {
    background: #edf4f8;
    color: #124b70;
    text-decoration: none;
}

#push {
    height: 20px;
}

#footer {
    width: 100%;
    margin-top: auto;
    border-top: 4px solid #247da8;
    background: #164c70;
    color: #e6edf2;
}

#footer-in {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    width: 100%;
    max-width: 1120px;
    min-height: 180px;
    margin: 0 auto;
    padding: 30px 25px;
}

.logo-sitit {
    flex: 0 0 150px;
    min-height: 60px;
}

.descr {
    flex: 1;
    color: #e0e9ef;
    font-size: 12px;
    line-height: 1.6;
}

.descr p {
    margin: 0 0 7px;
}

.descr a {
    color: #fff;
    text-decoration: underline;
}

.descr a:hover {
    color: #d5e9f5;
}

.support {
    margin: 8px 0;
}

.logo-opvk {
    flex: 0 0 140px;
    min-height: 55px;
}

#tempdiv {
    display: none;
}

#content table {
    width: 100%;
    border-collapse: collapse;
}

#content th,
#content td {
    padding: 10px;
    border: 1px solid #dce2e7;
    text-align: left;
}

#content th {
    background: #edf3f7;
    color: #164c70;
    font-weight: bold;
}

#content img {
    max-width: 100%;
    height: auto;
}

#content p {
    line-height: 1.6;
}

#content input:not([type="checkbox"]):not([type="radio"]),
#content textarea,
#content select {
    max-width: 100%;
    font-family: inherit;
}

#content textarea {
    padding: 9px 11px;
    border: 1px solid #cbd4dc;
    border-radius: 3px;
}

@media (max-width: 768px) {
    #header-in {
        min-height: 100px;
        padding: 20px;
    }

    .logo-sitit-big {
        font-size: 29px;
    }

    #center {
        margin-top: 20px;
        padding: 0 15px;
    }

    .sitit-title {
        font-size: 23px;
    }

    .title-wrapper {
        padding: 20px;
    }

    .bot-block {
        padding: 0 15px;
    }

    .bot-block ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bot-block li:nth-child(3n) {
        border-right: 1px solid #e5e9ed;
    }

    .bot-block li:nth-child(2n) {
        border-right: 0;
    }

    #footer-in {
        flex-wrap: wrap;
        gap: 15px;
        padding: 25px 20px;
    }

    .descr {
        flex-basis: 100%;
        order: 2;
    }

    .logo-sitit,
    .logo-opvk {
        flex-basis: calc(50% - 10px);
    }
}

@media (max-width: 480px) {
    #header-in {
        min-height: 115px;
    }

    .logo-sitit-big {
        margin-top: 35px;
        font-size: 25px;
    }

    .top-menu {
        top: 10px;
        right: 20px;
    }

    .wiki-menu {
        top: 68px;
        right: 20px;
    }

    .sitit-title {
        font-size: 21px;
    }

    .title-wrapper {
        padding: 15px;
    }

    .article-new > ul li {
        font-size: 14px;
    }

    .audience {
        padding: 13px;
    }

    .audience h3 {
        font-size: 15px;
    }

    .bot-block ul {
        grid-template-columns: 1fr;
    }

    .bot-block li,
    .bot-block li:nth-child(2n),
    .bot-block li:nth-child(3n) {
        border-right: 0;
    }

    .login-panel {
        padding: 18px 15px;
    }

    #footer-in {
        padding: 20px 15px;
    }
}