pre {
    color: #aaa !important;
}

div {
    /* border: 1px solid #f00; */
}

body,
html {
    background-color: #171717;
    /* background-color: #cccbcb; */
    color: #ffffff;
}



h1,
h2,
h3,
h4,
h5,
h6 {
    color: #6A79FF;
}

h1 {
    font-size: 120px;
    font-weight: 900;
    text-align: right;
    line-height: 120%;
}

h2 {
    font-size: 20px;
    font-weight: 500;
    text-align: left;
    line-height: 120%;
    color: #fff;
    padding: 0px;
    margin: 0px;

}

.pt-3 {
    padding-top: 3rem !important;
}



.module,
.module p {
    line-height: 120%;
    color: #fff;
    padding: 0px;
    margin: 0px;
}

header {
    height: 60px;

}

.fgcont {
    width: 1200px;
}

ul.nav {
    gap: 60px;
}

a,
:focus,
:active,
a:focus,
a:active {
    color: #eee;
}

a.nav-link {
    padding: 0px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
}

.nav-item:hover {
    background-color: inherit;
    color: #fff;
    text-decoration: underline !important;
}

.mtl {
    margin-top: 300px;
}

.mts {
    margin-top: 150px;
}

.mbs {
    margin-bottom: 150px;
}

/* .block {
    flex-wrap: nowrap;
} */

.block-left {
    flex: 0 1 200px;
}

.block-content p,
.block-content {
    padding: 0px;
    font-size: 48px;
    font-weight: 700;
}

.contacts-main {
    background-color: #fff;
    padding: 50px;
    display: flex;
    justify-content: space-between;
    color: #171717;

}

.contacts-main__copy {
    display: flex;
    align-items: center;
    gap: 20px;
}

.copy-text {
    font-size: 32px;
    font-weight: 400;
}

.user-block__title {
    font-size: 16px;
    font-weight: 700;
    display: flex;
    gap: 0.5rem;
}

.user-block__title_name {
    color: #808080;
}

.icon-copy {
    background-image: url('/icons/copy_black.svg');
}

.usersblock {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    flex: 1 0 100%;
}

.usersblock-item.right {
    text-align: right;
}

.user-block {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 400px;
}

.user-block__image {
    width: 400px;
    height: 600px;
}

.user-block__image img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.usersblock-item.left.mtuser {
    margin-top: 450px;
}

.wrap.rem8 {
    word-wrap: break-word;
    width: 8rem;
}

/* div#cnt-articles {
    height: 400px;
    overflow: hidden;
} */

.decor-block {
    display: flex;
    gap: 90px;
}

input,
select,
textarea {
    background-color: #ddd !important;
    color: #000 !important;
}

.cnt-decor {
    display: flex;
    gap: 90px;
    margin-bottom: 150px;
}

.decor {
    width: 40px;
    height: 100%;
}

.decor-top {
    width: 40px;
    height: 40px;
    border-radius: 40px;
    background-color: #888;
}

.decor-bottom {
    width: 8px;
    height: inherit;
    background-color: #888;
    margin: 0 auto;
    margin-top: 20px;
}

.decor.selected .decor-top,
.decor.selected .decor-bottom {
    background-color: #6A79FF;
}

.module p {
    word-break: break-word;
}

.nav-btn {
    position: relative;
    width: 60px;
    height: 50px;
    color: #fff;
    top: 0px !important;
    right: 0px;
}

.nav-btn>span {
    height: 8px;
    top: 17px;
    background-color: #fff;
}

.nav-btn>span::before {
    content: "";
    top: -17px;
    height: 8px;
    background-color: #fff;
}

.nav-btn>span::after {
    content: "";
    top: 17px;
    height: 8px;
    background-color: #fff;
}

.block-article {
    border-bottom: 1px solid #888;
    margin-bottom: 50px;
    flex: 1;
}

.block-article.no-border:hover,
.block-article.no-border {
    border: none;
}

.cnt-decor:hover .block-article {
    /* border-bottom: 1px solid #fff; */
    color: #fff;
}



.cnt-decor:hover .decor-top,
.cnt-decor:hover .decor-bottom {
    background-color: #6A79FF;
}

.block-article:hover p {
    color: #fff;
}

.block-article,
.block-article p {
    color: #888;
    font-size: 48px;
    transition: color 0.5s ease-in-out;
}

.article-name {
    font-weight: 700;
    margin-bottom: 40px;
    word-break: break-all;
}

.article-short_content,
.article-short_content p {
    font-size: 32px;
    /* margin-bottom: 40px; */
    font-weight: 400;
}

.article-short_description {
    color: #eee;
}

.article-date {
    font-size: 20px;
    font-weight: 500;
    color: #747474;
}



.cnt-articles__bottom:hover {
    color: #fff;
}


a.bottom-link {
    display: block;
    font-size: 24px;
    font-weight: 800;
    text-align: right;
    color: #aaa;
    width: 100%;
}

a.bottom-link:hover {
    color: #fff;
}

.blocks {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    color: #eee;
}

h2.block-h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.block.project {
    position: relative;
    width: 300px;
    height: 450px;
    padding: 0px;
    border: 2px solid #ddd;
}

.block-icons {
    position: absolute;
    width: 100%;
    background-color: #000000;
    opacity: 0.2;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    /* height: 30px; */
}

.block-icons .icon {
    height: 30px;
}

.block-icons .icon img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.block-image {
    padding: 0px;
}

.blocks.projects {
    flex-direction: row;
    justify-content: space-around;
}


.page .block-content ul {
    padding-left: 50px;
}

.page .block-content li {
    font-size: 1.3rem;
    list-style: disc;
    font-weight: 100;
}

.page .block-content li:not(:last-child) {
    margin-bottom: 1rem;
}

strong.bold {
    font-weight: 700;
}

.wp-scroll-y {
    height: inherit;
    overflow: hidden;
    overflow-y: scroll;
}

.wp-scroll-y {
    scrollbar-width: 4px;
}

.wp-scroll-y::-webkit-scrollbar {
    width: 4px;
}

.wp-scroll-y::-webkit-scrollbar-track {
    background: #454545;
}

.wp-scroll-y::-webkit-scrollbar-thumb {
    background-color: #ffffff;
}

/* site-toolbar */
.site-toolbar {
    display: flex;
    gap: 20px;
    align-items: center;
}

ul.site-toolbar__nav {
    position: relative;
}

li.nav-button {
    padding: 10px 20px;
    border: 1px solid #aaa;
    border-radius: 7px;
    cursor: default;
    color: #aaa;
}

li.nav-button:hover {
    background-color: #444;
}

ul.site-toolbar__nav ul.subnav {
    display: none;
    position: absolute;
    z-index: 1;
    top: 38px;
    left: 0px;
    width: 700px;
    height: 500px;
    padding: 20px;
    background-color: #171717;
}

ul.site-toolbar__nav li.nav-button:hover ul.subnav {
    display: block;
}

ul.site-toolbar__nav ul.subnav li {
    padding: 10px 0px;
    font-size: 20px;
    word-wrap: break-word;
}

ul.site-toolbar__nav ul.subnav li:hover {
    background-color: #777;
}

/*article*/
.article {
    display: flex;
    gap: 30px;
}

.articles-list__item:not(:last-child) {
    border-bottom: 1px solid #d9d9d9;
}

.article-image {
    width: 100px;
    height: 100px;
    flex: 0 0 20%;
}

.article-image img {
    object-fit: contain;
}

.article-body {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.articles-list__item .article-date {
    display: flex;
    font-size: 20px;
    font-weight: 500;
    flex: 1 1 100%;
    align-items: end;
}

.article-date .date {
    font-size: 0.8rem;
    color: #888;
}

h2.article-title {
    font-size: 1.7rem;
    margin-bottom: 0.8rem;
}

/* page */

h1.page-name {
    text-align: left;
    font-size: 2rem;
}

.page-content {
    color: #eee;
}

.page-date {
    margin-bottom: 1rem;
    font-size: 0.8rem;
    color: #888;
}



/* footer */

footer {
    color: #eee;
}

/* style file */
.static {
    position: static;
}

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.fixed {
    position: fixed;
}

.search-group {
    display: flex;
    align-items: center;
    gap: 5px;
    /* border: 2px solid #aaa; */
    box-shadow: 0px 0px 4px #ffffff inset;
    border-radius: 6px;
}

.search-group input {
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
}

.search-group:last-child {
    padding-right: 5px;
}

button.icon.icon-search.absolute {
    background-color: inherit !important;
    border: none;
    right: 5px;
    top: calc(50% - 13px);
}

.nav.headermenu.active .nav-link {
    padding: 20px;
}


@media (max-width : 1200px) {
    .fgcont {
        width: 1000px;

    }

    h1 {
        font-size: 170px;
    }

    ul.nav {
        gap: 40px;
    }
}

@media (max-width : 1000px) {
    .fgcont {
        width: 640px;
        padding: 0px 20px;
    }

    h1 {
        font-size: 48px;
    }

    h2 {
        font-size: 16px;
    }


    ul.nav {
        background-color: #171717;
    }

    .block-left {
        flex: 0 1 125px;
    }

    .user-block {
        width: 300px;
    }

    .user-block__image {
        width: 300px;
        height: 450px;
    }

    .block.project {
        width: 270px;
        height: 350px;
    }

    .article-short_content,
    .block-content p,
    .block-content {
        font-size: 20px;
        padding: 5px;
    }

    .user-block__title {
        font-size: 14px;
        font-weight: 500;

    }

    .contacts-main {

        padding: 20px;

    }


    .header-row {
        justify-content: space-between;
        font-size: 0.8rem;
    }

    .article-name {
        font-size: 30px;
        line-height: 120%;
        word-break: auto-phrase;
        margin-bottom: 30px;
    }

    .article-date {
        font-size: 16px;

    }

    .wrap.rem8 {
        word-wrap: break-word;
        width: auto;
    }

    .cnt-decor {
        gap: 30px;

    }


}


@media (max-width : 640px) {
    .fgcont {
        width: 100%;
        padding: 0px 20px;
    }

    .usersblock {
        flex-direction: column;
        align-items: center;
    }

    .user-block__title {
        order: 1;
        margin-bottom: 30px;
    }

    .contacts-main {
        flex-direction: column;
        justify-content: center;
    }

    .block {
        flex-direction: column;
    }

    a.bottom-link {

        font-size: 20px;
    }

    .block.project {
        width: 150px;
        height: 200px;
    }

    .block-left {
        flex: 1 0 30px;
    }

    .mtl {
        margin-top: 50px;
    }

    .usersblock-item.left.mtuser {
        margin-top: 30px;
    }

    .site-toolbar {
        flex-direction: column;
        align-items: start;
    }

    .article-image {
        width: 80px;
        height: 80px;
    }

}