/*! HTML5 Boilerplate v6.0.1 | MIT License | https://html5boilerplate.com/ */

/*
 * 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 {
    color: #4a4a4a;   /* edited */
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 */

::-moz-selection {
    background: #215a8b;   /* edited */
    color: #fff;
    text-shadow: none;
}

::selection {
    background: #215a8b;   /* edited */
    color: #fff;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {   /* edited */
    height: 1px;
    max-width: 140px;
    margin: 20px auto;
    border-top: 2px solid #801d18;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

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

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

textarea {
    resize: vertical;
}

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

/**
 * Google Fonts
 */

@font-face {
    font-family: 'Roboto';
    font-weight: 400;
    font-style: normal;
    src: local('Roboto'),
         local('Roboto-Regular'),
         url('./vendor/googlefonts/roboto-regular.woff2') format('woff2'),
         url('./vendor/googlefonts/roboto-regular.woff') format('woff');
}

@font-face {
    font-family: 'Roboto';
    font-weight: 500;
    font-style: normal;
    src: local('Roboto Medium'),
         local('Roboto-Medium'),
         url('./vendor/googlefonts/roboto-medium.woff2') format('woff2'),
         url('./vendor/googlefonts/roboto-medium.woff') format('woff');
}

@font-face {
    font-family: 'Raleway';
    font-weight: 400;
    font-style: normal;
    src: local('Raleway'),
         local('Raleway-Regular'),
         url('./vendor/googlefonts/raleway-regular.woff2') format('woff2'),
         url('./vendor/googlefonts/raleway-regular.woff') format('woff');
}

@font-face {
    font-family: 'Raleway';
    font-weight: 600;
    font-style: normal;
    src: local('Raleway SemiBold'),
         local('Raleway-SemiBold'),
         url('./vendor/googlefonts/raleway-semibold.woff2') format('woff2'),
         url('./vendor/googlefonts/raleway-semibold.woff') format('woff');
}

/**
 * General
 */

main {
    margin-top: -71px;
}

body {
	font-family: 'Roboto', sans-serif;
	font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Raleway', sans-serif;
	font-weight: 600;
}

a {
	color: #0e4570;
}

.container {
    position: relative;
    z-index: 2;
    display: block;
    height: 100%;
}

.section-content {
    min-height: 200px;
}

/**
 * Typograhy
 */

.text-white {
    color: #fff !important;
}

.text-brandcolor-primary {
    color: #0e4570 !important;
}

.text-brandfont {
	font-family: 'Raleway', sans-serif;
	font-weight: 400;
}

.text-regular {
	font-weight: 400;
}

.text-medium {
	font-weight: 500;
}

.text-semibold {
    font-weight: 600;
}

.text-calltoaction {
	font-size: 18px;
}

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

.text-uppercase {
	text-transform: uppercase;
}

/**
 * Navbar
 */

.navbar {
	border-radius: 0;
}

.navbar-default {
	height: 71px;
    border: 0;
    margin-bottom: 0;
    z-index: 4;
    background-color: #fff;
    border-color: #fff;
}

.navbar-brand img {
   height: 55px;
}

@media (min-width: 768px) {
    .navbar-brand img {
       height: 70px;
    }
}

@media (min-width: 992px) {
    .navbar-brand img {
        height: 77px;
    }
}

@media (min-width: 1200px) {
	.navbar-brand img {
	   height: 87px;
	}
}


/*
.navbar-default .nav {
    padding-top: 10px;
}

.navbar-default .navbar-nav > li > a {
    padding: 15px 7px 10px 7px;
    font-family: 'Raleway', sans-serif;
    font-size: 13px;
    color: #4a4a4a;
    text-transform: uppercase;
    -webkit-transition-duration: .2s;
    -moz-transition-duration: .2s;
    -o-transition-duration: .2s;
    transition-duration: .2s;
    -webkit-transition-property: all;
    -moz-transition-property: all;
    -o-transition-property: all;
    transition-property: all;
    -webkit-transition-timing-function: ease;
    -moz-transition-timing-function: ease;
    -o-transition-timing-function: ease;
    transition-timing-function: ease;
}

.navbar-default .navbar-nav > li > a:hover {
    color: #646464;
}

.navbar-default .navbar-collapse {
    border: 0;
}
*/

/**
 * Diagonal
 */

.diagonal {
    position: absolute;
    z-index: 3;
    display: block;
    width: 100%;
}

.diagonal-top {
    top: -1px;
}

.diagonal-bottom {
    bottom: -1px;
}

/**
 * Parallax
 */

.parallax-content {
    position: relative;
    display: block;
    min-width: 100%;
    min-height: 100%;
}

.parallax-halfscreen {
	height: 50vh; /* @TODO Opera Mini / iOS fallback */
}

.parallax-fullscreen {
    height: 100vh; /* @TODO Opera Mini / iOS fallback */
}

.fullscreen-image {
    position: absolute;
    z-index: 1;
    display: block;
    min-width: 100%;
    min-height: 100%;
    background-repeat: no-repeat;
    background-position: right center;
    background-attachment: fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.parallax-halfscreen .fullscreen-image {
	background-position-y: bottom;
}

@media (max-device-width: 1024px) {
    .fullscreen-image {
        background-attachment: scroll;
    }
}

#welcome .diagonal-top {
	top: 70px;
}

.parallax-welcome {
    background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.5)), url('../images/parallax/welcome.jpg');
}

.parallax-welcome-imprint {
    background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.3)), url('../images/parallax/welcome-imprint.jpg');
}

.welcome {
	position: absolute;
	top: 50vh;
	margin-top: -41px;
}

.parallax-halfscreen .welcome {
	top: 25vh;
	margin-top: 0;
}

.welcome h1 {
    font-size: 30px;
    line-height: 0.65;
}

.welcome h1 .small {
	font-size: 14px;
    letter-spacing: 2px;
}

@media (min-width: 768px) {
    .welcome {
        margin-top: -63px;
    }

    .welcome h1 {
        font-size: 50px;
        letter-spacing: 10px;
    }

    .welcome h1 .small {
        font-size: 22px;
        letter-spacing: 9px;
    }
}

@media (min-width: 992px) {
    .welcome h1 {
        font-size: 70px;
        letter-spacing: 10px;
    }

    .welcome h1 .small {
        font-size: 32px;
        letter-spacing: 10px;
    }
}

.parallax-conclusion {
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.7)), url('../images/parallax/conclusion.jpg');
}

.conclusion {
    font-size: 16px;
}

.conclusion li + li {
	margin-top: 10px;
}

/**
 * Value
 */

.value-thumb {
    margin-bottom: 10px;
    border-right: 1px solid #0e4570;
    border-bottom: 1px solid #0e4570;
    border-bottom-right-radius: 60px;
}

.value-thumb-header {
    width: 100%;
    padding: 5px 0 5px 0;
    background-color: #0e4570;
    border-top-left-radius: 60px;

}

.value-thumb-content {
    padding: 25px 25px 25px 20px;
    border-left: 1px solid #0e4570;
    border-bottom-right-radius: 60px;
}

/**
 * Footer
 */

#footer {
	position: relative;
	background-color: #f2f2f2;
}

#footer .container {
    z-index: 5;
}

#footer a {
	color: #878787;
}

/**
 * Paddings and margins
 */

.padding-top-0 {
    padding-top: 0 !important;
}

.padding-top-5 {
    padding-top: 5px !important;
}

.padding-top-10 {
    padding-top: 10px !important;
}

.padding-top-15 {
    padding-top: 15px !important;
}

.padding-top-20 {
    padding-top: 20px !important;
}

.padding-top-30 {
    padding-top: 30px !important;
}

.padding-top-40 {
    padding-top: 40px !important;
}

.padding-top-50 {
    padding-top: 50px !important;
}

.padding-top-60 {
    padding-top: 60px !important;
}

.padding-top-70 {
    padding-top: 70px !important;
}

.padding-top-80 {
    padding-top: 80px !important;
}

.padding-top-90 {
    padding-top: 90px !important;
}

.padding-top-100 {
    padding-top: 100px !important;
}

.padding-top-200 {
    padding-top: 200px !important;
}

.padding-right-0 {
    padding-right: 0 !important;
}

.padding-right-5 {
    padding-right: 5px !important;
}

.padding-right-10 {
    padding-right: 10px !important;
}

.padding-right-15 {
    padding-right: 15px !important;
}

.padding-right-20 {
    padding-right: 20px !important;
}

.padding-right-30 {
    padding-right: 30px !important;
}

.padding-right-40 {
    padding-right: 40px !important;
}

.padding-right-50 {
    padding-right: 50px !important;
}

.padding-right-60 {
    padding-right: 60px !important;
}

.padding-right-70 {
    padding-right: 70px !important;
}

.padding-right-80 {
    padding-right: 80px !important;
}

.padding-right-90 {
    padding-right: 90px !important;
}

.padding-right-100 {
    padding-right: 100px !important;
}

.padding-bottom-0 {
    padding-bottom: 0 !important;
}

.padding-bottom-5 {
    padding-bottom: 5px !important;
}

.padding-bottom-10 {
    padding-bottom: 10px !important;
}

.padding-bottom-15 {
    padding-bottom: 15px !important;
}

.padding-bottom-20 {
    padding-bottom: 20px !important;
}

.padding-bottom-30 {
    padding-bottom: 30px !important;
}

.padding-bottom-40 {
    padding-bottom: 40px !important;
}

.padding-bottom-50 {
    padding-bottom: 50px !important;
}

.padding-bottom-60 {
    padding-bottom: 60px !important;
}

.padding-bottom-70 {
    padding-bottom: 70px !important;
}

.padding-bottom-80 {
    padding-bottom: 80px !important;
}

.padding-bottom-90 {
    padding-bottom: 90px !important;
}

.padding-bottom-100 {
    padding-bottom: 100px !important;
}

.padding-bottom-200 {
    padding-bottom: 200px !important;
}

.padding-left-0 {
    padding-left: 0 !important;
}

.padding-left-5 {
    padding-left: 5px !important;
}

.padding-left-10 {
    padding-left: 10px !important;
}

.padding-left-15 {
    padding-left: 15px !important;
}

.padding-left-20 {
    padding-left: 20px !important;
}

.padding-left-30 {
    padding-left: 30px !important;
}

.padding-left-40 {
    padding-left: 40px !important;
}

.padding-left-50 {
    padding-left: 50px !important;
}

.padding-left-60 {
    padding-left: 60px !important;
}

.padding-left-70 {
    padding-left: 70px !important;
}

.padding-left-80 {
    padding-left: 80px !important;
}

.padding-left-90 {
    padding-left: 90px !important;
}

.padding-left-100 {
    padding-left: 100px !important;
}

.margin-top-0 {
    margin-top: 0 !important;
}

.margin-top-5 {
    margin-top: 5px !important;
}

.margin-top-10 {
    margin-top: 10px !important;
}

.margin-top-15 {
    margin-top: 15px !important;
}

.margin-top-20 {
    margin-top: 20px !important;
}

.margin-top-30 {
    margin-top: 30px !important;
}

.margin-top-40 {
    margin-top: 40px !important;
}

.margin-top-50 {
    margin-top: 50px !important;
}

.margin-top-60 {
    margin-top: 60px !important;
}

.margin-top-70 {
    margin-top: 70px !important;
}

.margin-top-80 {
    margin-top: 80px !important;
}

.margin-top-90 {
    margin-top: 90px !important;
}

.margin-top-100 {
    margin-top: 100px !important;
}

.margin-bottom-0 {
    margin-bottom: 0 !important;
}

.margin-bottom-5 {
    margin-bottom: 5px !important;
}

.margin-bottom-10 {
    margin-bottom: 10px !important;
}

.margin-bottom-15 {
    margin-bottom: 15px !important;
}

.margin-bottom-20 {
    margin-bottom: 20px !important;
}

.margin-bottom-30 {
    margin-bottom: 30px !important;
}

.margin-bottom-40 {
    margin-bottom: 40px !important;
}

.margin-bottom-50 {
    margin-bottom: 50px !important;
}

.margin-bottom-60 {
    margin-bottom: 60px !important;
}

.margin-bottom-70 {
    margin-bottom: 70px !important;
}

.margin-bottom-80 {
    margin-bottom: 80px !important;
}

.margin-bottom-90 {
    margin-bottom: 90px !important;
}

.margin-bottom-100 {
    margin-bottom: 100px !important;
}

@media (min-width: 320px) {
    .margin-xs-top-0 {
        margin-top: 0 !important;
    }
    .margin-xs-top-5 {
        margin-top: 5px !important;
    }
    .margin-xs-top-10 {
        margin-top: 10px !important;
    }
    .margin-xs-top-15 {
        margin-top: 15px !important;
    }
    .margin-xs-top-20 {
        margin-top: 20px !important;
    }
}

@media (min-width: 768px) {
    .margin-sm-top-0 {
        margin-top: 0 !important;
    }
    .margin-sm-top-5 {
        margin-top: 5px !important;
    }
    .margin-sm-top-10 {
        margin-top: 10px !important;
    }
    .margin-sm-top-15 {
        margin-top: 15px !important;
    }
    .margin-sm-top-20 {
        margin-top: 20px !important;
    }
}

@media (min-width: 992px) {
    .margin-md-top-0 {
        margin-top: 0 !important;
    }
    .margin-md-top-5 {
        margin-top: 5px !important;
    }
    .margin-md-top-10 {
        margin-top: 10px !important;
    }
    .margin-md-top-15 {
        margin-top: 15px !important;
    }
    .margin-md-top-20 {
        margin-top: 20px !important;
    }
}

@media (min-width: 1200px) {
    .margin-lg-top-0 {
        margin-top: 0 !important;
    }
    .margin-lg-top-5 {
        margin-top: 5px !important;
    }
    .margin-lg-top-10 {
        margin-top: 10px !important;
    }
    .margin-lg-top-15 {
        margin-top: 15px !important;
    }
    .margin-lg-top-20 {
        margin-top: 20px !important;
    }
}








/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    white-space: nowrap; /* 1 */
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    -webkit-clip-path: none;
    clip-path: none;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
    white-space: inherit;
}

/*
 * Hide visually and from screen readers, 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;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        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 that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre {
        white-space: pre-wrap !important;
    }
    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
