/*! 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;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * 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 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;
}

.bold {
    font-weight: 700;
}

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

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

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


body {
	background-color: ghostwhite;
    /*background:#ffffff url("../img/background.jpg") no-repeat right top;*/
}

h1 {
    color: seagreen;
    font-family: exo, sans-serif;
    font-size: 1.5em;
}


.modal-title {
    color: #999;
    font-size: 1.3em;
}

.modal-title:hover {
    color: white;
}

a:visited.underline, 
a:active.underline,
a:link.underline {
    text-decoration: underline;
}


.wrapper {
    position: relative;
    margin: 0 auto;
    width:  840px;
}

nav {
    font-family: exo, sans-serif;
    font-size: 16px;
    line-height: 36px;
    list-style: none outside none;
    margin: 0;
    padding: 0;
    position: fixed;
    left: 0;
    width: 171px;
    z-index: 1;
    border: 1px solid #BAB3A8;
    box-shadow: 0 0 5px #BAB3A8;
    background-color: #ffffff;

}

nav #menu {
    margin-top: 0;
}

nav ul {
    padding: 0 0 0 25%;
}

nav a {
    transition: all 0.3s ease-in-out 0s;
}

nav a.active,
nav a:hover {
    color:seagreen;
}

nav a.active {
    font-weight: bold;
}

a:link, a:visited, a:active {
    text-decoration: none;
    color: inherit;
}

#responsive-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1;

}

.slicknav_menu {
    display:none;
}

@media screen and (max-width: 64em) {
    /* #menu is the original menu */
    .js nav {
        display:none;
    }

    .js .slicknav_menu {
        display:block;
    }

    .js .wrapper {
        width: 100%;
    }

    .contact-image {
        display: none;
    }


    .js .home-text {
        font-size: 12px;
    }
    
    .headline-bar {
        display: none;
    }
}

.headline-bar  {
    color: #808080;
    font-size: 12px;
    left: 10px;
    position: fixed;
    bottom: 10px;
}

.box {
    width: 100%;
    box-shadow: 0 0 5px #BAB3A8;
    margin-bottom: 100px;
    border: 1px solid #BAB3A8;
    background-color: #ffffff;
    position: relative;
}

.box .content {
    padding: 30px;
}

#home {
    margin-top: 50px;
/*    position: relative;*/
/*    background: url('../img/background_web.jpg');*/
}

#home .content {
    min-height: 500px;
}

nav .logo {
    margin: 4px 0 0 9px;
    width: 90%;
/*
    border-radius: 10px;
    left: 5%;
    position: absolute;
    top: 10%;
*/

}

#home .logo {
/*
    left: 75%;
    position: absolute;
    top: 10%;
*/

}

#home .row {
    display: table-row;
}


#slider {
    max-width: 600px;
    margin: 20px auto;
}

#slider img {
    max-width: 100%;
}

.home-image {
/*
    box-shadow: 5px 5px 15px #000000;
    position: absolute;
*/
    margin-bottom: 10px;
    width: 75%;
    display: table-cell;
    
}

.image1{
    margin-left: 10px;
}
.image2{
    margin-right: 10px;
}
.image3{
    margin-left: 10px;
}

.intro {
    width: 100%;
}

.home-text {
    display: table-cell;
    width: 25%;
/*
    bottom: 36%;
    font-family: exo,sans-serif;
    font-size: 18px;
    font-style: italic;
    font-weight: 500;
    left: 54%;
    position: absolute;
*/
}

#profile {}

.teamPicture {
    float: right;
    margin: 0 0 0 20px;
    width: 50%;
}


#services {}

.services-text-intro {
    margin-bottom:10px;
}

.servicesList {
    line-height: 27px;
    float: left;
    clear: both;
}

.servicesList a {
    text-decoration: underline;
}

.servicesList a:hover {
    text-decoration: none;
}

.services-list {
    display: inline-block;
    margin-bottom: 15px;
    width: 100%;

}

.services-list-headline {
    color: seagreen;
    font-weight: bold;
    font-size: 1.2em;
    float: left;
    cursor: pointer;
}

.servicePicture {
    clear: both;
    float: left;
    width: 100%;
    margin-top: 16px;
    cursor: pointer;
}

#contact .contact-mail {
    text-decoration: underline;
}

#contact .contact-text {
    margin-bottom: 10px;
}

#contact .contact-image {
    float: right;
    margin-right: 100px;
}

label[for=email]
{
    margin-right: 2px;
}

#contact .contact-textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 10px;
    font-style: italic;
}

#contact .contact-tel {
    display: none;
}

#contact .contact-error {
    display: none;
    color: red;
    margin-top: 10px;
    font-style: italic;
}
#contact .contact-success {
    display: none;
    margin-top: 10px;
    color: seagreen;
    font-style: italic;
}

#impressum p {
    font-size: 12px;
    text-align: justify;
}

#impressum .intro-text,
#impressum .intro-text p{
    font-size: 16px;
}

/* ==========================================================================
   Slider
   ========================================================================== */


#slider2_container {
    position: relative;
    margin: 20px auto;
}

/* jssor slider direction navigator skin 02 css */
/*
.jssord02l              (normal)
.jssord02r              (normal)
.jssord02l:hover        (normal mouseover)
.jssord02r:hover        (normal mouseover)
.jssord02ldn            (mousedown)
.jssord02rdn            (mousedown)
*/

.jssord02l, .jssord02r, .jssord02ldn, .jssord02rdn
{
    position: absolute;
    cursor: pointer;
    display: block;
    background: url(../img/d02.png) no-repeat;
    overflow:hidden;
}
.jssord02l { background-position: -3px -33px; }
.jssord02r { background-position: -63px -33px; }
.jssord02l:hover { background-position: -123px -33px; }
.jssord02r:hover { background-position: -183px -33px; }
.jssord02ldn { background-position: -243px -33px; }
.jssord02rdn { background-position: -303px -33px; }

/* jssor slider thumbnail navigator skin 03 css */
/*
.jssort03 .p            (normal)
.jssort03 .p:hover      (normal mouseover)
.jssort03 .pav          (active)
.jssort03 .pav:hover    (active mouseover)
.jssort03 .pdn          (mousedown)
*/
.jssort03 .w, .jssort03 .pav:hover .w
{
    position: absolute;
    width: 60px;
    height: 30px;
    border: white 1px dashed;
}
* html .jssort03 .w
{
    width /**/: 62px;
    height /**/: 32px;
}
.jssort03 .pdn .w, .jssort03 .pav .w { border-style: solid; }
.jssort03 .c
{
    width: 62px;
    height: 32px;
    filter:  alpha(opacity=45);
    opacity: .45;

    transition: opacity .6s;
    -moz-transition: opacity .6s;
    -webkit-transition: opacity .6s;
    -o-transition: opacity .6s;
}
.jssort03 .p:hover .c, .jssort03 .pav .c
{
    filter:  alpha(opacity=0);
    opacity: 0;
}
.jssort03 .p:hover .c
{
    transition: none;
    -moz-transition: none;
    -webkit-transition: none;
    -o-transition: none;
}



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

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * 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;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   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 */
}

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

/* ==========================================================================
   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;
    }

    @page {
        margin: 0.5cm;
    }

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

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