/* .tm-header .uk-sticky {
  background: linear-gradient(177deg, #070707 32.33%, rgba(7, 7, 7, 0) 98.93%);
} */

@font-face {
    font-family: "Onest";
    src: url("Onest-Bold.eot");
    src: local("Onest Bold"), local("Onest-Bold"),
    url("Onest-Bold.eot?#iefix") format("embedded-opentype"),
    url("Onest-Bold.woff2") format("woff2"),
    url("Onest-Bold.woff") format("woff"),
    url("Onest-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Onest";
    src: url("Onest-ExtraBold.eot");
    src: local("Onest ExtraBold"), local("Onest-ExtraBold"),
    url("Onest-ExtraBold.eot?#iefix") format("embedded-opentype"),
    url("Onest-ExtraBold.woff2") format("woff2"),
    url("Onest-ExtraBold.woff") format("woff"),
    url("Onest-ExtraBold.ttf") format("truetype");
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Onest";
    src: url("Onest-Black.eot");
    src: local("Onest Black"), local("Onest-Black"),
    url("Onest-Black.eot?#iefix") format("embedded-opentype"),
    url("Onest-Black.woff2") format("woff2"),
    url("Onest-Black.woff") format("woff"),
    url("Onest-Black.ttf") format("truetype");
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

.uk-navbar-transparent {
    /* background: linear-gradient(177deg, #070707 32.33%, rgba(7, 7, 7, 0) 98.93%); */
}

.uk-button-primary,
.uk-button-secondary,
.custom_switcher .el-nav {
    position: relative;
    background-color: transparent;
    transition: 0.3s;

    &:hover::before {
        background: linear-gradient(82deg, #a329b134 2.43%, #2f94aa56 100%)
        border-box;
    }
}

.uk-button-primary::before,
.uk-button-secondary::before,
.custom_switcher .el-nav::before,
.switcher_nav .uk-nav::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 16px;
    border: 3px solid transparent;
    background: linear-gradient(82deg, #a329b1 2.43%, #2f93aa 100%) border-box;
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;

    height: 100%;
    width: 100%;
    left: -3px;
    top: -3px;
}

.uk-button-secondary {
    padding-right: 58px;

    &:hover {
        opacity: 0.7;
        &::after {
            transform: translateY(-50%) translateY(-5px) translateX(5px);
        }
    }

    &::after {
        content: "";
        position: absolute;
        top: 50%;
        right: 16px;
        background-image: url(/images/main/ArrowUpRight%201.svg);
        width: 32px;
        height: 32px;
        transform: translateY(-50%);
        transition: 0.3s;
    }
}

.custom_switcher::after {
    animation: sun-rise 8s ease-in-out infinite;
}

#what_can::after,
.podcasts::after {
    animation: purple-rise 15s ease-in-out infinite;
}

#what_can::after,
.podcasts::after {
    z-index: 1;
    pointer-events: none;
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translatex(-50%);
    border-radius: 1295px;
    opacity: 0.4;
    background: radial-gradient(
            50% 50% at 50% 50%,
            #e846fb 0%,
            rgba(232, 70, 251, 0) 100%
    );
    width: 1295px;
    height: 1068px;
}

.inputs_block {
    & img {
        transition: 0.3s;
        &:hover {
            cursor: pointer;
            opacity: 0.7;
        }
        &:active {
            transform: scale(1.8);
        }
    }

    & .el-content {
        width: max-content;
        display: flex;
        border-radius: 10px;
        transition: 0.1s;
        & input[type="text"] {
            pointer-events: none;
            max-height: 56px;
            text-align: center;
            border-radius: unset;
            max-width: 155px;
            width: 100%;
            background: rgba(255, 255, 255, 0.2);
            box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
        }

        &:hover {
            box-shadow: 0px 0px 14px 7px #a329b1;
        }

        &:active {
            box-shadow: 0px 0px 14px 7px #a329b1a2;
        }

        & div {
            overflow: hidden;

            &:first-child {
                border-radius: 10px 0 0 10px;
            }

            &:last-child {
                border-radius: 0 10px 10px 0;
            }
        }
    }
}

.uk-checkbox {
    position: relative;
    overflow: visible;
    transition: 0.3s;

    &:hover {
        opacity: 0.7;
        cursor: pointer;
    }

    &:checked {
        background-image: url("/images/stoimost/Check.svg");
        box-shadow: 0px 0px 14px 7px #a329b1;
        &::after {
            content: "";
            position: absolute;
            inset: 0;
            border-radius: 8px;
            border: 3px solid transparent;
            background: linear-gradient(82deg, #a329b1 2.43%, #2f93aa 100%) border-box;
            mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
            mask-composite: exclude;
            height: 30px;
            width: 30px;
            left: -2px;
            top: -2px;
        }
    }
}

.content_block {
    overflow-y: scroll;
    max-height: 170px;
    padding-right: 20px;

    &::-webkit-scrollbar {
        width: 7px;
        background-color: #f9f9fd44;
    }

    &::-webkit-scrollbar-thumb {
        border-radius: 10px;
        background-color: #a329b1;
    }

    &::-webkit-scrollbar-track {
        /* -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.2); */
        border-radius: 10px;
        /* background-color: #f9f9fd; */
    }
}

.slidenav_custom,
.el-content .slidenav_custom {
    position: relative;
    /* overflow: unset;
    overflow-x: clip; */

    overflow: visible;

    & .uk-slider-container {
        overflow: visible;
    }

    & .uk-invisible {
        visibility: visible !important;
        opacity: 0.3;
        pointer-events: none;
    }

    & .uk-slidenav-container {
        gap: 24px;
        position: absolute !important;
        top: -120px;
        right: 0;
        z-index: 3;
    }

    & .el-slidenav {
        background-image: url(/images/main/ArrowRight.svg);
        width: 24px;
        height: 24px;
        transition: 0.3s;
        background-repeat: no-repeat;
        background-position: center;

        & svg {
            opacity: 0;
        }

        &:first-child {
            transform: scale(-1, 1);
        }
    }
}

.links {
    & a {
        transition: 0.3s;
        &:hover {
            opacity: 0.5;
        }
    }
}

.btn_play .el-link,
.btn_play .uk-button-primary {
    padding-left: 54px;
    position: relative;

    &::after {
        content: "";
        position: absolute;
        left: 20px;
        top: 50%;
        transform: translateY(-50%);
        width: 24px;
        height: 24px;
        background-image: url(/images/main/Play.svg);
        transition: 0.3s;
    }
    &:hover::after {
        transform: translateY(-50%) scaleX(1.3);
    }
}

.uk-button-form-large .el-content {
    width: 100%;
    max-width: 220px;
}

.uk-dotnav {
    & a {
        transition: 0.3s;
        opacity: 0.4;

        &:hover,
        &:active {
            opacity: 0.2;
        }
    }
    .uk-active a {
        opacity: 1;
    }
}

@keyframes sun-rise {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.3;
    }
}

.uk-padding-top-large {
    padding-top: 120px;
}

.uk-padding-bottom-large {
    padding-bottom: 120px;
}

#your_studio::after {
    animation: studio-rise 15s ease-in-out infinite;
}

#projects_page::after {
    animation: projects-top 15s ease-in-out infinite;
}
#projects_page::before {
    animation: projects-bottom 15s ease-in-out infinite;
    animation-delay: 2s;
}

.tm-top {
    padding: 40px 0 24px;
}

.uk-breadcrumb,
.tm-top nav {
    margin-bottom: 0px !important;
}

.uk-margin-top-medium-small {
    margin-top: 32px !important;
}

.btn_full .el-content {
    width: 100%;
}

.uk-modal-body {
    color: white;
}

.bg_gradient .uk-card,
.podcasts {
    position: relative;
}
.bg_gradient .uk-card::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    border-radius: 24px;
    opacity: 0.5;
    background: var(
            --Gradient,
            linear-gradient(82deg, #a329b1 2.43%, #2f93aa 100%)
    );
    filter: blur(20px);
    animation: sun-rise 8s ease-in-out infinite;
}

.uk-modal-dialog {
    border-radius: 16px !important;
    overflow: hidden;
}

.hours_block,
.studios_block {
    & .el-item {
        transition: 0.3s;
        &:hover {
            cursor: pointer;
            opacity: 0.7;
        }
    }
}

.bg_gradient .uk-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    z-index: 3;
    width: 100%;
    height: 100%;
    border-radius: 24px;
    background: #141414;
}

.badge_gray span {
    color: #fff;
    font-family: Onest;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px; /* 150% */
    padding: 4px 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.2);
    margin-left: 16px;
}

.map_btn .el-content {
    position: relative;
    padding-right: 58px;
    &::after {
        content: "";
        position: absolute;
        top: 50%;
        right: 16px;
        transform: translateY(-50%);
        width: 32px;
        height: 32px;
        background-image: url(/images/main/routing-2.svg);
        transition: 0.3s;
    }
    &:hover::after {
        transform: translateY(-50%) scale(1.2) rotate(-25deg);
    }
}


.opacity_delay{
    opacity: 1 !important;
    transition: .3s !important;
    transition-delay: 0.5s !important;
}

.toup{
    transform: translatex(-50%) translateY(-40px) !important;
    opacity: 0 !important;
    transition-delay: 0.3s !important;
}

@keyframes projects-top {
    0%,
    100% {
        opacity: 0.7;
        transform: translate(-50%, -10%);
    }
    50% {
        opacity: 0.3;
        transform: translate(-50%, 30%);
    }
}

@keyframes projects-bottom {
    0%,
    100% {
        opacity: 0.7;
        transform: translate(-50%, 30%);
    }
    50% {
        opacity: 0.3;
        transform: translate(-50%, -30%);
    }
}

@keyframes purple-rise {
    0%,
    100% {
        opacity: 0.7;
        transform: translate(-50%, 0%);
    }
    50% {
        opacity: 0.3;
        transform: translate(-50%, 90%);
    }
}

@keyframes studio-rise {
    0%,
    100% {
        opacity: 0.7;
        transform: translate(-50%, 0%);
    }
    50% {
        opacity: 0.3;
        transform: translateX(-50%) scale(1.2);
    }
}

.switcher_nav {
    & .uk-nav {
        max-width: max-content;
        border-radius: 16px;

        & .uk-active a {
            background: linear-gradient(82deg, #a329b1 2.43%, #2f93aa 100%);
            color: white;
        }
    }
    & .uk-nav li:first-child a {
        border-radius: 10px 0px 0px 10px;
    }
    & .uk-nav li:last-child a {
        border-radius: 0px 10px 10px 0px;
        border-left: 3px solid #ffffff61;
    }
    & .uk-nav::before {
        height: 98%;
        width: 369px;
        left: -3px;
        top: -2px;
        pointer-events: none;
    }
}

.tm-page {
    background: #070707;
}

@media (max-width: 1100px) {
    .content_block {
        max-height: 150px;
        padding-right: 16px;
    }
}

@media (max-width: 960px) {
    .panel_form {
        padding: 16px !important;

        & .el-content {
            justify-content: center;
        }
    }
    .uk-card-small {
        padding: 25px !important;
    }
    .switcher_nav {
        & .uk-nav a {
            padding: 10px;
        }
        & .uk-nav {
            margin: 0 auto;
            justify-content: center;

            &::before {
                width: 100%;
            }
        }
    }

    .custom_switcher {
        padding: 25px !important;
    }
}

@media (max-width: 480px) {
    .custom_switcher {
        padding: 20px !important;
        & .el-nav {
            flex-direction: row !important;
            margin-bottom: 30px !important;

            & a {
                font-size: 3vw;
                padding: 2vw !important;
            }
        }
    }
}

.hidden-arrow-opacity {
    visibility: hidden;
    opacity: 0;
}

#tm-dialog-mobile .uk-offcanvas-close:first-child {
    display: none;
}

#module-129 {
    position: absolute;
    top: 40px;
    left: 32px;
    width: 32px;
    height: 32px;

    & button {
        display: block !important;
        width: 32px;
        height: 32px;
    }

    & img {
        width: 32px;
        height: 32px;
    }
}

@media (max-width: 375px) {
    .custom_switcher {
        & .el-nav {
            & a {
                font-size: 2.5vw;
            }
        }
    }
}

@media (max-width: 335px) {
    .switcher_nav {
        & .uk-nav {
            flex-direction: column;
        }
        & .uk-nav a {
            border-radius: 10px !important;
        }
    }
}

@media (min-width: 960px) {
    .slidenav_custom {
        & .el-nav {
            display: none;
        }
    }
}
