/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.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,
button,
input,
select,
textarea {
    color: #222;
}

html {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #16cdf4;
    color: #FFFFFF;
}

::selection {
    background: #16cdf4;
    color: #FFFFFF;
}

/*
 * A better looking default horizontal rule
 */

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

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

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

/*
 * Remove default fieldset styles.
 */

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

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

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

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

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


body {
    background-color: #ededed;
    font-family: 'Open Sans', sans-serif;
    font-size: 1em;
}

a {
  text-decoration: none;
}

h2 {
  font-size: 1.2em;
  color: #d3b52b;
}

#logo {
  padding-top: 2em;
  padding-bottom: 2em;
}

.content {
  max-width: 940px;
  margin: 0 auto;
  width: 92%;
  padding-left: 4%;
  padding-right: 4%;
  position: relative;
    padding-top: 6em;
  padding-bottom: 6em;
}

.stripe {
}

.bluestripe {
  background-color: #12457b;
  color: #dcdcdb;
}

.box {
  float: left;
}

.box img {
  display: block;
  width: 100%;
  height: auto;
}

.third {
  width: 30%;
  margin-right: 5%;
}

.lastbox {
  margin-right: 0;
}

.whitestripe {
  background: #d9d9d8; /* Old browsers */
/* IE9 SVG, needs conditional override of 'filter' to 'none' */
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2Q5ZDlkOCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmZmZmZmYiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
background: -moz-linear-gradient(top,  #d9d9d8 0%, #ffffff 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#d9d9d8), color-stop(100%,#ffffff)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  #d9d9d8 0%,#ffffff 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  #d9d9d8 0%,#ffffff 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  #d9d9d8 0%,#ffffff 100%); /* IE10+ */
background: linear-gradient(to bottom,  #d9d9d8 0%,#ffffff 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#d9d9d8', endColorstr='#ffffff',GradientType=0 ); /* IE6-8 */

}

#header {
    background: #d9d9d8; /* Old browsers */
/* IE9 SVG, needs conditional override of 'filter' to 'none' */
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIxMDAlIiB5Mj0iMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2Q5ZDlkOCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmZmZmZmYiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
background: -moz-linear-gradient(left,  #d9d9d8 0%, #ffffff 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, right top, color-stop(0%,#d9d9d8), color-stop(100%,#ffffff)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(left,  #d9d9d8 0%,#ffffff 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(left,  #d9d9d8 0%,#ffffff 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(left,  #d9d9d8 0%,#ffffff 100%); /* IE10+ */
background: linear-gradient(to right,  #d9d9d8 0%,#ffffff 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#d9d9d8', endColorstr='#ffffff',GradientType=1 ); /* IE6-8 */
}

#header .content {
  padding-bottom: 0;
  padding-top: 0;
}

.headhelperwrap {
  position: relative;
}

#navigation {
  position: absolute;
  right: 0;
  bottom: -1em;
  z-index: 999;
}

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

#navigation ul li {
    float: left;
}

#navigation ul li a {
  background-color: #d4b628;
    border-left: 1px solid;
    color: #ffffff;
    padding: 0.4em 1em;
}

#navigation ul li a.first {
  border-left: 0 none;
}

#navigation ul li a:hover {
  background-color: #bea424;
}

#main {
}

#main a, footer a {
  color: #dcdcdb;
}

#main a:hover, footer a:hover {
  color: #d4b628;
}



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

.partner {
  margin-right: 2em;
  margin-bottom: 2em;
  display: inline-block;
}

.headline {
  background-color: #d4b628;
    color: #ffffff;
    padding: 0.5em 2em;
    position: absolute;
    top: -1em;
}

.headline h2 {
  margin: 0;
  padding: 0;
  color: #FFFFFF;
}

.clearfix {
  clear: both;
}

.yellow {
 color: #d4b628;
}


@media (max-width: 700px) {

body {
  font-size: 0.8em;
}

  .box {
    width: 100%;
    margin: 0;
    margin-top: 2em;
  }

  #logo img {
  width: 100%;
}

}


