
/**************** Page and tag styles ****************/
body
{margin:0; padding:0; color:#303030; background:#ffffff; font-family: Verdana,Geneva,sans-serif; overflow-wrap: break-word;}
ul
{list-style:circle; margin:15px 0 20px 0; font-size:0.9em;}
li
{margin:0 0 8px 25px;}
a
{color:#110f32; font-size:15px; font-weight:600; text-decoration:none; overflow-wrap: break-word;}
a:hover
{color:#505050; text-decoration:underline;}
img
{float:center; margin:0 15px 15px 0; padding:1px; background:#ffffff; border:1px solid #d0d0d0;}
a img
{border-color:#807E9E;}
a img:hover
{background:#807E9E; border-color:#807E9E;}

input[type=submit] {
font-size: 22px;
}

.tbut {
font-size: 22px;
}

table {
	width: 100%;
    overflow-wrap: break-word;
    padding-top: 10px;
    padding-bottom: 10px;
}

.divtable {
	width: 94%;
    overflow-wrap: break-word;
    margin: 20px;
    padding-bottom: 10px;
}

td {
    padding-top: .8em;
    padding-bottom: .8em;
    word-wrap: break-word;
}

/**************** Banner area styles ****************/
#banner
{position:absolute; top:30; right:0; width: 130px; height:100%; overflow:visible; background:#FFFFFF; text-align:left;}
#banner
{position:fixed;}
#banner
z-index: -1;
#banner h1
{margin:20px 18px 0 5px; color:#807E9E; font-size:1.6em; letter-spacing:-2px; text-align:right;}
#banner h2, #banner h3
{margin:0 20px 18px 5px; color:#808080; font-size:1.1em; font-weight:bold; letter-spacing:-1px; text-align:left;}
#banner h3
{margin:20px 18px 4px 5px; color:#606060;}
#banner  p
{margin:0 20px 18px 5px; color:#606060; font-size:0.8em;}
#banner a
{color:#808080}
@media screen and (max-width: 1050px) {
  #banner {
    visibility: hidden;
    clear: both;
    float: left;
    margin: 10px auto 5px 20px;
    width: 28%;
    display: none;
  }
}
/**************** Content area styles ****************/
#content
{ max-width: 800px; margin:50px auto 60px; padding:20px; background:#ffffff;}
#content p
{margin:0 0 20px 0; line-height:1.5em; text-align:center; font-size: 18px;}
#content h1
{margin:0; color:#807E9E; font-size:2em; letter-spacing:-1px; text-align:center;}
#content h2
{margin:0; color:#808080; font-weight:normal; font-size:2em; letter-spacing:-1px; text-align:center;}
#content h3
{clear:both; margin:30px 0 10px 0; color:#807E9E; font-weight:normal; font-size: 2em; letter-spacing:-2px;}

/**************** New menu styles ****************/

/* CSS Document */

@import url(https://fonts.googleapis.com/css?family=Open+Sans);
@import url(https://fonts.googleapis.com/css?family=Bree+Serif);

.toggle,
[id^=drop] {
	display: none;
}

/* Giving a background-color to the nav container. */
nav { 
	margin: 0 auto;
	padding: 0;
	background-color: #2b2f3a;
	width: 730px;
}

navp {
	position: fixed;
	top: 0;
	background-color: #2b2f3a;
	width: 100%
	}

#logo {
	display: block;
	padding: 0 30px;
	float: left;
	font-size:20px;
	line-height: 60px;
}

/* 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:reltive" */
nav ul {
	float: left;
	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: #2b2f3a;
	}

/* Styling the links */
nav a {
	display:block;
	padding:14px 20px;	
	color:#FFF;
	font-size:17px;
	text-decoration:none;
}

nav ul li ul li:hover { background: #000000; }

/* Background color change on Hover */
nav a:hover { 
	background-color: #000000; 
}

/* 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;  */
}
	
/* Display Dropdowns on Hover */
nav ul li:hover > ul {
	display:inherit;
}
	
/* Fisrt Tier Dropdown */
nav ul ul li {
	width:170px;
	float:none;
	display:list-item;
	position: relative;
}

/* 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; 
}

	
/* 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;
	}

	nav {
		margin: 0;
	}

	/* Hide the navigation menu by default */
	/* Also hide the  */
	.toggle + a,
	.menu {
		display: none;
	}

	/* Stylinf the toggle lable */
	.toggle {
		display: block;
		background-color: #2b2f3a;
		padding:14px 20px;	
		color:#FFF;
		font-size:17px;
		text-decoration:none;
		border:none;
	}

	.toggle:hover {
		background-color: #000000;
	}

	/* Display Dropdown when clicked on Parent Lable */
	[id^=drop]:checked + ul {
		display: block;
	}

	/* 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: #000000;
	}
  
	nav ul li ul li .toggle,
	nav ul ul a,
  nav ul ul ul a{
		padding:14px 20px;	
		color:#FFF;
		font-size:17px; 
	}
  
  
	nav ul li ul li .toggle,
	nav ul ul a {
		background-color: #2b2f3a; 
	}

	/* Hide Dropdowns by Default */
	nav ul ul {
		float: none;
		position:static;
		color: #ffffff;
		/* 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%;
	}

	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%;
	}

}

/**************** Responsive menu styles ****************/

.responsive {
    width: 100%;
    max-width: 400px;
    height: auto;
}

.ad_responsive { width: 320px; height: 100px; }
@media(min-width: 500px) { .ad_responsive { max-width: 400px; } }
@media(min-width: 800px) { .ad_responsive { max-width: 550px; } }

@media only screen and (max-device-width: 640px) {
  #content
{ width: 95%;  max-width: 600px; margin:10px auto 10px;}
#content p {
	margin:0 0 20px 0; font-size:5vw; 
	}
	a
{color:#807E9E; font-size:5vw; ; font-weight:600; text-decoration:none; overflow-wrap: break-word;}

@media all and (max-width: 800px), only screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (min--moz-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (-o-min-device-pixel-ratio: 2/1) and (max-width: 1024px), only screen and (min-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (min-resolution: 192dpi) and (max-width: 1024px), only screen and (min-resolution: 2dppx) and (max-width: 1024px) {
  #content
{ width: 95%;  max-width: 700px; margin:50px auto 60px;}
#content p {
	margin:0 0 20px 0; font-size:5vw; 
	}
	a
{color:#807E9E; font-size:5vw; ; font-weight:600; text-decoration:none; overflow-wrap: break-word;}
 
}

