/* Version: 07.03.2016 */

* {
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    font-size: 0.8rem;
    color: #555555;
    text-decoration: none;
    font-weight: normal;
    word-spacing: normal;
    letter-spacing: 1px;
    line-height: 1.5;
    background-color: #f1f1f1;
}

p {
    margin: 0 0 20px 0;
}

h1 {
    line-height: 1.5;
    font-size: 1.6rem;
    font-weight: bold;
    color: #353535;
    padding: 0;
    margin: 0;
}

h2 {
    margin: 0px;
    line-height: 1.5;
    font-size: 1.2rem;
    font-weight: normal;
    color: #353535;
}

h3 {
    margin: 0px;
    line-height: 1.5;
    font-size: 1rem;
    font-weight: bold;
    color: #353535;
}

.top {
background-color: #d3d0c9;
}

.rahmen {
    padding: 0px;
    width: 860px;
    margin-top: 20px;
    margin-right: auto;
    margin-bottom: 20px;
    margin-left: auto;
    background-color: #FFF;
    border: 1px solid #A7A9A4;
    box-shadow: -0.5px 3px 15px #999;
    position: relative;
}

.rahmen::after {
    content: "";
    display: block;
    clear: both;
}

.logo {
  margin: 20px 2%;
width: 35%;
}

.content {
    padding: 20px 5% 0 5%;
	background-color: #FFF;
}

.content::after {
    content: "";
    display: block;
    clear: both;
}

.content-grey {
    padding: 20px 5%;
    background: #edecec;
}

.box-left {
    float: left;
    width: 48%;
}

.box-right {
    float: right;
    width: 48%;
}

.footer {
    background: #FFF;
    padding: 0;
    color: #535353;
}

.footer a:link,
.footer a:visited {
    color: #535353;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.footer::after {
    content: "";
    display: block;
    clear: both;
}

img {
    max-width: 100%;
    height: auto;
    width: auto9;
    border: 0;
    vertical-align: middle;
}

a:link {
    color: #535353;
    text-decoration: none;
}

a:visited {
    text-decoration: underline;
    color: #535353;
}

a:hover {
    text-decoration: none;
    color: #535353;
}

a:active {
    text-decoration: underline;
    color: #535353;
}

ul {
    margin-left: 5px;
    padding-left: 9px;
    margin-top: 0px;
    margin-bottom: 24px;
    list-style-type: disc;
}

li {
    margin: auto;
    padding: 0;
	list-style: square;
	color: #70685;
}

.clear {
    clear: both;
    font-size: 0px;
    line-height: 0px;
}

.hide {
    display: none;
}

.refnr {}

.blocksatz {
    text-align: justify;
    text-align-last: justify;
}

.blocksatz:after {
    content: "";
    display: inline-block;
    width: 100%;
}

p:empty {
    height: 18px;
}

.table {
    display: table;
    width: 100%;
    border-collapse: collapse;
    /* table-layout: fixed; */
}

.cell {
    display: table-cell;
}

.row {
    display: table-row;
}

.flex {
    display: flex;
    display: -ms-flexbox;
    display: -webkit-flex;
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    -webkit-align-items: stretch;
    align-items: stretch;
	  flex-wrap: wrap;
}

.left,
.right {
  width: 47%;
}

.button_box {
    text-align: center;
}

.button_box::after {
    clear: both;
    content: "";
    display: block;
}

.button a {
    background: #123487;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
    display: inline-block;
    position: relative;
    margin: 0 auto;
    padding: 10px 40px;
}

.button a:hover {
    background: #2d5aae;
}

.slider-wrap {
    max-width: 860px;
    max-height: 340px;
    width: auto;
    height: auto;
    position: relative;
    padding-top: 28.7%;
    margin: 0;
    overflow: hidden;
}
  
.slideshow {
    position: absolute;
    width: 100%;
    top: 0px;
    left: 0px;
    z-index: 0;
}

.slideshow li span {
    width: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    color: transparent;
    opacity: 0;
    z-index: 0;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-animation: image 30s linear infinite;
    animation: image 30s linear infinite;
}
  
/*

Keyframe-Berechnung:

1. 100 / Anzahl der Bilder
2. Ergebnis ist das Intervall eines einzelnen Keyframes
(Im Beispiel unten ist es die 51% {opacity: 0;})
3. Also passiert eine einzelne Animation zwischen 0% und 51%.
(0% - 8% (Differenz 8%) wird das Bild eingeblendet. Von 43% - 51% (Differenz 8%) sollte dann das Bild ausgeblendet werden)
4. Falls die Geschwindigkeit erhöht werden soll, kann die Differenz verringert werden, wobei dies am Anfang sowie am Ende gleichbleibend sein muss, damit die Animation symmetrisch abläuft.

*/
  
@keyframes image {
    0% {
      opacity: 0;
      -webkit-animation-timing-function: ease-in;
      animation-timing-function: ease-in;
    }
    3% {
      opacity: 1;
      -webkit-animation-timing-function: ease-out;
      animation-timing-function: ease-out;
    }
    27% {
      opacity: 1;
    }
    30% {
      opacity: 0;
    }
    100% {
      opacity: 0;
    }
}

@-webkit-keyframes image {
    0% {
        opacity: 0;
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
    }
    3% {
        opacity: 1;
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out;
    }
    27% {
        opacity: 1;
    }
    30% {
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}
  
.slideshow li {
    margin:0;
    padding:0;
    list-style: none;
    -webkit-animation-delay: 30s;
    animation-delay: 30s;
}
.slideshow li:nth-child(1) span {}
.slideshow li:nth-child(2) span {
    -webkit-animation-delay: 6s;
    animation-delay: 6s;
}
.slideshow li:nth-child(3) span {
    -webkit-animation-delay: 12s;
    animation-delay: 12s;
}
.slideshow li:nth-child(4) span {
    -webkit-animation-delay: 18s;
    animation-delay: 18s;
}
.slideshow li:nth-child(5) span {
    -webkit-animation-delay: 24s;
    animation-delay: 24s;
}
ul.slideshow {
    margin: 0;
    padding-left: 0;
}
/*  SECTIONS  */
.section {
	clear: both;
	padding: 0px;
	margin: 0px;
}

/*  COLUMN SETUP  */
.col {
	display: block;
	float:left;
	margin: 1% 0 1% 1.6%;
}
.col:first-child { margin-left: 0; }

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

/*  GRID OF THREE  */
.span_3_of_3 { width: 31%; }
.span_2_of_3 { width: 32.50%; }
.span_1_of_3 { width: 31.26%; }

@media only screen and (max-width: 700px) {
	.col {  margin: 1% 0 1% 0%; }
	.span_3_of_3, .span_2_of_3, .span_1_of_3 { width: 100%; }
}

.apply {}
