
/* =========================================================
 This rule resets a core set of elements so that they will appear consistent across browsers. Without this rule, content styled with an h1 tag, for example, 
 would appear in different places in Firefox and Internet Explorer because each browser has a different top margin default value. By resetting these values to 0, 
 the elements will initially be rendered in an identical fashion and their properties can be easily defined by the designer in any subsequent rule. 
 ==========================================================*/
@media screen and (min-width: 651px) {
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6 {
	margin: 0px;
	padding: 0px;
	border: 0px;
	outline: 0px;
	font-size: 100%;
}
a {
	outline: 0;
}
/* ======================================================
 The body is the outermost layout component and contains the visible page content. Setting properties for the body element will help to create consistent styling of 
 the page content and more manageable CSS. Besides using the body element to set global properties, it is common to use the body element to set the background color of the 
 page and create a centered container for the page content to display. 
 =======================================================*/
body {
	text-align: center; /* Centers the page content container in IE 5 browsers. */;
	padding: 0px 0px 0px 0px;
	background-color: #353c48;
	line-height: 1.2em;
	font-size: 1em;
	color: #2d2e2e;
	font-family: Arial, Helvetica, sans-serif;
	margin: 0px 0px 0px 0px;
}
body img {
	border: 0px;
	text-decoration: none;
	max-width: 100%;
	height: auto;
	width: auto\9; /* ie8 */
}
/* =====================================
Commonly used to style page titles. 
========================================*/
h1, h2, h3 {
	color: #1C140E;
	margin: 5px 0px 5px 10px;
	font-family: Federo, "Segoe UI", Optima, Helvetica, Arial, sans-serif;
	font-weight: normal;
}
h1 {
	font-size: 1.7em;
}
h2 {
	font-size: 1.3em;
}
h3 {
	font-size: 1.1em;
}
/*================================
Link Styles unless specified separately
=================================*/
a, a:link {
	color: #336699;
	text-decoration: none;
}
a:visited {
	color: #006600;
	text-decoration: none;
}
a:hover {
	color: #CC0000;
	text-decoration: underline;
}
a:focus {
	color: #2170bd;
}
a:active {
	color: #2170bd;
}
/* ==========================================
 This is a container for the page content. It is common to use the container to constrain the width of the page content and allow for browser chrome to 
avoid the need for horizontal scrolling. For fixed layouts you may specify a container width and use auto for the left and right margin to center the container 
on the page. IE 5 browser require the use of text-align: center defined by the body element to center the container. For liquid layouts you may simply set the left 
and right margins to center the container on the page. 
=============================================*/
#outerWrapper {
	background-color: #fff;
	width: 965px;
	text-align: left; /* Redefines the text alignment defined by the body element. */;
	margin: 25px auto 25px auto;
	border: 1px #eaeaea solid;
	border-radius: 10px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	-moz-box-shadow: 0 0 20px #453823;
	-webkit-box-shadow: 0 0 20px #453823;
	box-shadow: 0 0 20px #453823;
}
/*===================================
Masthaead Styles
====================================*/
#outerWrapper #header {
	background: #1C140E url('../imgs/top_bg.jpg') no-repeat top;
	background-size:cover;
	padding: 10px 10px 10px 10px;
	font-weight: bold;
	min-height: 150px;
	border-radius: 8px 8px 0px 0px;
	-webkit-border-radius: 8px 8px 0px 0px;
	-moz-border-radius: 8px 8px 0px 0px;
}
#outerWrapper #header .sitename {
	font-family: Federo, "Segoe UI", Optima, Helvetica, Arial, sans-serif;
	font-size: 1.7em;
	font-weight: bold;
	color: #000000;
	margin-left: 25px;
	letter-spacing: .25em;
	line-height: 1em;
}
.tagline {
	color:navy;
	margin-top:-15px;
	font-size:14px;
	font-style:italic;
}
/*========================================
Top Navigation
=========================================*/
#outerWrapper #topNavigation {
	visibility:hidden;
	height:0px;
}
#logo
{
	width:300px;
}
#outerWrapper #topNavigation ul {
	
	visibility:hidden;
	height:0px;
}
#outerWrapper #topNavigation li {
	
	visibility:hidden;
	height:0px;
}
#outerWrapper #topNavigation a {
	
	visibility:hidden;
	height:0px;
}
#topNavigation li:hover {
	
	visibility:hidden;
	height:0px;
}
/*=======================================
Wrapper for the content columns
========================================*/
#contentWrapper {
	clear: both;
	background-image: url('../images/content-bg.jpg');
}
/*==================================
Left sidebar
===================================*/
#leftColumn1 {
	padding: 10px 5px 10px 5px;
	float: left;
	width: 150px;
}
#leftColumn1 p {
	font-size: .85em;
}
.heading {
	font-family: Federo, "Segoe UI", Optima, Helvetica, Arial, sans-serif;
	font-weight: normal;
	color: #000000;
	margin-bottom: 0; /*bottom spacing between header and rest of content*/;
	text-transform: uppercase;
	padding: 7px 0 7px 15px;
}
/*==================================
Left sidebar mobile
===================================*/
#leftColumn2 {
	height:0px;
	visibility:hidden;
	margin:0px;
	padding:0px;
}
#leftColumn2 p {
	height:0px;
	visibility:hidden;
	margin:0px;
	padding:0px;
}
/*==================================
Right sidebar
===================================*/
#rightColumn1 {
	padding: 10px 5px 10px 5px;
	float: right;
	width: 150px;
}
#rightColumn1 p {
	font-size: .85em;
}

/*==================================
Right sidebar mobile
===================================*/
#rightColumn2 {
	height:0px;
	visibility:hidden;
	margin:0px;
	padding:0px;
}
#rightColumn2 p {
	height:0px;
	visibility:hidden;
	margin:0px;
	padding:0px;
}
/* ========================================
 Contains the main page content. When using a mutliple column layout the margins will be set to account for the floated columns' width, margins, and padding. 
===========================================*/
#content {
	padding: 10px 10px 10px 10px;
	margin: 0px 170px 0px 170px;
}
/* =================================================
 Using floated elements and a clear float class is a common method to accomplish multiple column tableless layouts. If floated elements are used without 
being cleared the elements following will wrap around the floated element. This class should be applied to an element after the last floated element and before 
the close of the container with floated elements. 
====================================================*/
.clearFloat {
	display: block;
	clear: both;
}
/*=================================================
Footer Styles 
==================================================*/
#outerWrapper #footer {
	background-color: #eaeff5;
	padding: 10px 10px 10px 10px;
	border-radius: 0px 0px 8px 8px;
	-webkit-border-radius: 0px 0px 8px 8px;
	-moz-border-radius: 0px 0px 8px 8px;
	color: #003366;
	border-top: 1px #9bb6d2 solid;
}
#outerWrapper #footer p {
	margin-top: 0px;
	margin-bottom: 0px;
	text-align: center;
	font-size: .85em;
}
#outerWrapper #footer a:link {
	color: #003366;
	font-weight: normal;
	text-decoration: underline;
}
#outerWrapper #footer a:visited {
	color: #666666;
}
#outerWrapper #footer a:hover, #outerWrapper #footer a:focus {
	color: #990000;
}
#outerWrapper #footer a:active {
	color: #999999;
}
/*============================================
Floating images left, right or centered on page
=============================================*/
.imglft {
	padding: 5px 10px 5px 0px;
	float: left;
}
.imgrgt {
	padding: 5px 0px 5px 10px;
	float: right;
}
.imgctr {
	display: block;
	margin: 0px auto;
}
img.scalable {
	height: auto !important;
	width: auto !important;
	max-width: 100%;
}
/*=====================================
Misc Typographic styles
======================================*/
.ctr {
	text-align: center;
}
.smltxt {
	font-size: small;
}
/*=============
form styles 
==============*/
form fieldset {
	padding: 1em;
	font: 80%/1 sans-serif;
	border: 2px solid #000000;
	width: 95%;
	border-radius: 8px;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	box-shadow: 3px 3px 6px #dddddd;
	-moz-box-shadow: 3px 3px 6px #dddddd;
	-webkit-box-shadow: 3px 3px 6px #dddddd;
}
form fieldset label {
	width: 15%;
	margin-right: 0.5em;
	padding-top: 0.2em;
	text-align: right;
	font-weight: bold;
}
form fieldset legend {
	padding: 0.2em 0.5em;
	color: #000000;
	font-size: 90%;
	text-align: right;
	font-variant: small-caps;
}
.cf {
	border: 1px #353c48 solid;
	background-image: url('../images/form-bg.jpg');
	background-repeat: repeat;
}
.button {
	font: normal 90% Verdana, serif;
	height: 22px;
	border: 1px solid #CDBB99;
	background-color: #424852;
	color: #ffffff;
	border-radius: 6px;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
}
input:focus {
	border: 2px solid #993300;
}
nav {    
    display: block;
    text-align: center;
	background-color: #424852;
	background-image: url("../imgs/navbg5.png");
	padding:10px;
	margin-top:-20px;
  }
  nav ul {
    margin: 0;
    padding:0;
    list-style: none;
  }
  .nav a {
    display:block; 
    color:whitesmoke !important; 
    text-decoration: none;
    padding: 5px;
    text-transform: uppercase;
    font-size: 80%;letter-spacing: 2px;
    position: relative;
    color:blue;
  }
  .nav{  
    vertical-align: top; 
    display: inline-block;
    border-radius:6px;
  }
  .nav li{position: relative; }
  .nav > li { 
border-radius:10px;
    float:left; 
    margin-right: 1px; 
  } 
  .nav > li > a { 
    margin-bottom:1px;
  }
  .nav > li:hover , .nav > li:hover >a{ background-color:lightblue; color:navy !important;
border-radius:10px;}
  .nav li:hover > a { color:black; }

  
  
  
    .nav li a:first-child:nth-last-child(2):before { 
     content:""; 
     position: absolute; 
     height:0; 
     width: 0; 
     border: 5px solid transparent; 
     top: 50% ;
     right:5px;  
   }
   
   
   
   
   
   /* submenu positioning*/
.nav ul {
  position: absolute;
  white-space: nowrap;
  border-bottom: 5px solid  orange;
  z-index: 1;
  left: -99999em;
	background-color: #424852;
	background-image: url("../imgs/navbg5.png");
  
}
.nav > li:hover > ul {
  left: auto;
  padding-top: 5px  ;
  min-width: 100%;
}
.nav > li > ul li
{
	display:block;
	margin:auto;
}
.nav > li > ul li a:hover{
  background-color:lightblue; 
  color:navy !important;
}
  
.nav > li li ul {  border-left:1px solid #fff;}


.nav > li li:hover > ul { 
 /* margin-left: 1px */
  left: 100%;
  top: -1px;
}


}


@media screen and (max-width: 650px) {
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6 {
	margin: 0px;
	padding: 0px;
	border: 0px;
	outline: 0px;
	font-size: 100%;
}
a {
	outline: 0;
}
/* ======================================================
 The body is the outermost layout component and contains the visible page content. Setting properties for the body element will help to create consistent styling of 
 the page content and more manageable CSS. Besides using the body element to set global properties, it is common to use the body element to set the background color of the 
 page and create a centered container for the page content to display. 
 =======================================================*/
body {
	text-align: center; /* Centers the page content container in IE 5 browsers. */;
	padding: 0px 0px 0px 0px;
	background-color: #353c48;
	line-height: 1.2em;
	font-size: 1em;
	color: #2d2e2e;
	font-family: Arial, Helvetica, sans-serif;
	margin: 0px 0px 0px 0px;
}
body img {
	border: 0px;
	text-decoration: none;
	max-width: 100%;
	height: auto;
	width: auto\9; /* ie8 */
}
/* =====================================
Commonly used to style page titles. 
========================================*/
h1, h2, h3 {
	color: #1C140E;
	margin: 5px 0px 5px 10px;
	font-family: Federo, "Segoe UI", Optima, Helvetica, Arial, sans-serif;
	font-weight: normal;
}
h1 {
	font-size: 1.7em;
}
h2 {
	font-size: 1.3em;
}
h3 {
	font-size: 1.1em;
}
/*================================
Link Styles unless specified separately
=================================*/
a, a:link {
	color: #336699;
	text-decoration: none;
}
a:visited {
	color: #006600;
	text-decoration: none;
}
a:hover {
	color: #CC0000;
	text-decoration: underline;
}
a:focus {
	color: #2170bd;
}
a:active {
	color: #2170bd;
}
/* ==========================================
 This is a container for the page content. It is common to use the container to constrain the width of the page content and allow for browser chrome to 
avoid the need for horizontal scrolling. For fixed layouts you may specify a container width and use auto for the left and right margin to center the container 
on the page. IE 5 browser require the use of text-align: center defined by the body element to center the container. For liquid layouts you may simply set the left 
and right margins to center the container on the page. 
=============================================*/
#outerWrapper {
	background-color: #fff;
	width: 965px;
	text-align: left; /* Redefines the text alignment defined by the body element. */;
	margin: 25px auto 25px auto;
	border: 1px #eaeaea solid;
	border-radius: 10px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	-moz-box-shadow: 0 0 20px #453823;
	-webkit-box-shadow: 0 0 20px #453823;
	box-shadow: 0 0 20px #453823;
}
/*===================================
Masthaead Styles
====================================*/
#outerWrapper #header {
	background: #1C140E url('../imgs/top_bg.jpg') no-repeat top;
	background-size:cover;
	padding: 10px 10px 10px 10px;
	font-weight: bold;
	min-height: 150px;
	border-radius: 8px 8px 0px 0px;
	-webkit-border-radius: 8px 8px 0px 0px;
	-moz-border-radius: 8px 8px 0px 0px;
}
#outerWrapper #header .sitename {
	font-family: Federo, "Segoe UI", Optima, Helvetica, Arial, sans-serif;
	font-size: 1.7em;
	font-weight: bold;
	color: #000000;
	margin-left: 25px;
	letter-spacing: .25em;
	line-height: 1em;
}
.tagline {
	font-size: small;
	color:navy;
	margin-top:-15px;
	text-align:center;
	font-style:italic;
}
/*========================================
Top Navigation
=========================================*/
#outerWrapper #topNavigation {
	background-color: #424852;
	background-image: url("../imgs/navbg5.png");
	padding: 5px 10px 5px 10px;
	border-bottom: solid 1px #1C140E
	text-align:center;
}
#logo
{
	width:300px;
}
#outerWrapper #topNavigation:after {
	clear:both;
	display:block;
	content:".";
	height:0px;
	visibility:hidden;
}
#outerWrapper #topNavigation ul {
	list-style-type: none;
	margin:auto;
	padding: 0px;
	width::100%;
}
#outerWrapper #topNavigation li {
	padding:5px;
	padding-left:1.5px;
	display:block;
	padding-right:1.5px;
	background-color:#D3D5D1;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	text-align:center;
}
#outerWrapper #topNavigation a {
	color: navy !important;
	text-decoration: none;
	margin: 10px 1px;
}
#topNavigation li:hover {
	background-color: grey !important;
	color: white !important;
	border-radius: 4px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
}
/*=======================================
Wrapper for the content columns
========================================*/
#contentWrapper {
	clear: both;
	background-image: url('../images/content-bg.jpg');
}
/*==================================
Left sidebar
===================================*/
#leftColumn1 {
	height:0px;
	visibility:hidden;
	margin:0px;
	padding:0px;
}
#leftColumn1 hr {
	height:0px;
	visibility:hidden;
	margin:0px;
	padding:0px;
}
#leftColumn1 p {
	height:0px;
	visibility:hidden;
	margin:0px;
	padding:0px;
}
.heading2 {
	font-family: Federo, "Segoe UI", Optima, Helvetica, Arial, sans-serif;
	font-weight: normal;
	color: #000000;
	margin-bottom: 0; /*bottom spacing between header and rest of content*/;
	text-transform: uppercase;
	padding: 7px 0 7px 15px;
}
/*==================================
Left sidebar mobile
===================================*/
#leftColumn2 {
	padding: 10px 10px 10px 10px;
	position:relative;
}
#leftColumn2 p {
	font-size: .85em;
}
/*==================================
Right sidebar
===================================*/
#rightColumn1 {
	height:0px;
	visibility:hidden;
	margin:0px;
	padding:0px;
}
#rightColumn1 p {
	height:0px;
	visibility:hidden;
	margin:0px;
	padding:0px;
}
/*==================================
Right sidebar mobile
===================================*/
#rightColumn2 {
	padding: 10px 10px 10px 10px;
	float: right;
}
#rightColumn2 p {
	font-size: .85em;
}
/* ========================================
 Contains the main page content. When using a mutliple column layout the margins will be set to account for the floated columns' width, margins, and padding. 
===========================================*/
#content {
	padding: 10px 10px 10px 10px;
	margin: 0px 170px 0px 170px;
}
/* =================================================
 Using floated elements and a clear float class is a common method to accomplish multiple column tableless layouts. If floated elements are used without 
being cleared the elements following will wrap around the floated element. This class should be applied to an element after the last floated element and before 
the close of the container with floated elements. 
====================================================*/
.clearFloat {
	display: block;
	clear: both;
}
/*=================================================
Footer Styles 
==================================================*/
#outerWrapper #footer {
	background-color: #eaeff5;
	padding: 10px 10px 10px 10px;
	border-radius: 0px 0px 8px 8px;
	-webkit-border-radius: 0px 0px 8px 8px;
	-moz-border-radius: 0px 0px 8px 8px;
	color: #003366;
	border-top: 1px #9bb6d2 solid;
}
#outerWrapper #footer p {
	margin-top: 0px;
	margin-bottom: 0px;
	text-align: center;
	font-size: .85em;
}
#outerWrapper #footer a:link {
	color: #003366;
	font-weight: normal;
	text-decoration: underline;
}
#outerWrapper #footer a:visited {
	color: #666666;
}
#outerWrapper #footer a:hover, #outerWrapper #footer a:focus {
	color: #990000;
}
#outerWrapper #footer a:active {
	color: #999999;
}
/*============================================
Floating images left, right or centered on page
=============================================*/
.imglft {
	padding: 5px 10px 5px 0px;
	float: left;
}
.imgrgt {
	padding: 5px 0px 5px 10px;
	float: right;
}
.imgctr {
	display: block;
	margin: 0px auto;
}
img.scalable {
	height: auto !important;
	width: auto !important;
	max-width: 100%;
}
/*=====================================
Misc Typographic styles
======================================*/
.ctr {
	text-align: center;
}
.smltxt {
	font-size: small;
}
/*=============
form styles 
==============*/
form fieldset {
	padding: 1em;
	font: 80%/1 sans-serif;
	border: 2px solid #000000;
	width: 95%;
	border-radius: 8px;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	box-shadow: 3px 3px 6px #dddddd;
	-moz-box-shadow: 3px 3px 6px #dddddd;
	-webkit-box-shadow: 3px 3px 6px #dddddd;
}
form fieldset label {
	width: 15%;
	margin-right: 0.5em;
	padding-top: 0.2em;
	text-align: right;
	font-weight: bold;
}
form fieldset legend {
	padding: 0.2em 0.5em;
	color: #000000;
	font-size: 90%;
	text-align: right;
	font-variant: small-caps;
}
.cf {
	border: 1px #353c48 solid;
	background-image: url('../images/form-bg.jpg');
	background-repeat: repeat;
}
.button {
	font: normal 90% Verdana, serif;
	height: 22px;
	border: 1px solid #CDBB99;
	background-color: #424852;
	color: #ffffff;
	border-radius: 6px;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
}
input:focus {
	border: 2px solid #993300;
}

	nav {    
    height:0px;
	visibility:hidden;
  }
  nav ul {
    margin: 0;
    padding:0;
    list-style: none;
  }
  .nav a {
    display:block; 
    color:whitesmoke !important; 
    text-decoration: none;
    padding: 5px;
    text-transform: uppercase;
    font-size: 80%;letter-spacing: 2px;
    position: relative;
    color:blue;
  }
  .nav{  
    vertical-align: top; 
    display: inline-block;
    border-radius:6px;
  }
  .nav li{position: relative; }
  .nav > li { 
border-radius:10px;
    float:left; 
    margin-right: 1px; 
  } 
  .nav > li > a { 
    margin-bottom:1px;
  }
  .nav > li:hover , .nav > li:hover >a{ background-color:lightblue; color:navy !important;
border-radius:10px;}
  .nav li:hover > a { color:black; }

  
  
  
    .nav li a:first-child:nth-last-child(2):before { 
     content:""; 
     position: absolute; 
     height:0; 
     width: 0; 
     border: 5px solid transparent; 
     top: 50% ;
     right:5px;  
   }
   
   
   
   
   
   /* submenu positioning*/
.nav ul {
  position: absolute;
  white-space: nowrap;
  border-bottom: 5px solid  orange;
  z-index: 1;
  left: -99999em;
	background-color: #424852;
	background-image: url("../imgs/navbg5.png");
  
}
.nav > li:hover > ul {
  left: auto;
  padding-top: 5px  ;
  min-width: 100%;
}
.nav > li > ul li
{
	display:block;
	margin:auto;
}
.nav > li > ul li a:hover{
  background-color:lightblue; 
  color:navy !important;
}
  
.nav > li li ul {  border-left:1px solid #fff;}


.nav > li li:hover > ul { 
 /* margin-left: 1px */
  left: 100%;
  top: -1px;
}

}