.nt-scheme {
    position: relative;
    z-index: 21;
}
.clearfix:after{
    display: block;
    content: "";
    clear: both;
}
.nt-scheme-wrap {
    border-radius: 12px;
    background: #E8F3FC;
    overflow: hidden;
    display: flex;
}

.nt-scheme-btn {
    width: 38px;
    background: rgba(197, 227, 251, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    color: var(--ltu-theme-green);
    cursor: pointer;
}


.nt-scheme-btn svg {
    transition: transform 200ms;
}

.nt-scheme-btn-text {
    white-space: nowrap;
    margin-bottom: 5px;
}

.nt-scheme-btn-text::before {
    content: attr(data-text);
}

.open-scheme .nt-scheme-btn-text {
    margin-bottom: 10px;
}

.open-scheme .nt-scheme-btn-text::before {
    content: attr(data-hide);
}

.nt-scheme-content {
    flex: 1;
    padding: 7px;
    display: flex;
    gap: 10px;
}

.nt-scheme-item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 3px;
    width: 100%;
    text-decoration: none;
    height: 100%;
}

.nt-scheme-item-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nt-scheme-item-image img {
    max-width: 110px;
    max-height: 90px;
}

.nt-scheme-button {
    display: inline-block;
    border-radius: 40px;
    border: 1px solid rgba(122, 66, 156, 0);
    padding: 4px 11px;
    transition: all 400ms;
    text-align: center;
    font-size: 14px;
    line-height: 1.2;
}

.nt-scheme-item.active a,
.nt-scheme-item a:hover {
    color: rgba(122, 66, 156, 1);
}

.nt-scheme-item.active a .nt-scheme-button,
.nt-scheme-item a:hover .nt-scheme-button {
    border-color: rgba(122, 66, 156, 1);
}

.nt-scheme-road {
    position: absolute;
    left: 0;
    top: 100%;
    z-index: 21;
    background: #D5ECFF;
    width: 100%;
    height: 100%;
    border-radius: 0 0 12px 12px;
    overflow: hidden;
    opacity: 0;
    transition: all 800ms;
    display: none;
}

.open-scheme .nt-scheme-road {
    opacity: 1;
    display: block;
}

.nt-scheme-road-content {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.nt-scheme-pc {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.nt-scheme-pc svg {
    width: 100%;
    max-width: 90%;
    height: auto;
}

.nt-scheme-mobile {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 9px;
    padding: 10px;
    width: 100%;
}

.nts-group {
    border-radius: 12px;
    background: #EBF6FF;
    padding: 10px 7px;
    font-size: 14px;
    color: #658B97;
}

.nts-group a {
    text-decoration: none;
}

.nts-group-title {
    font-weight: 700;
    margin-bottom: 8px;
}

.nts-element {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 5px;
}

.nts-element-image {
    width: 60px;
    background: url("../img/mobile-background-icons.png") center bottom / contain no-repeat;
    text-align: center;
}

.nts-element-image img {
    margin: 0 auto 15px;
}

.nts-element-title {
    flex: 1;
}

.nt-scheme-categories {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    padding: 10px;
    background: var(--ltu-theme-blue);
    width: 100%;
    margin-top: 25px;
}

.nt-scheme-categories-item {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    padding: 7px 10px;
    white-space: nowrap;
    border-radius: 100px;
    color: var(--ltu-theme-blue);
    cursor: pointer;
    line-height: 1.2;
    font-size: 0.875rem;
    font-size: clamp(0.875rem, 0.85rem + 0.125vw, 0.875rem);
    text-decoration: inherit;
}

.nt-scheme-corner {
    content: "";
    position: absolute;
    z-index: -1;
    top: -21px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.nt-scheme-corner svg {
    width: 100%;
    height: auto;
    fill: var(--ltu-theme-blue);
}

.open-scheme .nt-scheme-wrap {
    border-radius: 12px 12px 0 0;
}

.open-scheme .nt-scheme-btn svg {
    transform: rotate(90deg);
}

.nt-scheme-road image {
    transition: all 400ms;
    cursor: url("../img/road/cursor_50.png"), auto;
}

.nt-scheme-road image.hide {
    opacity: 0;
}

@media (hover: hover) {
    .gray-image {
        opacity: 0;
    }

    .gray-image:hover {
        opacity: 1;
    }
}


@media (max-width: 991px) {


    .nt-scheme-wrap {
        flex-direction: column-reverse;
    }

    .nt-scheme-content {
        overflow-x: auto;
        padding-bottom:16px;
        margin-bottom: 10px;
    }

    .nt-scheme-content::-webkit-scrollbar {
        height: 2px;
    }

    .nt-scheme-content::-webkit-scrollbar-track {
        background: #C6D6E3;
    }

    .nt-scheme-content::-webkit-scrollbar-thumb {
        background-color: #0095AD;
    }

    .nt-scheme-btn {
        height: 25px;
        width: 100%;
        flex-direction: row-reverse;
        font-size: 14px;
        gap: 10px;
    }

    .nt-scheme-btn svg {
        transform: rotate(-90deg);
        width: 20px;
        height: 20px;
    }

    .nt-scheme-road {
        height: auto;
        min-height: calc(100vh - 250px);
    }

    .open-scheme .nt-scheme-road {
        height: 100%;
        overflow: hidden;
    }
    .open-scheme .nt-scheme-road-content {
        overflow: auto;
    }
    .open-scheme .nt-scheme-btn-text{margin: 0;}
    .nt-scheme-btn-text {margin: 0;}

    .nt-filter.is-affixed .nt-scheme-content {
        display: none;
        transition: transform 0.3s ease;
    }
    .open-scheme .nt-filter.is-affixed .nt-scheme-content {
        display: flex;
    }
}

@media (min-width: 992px) {

    .nt-scheme-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 23px;
        padding: 15px 7px;
    }

    .nt-scheme-btn {
        flex-direction: column;
    }

    .nt-scheme-btn-text {
        transform: rotate(-90deg);
    }

    .nt-scheme-item a {
        justify-content: center;
    }

    .nt-scheme-item-image img {
        max-height: none;
    }

    .nt-scheme-button {
        white-space: nowrap;
    }

    .open-scheme .nt-scheme-wrap {
        border-radius: 0 12px 12px 0;
    }

    .open-scheme .nt-scheme-btn svg {
        transform: scale(-1,1);
    }

    .nt-scheme-road {
        top: 0;
        background: #E8F3FC;
        height: 100%;
        width: 0;
        transform: translateX(-100%);
        max-width: 1568px;
        border-radius: 12px 0 0 12px;
        opacity: 0;
        transition: opacity 400ms;
    }

    .open-scheme .nt-scheme-road {
        opacity: 1;
        transform: translateX(-100%) scale(1);
        width: calc(100vw - 252px - 56px);
    }

    .nt-scheme-categories {
        gap: 20px clamp(0.5rem, -0.3345rem + 3.5604vw, 0.5rem);
        padding: 20px 15px;
    }

    .nt-scheme-categories-item {
        padding: 12px 12px;
        border-radius: 100px;
        font-weight: 600;
    }
}

@media (min-width: 1200px) and (max-height: 850px) {
    .nt-scheme-content {
        gap: 10px;
        justify-content: space-between;
    }

    .nt-scheme-item-image img {
        max-width: 54px;
    }
}

@media (min-width: 1600px) {
    .open-scheme .nt-scheme-road {
        width: calc(100vw - 252px - 76px);
    }
    .nt-scheme-categories {
        gap: 30px clamp(0.5rem, -0.3345rem + 3.5604vw, 1rem);
        padding: 20px 25px;
    }
}

@media (max-width: 420px) {
    .nt-scheme-item-image img {
        max-width: 40px;
        max-height: 35px;
    }
}