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

body {
    font-family: 'Open Sans', sans-serif;
    color: #333;
}

header {
    width: 100%;
    height: 385px;
    background: url(../img/berlin.jpg) no-repeat center center;
    background-size: 100%;
    position: relative;
}

header #topbar {
    width: 100%;
    background: #303030;
    color: #8c8c8c;
    font-size: 9px;
    font-weight: 100;
    line-height: 22px;
}

header #topbar .right {
    text-align: right;
}

header #topbar a {
    color: #8c8c8c;
    text-decoration: none;
}

header #topbar a:hover {
    color: #fff;
}

header #branding {
    width: 100%;
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.9);
    position: absolute;
    top: 150px;
}

header #branding h1 {
    text-align: center;
    font-size: 2.5em;
    color: #2f2f2f;
    font-weight: 600;
    margin: 0;
    line-height: 34px;
}

header #branding h1 span {
    font-size: 0.5em;
    font-weight: 100;
    display: block;
}

#topSection {
    background: url(../img/noise.png) repeat;
    padding: 40px 0 20px 0;
    color: #fff;
}

#topSection h2 {
    font-size: 28px;
    font-weight: 100;
    line-height: 28px;
    margin: 0 0 20px 0;
}

#topSection h2 span {
    background: url(../img/dots.png) repeat-x center center;
    display: inline-block;
    height: 32px;
    float: right;
}

#topSection p {
    color: #fff;
    opacity: 0.8;
    font-size: 0.9em;
    line-height: 1.7em;
    margin: 20px 0 20px 0;
}

#topSection p.quote {
    background: url(../img/quote.png) right center no-repeat;
    padding-right: 120px;
    min-height: 80px;
}

#topSection p.noopacity {
    opacity: 1;
}

#topSection p.italic {
    font-style: italic;
}

#topSection a {
    color: #fff;
    text-decoration: none;
    opacity: 0.8;
    -webkit-transition: all 500ms ease-in;
    -moz-transition: all 500ms ease-in;
    -o-transition: all 500ms ease-in;
    transition: all 500ms ease-in;
}

#topSection a:hover {
    opacity: 1;
}

hr {
    background: url(../img/hr.png) no-repeat center center;
    width: 100%;
    border: 0;
    margin: 40px 0;
    height: 2px;
}

.blue {
    color: #306d9d;
}

.icon-blue {
    background-image: url("../img/glyphicons-halflings-blue.png") !important;
}

.center {
    text-align: center;
}

#content {
    padding: 40px 0;
}

#content h2 {
    font-size: 2.8em;
    font-weight: 100;
    margin: 0 0 40px 0;
    color: #306d9d;
}

#content p {
    margin: 0 0 20px 0;
    line-height: 1.8em;
}

#content .team {
    padding-bottom: 30px;
}

#content .team .span2 {
    text-align: center;
}

#content .team .span2 img {
    border: 6px solid #f0f0f0;
}

#content .team .span2 p {
    font-size: 0.8em;
    font-weight: 100;
    margin: 10px 0 20px 0;
    text-align: center;
    line-height: 1.6em;
}

#content .team .span2 p em {
    font-weight: 400;
    font-style: italic;
}

#content .iconrow p {
    color: #555;
    font-size: 0.9em;
    line-height: 1.4em;
    margin-bottom: 10px;
}

#content ul {
    list-style: none;
    padding: 0;
    margin-left: 0;
}

#content li {
    padding-bottom: 4px;
}

#content .img-rounded {
    border: 2px solid #f0f0f0;
    padding: 1px;
}

footer {
    background: url(../img/noise.png) repeat;
    padding: 40px 0 20px 0;
    color: #dcdcdc;
}

footer h3 {
    font-size: 1.1em;
    font-weight: 600;
    margin: 0 0 10px 0;
    line-height: 1.1em;
    color: #fcfcfc;
}

footer p {
    font-size: 0.9em;
}

footer a {
    color: #fff;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
    color: #fff;
}

#gmaps {
    width: 100%;
    border-bottom: 20px solid #303030;
}

#gmaps iframe {
    width: 100%;
    height: 300px;
}

@media (min-width: 1200px) {

}

@media (min-width: 768px) and (max-width: 979px) {
    header {
        height: 300px;
        background-position: center center;
        background-color: #333;
        background-size: auto 100%;
    }

    header #branding {
        top: 110px;
    }

    #content h2 {
        font-size: 2em;
    }
}

@media (max-width: 767px) {
    body {
        padding: 0 !important;
    }

    header {
        height: 240px;
        background-position: center bottom;
        background-size: auto 100%;
    }

    header #branding {
        top: 75px;
    }

    header #topbar .span6 {
        text-align: center;
    }

    #topSection h2, #topSection p, footer h3, footer p {
        padding-left: 20px;
        padding-right: 20px
    }

    #content {
        padding: 40px 20px;
    }

    #content h2 {
        font-size: 2em;
    }
}

@media (max-width: 480px) {
    header #branding {
        top: auto;
        bottom: 0px;
    }

    header #branding h1 {
        font-size: 2.2em;
    }

    #content .iconrow p {
        text-align: center;
    }
}