﻿.nav-bar {
    position: relative;
    z-index: 8000;
    width: 100%;
    text-align: right;
    /*height: 85px;*/
    /*background-color: red;*/
}

    .nav-bar .logo {
        float: left;
        width: 250px;
        padding: 5px 0px 5px 10px;
        position: relative;
        z-index: 8001;
        text-align: left;
    }

    .nav-bar .nav-bar__slidein-information {
    }

    .nav-bar .nav-bar__slidein-navigation {
    }

    .nav-bar .nav-bar__slidein-controls {
        height: 40px;
        position: relative;
        /*margin-top: 12px;*/
        margin-right: 20px;
    }

    .nav-bar .nav-bar__top-level {
        position: absolute;
        right: 40px;
        margin-top: 17px;
    }

        .nav-bar .nav-bar__top-level a,
        .nav-bar .nav-bar__top-level a:visited {
            /*color: white;*/
            }

        .nav-bar .nav-bar__top-level.authorised {
            /*right: 135px;*/
        }

        .nav-bar .nav-bar__top-level > ul {
            position: relative;
            list-style-type: none;
            padding: 0px;
            margin: 0px;
        }

            .nav-bar .nav-bar__top-level > ul > li {
                float: left;
                padding: 0px 11px;
            }

                .nav-bar .nav-bar__top-level > ul > li a,
                .nav-bar .nav-bar__top-level > ul > li a:visited {
                    font: 15px var(--font-family-title), arial, verdana;
                    text-decoration: none;
                    transition: all 0.05s ease-in;
                    }

                .nav-bar .nav-bar__top-level .nav-bar__top-level__sub-links a {
                    /*color: #697384;*/
                }

                .nav-bar .nav-bar__top-level > ul > li > a,
                .nav-bar .nav-bar__top-level > ul > li > a:visited {
                    display: inline-block;
                    padding-bottom: 4px;
                    }

                    .nav-bar .nav-bar__top-level > ul > li:hover > a,
                    .nav-bar .selected {
                        /*color: var(--secondary-color) !important;*/
                        border-bottom: 3px solid var(--link-color);
                    }

.nav-bar__top-level > ul > li {
    overflow: hidden;
    display: block;
    }

.nav-bar__top-level__sub-links {
    display: none;
    position: absolute;
    z-index: 1;
    margin-left: -12px;
    }

.nav-bar__top-level__sub-links__offset {
    height: 10px;
}

.nav-bar__top-level__sub-links__links {
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    border-radius: 5px;
    overflow: hidden;
    }

.nav-bar__top-level__sub-links__links a {
    float: none;
    color: black;
    padding: 10px 12px;
    text-decoration: none;
    display: block;
    text-align: left;
    }

.nav-bar__top-level__sub-links__links a:hover {
    background-color: #ddd;
    }

.nav-bar__top-level > ul > li:hover .nav-bar__top-level__sub-links {
    display: block;
    }

.nav-bar .nav-bar__slidein-controls.selected {
    display: none;
}

.nav-bar .nav-bar__slidein-controls .nav-bar__slidein-controls-navigation {
    float: right;
    width: 29px;
    height: 29px;
    background: url(../images/menu.png) no-repeat center center;
    background-size: contain;
    margin-top: 12px;
}

.nav-bar .navigation-widgets {
    z-index: 9000;
    position: absolute;
    top: 19px;
    right: 37px;
    width: auto;
    transition: all 0.3s ease;
    /*height: 54px;*/ /* This need to be here otherwise navigation cannot be clicked as its below the absolute div */
    clear: both;
}

    .nav-bar .navigation-widgets.navigation-widgets--expanded {
        width: 90%;
        max-width: 400px;
        /*background-color: #ffffff;*/
    }

    .nav-bar .navigation-widgets .navigation-widgets__widget {
        animation: 1s ease-out 0s 1 slideInFromRight;
        clear: both;
        display: inline-block;
        transition: all 0.3s ease;
        background-color: #14222c;
        width: 38px;
        height: 42px;
    }

        .nav-bar .navigation-widgets .navigation-widgets__widget.navigation-widgets__widget--language {
            float: right;
        }

        .nav-bar .navigation-widgets .navigation-widgets__widget.navigation-widgets__widget--login { /* float: right; */
            margin-right: 10px;
            border-radius: 3px;
            background-color: var(--secondary-color);
        }

        .nav-bar .navigation-widgets .navigation-widgets__widget.navigation-widgets__widget--logout {
            margin-right: 10px;
            border-radius: 3px;
            background-color: #7bd689;
        }

        .nav-bar .navigation-widgets .navigation-widgets__widget.navigation-widgets__widget--cart {
            margin-right: 6px;
            border-radius: 3px;
            background-color: #7bd689;
        }

        .nav-bar .navigation-widgets .navigation-widgets__widget.navigation-widgets__widget--dashboard {
            margin-right: 6px;
            border-radius: 3px;
            background-color: #7bd689;
        }

        .nav-bar .navigation-widgets .navigation-widgets__widget.navigation-widgets__widget--search {
            float: right;
            border-radius: 3px;
            background-color: #697384;
        }

        .nav-bar .navigation-widgets .navigation-widgets__widget.navigation-widgets__widget--login:hover {
            background-color: #389c1e;
        }

        .nav-bar .navigation-widgets .navigation-widgets__widget.navigation-widgets__widget--logout:hover {
            background-color: #62c271;
        }

        .nav-bar .navigation-widgets .navigation-widgets__widget.navigation-widgets__widget--cart:hover {
            background-color: #62c271;
        }

        .nav-bar .navigation-widgets .navigation-widgets__widget.navigation-widgets__widget--dashboard:hover {
            background-color: #62c271;
        }

        .nav-bar .navigation-widgets .navigation-widgets__widget.navigation-widgets__widget--search:hover {
            background-color: #475162;
        }

        .nav-bar .navigation-widgets .navigation-widgets__widget .navigation-widgets__widget__icon {
            float: left;
            display: inline-block;
            width: 38px;
            height: 42px;
            transition: all 0.3s ease;
            cursor: pointer;
            background-repeat: no-repeat;
            background-position: center center;
        }

        .nav-bar .navigation-widgets .navigation-widgets__widget.navigation-widgets__widget--language .navigation-widgets__widget__icon { /* set by javascript assessing google translate plugin */
        }

        .nav-bar .navigation-widgets .navigation-widgets__widget.navigation-widgets__widget--cart .navigation-widgets__widget__icon {
            background-image: url(../Images/cart-icon.png);
        }

        .nav-bar .navigation-widgets .navigation-widgets__widget.navigation-widgets__widget--cart .navigation-widgets__widget__count {
            position: absolute;
            /*margin: 4px 0px 0px 12px;*/
            margin: 13px 0px 0px -7px;
            width: 17px;
            height: 17px;
            line-height: 17px;
            background-color: var(--secondary-color);
            border-radius: 50%;
            text-align: center;
            color: white;
            font-weight: bold;
            font-size: 12px;
        }

        .nav-bar .navigation-widgets .navigation-widgets__widget.navigation-widgets__widget--search .navigation-widgets__widget__icon {
            background-image: url(../Images/search-icon.png);
        }

        .nav-bar .navigation-widgets .navigation-widgets__widget.navigation-widgets__widget--login .navigation-widgets__widget__icon {
            background-image: url(../Images/login-icon.png);
        }

        .nav-bar .navigation-widgets .navigation-widgets__widget.navigation-widgets__widget--logout .navigation-widgets__widget__icon {
            background-image: url(../Images/logout-icon.png);
        }

        .nav-bar .navigation-widgets .navigation-widgets__widget.navigation-widgets__widget--dashboard .navigation-widgets__widget__icon {
            background-image: url(../Images/dashboard.png);
        }

        .nav-bar .navigation-widgets .navigation-widgets__widget .navigation-widgets__widget__panel {
            display: inline-block;
            width: 0px;
            height: 42px;
            overflow: hidden;
            transition: all 0.3s ease;
        }

        .nav-bar .navigation-widgets .navigation-widgets__widget.navigation-widgets__widget.navigation-widgets__widget--search .navigation-widgets__widget__panel {
            
        }

        .nav-bar .navigation-widgets .navigation-widgets__widget.navigation-widgets__widget--expanded {
            width: calc(100% - 76px);
            margin: 0px !important;
            border: none;
        }

    .nav-bar .navigation-widgets.authorised .navigation-widgets__widget.navigation-widgets__widget--expanded {
        width: calc(100% - 100px);
        margin: 0px !important;
        border: none;
    }

    .nav-bar .navigation-widgets .navigation-widgets__widget.navigation-widgets__widget--expanded .navigation-widgets__widget__panel {
        width: calc(100% - 38px);
        padding-left: 7px;
        padding-right: 7px;
    }

        .nav-bar .navigation-widgets .navigation-widgets__widget.navigation-widgets__widget--expanded .navigation-widgets__widget__panel input,
        .nav-bar .navigation-widgets .navigation-widgets__widget.navigation-widgets__widget--expanded .navigation-widgets__widget__panel select {
            border: none;
            width: 100%;
            height: 36px;
            /* margin-top: 7px!important; */
        }

@media only screen and (max-width: 1024px) {
    .nav-bar .nav-bar__top-level > ul > li > a,
    .nav-bar .nav-bar__top-level > ul > li > a:visited,
    .nav-bar .nav-bar__top-level > ul > li > a:hover {
        display: none;
        visibility: hidden;
    }
}

@media only screen and (max-width: 768px) {

    /*.nav-bar .logo {
        width: 175px;
    }*/

    .nav-bar .navigation-widgets {
        top: 13px;
    }

    .nav-bar .nav-bar__slidein-controls .nav-bar__slidein-controls-navigation {
        margin-top: 20px;
    }

    /*.nav-bar .nav-bar__slidein-controls {
        height: 40px;
        position: relative;
        margin-top: 2px;
        margin-right: 20px;
    }

    .nav-bar .nav-bar__top-level {
        position: absolute;
        right: 150px;
        margin-top: 5px;
        margin-right: 20px;
    }

    .nav-bar .navigation-widgets.navigation-widgets--expanded {
        width: 70%;
    }*/
}