
/* ====================================================   GLOBAL DEFINITION   ==================================================== */

/*@import url(http://fonts.googleapis.com/css?family=Open+Sans|Tauri);*/

@font-face { 
    font-family: "Open Sans"; 
    src: url("/fonts/OpenSans-Regular.ttf"); 
}

@font-face { 
    font-family: "Tauri"; 
    src: url("/fonts/tauri.woff"); 
}


* {
    margin: 0;
    padding: 0;
}

html {
    padding: 5px 2%;
}

body {
    width: 950px;
    margin: 0 auto; 
    font: normal .75em 'Open Sans', sans-serif; /* Arial, sans-serif;*/
    color: #474747; 
    background: #ffffff;
}

a {
    color:#474747; 
    font-weight: bold;
}
a:hover, a:focus {
    color: #898989;
}

a.more {
    float: right;
}
a.more:after {
    content: " >"; 
    display: inline-block; 
    height: 1em; 
    padding: 0 .5em 0.5em 0.5em;
    border-radius: 1em;
    background: #19b319;
    margin-left: 10px;
}
footer a {
    color: #989898;
}

a.more:hover, footer a:hover {
    color: #4a4a4a;
    text-decoration: none;
}

p {
    line-height: 1.6em;
    margin: 20px 0;
}

h1 {
    font: bold 1.875em Tauri, serif;
    color: #989898;
}
h2 { 
    font: normal 1.7em Tauri, serif;
    color: #474747;
}
h2.img {
    padding-left: 40px;
    background: left center no-repeat scroll;
}
.img.about {
    background-image: url('../img/icon-about.png')
}
.img.cash {
    background-image: url('../img/icon-cash.png')
}
.img.group {
    background-image: url('../img/icon-group.png')
}
.img.contact {
    background-image: url('../img/icon-phone.png')
}
h3 {
    font: normal 1.10em Tauri, serif;
    color: #898989; 
    margin: 20px 0;
}

img, a img {
    border: 0 none;
}

ul.bullets  {
    margin: 10px 0 10px 13px;
    color: #474747;
}
ul.bullets li {
    width: 100%; 
    font-size: 1.10em; 
    font-weight: bold; 
    padding-left: 5px;
    line-height: 2.0em;
    color: #19b319;
}
ul.bullets li span	{
    color: #474747;
}


dl {
    margin-bottom: 50px;
    clear: left;
}
 
dt {	
    float: left;
    font-weight: bold;
    margin-right: 5px;
    padding: 5px; 
    width: 90px;
}
 
dd {
    margin: 2px 0;
    padding: 5px 0;
}

/* ====================================================  HEADER   ==================================================== */

header {
    width: 100%;
    height: 220px;
    /*background: #F2C45A;    url('../img/header.png') no-repeat center bottom #e7e8ee;*/ 
    background: #ffffff;
    background-size: contain; border: 1px solid #e5e7eb;
}

header h1 {
    font: bold 2em Tauri, serif;
}

#logo	{
    /*position: relative;*/
    display:block;
    margin: 50px auto;
    padding: 0px;
    /* background: url('../img/logo.png') no-repeat left; */
    font: bold 1.875em Tauri, serif;
    text-decoration: none;
}

#motto   {
    position: relative;
    margin: 120px 0 0 35px;
    padding: 5px;
    font: italic 1.5em Tauri, serif;
    color: #8f8f90;
    text-decoration: none;
}

#navlink {
    display:none;
    float: left;
    text-decoration: none;
    font-size: 1.875em;
    font-weight: bold;
    /*padding: 10px;*/
    /*margin: 10px 600px 0 0;*/
    margin: 22px 200px 0px 30px;
}

#langlink {
    float: right;
    font-weight: bold;
    font-size: 1.10em;
    color: #8f8f90;
    margin: 20px 20px 0 0;
}



/* ====================================================   CONTENT   ==================================================== */

main	{
    display: block;
    position: relative;
    width: 100%;
}

article {
    float: left;
    background: #fafbfc;
    border: 1px #e5e7eb solid;
    margin-top: 50px;
    width: 96%; 
    padding: 20px 2%;
}
section {
    float: left;
    width: 74%;
}
section.spalte {
    float: left;
    width:33%;
    padding:20px 2%;
    min-height: 220px;
}
section.spalte h2	{
    border-bottom: 0 none;
}
main .news-1 { 
    background: #eeeeee; /*url('../img/phone.png') no-repeat right #EEEEEE;*/
} 
main .news-2	{
    /*background: url('../img/letter.png') no-repeat right #EEEEEE*/
}

aside {
    float: right;
    width: 23%;
}
aside h2 {
    border-bottom: 1px solid #bbbcbe;
    padding: 10px 5px;
}
aside ul {
    line-height: 1.6em;
    list-style: none outside none;
    padding: 1em 0 1em 5px;
    clear: left;
}
aside p {
    margin-bottom: 50px;
}
aside p:last-child {
    margin-bottom: 20px;
}
aside.logo {
    border-top: 1px solid #bbbcbe;
}
.referenz {
    margin: 10px auto 20px;
}
section.referenz {
    /*border-top: 1px solid #BBBCBE;*/
    border-bottom: 1px solid #bbbcbe;
}
h3.referenz {
    font-size: 1.10em; 
    line-height: 2.0em;
    color: #474747;
}
img.referenz {
    float: left;
    margin-right: 20px;
    border: 3px solid #8f8f90;
}
img.referenz.imglink:hover, img.referenz.imglink:focus {
    border: 3px solid #19b319;   /*#843953;*/
}
img.logo {
    width: 200px;
    border: 5px solid transparent;
}
/* ====================================================  NAV   ==================================================== */

nav	{ 
	float: left; 
	width: 100%;  
	list-style-type: none; 
	box-shadow: 0 3px 5px 0 rgba(0,0,0,0.75);
	position: absolute;
	top: -11px; left:0%;
	display: block;
	text-align: center;
	margin: 0 auto 30px;
}
nav ul {
    float: left; 
    width: 100%; 
    list-style-type: none;
    background: #19b319;
}
nav ul li {
    float: left; 
}
nav ul li:first-child {
    margin-left: 27%;
}
nav ul li a 	{
    float: left;
    padding: 16px;
    color: #ffffff;
    text-decoration: none;
    font: normal 1em Tauri, serif;
    -webkit-transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out;
    -o-transition: all .5s ease-in-out;
    -ms-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
}
nav li a:hover, nav li a:focus {
    background: #169c16;
    color: #ffffff;
}


/* ====================================================   FOOTER   ==================================================== */

footer {
    float: left;
    width: 100%;
    margin: 10px 0 40px 0;
    color: #989898;
}
footer ul {
    float: left;
    margin-left: 22px;
    list-style-type: none;
}
footer ul li	 {
    display: inline-block;
    border-left: 1px solid #989898;
}
footer ul li:first-child	 {
    border: 0 none;
}
footer ul li a {
    padding: 0 8px;
}
footer p {
    float: right;
    margin-right: 30px;
    margin-top: 0;
    padding-top: 0;
    text-align: right;
}

/* 2-Spaltenlayout mit breiterem aside */
@media screen and (max-width: 975px) {
    body {
        width:100%;
        font: normal .9em 'Open Sans', sans-serif; /* Arial, sans-serif;*/
    }
    section {width:90%;}
    section.leftaside {width:58%;}
    section.spalte, 
    aside {width:29%;}
    #motto {
        margin: 120px 0 0 35px;
    }
    nav ul li:first-child {
        margin-left: 2%;
    }
}

/* 1-Spaltenlayout mit Navigation unten*/
@media screen and (max-width: 666px) {
    section, 
    section.spalte,
    section.referenz,
    section.leftaside,
    aside {
        float: none;
        width: 96%;
    }
    header {
        height: 220px; 
    } 
    #navlink {
        display:block;
    }
    #logo {
        margin: 70px auto;
    }
    #langlink {
        font-size: 1.40em;
    }
    #motto {
        display: none;
    }
    article {
        margin-top: 16px; 
    }
    img.referenz {
        float: none;
    }
    nav {
        position:relative;
        box-shadow: none;
    }
    nav ul {
        display: block; 
        background: transparent;
        margin: 3em 0 2em;
    }
    nav ul li{
        width: 90%;
        margin: 5px 2%;
    }
    nav ul li a{
        width: 90%;
        background: #19b319;
        margin: 5px 5%; 
        border-radius: 10px;
    }
    nav ul li a:after {
        display:none;
    } 
}

@media screen and (max-width: 430px) {
    header {
        height: 220px; 
    }
}

@media screen and (max-width: 400px) {
    #navlink {
        margin: 22px 0px 0px 30px;
    }
}

@media screen and (max-width: 245px) {
    header {
        height: 220px; 
    }
}





