/* royalty-free heading font courtesy of https://fontlibrary.org/en/font/d-din */
@font-face {
    font-family: D-DIN;
    src: url(includes/D-DIN.woff);
}

/* -------------------------------------------------------------------------- */
/* top navigation bar */
/* name changed to #nonetnavbar to avoid conflict with phpbb #navbar
/* -------------------------------------------------------------------------- */
#nonetnavbar {
	background-color: #222; /* navbar must be totally opaque, otherwise phpBB looks weird since it's not transparent */
	line-height: 1;
	margin: auto;
	min-width: 320px; /* devices smaller than 320px can be pretty safely disregarded according to google */
}

/* NOTE: for phpbb integration, some css (margin and height) is set in the phpbb theme */

#nonetnavbar a {
	text-decoration: none;
	padding: 0px;
}

#nonetnavbar a.nonetlogo {
	background-size: 44px;
	width: 44px;
	height: 44px;
	float: left;
}

#nonetnavbar a.nav {
	display: inline;
	text-align: center;
	float: right;
	padding: 11px;
	background: #222;
	font: normal 22px D-DIN, sans-serif;
	line-height: 1;
}


#nonetnavbar a.nav {
	color: #999;
}
#nonetnavbar a.nonetlogo {
	background-image: url('img/glyph_gray.svg');
}

#nonetnavbar a.nav:hover {
	color: #02d21e;
}
#nonetnavbar a.nonetlogo:hover {
	background-image: url('img/glyph_green.svg');
}


/* make sure current selection doesn't become invisible due to color change on :hover */
#nonetnavbar a.current:hover{
	color: black;
}
#nonetnavbar a.nonetlogo.current:hover {
	background-image: url('img/glyph_black.svg');
}

/* class .current is set for the page the user is on */
#nonetnavbar a.current {
	background-color: #02d21e;
	color: black;
}
#nonetnavbar a.nonetlogo.current {
	background-image: url('img/glyph_black.svg');
}

/* remove the square Firefox draws on image links when clicked */
#nonetnavbar a:focus {
	outline: none;
}


/* use condensed layout for anything smallish */
@media screen and (max-width: 767px) {
	#nonetnavbar {
		height: 44px;
	}
}
