.nav {
    width: calc(100% + 12px);
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 22px;
}


.nav .nav__link:not(.grey):hover .nav__icon {
    color: #ffffff;
    background-color: #215f86;
}

.nav .nav__link:not(.grey):hover {
    background-color: #bdd6ec;
}

.container > .nav:last-child {
    margin-bottom: -8px;
}

.page .nav__link .nav__icon i.fas {
    font-size: 18px;
}

.nav__num {
    position: absolute;
    top: 22px;
    text-align: center;
    width: 100%;
    left: 0;
    font-size: 28px;
}

.nav__squares {
    background: url(/i/tophotels_pro_new/squares.svg) center/20px no-repeat;
    position: absolute;
    right: 5px;
    top: 5px;
    display: block;
    width: 30px;
    height: 30px;
}

.nav__right-icon:hover {
    color: #2973a1;
}

.nav__right-icon.left {
    right: auto;
    left: 10px;
}

.nav__right-icon {
    color: #999999;
    position: absolute;
    right: 10px;
    z-index: 2;
    top: 10px;
    font-size: 12px;
}

.nav__abs-link {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    z-index: 1;
}

.nav__soon.nav__soon--orange {
    background-color: #ff8e41;
}

.nav__soon.nav__soon--green {
    background-color: #00a551;
}

.nav__soon.nav__soon--blue {
    background-color: #215f86;
}

.nav__soon.nav__soon--grey {
    background-color: #999999;
}

.nav__soon {
    position: absolute;
    right: 5px;
    min-width: 25px;
    top: 5px;
    font-size: 10px;
    line-height: 16px;
    padding: 0 5px;
    color: #ffffff;
    border-radius: 3px;
    background: #e03a3a;
}

.nav .fa-tags-slashed::before {
    content: '\f02c';
}

.nav .fa-tags-slashed::after {
    position: absolute;
    content: "\f05e";
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    color: #ffffff;
    margin: auto;
    font-size: 13px;
}

.nav__push {
    display: block;
    color: #ffffff !important;
    text-align: center;
    width: 20px;
    height: 20px;
    line-height: 19px;
    font-size: 12px;
    font-weight: normal;
    background: #e03a3a;
    border-radius: 100%;
    position: absolute;
    right: calc(50% - 35px);
    top: 10px;
    z-index: 1;
}

.nav .nav__link:hover .nav__icon svg {
    fill: #ffffff;
}

.nav .nav__link .nav__icon svg {
    width: 35px;
    height: 35px;
    fill: #215f86;
}

.nav .nav__link.bg-light-red {
    background-color: #e6c9c6 !important;
}

.nav .nav__link {
    width: calc(16.6% - 7px);
    margin: 0 7px 8px 0;
    background-color: #d4e4f2;
    position: relative;
    color: #475669;
    border: none;
    font-weight: normal;
    padding: 77px 0 15px 0;
    text-align: center;
    font-size: 14px;
    border-radius: 2px;
    font-family: 'apercu_pro', sans-serif;
    text-transform: uppercase;
}

.nav .nav__link.grey {
    background-color: #eeeeee;
}

.nav .nav__link.grey .nav__icon {
    border-color: #cccccc;
    color: #cccccc;
}

.nav .nav__link.grey .nav__icon svg {
    fill: #cccccc;
}

.nav .nav__soon.fa-arrow-up:hover .hint {
    display: block;
}

.nav .nav__soon.fa-arrow-up {
    background: transparent;
    top: 9px;
}

.nav .nav__soon.fa-arrow-up::before {
    transform: rotate(45deg);
    display: block;
    color: #215f86;
    font-size: 22px;
}

.nav .nav__icon img {
    display: block;
    width: 35px;
    height: 35px;
    margin: 7px auto;
    object-fit: contain;
}

.nav.nav--20p .nav__link {
    width: calc(20% - 7px);
}

.nav .nav__icon {
    font-size: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 15px;
    text-align: center;
    line-height: 50px;
    transition: 0.2s;
    width: 50px;
    height: 50px;
    color: #215f86;
    border: 1px solid #215f86;;
    background: #ffffff center/25px no-repeat;
    border-radius: 5px;
    left: calc(50% - 25px);
}

.nav__link.nav__link--ava .nav__icon {
    border: none;
    background: transparent !important;
}

.nav__link.nav__link--ava {
    padding-bottom: 10px;
}

.nav__link.nav__link--ava img {
    border-radius: 5px;
    width: 100%;
    height: 100%;
    margin: 0;
}

.nav .nav__icon.nav__icon--wheel {
    background-image: url(/i/tophotels_pro_new/wheel.png) !important;
}

.nav .nav__icon.nav__icon--log {
    background-image: url(/i/tophotels_pro_new/folders.png) !important;
}

@media screen and (max-width: 1500px) {

    .nav .nav__link {
        font-size: 11px;
        padding: 55px 0 10px 0;
    }

    .nav .nav__link .nav__icon svg {
        width: 20px;
        height: 20px;
    }

    .nav .nav__icon {
        width: 35px;
        height: 35px;
        line-height: 35px;
        font-size: 20px;
        left: calc(50% - 17px);
        top: 10px;
    }

    .nav {
        flex-wrap: wrap;
    }

    .page .nav__link .nav__icon i.fas {
        font-size: 13px;
    }
}

@media screen and (max-width: 1023px) {
    .nav .nav__link {
        width: calc(33.3% - 7px) !important;
    }
}

@media screen and (max-width: 767px) {
    .nav .nav__link {
        margin: 0 5px 5px 0;
        width: calc(50% - 5px) !important;
    }
}
