.navigator {
    display: -ms-grid;
    display: grid;
    margin-bottom: 30px;
    -ms-grid-columns: 1fr 25px 1fr 25px 1fr 25px 1fr 25px 1fr;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none;
}

.navigator.navigator--sm + .navigator.navigator--sm {
    margin-top: 10px;
}

.navigator.navigator--sm {
    gap: 10px;
    margin: 0;
}

.navigator .navigator__link.grey i {
    color: inherit !important;
    background: #ffffff !important;
}

.navigator .navigator__link:hover i, .navigator .navigator__link.active i {
    background: #215f86;
    color: #ffffff;
}

.navigator .navigator__link.active i.mask::before,
.navigator .navigator__link:hover:not(.active) i.mask::before {
    background-color: #ffffff;
}

.navigator .navigator__link.grey i.mask::before {
    background: #999999 !important;
}

.navigator .navigator__link i.mask::before {
    content: '';
    width: 100%;
    height: 100%;
    display: block;
    background-color: #215f86;
}

.navigator .navigator__link i.navigator__icon--radar::before {
    -webkit-mask: url(https://tophotels.ru/csstx/i/radar.svg) no-repeat center/16px;
    mask: url(https://tophotels.ru/csstx/i/radar.svg) no-repeat center/16px;
}

.navigator .navigator__link i.navigator__icon--stream::before {
    -webkit-mask: url(https://tophotels.ru/csstx/i/search-price.svg) no-repeat center/16px;
    mask: url(https://tophotels.ru/csstx/i/search-price.svg) no-repeat center/16px;
}

.navigator .navigator__link i.navigator__icon--globe-search::before {
    -webkit-mask: url(https://tophotels.ru/csstx/i/globe-search.svg) no-repeat center/16px;
    mask: url(https://tophotels.ru/csstx/i/globe-search.svg) no-repeat center/16px;
}

.navigator .navigator__link i.fa-log::before {
    -webkit-mask: url(https://tophotels.ru/csstx/i/log.svg) no-repeat center/16px;
    mask: url(https://tophotels.ru/csstx/i/log.svg) no-repeat center/16px;
}

.navigator .navigator__link i {
    margin-right: 15px !important;
    min-width: 25px;
    height: 25px;
    color: #215f86;
    line-height: 25px;
    border-radius: 5px;
    text-align: center;
    background: #ffffff;
}

.navigator .navigator__link .navigator__right{
    margin-left: auto;
}
.navigator .navigator__link {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    background: #d4e4f2;
    color: #475669;
    text-transform: uppercase;
    font-size: 14px;
    padding: 8px 15px 8px 15px;
    border-radius: 5px;
    border: 0px solid #fff !important;
}

.navigator .navigator__link:hover, .navigator .navigator__link.active {
    background-color: #a7c6e2;
}

@media screen and (max-width: 1200px) {
    .navigator {
        gap: 10px;
    }

    .navigator.navigator--sm {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media screen and (max-width: 1023px) {
    .navigator.navigator--sm {
        grid-template-columns: repeat(3, 1fr);
    }

    .navigator:not(.navigator--sm) {
        white-space: nowrap;
        overflow: auto;
        margin-bottom: 20px;
    }

    .navigator:not(.navigator--sm) .navigator__link {
        width: auto;
        padding: 8px 20px 8px 10px;
    }
}

@media screen and (max-width: 767px) {
    .navigator.navigator--sm .navigator__link {
        font-size: 14px;
        font-weight: normal;
        padding-left: 10px;
    }

    .navigator.navigator--sm {
        grid-template-columns: repeat(1, 1fr);
    }

    .navigator .navigator__link i.mask::before {
        -webkit-mask-size: 12px;
        mask-size: 12px;
    }

    .navigator .navigator__link i {
        min-width: 20px;
        height: 20px;
        line-height: 20px;
        font-size: 11px;
        margin-right: 10px;
    }
}