header {
    width: 75px;
    height: 100%;
    position: fixed;
    right: 0;
    margin-left: calc(100% - 75px);
    background-color: #5779a2;
    z-index: 999;
    bottom: 0;
    box-shadow: 0px -5px 15px 1px rgb(0 0 0 / 30%);
}

/*
#logo a,
#mobile-menu {
	width: 100%;
    left: 0px;
	display: block;
}

#mobile-menu img {
	float: right;
    padding-right: 10vw;
}

.logo-nav {
	z-index: 100;
}
*/

.btn-mobile-nav {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    height: calc(50% - 100px) !important;
}

/*
.sticky header {
    position: fixed;
    background: #fff;
    border-bottom: 1px solid #dadada;
	z-index: 100;
    top: 0;
}

.sticky main {
    margin-top: 150px;
}

.sticky header .logo-nav div .btn-mobile-nav {
	position: static;
	margin-right: 0;
	display: block;
}

.sticky header .logo-nav div .btn-mobile-nav img {
	padding-top: 0;
    position: absolute;
    top: 0;
    right: 0;
}
*/





/*
@media 
only screen and (min-width : 220px) and (max-width : 599px) {
	.logo-nav {
		top: 5vh;	
	}
	#logo img {
		margin-left: 7vw;
		float: left;
		max-height: 50px;
	}
	.sticky .logo-nav #logo img {
		margin-left: 0vw;
	}
	.btn-mobile-nav {
		right: 0vw;
	}
	.btn-mobile-nav img, .main-nav .close img {
		max-height: 26px;
	}
}
*/


.noscroll {
    position: fixed;
    height: 100%;
    width: 100%;
}


/*********
Navigation
*********/
.close {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.btn-mobile-nav img,
.close img {
    width: 30px;
    margin-top: 50px;
	    height: fit-content;
}

.btn-mobile-nav img.labyrinth {
	display: none !important;
}

.main-nav .close img {
    width: 20px;
    margin-right: calc((75px - 20px)/2);
    margin-top: 50px;
	position: fixed;
	top: 0;
	right: 0;
	cursor: pointer;
}

/*
@media only screen and (max-width: 599px) and (min-width: 220px) {
	.main-nav .close img {
		padding-top: 7.5vh;
		right: 7vw;
	}
	.sticky header .logo-nav + .main-nav .close img {
		padding-top: 35px;
		right: 7vw;
	}
}
*/

.main-nav {
	margin: 0;
	padding: 0;
	position: fixed;
	left: 0;
	top: 0;
    width: calc(100% - 75px);
	height: 100vh;
	background-image: url(../img/layout/background.jpg);
    background-position: center right;
    background-size: cover;
	display: none;
/*	z-index: 50;	*/
}

.main-nav .overlay {
	display: flex;
	justify-content: center;
	height: 100%;
	align-content: center;
	align-items: center;
}

/*
.sticky header .logo-nav + .main-nav .close img {
	padding-top: 35px;
	right: 7vw;
}
*/

.main-nav ul {
	margin-left: 0;	
	display: flex;
	flex-direction: column;
	padding-top: 0;
	padding-bottom: 0;
	margin-bottom: 0;
}

.main-nav ul li {
	margin: 0;
	padding: 0;
	list-style-type: none;	
	text-align: center;
	height:8vh;
	width: 100%;
	display: flex;
}

@media 
only screen and (max-height : 499.9px) {
    .main-nav ul li {
        margin: 15px;
    }
}

.main-nav ul li:last-child {
	margin-bottom: 0;
}

.main-nav li a {
    color: rgba(255,255,255,0.5);
	font-size: 3.5rem;
	line-height: 4.5rem;
	text-decoration: none;
/*	display: inline-block;*/
	width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
	align-self: center;
}

.main-nav li a.active {
    color: rgba(255,255,255,1);
}

.main-nav li a img.nav-arrow {
    width: 10px;
    margin-right: 20px;
    margin-left: -30px;
    display: none;
}

.main-nav li a.active img.nav-arrow,
.main-nav li:hover a img.nav-arrow {
    display: block;
}

@media 
only screen and (min-width : 220px) and (max-width : 599.9px) {	
	header {
		height: 75px;
		width: 100%;
		margin-left: 0;
	}
	.main-nav {
		width: 100%;
	}
	.btn-mobile-nav {
		align-items: stretch;
		flex-direction: row;
		justify-content: space-between;
		height: 100%;
		
		align-items: center;
    	height: 100% !important;
	}
	.btn-mobile-nav img,
	.close img {
		margin-top: 0px;
		margin-left: 25px;
		margin-right: 25px;
	}
	.btn-mobile-nav img.labyrinth {
		display: block !important;
	}
}

@media 
only screen and (orientation : landscape) and (max-height : 400px) {
    .btn-mobile-nav {
        height: 30%;
    }
    
    div.bottom-nav {
        height: 70%;
    }
    
    .main-nav li a {
        font-size: 1.5rem;
    }
}

/*
.main-nav li hr {
	border: 0;
	border-top: 5px solid #000;
	margin-top: 0;
	margin: 0;
	width: 75%;
	text-align: left;
	visibility: hidden;
}
*/

/*
.main-nav .socialmedia {
	height: 5vh;
}

.main-nav .socialmedia ul {
	width: 100%;
	flex-direction: row;
}

.main-nav .socialmedia ul li {  
	height: 5vh;  
	width: 12%; 
    float: left;
	margin-right: 5%;
	margin-top: 0;
	margin-bottom: 0;
}

.main-nav .socialmedia ul li a { 
	line-height: 1rem;
}

.main-nav .site {
	margin-top: 4vh;
	height: 15vh;
}

.main-nav .site img {
	height: 7.5vh;
	max-width: 50%;
}
*/

/* Tablet */
@media 
only screen and (min-width : 220px) and (max-width : 599px),
only screen and (min-height : 700px) and (max-height : 1000px) {
	.main-nav li a {
		font-size: 1.9rem;
		line-height: 3.5rem;
	}
}
/*
@media 
only screen and (min-width : 220px) and (max-width : 599px),
only screen and (min-height : 700px) and (max-height : 1000px) {
	.main-nav li hr {
		border-top: 4px solid #000;
	}
	.main-nav li:hover hr {
		border-top: 4px solid rgba(200,0,0,1.00);
	}
	.main-nav li a.active hr {
		border-top: 4px solid rgba(200,0,0,1.00);
	}
	.main-nav li a {
		font-size: 2rem;
		line-height: 3.5rem;
	}
	.main-nav .socialmedia ul li {    
		width: 10%;
	}
}
*/

/* Mobile */
@media 
only screen and (min-height : 500px) and (max-height : 699px) {
	.main-nav li a {
		font-size: 1.4rem;
		line-height: 1.5rem;
	}
}
/*
@media 
only screen and (min-height : 500px) and (max-height : 699px) {
	.main-nav .overlay {
		height: 85%;
	}
	.main-nav li hr {
		border-top: 3px solid #000;
	}
	.main-nav li:hover hr {
		border-top: 3px solid rgba(200,0,0,1.00);
	}
	.main-nav li a.active hr {
		border-top: 3px solid rgba(200,0,0,1.00);
	}
	.main-nav li a {
		font-size: 1.5rem;
		line-height: 2rem;
	}
	.main-nav .socialmedia ul li {    
		width: 8%;
	}
}
*/

/* Small Mobile */
/*
@media 
only screen and (min-height : 0px) and (max-height : 499px) {
	.main-nav li hr {
		border-top: 2px solid #000;
	}
	.main-nav li:hover hr {
		border-top: 2px solid rgba(200,0,0,1.00);
	}
	.main-nav li a.active hr {
		border-top: 2px solid rgba(200,0,0,1.00);
	}
	.main-nav li a {
		font-size: 1rem;
		line-height: 1.5rem;
	}
	.main-nav .socialmedia ul li {    
		width: 8%;
	}
}*/
