/* DESKTOP */
@media only screen and (min-width: 1200px) {
	body {
		font-size: 16px;
		/* width: 80%; */
		margin: 0;
	}

	.top-logoitem {
		font: 1.25em/1.75em 'NobileRegular', Arial, sans-serif;
		padding: 6px;
	}

}

/* TABLET */
@media only screen and (min-width: 768px) and (max-width: 1199px) {
	body {
		font-size: 14px;
		/* width: 90%; */
		margin: 0;
	}

	.top-logoitem {
		font: 0.75em/1.25em 'NobileRegular', Arial, sans-serif;
		padding: 4px;
	}

	.top-logoitem img {
		width: 90%;
	}

	.top-logocontainer {
		margin: 0px 10px 0px 10px;
	}

	/* position language flags */
	#small-lang-menu {
		margin: 0px 60px 0px 0px;
	}

}

/* PHONE */
@media only screen and (max-width: 767px) {
	body {
		font-size: 12px;
		/* width: 100%; */
		margin: 0;
	}

	.top-logoitem {
		font: 0.5em/0.75em 'NobileRegular', Arial, sans-serif;
		padding: 6px;
	}

	.top-logoitem img {
		width: 90%;
	}

	/* change normal sideway list to a grid *
	 * so we can fit it on tiny screen      */
	.navbar ul {
		display: grid;
		grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
		grid-column-gap: 4px;
		grid-row-gap:4px;
	}

	.navbar div {
	}

	/* small screens can't have two columns change to one */
	.content-grid-container {
		grid-template-columns: auto;
	}

	/* adjust margins for tiny display */
	.content-grid-container {
		margin: 0 4px 0 10px;
	}

	/* when we jump to an achor it will be covered *
	 * beneath the menu unless we move it a bit    */
	.content-topic {
		padding-top: 130px;
		margin-top: -130px;
	}

	/* logos gets too cramped with text on tiny devices    *
	 * so shrink the padding and shrink the images as well */
	.content-grid-item img {
		height: 14px;
		padding-right: 10px;
		margin: 0;
	}

}
