.navbar {
    @extend .width-one;
    border-radius: 0 0 $border-radius $border-radius;
    margin: 0 auto;
    padding: 0 10px;
    box-shadow: $box-shadow;

    #my-photo {
        height: 30px;
        border-radius: 50%;
    }

    span {
        font-family: "KGJune";
        color: $primary;
        font-size: 2.2rem;
    }

    .navigation {
        &__item {
            display: inline-block;
            vertical-align: bottom;
            text-decoration: none !important;
            border-bottom: 5px solid transparent;
            // margin: 3px 5px 0;
            padding: 1px 5px;
            line-height: $line-height-sm;

            /* &:hover {
                border-bottom: 5px solid $primary-dark;
            } */

            a:hover {
                text-decoration: none;
            }

            i[class*="ic-"] {
                color: $gray-500;
                font-size: 2.4rem;
            }

            i.ic {
                &-conversation {
                    color: $yellow
                }
    
                &-avatar {
                    color: $purple
                }
    
                &-help {
                    color: $red
                }
    
                &-disconnect {
                    color: $orange
                }
            }

            span[class*="mail-count"],
            .new-mails {
                position: relative;
                top: -10px;
                right: 10px;
                display: inline-block;
                height: 20px;
                width: 20px;
                background: $red;
                border-radius: 50%;
                font-family: "Arial";
                font-size: 12px;
                font-weight: bold;
                color: white;
                text-align: center;
                line-height: 20px;
                margin-right: -15px;
            }
        }
    }
}

.navigation--secondary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    @extend .width-one;

    .logo {
        display: inline-block;
        max-width: 250px;
        margin: 20px 0;
    }

    .navigation {
        .button {
            background-color: $secondary;
            border: 2px solid $white;
            border-radius: $border-radius;
            padding: 5px 10px;
            margin-left: 5px;
            font-family: "KGJune";
            text-transform: uppercase;
            text-decoration: none;
            font-size: 2.4rem;
            color: white;

            &:hover {
                background-color: $secondary-dark;
            }
        }
    }
}

@include media-breakpoint-down(md) {
    .navbar,
    .navigation--secondary {
        position: fixed;
        z-index: 100;
        width: 100%;
        min-width: inherit;
        background: $white;
    }

    .navbar {
        border-radius: 0;
        top: 0;
        padding: 2px 5px;

        .navigation {
            &__item {
                padding: 0;
                margin: 0 0.3rem;
            }
        }

        a.application__title {
            display: block;
            width: calc(100% - 155px);
            font-size: 1.3rem;
        }
    }

    .navigation--secondary {
        bottom: 0;
        left: 0;
        right: 0;
        padding-top: 5px;
        box-shadow: 0 -0.25rem 1rem rgba(0, 0, 0, 0.15);

        .navigation {
            width: 100%;
            display: flex;
            justify-content: space-around;
            text-align: center;

            .button {
                background-color: transparent;
                border: none;
                border-radius: 0;
                padding: 0;
                color: $secondary-dark;
                // color: white;
                flex-grow: 1;

                &:hover,
                &:active {
                    color: $secondary-dark;
                    background-color: transparent;
                }
            }
        }
    }
}