* {
	margin: 0;
	padding: 0;
}

html {
	font-size: 100%;
	height: 100%;
}

body {
	height: 100%;
	font-family: 'Yanone Kaffeesatz', sans-serif;
	font-size: 1.5rem;
	color: #333;
}

wrapper {
	max-width: 1400px;
	margin: 0 auto;
	display: block;
}

header {
	padding: 15px;
}

header .inside {
	border-bottom: solid 1px #333;
}

h1 {
	font-size: 2.5rem;
    margin: 3rem 0 0;
	color: #005578;
}

h2 {
	font-size: 2rem;
    margin: 0 0 1rem;
}

h4 {
	margin: 1rem 0;
	font-family: 'Prata', serif;
	color: #005578;
}

img {
	display: block;
}

/*#logo {
	margin: 15px 0 15px 15px;
}*/

#logo, #logo img {
	width: 78px;
	height: auto;
	display: block;
} 

#tuliLogo, #tuliLogo img {
	top: 10px;
	right: 10px;
	height: 78px;
	width: auto;
	display: block;
	position: absolute;
}

#container, footer {
	display: grid;
    grid-template-columns: 15px 1fr 15px;
    grid-template-rows: auto;
	max-width: 1600px;
	margin-left: auto;
	margin-right: auto;
}

.gridCenter {
	grid-column-start: 2;
	grid-column-end: 3;
}

.gridFull {
	grid-column-start: 1;
	grid-column-end: 4;
}

#threeBlocks {
	display: grid;
	grid-row-gap: 25px;
	padding: 30px 15px;
	margin-bottom: 2rem;
}

.block {
	padding: 15px;
	background: #dae5ec;
	/*box-shadow: rgba(155,154,154,.25) 0 3px 11px 0!important;
    -moz-box-shadow: rgba(155,154,154,.25) 0 3px 11px 0!important;
    -webkit-box-shadow: rgba(155,154,154,.25) 0 3px 11px 0!important;*/
}

.block::before {
	content: '1';
	font-family: 'Prata', serif;
	font-size: 2rem;
    display: block;
    /*text-align: center;*/
    padding-top: 18px;
    margin-left: 10px;
}

.center::before {
	content: '2';
}

.last::before {
	content: '3';
}

.block p {
	font-weight: 300;
	line-height: 1.7rem;
}

.textBlock p {
	margin: 0 0 30px;
}
	
.textBlock figure, .textBlock img {
	width: 100%;
	height: auto;
	display: block;
}

.social a {
	width: 50px;
	height: 50px;
	display: block;
	cursor: pointer;
	justify-self: center;
}

.social a img {
	cursor: pointer;
}

footer {
	padding: 20px;
	background: orange;
	display: block;
	margin: 30px 0 0;
}

footer h3 {
	margin-bottom: 1rem;
}

footer a {
	color: #333;
	text-decoration: none;
}


.footerSub {
	width: 100%;
	background: #fcfcfc;
	text-align: center;
	padding: 5px 0;
}

.footerSub a {
	font-size: 1rem;
	color: #666;
	text-decoration: none;
}

figcaption {
	font-size: 0.8rem;
	margin-top: 10px;
}


@media screen and (min-width: 768px) {
	#container, footer {
		grid-template-columns: 30px 1fr 30px;
	}
	
	header {
		padding: 30px;
	}
	
	h1 {
		margin-bottom: 0;
	}
	
	h2 {
		margin-top: 0;
		margin-bottom: 2rem;
	}
	
	#tuliLogo {
		top: 15px;
		right: 15px;
	}
	
	#threeBlocks {
		grid-template-columns: 1fr 1fr 1fr;
		grid-column-gap: 30px;
		padding: 30px 30px;
	}
	
	#threeBlocks h3 {
		grid-column-start: 1;
		grid-column-end: 4;
	}
	
	#logo {
		margin: 0 0 20px 0;
	}


	.textBlock {
		display: grid;
		grid-template-columns: 2fr 1fr;
		grid-column-gap: 15px;
	}
	
	
	footer inner {
		display: grid;
		grid-template-columns: 1fr 1fr;
	}
	
	footer .social {
		grid-template-columns: 1fr 1fr;
		margin: 0;
	}
	
}

@media screen and (min-width: 1024px) {
	
	#logo, #logo img {
		float: left;
	}
	
	#logo {
		margin: 0 30px 30px 0;
	}
	
	header .inside {
		display:flow-root;
	}
	
	#tuliLogo {
		top: 25px;
		right: -5px;
		margin-top: -75px;
		position: relative;
	}
	
	h1, h2 {
		margin: 0;
	}
	
	h2 {
		float: left;
		clear: right;
	}
	
	footer {
		margin: 30px 30px 0;
	}
}

@media screen and (min-width: 1200px){
	.headLines {
		top:  calc((75vw / 16) * 9);
	}
}

@media screen and (min-width: 1600px){
	
	#slider {
		max-height: 700px;
	}
	
	header #slider figure {
		margin-top: -90px;
	}
	
	.headLines {
		top: 635px;
	}
	
	#threeBlocks {
		display: grid;
		grid-column-gap: 45px;
	}
}


@media screen and (min-width: 768px) {
	#threeBlocks {
		grid-column-gap: 50px;
	}	
}