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

body {
    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 and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

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

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

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

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

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

html {
     height: 100%;
}

body {
    background: #ff781f;
    font-family: 'Open Sans', sans-serif;
    min-height: 100%;
    position: relative;
}

address {
    color: #777;
    font-style: normal;
}

.btn-highlight {
    background: #e8645a;
    border-radius: .25em;
    box-shadow: 0 .1875em 0 #e2534b;
    color: #fff !important;
    display: inline-block;
    font-size: 1.125em;
    margin: 1em 0;
    padding: .4em 2.8em;
    text-decoration: none;
    text-transform: uppercase;
}


/* ==========================================================================
  _    _ ______          _____  ______ _____  
 | |  | |  ____|   /\   |  __ \|  ____|  __ \ 
 | |__| | |__     /  \  | |  | | |__  | |__) |
 |  __  |  __|   / /\ \ | |  | |  __| |  _  / 
 | |  | | |____ / ____ \| |__| | |____| | \ \ 
 |_|  |_|______/_/    \_\_____/|______|_|  \_\

   ========================================================================== */
.headline {
    position: relative;
    padding: 1em 0;
    height: 8em;
    width: 100%;
    background: #FF781E;
    vertical-align: middle;
    height: 170px;
    text-align: center;
}



.logo {
   
   

}


.slogan {
    
    float: left;
    padding-top: 3em;
    padding-left: 1em;

     
}


/* ==========================================================================*/                                              

.middle {
    background: #fff;
    background-size: cover;
    display: table;
    height: 28.125em;
    text-align: center;
    width: 100%;
}

.middle-inner {
    display: table-cell;
    padding: 2em 0;
    vertical-align: middle;
}

.verlinkung {
   
    text-align: left;
    height: 5em;

}


.middle h1 {
    border-radius: 4px;
    border-radius: .25rem;
    color: #FF781E;
    display: inline-block;
    font-size: 1.5em;
    font-weight: 800;
    line-height: 1em;
    margin: 0;
    padding: 0 .1em;
    text-transform: uppercase;
}

.middle h2 {
    
    border-radius: 4px;
    border-radius: .25rem;
    color: #000;
    display: block;
    font-size: 1em;
    font-weight: 300;
    line-height: 1.5em;
    margin: .625em auto 0;
    padding: 1em 2em;
    width: 29.375em;
}




/* ==========================================================================
  ______ ____   ____ _______ ______ _____  
 |  ____/ __ \ / __ \__   __|  ____|  __ \ 
 | |__ | |  | | |  | | | |  | |__  | |__) |
 |  __|| |  | | |  | | | |  |  __| |  _  / 
 | |   | |__| | |__| | | |  | |____| | \ \ 
 |_|    \____/ \____/  |_|  |______|_|  \_\
                                           
   ========================================================================== */ 

.main-footer {
    bottom: 0;
    color: #fff;
    font-size: .75em;
    font-weight: 300;
    left: 0;
    padding: 1.875em 0;
    position: absolute;
    width: 100%;
}

    .copyright {
    text-align: center;
    padding: 0 0 0 0;
    width: 100%;
    

}



/* SM-Bar ------------------------------------------------------------------- */

.meta-info .sm-bar .sm-link-fb,
.meta-info .sm-bar .sm-link-tw,
.meta-info .sm-bar .sm-link-gp,
.meta-info .sm-bar .sm-link-in {
    background-clip: padding-box;
    border-radius: .25em;
    display: inline-block;
    height: 2.5em;
    overflow: hidden;
    position: relative;
    text-indent: 100%;
    white-space: nowrap;
    width: 2.5em;
}

.meta-info .sm-bar .sm-link-fb {
    background-color: #526da3;
}

.meta-info .sm-bar .sm-link-tw {
    background-color: #73bfe6;
}

.meta-info .sm-bar .sm-link-gp {
    background-color: #e2534b;
}

.meta-info .sm-bar .sm-link-in {
    background-color: #527aa3;
}

.meta-info .sm-bar .sm-link-fb:after,
.meta-info .sm-bar .sm-link-tw:after,
.meta-info .sm-bar .sm-link-gp:after,
.meta-info .sm-bar .sm-link-in:after {
    background: url(../img/sprite.png) no-repeat; 
    left: 50%;
    position: absolute;
    top: 50%;
}

.meta-info .sm-bar .sm-link-fb:after {
    background-position: -60px 0;
    content: " ";
    height: 23px;
    margin: -11px 0 0 -5px;
    width: 11px;
}

.meta-info .sm-bar .sm-link-tw:after {
    background-position: -60px -30px;
    content: " ";
    height: 18px;
    margin: -9px 0 0 -11px;
    width: 22px;
}

.meta-info .sm-bar .sm-link-gp:after {
    background-position: -60px -60px;
    content: " ";
    height: 24px;
    margin: -12px 0 0 -12px;
    width: 24px;
}

.meta-info .sm-bar .sm-link-in:after {
    background-position: -60px -90px;
    content: " ";
    height: 22px;
    margin: -12px 0 0 -11px;
    width: 21px;
}



/* ==========================================================================
  _______       ____  _      ______ _______ 
 |__   __|/\   |  _ \| |    |  ____|__   __|
    | |  /  \  | |_) | |    | |__     | |   
    | | / /\ \ |  _ <| |    |  __|    | |   
    | |/ ____ \| |_) | |____| |____   | |   
    |_/_/    \_\____/|______|______|  |_|   
                                            
   ========================================================================== */
/* 1000 PIXEL WIDTH --------------------------------------------------------- */
@media screen and (max-width: 62.5em) {
    .btn-highlight {
        font-size: .875em;
        text-align: center;
    }
}
/* 950 PIXEL WIDTH ---------------------------------------------------------- */
@media screen and (max-width: 59.375em) {
    .headline .logo {
        margin: .5em 0 0;
        width: 25%;
    }

     .headline .slogan {
        margin: .5em 0 0;
        padding-left: 2em;
        width: 25%;
    }
}

/* 770 PIXEL WIDTH ---------------------------------------------------------- */

@media screen and (max-width: 48.125em) {
    .headline .logo {
        display: block;
        float: none;
        margin: 0 auto 2em;
        max-width: 100%;
        width: auto;
    }



    .headline .slogan {
        display: block;
        float: none;
        margin: 0 auto 2em;
        padding-left: 2em;
        max-width: 100%;
        width: auto;
    }



/* ==========================================================================
  __  __  ____  ____ _____ _      ______ 
 |  \/  |/ __ \|  _ \_   _| |    |  ____|
 | \  / | |  | | |_) || | | |    | |__   
 | |\/| | |  | |  _ < | | | |    |  __|  
 | |  | | |__| | |_) || |_| |____| |____ 
 |_|  |_|\____/|____/_____|______|______|
                                         
   ========================================================================== */

@media screen and (max-width: 35em) {
    .btn-highlight {
        font-size: .875em;
        text-align: center;
    }


    .headline .logo {
        width: 50%;
    }


    .headline .slogan {
        float: left;
        margin: 0;
        padding-left: 2em;
        width: 30%;
            }

    .middle h1 {
        font-size: 2em;
    }

    .middle h2 {
        width: auto;
    }


   
    .middle .middle-inner .verlinkung {
        
        width: 50%;
    } 

    .main-footer .copyright {
        float: none;
        padding: 0;
        text-align: center;
        width: 100%;
    }

}

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

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