@import url(https://fonts.googleapis.com/css?family=Droid+Sans|Roboto);

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/*
 * -- BASE STYLES --
 * Most of these are inherited from Base, but I want to change a few.
 */
body, li, p {
    line-height: 1.7em;
    color: #4a463b;
    font-size: 1em;
    font-family: 'Droid Sans', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    color: rgb(51, 51, 51);
    font-family: 'Roboto', sans-serif;
}

small {
    font-size: 100%;
}

.pure-img-responsive {
    max-width: 100%;
    height: auto;
}

/*
 * -- LAYOUT STYLES --
 * These are some useful classes which I will need
 */
.l-box {
    padding: 1em;
}

.l-box-lrg {
    padding: 2em;
}

.is-center {
    text-align: center;
}

.v-margin-0 {
    margin-bottom: 0;
    margin-top: 0;
}

/*
 * -- MENU STYLES --
 */

.home-menu {
    padding: 0.5em;
    text-align: center;
    box-shadow: 0 1px 1px rgba(0,0,0, 0.10);
}

.home-menu {
    background: #fff;
}

.pure-menu.pure-menu-fixed {
    /* Fixed menus normally have a border at the bottom. */
    border-bottom: none;
    /* I need a higher z-index here because of the scroll-over effect. */
    z-index: 4;
}

.home-menu .pure-menu-heading {
    color: rgb(51, 51, 51);
    font-weight: 400;
    float: left;
    padding: .3em 0 0 3em; 
    background: url('../image/hib-logo.jpg') no-repeat 0 .2em;
    background-size: 37.5px 33px;
    line-height: 40px;
}

.home-menu a {
    color: rgb(51, 51, 51);
    transition: all .25s ease;
}

.home-menu a:hover,
.home-menu a:focus {
    color: #e50005;
    background: url('../image/hib-logo.jpg') no-repeat 0 .2em;
    background-size: 37.5px 33px;
}

.home-menu li a:hover,
.home-menu li a:focus {
    background: none;
    border: none;
    color: #e50005;
}

/*
 * -- SPLASH STYLES --
 */

.splash-container {
    background: #ebe8de url("../image/115330-01-XXL_RET-rotate.jpg") no-repeat 0 0;
    background-size: cover;
    z-index: 1;
    overflow: hidden;
    /* The following styles are required for the "scroll-over" effect */
    width: 100%;
    height: 60%;
    top: 0;
    position: fixed !important;
}

.splash {
    width: 80%;
    height: 50%;
    position: absolute;
    top: 90px; left: 0; bottom: 0; right: 0;
}

.splash-head {
    font-size: .938em;
    color: #333;
    padding: 0 1.6em;
    font-weight: 400;
    line-height: 1.2em;
    letter-spacing: 0.1em;
}

.splash-subhead {
    color: #333;
    letter-spacing: 0.1em;
    opacity: 0.8;
    padding: 0 3.7em;
    line-height: 1.3333333em;
    font-weight: normal;
    font-size: .6em;
}

/*
 * -- CONTENT STYLES --
 */
.content-wrapper {
    /* These styles are required for the "scroll-over" effect */
    position: absolute;
    top: 60%;
    width: 100%;
    min-height: 12%;
    z-index: 2;
    background: #fff;
}

.content-wrapper.privacy {
    position: relative;
}

.content .portfolio {
    background: url('../image/VELUX_Logo_GeschulterBetrieb_Internet_72dpi_Farbe.jpg') no-repeat 0 0;
    background-size: 30%;
    padding: 2em 2em 0 8em;
}

.content iframe {
    border-bottom: 1px solid #c4c4c4;
    border-left: none;
    border-right: none;
    border-top: none;
}

.content .portfolio .portfolio-no-image {
    margin-top: -3em;
}

.content .portfolio ul {
    list-style-type: none;
}

.content .portfolio ul li {
    background: url('../image/icon-chevron-small-right.png') no-repeat 0 5px;
    padding: 0 0 0 20px;
    margin-left: -5px;
}

/* This is the class used for the main content headers (<h2>) */
.content-head {
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 2em 0 1em;
}

/* This is a modifier class used when the content-head is inside a ribbon */
.content-head-ribbon {
    color: rgb(51, 51, 51);
}

.ribbon ul li.content-ribbon-small {
    font-size: 10px;
    display: none;
}

#contact.content-head-ribbon {
    margin: 0;
}

/* This is the class used for the content sub-headers (<h3>) */
.content-subhead {
    color: rgb(51, 51, 51);
}

.content-subhead i {
    margin-right: 7px;
}

/* This is the class used for the dark-background areas. */
.ribbon,
.ribbon a {
    background: #f0f0f0;
    color: rgb(51, 51, 51);
}

.content a,
.footer a,
.ribbon a:visited,
.footer a:visited,
.content a:visited {
    color: rgb(51, 51, 51);
}

.content a,
.footer a,
.ribbon a {
    text-decoration: underline;
    transition: all .25s ease;
}

.content a:hover,
.content a:focus,
.footer a:hover,
.footer a:focus,
.ribbon a:hover,
.ribbon a:focus {
    color: #e50005;
}

.ribbon ul {
    display: inline-block;
    /*text-align: initial;*/
    padding-left: 0;
}

.ribbon ul li {
    display: inline;
}

.footer {
    background-color: #bbb2a9;
    color: rgb(51, 51, 51);
    font-size: .6em;
}

.footer small:last-child {
    float: right;
}

.contact-secondary {
    margin-top: -35px;
}

/*
 * -- TABLET (AND UP) MEDIA QUERIES --
 * On tablets and other medium-sized devices, we want to customize some
 * of the mobile styles.
 */
@media (min-width: 48em) {

    /* We increase the body font size */
    body {
        font-size: 16px;
    }
    /* We want to give the content area some more padding */
    .content {
        padding: 1em;
    }

    /* We can align the menu header to the left, but float the
    menu items to the right. */
    .home-menu {
        text-align: left;
    }

    .home-menu ul {
        float: right;
    }

    /* We decrease the width of the .splash, since we have more width
    to work with */
    .splash {
        width: 80%;
        height: 50%;
    }

    .splash-head {
        font-size: 250%;
    }

    .splash-subhead {
        font-size: 115%;
    }


    /* We remove the border-separator assigned to .l-box-lrg */
    .l-box-lrg {
        border: none;
    }

    .ribbon ul {
        text-align: initial;
    }

    .content .portfolio {
        padding-left: 24em;
    }

    .splash-head {
        font-size: 1.250em;
        color: #333;
        padding: 0 1.6em;
        font-weight: 400;
        line-height: 1.2em;
        letter-spacing: 0.1em;
    }

    .splash-subhead {
        color: #333;
        letter-spacing: 0.1em;
        opacity: 0.8;
        padding: 0 3.7em;
        line-height: 1.3333333em;
        font-weight: normal;
        font-size: .9em;
    }

    .splash {
        top: 150px;
    }

    .ribbon ul li.content-ribbon-small {
        font-size: .625em;
        display: inline;
    }

    .contact-secondary {
        margin-top: -40px;
    }    
}

/*
 * -- DESKTOP (AND UP) MEDIA QUERIES --
 * On desktops and other large devices, we want to over-ride some
 * of the mobile and tablet styles.
 */
@media (min-width: 78em) {
    /* We increase the header font size even more */
    .splash-head {
        font-size: 200%;
    }

    .splash-subhead {
        font-size: 92%;
    }

    .ribbon ul {
        text-align: initial;
    }

    .content .portfolio {
        padding-left: 36em;
    }

    .splash-head {
        font-size: 1.250em;
        color: #333;
        padding: 0 1.6em;
        font-weight: 400;
        line-height: 1.2em;
        letter-spacing: 0.1em;
    }

    .splash-subhead {
        color: #333;
        letter-spacing: 0.1em;
        opacity: 0.8;
        padding: 0 3.7em;
        line-height: 1.3333333em;
        font-weight: normal;
        font-size: .9em;
    }

    .splash {
        top: 150px;
    }

    .ribbon ul li.content-ribbon-small {
        font-size: .625em;
        display: inline;
    }

    .contact-secondary {
        margin-top: -40px;
        display: inline;
    }
}
