/* CSS Document for Menu */

@import url(https://fonts.googleapis.com/css?family=Open+Sans);
@import url(https://fonts.googleapis.com/css?family=Bree+Serif);

body {
  background: #fff;
  font-size:22px;
  line-height: 32px;
  color: #000088;
  margin: 0;
  padding: 0;
  word-wrap:break-word !important;
  font-family: 'Open Sans', sans-serif;
}

a {color: #FFF;}

p {text-align: center;}

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

/* Giving a background-color to the nav container. */
nav { 
	margin:0;
	padding: 10px 10px 0 10px; /* top right bottom left */
	background-color: #fff;
	border: 0px solid #f00;
}

#logo {
	float: left;
	border: 0px solid #f00;
}
#logo a {
	padding: 0 0 0 0;
}

#logo1 {
	float: left;
	padding: 2px 0 0 5px; /* top right bottom left */
	border: 0px solid #f00;
	width: 400px;
	height: 75px;
	font-size: 25px;
	font-weight: bold;
}

/*
#logo1a {
	display:table;
	font-size: 25px;
        line-height:10px;
	height: 30px;
	width:100%;
	font-weight: bold;
        overflow:hidden;
	border: 1px solid #00f;
        }
*/
/* #logo1a p {
        line-height:16px;
 	} */


/* 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;
}

/* Removing padding, margin and "list-style" from the "ul",
 * and adding "position:relative" */
nav ul {
	float: right;
	padding: 0;
	margin: 0;
	list-style: none;
	position: relative;
	}
	
/* Positioning the navigation items inline */
nav ul li {
	margin: 0px;
	display:inline-block;
	float: left;
	background-color: #efefef;
	border: 1px solid #ccc;
	}

/* Styling the links */
nav a {
	display:block;
	padding:13px 20px;	
	color:#000088;
	font-size:17px;
	text-decoration:none;
	/* border:1px solid #ccc; */
}


/* nav ul li ul li:hover { background: #000000; } bob */
nav ul li ul li:hover { background: #fff; }

/* Background color change on Hover */
nav a:hover { 
	background: #fff;
}

/* 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: 60px; bob */ 
}
	
/* Display Dropdowns on Hover */
nav ul li:hover > ul {
	display:inherit;
}
	
/* Fisrt Tier Dropdown */
nav ul ul li {
	width:220px;
	float:none;
	display:list-item;
	position: relative;
}

/* First Tier Dropdown bob */
nav ul li ul li a {
	background-color: #ddd; 
}

/* 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:-60px;
	/* has to be the same number as the "width" of "nav ul ul li" */ 
	/* left:170px; bob */ 
	left:220px; 
}

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


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

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

	#logo {
	    /* display: block; */
	    padding: 0;
	    width: 100%;
	    text-align: center;
	    float: none;
	}

	#logo1 {
	    display:none;
	/*    font-size: 18px;
	    background-color: #fff;
	    height: 40px;
 	    padding: 0 0 0 0; /* top right bottom left */
	/*    width: 100%;
	    text-align: center;
 	    border: 0px solid #f00;
 	    float: none; */
        }
        
        #lblMenu {
	    padding: 10px 0px 10px 20px; /* top right bottom left */
	    border: 1px solid #ccc;
	    position:relative;
        }
        
	nav {
	    margin: 0;
 	    border: 0px solid #f0f;
	}

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

	/* Styling the toggle label */
	.toggle {
	    display: block;
	    background-color: #efefef;
	    padding:14px 10px 20px 20px; /* top right bottom left */	
	    color:#000088;
	    font-size:17px;
	    text-decoration:none;
	    border: 1px solid #ccc;
	}

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

	/* Display Dropdown when clicked on Parent Lable */
	[id^=drop]:checked + ul {
	    display: block;
	    border: 0px solid #f00;
	}

	/* Change menu item's width to 100% */
  	    nav ul li {
	    display: block;
	    width: 100%;
	}

	nav ul ul .toggle,
	nav ul ul a {
	    padding: 0 40px;
	}

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

	nav a:hover,
 	nav ul ul ul a {
	    background-color: #fff;
	}

	nav ul li ul li .toggle,
	nav ul ul a,
        nav ul ul ul a{
	    padding:14px 20px;	
	    color:#000088;
	    font-size:17px; 
	}

	nav ul li ul li .toggle,
	nav ul ul a {
	    background-color: #efefef; 
	}

	/* Hide Dropdowns by Default */
	nav ul ul {
	    float: none;
	    position:static;
	    color: #fff;
	    /* 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;
	}

	/* First Tier Dropdown */
	nav ul ul li {
	    display: block;
	    width: 100%;
	}

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

}

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

	nav ul li {
	    display:block;
	    width: 94%;
	}

}