html {
    height:100%;
}

body {
    background-color:#f5f5f5;
    
    margin: 0px;
    height: 100%;
    width: 100%;
    
    /*font-related*/
    font-family: 'Kanit';
    color: #414b7d;
}

#header {
    background-image: linear-gradient(to right, #b0b0ff  0%, #99ccff 100%);
    
    /*font-related*/
    color: white;
    
    line-height: 25vh;
}


.content {
    width: 90%;
    box-shadow: 0px 5px 12px #888888;
    margin: auto;
}

#inner-header {
    display: inline-block;
    vertical-align: middle;
    line-height: normal;
    margin-left: 5%;
}

#header-img-container-i {
    float: right;
    margin-right: 5%;
}

#header-img-container-j {
    float: right;
}

#header-img {    
    
}

#header-img-i {
    vertical-align: middle;
    
    height: 150px;
    width: auto;
}

#header-img-j {
    vertical-align: middle;
    
    height: 100px;
    width: auto;
    
}

#nav {
    width: 100%;
}

.nav-link{
    margin-left: 10px;
    margin-right: 10px;
    
    /*font-related*/
    color:white;
    text-decoration: none;
    font-size: 18px;
    
    transition: font-size 0.1s ease;
    transition: border-bottom 0.1s ease;
}

.nav-link:hover{   
    font-size: 22px;
    border-bottom: 2px solid white;
    padding-bottom: 5px;
}

.aktive-link {
    font-size: 22px;
    border-bottom: 2px solid white;
    padding-bottom: 5px;
}

#main {
    height: 100%;
}

#main-top {

    height: 60%;
    
    overflow: auto;
    
    background-image: radial-gradient(ghostwhite, ghostwhite);
}

#main-top-text {
    padding: 50px 10% 0px 10%;
}

#main-bottom {
    background-color: #eaeaea;
    height: 40%;
    
    overflow: auto;
}

#main-bottom-text {
    width: 100%;
}

#main-bottom-text-t {
    padding-top: 2%; 
}

#mail-btn {
    overflow: hidden;
    white-space: nowrap;
    
    background-color: #2a8100;
    font-size: 16px;
    padding: 15px 15px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    
    color: white;
    text-decoration: none;
}

#mail-btn-txt:hover {
    border-bottom: 2px solid white;
}

.big-txt {
    color: midnightblue;
    margin: 0;
}

#footer {
    position:relative;
    bottom:0;
    width:100%;
    
    background-image: linear-gradient(to right, #b0b0ff  0%, #99ccff 100%);
    
    line-height: 80px;
    text-align: center;
}

#inner-footer {
    display: inline-block;
    vertical-align: middle;
    line-height: normal;
    
    font-size: 13px;
    color: white;
}

#adresse {
    text-align: justify;
    float: right; 
    padding-right:5%;
}

#kontakt { 
    padding-left:5%;
    float: left; 
}

/*TILES*/
.tile {
	width: 200px;
	height: auto;
	border-radius: 5px;
	overflow: hidden;
	float: left;
	margin-bottom: 20px;
	position: relative;
}

.tile:hover .tile-sub{
	background-color: #d3d1d1;
}

.tile:nth-child(3n+2) {
	margin: 0px 20px;
}

.tile-img {
	background-repeat: no-repeat;
	background-size: cover;
	height: 210px;
	width: 200px;
}

.tile-tasks {
	height: 0px;
	width: 200px;
	transition: all 0.3s ease;
	background: #414b7d;
	color: white;
	padding: 10px;
	position: absolute;
	top: 0px;
	left: 0px;
	opacity: 0.0;
}

.tile-tasks ul {
	padding: 0px 20px;
	margin: 10px 0px;
}

.tile:hover .tile-tasks {
	height: 190px;
	opacity: 0.9;
}

.tile-sub {
	border-radius: 0px 0px 5px 5px;
	height: 80px;
	overflow: hidden;
	background: #eaeaea;
	padding: 10px;
	transition: all 0.1s cubic-bezier(.25,.8,.25,1);
}

.tile-name {
	color: #414b7d;
	text-transform: uppercase;
	text-align: center;
	padding-top: 5px;
}

/*.tile-name a, .tile-name a:visited {
	text-decoration: none;
	color: #0dafd5;
}*/

.tile-desc {
	padding-top: 8px;
	text-align: center;
}


/*************/
/* Dropdown Button */
.dropbtn {
    padding: 0px;
    color: white;
    text-decoration: none;
    font-family: "Kanit";
    font-size: 18px;
    
    background-color: rgb(0,0,0,0);
    border-style: none;
    
    transition: font-size 0.1s ease;
    transition: border-bottom 0.1s ease;
}

.dropbtn:hover{   
    font-size: 22px;
    cursor: pointer;
}

.dropbtn-active {
    font-size: 22px;
    border-bottom: 2px solid white;
    padding-bottom: 5px;
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
    color: midnightblue;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {background-color: #ddd;}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {display: block;}

/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown:hover .dropbtn {background-color: rgb(0,0,0,0);}