/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

html {
    font-size: 1em;
    line-height: 1.4;
	font-family: 'Titillium Web', sans-serif; 
	font-weight:400;
	color:#474746;
	background-color:#E8E8E8;
	background-image:url(../img/noise.png);
}
body { min-width:45em;}
a, a:visited { color:#474746; text-decoration:none; border:none; outline:none;}
a:hover { color:#eb5b25;}


/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
   
/* ==========================================================================
   TYPO
   ========================================================================== */
   
   
h1, h2, h3, h4 {font-weight:200; margin:0; padding:0;}
h2 { font-size:5em; color: rgba(255,255,255,0.4); }
h3 { font-weight:400;}
.skin-primary h2 { color:#eb5b25; text-shadow: 1px 1px 0px #494948; filter: dropshadow(color=#494948, offx=1, offy=1); }
.skin-secondary h2 {color:#eb5b25; text-shadow: 1px 1px 0px #494948; filter: dropshadow(color=#494948, offx=1, offy=1);} 
#home h2 {font-style:italic; /*color: rgba(71,71,70,0.4);*/ font-size:40px;}
/*p { font-size:0.9em;}*/

/* ==========================================================================
   FONT
   ========================================================================== */

/* titillium-web-200 - latin */
@font-face {
    font-family: 'Titillium Web';
    font-style: normal;
    font-weight: 200;
    src: url('../fonts/titillium-web-v15-latin-200.eot'); /* IE9 Compat Modes */
    src: local(''),
         url('../fonts/titillium-web-v15-latin-200.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('../fonts/titillium-web-v15-latin-200.woff2') format('woff2'), /* Super Modern Browsers */
         url('../fonts/titillium-web-v15-latin-200.woff') format('woff'), /* Modern Browsers */
         url('../fonts/titillium-web-v15-latin-200.ttf') format('truetype'), /* Safari, Android, iOS */
         url('../fonts/titillium-web-v15-latin-200.svg#TitilliumWeb') format('svg'); /* Legacy iOS */
  }
  
  /* titillium-web-regular - latin */
  @font-face {
    font-family: 'Titillium Web';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/titillium-web-v15-latin-regular.eot'); /* IE9 Compat Modes */
    src: local(''),
         url('../fonts/titillium-web-v15-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('../fonts/titillium-web-v15-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
         url('../fonts/titillium-web-v15-latin-regular.woff') format('woff'), /* Modern Browsers */
         url('../fonts/titillium-web-v15-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
         url('../fonts/titillium-web-v15-latin-regular.svg#TitilliumWeb') format('svg'); /* Legacy iOS */
  }
  
  /* titillium-web-700 - latin */
  @font-face {
    font-family: 'Titillium Web';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/titillium-web-v15-latin-700.eot'); /* IE9 Compat Modes */
    src: local(''),
         url('../fonts/titillium-web-v15-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('../fonts/titillium-web-v15-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
         url('../fonts/titillium-web-v15-latin-700.woff') format('woff'), /* Modern Browsers */
         url('../fonts/titillium-web-v15-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
         url('../fonts/titillium-web-v15-latin-700.svg#TitilliumWeb') format('svg'); /* Legacy iOS */
  }
  
  /* titillium-web-700italic - latin */
  @font-face {
    font-family: 'Titillium Web';
    font-style: italic;
    font-weight: 700;
    src: url('../fonts/titillium-web-v15-latin-700italic.eot'); /* IE9 Compat Modes */
    src: local(''),
         url('../fonts/titillium-web-v15-latin-700italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('../fonts/titillium-web-v15-latin-700italic.woff2') format('woff2'), /* Super Modern Browsers */
         url('../fonts/titillium-web-v15-latin-700italic.woff') format('woff'), /* Modern Browsers */
         url('../fonts/titillium-web-v15-latin-700italic.ttf') format('truetype'), /* Safari, Android, iOS */
         url('../fonts/titillium-web-v15-latin-700italic.svg#TitilliumWeb') format('svg'); /* Legacy iOS */
  }
  

/* ==========================================================================
   MENU
   ========================================================================== */
nav { margin:18px 0px 0px 50px; float:left; width:21em;}
#nav { width:35em; margin:0; padding:0; outline:none;}
#nav a { font-size:1.1em; font-weight:700; font-style:italic; color:#eb5b25; text-decoration:none; background-repeat:no-repeat; padding-left:25px; -webkit-transition: all 300ms ease-in-out; -moz-transition: all 300ms ease-in-out; transition: all 300ms ease-in-out;}
#nav a img{ vertical-align:sub; opacity:0; -webkit-transition: opacity 300ms ease-in-out; -moz-transition: opacity 300ms ease-in-out; transition: opacity 300ms ease-in-out;}
#nav a:hover { color:#474746;-webkit-transition: all 300ms ease-in-out; -moz-transition: all 300ms ease-in-out; transition: all 300ms ease-in-out;}
#nav a:hover img { opacity:1; -webkit-transition: opacity 300ms ease-in-out; -moz-transition: opacity 300ms ease-in-out; transition: opacity 300ms ease-in-out;}
ul#nav li { float:left; padding:0; margin-right:5px; }

/* ==========================================================================
   LAYOUT
   ========================================================================== */
#scrollUp {bottom: 20px; right: 20px; height:38px; width:38px; background: url(../img/top.png); color: #fff;}
/*Layout*/
.seperator { clear:both; height:1em; margin:1em;}
.seperator2 { clear:both; height:5px;}
.wrapper { padding:1.5em; margin:auto; max-width:70em; position:relative;}
header { position:fixed; width:100%; z-index:999; background-color:#ffffff; background-image:url(../img/web-bg.png); border-bottom:5px solid #eb5b25; min-width:45em}
.head { margin:0; padding:0; height:90px; box-shadow: 0 0 10px 2px rgba(0, 0, 0, 0.5);}
.head .wrapper { padding:16px 0 0 0; overflow:hidden;}
.head h2 { width:250px; height:59px; float:left; margin:0; background-image:url(../img/jens-wussler_logo.png); background-repeat:no-repeat; text-indent: -999em; background-size:cover;}
.logo { display:block; overflow:hidden; text-align:left; text-indent:-999em;}


/*SHRINK*/
.head { -webkit-transition: height 0.3s; -moz-transition: height 0.3s; transition: height 0.3s; }
.head.shrink { height: 50px; }
.head.shrink .wrapper { padding:8px 0 0 0; -webkit-transition: all 0.3s; -moz-transition: all 0.3s; transition: all 0.3s;}
.head.shrink nav { margin:8px 0px 0px 50px; -webkit-transition: all 0.3s; -moz-transition: all 0.3s; transition: all 0.3s;}
.head h2{ -webkit-transition: all 0.3s; -moz-transition: all 0.3s; transition: all 0.3s;}
.head.shrink h2{width:150px; height:35px; -webkit-transition: all 0.3s; -moz-transition: all 0.3s; transition: all 0.3s; }


/*Section Layout*/
section:before, section:after { content:""; display:block; height:0; overflow:hidden;}
section:after { clear:both; }
section { border-top:5px solid #eb5b25;padding-top:6em; }
.skin-primary { background-color:#CCC; background-image:url(../img/web-bg.png);}
.skin-secondary { background-color:#f0f0f0; background-image:url(../img/web-bg.png);}
#person { background-image:url(../img/background1.jpg); background-position: bottom center; background-repeat:no-repeat; background-size:cover; /*background-attachment:fixed;*/}
#home { padding:0;}
#seperator1 { background-image:url(../img/background4.jpg); background-position: center center; background-repeat:no-repeat; background-size:cover; /*background-attachment:fixed;*/}
#seperator2 { background-image:url(../img/background6.jpg); background-position: center center; background-repeat:no-repeat; background-size:cover; background-attachment:fixed;}
#contact { background-image:url(../img/background3.jpg); background-position: center center; background-repeat:no-repeat; background-size:cover; background-attachment:fixed;}
.section-background {background-image:url(../img/background5.jpg); background-position: bottom center; background-repeat:no-repeat; background-size:cover; background-attachment:fixed; padding-top:90px; height:100%;}

/*HOME*/
#home-wrapper { width:100%; overflow:auto; /*color:#FFF; text-shadow: 2px 2px 0px #494948; filter: dropshadow(color=#494948, offx=2, offy=2);*/ color:#eb5b25;}
.home-text { margin-left:2em; width:30em; text-align:justify;}
#home-text { float:right;}
h2.welcome { float:right; width:60%;}
.lead { font-size:5em; text-shadow:none; font-weight:200;}
.lead span { background: #fff none repeat scroll 0 0; display: inline-block; margin-bottom: 10px; padding: 5px 17px; float:right;}
.subtitle { clear:both; font-weight:700; font-size:1.5em; /*font-style:italic;*/ padding-top:35px; text-align:right;}

/*NEXT-BUTTONS*/
.next {height:27px; display:block; background:#eb5b25; border-radius:80px 80px 0 0; text-align:center; padding-top:13px; position:absolute; bottom:0; left:42%; }	 
.next a { height:30px; display:block; color:#FFFFFF!important; text-decoration:none; opacity:0.5; -webkit-transition: opacity 300ms ease-in-out; -moz-transition: opacity 300ms ease-in-out; transition: opacity 300ms ease-in-out;}
.next a:hover { /*color:#474746!important;*/ opacity:1; -webkit-transition: opacity 300ms ease-in-out; -moz-transition: opacity 300ms ease-in-out; transition: opacity 300ms ease-in-out;}
.next a img{ vertical-align:sub; }

.start { width:120px; left:56%; bottom:8px;}

.person { width:130px; left:10%; bottom:-2px;}
.leist { width:130px; left:80%; bottom:-2px;}
.arbei { width:120px; bottom:-2px;}

/*Person*/
.infotext { width:30em; float:left; text-align:justify;}
.ausschreibung { text-align:center; padding-top:30px;}
.ausschreibung a{ text-decoration:none;}

/*LEISTUNGEN*/
#leistungen ul { padding:0; margin:0; border:0; font-size:13px; clear:both; margin-left:20px;}
#leistungen ul li{ list-style:none; float:left; margin-right:5px; display:block; background-color:#DA8A1C; cursor:pointer; color:#FFF; padding:5px;}
#leistungen ul li:hover{ background-color:#474746; cursor:pointer; color:#FFF; padding:5px;}
#leistungen a { color:#EB5B25; text-decoration:none;}
#leistungen h3 { font-weight:700; }
.veranstalter { float:left; font-size:14px; padding-top:5px;}

.leist-box { display: block; overflow: hidden; position: relative; text-align: center; float: left; height: 200px; width: 200px; border:3px solid #fff; background:#eb5b25;}
.box-icon { background-image:url(../img/webdesign.png); background-repeat:no-repeat; background-position:center; width:100%; height:100%; z-index:998;}
.box-content { height: 100%; left: 0; position: absolute; top: 0; width: 100%;}
.box-title { bottom: 15px; display: block; font-size: 2em; left: 0; margin-bottom: 10px; position: absolute; right: 0; text-align: center; width: 100%; color:#fff;}
.box-title:hover { z-index:998; color:#fff; }

/*PROJEKTE*/
#Grid .mix{ opacity: 0; display: none;}
#Grid li.mix {    transition-duration: 0.3s; transition-property: box-shadow, transform; transform: scale(0.9);}
#Grid li.mix:hover {box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);  transform: scale(1.0);}
#projects a { text-decoration:none;}
#projects ul { padding:0; margin:0; border:0; font-size:13px;}
.label { font-size:13px; clear:both;}
#references-filter li, #references-sort li { list-style:none; float:left; margin-right:5px; display:block; background-color:#EB5B25; cursor:pointer; color:#FFF; padding:5px;}
#references-filter li:hover, #references-sort li:hover, #projects li.active { background-color:#FFF;color: #474746; }
.mix { width:150px; height:200px; background-color:#FFF; background-image:url(../img/noise.png); margin:0.5em; text-align:center; font-size:13px; }
/*.mix a {color:#DA8A1C;}*/
.mix img { margin-bottom:9px;}
.map { width:100%; height:150px; margin:0; padding:0; margin-bottom:6px;background-repeat:no-repeat; background-position:center;}
#web-teamgeist { background:url(../img/website_teamgeist.jpg);}
#web-best { background:url(../img/website_best.jpg);}
#web-aquaterra { background:url(../img/website_aquaterra.jpg); }
#web-elke-kopf{ background:url(../img/website_elke-kopf.jpg);}
#web-pixovid { background:url(../img/website_pixovid.jpg);}
#web-kahlenberg-open { background:url(../img/website_kahlenberg-open.jpg);}
#web-btm { background:url(../img/website_btm.jpg); }
#web-kiefer { background:url(../img/website_kiefer.jpg);}
#web-schwanau-open { background:url(../img/website_schwanau-open.jpg);}
#web-sv-grafenhausen { background:url(../img/website_sv-grafenhausen.jpg);}
#web-german-genetic { background:url(../img/website_german-genetic.jpg);}
#web-antje-kopf { background:url(../img/website_antje-kopf.jpg);}
#web-tannenhexen { background:url(../img/website_tannenhexen.jpg);}
#print-tg-indoor-tour-flyer13 { background:url(../img/print_TG-Indoors-Flyer.jpg);}
#print-tg-indoor-tour-flyer14 { background:url(../img/print_TG-Indoors-Flyer14.jpg);}
#print-tg-indoor-tour-flyer15 { background:url(../img/print_TG-Indoors-Flyer15.jpg);}
#print-tg-indoor-tour-flyer16 { background:url(../img/print_TG-Indoors-Flyer16.jpg);}
#print-tg-indoor-tour-flyer17 { background:url(../img/print_TG-Indoors-Flyer17.jpg);}
#print-eom-2016-flyer { background:url(../img/print_EOM-2016-Flyer.jpg);}
#web-ddd {background:url(../img/atwork.jpg);}
#print-kai-op-mag-15 { background:url(../img/print_KaiOp-Mag_2015_thumb.jpg);}
#print-mark-op-mag-15 { background:url(../img/print_MarkOp-Mag_2015_thumb.jpg);}
#web-eom {background:url(../img/website_eom.jpg);}
#web-wemaprint {background:url(../img/website_wemaprint.jpg);}
#ci-kahlenberg-open {background:url(../img/ci_ko.jpg);}
#print-eom-kfz {background:url(../img/print_EOM-2016-kfz.jpg);}
#logo-ekrs {background:url(../img/logo_EKRS17.jpg);}
#web-haghof {background:url(../img/website_haghof.jpg);}

/*CONTACT*/
#adress { text-shadow: 1px 1px 0px #CCC; filter: dropshadow(color=#CCC, offx=1, offy=1); }

/* FOOTER Layout*/
.foot{ height:2em; padding:1em 0;}
#copyright { text-align:center; font-size:0.8em;}

#imprint, #datenschutz { text-align:left; padding:1em 3em; margin-top:2em; display:none;}
#imprint h2, #datenschutz h2 { width:50%;}
#imprint p, #datenschutz p { font-size:1em;}
p.tmg { position:relative; top:-3em; margin-left:50%;}
#imprint h3, #datenschutz h3 { font-size:2em; color:#EFECEB; text-shadow: 2px 2px 0px #494948; filter: dropshadow(color=#494948, offx=2, offy=2);}

#datenschutz { display:none;}
#datenschutz h2.smaller{ font-size:2rem; width:100%;}
/* ==========================================================================
   MOBILE HACK
   ========================================================================== */
@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
	#section-background, #seperator2, #contact { background-attachment: scroll !important;}
	#home { height:600px !important;}
	#home .next { display:none;}
	nav { margin: 18px 0 0; }
	}


/* ==========================================================================
   HOVER Effects
   ========================================================================== */


@keyframes hvr-buzz-out {
10% {
    transform: translateX(3px) rotate(2deg);
}
20% {
    transform: translateX(-3px) rotate(-2deg);
}
30% {
    transform: translateX(3px) rotate(2deg);
}
40% {
    transform: translateX(-3px) rotate(-2deg);
}
50% {
    transform: translateX(2px) rotate(1deg);
}
60% {
    transform: translateX(-2px) rotate(-1deg);
}
70% {
    transform: translateX(2px) rotate(1deg);
}
80% {
    transform: translateX(-2px) rotate(-1deg);
}
90% {
    transform: translateX(1px) rotate(0deg);
}
100% {
    transform: translateX(-1px) rotate(0deg);
}
}
/*BUZZ*/
.hvr-buzz-out {
    backface-visibility: hidden;
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    display: inline-block;
    transform: translateZ(0px);
    vertical-align: middle;
}
.hvr-buzz-out:hover, .hvr-buzz-out:focus, .hvr-buzz-out:active {
    animation-duration: 0.75s;
    animation-iteration-count: 1;
    animation-name: hvr-buzz-out;
    animation-timing-function: linear;
}
/*Underlinefromcenter*/
.hvr-underline-from-center {
    backface-visibility: hidden;
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    display: inline-block;
    overflow: hidden;
    position: relative;
    transform: translateZ(0px);
    vertical-align: bottom;
}
.hvr-underline-from-center::before {
    background: #eb5b25 none repeat scroll 0 0;
    bottom: 0;
    content: "";
    height: 4px;
    left: 50%;
    position: absolute;
    right: 50%;
    transition-duration: 0.3s;
    transition-property: left, right;
    transition-timing-function: ease-out;
    z-index: -1;
}
.hvr-underline-from-center:hover::before, .hvr-underline-from-center:focus::before, .hvr-underline-from-center:active::before {
    left: 0;
    right: 0;
}


/* ==========================================================================
   Helper classes
   ========================================================================== */


/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}



/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}



/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }


    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
