/* COLORS
#101010 - темный aside
#181818 - темный для элементов
#EFEFEF - текст на темном фоне
#EFEFEF - светлосерый для линий
#59A4E4 - синий
#E4F6FF - легкий голубой, цвет облаков
gray - серый

BF - прозрачность 75%
80 - прозрачность 50%
*:hover - 0.85
*/

body {
    min-width: 800px;
    overflow-y: scroll
}

body.scroll-lock {
    overflow: hidden
}


/* GLOBAL  */

.grid {
    display: grid
}

.wrapper {
    grid-template-columns:190px minmax(0, 1fr);
    grid-template-areas: "aside main" "aside footer";
    min-height: inherit
}

.main {
    grid-area: main;
    min-height: inherit
}

.main-pages {
    width: 700px;
    margin: auto;
    padding: 20px 20px 40px
}

.warning-message {
    width: 100%;
    padding: 5px 20px;
    text-align: center;
    font-size: 14px;
    color: #FFF;
    background: red
}

.pwa {
    cursor: pointer
}

/* ASIDE */

.aside {
    grid-area: aside;
    background: #101010
}

.aside-inner {
    width: 100%;
    height: 100vh;
    padding: 20px;
    top: 0
}

.aside-inner .logo:hover {
    opacity: 0.85
}

.aside-inner .logo,
.aside-inner .logo img {
    width: 150px;
    height: 34px
}

.aside-inner nav {
    flex: 1 0 auto;
    justify-content: center;
    align-items: stretch
}

.aside-inner nav > a {
    width: 100%;
    position: relative;
    background: #202020;
    color: #FFF;
    border-radius: 10px;
    white-space: nowrap
}

.aside-inner nav > a.active,
.aside-inner nav > a:hover {
    background: #181818
}

.aside-inner nav > a.active:after {
    content: '\2022';
    color: red;
    position: absolute;
    top: 0;
    right: 10px
}

.aside-inner nav .text-link {
    padding: 8px 10px;
    box-sizing: border-box;
    cursor: pointer
}

.aside-inner .round {
    width: 100%;
    height: 100px;
    justify-content: center;
    align-items: center;
    overflow: hidden
}

.aside-inner .round img {
    width: 50px;
    height: 50px
}

.aside-inner .link-vip img {
    width: 55px;
    height: 55px
}

.aside-inner .langp {
    justify-content: space-between;
    align-items: stretch;
    column-gap: 10px;
    font-weight: bold;
    line-height: 1em;
    row-gap: 10px;
    position: relative;
    font-size: 22px
}

.aside-inner .langp,
.aside-inner .langp * {
    color: #EFEFEF
}

.aside-inner .lang-button {
    background-color: #202020;
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 16px;
    padding: 2px 10px
}

.aside-inner .lang-button:hover {
    background-color: #202020BF
}

/* NAV LINKS */

.nav-links {
    flex: 1 0 100%;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-end;
    column-gap: 20px;
    row-gap: 10px;
    white-space: nowrap
}

.nav-links a:hover,
.nav-links a.active {
    text-decoration: underline !important
}

/* FOOTER */

.footer {
    grid-area: footer;
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 40px;
    border-top: 1px solid #EFEFEF
}

.footer .text {
    flex: 0 0 590px
}

.footer .text p:not(:first-child) {
    margin-top: 20px
}

.footer .text img {
    width: 140px;
    height: 140px;
    margin-right: 40px;
    opacity: .5
}

.footer .copyright {
    flex: 0 0 180px;
    align-items: flex-end;
    text-align: right
}

.footer .social .item {
    display: flex
}

.footer .social .item:hover {
    opacity: .85;
    cursor: pointer
}

.footer .social img {
    width: 40px;
    height: 40px
}

.footer.not-main .copyright {
    flex: 1 0 180px;
    align-items: center;
    text-align: center
}

.footer.not-main .nav-links {
    justify-content: center;
    order: -1
}

/* MAIN PAGE */

.main-page {
    width: 100%;
    min-height: inherit;
    padding: 20px;
    justify-content: center;
    position: relative;
    background: url('../../images/bg-cloud.svg') no-repeat center center;
    background-size: cover
}

.main-page .area-2 {
    height: 120px
}

.main-page .main-logo {
    width: 180px;
    height: 180px;
    background: url('../../images/logo_e.svg') no-repeat center center
}

.main-page .area-2 .empty {
    width: 180px;
    height: 100%
}

.main-page .area-2 .line {
    width: 140px;
    height: 3px;
    border-radius: 2px;
    background: #18181880
}

.main-page .area-2 .line-left:first-child {
    transform: rotate(-48deg)
}

.main-page .area-2 .line-right:last-child {
    transform: rotate(48deg)
}

.main-page .area-3 .empty {
    width: 310px
}

.main-page .area-3 .empty h1 {
    font-size: 32px;
    font-weight: bold
}

.main-page .round {
    width: 180px;
    height: 180px;
    overflow: hidden;
    border-radius: 50%;
    background: #E4F6FF;
    color: #000
}

.main-page .round:hover {
    opacity: .85
}

.main-page .round img {
    width: 90px;
    height: 90px
}

.main-page .round span {
    font-size: 18px;
    font-weight: bold
}

/* CAT HEADER */

.cat-header {
    width: 100%;
    padding: 0 10px
}

/* SHORT */

.sa {
    flex: 0 0 100%;
    box-shadow: 0 0 20px #EFEFEF;
    border-radius: 10px
}

.sa .content {
    padding: 20px;
    overflow: hidden
}

.sa h2 {
    font-size: 24px
}

/* MAIN PAGES */

.main-pages .nav-links {
    flex: 0 0 auto;
    justify-content: flex-start
}

/* CONTENTS */

.h-menu {
    position: relative;
    padding: 20px;
    background-color: #E4F6FF;
    border-radius: 10px;
    font-size: 16px;
    overflow: hidden
}

.h-menu::before {
    content: url('../../images/logo_e.svg');
    width: 200px;
    opacity: .25;
    position: absolute;
    top: 20px;
    right: -100px
}

.h-menu .item {
    margin-top: 5px
}

.h-menu > .item:first-child {
    margin-top: 0
}

.h-menu .item > div {
    padding-left: 20px
}

.h-menu a {
    background: none !important;
    padding: 0 !important;
    border-radius: 0 !important
}

/* FULLSTORY */

.fsa .content {
    font-size: 18px
}

.fsa .content,
.fsa .content > *:not(:first-child) {
    margin-top: 18px
}

.fsa:first-child {
    margin-top: 0
}

.fsa,
.fsa .content > h1:not(:first-child),
.fsa .content > h2:not(:first-child),
.fsa .content > h3:not(:first-child),
.fsa .content > h4:not(:first-child),
.fsa .content > h5:not(:first-child),
.fsa .content > h6:not(:first-child) {
    margin-top: 36px
}

.fsa .content a {
    background: #E4F6FF;
    border-radius: 3px;
    padding: 0 5px
}

.fsa .content img {
    width: 100%;
    display: flex;
    max-height: 400px;
    border-radius: 3px
}

.fsa .content ul {
    padding: 0 0 0 30px
}

.fsa .content ol {
    padding: 0 0 0 20px
}

.fsa .content ul li {
    list-style-type: disc;
    display: list-item
}

.fsa .content ul li:not(:first-child),
.fsa .content ol li:not(:first-child) {
    margin-top: 5px
}

.fsa .content ol {
    counter-reset: count;
    list-style-type: none
}

.fsa .content ol li:before {
    counter-increment: count;
    content: counters(count, ".") ". "
}

.fsa .content.ol-stick > ol,
.fsa .content.ol-stick > ol > li > ol {
    padding-left: 0
}

.fsa .content.ol-stick ol li {
    margin-top: 5px
}

.fsa .content.ol-stick > ol > li:first-child {
    margin-top: 0
}

.fsa .button-link {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    width: 100%;
    border-radius: 10px !important;
    padding: 16px 60px 16px 20px !important;
    background: #E4F6FF url('../../images/arrow-top-right.svg') no-repeat right 20px center / 20px 20px !important
}

/* FEEDBACK */

.form-feedback input[type='submit'] {
    font-weight: bold
}

.form-feedback input[type='text'] {
    width: 400px;
    border-radius: 5px;
    font-size: inherit
}

.form-feedback textarea {
    width: 100%;
    font-size: inherit;
    border-radius: 5px
}

.form-feedback input[type='checkbox'] {
    margin-right: .5em
}

/* PRELOADER */

.preloader {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 1;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1000;
    background-color: #202020;
    transition: 0.5s !important
}

.preloader .preloader-image {
    width: 180px;
    height: 180px;
    overflow: hidden
}

.preloader .preloader-image img {
    width: 100%;
    height: 100%;
    object-fit: contain
}

.preloader-hide {
    opacity: 0
}

.pulse {
    animation-name: pulse;
    animation-duration: 1s;
    animation-iteration-count: infinite
}

@keyframes pulse {
    0% {
        width: 180px;
        height: 180px
    }
    20% {
        width: 250px;
        height: 250px
    }
    100% {
        width: 180px;
        height: 180px
    }
}

/* NOTIFICATION */

.notice {
    position: fixed;
    top: 10px;
    right: 10px;
    width: 300px;
    overflow: hidden;
    z-index: 110;
    background-color: #FFFFFF;
    padding: 10px 15px;
    border-radius: 10px;
    font-size: 14px
}

.notice hr {
    margin: 10px 0;
}

.notice .content {
    margin-bottom: 10px
}

.notice .buttons .item {
    white-space: nowrap;
    padding: 2px 15px;
    background-color: #0E51A7;
    color: #FFF;
    border-radius: 5px;
    font-size: inherit
}

.notice .buttons .item:hover {
    background-color: #003F8F;
    color: #FFF;
    text-decoration: none !important;
    cursor: pointer
}

/* LANG */

.lang-block {
    position: fixed;
    top: 0;
    left: 0;
    background-color: #000000E6;
    overflow: hidden;
    z-index: 1100
}

.lang-block .list {
    width: 500px;
    gap: 10px
}

.lang-block .close {
    width: 50px;
    height: 50px;
    position: absolute;
    top: 10px;
    right: 10px;
    background: url('../../images/close.svg') no-repeat center;
    background-size: 100% 100%
}

.lang-block .close:hover {
    opacity: .85;
    cursor: pointer
}

.lang-block .item {
    flex: 1 0 auto;
    font-weight: normal;
    padding: 20px;
    background-color: #303030;
    font-size: 30px;
    color: #FFF;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    text-align: center;
    border-radius: 5px
}

.lang-block a:hover,
.lang-block a.active {
    background-color: #59A4E4;
    color: #FFF
}