.toggle,
[id^=drop] {
	display: none;
}

/* Giving a background-color to the nav container. */
nav {
	margin: 0;
	padding: 0;
	z-index: 999;
}


/* Since we'll have the "ul li" "float:left"
 * we need to add a clear after the container. */

nav:after {
	content:"";
	display:table;
	clear:both;
}
.menu-wrap {
	clear: none;
	float: right;
	width: 65%;
	z-index: 900;
}

#logo {
    display: block;
    float: left;
    width: 279px;
    padding-top: 0;
    padding-right: 0px;
    padding-bottom: 0;
    padding-left: 12px;
    z-index: 999;
    height: auto;
}
#logo a:hover {
	z-index: 999;
	background-color: rgba(255,255,255,0.0);
}




.tagline {
    text-align: right;
    float: right;
    width: 100%;
    font-size: 24px;
    font-weight: 400;
    color: #FFFFFF;
    padding-right: 12px;
    margin-top: 5px;
    margin-bottom: 10px;
}
.tagline a {
	color: #FFFFFF;
	text-decoration: none;
}

.tagline img {
	display: inline-block;
	float: right;
	margin-top: -2px;
}


/* Styling the links 
nav a {
	display: block;
	font-size: 16px;
	text-decoration: none;
	padding-right: 14px;
	padding-left: 14px;
	line-height: 50px;
}*/


/* Removing padding, margin and "list-style" from the "ul",
 * and adding "position:reltive" */
nav ul {
	float: right;
	padding: 0;
	margin: 0;
	list-style: none;
	position: relative;
	z-index: 999;
	}
	
/* Positioning the navigation items inline */
nav ul li {
	margin: 0px;
	display: inline-block;
	float: left;
	color: #FFF;
	}
nav ul li img {
	float: left;
	padding-top: 12px;
}
nav ul li.last {
	display: none;
}
nav ul li.last:hover {
	background-color: #FFFFFF;
}

	
	
/* Background color change on Hover */
nav ul li:hover,
nav ul li:hover>a,
nav ul li:hover>a:after {
background-color: #48a4e2;
color: #FFF;
}

	
	
	
nav ul li a {
    color: #FFFFFF;
    display: block;
    font-size: 18px;
    text-decoration: none;
    padding-right: 18px;
    padding-left: 18px;
    line-height: 50px;
    font-weight: 400;
}
nav ul li a.selected  {
    color: #F11B1F;
}






/* Background color change on Hover */
nav ul li a:hover {
	background-color: #48a4e2;
	color: #FFF;
}


nav ul li ul li:hover {
    background-color: #002856;
}

/* Hide Dropdowns by Default
 * and giving it a position of absolute */
nav ul ul {
	display: none;
	position: absolute;
	/* has to be the same number as the "line-height" of "nav a" */
	top: 50px;
	
}
	
/* Display Dropdowns on Hover */
nav ul li:hover > ul {
	display:inherit;
}
	
/* Fisrt Tier Dropdown */
nav ul ul li {
    float: none;
    display: list-item;
    position: relative;
    background-color: #48a4e2;
    color: #FFF;
    width: 260px;
    font-weight: 400;
}

/* submenu colour */
nav ul ul li a {
	position: relative;
	color: #FFF;
	height: 50px;
	font-weight: 400;
}
nav ul ul li a:hover {
    position: relative;
    color: #FFF;
    background-color: #002856;
}

/* Second, Third and more Tiers	
 * We move the 2nd and 3rd etc tier dropdowns to the left
 * by the amount of the width of the first tier.
*/
nav ul ul ul li {
    position: relative;
    top: -50px;
    /* has to be the same number as the "width" of "nav ul ul li" */ 
    left: 260px;
    background-color: undefined;
}

	
/* Change ' +' in order to change the Dropdown symbol */
li > a:after {
	content: ' +';
	color: #FFFFFF;
}
li > a:only-child:after {
	content: '';
	color: #FFF;
}


/* Media Queries
--------------------------------------------- */

@media all and (max-width : 950px) {

TABLET {
}


	#logo {
    display: block;
    width: 100%;
    text-align: center;
    float: left;
    margin-bottom: 15px;
    padding: 0;
	}
	
	
	.tagline {
	display: none;
}

	nav {
		margin: 0;
	}
	

	/* Hide the navigation menu by default */
	/* Also hide the  */
	.toggle + a,
	.menu {
    display: none;
	}
	
	.menu-wrap {
	width: 100%;
}
	

	/* Stylinf the toggle lable */
	.toggle {
    display: block;
    background-color: #48a4e2;
    color: #FFF;
    font-size: 18px;
    text-decoration: none;
    border: none;
    padding-right: 20px;
    padding-left: 20px;
    line-height: 50px;
    text-align: left;
    content: ' +';
    background-image: url(/images/icon-menu.png);
    background-repeat: no-repeat;
    background-position: 96% center;
    font-weight: 600;
	}

	.toggle:hover {
    background-color: #002856;
	}

	/* Display Dropdown when clicked on Parent Lable */
	[id^=drop]:checked + ul {
    display: block;
    background-color: undefined;
	}

	nav ul {
	float: left;
	width: 100%;
	}
	
	
	/* Change menu item's width to 100% */
	nav ul li {
	display: block;
	width: 100%;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #002856;
	background-image: none;
		}
nav ul li.last {
	display: block;
}
nav ul li.last:hover {
	display: block;
	width: 100%;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #FFF;
	background-image: none;
	background-color: #48a4e2;
}

nav ul li img {
	float: left;
	padding-top: 12px;
	padding-bottom: 12px;
	display: block;
}
		
		nav ul li a {
	background-color: #48a4e2;
	color: #FFF;
	padding-left: 20px;
}
nav ul li a:hover {
    background-color: #002856;
    color: #FFF;
    padding-left: 20px;
}

	nav ul ul .toggle,
	nav ul ul a {
	padding: 0 40px;
	background-image: none;
	}

	nav ul ul ul a {
		padding: 0 80px;
	}

	nav a:hover,
 	nav ul ul ul a {
    background-color: #48a4e2;
	}
  
	nav ul li ul li .toggle,
	nav ul ul a,
  nav ul ul ul a{
	color: #FFF;
	font-size: 18px;
	line-height: 50px;
	padding-top: 0px;
	padding-right: 20px;
	padding-bottom: 0px;
	padding-left: 20px;
	background-image: none;
	font-weight: 600;
	}
  
  
	nav ul li ul li .toggle,
	nav ul ul a {
    background-color: #002856;
	}

	/* Hide Dropdowns by Default */
	nav ul ul {
	float: none;
	position: static;
	color: #ffffff;
	background-image: none;		/* has to be the same number as the "line-height" of "nav a" */
	}
		
	/* Hide menus on hover */
	nav ul ul li:hover > ul,
	nav ul li:hover > ul {
		display: none;
	}
		
	/* Fisrt Tier Dropdown */
	nav ul ul li {
	display: block;
	width: 100%;
	border-top-width: 1px;
	border-top-style: solid;
	border-bottom-style: none;
	border-top-color: #FFF;
	}

	nav ul ul ul li {
		position: static;
		/* has to be the same number as the "width" of "nav ul ul li" */ 

	}

}
