/* Caption Block Style */
.grid {
  /*padding: 20px 20px 100px 20px;*/
  padding: 0;
  /*max-width: 1300px;*/
  width: 100%;
  margin: 0 auto;
  list-style: none;
  text-align: center;
}

.grid li {
  display: inline-block;
  width: 33%;
  margin: 0;
  padding: 20px;
  text-align: left;
  position: relative;
}

.grid .field__items > .field__item {
  display: inline-block;
  width: 33%;
  margin: 0;
  padding: 20px;
  text-align: left;
  position: relative;
}

.grid .figure {
  margin: 0;
  position: relative;
}

.grid .figure img {
  width: 100%;
  max-height: 300px;
  display: block;
  position: relative;
}

.grid .figcaption {
  position: absolute;
  top: 0;
  left: 0;
  padding: 20px;
  background: #373737;
  color: #ffffff;
}

.grid .figcaption h3 {
  margin: 0;
  padding: 0;
  color: #fff;
}

.grid .figcaption span:before {
  /*content: 'by ';*/
}

.figure-link {
  position: absolute;
  right: 0;
  bottom: 0;
}

.grid .figcaption a {
  text-align: center;
  padding: 7px 10px;
  /*border-radius: 2px;*/
  display: inline-block;
  background: #f98a43;
  color: #fff;
}

@media screen and (max-width: 31.5em) {
  .grid {
    padding: 10px 10px 100px 10px;
  }
  .grid li {
    width: 100%;
    min-width: 300px;
  }
}

.cs-style-1 .figcaption {
  min-height: 100%;
  width: 100%;
  opacity: 0;
  /*text-align: center;*/
  text-align: left;
  backface-visibility: hidden;
  transition: transform 0.3s, opacity 0.3s;
}

/*.no-touch .cs-style-1 .figure:hover .figcaption,
.cs-style-1 .figure.cs-hover .figcaption {
  opacity: 1;
  transform: translate(15px, 15px);
}*/

.cs-style-1 .figure:hover .figcaption {
  opacity: 1;
  transform: translate(15px, 15px);
}

.cs-style-1 .figcaption h3 {
  /*margin-top: 70px;*/
}

.cs-style-1 .figcaption span {
  display: block;
}

.cs-style-1 .figcaption a {
  /*margin-top: 30px;*/
}

.caption-heading-container {
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.caption-heading {
    float: left;
    /*background-color: orange;*/
    padding-bottom: 500em;
    margin-bottom: -500em;
}

.caption-underline {
    margin-bottom: 10px;
    margin-top: 20px;
    text-decoration: underline;
    border-bottom: 1px solid #f98a43;
    width: 100%;
    height: 26.4px;
    white-space: pre;
}

.caption-underline-container {
    overflow: hidden;
    height: 20px;
    /*background-color: red;*/
    margin-right: -1px;
    /*border-left: 1px solid black;*/
    padding-bottom: 500em;
    margin-bottom: -500em;
}

/*Typography*/

html, html body {
  font-size: 16px;
  line-height: 1.625;
  color: #202020;
  font-family: 'Open Sans', Helvetica, Arial, Tahoma, sans-serif;
  font-weight: 400;
  height: 100%;
}

html p {
  font-size: 1em;
  font-weight: 400;
}

html h1 {
  font-size: 3.75em;
  letter-spacing: -0.04em;
  color: #ffffff;
  font-weight: 800;
}

html h2 {
  font-size: 1.625em;
  letter-spacing: -0.04em;
  font-weight: 800;
}

html h3 {
  font-size: 1.188em;
  font-weight: 300;
}

html .slide__caption h3 {
  font-weight: 400;
  margin-top: 0;
}

html h4 {
  font-size: 1.188em;
  font-weight: 300;
}

.intro-para {
  font-size: 1.188em;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.layout-container hr {
  border: 0;
  height: 1px;
  background: #dedede;
  margin: 25px 0;
}
.btn {
display: inline-block;
padding: 15px 22px;
margin: 0 5px;
font-size: 0.75em;
color: #ffffff;
text-transform: uppercase;
font-weight: 700;
border-radius: 3px;
transition: background-color 0.2s ease;
}

.btn:hover, .btn:focus, .btn.focus {
  color: #ffffff;
}

.btn:hover a, .btn:focus a, .btn.focus a, .btn a, a.btn:hover, a.btn:focus, a.btn.focus, a.btn {
  color: #ffffff;
  text-decoration: none;
}

.btn-blue {
  background-color: #79c1e2;
}

.btn-blue:hover, .btn-blue:focus {
  background-color: #99d5f0;
  text-decoration: none;
}

.btn-blue:active {
  background-color: #6fb4d3;
  text-decoration: none;
}

.btn-black {
  background-color: #202020;
}

.btn-black:hover, .btn-black:focus {
  background-color: #434343;
  text-decoration: none;
}
.btn-black:active {
  background-color: #000000;
  text-decoration: none;
}

 /*h3 is the one with the orange line> For how this is achieved look at css used here - http://dante.swiftideas.com/shortcodes/dropcaps-ampersand-highlighter/
Problem is it doesn't wrap... Might be a problem for longer product titles. See how you go.*/
