body {
    margin: 0px;
    padding: 0px;
    font-family: 'Open Sans', sans-serif;
    /* font-family: 'Raleway', sans-serif; */
}

#container {
    max-width: 1080px;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    padding: 0px 1.25% 0px 1.25%;
}

/* -- HEADER -- */

@media only screen and (min-width: 551px) {
    header {
    width: 100%;
    height: 500px;
    background-image: url(../img/header-bg.jpg);
    }
}

@media only screen and (max-width: 550px) {
    header {
    width: 100%;
    height: 300px;
    background-image: url(../img/header-bg.jpg);
    overflow: hidden;
    }
}

#header-content {
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
    height: 100%;
    padding: 0px 1.25% 0px 1.25%;
}

#header-logo {
    width: 50%;
    height: auto;
    position: relative;
    top: 35%;
    float: left;
}

#header-foto {
    width: 50%;
    height: 100%;
    float: right;
    text-align: right;
    overflow: hidden;
}

/* -- PAGE CONTENT -- */

#page-content {
    width: 100%;
    margin: 60px 0px 30px 0px;
}

#main-content {
    margin: 50px 0px 0px 0px;
}

#content-title {
    width: 100%;
    height: auto;
    margin: 0px 0px 30px 0px;
    text-align: center;
}

.headline-trenner {
    max-width: 70px;
    margin-left: auto;
    margin-right: auto;
    height: 3px;
    background-color: black;
    margin-top: 30px;
    margin-bottom: 30px;
}

#quote {
    color: #6f6f6f;
    font-style: italic;
}

p {
    color: #6f6f6f;
    margin: 0px 0px 10px 0px;
}

#content-txt ul {
    color: #6f6f6f !important;
    padding: 0;
    margin: 0;
    list-style: disc;
}

#content-txt ul li {
    margin-left: 20px;
    margin-top: 20px;
}

@media only screen and (max-width: 550px) {
    #content-txt {
        width: calc(100% - 20px);
        padding: 0px 10px 0px 10px;
    }   
}

/* -- NAV -- */

nav {
    width: 100%;
    text-align: center;
}

nav ul {
    list-style: none;
    padding: 0px;
    margin: 0px 0px 20px 0px;
}

nav ul li {
    padding: 0px 0px 3px 0px;
    display: inline-block;
    margin: 0px 10px 0px 10px;
    border-bottom: 3px solid transparent;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
}

nav ul li:hover {
    border-bottom: 3px solid #396283;
    cursor: pointer;  
}

/* -- BOXES -- */

#modul-boxes {
    margin: 60px 0px 0px 0px;
}

.content-box {
    width: 100%;
    height: auto;
    border: 1px solid #e5e5e5;
    text-align: center;
    -webkit-box-shadow: 0px 1px 0px 0px rgba(0,0,0,0.16);
    -moz-box-shadow: 0px 1px 0px 0px rgba(0,0,0,0.16);
    box-shadow: 0px 1px 0px 0px rgba(0,0,0,0.16);
}

.content-box-img img {
    max-width: 100%;
    -webkit-filter: grayscale(100%);
	filter: grayscale(100%);
	filter: gray;
    /* filter: url("data:image/svg+xml;utf8,<svg version='1.1' xmlns='http://www.w3.org/2000/svg' height='0'><filter id='greyscale'><feColorMatrix type='matrix' values='0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0' /></filter></svg>#greyscale"); */
    -webkit-transition: all 300ms ease-in-out;
    -moz-transition: all 300ms ease-in-out;
    -ms-transition: all 300ms ease-in-out;
    -o-transition: all 300ms ease-in-out;
    transition: all 300ms ease-in-out;
}

.content-box:hover .content-box-img img {
    filter: grayscale(0%);
	filter: color;
    -webkit-transition: all 300ms ease-in-out;
    -moz-transition: all 300ms ease-in-out;
    -ms-transition: all 300ms ease-in-out;
    -o-transition: all 300ms ease-in-out;
    transition: all 300ms ease-in-out;
    
}

.content-box-discr {
    width: calc(100% - 10px);
    padding: 20px 5px 30px 5px;
}

.content-box-discr button {
    min-width: 150px;
}

/* -- FOOTER -- */

footer {
    width: calc(100% - 20px);
    background-color: #396283;
    text-align: center;
    margin-top: 60px;
    padding: 3% 10px 3% 10px;
}

footer p {
    color: #6f899d;
    font-size: 9px;
    margin-top: 20px;
}

/* -- HEADLINE -- */

h1 {
    color: #396283;
    text-transform: uppercase;
    margin: 0px 0px 5px 0px;
    font-family: 'Raleway', sans-serif;
    font-size: 30px;
}

h2 {
    color: #396283;
    text-transform: uppercase;
    margin: 0px 0px 10px 0px;
    font-family: 'Raleway', sans-serif;
    font-size: 18px;
}

/* -- LINKS -- */

a, a:visited {
    color: #396283;
    text-decoration: none;
}

footer a, footer a:visited {
    color: white;
    text-decoration: none;
    font-size: 12px;
}

/* -- SONSTIGES -- */

.main-button {
    padding: 10px 15px 10px 15px;
    border: 2px solid #396283;
    text-align: center;
    text-transform: uppercase;
    color: #396283;
    background-color: transparent;
    font-weight: 600;
    margin: 10px 15px 0px 0px;
    -webkit-transition: all 200ms ease-in-out;
    -moz-transition: all 200ms ease-in-out;
    -ms-transition: all 200ms ease-in-out;
    -o-transition: all 200ms ease-in-out;
    transition: all 200ms ease-in-out;
}

.main-button:hover {
    background-color: #396283;
    color: white;
    cursor: pointer;
    -webkit-transition: all 200ms ease-in-out;
    -moz-transition: all 200ms ease-in-out;
    -ms-transition: all 200ms ease-in-out;
    -o-transition: all 200ms ease-in-out;
    transition: all 200ms ease-in-out;
}

.responsive-img {
    max-width: 100%;
}

img.desaturate {
	-webkit-filter: grayscale(100%);
	filter: grayscale(100%);
	filter: gray;
	filter: url("data:image/svg+xml;utf8,<svg version='1.1' xmlns='http://www.w3.org/2000/svg' height='0'><filter id='greyscale'><feColorMatrix type='matrix' values='0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0' /></filter></svg>#greyscale");
}

/* Columns */

.col {
	display: block;
	float:left;
	margin: 1% 0 1% 1.6%;
    padding: 0px;
}
.col:first-child { margin-left: 0; }
.col:last-child { margin-right: 0; }

/*  Grouping  */
.group:before,
.group:after { content:""; display:table; }
.group:after { clear:both;}
.group { zoom:1; /* For IE 6/7 */ }

/*  Grid of 12  */
.span_12_of_12 {
	width: calc(100% - 3.2%);
	padding: 0px 1.6% 0px 1.6%;
    margin: 0px;
}

.span_11_of_12 {
  	width: 91.53%;
}
.span_10_of_12 {
  	width: 83.06%;
}

.span_9_of_12 {
  	width: 74.6%;
}

.span_8_of_12 {
  	width: 66.13%;
}

.span_7_of_12 {
  	width: 57.66%;
}

.span_6_of_12 {
  	width: 49.2%;
}

.span_5_of_12 {
  	width: 40.73%;
}

.span_4_of_12 {
  	width: 32.26%;
}

.span_3_of_12 {
  	width: 23.8%;
}

.span_2_of_12 {
  	width: 15.33%;
}

.span_1_of_12 {
  	width: 6.866%;
}

/*  GO FULL WIDTH BELOW 480 PIXELS */
@media only screen and (max-width: 550px) {
	.col {  margin: 1% 0% 1% 0%; padding: 0px 10px 0px 10px;}
    
    .span_1_of_12, .span_2_of_12, .span_3_of_12, .span_4_of_12, .span_5_of_12, .span_6_of_12, .span_7_of_12, .span_8_of_12, .span_9_of_12, .span_10_of_12, .span_11_of_12, .span_12_of_12 {
	width: calc(100% - 20px);
	}
}
