/* cyrillic */
@font-face {
    font-family: 'Andika';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: local('Andika Regular'), local('Andika-Regular'), url('https://svlux.org.ua/fonts/andika/mem_Ya6iyW-LwqgwbrYQarw.woff2') format('woff2');
    unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

.body-style {
    background-color: #5f2e0a;
}

/*main*/

.main-wrapper {
    max-width: 964px;
    margin: 0 auto;
    padding: 13px 13px 0 13px;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    background-color: #a45107;
}

.inner-wrapper {
    position: relative;
    max-width: 964px;
    padding: 38.78453038674033% 20px 16px 20px;
    background-color: #fec85e;
}

.inner {
    max-width: 964px;
    margin: 0 auto;
    padding: 14px;
    box-shadow: -4px 4px 6px 1px rgba(0,0,0,0.4);
    background-color: #491806;
}

/*header*/

.main-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding-top: 38.78453038674033%;
}

.header-image {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: auto;
    image-rendering: pixelated;
}

/*content*/

.main-content {
    direction: rtl;
}

.content {
    width: 65%;
    padding: 12px 30px 14px 30px;
    display: inline-block;
    vertical-align: top;
    direction: ltr;
    background-color: #f6d6b8;
}

.content-header {
    margin-bottom: 0.5rem;
    text-align: justify;
}

.content-header p {
    display: inline;
}

.content-header-title {
    font-size: 0.9rem;
    display: inline;
}

.content p {
    font-size: 0.9rem;
    margin-bottom: 0;
    text-align: justify;
}

.content p + p {
    margin-top: 0.5rem;
}

.content ul {
    font-size: 0.9rem;
    text-align: justify;
    list-style: none;
}

.content ul li {
    position: relative;
}

.content ul li:before {
    position: absolute;
    left: -16px;
    content: "\2013";
}

/*aside-content*/

.aside-content {
    width: 35%;
    padding-right: 14px;
    display: inline-block;
    vertical-align: top;
    direction: ltr;
}

/*aside-content-contacts*/

.contacts {
    padding: 6px 18px 18px 18px;
    background-color: #fef5ec;
}

.contacts-header-title {
    font-family: 'Andika', sans-serif;
    font-weight: normal;
    margin-bottom: 0;
    text-align: center;
    cursor: default;
}

.contacts-title {
    font-size: 1rem;
    text-align: center;
    cursor: default;
}

.contacts-address {
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
}

.contacts-list {
    margin-bottom: 0;
    padding-left: 0;
    list-style: none;
}

.contacts-list li {
    font-size: 0.75rem;
    margin-bottom: 0;
}

.contacts-list li + li {
    margin-top: 0.5rem;
}

/*aside-content-partners*/

.partners {
    position: relative;
    margin-top: 3px;
    padding-top: 85%;
}

.partners-wrapper {
    position: absolute;
    top: 0;
    left: -20px;
    right: -20px;
    padding-top: 85%;
    padding-bottom: 18px;
    box-shadow: -4px 4px 6px 1px rgba(0,0,0,0.6);
    transform-origin: 100% 0 0;
    transform: rotate(-3deg);
    background: linear-gradient(to bottom, #95e7a7, #5cac67);
}

.partners-inner {
    position: absolute;
    top: 14px;
    left: 0;
    right: 0;
}

.partners-header {
    margin-bottom: 0.5rem;
}

.partners-title {
    font-family: 'Andika', sans-serif;
    font-weight: normal;
    margin-bottom: 0;
    text-align: center;
    cursor: default;
}

.partners-list {
    margin-bottom: 0;
    padding-left: 0;
    list-style: none;
    text-align: center;
}

.partners-link {
    color: #0056ab;
}

/*languages*/

.lang-select {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(246, 214, 184, 0.5);
}

.lang-list {
    margin-bottom: 0;
    padding-left: 0;
    list-style: none;
    text-align: right;
}

.lang-list-item {
    padding-right: 30px;
    display: inline-block;
}

a.lang-link {
    color: #000;
}

a.lang-link.select {
    font-weight: bold;
    text-decoration: underline;
}

a.lang-link:hover {
    text-decoration: none;
    color: #161616;
}

/*media queries*/

@media screen and (max-width: 964px) {
    .inner-wrapper {
        box-shadow: 0 0 10px rgba(0,0,0,0.5);
    }
}

@media screen and (max-width: 630px) {
    .main-wrapper {
        padding: 0;
    }

    .inner-wrapper {
        padding: 38.78453038674033% 0 0 0;
    }

    .inner {
        background-color: #fec85e;
    }

    .lang-select {
        left: auto;
        padding-left: 14px;
    }

    .lang-list-item {
        padding-right: 14px;
        display: list-item;
    }

    a.lang-link {
        font-size: 0.9rem;
    }

    .content,
    .aside-content {
        width: 100%;
        display: block;
    }

    .content {
        padding: 12px 14px 14px 14px;
    }

    /*media-aside-content*/

    .aside-content {
        margin-top: 14px;
        padding-right: 0;
    }

    .partners {
        margin-top: 14px;
        padding-top: 0;
    }

    .partners-wrapper {
        position: relative;
        left: 0;
        right: 0;
        padding-top: 0;
        box-shadow: none;
        transform-origin: initial;
        transform: none;
        background: linear-gradient(to bottom, #f6d6b8, #e6c4bc);
    }

    .partners-inner {
        position: relative;
        top: 6px;
    }

    .error-page .content-header {
        text-align: center;
    }

    .error-page .content p {
        text-align: center;
    }
}