/******************************************************************************************************
*
* Project		: RT Live
* File			: navigation.css
* Description	: Styles for the RT Live navigation bar.
* Author		: Harindra Herath
* Copyright		: Race Technology Ltd, UK
*
*
* Version	  Date			Author					Change/Reason
* -------	----------		--------------------	-------------------------------------------------------
*	1.0		06/04/2015		Harindra Herath		Created
*******************************************************************************************************/

div#navigation {
    margin: 20px auto 0 40px;
    clear: both;
    min-height: 40px;
    overflow: auto;
    height: auto;
}

ul {
    display: block;
    float: left;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

div#navigation ul li a {
    text-decoration: none;
    color: white;
    font-size: 14pt;
    font-weight: bold;
}

div#navigation li {
    border: 2px solid #747474;
    border-top: none;
    border-bottom: none;
    padding: 5px 10px 6px 10px;

}

/*Rule to remove extra unnecessary horizontal lines in selected actions
*/
div#navigation ul li:first-child {
    border-right-style: none;
    border-left-style: none;
    padding-left: 0;
}

div#navigation ul li + li {
    border-right-style: none;
}

div#navigation ul li + li + li {
    border-right-style: none;
}

div#navigation ul li + li + li + li {
    border-right-style: solid;
}

div#navigation ul li + li + li + li + li {
    border-left-style: none;
    border-right-style: solid;
}

div#navigation ul li + li + li + li + li + li {
    border-right-style: none;
    border-left-style: none;
}

div#navigation ul li + li + li + li + li + li + li {
    border-right-style: none;
    border-left-style: none;
}

/*Menu Item colours
*/
div#navigation ul li a.selected {
    color: #747474;
    cursor: default;
}

div#navigation ul li a.normal {
    color: white;
}

div#navigation ul li a.normal:hover {
    color: var(--accent-colour);
}

/*desktop site*/
@media screen and (min-width: 913px) {
    div#navigation li {
        display: inline-block;
    }

    div#navigation ul li a {
        text-decoration: none;
        color: white;
        font-size: 14pt;
        font-weight: bold;
    }
}

