﻿/* CSS Document */

/* Add a black background color to the top navigation */

/* Adjust body top-margin to height of full nav */
body {
    margin-top: 160px;
}
/* Adjust body top-margin to height of full nav */

.navigation {
    position: fixed;
    width: 100%;
    height: 160px;
    margin: 0;
    top: 0;
    left: 0;
    z-index: 9999;
    background: rgb(255,255,255);
}

    .navigation ul {
        margin: 0 auto;
        padding: 0 2.5vw;
        text-align: center;
        max-width: 1300px
         /*margin-top: 10px;*/
   }

        .navigation ul > li.burbidge_logo {
            width: 100%;
            height: 80px;
            margin: 10px 0 30px 0;
            -webkit-transition: none;
            -moz-transition: none;
            -o-transition: none;
            transition: none;
            display: flex;
            align-items: center;
            justify-content: space-between
        }

            .navigation ul > li.burbidge_logo img {
                height: 80px;
                object-fit: contain
            }

    .navigation li.burbidge_logo div {
        text-align: center;
    }

    .navigation li.burbidge_logo a {
        display: inline;
        margin: 0;
        padding: 0;
        white-space: initial;
        /*line-height: 0.8em*/
}

#full-logo {
    display: block
}

#small-logo {
    display: none;
}

#icon-logo {
    display: none;
}

.navigation li {
    display: inline-block;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    vertical-align: top;
    /*margin: 0;*/
    /*padding: 0;*/
    /*white-space: nowrap;*/
}

    .navigation ul ul {
        display: none;
        margin-top: 0;
        padding: 0;
        overflow: auto;
        background: rgba(255,255,255,0.9)
    }

        .navigation ul ul li {
            display: block;
        }

    .navigation ul li:hover ul {
        display: block;
    }
    /* No rollover for first bullet */
    .navigation ul li:not(.burbidge_logo):hover {
        -webkit-transition: none;
        -moz-transition: none;
        -o-transition: none;
        transition: none;
    }


/* Style the links inside the navigation bar */
.navigation a {
    font-family: proxima-nova;
    text-transform: uppercase;
    font-weight: 700;
    display: block;
    /*line-height: 30px;*/
    vertical-align: middle;
    transition: all 0.3s;
    margin: 0 10px 10px 10px;
    /*white-space: nowrap;*/
}

    /* Change the color of links on hover */

    /* .navigation ul li:not(.burbidge_logo) a:hover { */
    .navigation a:hover {
    color: rgb(157,34,53);
    background: none;
    -webkit-transition: none;
    -moz-transition: none;
    -o-transition: none;
    transition: none;
}


    /* Add an active class to highlight the current page */
    .navigation .selected {
        color: rgb(157,34,53)
    }

    /* Hide the link that should open and close the navigation on small screens */
    .navigation .icon {
        display: none;
    }



    /* When the screen is less than 800px pixels wide, hide all links, except for the first one (KM Logo). Show the link that contains open and close the navigation (.icon) */
    @media screen and (max-width: 800px) {
        .navigation {
            height: auto;
        }

            .navigation ul {
                margin-top: 0;
                padding: 0;
                padding-left: 5px;
                text-align: left;
            }

            .navigation li {
                width: initial
            }

                .navigation li:not(:first-child) {
                    display: none;
                }

                    .navigation li:not(:first-child):hover {
                        background: rgb(229,229,229) /* 10% black */
                    }

                .navigation li.icon {
                    display: block;
                    float: right;
                    margin-top: 20px
                }

            .navigation ul > li.burbidge_logo {
                width: 85%;
                height: 35px;
                /*margin:  0;*/
                display: inline-flex
            }

                .navigation ul > li.burbidge_logo img {
                    height: 35px;
                    object-fit: contain
                }

        #full-logo {
            display: none;
        }

        #small-logo {
            display: block
        }

        #icon-logo {
            display: none
        }

        .navigation ul li:hover ul {
            background: rgb(242,242,242) /* 5% black */
        }

        .navigation .active {
            border-bottom: none !important;
        }

        /* .navigation ul li:not(.burbidge_logo) a { */
        .navigation a {
            border: none;
            /*line-height: 45px;*/
            /*margin: 0*/
        }

        .navigation ul li:not(:first-child) a:hover {
            color: rgb(157,34,53);
            background: none;
        }

        .navigation .icon a {
            text-align: center;
            width: 45px;
            margin: 0
        }

        /* Adjust body top-margin to height of full nav */
        body {
            margin-top: 50px;
        }
        /* Adjust body top-margin to height of full nav */

    }

    /* The "responsive" class is added to the navigation with JavaScript when the user clicks on the icon. This class makes the navigation look good on small screens (display the links vertically instead of horizontally) */
@media screen and (max-width: 800px) {
    .navigation.responsive {
        /*
        position: fixed;
        */
        height: 100%;
        overflow: auto
    }

        .navigation.responsive li.icon {
            position: absolute;
            top: 0;
            right: 0
        }

        .navigation.responsive li {
            float: none;
            display: block;
            text-align: left;
        }

        .navigation.responsive ul ul {
            display: block;
            position: relative;
            border: none
        }
}


    @media screen and (max-width: 425px) {
        #full-logo {
            display: none
        }

        #small-logo {
            display: none
        }

        #icon-logo {
            display: block
        }
    }