/*! HTML5 Boilerplate v6.0.1 | MIT License | https://html5boilerplate.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.
 */
@font-face {
    font-family: 'AV';
    src: url('../fnt/AvenirNextLTPro-Regular.eot');
    src: url('../fnt/AvenirNextLTPro-Regular.eot?#iefix') format('embedded-opentype'),
        url('../fnt/AvenirNextLTPro-Regular.woff2') format('woff2'),
        url('../fnt/AvenirNextLTPro-Regular.woff') format('woff'),
        url('../fnt/AvenirNextLTPro-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

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

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * 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 audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

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

/*
 * Remove default fieldset styles.
 */

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

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

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

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

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

















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

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    white-space: nowrap; /* 1 */
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    -webkit-clip-path: none;
    clip-path: none;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
    white-space: inherit;
}

/*
 * Hide visually and from screen readers, 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;
}
/*main css*/
img{max-width:100%;}

body{font-family:'AV';font-weight:bold;font-size:16px;}

div.pagewrapper{	
	width: 100%;
    max-width: 1100px;
    margin: auto;
    min-height: 100px;
    height: auto;
    background: #fff;
	margin-top: 2%;
}

div#mainnav div.head{font-size:36px;display: inline-block;}
div#mainnav .nav{float:right;width:     70%;}
.nav-item{height:36px;line-height:36px;font-size:1.125em;width:200px;text-align:center;width: 25%;}
div#mainnav .nav a{color:#000;}
div#mainnav .nav a:hover span{border-bottom:3px solid #2290b3;padding:0px 15px 7px 15px;}
img#logo{margin-top:5%;max-width:90%;    opacity: 0.6;}
div#footer{margin-top:5%;color:#333}
div#footer a{color:#333}
img#zt-logo{}
.center{text-align:center;}
.right{text-align:right;}

div.about{background:url('../img/about-bg.jpg');min-height:700px;margin-top:5%;}
div.about_content{margin:0% 5%;   padding-top: 5%;}
div.about_content div.span_1_of_2{  background: rgb(255, 255, 255);background: rgba(255, 255, 255, .8);padding:1%;width:47%;   min-height: 555px;line-height:150%;}
h1{font-size:1.625em;margin-bottom:2%;}
div.ab,div.gal{margin-top:5%;}
div.gal{min-height:698px;}

div.ab ul     	     {
		list-style: none;
		line-height:160%;
	     }

div.ab ul li:before {
    content: "\2023 \0020";
    color: #2290b3;
    font-size: 40px;
    position: relative;
    top: 5px;
}
div.ab ul li{}		 
p{line-height:160%;}
/* for responsive table#gallery td{width:50%;}*/
table#gallery td img{max-width:90%;margin-bottom:10px;opacity:0.6;filter: alpha(opacity=60); -webkit-transition: opacity 1s ease-in-out;
    -moz-transition: opacity 0.2s ease-in-out;
    -ms-transition: opacity 0.2s ease-in-out;
    -o-transition: opacity 0.2s ease-in-out;
    transition: opacity 0.2s ease-in-out;border:0px;}
table#gallery td img:hover{opacity:1;filter: alpha(opacity=100);}
table#gallery td a{border:0px;}
.form-style-1 {
    margin:10px auto;
    max-width: 100%;
   
    font: 13px "av", sans-serif;
}
.form-style-1 li {
    padding: 0;
    display: block;
    list-style: none;
    margin: 10px 0 0 0;
}
.form-style-1 label{
    margin:0 0 3px 0;
    padding:0px;
    display:block;
    font-weight: bold;
}
.form-style-1 input[type=text], 
.form-style-1 input[type=date],
.form-style-1 input[type=datetime],
.form-style-1 input[type=number],
.form-style-1 input[type=search],
.form-style-1 input[type=time],
.form-style-1 input[type=url],
.form-style-1 input[type=email],
textarea, 
select{
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    border:1px solid #BEBEBE;
    padding: 7px;
    margin:0px;
    -webkit-transition: all 0.30s ease-in-out;
    -moz-transition: all 0.30s ease-in-out;
    -ms-transition: all 0.30s ease-in-out;
    -o-transition: all 0.30s ease-in-out;
    outline: none;  
}
.form-style-1 input[type=text]:focus, 
.form-style-1 input[type=date]:focus,
.form-style-1 input[type=datetime]:focus,
.form-style-1 input[type=number]:focus,
.form-style-1 input[type=search]:focus,
.form-style-1 input[type=time]:focus,
.form-style-1 input[type=url]:focus,
.form-style-1 input[type=email]:focus,
.form-style-1 textarea:focus, 
.form-style-1 select:focus{
    -moz-box-shadow: 0 0 8px #88D5E9;
    -webkit-box-shadow: 0 0 8px #88D5E9;
    box-shadow: 0 0 8px #88D5E9;
    border: 1px solid #88D5E9;
}
.form-style-1 .field-divided{
    width: 49%;
}

.form-style-1 .field-long{
    width: 100%;
}
.form-style-1 .field-select{
    width: 100%;
}
.form-style-1 .field-textarea{
    height: 100px;
}
.form-style-1 input[type=submit], .form-style-1 input[type=button]{
    background: #4B99AD;
    padding: 8px 15px 8px 15px;
    border: none;
    color: #fff;
}
.form-style-1 input[type=submit]:hover, .form-style-1 input[type=button]:hover{
    background: #4691A4;
    box-shadow:none;
    -moz-box-shadow:none;
    -webkit-box-shadow:none;
}
.form-style-1 .required{
    color:red;
}

#frm_kontakt{position:relative;}
p.werdegang {font-weight:normal;}

span.btn_showmore{display:inline-block;height:44px;padding: 0px 20%;border: 1px solid #999; box-sizing: border-box;line-height:44px;}
span.btn_showmore:hover{text-decoration:underline;cursor:pointer;}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */
@media only screen and (min-width: 320px) and (max-width: 768px) {   
  #gallery td{width:50%;} 
  
  div#footer{
    width: 96%;
	text-align:center;
	margin-bottom:5%;
}
  div#footer .right{text-align:center;}
  span.btn_showmore{width: 95%;text-align:center;}
  div.aboutwrapper div.span_1_of_2{width: 100%;}
   
}
@media only screen and (max-width: 768px)   {
	div#mainnav div.head {
		position: absolute;
    	top: 2%;z-index:0;
	}
	div#mainnav .nav{
		width: 100%;
	}
	div#mainnav .nav-item{
		width: 100%;
		text-align: left;
		height: 44px;
		line-height: 44px;
	}
	div#mainnav .nav a:hover span{border-bottom:0px;padding:0px ;}
	div#contentwrapper{margin-left:1%;margin-right:1%;}
	div#footer{margin-left:1%;margin-right:1%;}
	div#footer div.span_1_of_2{float:none;width:100%;}
}
   
@media only screen and (min-width: 769px) and (max-width: 1024px) {
		div#mainnav .nav {
			width: 62%;
		}
	
}




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

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        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 that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

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

    pre {
        white-space: pre-wrap !important;
    }
    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

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

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

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