:root {
	--container-height: calc(100vh - var(--banner-height) - var(--nav-menu-height) - 85px); /* 85px Footer  */;
}

/* * {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
} */

/* html, body {
	height: 100%;
} */

/* .container {
	position: relative;
	min-height: 60vh;
	text-align: center;
	padding: 10px 0px;
	height: var(--container-height);
	overflow-y: auto;
} */

.page-title, 
.page-subtitle {
	font-weight: normal;
	color: var(--page-title-color);
	text-align: left;
	padding: 5px;
	text-transform: uppercase;
}
.page-title {
	margin: 0px 0px 1% 3%;
}
.page-subtitle {
	margin-left: 5%;
	font-weight: lighter;
}

.empty-list-msg {
  margin-top: 10%;
  color: var(--primary-color);
  font-style: italic;
  text-align: center;
}

.msg {
	font-weight: lighter;
	font-style: italic;
	font-size: small;
	color: #6e6e6e;
	margin: 5px 15%;
}


.home {
	margin: 5% 0;
}
.home p {
	padding: 10px 0;
}
.home a {
	text-decoration: none;
	color: var(--portal-link-color);
}
.home a:hover {
	text-decoration: underline;
	color: var(--portal-link-hover-color);
}

.home-title {
	margin: 20px;
	color: var(--primary-text-color);
}

.home img {
	max-width: 75%;
	position: relative;
	display: inline-block;
}

.page-message {
  width: 70%;
  margin: 0 auto;
  text-align: left;
  box-shadow: 0 0 4px -2px;
  padding: 10px 25px;
	margin-top: 30px;
}
.page-message h3 {
  text-align: center;
  margin-left: 0;
	color: var(--primary-color);
}
.page-message p {
  line-height: 1.5;
}

.page-message-container {
  width: 70%;
  margin: 0 auto;
  text-align: left;
  box-shadow: 8px 8px 4px -2px #ddd;
	background: #fffdf4;
  padding: 10px 25px;
	margin-top: 30px;
}
.page-message-container h3 {
  text-align: left;
  margin-left: 0;
	color: var(--primary-color);
}
.page-messages p {
  line-height: 1.5;
}


/* ************************************************** Banner ************************************ */
/*#region*/

.banner-container {
	display: flex;
	flex-direction: row;
	align-items: center;
	background: var(--banner-background);
}
.banner-logo {
  width: var(--banner-logo-width);
	height: var(--banner-height);
  flex-shrink: 0;
	background: var(--banner-background);
	margin: 3px 0px 3px 25px;
}
.banner-logo2 {
	display: block;
	background-image: var(--banner-logo-image2);
	background-repeat: no-repeat;
	background-size: contain;
	background-position-y: center;
	height: var(--banner-height);
	width: var(--banner-logo2-width);
}
.banner-link {
	display: block;
  background-image: var(--banner-logo-image);
	background-repeat: no-repeat;
	background-size: contain;
	background-position-y: center;
  height: var(--banner-height);
	width: 100%;
}


.banner-title {
	display: flex;
	align-items: center;
	justify-content: center;
	width: calc(100% - 88px);
	margin-left: 44px;
	height: var(--banner-height);
	background: var(--banner-background);
	color: var(--banner-color);
  font-family: var(--banner-font-family);
	font-size: 1.25rem;
	font-weight: 700;
  text-align: center;
	letter-spacing: 2px;
}

.banner-title-3 {
	width: calc(100% - 50px - (2 * (var(--banner-logo-width))) - 88px);
}

.banner-title a {
	color: var(--banner-color);
	text-decoration: none;
}
.banner-title a:hover {
	color: var(--banner-color);
	text-decoration: none;
}

.banner-login {
	flex: 1;
	margin-right: 20px;
}

.banner-login span {
	color: var(--banner-color);
	float: right;
}

/*#endregion*/


/* *************************************************** Nav items ******************************** */
/*#region*/
.nav {
  background: var(--nav-background);
	color: var(--nav-text);
	height: var(--nav-menu-height);
}
/* nav menu */
.nav ul {
	list-style-type: none;
	background: var(--nav-background);
}
/* nav-menu-item */
.nav ul li {
	position: relative;
}
/* nav-menu-item a */
.nav ul li a {
	position: relative;
  color: var(--nav-text);
  text-decoration: none;
	text-transform: uppercase;
	display: flex;
	align-items: center;
	width: 100%;
	line-height: 1.5rem;
}
/* menu Drop down arrow */
.nav ul li a .expander {
	position: absolute;
	align-self: center;
	right: 40px;
	transition: transform 0.6s;
}

/* hamburger menu btn */
.nav-toggle {
	position: absolute;
	cursor: pointer;
	margin: 0rem 1rem;
	right: 0;
	z-index: 5;
	text-align: right;
}

.nav-close-menu {
	display: none;
}

.nav-checkbox  {
	display: none;
}



/* nav > ul */
.nav-menu {
	display: none;
	opacity: 0;
	position: relative;
	z-index: 2;
	animation: fade-in 0.7s ease;
}

/* nav > ul > li */
.nav-menu-item {
	display: block; 
	align-items: center;
}



/* nav > ul > li > ul  */
.nav-submenu {
	position: static;
	display: none;
	opacity: 0;
	margin-left: 1rem;
	width: 95%;
	z-index: 10;
	animation: fade-in 0.7s ease;
}

/* nav > ul > li  ul  li */
.nav-submenu-item {
	width: 100%;
}
.nav-submenu-item a {
	line-height: 2.0rem;
}


.rotate-submenu-icon {
	transform: rotate(-180deg);
}

.rotate-expander {
	transform: rotate(-180deg);
}


.show-submenu {
	display: block;
	opacity: 1;
}

@keyframes fade-in {
	0% {
			opacity: 0;
	}
	100% {
			opacity: 1;
	}
}

/*#endregion */

/* ***********************************************************  Footer ***************************** */
/*#region*/
footer {
	width: 100vw;
	margin: 0 auto;
	background: var(--footer-background);
	color: var(--footer-link);
  text-align: center;
	bottom: 0;
	height:74px;
}

.footer-container {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
}

footer a {
	text-decoration: none;
	color: var(--footer-link-color);
}

footer a:hover {
	text-decoration: underline;
	color: var(--footer-link-hover-color);
}

.copyright {
	text-align: center;
	width: 100%;
	background-color: #444;
	color: #999;
	font-size: 12px;
	padding: 5px 0;
}

.copyright a {
	color: var(--footer-link);
	text-decoration: none;
}

.copyright a:hover {
	color: #FFF;
	text-decoration: underline;
}



.digi-logo {
  background-image: url(/digi-logo.png);
  height: 60px;
  width: 60px;
  background-size: cover;
  background-repeat: no-repeat;
}

.digi-content {
	margin: 1rem;
	width: 100%;
  padding-left: 30px;
	color: var(--footer-text);
}


/*#endregion */

/*#region CHECK BOX MENU */
@media only screen and (max-width: 768px) {

	#nav-checkbox:checked ~ ul.nav-menu {
		display: block;
		opacity: 1;
	}

	#nav-checkbox:checked ~ label.nav-toggle .nav-close-menu {
		display: block;
	}
	
	#nav-checkbox:checked ~ label.nav-toggle .nav-open-menu {
		display: none;
	}
	
}
/*#endregion*/


@media only screen and (min-width: 768px ) {
	.banner-title {
		font-size: 1.75rem;

	}

	.nav-toggle, .nav-checkbox {
		display: none;
	}
	.has-submenu span {
		display: none;
	}

	.nav-menu {
		display:flex;
		flex-direction: row;
		flex-wrap: nowrap;
		justify-content: space-around;
		width: 100%;
		height: inherit;
		font-size: 15px;
		opacity: 1;
		visibility: visible;
	}
	.nav-menu-item {
		display: flex;
		height: inherit;
	}
	.nav-menu-item a {
		line-height: 1.1rem;
		padding: 0px 1.25rem;
		height: inherit;
	}
	.nav-menu-item > .nav-submenu {
		top: 2.5rem;
	}

	/* nav > ul > li > ul  */
	.nav-submenu {
		display: flex;
		flex-direction: column;
		position: absolute;
		min-width: var(--nav-min-popup-menu-width);
		padding: 0.3rem;
		background: var(--nav-background);
		margin: 30px 0px 0px 30px;
		opacity: 0;
		visibility: hidden;
		width: max-content;
		box-shadow: 3px 3px 3px #444;
		transition: all .5s ease-in-out;
	}
	
	.nav-submenu-item a {
		padding: 0.3rem;
		justify-content: start;
	}

	.nav-submenu .nav-submenu {
		left: 100%;
		top: 0px;
		margin: 30px 0px 0px 30px;
	}

	/* nav > ul > li > ul  li */
	.nav-submenu-item {
		border-left: 1px solid rgba(173, 173, 173, 0.397);
		border-right: 1px solid rgba(173, 173, 173, 0.397);
		border-bottom: 1px solid rgba(173, 173, 173, 0.397);
		border-radius: 3px;
	}

	.nav-menu-item:hover > a,
	.nav-submenu-item:hover > a
	{
		background: var(--nav-hover-background);
		color: var(--nav-hover-text);
		border-radius: 8px;
	}

	.has-submenu:hover > .nav-submenu {
		opacity: 1;
		visibility: visible;
		margin: 0px;
	}

  footer {
		position: fixed;
	}
	
	.home img {
		max-width: 95%;
		height: var(--container-height);
	}

}

@media only screen and (min-width: 1024px ) {
	.banner-title {
		font-size: 1.5rem;

	}
}