html {
	min-height: 100%;
	position: relative;
}

body {
	background: url(../noise.png) repeat top left;
	font-family: "Lucida Sans Unicode", Verdana;
	color: #555;
	text-align: center;
	margin-bottom: 40px;
}

a {
	color: #559;
}

a:hover {
	cursor: pointer;
	color: #11c;
}

.whiteFont {
	color: #fff;
}

.padding20 {
	padding: 20px;
}

.padding40 {
	padding: 40px;
}

.colorBackground {
	background-color: #2d356d !important;
}

.lightFont {
	color: #aaa;
	font-size: 18px;
}

.btn-info {
	border-color: #2d356d;
	background-color: #2bc;
}

.navbar-default .navbar-toggle {
	border-color: #888;
}

.navbar .container {
	width: 99%;
	margin-top: 4px;
	margin-bottom: 0px;
	/* padding: 0.6px 20px 0.6px 20px; */
	padding-left: 35px;
	padding-right: 20px;
	padding-top: 2px;
	padding-bottom: 2px;
	-moz-border-radius: 8px;
	border-radius: 8px;
}

.navbar .container .navbar-brand {
	color: #fff;
	padding: 0px 0px 0px 9px;
	/* If using a title_logo.png */
	/* padding: 9px 0px 0px 5px; /* If not using a title_logo.png */
	font-size: 50px;
}

.navbar-brand.title-logo {
	border: 0px;
	height: 50px;
}

.navbar li {
	font-size: 20px;
	font-family: 'Baumans', Arial, sans-serif;
	;
}

.navbar,
.navbar-collapse {
	border: 0;
	background: none;
}

/* The style of the menu item for the current (active) page */
.navbar-nav .nav-item.active a {
	color: #fff !important;
	background: none !important;
	border-bottom: 1px solid #ccc;
	font-size: 101%;
	/* text-decoration: none; */
}

/* The style of menu items as the mouse hovers over them */
.navbar-nav .nav-item:not(.active):hover a {
	color: #fff !important;
	background: none !important;
	border-bottom: 1px solid #fff;
	/* text-decoration: underline; */
}

/* The style of menu items when the mouse is not hovered over them */
/* .navbar li a:not(:hover) { */
.navbar-nav .nav-item:not(.active) a:not(:hover) {
	color: #ddd !important;
}

/* This chunk of CSS is intended to size and position nav-bar */
/* icons that you may put into place */
.nav-icon img {
	border: 0px;
	height: 15px;
	position: relative;
	top: -2px;
}

/*
 * If you don't like having a menu option shown for the
 * detault page (since clicking the Title takes you there),
 * then uncomment this CSS with "display: none"
*/
/*
.nav-item.nav-default-page {
  display: none;
}
*/

.color-selector {
	padding: 0px 12px;
	list-style-type: none;
}

.color-selector li {
	float: left;
}

.color-selector li a {
	display: block;
	text-align: center;
	padding: 17px 4px 16px;
	text-decoration: none;
}

.color-selector li a:hover,
.active a {
	border-bottom: 0px;
}

.form-control:focus {
	border-color: #3bf;
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 4px rgba(20, 60, 255, 0.6);
}

.footer {
	bottom: 0;
	width: 100%;
	font-size: 13px;
	position: absolute;
	padding: 2px;
}

footer a {
	color: #ddd !important;
}

footer a:hover {
	color: #fff !important;
}

/* Drop shadow without images
 * http://www.prowebdesign.ro/round-brush-like-responsive-drop-shadows-with-css3-and-no-images/ */

.css3-shadow {
	position: relative;
	-webkit-box-shadow: 0 1px 4px rgba(0, 0, 80, 0.3);
	box-shadow: 0 1px 4px rgba(0, 0, 80, 0.3);
}

/*
 * Drop shadow effect with box-shadow
 */
.css3-shadow:after {
	content: "";
	position: absolute;
	z-index: -1;
	-webkit-box-shadow: 0 0 40px rgba(0, 0, 0, 80.8);
	box-shadow: 0 0 40px rgba(0, 0, 0, 80.8);
	bottom: 0px;
	width: 80%;
	height: 50%;
	-moz-border-radius: 100%;
	border-radius: 100%;
	left: 10%;
	right: 10%;
}

.box {
	background: #fff;
	/* margin: 10px auto 0px; */
	margin-top: 0px;
	margin-bottom: 0px;
	margin-left: 10px;
	margin-right: 10px;
	padding: 20px;
	-moz-border-radius: 2px;
	border-radius: 2px;
}

/* / Drop shadow without images */

span.editable,
.note-editor {
	border-radius: 3px !important;
	border: 1px dotted #c7c1ed !important;
}


/*
 * NOTE: if you want to change the width at which Bootstrap 3.3.x
 * collapses the menu, examples of how to do so are here:
 *
 * https://stackoverflow.com/questions/42724884/bootstrap-navbar-collapse-point-768px/42725215#42725215
 *
 * https://stackoverflow.com/questions/19827605/change-bootstrap-navbar-collapse-breakpoint-without-using-less
 *
 

*/

/* Submenus */
.navbar-nav li {
	position: relative;
}

ul.subPageDropdown {
	visibility: hidden;
	opacity: 0;
	position: absolute;
	top: 100%;
	left: 0;
	list-style: none;
	padding: 10px;
	background-color: #2d356d;
	z-index: 100;
	min-width: 180px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
	transition: opacity 0.3s ease;
	text-align: left;
}

.navbar-nav li.clicked-open>ul.subPageDropdown {
	visibility: visible;
	opacity: 1;
}

ul.subPageDropdown li {
	font-size: 16px;
	display: block;
	width: 100%;
	margin: 5px 0;
	font-family: 'Baumans', Arial, sans-serif;
}

ul.subPageDropdown li a {
	color: #ddd !important;
	border-bottom: none !important;
	display: block;
	padding: 8px 15px;
	transition: color 0.2s ease, background 0.2s ease;
}

ul.subPageDropdown li a:hover {
	color: #fff !important;
	text-decoration: none;
	background: rgba(255, 255, 255, 0.1);
}

/* Submenu dropdown indicator (Hidden in favor of click-toggle) */
@media (min-width: 768px) {
	.navbar-nav li.subpage-nav>a:after {
		display: none;
	}
}

.nav-placeholder>a {
	cursor: default;
}

/* Toggle Button - Universal */
.submenu-toggle {
	display: block;
	position: absolute;
	right: 0;
	top: 0;
	width: 30px;
	height: 50px;
	line-height: 50px;
	text-align: center;
	cursor: pointer;
	color: #ddd;
	z-index: 10;
}

.submenu-toggle:after {
	content: '\25BE';
	/* Down arrow */
	font-size: 1.2em;
	transition: transform 0.3s ease;
	display: inline-block;
}

.submenu-toggle.open:after,
.clicked-open>.submenu-toggle:after {
	transform: rotate(180deg);
}

/* Mobile Menu Improvements */
@media (max-width: 767px) {
	ul.subPageDropdown {
		visibility: visible;
		opacity: 1;
		position: static;
		display: none;
		/* Controlled by jQuery slideToggle */
		box-shadow: none;
		padding-left: 0;
		text-align: center;
		background: rgba(0, 0, 0, 0.1);
		width: 100%;
		border-radius: 0;
	}

	.navbar-nav li:hover>ul.subPageDropdown,
	.navbar-nav li:focus-within>ul.subPageDropdown {
		/* Disable hover on mobile */
		display: none;
	}

	.submenu-toggle {
		width: 50px;
		/* Larger tap target on mobile */
	}

	.navbar-nav .nav-item {
		border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	}

	.navbar-nav .nav-item.active a {
		border-bottom: none;
	}
}

@media (min-width: 768px) {
	.navbar-nav>li {
		white-space: nowrap;
	}

	.navbar-nav>li>a {
		display: inline-block !important;
		vertical-align: middle;
	}

	.navbar-nav>li>.submenu-toggle {
		position: static;
		display: inline-block;
		vertical-align: middle;
		width: auto;
		padding: 0 8px;
		margin-left: -5px;
		/* Adjust spacing beside the link */
		font-size: 1.4em;
		/* Larger arrow for desktop */
	}

	/* Underline synchronization for desktop */
	.navbar-nav .nav-item.active .submenu-toggle {
		border-bottom: 1px solid #ccc;
	}

	.navbar-nav .nav-item:not(.active):hover .submenu-toggle {
		border-bottom: 1px solid #fff;
	}
}