html {
	color: #0F75B8;
	overflow-y: scroll;
}

* {
	margin: 0;
	padding: 0;
}

@font-face {
    font-family: Oswald;
    src: url(Oswald.ttf);
}

@font-face {
    font-family: Lato;
    src: url(Lato.ttf);
}

body {
	background-color: #0F75B8;
	font-size: 16px; /*If change, also change size of pictures*/
	font-family: "Lato", sans-serif;
}

h1, h2, h3, h4 {
	font-weight: normal;
	padding: 1em 0;
}

h1 {
	font-weight: bold;
	font-size: 1.8em;
}

h2 {
	font-size: 1.6em;
}

h3 {
	font-size: 1.4em;
}

h4 {
	font-size: 1.2em;
}

p {
	margin-bottom: 1.5em;
	line-height: 1.5em;
}

a {
	text-decoration: none;
}

img {
	max-width: 100%;
	height: auto;
	margin-bottom: 1em;
}

button {
	background:#fff;
	font-family: "Oswald", sans-serif;
	color:#0F75B8;
	font-size: 1.2em;
	-webkit-box-shadow: none;
    box-shadow: none;
	margin-bottom: 1.2em;
}

header {
    z-index: 2;
	background-color: #fff;
	padding: 1em; 
}

img#logo {
	max-height: 2em;
	margin-bottom: 0;
}

img#menu {
	max-height: 2em;
	float: right;
	margin-bottom: 0;
}

.rotate {
	-webkit-transform: rotate(90deg);  /* Chrome, Safari 3.1+ */
	-moz-transform: rotate(90deg);  /* Firefox 3.5-15 */
	-ms-transform: rotate(90deg);  /* IE 9 */
	-o-transform: rotate(90deg);  /* Opera 10.50-12.00 */
	transform: rotate(90deg);  /* Firefox 16+, IE 10+, Opera 12.10+ */
}

nav#header {
	display: inline; /*for Chrome when change size, mobile has to be inline*/
}

ul#navigation {
	display: none;
	padding-top: 0.5em;
	line-height: 2em;
	list-style: none;
	font-size: 1.2em;
}

ul#navigation li a {
	background-color: #fff;
	padding: 0.5em 0;
	display: block;
	color: #0F75B8;
	font-family: "Oswald", sans-serif;
}

.plus {
	background: url(../img/plus.png); /*not in one row for Safari*/
    background-repeat: no-repeat;
	background-position: right;
}

.minus {
	background: url(../img/minus.png); /*not in one row for Safari*/
    background-repeat: no-repeat;
	background-position: right;
}

ul#navigation ul {
	display: none;
}

ul#navigation li ul {
	list-style: none;
	display: none;
}

ul#navigation li ul li {
	padding-left: 1.5em;
}

div#wrapper ul, div#wrapper ol {
	padding-left: 1.3em; /*otherwise bullets not visible*/
	line-height: 1.5em;
	list-style-position: outside;
	overflow: auto; /*otherwise bullets inside img*/
}

div#wrapper a {
	text-decoration: underline;
}

div#wrapper a:hover {
	color: #f60;
}

div.inner-wrapper {
	overflow: hidden;
	padding: 1em;
}

div.inner-wrapper:nth-child(odd) {
	background-color: #0F75B8;
	color: #fff;
}

div.inner-wrapper:nth-child(odd) a {
	color: #fff;
}

div.inner-wrapper:nth-child(even) {
	background-color: #fff;
	color: #0F75B8;
}

div.inner-wrapper:nth-child(even) a {
	color: #0F75B8;
}

div.inner-wrapper:last-child {
	padding-bottom: 4em;
}

section.main {
	width: 100%;
	padding: 2em 0;
	overflow: hidden;
}

img.standalone {
	margin: 1em 0;
}

#foot {
	padding: 1em;
	background-color: #000;
}

#foot h4 {
	color: #fff;
}

nav#footer a {
	color: #808080;
}

nav#footer a:hover {
	color: #f60;
}

section.footer-box ul {
	list-style: none;
	font-size: 0.8em;
}

section.footer-box ul li {
	padding: 1.5em 0;
}

@media only screen and (min-width: 700px) {

	section.main img.with-text {
		float: left;
		margin-right: 2em;
		padding-right: 2em;
	}
	
	img.with-text h3 {
		padding-top: 0em;
	}

	div.inner-wrapper:nth-child(odd) section.main img.with-text {
	    border-right: solid #fff;
	}
	
	div.inner-wrapper:nth-child(even) section.main img.with-text {
	    border-right: solid #0F75B8;
	}
}

@media only screen and (min-width: 1024px) {
	
	header {
		position: fixed;
		width: 100%;
		padding: 1em 0 0 0;
	}
	
	img#logo {
		max-height: 4em;
		position: absolute;
	}
	
	img#menu {
		display: none;
	}
	
	nav#header {
		display: block; /*for Chrome when change size, mobile has to be inline*/
		margin: 0 auto;
		width: 56%;
		min-width: 950px;
	}
	
	ul#navigation {
		width: auto;
		display: table;
		padding-top: 1.5em;
		line-height: normal;
		margin: 0 auto;
	}
	
	ul#navigation li {
		float: left;
	}
	
	ul#navigation li a {
		background: none; /*for plus and minus on mobile view*/
		background-color: #fff; /*when set to none, has to set color*/
		padding: 0.5em 1.1em 0.5em 1.1em;
	}
	
	ul#navigation li a:hover, ul#navigation li a:focus {
		color: #fff;
		background-color: #0F75B8;
	}
	
	.plus {
		background: none;
        cursor: context-menu;
	}
	
	.minus {
		background: none;
	}
	
	ul#navigation ul {
		position: absolute;
		display: block;
	}
	
	ul#navigation li:hover ul {
		display: block;
	}
	
	ul#navigation ul li {
		float: none;
	}

	ul#navigation li ul li {
		padding-left: 0em;
	}
	
	div#wrapper {
		padding: 6em 0 0 0;
	}
	
	/*if image larger than text, the next element is not shown at next line*/ 
    div.main-wrapper {
		overflow: hidden;
	}
	
	section.main {
		margin: 0 auto;
		width: 56%;
		min-width: 950px;
	}

	section.main2 {
		float: left;
		width: 48%;
		padding-right: 1em;
	}
	
	section.main3 {
		float: left;
		width: 31.5%;
		padding-right: 1em;
	}
	
	section.main4 {
		float: left;
		width: 23%;
		padding-right: 1em;
	}

	#foot {
		padding: 0 0 1em 0;
		width: 100%;
		display: table;
	}
	
	nav#footer {
		margin: 0 auto;
		width: 35%;
		min-width: 600px;
	}
	
	section.footer-box {
		float: left;
		width: 33.3%;
	}
	
	section.footer-box ul li {
		padding: 0.2em 0;
	}
}