/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */

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


html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;

    margin:0;
    padding:0;
    height:100%;
    min-height:100%;
    position:relative;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

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

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

textarea {
    resize: vertical;
}

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ===== Initializr Styles ==================================================
   Author: Jonathan Verrecchia - verekia.com/initializr/responsive-template
   ========================================================================== */

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    background: url(../img/grunge-tile-beige.png) repeat center top #FFF;

    margin: 0 0 100px; /* bottom = footer height */
}


/* ===================
    ALL
   =================== */

.header-container {
    border-bottom: 10px solid #256f91;
}

.footer-container,
.main aside {
    border-top: 20px solid #256f91;
}

.header-container,
.footer-container,
.main aside {
    background: #f16529;
}

.title {
    color: white;
}

/* ==============
    MOBILE: Main
   ============== */

.main {
    padding: 30px 0;
}

.main article h1 {
    font-size: 2em;
    color: #000;
}

.main aside {
    color: white;
    padding: 0px 5% 10px;
}

.footer-container footer {
    color: white;
    padding: 20px 0;
}

/* ===============
    ALL: IE Fixes
   =============== */

.ie7 .title {
    padding-top: 20px;
}

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

h1 {
  color: #000;
  font-size: 2em;
  font-weight: bold;
}


a {
  font-weight: bold;
  color: #256f91;
  transition: color 0.5s;

  text-decoration: none;
}

a:hover {
  color: #572600;
}

.wrapper {
  margin: 0 auto;
}


/* ==========================================================================
   Media Queries
   ========================================================================== */

/* Screens that are smaller than regular desktops */
@media only screen and (max-width: 768px) {
  .main-container {
    margin: auto 20px;
  }

  .description {
    color: #000;
    opacity: 1;

    font-weight: normal;
  }

   .fos {
    background: url(../img/banner-fos.jpg) no-repeat top right
  }

  .sgv {
    background: url(../img/banner-sgv.jpg) no-repeat top right;
  }

  .beweging {
    margin-top: 10px;
    background-size: auto 120px;
    background-position: 120px 0;
  }

  .logo {
    width: 120px;
    height: 120px;
    float:left;
  }

  .description {
    color: #000;

    padding: 120px 0 0 0;
  }

  .fos .logo {
    background: url(../img/logo-fos.png) no-repeat;
  }

  .sgv .logo {
    background: url(../img/logo-sgv.png) no-repeat;
  }

  .sgv .logo,
  .fos .logo {
    width: 120px;
    height: 120px;
    background-size: contain;
  }

}


/* Screens that are smaller than regular desktops */
@media only screen and (max-width: 480px) {
  .sgv .logo,
  .fos .logo {
    width: 75px;
    height: 75px;
    background-size: contain;
  }

  .beweging {
    background-size: auto 75px;
    background-position: 75px 0;
  }

  .description {
    padding: 71px 0 0 0;
  }

}

@media only screen and (min-width: 768px) {

/* ===============
    Maximal Width
   =============== */

  .wrapper {
      width: 660px;
  }

  .beweging {
    width: 660px;
    height: 175px;

    margin-top: 20px;

    background-color: #256f91;
    color: #FFF;
  }

  .fos {
    background: url(../img/banner-fos.jpg) no-repeat #256f91;
  }

  .sgv {
    background: url(../img/banner-sgv.jpg) no-repeat  #256f91 right;
  }

  .fos:hover {
    background:linear-gradient(
        rgba(37, 111, 145, 0.75),
        rgba(37, 111, 145, 0.75)
      ), url(../img/banner-fos.jpg) no-repeat #256f91;
  }

  .sgv:hover {
    background:linear-gradient(
        rgba(37, 111, 145, 0.75),
        rgba(37, 111, 145, 0.75)
      ), url(../img/banner-sgv.jpg) no-repeat #256f91 right;
  }

  .logo,
  .description {
    display: inline-block;
    vertical-align: top;
  }

  .logo {
    width: 175px;
    height: 175px;
  }

  .description {
    color: #FFF;

    padding-top: 20px;
    max-width: 401px;
    margin-left: 40px;
    margin-right: 40px;

    opacity: 0;
    transition: opacity 0.35s;
  }

  .fos:hover .description,
  .sgv:hover .description {
    opacity: 1;
  }

  .fos .logo {
    background-image: url(../img/logo-fos.png);
    background-repeat: no-repeat;
    float: right;
  }

  .sgv .logo {
    background-image: url(../img/logo-sgv.png);
    background-repeat: no-repeat;
  }


}

/* Settings voor sticky footer */
  html,
  body {

  }

  .main-container {
    padding-bottom:20px;   /* Height of the footer */
  }

  .footer-container {
    position:absolute;
    bottom:0;
    width:100%;
  }
/* ==========================================================================
   Helper classes
   ========================================================================== */

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important;
        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) ")";
    }

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

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

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

    img {
        max-width: 100% !important;
    }

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

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