/* UX Design Process */

body {
	margin: 0;
	padding: 0;
	background-color: rgb(0,60,100);
	font-family: "Alegreya Sans", Helvetica, Arial, sans-serif;
}

h1, h2, h3, ul, li {
	margin: 0;
	padding: 0;
}

ul {
	list-style: none;
}

.block img {
	width: 100%;
	vertical-align: bottom;
	}

.clearit {
	clear: both;
}		


/* Define the main blocks */
		
.container-page {
	width: 100%;
	max-width: 768px;
	max-width: 1024px;
	margin-left: auto;
	margin-right: auto;
}

.container-content {
		background-color: rgb(250,252,248);
	}
				

.nav-inpage {
	display: none;
}

.container-nav {
	display: none;
}

.mobile-nav {
	width: 100%;
}

.mobile-nav a.nav {
	display: block;
	position: fixed;
	bottom: 0;
	height: 48px;
	background-color: rgb(0,150,220);
	background-image: url(../lib2018/malami-home.png);
	background-repeat: no-repeat;
	background-size: contain;
	width: 100%;
	text-decoration: none;
	z-index: 10;
}

.mobile-nav  a.nav p {
	padding-left: 2.5%;
	padding-right: 2.5%;
	margin: 0;		
}

.mobile-nav a.nav p {
	font-size: 14px;
	color: black;
	color: white;
	position: absolute;
	left: 0;
	width: 40%;
	padding-top: 6px;
	padding-left: calc(2.5% + 48px);
}


@media (min-width: 320px) {
	.mobile-nav {
		display: block;
	}
	
	
}


@media (min-width: 768px) {
	.container-nav {
		display: block;
	}

	.mobile-nav {
		display: none;
	}
	
	.container-content {
		float: right;
		width: calc(100% - 200px);
		background-color: rgb(250,252,248);
		font-size: 1.25em;
		z-index: 10;
	}
		
	.fixit {
		position: fixed;
		top:0;
		height: 100%;
		overflow: scroll;
	}
						
	.container-nav {
		display: block;
		float: left;
		width: 200px;
	}
	
	.nav-inpage {
		display: block;
	}
}



/* Style the left side secondary page nav */
		
.nav-inpage li a {
	display: block;
	line-height: 2rem;
	padding-left: 5%;
	padding-right: 2.5%;
	color: rgba(255,255,255,.6);
	text-decoration: none;
}

.nav-inpage li a:hover {
	color: rgba(255,255,255,1);
	background-color: rgb(0,150,0);
}

.nav-inpage ul li {
	background-color: rgba(0,120,0,.9);
}

.nav-inpage ul li:nth-child(even) {
	background-color: rgba(0,110,0,.9);
}


.nav-inpage h3 {
	background-color: rgba(220,30,30,1);
	padding-left: 5%;
	line-height: 2rem;
	font-size: 1rem;
}
		
.container-nav .nav img {
	vertical-align: bottom;
}


/* left side primary navigation */


a.nav {
	display: block;	
	height: 64px;
	position: relative;
	color: black;
	font-weight: bold;
	background-color: rgb(10,90,130);
}

a.nav:nth-child(even) {
	background-color: rgb(30,110,150);
}

a.current, a.nav:nth-child(even).current {
	color: white;
	background-color: rgb(0,150,0);
	background-color: rgb(80,140,0);
}

a.nav:hover {
	background-color: rgb(0,150,0);
}

.nav-label {
    position: absolute;
    top: 50%;
    left: 5%;
    padding-right: 16px;
    transform: translateY(-50%);
}

.nav img {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
}










