@import "variables";

/*===============================================================*/
/* NAVIGATION/HEADER BAR */
/*===============================================================*/

.navbar {
    &.navbar-fixed-top {
        position: absolute;
    }
    background-color: #fff;
    border-bottom: solid 1px #000;
    padding: 30px 0;
    margin-bottom: 0;
    -webkit-transition: background-color .2s linear;
    -moz-transition: background-color .2s linear;
    -o-transition: background-color .2s linear;
    transition: background-color .2s linear;
    color: $appPrimaryColor;
    &.expand {
        background-color: #fff;
    }
    .navbar-header {
        float: none;
        text-align: center;
        a.logo {
            display: inline-block;
            text-align: center;
            margin-bottom: 0;
            img.header-logo {
                width: 150px;
                height: 49px;
            }
        }
        button {
            float: right;
            display: inline-block;
            position: absolute;
            top: 30px;
            right: 17px;
            &.languageButton {

                margin: 7px 0 0 0;
                padding: 0;
                border: 0;
                color: #333333;
                background-color: transparent;
            }
            .glyphicon {
                &.glyphicon-chevron-down {
                    position: relative;
                    top: -6px;
                }
            }
        }
    }
    .languageOption {
        display: inline-block;
        position: relative;
        width: 30px;
        height: 30px;
        border-radius: 50%;
        border: 2px solid #000;
        margin-right: 10px;
        background-color: $white;
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
    }
    .activLanguage {
        text-transform: uppercase;
        font-weight: bold;
    }
    #languageOptions {
        ul {
            margin-top: 25px;
            text-align: center;
            li {
                display: inline-block;
                margin: 0 10px 10px 0;
                a {
                    text-decoration: none;
                    transition: all .1s linear;

                    &.isSelected {
                        opacity: 0.5;
                        transition: none;
                        &:hover {
                            transform: translate(0, 0);
                            text-decoration: none;
                        }
                    }

                    &:hover {
                        transform: translate(0, -5px);
                        text-decoration: underline;
                    }
                }
            }
        }
    }
    a {
        display: block;
        text-decoration: underline;
        text-align: center;
        margin: 0 0 20px 0;
        color: $appPrimaryColor;
        font-weight: normal;
        text-transform: uppercase;

        &:last-child {
            margin: 0 0 0 0;
        }

        &:active,
        &:visited,
        &:focus {
            border: none;
            color: $appPrimaryColor;
            outline: none;
            outline-offset: 0;
        }

        &:hover {
            color: #ccc;
            text-decoration: none;
        }

        &.unformated {
            text-decoration: none;
            text-transform: none;
        }

    }
}

@media (max-width: 768px) {
    .navbar {
        .navbar-header {
            text-align: left;
            a.logo {
                text-align: left;
                margin-left: 15px;
            }
        }
    }
}

