@import url("fonts.css");

body {
    font-family: "Mplus_1c", "Frutiger", sans-serif;
    margin: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-size: 1em;
    font-weight: normal;
    margin: 0 0 1em 0;
    column-break-after: avoid;
    -moz-column-break-after: avoid;
    -o-column-break-after: avoid;
    -webkit-column-break-after: avoid;
    -ms-column-break-after: avoid;
}
h1, h2 {
    margin: 0;
    font-size: 2em;
    line-height: 1.0;
    text-transform: uppercase;
    color: #fff;
}
h1 {
    font-weight: 900;
    position: fixed;
    width: 100%;
    height: 4em;
    z-index: 2;
}
h3 {
    font-weight: bold;
}
h4 {
    text-transform: uppercase;
}
p, ul, ol {
    margin: 0 0 1em 0;
}
a:link, a:hover, a:visited {
    color: #390;
}


/* Green Landscapes logo */

#logo {
    position: fixed;
    right: 5%;
    top: 4em;
    margin-top: -32px;
}

/* Container for slides */

#slides {
    position: fixed;
    width: 100%;
    height: 100%;
}

/* All slides */

article {
    width: 100%;
    height: 100%;
}
article > header {
    height: 8em;
    background-attachment: fixed;
    background-color: #ccf0ff;
    background-image: url("../images/sky.jpg");
    background-position: left top;
    background-repeat: repeat-x;
    background-size: auto 8em;
}
article h2 {
    padding: 0.5em 5%;
}
article > .body {
    height: 100%;
    background-color: #9c3;
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
}
article .content {
    padding: 3em 5%;
}
article .scroll-area {
    max-width: 100%;
    overflow-x: hidden;
    overflow-y: auto;
}
article .columns {
    column-width: 400px;
    -moz-column-width: 400px;
    -o-column-width: 400px;
    -webkit-column-width: 400px;
    /* disable column fill (support isn't good enough yet) */
    /*column-fill: auto;
    -moz-column-fill: auto;
    -o-column-fill: auto;
    -webkit-column-fill: auto;*/
}
article .content p, article .content li {
    column-break-inside: avoid;
    -moz-column-break-inside: avoid;
    -o-column-break-inside: avoid;
    -webkit-column-break-inside: avoid;
    -ms-column-break-inside: avoid;
}

/* FIXME: Helper for column breaks (see column-fill) */

.colbreak {
    display: inline-block;
    width: 100%;
}

/* Particular slides */

#complex-planning > .body {
    background-image: url("../images/bg1.jpg");
}
#competition-for-resources > .body {
    background-image: url("../images/bg2.jpg");
}
#tool > .body {
    background-image: url("../images/bg4.jpg");
}
#scenario-based-planning > .body {
    background-image: url("../images/bg3.jpg");
}
#use-cases > .body {
    background-image: url("../images/bg2.jpg");
}
#team > .body {
    background-image: url("../images/bg4.jpg");
}
#contact-us > .body {
    background-image: url("../images/bg1.jpg");
}

/* Hint to "Scroll for more" */

#scrollhint {
    position: absolute;
    top: 2em;
    width: 100%;
    text-align: center;
    font-size: 1.5em;
    color: #000;
    opacity: 0.0;
}

@media print {
    h1, h2 {
        color: black !important;
    }
    #slides, #slides > div, article, .body, .scroll-area {
        position: static !important;
        display: block !important;
        left: 0 !important;
        top: auto !important;
        width: 100% !important;
        height: auto !important;
    }
    article {
        page-break-after: always;
        -moz-page-break-after: always;
        -o-page-break-after: always;
        -webkit-page-break-after: always;
        -ms-page-break-after: always;
    }

    #scrollhint, #logo {
        display: none;
    }
}
