body{
	color: black;
	height: 100%;
	width: 100%;
}
a{
	color: black;
}

/*** common functions ***/
.full-height{
	height: 100%;
}
.full-width{
	width: 100%;
}
.left-justify{
	float: left;
}
.right-justify{
	float: right;
}
.text-align-center{
	text-align: center;
}
.text-align-left{
	text-align: left;
}
.text-align-right{
	text-align: right;
}
.invisible{
	visibility: hidden;
}
.red-text, 
.red-text a{
	color: red;
}
.bg-dark.btn-primary,
.bg-dark.btn-primary:focus,
.bg-dark.btn-primary:not(:disabled):not(.disabled):active,
.bg-dark.btn-primary:not(:disabled):not(.disabled):active:focus{
	background-color: inherit;
	border: 0;
	box-shadow: none;
}
.navbar .dropdown-on-hover .dropdown-content a.bg-dark:hover{
	background-color: inherit !important;
}
.hidden{
	/*display: none;*/
	visibility: hidden;
}
.popup-on-hover{
	display: none;
}

/*** Sticky footer styles ***/
html{
	min-height: 100%;
	position: relative;
}
body{
	background-color: #FDFDFD;
	margin-bottom: 60px; /* Margin bottom by footer height */
}
body > .container-fluid{
	margin-top: 50px; /* height of footer *//* header! not footer */
	height: 100%;
}
.admin-buttons{
	float: right;
}

/*** footer ***/
.footer{
	/*background-color: #f8f8f8;*/
	bottom: 0;
	color: white;
	height: 60px; /* Set the fixed height of the footer here */
	line-height: 60px; /* Vertically center the text there */
	position: absolute;
	width: 100%;
}
.footer a{
	color: white;
}
.footer > .container{
	max-width: 100%;
}
.footer > .container .left-justify{
	display: inline-block;
}
.footer > .container .right-justify{
	display: inline-block;
	text-align: right;
}
.footer > .container #login{
	margin-top: 10px;
}
.footer > .container button#login:hover,
.footer > .container button#logout:hover,
nav.navbar .admin-buttons button.btn:hover{
	background: white;
}

/*** footer login modal ***/
#loginModal{
	background-color: rgb(0,0,0); /* Fallback color */
	background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
	display: none; /* Hidden by default */
	height: 100%; /* Full height */
	left: 0;
	overflow: auto; /* Enable scroll if needed */
	position: fixed; /* Stay in place */
	top: 0;
	width: 100%; /* Full width */
	z-index: 1; /* Sit on top */
}
#loginModal .modal-box{
	border: 1px solid #888;
	border-radius: 5px;
	margin: 15% auto; /* 15% from the top and centered */
	width: 25em; /* Could be more or less, depending on screen size */
}
#loginModal .modal-content{
	background-color: #fefefe;
	border: none;
	border-radius: 0;
	border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;
	padding: 20px;
}
#loginModal .close-bar{
	background-color: #eee;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
	height: 28px;
	width: 100%;
}
#loginModal .close{
	background-color: #ddd;
	color: #aaa;
	float: right;
	font-size: 28px;
	font-weight: bold;
	padding-left: 4px;
	padding-right: 4px;
	text-align: right;
}
#loginModal .close:hover,
#loginModal .close:focus{
	color: black;
	cursor: pointer;
	text-decoration: none;
} 

/*** navbar ***/
.navbar.navbar-expand-md{
	height: 56px;
	/*overflow: hidden;*/
}
.navbar .dropdown-on-hover{
	display: inline-block;
	overflow: hidden;
	padding-top: 2px;
}
.navbar .navbar-brand{
	padding-left: 15px;
}
/* Dropdown Content (Hidden by Default) */
.navbar .dropdown-content{
	border-radius: 3px;
	color: white;
	display: none;
	min-width: 160px;
	position: absolute;
	z-index: 1;
}
/* Links inside the dropdown */
.navbar .dropdown-content a{
	color: white;
	display: block;
	padding: 12px 16px;
	text-decoration: none;
}
/* Show the dropdown menu on hover */
.navbar .dropdown-on-hover:hover .dropdown-content{
	display: block;
	position: absolute;
	z-index: 1;
}
.navbar .admin-buttons{
	display: inline-block;
	padding-top: 4px;
}

/*** print dropdown button/menu ***/
/* The container <div> - needed to position the dropdown content */
.print-menu.dropdown{
	position: relative;
	display: inline-block;
}
.print-menu .dropbtn{
	/*color: white;*/
	padding: 16px;
	border: none;
}
/* Dropdown Content (Hidden by Default) */
.print-menu .dropdown-content{
	display: none;
	position: absolute;
	min-width: 160px;
	z-index: 1;
}
/* Links inside the dropdown */
.print-menu .dropdown-content a{
	color: white;
	padding: 12px 16px;
	text-decoration: none;
	display: block;
}
/* Change the background color of the dropdown button when the dropdown content is shown */
.print-menu .dropdown:hover .dropbtn {
	background-color: inherit;
} 	
/* Show the dropdown menu on hover */
.print-menu.dropdown:hover .dropdown-content{
	display: block;
}
