/* ================================================================================================================ */

/* slide-in menu */

/* menu link: toggle off for larger screens; */
.slide-toggle {
	display: none;
}

/* checkbox: displayed off-screen */
.slide-checkbox {
position: fixed;
top: -9999px;
left: -9999px;
}

.hamburger-bar img {
	display: none;
}

@media (max-width: 767px) {

	/*disable columns assignment to allow vertical arrangement*/
	nav {
		grid-template-columns: unset;
		background: #b50303;
		grid-template-rows: 1fr 10fr;
	}

	.topnav-wrapper{
	    /* display: flex; */
	    grid-column: 1 / -1;
	    height: 85vh;
	    grid-row: 2;
	    align-self: start;
	    /* align-content: space-between; */
	    /* flex-direction: column; */
	}

	.topnav, .lownav {
		grid-column: 1 / -1;
		display: flex;
		flex-wrap: wrap;
		margin: 0;
		flex-direction: column;
		text-align: center;
		align-self: start;
	}

	.lownav {
		align-self: end;
		margin-bottom: 2em;
	}

	.small-logo {
		display: initial;
		grid-column: 1 / -1;
		justify-self: center;
	}

	.small-logo img {
		grid-column: 1 / -1;
		justify-self: center;
		max-width: 4em;

	}

	/* menu link: toggle on for smaller screens; (default is display:none) */
	.slide-toggle {
	display: block;
	}
	/* clickable label; don't display on larger views */
	.slide-toggle {
		display: block;
		position: fixed;
    	top: 8px;
    	left: 0px;
		z-index: 1001;
		margin:0;
		padding: 0;
		width: 1.7em;
		height: 2.3em;
		/* padding-top: 0.5em; */
		text-align: center;
		height: 1.3em;
		font-size: 2em;
		color: black;
		content: 'BB';
		border-radius: 7px;
		/* background-color: white; */
		/* opacity: 0.8; */
		/* box-shadow: 3px 3px 5px #000000ab; */

	/* 	position: fixed;
	top: 0;
	z-index: 1001;
	margin: 2px 0 0 2px;
	padding: 0;
	width: 2.3em;
	height: 2.3em;
	border: none;
	text-indent: 2.5em;
	font-size: 1.5em;
	border-radius: 7px;
	box-shadow: 3px 3px 5px black; */


	/* 	color: transparent;
	background: black; */
	/* 	-webkit-filter: invert(1);
	filter: invert(1); */

	/*cursor: pointer;
	position: absolute;
	top: 0em;
	left: 0em;
	z-index: 500;
	display: none;
	margin: 0;
	height: 3.5em;
	width: 4.2em;*/
	}

	/* remove outlines */
	.slide-toggle,
	.slide-toggle:active,
	.slide-toggle:focus {
	border: none !important;
	outline: none !important;
	-webkit-tap-highlight-color: rgba(255,255,255,0);
	}




	/* 	.nav-anchor .smallNav-logo img {
	display: none;
	} */

	/* transition determines slide speed */
	.nav-anchor {
	-webkit-transition: -webkit-transform 400ms ease;
	-moz-transition: -moz-transform 400ms ease;
	-o-transition: -o-transform 400ms ease;
	transition: transform 400ms ease;
	z-index: 150;  /* above page, below menu icon */
	opacity: 0.85;

	width: 50%;
	height: 100%;
	position: fixed;
	left: 0;
	top: -3px;

	/* Keeps menu hidden off-canvas to the left */
	-webkit-transform: translate3d(-60vw, 0, 0)  scale(1);
	-moz-transform: translate3d(-60vw, 0, 0)  scale(1);
	-ms-transform: translate3d(-60vw, 0, 0)  scale(1);
	-o-transform: translate3d(-60vw, 0, 0)  scale(1);
	transform: translate3d(-60vw, 0, 0)  scale(1);
	}



	/* Enable hardware acceleration and stop flickering
	* More details: http://indiegamr.com/ios6-html-hardware-acceleration-changes-and-how-to-fix-them/
	* Add more browser prefixes as required */
	/* 	.nav-anchor  {

	transform: translate3d(0, 0, 0);
	-webkit-transform: translate3d(0, 0, 0);
	-moz-transform: translate3d(0, 0, 0);
	} */

	/* when checked slide in menu content */
	.slide-checkbox:checked ~ .nav-anchor  {
	-webkit-transform: translate3d(-3px, 0, 0) scale(1);
	-moz-transform: translate3d(-3px, 0, 0) scale(1);
	-ms-transform: translate3d(-3px, 0, 0) scale(1);
	-o-transform: translate3d(-3px, 0, 0) scale(1);
	transform: translate3d(-3px, 0, 0) scale(1);
	}

	p, h1, h2, h3 {
	/*font-smoothing: antialiased;*/
	-webkit-font-smoothing: antialiased;
	}


	
	/* slide-in-menu: scope and transitions */
	/*@media handheld, only screen and (max-width: 767px) {*/

	/* 	.hamburger-bar {
	position: relative;
	background-position: 100% 0.1em;
	height: 3.7em;
	background-color: white;
	background-image: url(/site/assets/images/graphical_elements/logo_small.png); replaced with image/link to homepage
	background-repeat: no-repeat;
	background-size: 10em;
	background-position: 96% 0.6em;
	z-index: 400;

	}

	.hamburger-bar img {
	float: right;
	max-width: 10.5em;
	padding-top: 0.6em;
	padding-right: 0.5em; 
	} */

}/* END: @media and (max-width: 767px)*/


