﻿/* Navigation styling */
.navM {
	position:absolute;
    z-index: 2;
	display:none;
	font-size:14px;
	font-weight:900;
    top: 20px;
    right: 20px;
}
.nav-list {
	list-style-type: none;
}
.nav-item {
	float:left;
	*display:inline;
	zoom:1;
}
.nav-item a {
	display:block;
	color:#FFF;
	background: #34495E;
    text-decoration: none;
}
.nav-item:first-child a {
	border-radius:5px 0 0 5px;
}
.nav-item:last-child a {
	border-radius:0 5px 5px 0;
}
.nav-item a:hover {
	background: #005FB1;
}
/* Mobile Navigation */
.nav-mobile {
	display: none; /* Hide from browsers that don't support media queries */
	cursor: pointer;
	position: absolute;
	top: 0;
	right: 0;
	background: #00447F url(../images/nav.svg) no-repeat center center;
	height: 40px;
	width: 40px;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
}

/*------------------------------------*\
    Media Queries
\*------------------------------------*/

@media only screen and (max-width: 950px) {
	.nav-mobile {
		display: block;
	}
	.navM {
        display: inline-block;
		width: 100%;
		padding: 40px 0;
	}
	.nav-list {
		display: none;
	    margin-top: 0;
	}
	.nav-item {
		width: 100%;
		float: none;
	}
	.nav-item a {
        background-color: #00447F;
		padding: 10px;
	    font-size: 24px;
	}
    .nav-item a:Hover {
        background-color: #3B3B3B;
		color: #FFEE00;
	}
	.nav-item:first-child a {
		border-radius: 5px 0 0;
        line-height: 30px;
	}
	.nav-item:last-child a {
		border-radius: 0 0 5px 5px;
        line-height: 30px;
	}
	.nav-active {
		display: block;
	}
	.nav-mobile-open {
		border-radius: 5px 5px 0 0;
		-webkit-border-radius: 5px 5px 0 0;
		-moz-border-radius: 5px 5px 0 0;
	}

    .navM ul li ul
    {
        list-style: none;
        padding: 0;
    }

    .navM ul li ul li.nav-item a {
        padding-left: 40px;
    }

    .navM ul li ul li.nav-item:first-child a {
        border-radius: 0;
	    -webkit-border-radius: 0;
	    -moz-border-radius: 0;
    }

    .navM ul li ul li.nav-item:last-child a {
        border-radius: 0;
	    -webkit-border-radius: 0;
	    -moz-border-radius: 0;
    }
}