/*
CUSTOM TOP NAV


NEW Template TOP NAV ONLY -- RESPONSIVE NAVIGATION - USING CURRENT STRUCTURE FOR navigation_menu.cfm
	
----	THIS IS A RESPONSIVE TEMPLATE using Bootstrap v4.1.3 - Boxed Layout  -- 
TEMPLATE 0010 ========= HTML BUILD BETA v1.0 - Adriana  - UPDATED 09-09-2020 
*/


/* for sticky top nav - DO NOT CHANGE/EDIT */
#nav-section {
  overflow: hidden;
}
.sticky {
  position: fixed;
  top: 0;
  width: 100%;
	z-index: 1000;
}
/* Add some top padding to the page content to prevent sudden quick movement (as the navigation bar gets a new position 
at the top of the page (position:fixed and top:0) */
.sticky {
  padding-top: 60px;
}




/* == SAME OLD TEMPLATE TOP-NAV: just added structure to work with BS4 */
/* =================================================================================================== */

/* ====== DO NOT CHANGE - STILL USING - OLD TEMPLATE BOOTSTRAP 2 -TOP-NAV STRUCTURE ONLY ======= */
/* ====== GENERAL NAV items ======*/
#custom_top_nav ul, li { margin: 0; padding: 0; border: 0; /* DO NOT CHANGE */ }
#custom_top_nav { margin: 0 auto;}
#custom_top_nav ul ul { display: none;}
#custom_top_nav ul li:hover > ul { display: block;}
#custom_top_nav ul {
	list-style: none;
	position: relative;
	display: inline-table;
	z-index: 10;
}
#custom_top_nav ul:after { content: ""; clear: both; display: block;}
#custom_top_nav ul li { float: left;}
/* ======= FIRST level items ======== */		
#custom_top_nav ul li a {	display: block;}
/* ======= SECOND level items ======= */	
#custom_top_nav ul ul {
	padding: 0;
	position: absolute;
	top: 100%;
}
#custom_top_nav ul ul li {
	float: none;
	position: relative;
}



/* ===================  Bootrstrap 4 overrides revised 6-16-20 to use under current nav structure 
================================================================================================*/

/* ================= FOR TOP NAV -  COLLAPSED  ======================= */
.navbar-toggler {
	color: rgba(255, 255, 255, 0.8);
	border-color: transparent;
	background-color: transparent;
}
.navbar-color .navbar-toggler-icon {
	background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* IMPORTANT - Pick just one to align the toggler icon */
.nav-align-toggler {
	/*LEFT*/
  margin-right: auto !important;
	
	/*RIGHT*/
	/*margin-left: auto !important;*/
}


/* ===================== NEW GENERAL TOP NAVBAR STYLING  ================================ */
#nav-section {background-color: var(--navbar-primaryColor); padding: 0;}

.main-nav-container { padding-right: 0; padding-left: 0; /* DO NOT CHANGE */ }
.navbar { padding: 0; }

/* SET FULL NAVBAR COLOR */
.navbar-color { background-color: var(--navbar-primaryColor) !important; }

/*Medium devices (tablets, less than 992px)*/
@media (max-width: 991.98px) { 
	.navbar { padding: 0.5rem 1rem; }
}

/*=== IMPORTANT - Pick just one to align the navbar items - comment rest out ===*/
	/*== LEFT ==*/
	.nav-align-items {-webkit-box-pack: start !important; -ms-flex-pack: start !important; justify-content: flex-start !important;}
	#custom_top_nav ul li:first-child a { margin-left: 15px; }
	#custom_top_nav ul li:last-child a { margin-right: 0px; }
		
	/*== RIGHT or IMPORTANT to use with TOP NAV WITH BRAND LOGO ==*/
	/*.nav-align-items { -webkit-box-pack: end !important; -ms-flex-pack: end !important; justify-content: flex-end !important;}
	#custom_top_nav ul li:first-child a { margin-left: 0; }
	#custom_top_nav ul li:last-child a { margin-right: 0; }*/
	
	/*== CENTER ==*/
	/*.nav-align-items { -webkit-box-pack: center !important; -ms-flex-pack: center !important; justify-content: center !important;}
	#custom_top_nav ul li:first-child a { margin-left: 0; }
	#custom_top_nav ul li:last-child a { margin-right: 0; }	*/
	
	
	
/* ========= TOP-NAV -  STYLING (mostly the same as the old BS2 template)  =========== */
/* ======= GENERAL NAV items  =======*/
#custom_top_nav {
	font-family: var(--siteFont-nav);
	line-height: 1.2rem;
	font-size: 1.1rem;
	padding: 0 0.75rem;
	font-weight: normal;
	text-transform: uppercase;
	letter-spacing: .03rem;
	text-align: center;
}

#custom_top_nav ul {
	background-color: transparent; /*do not change, takes same color of full navbar */
	padding: 0 15px 0 0;
}
#custom_top_nav ul li {
	line-height: 1.35em;
}

/* ======== FIRST level items ======== */		
#custom_top_nav ul li a {
	margin-right: 40px;
	padding: 14px 17px;
	text-decoration: none;
	text-transform: uppercase;
	font-weight: 600;
}

#custom_top_nav a { 
	color: var(--navbar-primaryColor-text); 
	background-color: var(--navbar-primaryColor);
}
#custom_top_nav a:focus,
#custom_top_nav a:hover { 
	/*color: var(--navbar-secondaryColor-text); 
	background-color: var(--navbar-secondaryColor);*/
	text-decoration: underline;
}

/*Large devices (desktops, less than 1200px)*/
@media (max-width: 1199.98px) { 
	
	
}
/*Medium devices (tablets, less than 992px)*/
@media (max-width: 991.98px) { 
	#custom_top_nav li a { border-top: 1px solid rgba(255,255,255, 0.3); }
	#custom_top_nav li:first-child a{ border-top: 0; }
}


/* ========= CURRENT ITEM color for ALL level items ========= */
#custom_top_nav .select a,
#custom_top_nav a.current_page,
#custom_top_nav a.current_group {
	color: var(--navbar-secondaryColor-text); 
	background-color: var(--navbar-secondaryColor);
}
	
		

/* Still BS2 - NAVIGATION COLLAPSED
============================================================================================*/
@media (max-width: 991.98px) {
	.navbar-custom {
		min-height: 40px; 
	}
	#custom_top_nav {
		text-align: left; /*full navbar alignment */
	}
	
	#custom_top_nav ul { display: block;}
	#custom_top_nav ul li { float: none;}
	#custom_top_nav ul ul {
		display: block;
		position: relative;		
	}

	/* ======= GENERAL NAV items  =======*/
	#custom_top_nav {	line-height: 1.5em;}
	#custom_top_nav ul { padding: 0px;}
	
	/* === FIRST level items === */		
	#custom_top_nav ul li a {	
		margin-right: 0px;	
		padding: 6px 10px 6px 20px;
	}
	#custom_top_nav .nav_lvl_1:first-child a { margin-left: 0px;}
	#custom_top_nav .nav_lvl_1:last-child a { margin-right: 0px;}	
}
 





/* ONLY FOR USE WITH OFF-CANVAS NAVIGATION COLLAPSED
============================================================================================*/

/* TO OVERRIDE NAV CUSTOM STYLES (from above) ================*/
@media (max-width: 991.98px) {
	/* SET FULL NAVBAR COLOR */
	#nav-section, .navbar-color { background-color: var(--navbar-secondaryColor) !important; }
	/* IMPORTANT: set to display none so it does not show when off-canvas comes in */
	#custom_top_nav ul { display: none;}
}


/* Style page content - use this if to push page content to the right when opening side navigation */
#off-canvas-content {
  transition: margin-left .5s;
  padding: 0;
}

.sidenav-canvas {
  height: 100%; /* 100% Full-height */
  width: 0; /* 0 width - change this with JavaScript */
  position: fixed; /* Stay in place */
  z-index: 1; /* Stay on top */
  top: 0;
  left: 0;
	background-color: var(--navbar-secondaryColor);
  overflow-x: hidden; /* Disable horizontal scroll */
  padding-top: 8rem; /* Place content from the top */
  transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
	text-align: center;
}
.sidenav-canvas ul  {
  padding: 0;
	margin-left: 0;
}
.sidenav-canvas ul li  {
  list-style: none;
  list-style-type: none;
}
.sidenav-canvas a {
  font-family: var(--siteFont-nav);
  color: var(--navbar-secondaryColor-text);
  font-size: 1.4rem;
  line-height: 1.5;
  padding: 0.7rem 1rem;
  text-decoration: underline;
  display: block;
  transition: 0.3s;
}
.sidenav-canvas a:hover {
  color: var(--navbar-secondaryColor-text);
}
.sidenav-canvas .closebtn {
	color: var(--navbar-secondaryColor-text);
	font-size: 5rem;
	text-decoration: none;
	background-color: transparent;
	border: none;
	
	/* Position and style the close button (center) */
	position: absolute;
  top: 0;
  right: 0;
  width: 100%;
	
	/* Position and style the close button (top right corner) */
  /*position: absolute;
	top: 0;
  right: 25px;
  margin-left: 50px;*/
}







