:root {
    --primary-color: #113450;
    --primary-dark: #0a1e2e;
    --nav-light: #c0dbf2;
    --nav-mid: #7db5e3;
    --sidebar-bg: #9ec8ea;
    --post-bg: #d2edf8;
    --post-border: #6cace0;
    --link-color: #2d4753;
    --link-hover: #528298;
    --heading-color: #164469;
    --text-color: #000000;
    --page-bg: #cddde4;
    --sheet-bg: #ffffff;
    --container-max-width: 1920px;
}

* {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    padding: 0;
    color: var(--text-color);
    background: var(--page-bg);
    font-family: Arial, "Arial Unicode MS", Helvetica, sans-serif;
    font-size: 13px;
    line-height: 1.45;
}

a,
a:link,
a:visited {
    color: var(--link-color);
    text-decoration: underline;
}

a:hover,
a:focus {
    color: var(--link-hover);
    text-decoration: none;
}

img,
video,
iframe {
    max-width: 100%;
}

.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0;
}

.top-bar {
    background: #eef5fa;
    border-bottom: 1px solid #9ec8ea;
    color: #253b46;
    font-size: 12px;
    padding: 4px 8px;
}

.header {
    position: relative;
    height: 175px;
    overflow: hidden;
    background: #164469 url("../images/header.jpg") center top no-repeat;
}

.header-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.header-object {
    position: absolute;
    top: 0;
    right: 0;
    width: 323px;
    max-width: 44vw;
    height: auto;
}

.header-title {
    position: absolute;
    top: 31px;
    left: 3%;
    z-index: 2;
}

.header-title h1,
.header-title p {
    margin: 0;
    padding: 0;
    color: #c0dbf2;
    font-family: Arial, "Arial Unicode MS", Helvetica, sans-serif;
    font-size: 36px;
    font-weight: bold;
    line-height: 1;
    text-shadow: 1px 0 0 #171717, -1px 0 0 #171717, 0 -1px 0 #171717, 0 1px 0 #171717, 0 0 10px rgba(0, 0, 0, 0.99);
    white-space: nowrap;
}

.header-title p {
    margin-top: 17px;
    margin-left: 16px;
    color: #b7d6f0;
}

.header-title a {
    color: inherit !important;
    text-decoration: none;
}

.main-nav {
    position: relative;
    z-index: 20;
    margin: 0 auto;
    padding: 3px 3px 0;
    text-align: center;
    background: #9ec8ea;
    background: linear-gradient(to bottom, var(--nav-light) 0, var(--nav-mid) 100%);
}

.main-nav ul.menu,
.main-nav ul.nav {
    display: inline-flex;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav li {
    position: relative;
    margin: 0 0 0 10px;
    padding: 0;
}

.main-nav li:first-child {
    margin-left: 5px;
}

.main-nav li + li::before {
    position: absolute;
    top: 0;
    left: -10px;
    width: 10px;
    height: 24px;
    content: "";
    opacity: 0.5;
    background: linear-gradient(to right, transparent, rgba(17, 52, 80, 0.35), transparent);
}

.main-nav ul.menu > li > a,
.main-nav ul.nav > li > a,
.main-nav ul.menu > li > span,
.main-nav ul.nav > li > span {
    display: block;
    height: 24px;
    padding: 0 22px;
    border: 1px solid #113450;
    border-bottom: none;
    border-radius: 9px 0 0;
    color: #ffffff;
    background: #113450;
    background: linear-gradient(to bottom, #194c76 0, #0a1e2e 100%);
    font-size: 13px;
    font-weight: normal;
    line-height: 24px;
    text-align: left;
    text-decoration: none;
    white-space: nowrap;
}

.main-nav ul.menu > li > a:hover,
.main-nav ul.menu > li > a:focus,
.main-nav ul.menu > li.current > a,
.main-nav ul.menu > li.active > a,
.main-nav ul.nav > li > a:hover,
.main-nav ul.nav > li > a:focus,
.main-nav ul.nav > li.current > a,
.main-nav ul.nav > li.active > a {
    color: #fffefa;
    border-color: #578ba2;
    background: #7aa4b8;
    background: linear-gradient(to bottom, #95b6c6 0, #6394ab 100%);
}

.main-nav img {
    max-height: 16px;
    margin-right: 4px;
    vertical-align: text-bottom;
}

.main-nav ul ul {
    position: absolute;
    top: 24px;
    left: 0;
    z-index: 100;
    display: none;
    min-width: 185px;
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: left;
}

.main-nav li:hover > ul,
.main-nav li:focus-within > ul {
    display: block;
}

.main-nav ul ul li {
    float: none;
    margin: 0;
}

.main-nav ul ul li::before {
    display: none;
}

.main-nav ul ul a,
.main-nav ul ul span {
    display: block;
    min-width: 7em;
    height: 24px;
    padding: 0 22px;
    border: 1px solid #6cace0;
    border-top-width: 0;
    color: #253b46;
    background: #ddecf8;
    font-size: 13px;
    line-height: 24px;
    text-decoration: none;
    white-space: nowrap;
}

.main-nav ul ul li:first-child > a,
.main-nav ul ul li:first-child > span {
    border-top-width: 1px;
}

.main-nav ul ul a:hover,
.main-nav ul ul a:focus {
    color: #ffffff;
    background: #578ba2;
}

.main-wrapper {
    max-width: var(--container-max-width);
    margin: 0 auto;
    background: #cddde4;
}

.main-container {
    background: #cddde4;
}

.content-top,
.content-bottom,
.banner {
    padding: 12px 18px;
}

.layout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    align-items: stretch;
    min-height: 520px;
    margin: 0;
}

.layout-grid.content-center {
    grid-template-columns: 15% minmax(0, 1fr) 15%;
}

.layout-grid.content-right {
    grid-template-columns: 15% minmax(0, 1fr);
}

.layout-grid.content-left {
    grid-template-columns: minmax(0, 1fr) 15%;
}

.sidebar {
    min-width: 180px;
    margin: 0;
    padding: 0 0 14px;
    background: var(--sidebar-bg);
    border-right: 1px solid #9ec8ea;
}

.sidebar-right {
    border-right: 0;
    border-left: 1px solid #9ec8ea;
}

.main-content {
    min-width: 0;
    padding: 7px;
    background: #cddde4;
}

div.moduletable,
.sidebar .moduletable,
.sidebar .module {
    margin: 7px 5px;
    padding: 0;
    color: #000000;
    background: transparent;
}

.sidebar h3,
h3.module-title,
.moduletable > h3 {
    margin: 0;
    padding: 6px 8px;
    color: #ffffff;
    background: #154367;
    background: linear-gradient(to bottom, #1b5f92 0, #0a3151 100%);
    border: 1px solid #0b385d;
    border-bottom: 0;
    font-size: 14px;
    font-weight: bold;
    line-height: 1.2;
    text-align: left;
    white-space: nowrap;
}

.sidebar h3::before,
h3.module-title::before,
.moduletable > h3::before {
    content: "\25A3";
    display: inline-block;
    margin-right: 6px;
    color: #ddecf8;
    font-size: 12px;
}

.sidebar .moduletable > div,
.sidebar .module > div,
.mod-content {
    padding: 0;
    background: #c7e2f4;
    border: 1px solid #6cace0;
    border-top: 0;
}

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

.sidebar li {
    margin: 0;
    padding: 0;
}

.sidebar a,
.sidebar span.separator {
    display: block;
    min-height: 30px;
    padding: 0 10px 0 22px;
    color: #003b63;
    background: #9ec8ea;
    background: linear-gradient(to bottom, #b9daf2 0, #8abde3 100%);
    border: 1px solid #6cace0;
    border-top-width: 0;
    font-size: 13px;
    line-height: 30px;
    text-decoration: none;
}

.sidebar li:first-child > a,
.sidebar li:first-child > span.separator {
    border-top-width: 1px;
}

.sidebar a::before,
.sidebar span.separator::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 12px;
    margin-right: 7px;
    background: #1a5f92;
    vertical-align: -1px;
}

.sidebar a:hover,
.sidebar a:focus,
.sidebar li.current > a,
.sidebar li.active > a {
    color: #ffffff;
    background: #578ba2;
    background: linear-gradient(to bottom, #77a2b6 0, #466e81 100%);
}

.sidebar ul ul a {
    padding-left: 38px;
    background: #eef5fa;
}

.login-module {
    padding: 9px 8px;
}

.mod-login_form {
    display: block;
    margin: 0;
}

.mod-login_field {
    margin-bottom: 4px;
}

.mod-login_field input[type="text"],
.mod-login_field input[type="password"],
.mod-login_field input[type="email"] {
    width: 100%;
    max-width: 300px;
    height: 25px;
    padding: 2px 5px;
    border: 1px solid #6cace0;
    border-radius: 0;
    font-family: inherit;
    font-size: 12px;
}

.mod-login_field.checkbox label {
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn,
button,
input[type="submit"] {
    min-height: 23px;
    padding: 0 10px;
    border: 1px solid #3d91d6;
    border-radius: 3px;
    color: #ffffff;
    background: #578ba2;
    background: linear-gradient(to bottom, #77a2b6 0, #598ea6 45%, #466e81 100%);
    box-shadow: 1px 1px 2px 1px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    font-family: inherit;
    font-size: 13px;
}

.mod-login_links {
    margin: 6px 0 0;
    padding: 0 0 0 16px;
}

.main-content article,
.blog-featured article,
.blog-featured .items-leading > div,
.blog-featured .items-row .item,
.blog .items-leading > div,
.blog .items-row .item,
.item-page {
    margin: 0 0 8px;
    padding: 10px;
    background: var(--post-bg);
    border: 1px solid var(--post-border);
    border-radius: 8px;
    box-shadow: 0 0 4px rgba(45, 71, 83, 0.35);
}

.items-leading > div,
.items-row,
.item-page {
    margin-bottom: 8px;
}

.page-header h1,
.article-header h2,
.blog-featured h2,
.item-page h1,
.item-page h2,
.main-content h1,
.main-content h2 {
    margin: 10px 0 0;
    color: #000000;
    font-family: Arial, "Arial Unicode MS", Helvetica, sans-serif;
    font-size: 22px;
    font-weight: bold;
    line-height: 1.2;
}

.page-header h1 {
    font-size: 24px;
}

.article-header h2 a,
.blog-featured h2 a {
    color: #000000;
    text-decoration: none;
}

.article-header h2::before,
.blog-featured h2::before,
.blog h2::before,
.item-page h2::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 17px;
    margin-right: 6px;
    background: linear-gradient(35deg, #e8f6f1 0 48%, #17391f 50% 100%);
    border: 1px solid #6cace0;
    vertical-align: -2px;
}

.article-info,
.text-muted,
.created,
.published,
.modified {
    margin: 6px 0 10px;
    padding-top: 5px;
    color: #004b7d;
    border-top: 1px solid #6cace0;
    font-size: 12px;
}

.article-info::before,
.published::before,
.modified::before {
    content: "\1F5D3";
    margin-right: 6px;
    color: #1a5f92;
}

.article-body,
.art-article,
.blog-featured {
    color: #000000;
}

.article-body p,
.blog-featured p,
.item-page p {
    margin: 12px 0;
}

.main-content h3 {
    margin: 10px 0 0;
    color: var(--heading-color);
    font-size: 18px;
}

.main-content h4 {
    margin: 10px 0 0;
    color: #0c263b;
    font-size: 16px;
}

.main-content ul,
.main-content ol {
    margin: 8px 0 8px 22px;
    padding: 0;
}

.main-content table {
    max-width: 100%;
    border-collapse: collapse;
    color: #000000;
    font-size: 13px;
}

.main-content th,
.main-content td {
    padding: 4px 6px;
    border: 1px solid #dddddd;
    vertical-align: top;
}

.main-content .table-striped tr:nth-child(even),
.main-content table.category tr:nth-child(even) {
    background: #f6f9fb;
}

.main-content .table-bordered {
    border: 1px solid #dddddd;
}

.footer {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 5px;
    color: #000000;
    background: #6cace0;
    font-size: 11px;
    font-style: italic;
    font-weight: bold;
    text-align: center;
}

.footer .container {
    padding: 0;
}

.footer p,
.footer-bottom {
    margin: 0;
    padding: 0;
    border: 0;
}

.footer a,
.footer a:link,
.footer a:visited {
    color: #365563;
    text-decoration: none;
}

.footer a:hover {
    color: #17252b;
    text-decoration: underline;
}

.element-invisible {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
}

@media (max-width: 640px) {
    .container,
    .main-wrapper,
    .footer {
        width: 98%;
    }

    .layout-grid,
    .layout-grid.content-center,
    .layout-grid.content-right,
    .layout-grid.content-left {
        grid-template-columns: 1fr;
    }

    .sidebar,
    .sidebar-right {
        min-width: 0;
        border: 0;
    }
}

@media (max-width: 520px) {
    .header {
        height: auto;
        min-height: 135px;
        background-size: cover;
    }

    .header-title {
        position: relative;
        top: auto;
        left: auto;
        padding: 24px 12px;
        text-align: center;
    }

    .header-title h1,
    .header-title p {
        font-size: 28px;
        white-space: normal;
    }

    .header-title p {
        margin-left: 0;
    }

    .header-object {
        opacity: 0.55;
    }

    .main-nav ul.menu,
    .main-nav ul.nav {
        display: block;
    }

    .main-nav li,
    .main-nav li:first-child {
        margin: 1px 0;
    }

    .main-nav li::before {
        display: none;
    }

    .main-nav ul.menu > li > a,
    .main-nav ul.nav > li > a,
    .main-nav ul.menu > li > span,
    .main-nav ul.nav > li > span {
        height: auto;
        border-bottom: 1px solid #113450;
        border-radius: 9px;
        line-height: 30px;
        text-align: center;
    }

    .main-nav ul ul {
        position: static;
        display: block;
    }

    .main-nav ul ul a,
    .main-nav ul ul span {
        text-align: center;
    }

    .main-content article,
    .blog-featured article,
    .blog-featured .items-leading > div,
    .blog-featured .items-row .item,
    .blog .items-leading > div,
    .blog .items-row .item,
    .item-page {
        padding: 10px 8px;
    }
}
