﻿.bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    align-items: center;
    justify-content: space-around;
    z-index: 7;
    width: 100%;
    height: 65px;
    line-height: 16px;
    background-color: #fff;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, .05);
}

.bottom-nav.affix-bottom {
    visibility: hidden;
}

.bottom-nav__item {
    display: block;
    display: flex;
    flex-direction: column;
    position: relative;
    align-items: center;
    flex-grow: 1;
    justify-content: center;
    padding-bottom: 14px;
    width: 10%;
    text-align: center;
}

.bottom-nav__item::after {
    position: absolute;
    right: 0;
    width: 1px;
    height: 37px;
    background-color: #e3e3e3;
    content: "";
}

.bottom-nav__item:last-child::after {
    display: none;
    content: "";
}

.bottom-nav__item__icon__container {
    margin-bottom: 2px;
    transform: scale(.6617647059);
    transform-origin: center bottom;
}

.bottom-nav__item__text {
    letter-spacing: .365px;
    color: #373737;
    transform: scale(.9166666667);
}

@media screen and (min-width: 1024px) {
    .bottom-nav {
        display: block;
        visibility: hidden;
        top: calc(50% + 35px) !important;
        right: 0;
        bottom: auto;
        width: 65px;
        height: auto;
        background-color: rgba(255, 255, 255, .9);
        box-shadow: 0 4px 8px rgba(0, 0, 0, .19);
        transform: translateY(-50%);
    }

    .bottom-nav.affix-top {
        visibility: hidden;
    }

    .bottom-nav.affix {
        visibility: visible;
    }

    .bottom-nav.affix-bottom {
        visibility: visible;
    }

    .bottom-nav::before {
        display: block;
        width: 100%;
        height: 6px;
        background-color: #c01821;
        content: "";
    }

    .bottom-nav__item {
        padding: 8px 0;
        width: 100%;
    }

    .bottom-nav__item::after {
        position: absolute;
        left: 50%;
        bottom: 0;
        width: 86%;
        height: 1px;
        background-color: #e3e3e3;
        transform: translateX(-50%);
        content: "";
    }

    .bottom-nav__item:last-child::after {
        display: none;
        content: "";
    }

    .bottom-nav__item__icon__container {
        width: 32px;
        transform: none;
    }

    .bottom-nav__item__text {
        font-size: 15px;
        letter-spacing: .53px;
    }

    .bottom-nav__item__text:lang(en) {
        font-size: 14px;
        letter-spacing: 0;
    }
}

@media screen and (min-width: 1366px) {
    .bottom-nav {
        top: calc(50% + 39.5px) !important;
        width: 74px;
        font-size: 14px;
    }

    .bottom-nav::before {
        height: 6px;
    }

    .bottom-nav__item__text {
        font-size: 15px;
    }
}

@media screen and (min-width: 1600px) {
    .bottom-nav {
        top: calc(50% + 44.5px);
        width: 65px;
    }

    .bottom-nav::before {
        height: 7px;
    }

    .bottom-nav__item__text {
        font-size: 15px;
    }
}

@media screen and (min-width: 1920px) {
    .bottom-nav {
        top: calc(50% + 64px);
        width: 65px;
    }

    .bottom-nav::before {
        height: 8px;
    }
}

@media screen and (min-width: 2560px) {
    .bottom-nav {
        top: calc(50% + 80px) !important;
    }
}
