/* Main_Navigation.css */
.fancyNav {
    width: 100%;
    overflow: hidden;
    display: inline-block
}

.fancyNav {
    margin-top: 3px;
    background-color: #f0f0f0;
    background: -moz-linear-gradient(top, #fefefe 0%, #f0f0f0 50%, #e6e6e6 51%);
    background: -webkit-linear-gradient(top, #fefefe 0%, #f0f0f0 50%, #e6e6e6 51%);
    background: -o-linear-gradient(top, #fefefe 0%, #f0f0f0 50%, #e6e6e6 51%);
    background: -ms-linear-gradient(top, #fefefe 0%, #f0f0f0 50%, #e6e6e6 51%);
    background: linear-gradient(to bottom, #fefefe 0%, #f0f0f0 50%, #e6e6e6 51%);
    -pie-background: linear-gradient(top, #fefefe 0%, #f0f0f0 50%, #e6e6e6 51%);
    border-color: rgba(9, 9, 9, .12);
    border-radius: 10px
}

.fancyNav li {
    position: relative;
    float: left;
    background-color: #f0f0f0;
    background: -moz-linear-gradient(top, #fefefe 0%, #f0f0f0 50%, #e6e6e6 51%);
    background: -webkit-linear-gradient(top, #fefefe 0%, #f0f0f0 50%, #e6e6e6 51%);
    background: -o-linear-gradient(top, #fefefe 0%, #f0f0f0 50%, #e6e6e6 51%);
    background: -ms-linear-gradient(top, #fefefe 0%, #f0f0f0 50%, #e6e6e6 51%);
    background: linear-gradient(to bottom, #fefefe 0%, #f0f0f0 50%, #e6e6e6 51%);
    -pie-background: linear-gradient(top, #fefefe 0%, #f0f0f0 50%, #e6e6e6 51%);
    border-right: 1px solid rgba(9, 9, 9, .12);
    list-style-type: none;
    /* Adding a 1px inset highlight for a more polished efect: */
    box-shadow: 1px -1px 0 rgba(255, 255, 255, 0.6) inset;
    -webkit-box-shadow: 1px -1px 0 rgba(255, 255, 255, 0.6) inset
}

.fancyNav li:after {
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    position: absolute;
    overflow: hidden;
    text-indent: -9999px;
    /* This creates a pseudo element inslide each LI */
    content: '.';
    z-index: 1;
    opacity: 0;
    /* Gradients! */
    background-image: -webkit-gradient(linear, left top, right top, from(rgba(168, 168, 168, 0.5)), color-stop(0.5, rgba(168, 168, 168, 0)), to(rgba(168, 168, 168, 0.5)));
    background-image: -moz-linear-gradient(left, rgba(168, 168, 168, 0.5), rgba(168, 168, 168, 0) 50%, rgba(168, 168, 168, 0.5));
    background-image: -o-linear-gradient(left, rgba(168, 168, 168, 0.5), rgba(168, 168, 168, 0) 50%, rgba(168, 168, 168, 0.5));
    background-image: -ms-linear-gradient(left, rgba(168, 168, 168, 0.5), rgba(168, 168, 168, 0) 50%, rgba(168, 168, 168, 0.5));
    background-image: linear-gradient(left, rgba(168, 168, 168, 0.5), rgba(168, 168, 168, 0) 50%, rgba(168, 168, 168, 0.5));
    /* Creating borders with box-shadow. Useful, as they don't affect the size of the element. */
    box-shadow: -1px 0 0 #a3a3a3, -2px 0 0 #fff, 1px 0 0 #a3a3a3, 2px 0 0 #fff;
    -webkit-box-shadow: -1px 0 0 #a3a3a3, -2px 0 0 #fff, 1px 0 0 #a3a3a3, 2px 0 0 #fff;
    /* This will create a smooth transition for the opacity property */
    -webkit-transition: 0.25s all;
    -o-transition: 0.25s all;
    transition: 0.25s all
}

.fancyNav li strong.active.noIcon,
.fancyNav li a.trail.noIcon {
    color: #952109
}

.fancyNav li:first-child {
    border-radius: 4px 0 0 4px
}

.fancyNav li:first-child:after,
.fancyNav li.selected:first-child:after {
    border-radius: 4px 0 0 4px;
    box-shadow: 1px 0 0 #a3a3a3, 2px 0 0 #fff;
    -webkit-box-shadow: 1px 0 0 #a3a3a3, 2px 0 0 #fff
}

.fancyNav li.end {
    border-radius: 0 4px 4px 0
}

.fancyNav li:last-child:after,
.fancyNav li.selected:last-child:after {
    border-radius: 0 4px 4px 0;
    box-shadow: -1px 0 0 #a3a3a3, -2px 0 0 #fff;
    -webkit-box-shadow: -1px 0 0 #a3a3a3, -2px 0 0 #fff
}

.fancyNav li:hover:after,
.fancyNav li.selected:after,
.fancyNav li:target:after {
    /* This property triggers the CSS3 transition */
    opacity: 1
}

.fancyNav:hover li.selected:after,
.fancyNav:hover li:target:after {
    /* Hides the targeted li when we are hovering on the UL */
    opacity: 0
}

.fancyNav li.selected:hover:after,
.fancyNav li:target:hover:after {
    opacity: 1 !important
}

.fancyNav li a {
    position: relative;
    display: inline-block;
    padding: 12px 25px 14px;
    white-space: nowrap;
    color: #5d5d5d;
    font: 20px/1 Ubuntu, Arial, sans-serif;
    text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.6);
    z-index: 2;
    text-decoration: none !important
}

.fancyNav li strong.noIcon {
    position: relative;
    display: inline-block;
    padding: 12px 25px 14px;
    white-space: nowrap;
    color: #5d5d5d;
    font: 20px/1 Ubuntu, Arial, sans-serif;
    text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.6);
    z-index: 2;
    text-decoration: none !important
}

.fancyNav a.homeIcon {
    width: 16px;
    overflow: hidden;
    display: block;
    padding-right: 12px;
    padding-left: 12px;
    background-image: url("/files/theme/images/home.png");
    background-position: center center;
    background-repeat: no-repeat;
    text-indent: -9999px
}

.fancyNav strong.homeIcon {
    width: 16px;
    overflow: hidden;
    display: block;
    padding: 14px 12px;
    background-image: url("/files/theme/images/home.png");
    background-position: center center;
    background-repeat: no-repeat;
    text-indent: -9999px
}

.fancyNav li.right {
    float: right
}