/* header */

/* Small screen < 700px wide */

.header {
	
/*	box-shadow: 1px 1px 4px 0 rgba(0,0,0,.1);*/
	grid-area: header;
	display: flex;
	width: 100%;
	z-index: 3;
	/*border: 2px white solid;*/
}

.header ul {
	margin: 0;
	padding: 0;
	list-style: none;
	overflow: hidden;
	width: 500px;
}

.header li a {
	display: block;
	padding: 1em 1em;
	font-size: 1rem;
	text-decoration: none;
	position: relative;
	z-index: 0;	
}

.header li a:hover,
.header .menu-btn:hover {
	color: #4bb0e0;
  	
}

/* menu */

.menu-bar {
	width: 100%;
	float: right;
}

.menu li a{
	color: #fff;
	/*width: auto;*/
}

.menu .current-page {
    color: #adadad; 
    font-style: italic;
	position: relative;
	z-index: 4;
	
}

.header .menu {
	clear: both;
	max-height: 0;
	transition: max-height .2s ease-out;
	background-color: #000;
	height: auto;
	width: auto;	
	/*border: 2px cyan solid;*/
	float: right;
	
}

/* menu icon */

.header .menu-icon {
	cursor: pointer;
	display: inline-block;
	float: right;
	padding: 28px 20px;
	position: relative;
	user-select: none;
	
}

.header .menu-icon .navicon {
	background: #4bb0e0;
	display: block;
	height: 3px;
	position: relative;
	transition: background .2s ease-out;
	width: 24px;
}

.header .menu-icon .navicon:before,
.header .menu-icon .navicon:after {
	background: #4bb0e0;
	content: '';
	display: block;
	height: 100%;
	position: absolute;
	transition: all .2s ease-out;
	width: 100%;
	
}

.header .menu-icon .navicon:before {
  	top: 7px;
}

.header .menu-icon .navicon:after {
  	top: -7px;
}

/* menu btn */

.header .menu-btn {
  	display: none;
}

.header .menu-btn:checked ~ .menu {
  	max-height: 400px;
}

.header .menu-btn:checked ~ .menu-icon .navicon {
  	background: transparent;
}

.header .menu-btn:checked ~ .menu-icon .navicon:before {
  	transform: rotate(-45deg);
}

.header .menu-btn:checked ~ .menu-icon .navicon:after {
	transform: rotate(45deg);
}

.header .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:before,
.header .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:after {
	top: 0;
}

/* Tablet menu */
@media all and (min-width: 700px) {
	
	.header {
		/*border: 2px solid red;;*/
	}
	.menu-logo {
		width: 15%;
	}
	.menu-bar {
		width: 85%;
		float: right;
		min-width: 500px;
	}

	.header li {
		float: left;
		/*border: 2px solid green;*/
		min-width: 100px;
		width: auto;
	}
	.header li a {
		font-size: 0.9rem;
		padding: 0.9em 0.9em;
	}
	.header .menu {
		background-color: transparent;	
		clear: none;
		float: right;
		max-height: none;
		
	}
	.header .menu-icon {
		display: none;
	}

}
/* Desktop menu */
@media all and (min-width: 960px) {
	
	.header {
		/*border: 2px solid cyan;*/
	}
	
	.header li {
		float: left;
		/*border: 2px solid red;*/
	}
	.header li a {
		font-size: 1.1rem;
		padding: 20px 30px;
	}
	.header .menu {
		background-color: transparent;
		clear: none;
		float: right;
		max-height: none;
		min-width: 500px;
		
	}
	.header .menu-icon {
		display: none;
	}
  
}
