﻿/* CSS Document */

@import url(https://fonts.googleapis.com/css?family=Open+Sans);
@import url(https://fonts.googleapis.com/css?family=Bree+Serif);

body {
	
	font-size:22px;
	line-height: 32px;
	color: #ffffff;
	margin: 0;
	padding: 0;
	}

h1 {
	font-size: 60px;
	text-align: center;
	color: #FFF;
}	


div#btn_logout:hover {background-color:#FDB92E; text-decoration:none; }
div#btn_profile:hover {background-color:#FDB92E; text-decoration:none; }
div#btn_mass:hover {background-color:#FDB92E; text-decoration:none; }



.mGrid
{  margin: 0 0 0 0;border: solid 1px #8C8B8B; border-collapse: collapse;background-color:#fff; color: #333333;font-weight: normal; font-family:  Times New Roman; font-size: 14px; word-wrap: break-word;}



.mGrid th
{ padding: 4px 3px 4px 5px; color: #fff; background-position: left top; background-repeat: repeat-x; background-color: #132f57; 
     font-weight: 500; font-family:AbhayaLibre-Regular; font-size: 12pt;}

.mGrid td
{ padding: 4px 3px 4px 5px; color: #132f57; background-position: left top; background-repeat: repeat-x; background-color: #fff; 
     font-weight: 600; font-family:AbhayaLibre-Regular; font-size: 11pt;}

.mGrid th a
{ text-decoration: none; padding: 4px 1px;color: #282822;  text-decoration: underline; border-left: solid 0px #F42E2E;}
.mGrid .alt { background: #fcfcfc url(grd_alt.html) repeat-x top;}
.mGrid .pgr { background: #fffff;}
.mGrid .pgr table {   margin: 2px 0;}
.mGrid .pgr td
{ border-width: 0; padding: 0 0 0 0; border: solid 1px #D3D3D3; font-weight: bold; color: #333333; line-height: 26px; width: 26px; text-align: center; font-size: 12px;}

.mGrid .pgr td span
{ border-width: 0; padding: 2px 4px; border: none; font-weight: bold;color: #3776D6; font-size: 12px;}
.mGrid .pgr a
{ color: #333333; text-decoration: none;}
.mGrid .pgr a:hover
{ color: #3776D6; text-decoration: none;}


nav a:hover
{
    text-decoration:none;
   /*background-color:#254441;*/ 
   background-color:#1ee0cd82; 
    color:#fcd245;
    }

h3 {
	font-size: 30px;
	line-height: 34px;
	text-align: center;
	color: #FFF;
}

h3 a {
	color: #FFF;
}

a {
	color: #FFF;
}

h1 {
	margin-top: 100px;
	text-align:center;
	font-size:60px;
	line-height: 70px;
	font-family:  Times New Roman;
	}

#container {
	margin: 0 auto;
	max-width: 890px;
}

p {
	text-align: center;
}

.toggle,
[id^=drop] {
	display: none;
}

/* Giving a background-color to the nav container. */
nav { 
	margin:0;
	padding: 0;
	/*background-color: #254441;*/
	background-color:#E9E9E9;
	z-index:999;
}

#logo {
	display: block;
	padding: 0 30px;
	float: left;
	font-size:20px;
	line-height: 60px;
}

div#adm_box {
    border: 1px solid;
}

/* 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: 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;
	/*background-color: #254441;*/
	background-color:#21a295;
	}

/* Styling the links */
nav a {
	display:block;
	padding:14px 14px;	
	color:#FFF;
	font-size:17px;
	text-decoration:none;
}


nav ul li ul li:hover { background: #000000; }

/* Background color change on Hover */


/* 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: #254441;
		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: #212121; 
	}

	/* 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%;
	}

}