:root {
    --dblue: #001e4b;
    --two: #00d7ff;
    --white: #ffffff;
    --gray: #a0a0a0;
    --body-bg: #f0f0f0;
    --border-color: #ccc;
    --border-light: #818181;
    --box-shadow-lg: 0 0 1rem #00000012;
}

a:hover {
    color: #957c8c;
}

@font-face {
    font-family: "Nk-iconos";
    src: url("/components/com_newarkchat/assets/fonts/Nk-iconos.woff2") format("woff2"),
        url("/components/com_newarkchat/assets/fonts/Nk-iconos.woff") format("woff"),
        url("/components/com_newarkchat/assets/fonts/Nk-iconos.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

.icon {
    font-family: "Nk-iconos" !important;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: var(--dblue);
    font-size: 20px;
}

.icon-whatsapp:before { content: "\f000"; }
.icon-wallpaper:before { content: "\f001"; }
.icon-visibility_off:before { content: "\f002"; }
.icon-visibility_no:before { content: "\f003"; }
.icon-visibility_no_new:before { content: "\f004"; }
.icon-visibility_lock:before { content: "\f005"; }
.icon-user:before { content: "\f006"; }
.icon-tg:before { content: "\f007"; }
.icon-telegram:before { content: "\f008"; }
.icon-smile:before { content: "\f009"; }
.icon-send:before { content: "\f00a"; }
.icon-quote:before { content: "\f00b"; }
.icon-pm:before { content: "\f00c"; }
.icon-pm_chat:before { content: "\f00d"; }
.icon-palette:before { content: "\f00e"; }
.icon-notifications:before { content: "\f00f"; }
.icon-notifications_on:before { content: "\f010"; }
.icon-notifications_off:before { content: "\f011"; }
.icon-nk_logo:before { content: "\f012"; }
.icon-more_vert:before { content: "\f013"; }
.icon-max:before { content: "\f014"; }
.icon-logout:before { content: "\f015"; }
.icon-keyboard:before { content: "\f016"; }
.icon-important:before { content: "\f017"; }
.icon-history:before { content: "\f018"; }
.icon-group:before { content: "\f019"; }
.icon-file_open:before { content: "\f01a"; }
.icon-email:before { content: "\f01b"; }
.icon-edit:before { content: "\f01c"; }
.icon-crossed:before { content: "\f01d"; }
.icon-copy:before { content: "\f01e"; }
.icon-attach:before { content: "\f01f"; }
.icon-add:before { content: "\f020"; }
.icon-account_circle:before { content: "\f021"; }

@import url('https://fonts.googleapis.com/css2?family=Roboto+Flex:wght@100..1000&display=swap');

@font-face {
    font-family: 'Roboto Flex';
    src: url('RobotoFlex-VF.woff2') format('woff2-variations');
    src: url('RobotoFlex-VF.woff2') format('woff2') tech('variations');
    font-weight: 100 1000;
    font-stretch: 25% 151%;
}

.container-header.full-width.position-sticky.sticky-top {
    display: flex;
    align-items: center;
}

body {
    font-family: var(--font-family-base);
    font-weight: 400;
    background-image: url(/images/home/stucco-1.webp);
    background-size: 10%;
}

body>header>div:nth-child(1)>div>a>img {
    width: 35%;
    margin-left: 10px;
}

body>header>div.grid-child.container-nav {
    padding: 0;
}

body>header>div:nth-child(1)>div>a {
    display: flex;
}

.container-header nav {
    margin: 0;
}

#system-message-container,
joomla-alert {
    display: none !important;
}

#top>header>span {
    color: #fff;
    font-size: 26px;
    padding-right: 20px;
    padding-left: 40px;
}

.nk-login-btn .icon {
    color: #fff;
}

.debug.card {
    position: absolute;
    border: none;
    top: -100em;
}

.debug.card.nk-card-higgen {
    position: fixed;
    top: -100em;
}

div#nk-overlay {
    background: rgb(0 0 0 / 85%);
    z-index: -2;
    display: flex;
    position: fixed;
    width: 100%;
    bottom: 0;
    right: 0;
    top: 0;
    height: 100dvh;
    left: 0;
    align-items: center;
    justify-content: center;
    visibility: hidden;
}

div#nk-overlay.nk-show {
    z-index: 1000;
    visibility: visible;
}

#nk-overlay>div.mod-login__userdata.userdata {
    padding: 30px 30px 10px;
    border-radius: 5px;
    z-index: 1000;
    font-family: "Roboto Flex", sans-serif;
    background: transparent;
    backdrop-filter: blur(5px);
    box-shadow: 0 -1px 10px 0px rgb(255 255 255 / 35%);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.nk-border-top,
.nk-border-bottom,
.nk-border-left,
.nk-border-right {
    position: absolute;
    z-index: 1;
    pointer-events: none;
}

.nk-border-top {
    top: -1px;
    left: 3%;
    width: 94%;
    height: 1px;
    background-image: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgb(255 255 255) 85%, rgba(255, 255, 255, 0) 100%);
}

.nk-border-bottom {
    bottom: 0;
    left: 3%;
    width: 94%;
    height: 1px;
    background-image: linear-gradient(90deg,
            rgba(255, 255, 255, 0) 0%,
            rgb(255 255 255 / 100%) 40%,
            rgba(255, 255, 255, 0) 100%);
}

.nk-border-right {
    top: 0;
    right: -1px;
    width: 1px;
    height: 100%;
    background-image: linear-gradient(0deg,
            rgba(255, 255, 255, 0) 0%,
            rgb(255 255 255 / 100%) 50%,
            rgba(255, 255, 255, 0) 100%);
}

.nk-border-left {
    position: absolute;
    top: 0;
    left: -1px;
    width: 1px;
    height: 100%;
    background-image: linear-gradient(0deg,
            rgba(255, 255, 255, 0) 0%,
            rgb(255 255 255 / 100%) 50%,
            rgba(255, 255, 255, 0) 100%);
}

#form-login-remember-16>label,
#nk-overlay>div>ul>li>a {
    color: var(--two);
    text-decoration: none;
}

#nk-overlay>div>div.mod-login__submit.form-group>button {
    border: 1px solid var(--two);
}

@media (width>=992px) {
    .container-header .mod-menu {
        flex-direction: row;
        flex: 1;
        display: flex
    }

    .container-header .mod-menu:where(.mod-menu__sub:not(.mod-menu__sub *)) {
        z-index: 1001;
        background-color: #fff;
        min-width: 12rem;
        margin: 0;
        padding: 0;
        display: block;
        position: absolute;
        top: 100%
    }
}

.container-header {
    background-image: linear-gradient(135deg, var(--dblue) 0%, var(--dblue) 100%);
}

/*Главная*/
.home-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.home-greeting {
    font-size: 28px;
    font-weight: 300;
    font-style: italic;
    color: #d4a373;
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: 2px;
}

.home-block {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
}

.home-block--left .home-block__image {
    flex: 1;
}

.home-block--left .home-block__text {
    flex: 1;
}

.home-block--right {
    flex-direction: row-reverse;
}

.home-block--right .home-block__image {
    flex: 1;
}

.home-block--right .home-block__text {
    flex: 1;
}

.home-block--full {
    flex-direction: column;
}

.home-block--full .home-block__image {
    width: 100%;
}

.home-block--full .home-block__text {
    width: 100%;
}

.home-block__image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

.home-block__text {
    font-size: 18px;
    line-height: 1.6;
}

.home-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    padding: 20px 0;
}

.home-link {
    font-size: 20px;
    color: #d4a373;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s;
}

.home-link:hover {
    border-bottom-color: #d4a373;
}

.home-block__image img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
}

/* Адаптив для мобилок */
@media (max-width: 768px) {
    .home-block {
        flex-direction: column !important;
        gap: 20px;
    }

    .home-block--right {
        flex-direction: column !important;
    }
}

.cookie-banner {
    position: fixed;
    font-family: "Roboto Flex", sans-serif;
    font-weight: 400;
    max-width: 550px;
    background: rgba(255 255 255 / 0.85);
    backdrop-filter: blur(5px);
    border: 1px solid var(--two);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    border: none;
    animation: slideIn 0.3s ease;
    bottom: 0;
    top: auto;
    left: 50%;
    transform: translateX(-50%);
    margin: 0 0 20px 0;
}

@keyframes slideIn {
    from {
        transform: translateY(100px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-banner p {
    margin: 0 0 5px 0;
    font-size: 1rem;
    font-weight: 600;
    color: #000;
}

.nk-cookie {
    margin: 0;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

@media (max-width: 768px) {
    .cookie-banner {
        width: 96%;
    }

    .nk-cookie {
        margin: 0;
        display: flex;
        align-items: center;
        flex-direction: column;
        gap: 13px;
    }
}

.cookie-btn {
    background: var(--dblue);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background 0.2s;
    text-transform: none;
}

.cookie-btn:hover {
    background: var(--dblue);
}

a.cookie-link {
    font-size: 1.1rem;
    color: #004bff;
    text-decoration: underline;
    margin-left: 5px;
}

.moduletable {
    padding-right: 1px;
}

.nk-kunena-latest {
    overflow: auto;
    padding: 0;
    margin: 10px 0;
}

.nk-kunena-latest::-webkit-scrollbar {
    width: 6px;
}

.nk-kunena-latest::-webkit-scrollbar-track {
    border-radius: 4px;
    width: 6px;
}

.nk-kunena-latest::-webkit-scrollbar-thumb {
    background: var(--dblue);
    border-radius: 4px;
    width: 6px;
}

.nk-kunena-latest::-webkit-scrollbar-thumb:hover {
    background: var(--two);
}

.nk-kunena-meta {
    color: var(--user-registered-color);
    font-weight: 400;
}

.moduletable {
    background: #fff;
    border-radius: 4px;
    box-shadow: 0px 0px 3px #00000045;
}

.container-sidebar-right>div>ul>li {
    padding: 10px 15px;
}

.nk-kunena-excerpt {
    font-size: 14px;
}

.container-sidebar-right>div>div>ul>li {
    padding-bottom: 10px;
    list-style-type: disc;
}

.container-sidebar-right>div>div>ul>li::before {
    content: '•' !important;
    margin-right: 7px;
    color: #848484;
}

.nk-kunena-date {
    font-size: 12px;
    color: #706f6f;
}

footer.container-footer.footer.full-width {
    background: var(--dblue);
}

div#mod-custom114 {
    width: stretch;
}

.footer .grid-child {
    padding: 30px 0;
}

.nk-wrap-footer {
    color: #ccc;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

a.menu-logo.footer-logo {
    width: 165px;
}

.nk-footer-line {
    width: 1px;
    background: #ccc;
    height: 45px;
    position: relative;
}

.mailcustom {
    margin: 3px 0;
    display: block;
    font-size: 14px;
    text-decoration: none;
}

.color-gray {
    font-size: 20px;
    color: #ccc;
    transition: .3s;
}

.icon-email:hover {
    color: rgb(0 119 255);
    text-shadow: rgb(0 119 255) 0px 0px 5px, rgb(0 119 255) 0px 0px 10px, rgb(0 119 255) 0px 0px 20px, rgb(0 119 255) 0px 0px 40px;
}

.icon-telegram:hover {
    color: rgb(41 160 221);
    text-shadow: rgb(41 160 221) 0px 0px 5px, rgb(41 160 221) 0px 0px 10px, rgb(41 160 221) 0px 0px 20px, rgb(41 160 221) 0px 0px 40px
}

.icon-whatsapp:hover {
    color: rgb(43 183 65);
    text-shadow: rgb(43 183 65) 0px 0px 5px, rgb(43 183 65) 0px 0px 10px, rgb(43 183 65) 0px 0px 20px, rgb(43 183 65) 0px 0px 40px
}

.icon-max:hover {
    color: rgb(141 84 235);
    text-shadow: rgb(141 84 235) 0px 0px 5px, rgb(141 84 235) 0px 0px 10px, rgb(141 84 235) 0px 0px 20px, rgb(141 84 235) 0px 0px 40px
}

.nk-calendar {
    font-size: 14px;
}

i.fa-regular.fa-calendar,
i.fa-regular.fa-copyright {
    margin-right: 10px;
}

.nk-icon-footer {
    display: flex;
    justify-content: space-between;
    width: 10%;
    height: 24px;
}

.container-header .mod-menu :where(.mod-menu__sub:not(.mod-menu__sub *)) {
    background-color: var(--dblue);
    margin: 12px 0 0 0;
    border-radius: 5px;
}

.container-header .mod-menu .parent>ul {
    color: var(--two);
}

.mod-list li .mod-menu__sub {
    padding: 5px 1em;
}

.mod-list li:not(:last-child) {
    border-bottom: 1px solid var(--border-color);
}