/* ==========================================================================

   Werbeagentur exakt - Darmstadt
   www.exakt-kreativ.de 
      
   ========================================================================== */



/* quicksand-regular - latin */

@font-face {
  font-family: 'Quicksand';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/quicksand-v7-latin-regular.eot'); /* IE9 Compat Modes */
  src: local('Quicksand Regular'), local('Quicksand-Regular'),
       url('fonts/quicksand-v7-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/quicksand-v7-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('onts/quicksand-v7-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('/fonts/quicksand-v7-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('fonts/quicksand-v7-latin-regular.svg#Quicksand') format('svg'); /* Legacy iOS */
} 



html {
    font-family: 'Quicksand', sans-serif;
}


body {
    padding: 0;
    margin: 0;
}

a {
    color: #000;
    text-decoration: none;
}


#kontakt a {
    color: #9c1b78;
    text-decoration: none;
}


h1 {
    color: #9c1b78;
    font-size: 2.2em;
    text-align: center;
    line-height: 1.1em;
    overflow-wrap: break-word;
}

h2 {
    color: #9c1b78;
    font-size: 1.8em;
    line-height: 1.1em;
    overflow-wrap: break-word;
}

h3 {
    color: #9c1b78;
    font-size: 1.5em;
    line-height: 1.1em;
    overflow-wrap: break-word;
}

h4 {
    color: #9c1b78;
    font-size: 1.5em;
    text-align: center;
    line-height: 1.1em;
    overflow-wrap: break-word;
}

h5 {
    color: #333;
    font-size: 1.5em;
    line-height: 1.1em;
    overflow-wrap: break-word;
}




button {
    border: none;
    background-color: #9c1b78;
    color: #FFF;
    padding: 0 20px;
    cursor: pointer;
    height: 2em;

    font-size: 1.2em;
    text-align: left;
    white-space: nowrap;
    margin: 5px 5px 5px 0;
}

button:hover {
    background-color: #FFD21D;
    color: #9c1b78;
}

#foot button {
    background-color: #1c202b;
}

hr {
    margin: 1em 1em 1em 1em ;


}

.arrow {
    border: solid;
    border-color: inherit;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 3px;
}

.down {
    transform: rotate(45deg) translate(-2px, -2px);
    -webkit-transform: rotate(45deg) translate(-2px, -2px);
}

.arrowwrapper {
    padding: 5px 0 5px 5px;
}

#menu li:hover .down, #menu-l-o li:hover .down {
    transform: rotate(225deg);
    color: #9c1b78;
}
#wrapper {
    width: 100%;
    color: #222222;

}

#head, #head-fix, #head-l-o {
    width: 100%;
    background-color: #FFF;
    border-bottom: 1px solid #999;
    top: 0;
    height: 82px;
    z-index: 1000;
}

#head, #head-l-o {
	position: absolute;
}

#head-l-o {
    height: 164px;
}

#head-fix {
	position: fixed;
}

#headspace {
    height: 83px;
    width: 100%;
}

#headspace-l-o {
    height: 165px;
    width: 100%;
}

#foot {
    background-color: #9c1b78;
    width: 100%;
    font-size: 1.1em;
}

#headcontent, #headcontent-l-o {
    margin: auto;
    height: 120px;
    overflow: auto;
}

#headcontent-l-o {
	height: 240px;
}

#footcontent {
    margin: auto;
    min-height: 120px;
    color: #fff;
}

#footcontent a, #footcontent h3 {
    color: #fff;
}

#footcontenttext {
    padding: 20px;
}

#footfooter {
    padding: 5px 0 15px 0;
    background-color: #9c1b78;
}

.widecontent {
    background-color: #9c1b78;
}

.widecontent h1 {
    color: #FFD21D;
    font-size: 2.2em;
    text-align: center;
    line-height: 1.1em;
    overflow-wrap: break-word;
}


#footfootercontent, .widecontenttext {
    margin: auto;
    color: #FFFFFF;
}

#footfootercontenttext{
    padding: 20px 0px 20px 0px;
    text-align: center;
    line-height: 1.8em;
}

#content {
    width: 100%;
    line-height: 1.5em;
    font-size: 1.22em;
    background-color: #fff;
}

.contenttext {
    margin: auto;
}

.textblock {
    padding: 20px;
}

.textblock a {
    color: #9c1b78;
    text-decoration: none;
}


.textbild {
    width: 100%;
    text-align: left;
    font-size: 0.8em;
    margin-top: 50px;
    margin-bottom: 20px;
}

.textbild2 {
    width: 100%;
    text-align: left;
    font-size: 0.8em;

}


.lists {
    width: 100%;
    overflow: auto;
}

.lists ul {
    line-height: 2em;
    list-style-image: url(gfx/blitz15.png);
}

.imgblock {
    padding: 20px;
    text-align: center;
}

.imgblock img {
    max-width: 100%;
}




#headcontent, #headcontent-l-o, #footcontent, #footfootercontent, .contenttext, .widecontenttext {
    width: 1150px;
    max-width: 100%;
}

#title, #title-o {
    padding-left: 15px;
}

#title-l-o {
	text-align: center;
}

#title-o, #momenu-o {
    overflow: hidden;
}

#title img, #title-o img {
    padding: 0.5em 0.5em 0;
}

#title-l-o img{
    padding: 1.5em 0.5em 0;
}

#titletext {
    font-size: 1.9em;
    font-weight: bold;
    margin: 0.67em 0;
    color: #1c202b;
    float: right;
}

#menu {
    padding-top: 16px;
    font-size: 1.1em;
}

#menu-l-o {
    font-size: 1.3em;
    text-align: center;
    padding-top: 0;
}

#menu ul, #menu-l-o ul {
    padding: 0 15px 0 0;
}
#menu li, #menu-l-o li {
    /*float: left;*/
    display: inline-block;
    margin-left: 30px;
    border-color: black;
    color: #9c1b78;
    font-weight: bold;
}

#menu li a, #menu-l-o li a {
    padding-bottom: 26px;
}

#menu a:hover, #menu-l-o a:hover {
    border-color: #9c1b78 !important;
    color: #9c1b78;
}

#menu li ul, #menu-l-o li ul {
    visibility:hidden;
    position: absolute;
    padding: 0;
    margin: 25px 0;
    box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.15);
    background-color: #FFF;
    z-index: 500;
}

#menu li ul li, #menu-l-o li ul li {
    display: list-item;
    list-style: none;
    margin: 0;
    padding: 20px 0 20px 15px;
    min-width: 200px;
    border-bottom: 1px solid #AAA;
	text-align: left;
}

#menu li ul li a, #menu-l-o li ul li a {
    padding: 20px 20px 20px 30px;
}

#momenu, #momenu-o {
    display: none;
    width: 60px;
    float: left;
    cursor: pointer;
}

#momenu-o {
    float: right;
}

.menuicon {
    width: 24px;
    height: 4px;
    background-color: #1c202b;
    backface-visibility: hidden;
    border-radius: 2px;
    display: block;
    transform: rotate(180deg);
    margin: 38px 40px 35px 20px;
}

.menuicon:before {
    content: "";
    position: absolute;
    left: 0;
    top: -8px;
    box-sizing: border-box;
    transform-origin: 1.71429px center;
    width: 24px;
    height: 4px;
    background-color: #1c202b;
    backface-visibility: hidden;
    border-radius: 2px;
}

.menuicon:after {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    box-sizing: border-box;
    transform-origin: 1.71429px center;
    width: 24px;
    height: 4px;
    background-color: #1c202b;
    backface-visibility: hidden;
    border-radius: 2px;
}

.menucross {
    width: 24px;
    height: 4px;
    background-color: #1c202b;
    backface-visibility: hidden;
    border-radius: 2px;
    position: relative;
    display: block;
    transform: rotate(225deg);
    margin: 38px 40px 35px 20px;
}

.menucross:before {
    content: "";
    position: absolute;
    left: 0;
    top: -8px;
    box-sizing: border-box;
    transform-origin: 8px 6px;
    width: 24px;
    height: 4px;
    background-color: #1c202b;
    transform: rotate(90deg);
    backface-visibility: hidden;
    border-radius: 2px;
}

#momenu ul {
    display: none;
    list-style: none;
position: absolute;
    padding: 0;
    top: 65px;
    left: 0;
    background-color: #FFF;
    /*left: -250px;*/
    width: 250px;
    min-width: 50%;
    max-width: 100%;
    z-index: 10;
    box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.15);
}

#momenu-o ul {
    display: none;
position: absolute;
    list-style: none;
    padding: 0;
    top: 65px;
    left: 0;
    background-color: #FFF;
    /*left: -250px;*/
    width: 100%;
    z-index: 10;
    box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.15);
}

#momenu li, #momenu-o li {
    background-color: #FFF;
    padding: 15px;
}

#momenu li ul li, #momenu-o li ul li {
    border-bottom-width: 0;
}

#momenu a:hover, #momenu-o a:hover {
    color: #9c1b78;
}

#momenu a>span {
    padding: 5px 15px !important;
}

#momenu li ul, #momenu-o li ul {
    position: relative;
    top: 15px;
    width: 100%;
    box-shadow: 0 0 0 0;
    display: none;
    border-right: 1px solid #fff;
}

.titleimg {
    position: relative;
    left: 0;
}

.titleimgtxt {
    position: absolute;
    top: 0;
}

.titleimgtxt h1 {
    text-align: left;
}

.lightboxwrap {
    width: 100%;
    overflow: auto;
}

.lightboximg-whole {
    width: 100%;
    text-align: center;
}







@media screen and (min-width: 1020px) {
    #menu {
        float: right;
    }
	
    #title, #title-o {
        float: left;
    }

    .textblock-leftimg img {
        float: left;
    }

    .textblock-rightimg img {
        float: right;
    }
    .titleimg {
        width: 100%;
    }

    .titleimg img {
        width: 100%;
    }
    .titleimgtxt {
        width: 500px;
        padding-left: 20px;
        top: 20px;
    }

    .lightboximg-half {
        float: left;
        width: 50%;
        text-align: center;
    }
}

@media screen and (max-width: 1019px) {
    #menu, #menu-l-o {
        display: none;
    }
    #momenu, #momenu-o {
        display: block;
    }
    #title, #title-l-o {
        text-align: center;
    }
    #title-o {
        text-align: left;
    }

	#title-l-o img{
		padding: 0.5em 0em 0em 2.5em;
	}


    #titletext {
        display: none;
	
	/* Für Text ohne Logo(austaschen):
    	float: none;
	*/

    }

	#head-l-o {
		height: 82px;
	}

	#headspace-l-o {
		height: 83px;
		width: 100%;
	}

	#headcontent-l-o {
		height: 120px;
	}
	
    .titleimg {
        height: 300px;
        overflow: hidden;
        margin: auto;
    }
    .titleimg img {
        height: 300px;
        position: absolute;
        top: -9999px;
        bottom: -9999px;
        left: -9999px;
        right: -9999px;
        margin: auto;
    }
    .titleimgtxt {
        width: 60%;
        padding-left: 20px;
        text-align: center;
    }
    .titleimgtxt p, .titleimgtxt h1 {
        text-align: left;
    }

    .lightboximg-half {
        clear: both;
        width: 100%;
        text-align: center;
    }
}

@media screen and (min-width: 800px) {
    .one-third-element {
        float: left;
        width: 33%;
    	height: 100%;
    }
    .one-half-element {
        float: left;
        width: 50%;
    	height: 100%;
    }


/*Ändern Wenn Footer-Höhe sich ändert!*/
#foot .one-third-element, #foot .one-half-element {
	height: 480px;
}



}

@media screen and (max-width: 799px) {
    .one-third-element {
        width: 100%;
    }
    .one-half-element {
        width: 100%;
    }
}

#overlay {
    background-color: rgba(0,0,0,0.5);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
}

.three-elements {
    width: 100%;
    overflow: hidden;
}

.one-third-content {
    margin: auto;
    padding: 20px;
    max-width: 450px;
}

.one-third-image {
    width: 100%;
    margin: 0 auto 15px;
    text-align: center;
}

.one-third-image img {
    width: 100%;
    z-index: 0;
}


.two-elements {
    width: 100%;
    overflow: hidden;
}

.one-half-content {
    margin: auto;
    padding: 20px;
    max-width: 450px;
}

.textblock-leftimg, .textblock-rightimg {
    overflow: auto;
    padding: 20px;
    text-align: center;
}

.sidetext {
    text-align: left;
}

.textblock-leftimg img, .textblock-rightimg img {
    max-height: 450px;
    padding: 35px 20px 20px 0; 

    max-width: 100%;
}



.socialimg {
    margin: 10px;
}




/* ==========================================================================
   new CSS styles
   ========================================================================== */




.blanc {
    height: 30px;
}




/* ==========================================================================
   Video in einem responsive Webdesign 
   ========================================================================== */


.elastic-video {
    position: relative;
    padding-bottom: 55%;
    padding-top: 15px;
    height: 0;
    overflow: hidden;
    width: 100%;
}

.elastic-video iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}


.videobox {
	margin: 25px;
	border: thin solid #2d2d2d;
	width: auto;

}




/* ==========================================================================
   Map in einem responsive Webdesign 
   ========================================================================== */



.elastic-map {
	position: relative;
	padding-bottom: 54%;
	padding-top: 15px;
	height: 0;
	overflow: hidden;
}
.elastic-map iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}







/* ==========================================================================
   infobox
   ========================================================================== */



.infobox {
	padding: 5px;
	border: thin solid #d1d1d1;
	width: auto;

}



.infobox2 {
	padding: 5px;
	background-color: #ededed;
	border: thin solid #d1d1d1;
	width: auto;

}





/* ==========================================================================
   2 spaltiger Block mit Bilder
   ========================================================================== */



.one-2-content {
    margin: auto;
    padding: 20px;
    max-width: 550px;
}



.one-2-image {
    width: 100%;
    margin: 0 auto 15px;
    text-align: center;
}

.one-2-image img {
    width: 100%;
    z-index: 0;
}




.one-8-content {
    margin: auto;
    padding: 20px;
    max-width: 550px;
    background-color: #9c1b78;
    color: #fff;

}








@media screen and (max-width: 799px) {
    .one-2-element {
        width: 100%;
    }
}


@media screen and (min-width: 800px) {
    .one-2-element {
        float: left;
        width: 50%;
    	height: 100%;
    }

}







/* ==========================================================================
   4 spaltiger Block mit Bilder
   ========================================================================== */



.one-4-content {
    margin: auto;
    padding: 20px;
    max-width: 450px;
}



.one-4-image {
    width: 100%;
    margin: 0 auto 15px;
    text-align: center;
}

.one-4-image img {
    width: 100%;
    z-index: 0;
}





@media screen and (max-width: 799px) {
    .one-4-element {
        width: 100%;
    }
}


@media screen and (min-width: 800px) {
    .one-4-element {
        float: left;
        width: 25%;
    	height: 100%;
    }

}



/* ==========================================================================
   H1 bei Mobile
   ========================================================================== */



@media screen and (max-width: 499px) {

h1 {

    font-size: 1.4em;

}



h2, h3 {

    font-size: 1.2em;

    }

}




/* ==========================================================================
   Logo bei Mobile
   ========================================================================== */

@media screen and (max-width: 359px) {

#title img, #title-o img{
	padding: 1.2em 0.5em;
	max-height: 3.0em;

}

}




@media screen and (max-width: 289px) {

#title img, #title-o img{
	padding: 1.2em 0.3em;
	max-height: 2.4em;

}

}




/* ==========================================================================
   Titelbild -- Overlay
   ========================================================================== */


#title-img {
    margin: auto;
    position: relative;
}

#title-img-s {
    margin: auto;
    position: relative;
	width: 100%;
}

#title-img-s img {
	width: 100%;
}

.title-overlay {    
    font-size: 50px;
    position: absolute;
    top: 200px;
    left: 25%;
    line-height: 1.3em;
    color: #FFF;
    background-color: rgba(0,0,0,0.2);
    padding: 0.5em;
}


@media screen and (max-width: 799px) {
	#title-img {
		height: 280px;
		overflow: hidden;
		margin: auto;
	}
	
	#title-img img {
		height: 281px; /*Höhe Titelbild Mobil*/
		margin: auto;
		position: absolute;
		left: -9999px;
		right: -9999px;
	}	
}


@media screen and (max-width: 1199px) {
	
	.title-overlay {
		display: none;
	}
}




@media screen and (min-width: 800px) {
	#title-img {
		width: 100%;
	}
	
	#title-img img {
		width: 100%;
	}
}



/* ==========================================================================
   E-Mail Darstellung
   ========================================================================== */



#e-mail-2 a:link    { color: #fff; }
#e-mail-2 a:visited { color: #fff; }
#e-mail-2 a:hover   { color: #888; text-decoration:  }
#e-mail-2 a:active  { color: #888; text-decoration:  }




/* ==========================================================================
   Dreie Block in bau
   ========================================================================== */


.bluebox {
    margin: auto;
    padding: 20px;
    max-width: 450px;
    background-color: #fff;
    color: #000;
    text-align: center;
}

.bluebox h3 {
    color: #FFD21D;
    font-size: 1.3em;
}




/* ==========================================================================
   Social 
   ========================================================================== */


.socialimg {
    margin: 10px;
}
