html { font-size: 62.5%; }

body {
  font-size: 1.6em;
  line-height: 1.6;
  font-weight: 300;
  font-family: 'Open Sans', sans-serif;
  color: #333;
  margin: 0;
}

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

/*-------------------------------*/
/*- Framework -------------------*/
/*-------------------------------*/

.container {
  max-width: 1070px;
  width: 100%;
  margin: auto;
  padding: 0 20px;
}

.grid {
  display: -webkit-flex;
  display: flex;
  flex-flow: row;
  flex-wrap: wrap;
  position: relative;
}

.container .grid {
  margin-left: -10px;
  margin-right: -10px;
}

[class*='column'] {
  margin-left: 10px;
  margin-right: 10px;
  margin-bottom: 20px;
  position: relative;
  max-width: calc(100% - 20px);
}

.column-flush{
	margin: 0;
  position: relative;
	max-width: 100%;
}

/*-------------------------------*/
/*- Grid System -----------------*/
/*-------------------------------*/

.span-1 { width: calc(((100% / 12) * 12) - 20px); }
.span-2 { width: calc(((100% / 12) * 12) - 20px); }
.span-3 { width: calc(((100% / 12) * 12) - 20px); }
.span-4 { width: calc(((100% / 12) * 12) - 20px); }
.span-5 { width: calc(((100% / 12) * 12) - 20px); }
.span-6 { width: calc(((100% / 12) * 12) - 20px); }
.span-7 { width: calc(((100% / 12) * 12) - 20px); }
.span-8 { width: calc(((100% / 12) * 12) - 20px); }
.span-9 { width: calc(((100% / 12) * 12) - 20px); }
.span-10 { width: calc(((100% / 12) * 12) - 20px); }
.span-11 { width: calc(((100% / 12) * 12) - 20px); }
.span-12 { width: calc(((100% / 12) * 12) - 20px); }

.column-flush.span-1 { width: calc((100% / 12) * 12); }
.column-flush.span-2 { width: calc((100% / 12) * 12); }
.column-flush.span-3 { width: calc((100% / 12) * 12); }
.column-flush.span-4 { width: calc((100% / 12) * 12); }
.column-flush.span-5 { width: calc((100% / 12) * 12); }
.column-flush.span-6 { width: calc((100% / 12) * 12); }
.column-flush.span-7 { width: calc((100% / 12) * 12); }
.column-flush.span-8 { width: calc((100% / 12) * 12); }
.column-flush.span-9 { width: calc((100% / 12) * 12); }
.column-flush.span-10 { width: calc((100% / 12) * 12); }
.column-flush.span-11 { width: calc((100% / 12) * 12); }
.column-flush.span-12 { width: calc((100% / 12) * 12); }

/* Larger than mobile */
@media (min-width: 750px) {
  .span-1 { width: calc((100% / 12) - 20px); }
  .span-2 { width: calc(((100% / 12) * 2) - 20px); }
  .span-3 { width: calc(((100% / 12) * 3) - 20px); }
  .span-4 { width: calc(((100% / 12) * 4) - 20px); }
  .span-5 { width: calc(((100% / 12) * 5) - 20px); }
  .span-6 { width: calc(((100% / 12) * 6) - 20px); }
  .span-7 { width: calc(((100% / 12) * 7) - 20px); }
  .span-8 { width: calc(((100% / 12) * 8) - 20px); }
  .span-9 { width: calc(((100% / 12) * 9) - 20px); }
  .span-10 { width: calc(((100% / 12) * 10) - 20px); }
  .span-11 { width: calc(((100% / 12) * 11) - 20px); }
  .span-12 { width: calc(((100% / 12) * 12) - 20px); }

  .column-flush.span-1 { width: calc(100% / 12); }
  .column-flush.span-2 { width: calc((100% / 12) * 2); }
  .column-flush.span-3 { width: calc((100% / 12) * 3); }
  .column-flush.span-4 { width: calc((100% / 12) * 4); }
  .column-flush.span-5 { width: calc((100% / 12) * 5); }
  .column-flush.span-6 { width: calc((100% / 12) * 6); }
  .column-flush.span-7 { width: calc((100% / 12) * 7); }
  .column-flush.span-8 { width: calc((100% / 12) * 8); }
  .column-flush.span-9 { width: calc((100% / 12) * 9); }
  .column-flush.span-10 { width: calc((100% / 12) * 10); }
  .column-flush.span-11 { width: calc((100% / 12) * 11); }
  .column-flush.span-12 { width: calc((100% / 12) * 12); }
}

/*-------------------------------*/
/*- Typography ------------------*/
/*-------------------------------*/

h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  margin-bottom: 2rem;
  font-weight: 300;
}

h1 { font-size: 4.0rem; line-height: 1.2;  letter-spacing: -.1rem;}
h2 { font-size: 3.6rem; line-height: 1.25; letter-spacing: -.1rem; }
h3 { font-size: 3.0rem; line-height: 1.3;  letter-spacing: -.1rem; }
h4 { font-size: 2.4rem; line-height: 1.35; letter-spacing: -.08rem; }
h5 { font-size: 1.8rem; line-height: 1.5;  letter-spacing: -.05rem; }
h6 { font-size: 1.5rem; line-height: 1.6;  letter-spacing: 0; }

/* Larger than phablet */
@media (min-width: 750px) {
  h1 { font-size: 4.6rem; }
  h2 { font-size: 3.6rem; }
  h3 { font-size: 2.8rem; }
  h4 { font-size: 2.2rem; }
  h5 { font-size: 1.8rem; }
  h6 { font-size: 1.6rem; }
}

p {
  margin-top: 0; }

/*-------------------------------*/
/*- Buttons ---------------------*/
/*-------------------------------*/

.button,
button,
input[type="submit"],
input[type="reset"],
input[type="button"] {
  display: inline-block;
  height: 38px;
  padding: 0 30px;
  color: #555;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  line-height: 38px;
  letter-spacing: .1rem;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  background-color: transparent;
  border-radius: 4px;
  border: 1px solid #bbb;
  cursor: pointer;
  box-sizing: border-box;
  -webkit-appearance: none;
}

.button:hover,
button:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover,
.button:focus, button:focus,
input[type="submit"]:focus,
input[type="reset"]:focus,
input[type="button"]:focus {
  color: #333;
  border-color: #888;
  outline: 0;
}

.button.button-primary,
button.button-primary,
input[type="submit"].button-primary,
input[type="reset"].button-primary,
input[type="button"].button-primary {
  color: #FFF;
  background-color: #09c372;
  border-color: #09c372;
}

.button.button-primary:hover,
button.button-primary:hover,
input[type="submit"].button-primary:hover,
input[type="reset"].button-primary:hover,
input[type="button"].button-primary:hover,
.button.button-primary:focus,
button.button-primary:focus,
input[type="submit"].button-primary:focus,
input[type="reset"].button-primary:focus,
input[type="button"].button-primary:focus {
  color: #FFF;
  background-color: #08a861;
  border-color: #08a861;
}

/*-------------------------------*/
/*- Lists -----------------------*/
/*-------------------------------*/

dl,
ol,
ul {
  list-style: none;
  margin-top: 0;
  padding-left: 0;
}

dl dl,
dl ol,
dl ul,
ol dl,
ol ol,
ol ul,
ul dl,
ul ol,
ul ul {
  font-size: 90%;
  margin: 1.5rem 0 1.5rem 3.0rem;
}

ol {
  list-style: decimal inside;
}

ul {
  list-style: circle inside;
}

/*-------------------------------*/
/*- Forms -----------------------*/
/*-------------------------------*/

input[type='email'],
input[type='number'],
input[type='password'],
input[type='search'],
input[type='tel'],
input[type='text'],
input[type='url'],
input[type='color'],
input[type='date'],
input[type='month'],
input[type='week'],
input[type='datetime'],
input[type='datetime-local'],
input:not([type]),
textarea,
select {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background-color: transparent;
  border: 0.1rem solid #d1d1d1;
  border-radius: .4rem;
  box-shadow: none;
  box-sizing: inherit;
  height: 3.8rem;
  padding: .6rem 1.0rem;
  width: 100%;
}

input[type='email']:focus,
input[type='number']:focus,
input[type='password']:focus,
input[type='search']:focus,
input[type='tel']:focus,
input[type='text']:focus,
input[type='url']:focus,
input[type='color']:focus,
input[type='date']:focus,
input[type='month']:focus,
input[type='week']:focus,
input[type='datetime']:focus,
input[type='datetime-local']:focus,
input:not([type]):focus,
textarea:focus,
select:focus {
  border-color: #09c372;
  outline: 0;
}

select {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" height="14" viewBox="0 0 29 14" width="29"><path fill="%23d1d1d1" d="M9.37727 3.625l5.08154 6.93523L19.54036 3.625"/></svg>') center right no-repeat;
  padding-right: 3.0rem;
}

select:focus {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" height="14" viewBox="0 0 29 14" width="29"><path fill="%239b4dca" d="M9.37727 3.625l5.08154 6.93523L19.54036 3.625"/></svg>');
}

textarea {
  min-height: 10rem;
}

label,
legend {
  display: block;
  font-size: 1.6rem;
  font-weight: 400;
  margin-bottom: .5rem;
}

fieldset {
  border-width: 0;
  padding: 0;
}

input[type='checkbox'],
input[type='radio'] {
  display: inline;
}

.label-inline {
  display: inline-block;
  font-weight: normal;
  margin-left: .5rem;
}

fieldset,
input,
select,
textarea {
  margin-bottom: 1.5rem;
}

/*-------------------------------*/
/*- Table -----------------------*/
/*-------------------------------*/

table {
  border-spacing: 0;
  width: 100%;
  font-weight: 300;
}

td,
th {
  border-bottom: 0.1rem solid #e1e1e1;
  padding: 1.2rem 1.5rem;
  text-align: left;
}

td:first-child,
th:first-child {
  padding-left: 0;
}

td:last-child,
th:last-child {
  padding-right: 0;
}

th {
  font-weight: 400;
}

/*-------------------------------*/
/*- Media Blocks ----------------*/
/*-------------------------------*/

.media {
  overflow: hidden;
  display: block;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
}

.media-image {
  text-align: center;
  margin-right: auto;
  margin-left: auto;
}

.media-image img {
  display: block;
  margin: auto;
}

.has-image .media-body {
  margin-top: 15px;
}

.media .media-body {
  display: block;
  overflow: hidden;
}

/* Larger than phablet */
@media (min-width: 550px) {
  .image-left .media-image {
    float: left;
    max-width: 49%;
    margin-right: 20px;
  }
  
  .image-right .media-image {
    float: right;
    max-width: 49%;
    margin-left: 20px;
  }  

  .has-image .media-body {
    margin-top: 0;
  }
}

/*-------------------------------*/
/*- Icon Blocks -----------------*/
/*-------------------------------*/

.icon-block {
  display: table;
}

.icon-image {
  display: table-cell;
  vertical-align: top;
  font-size: 2rem;
  padding-right: 20px;
}

.icon-body {
  display: table-cell;
  vertical-align: top;
}

/*-------------------------------*/
/*- Utilities -------------------*/
/*-------------------------------*/

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

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

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

/* Make element full width */
.full-width {
  width: 100%;
  box-sizing: border-box; 
}

/* Make sure elements don't run outside containers (great for images in columns) */
.max-full-width {
  max-width: 100%;
  box-sizing: border-box; 
}

/* Float either direction */
.pull-right {
  float: right; 
}

.pull-left {
  float: left; 
}

/* Clear a float */
.clear {
  content: "";
  display: table;
  clear: both; 
}

/*-------------------------------*/
/*- Code ------------------------*/
/*-------------------------------*/

code {
    background: #f4f5f6;
    border-radius: .4rem;
    font-size: 86%;
    margin: 0 .2rem;
    padding: .2rem .5rem;
    white-space: nowrap;
}

/*-------------------------------*/
/*- Mobile First Media Queries --*/
/*-------------------------------*/

/* Larger than mobile */
@media (min-width: 400px) {}

/* Larger than phablet */
@media (min-width: 550px) {}

/* Larger than tablet */
@media (min-width: 750px) {}

/* Larger than desktop */
@media (min-width: 1000px) {}

/* Larger than Desktop HD */
@media (min-width: 1200px) {}