
/*Strip the ul of padding and list styling*/

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

/* Set default style for nav */
nav a {
    font-size: 14px;
    color: #b9b9b9;
    text-decoration: none;
    font-family: sans-serif;
    
}

nav #menu {
    position: absolute;
    left: 0;
    top: 0;
    background-color: #000;
    width: 100%;
    padding: 12px 0 12px 5px;
}

/*Create a horizontal list with spacing*/

nav .menu-element {
    float: left;
    margin-right: 10px;
}

/*Style for menu links*/

nav .menu-element a {
    display: block;
    height: 40px;
    text-align: center;
    padding-left: 5px;
    padding-right: 5px;
    line-height: 40px;
    background-color: #000;
    text-decoration: none;
}

/*Hover state for top level links*/

nav .menu-element:hover a {
    color: #fff;
}

/* Style 'show menu' label button and hide it by default */

nav .show-menu {
    text-decoration: none;
    color: #fff;
    background: #000;
    text-align: left;
    padding: 10px 0;
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 20px;
}

/* Burger icon */

nav .show-menu #icon {
    border-bottom: 10px double;
    border-top: 3px solid;
    float: right;
    height: 4px;
    width: 20px;
}

nav .show-menu #icon {
	margin-right: 10px;
}

/* Company name */

nav .show-menu #narayana {
    padding-left: 10px;
}

/*Hide checkbox*/

nav input[type=checkbox] {
    display: none;
    -webkit-appearance: none;
}

/*Show menu when invisible checkbox is checked*/

nav input[type=checkbox]:checked~#menu {
    display: block;
}

/*Responsive Styles*/
nav #menu .menu-element hr {
    display: none;
}
nav .right {
    float: right;
}
@media screen and (max-width: 1488px) {
    nav ul {
        display: none;
        margin-top: 40px;
    }
    /*Make all menu links full width*/
    nav #menu .menu-element, .menu-element a {
        width: 99%;
        margin: 0;
    }
    /*Display 'show menu' link*/
    nav .show-menu {
        display: block;
    }
    nav #menu .menu-element ul {
        display: none;
    }
    nav #menu .menu-element hr {
        display: block;
        border-color: #626262;
    }
    nav #menu .menu-element a {
       text-align: left;
    }
    nav .right {
        float: none;
    }
}

/* Horizontal divider in nav */
nav #menu .menu-element hr {
    margin-left: 10px;
    margin-right: 10px;
}

