@charset "utf-8";
/**
 * raster: CSS fuer Raster
 *
 * @filesource raster.css
 * @project    Dummy pitcom Site
 * 
 * @copyright  (c) 2015 by pitcom GmbH | Bahnhofstraße 61 | D-08523 Plauen Germany
 * @author     Florian Schlichter, B.A. <florian.schlichter@pitcom.de>
 * @link       www.pitcom.de
 * 
 * @version    1.0
 * @date       23.02.2015 12:32:09
 */

/**
 * Reset
 */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, 
a, abbr, acronym, address, big,
em, img,
small, strike, strong, sub, sup,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
article, aside,
figure, figcaption, footer, header, hgroup, 
menu, nav {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
article, aside, 
footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1;
    
    -moz-hyphens: auto;
    -o-hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
    word-wrap: break-word;
    justify-content: flex-start;
    -moz-hyphenate-limit-chars: 3 5;
    -moz-hyphenate-limit-lines: 2;
    -o-hyphenate-limit-chars: 3 5;
    -o-hyphenate-limit-lines: 2;
    -webkit-hyphenate-limit-chars: 3 5;
    -webkit-hyphenate-limit-lines: 2;
    -ms-hyphenate-limit-chars: 3 5;
    -ms-hyphenate-limit-lines: 2;
    hyphenate-limit-chars: 3 5;
    hyphenate-limit-lines: 2;
}
ol, ul {
    list-style: none;
}
a, a:link, a:visited {
    text-decoration: none;
    color: #000;
}

a:focus {
    text-decoration: underline;
}

:focus {
    outline: 0;
}

h1 {
    font: bold 17px/36px "Lucida Sans Unicode", Verdana, Arial, Helvetica, sans-serif;
    margin-bottom: 18px;
}

h2 {
    font: 13px/18px "Lucida Sans Unicode", Verdana, Arial, Helvetica, sans-serif;
    font-weight: bold;
    margin-bottom: 18px;
}

/**
 * Allgemeines Raster
 *
 */
html {
    background-color: #faf8eb;
}

body {
    font: 12px "Lucida Sans Unicode", Verdana, Arial, Helvetica, sans-serif;
    line-height: 1.5;
    color: #333;
    padding: 18px 0;
    background: url(../img/bg-body.png) no-repeat center 18px;
    -webkit-tap-highlight-color: #D9E6FF;
    -webkit-text-size-adjust: 100%;
}

#pitcom {
    width: 888px;
    background: #FFF;
    padding: 18px 36px;
    margin: 0 auto;
    box-shadow: 0px 1px 2px #999;
    position:relative;
}

#masthead {
    position: relative;
    padding-top: 45px;
    width: 100%;
    margin-bottom: 54px;
}

#masthead h1 {
    margin-bottom:0;
}

#masthead h1 a {
    position: absolute;
    right: -37px;
    top: 84px;
    width: 140px;
    background: #008FD5;
    box-shadow: 0px 0px 4px #333;

}

#masthead h1 a:focus, #masthead h1 a:hover {
    width: 140px;
}

#masthead h1 img {
    display: block;
    width: 140px;

}

#masthead img {
    display: block;
}

#masthead h2 {
    height: 252px;
}
#socialnetwork {
    height:18px;
    margin-bottom:18px;
    display:block;
    float:left;
    clear:both;
    width: 586px;
}
#socialnetwork li {
    float:left;
    margin-right: 12px;
    display: inline;
}

#socialnetwork li a{
    display: block;
    text-indent: -9999px;
    width: 16px;
    height: 16px;
    background-position: bottom;
    background-repeat: no-repeat;
    border: 0;
}

#socialnetwork li a:focus, #socialnetwork li a:hover {
    text-decoration: none;
    border: none;
}

#bnfb a {
    background-image: url(../img/facebook.png);
}

#bntw a {
    background-image: url(../img/twitter.png);
}
#main {
    position:relative;
}

#main a {
    color: #008FD5;
    border-bottom: 1px dotted;
}

#main a:visited {
    color: #666;
}

#main a:focus, #main a:hover, #main a:active {
    text-decoration: none;
    border-bottom: 1px solid;
}
#main #content {
    width: 100%;
    margin: 0 0 30px 0;
    float: left;
    clear:left;
}

#main #content p {
    margin-bottom: 18px;
}



footer {
    border-top: 1px solid #CCCCCC;
    padding-top:28px;
    margin-top:8px;
    margin-bottom: 9px;
    height: 36px;
    clear: both;
}

footer ul {
    float:right;
    height:18px;
}

footer li {
    display: inline;
    padding-left: 7px;
    border-left: 1px solid;
    margin-left: 4px;
    font-size: 11px;
}

footer li:first-child {
    padding-left: 0;
    border-left: 0;
    margin-left: 0;
}

@media only screen and (min-width: 768px) and (max-width: 960px) {
    body {
        padding: 0;
    }
    #pitcom, #pitcom_home {
        width: 712px;
        padding: 12px 27px;
    }
    #masthead h1 a {
        right: -27px;
        top: 76px;
        width: 112px;
    }
    #masthead h1 a:focus, #masthead h1 a:hover {
        width: 112px;
    }
    #masthead h1 a img {
        width: 112px;
    }
    #masthead h2 {
        height: auto;
    }
    #masthead h2 img {
        width: 100%;
    }
    #main #content {
        width: 100%;
        margin-bottom: 13px;
        margin-right: 14px;
    }
    #socialnetwork {
        width:auto;
    }
}

@media only screen and (max-width: 767px) {
    body {
        padding: 2%;
    }
    #pitcom, #pitcom_home {
        padding: 3% 4%;
        width: 92%;
    }
    #masthead h1 a {
        position: absolute;
        right: -5%;
        top: 54px;
        width: 80px;
    }
    #masthead h1 a img {
        width: 80px;
    }
    #masthead h1 a:focus, #masthead h1 a:hover {
        width: 80px;
    }
    #masthead h2 {
        height: auto;
    }
    #masthead h2 img {
        width: 100%;
    }
    #masthead img {
        width: 100%;
    } 
    #main #content {
        width: 100%;
        margin: 0;
        float: left;
        margin-top: 18px;
    }
    #socialnetwork {
        position: static;
        height:18px;
        width: 100%;
        margin: 0;
        padding-top: 9px;
        border-top: 1px solid #CCCCCC;
        margin-bottom: 9px;
        clear:both;
    }
    #socialnetwork li {
        display: inline;
        padding-left: 3px;
        margin-left: 1px;
    }
    footer {
        height: auto;
        text-align: center;
        margin-top:0;
    }
    footer ul{
        float: none;
        margin: 0 auto;
        display: inline;
        width:auto;
        margin-bottom:9px;
        font: 11px/18px "Lucida Sans Unicode", Verdana, Arial, Helvetica, sans-serif;
    }
}

@media only screen and (min-width: 480px) and (max-width: 767px) {
    #pitcom {
        width: 444px;
        padding: 12px 18px;
    }  
    #masthead h1 a {
        position: absolute;
        right: -19px;
        top: 63px;
        width: 90px;
    }
    #masthead h1 a img {
        width: 90px;
    }
    #masthead h1 a:focus, #masthead h1 a:hover {
        width: 90px;
    }
    #socialnetwork {
        left:324px;
        margin-top:18px;
    }
}