/*
* Skeleton V2.0.4
* Copyright 2014, Dave Gamache
* www.getskeleton.com
* Free to use under the MIT license.
* http://www.opensource.org/licenses/mit-license.php
* 12/29/2014
*/


/* Table of contents
––––––––––––––––––––––––––––––––––––––––––––––––––
- Grid
- Base Styles
- Typography
- Links
- Buttons
- Forms
- Lists
- Code
- Tables
- Spacing
- Utilities
- Clearing
- Media Queries
*/


/* Grid
–––––––––––––––––––––––––––––––––––––––––––––––––– */


.container {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
  }
.column,
.columns {
  width: 100%;
  float: left;
  box-sizing: border-box; }

.img-container, .key-container {
width: 100%;
position: relative;
max-width: 960px;
margin: 0 auto;
padding: 0;
box-sizing: border-box;
}

.text-container {
  position: relative;
  width: 100%;
  max-width: 670px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
  }

/* For devices larger than 400px */
@media (min-width: 400px) {
  .container, .text-container  {
    width: 90%;
    padding: 0; }

}

/* For devices larger than 550px */
@media (min-width: 550px) {
  .container, .text-container  {
    width: 90%; }
  .column,
  .columns {
    margin-left: 4%; }
  .column:first-child,
  .columns:first-child {
    margin-left: 0; }

  .one.column,
  .one.columns                    { width: 4.66666666667%; }
  .two.columns                    { width: 13.3333333333%; }
  .three.columns                  { width: 22%;            }
  .four.columns                   { width: 30.6666666667%; }
  .five.columns                   { width: 39.3333333333%; }
  .six.columns                    { width: 48%;            }
  .seven.columns                  { width: 56.6666666667%; }
  .eight.columns                  { width: 65.3333333333%; }
  .nine.columns                   { width: 74.0%;          }
  .ten.columns                    { width: 82.6666666667%; }
  .eleven.columns                 { width: 91.3333333333%; }
  .twelve.columns                 { width: 100%; margin-left: 0; }



  .one-half.column                { width: 48%; }

  /* Offsets */
  .offset-by-one.column,
  .offset-by-one.columns          { margin-left: 8.66666666667%; }
  .offset-by-two.column,
  .offset-by-two.columns          { margin-left: 17.3333333333%; }
  .offset-by-three.column,
  .offset-by-three.columns        { margin-left: 26%;            }
  .offset-by-four.column,
  .offset-by-four.columns         { margin-left: 34.6666666667%; }
  .offset-by-five.column,
  .offset-by-five.columns         { margin-left: 43.3333333333%; }
  .offset-by-six.column,
  .offset-by-six.columns          { margin-left: 52%;            }
  .offset-by-seven.column,
  .offset-by-seven.columns        { margin-left: 60.6666666667%; }
  .offset-by-eight.column,
  .offset-by-eight.columns        { margin-left: 69.3333333333%; }
  .offset-by-nine.column,
  .offset-by-nine.columns         { margin-left: 78.0%;          }
  .offset-by-ten.column,
  .offset-by-ten.columns          { margin-left: 86.6666666667%; }
  .offset-by-eleven.column,
  .offset-by-eleven.columns       { margin-left: 95.3333333333%; }

  .offset-by-one-third.column,
  .offset-by-one-third.columns    { margin-left: 34.6666666667%; }
  .offset-by-two-thirds.column,
  .offset-by-two-thirds.columns   { margin-left: 69.3333333333%; }

  .offset-by-one-half.column,
  .offset-by-one-half.columns     { margin-left: 52%; }

}

@media (min-width: 750px) {
.one-third.column               { width: 30.6666666667%; }
.two-thirds.column              { width: 65.3333333333%; }
}
/* Base Styles
–––––––––––––––––––––––––––––––––––––––––––––––––– */
/* NOTE
html is set to 62.5% so that all the REM measurements throughout Skeleton
are based on 10px sizing. So basically 1.5rem = 15px :) */
html {
  font-size: 62.5%; }
body {
  font-size: 1.9em; /* currently ems cause chrome bug misinterpreting rems on body element */
  line-height: 1.5;
font-family: 'Inconsolata', monospace;
font-weight: 300;
background-color: white;

}

.full {
  width: 100%;
    background: #39363A;
  color: #fff;
}


.work-full {
    padding: 4rem 0 2rem 0;
    background: #e7ecef;
    color:#39363A;
}


.content-panel {
color:#39363A;
margin-top: 6rem;
}

.case-study-section, .case-study-section-last {
color:#39363A;
margin-top: 4rem;
}

.case-study-section-last {
margin-bottom: 60px;
}




.intro {
  margin-top: 30%;
}

.logo, .logo-case-tablet{
  max-width: 165px;
  max-height: 165px;
  display: block;
  margin-bottom: -8px;
  display: none;
}

.logo-copy{
display: block;
max-width: 165px;
text-align: center;
font-family: 'Open Sans', sans-serif;
font-weight:300;
font-size: 13px;
letter-spacing: .25rem;
display: none;
}

.logo-small {
  max-width: 93px;
  max-height: 93px;
  display: block;
  margin-bottom: -10px;
}



.logo-copy-small {
  font-weight: lighter;
  font-family: 'Open Sans', sans-serif;
  letter-spacing: .10rem;
font-size: 9px;
}

.logo-copy-tablet {
  display: none;
  font-weight: lighter;
  font-family: 'Open Sans', sans-serif;
  letter-spacing: .10rem;
font-size: 9px;
}


.logo-case-mobile{
  max-width: 64px;
  max-height: 64px;
  display: block;
  margin-bottom: -10px;
}





.white {
  background-color: white;
}

.contact {
border-top: 1px solid rgba(122, 178, 171, .2);
display: block;
max-width: 100%;
text-align: center;
font-weight:300;
font-size: 2rem;
margin-bottom: 2rem;
padding-top: 4rem;
}

.hi {
  display: inline-block;
font-weight: 600;
margin-bottom: 2rem;
}

.social{
  display: block;
text-transform: uppercase;
margin-bottom: 2rem;
line-height: 6rem;
}

.up-next{
  background-color: #373F51;
  width: 100%;
  display: inline-block;
  margin-bottom: 60px;
  z-index:1000;
  width: 100%;
  height: auto;
  color: white;
  padding: 30px 0px;
}

/* Typography
–––––––––––––––––––––––––––––––––––––––––––––––––– */
h1, h2, h3, h4, h5, h6 {
  margin-top: 0;

}
h1, .case-header { font-size: 7rem; line-height: 1;
  margin-bottom: 4.5rem;

  /*font-family: 'Halant', serif;
  font-family: 'Nunito Sans', sans-serif;
  font-family: 'Domine', serif;*/

  /*font-family: 'Lora', serif;
  font-family: 'IBM Plex Serif', serif;
  font-family: 'IBM Plex Sans', sans-serif;
font-family: 'Rubik', sans-serif;
	font-family: 'Inconsolata', monospace;	*/
font-family: 'Karla', sans-serif;

  font-weight: 600;

}

h1.case-header { font-size: 5rem; line-height: 1;
  margin-bottom: 4.5rem;
font-family: 'Karla', sans-serif;
  font-weight: 600;

}

h2 { font-size: 3.4rem; line-height: 1.25;
font-family: 'Karla', sans-serif;
  margin-bottom: 1rem;

}
h3 { font-size: 2.4rem; line-height: 1.25;  font-family: 'Karla', sans-serif; margin-bottom: .5rem;}

h4 { font-size: 1.9rem; line-height: 1;  font-family: 'Karla', sans-serif; margin-bottom: .5rem;}

h5 { font-size: 1.8rem; line-height: 1.5;  letter-spacing: -.05rem;   font-weight: 300;
  /*font-family: 'Halant', serif;
  font-family: 'Nunito Sans', sans-serif;
  font-family: 'Open Sans', sans-serif;
  font-family: 'Lora', serif;
  font-family: 'IBM Plex Serif', serif;
  /*font-family: 'IBM Plex Sans', sans-serif;*/



}
h6 { font-size: 1.5rem; line-height: 1.6;  letter-spacing: 0; }

/* Larger than phablet */
@media (min-width: 550px) {
  h2 { font-size: 3.2rem; }
  h3 { font-size: 3rem; }
  h4 { font-size: 2.4rem; }
  h5 { font-size: 2.4rem; }
  h6 { font-size: 1.5rem; }
}

p {
  margin-top: 0;
}



.home-para{
  margin-top: -1.2em;
  font-size: 3.2rem;
  font-family: 'Karla', sans-serif;
  line-height: 1.25;
margin-bottom: 12rem;
}

.case-intro {
  font-size: 1.2em;
  font-family: 'Karla', sans-serif;
  color: #555;
  margin-bottom: 4.5rem;
}

.subtext-one {
  font-family: 'Karla', sans-serif;
  text-transform: uppercase;
  margin-bottom: .5rem;
  margin-inline-start: 4px;
  letter-spacing: .2rem;
  color: rgba(122, 178, 171);
  font-size: 1.6rem;
  font-weight: 600;
}

.subtext-two {
  font-family: 'Karla', sans-serif;
  text-transform: uppercase;
  margin-bottom: .5rem;
  margin-inline-start: 0px;
  letter-spacing: .2rem;
  color: rgba(122, 178, 171);
  font-size: 1.6rem;
  font-weight: 600;
}

.up-next-text{
  text-transform: uppercase;
  margin-bottom: 2rem;
  margin-inline-start: 2px;

  letter-spacing: .2rem;
  color: #A9BCD0;
  font-size: 1.6rem;
  font-weight: 600;
}

.up-next-category {
  color: #A9BCD0;

}

.hmw{
  margin-top: 4rem;
  margin-bottom: 4rem;
  font-weight: 300;
  font-size: 2.8rem;
  font-family: 'Karla', sans-serif;
  line-height: 1.25;
  background-color: #2599AC;
  color: white;
  padding: 3rem 3rem 1rem 3rem;
}

.jtbd{
  margin-top: 4rem;
  margin-bottom: 4rem;
  font-weight: 300;
  font-size: 2.8rem;
  font-family: 'Karla', sans-serif;
  line-height: 1.25;
  background-color: #252125;
  color: white;
  padding: 3rem 3rem 1rem 3rem;
}



.jtbd strong::after {
    content: '';
    display: inline-block;
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    height: 36%;
    z-index: -1;
    background-color: #2599AC;

}

.jtbd strong {
  font-weight: 600;

    display: inline-block;
    position: relative;
    z-index: 1;
  }

.caption {
  text-transform: uppercase;
  font-weight: 600;
  font-size: 1.6rem;
  font-family: 'Karla', sans-serif;
  line-height: 1;
  text-align: left;
  letter-spacing: .2rem;

}

/*
.counter-container {
  display: flex;
}*/


.key-info {
  font-size: 1.6rem;
  margin-bottom: 3rem;
}


.counter {
  font-family: 'Karla', sans-serif;
  font-size: 9rem;
  font-weight: 600;
  margin-bottom: -0.3em;
  letter-spacing: -0.3rem;
  color: #2599AC;
}

.counter-description{
  font-family: 'Karla', sans-serif;
  padding: 1rem;
  font-size: 1.9rem;
  line-height: 1.25;
  margin-bottom: 4rem;
  background-color: #e7ecef;
  display: inline-block;
}

.footer {
text-align: center;
font-size: 1.2rem;
}


.message {
  /*background-color: #272D35;*/
  border-left: 22px solid #2599AC;
  padding: 4px 8px 4px 12px;
  display: block;
  margin-bottom: 1.6em;
  width: auto;
}

.pdf {
  font-size: 1.3rem;
}

blockquote {
  font-weight: 600;
  font-size: 2.6rem;
  font-family: 'Karla', sans-serif;
  line-height: 1.25;
  color: #252125;
  display: inline-block;
  margin: 4.5rem 2rem 0 2rem;
}

blockquote footer {
  text-transform: uppercase;
  font-family: 'Inconsolata', monospace;
  width: 100%;
  position: relative;
  font-weight: 300;
  font-size: 1.9rem;
  margin-top: 6rem;
  margin-bottom: 4.5rem;
  color: #39363A;

}

blockquote footer:before {
  margin-top: -3rem;
  content : "";
  position: absolute;
  width: 20%;  /* or 100px */
  border-top:4px solid #2599AC;
}



.insights {
    margin-top: 6.5rem;
    background-color: #e7ecef;
    display: flex;
    flex-wrap: wrap;
    padding: 2rem;
    align-items : left;
    justify-content: left;
}



.insights-number {
  width: 3rem;
  display: table-cell;
   font: bold 5rem/1 Sans-Serif;
   padding: 2rem 1rem 2rem 1rem;
   border-bottom: 6px solid #2599AC;

 }
 .insights-text {
   margin-top: 2rem;
   margin-bottom: 2rem;
  flex: 1 100%;
   margin-left: auto;

 }

 .insights-heading {
   margin: 1rem 1rem -1rem 1rem;
  flex: 1 100%;


 }






/* Links
–––––––––––––––––––––––––––––––––––––––––––––––––– */
a {
  background-color: rgba(122, 178, 171, .2);
  color: #39363A;
  padding: 8px;
  font-weight: 500;
}
a:hover {
  background-color: rgba(122, 178, 171);
  color: #fff;
  padding: 8px;
  font-weight: 500;

}

.logo-link, .logo-link:hover {
text-decoration: none;
padding: 0;
background-color: transparent;
}

.up-next a {
  color: white;
  padding: 0;
  margin: 0;
  text-decoration: none;
  background-color: transparent;
  width: 100%;
  height: auto;
  display: inline-block;
}


.back {
  display: block;
  position: absolute;
  right: 20px;
  top: 38%;
}

.back a {
  display: block;
  background-color: rgba(122, 178, 171, .2);
  color: #39363A;
  font-weight: 500;
  padding: 8px;
  text-decoration: none;

}
.back a:hover {  background-color: rgba(122, 178, 171);
  color: #fff;
  font-weight: 500;
  padding: 8px;
}

.back a .underline
{
text-decoration: underline;
}

/* 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; }
.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: #33C3F0;
  border-color: #33C3F0; }
.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: #1EAEDB;
  border-color: #1EAEDB; }


/* Forms
–––––––––––––––––––––––––––––––––––––––––––––––––– */
input[type="email"],
input[type="number"],
input[type="search"],
input[type="text"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea,
select {
  height: 38px;
  padding: 6px 10px; /* The 6px vertically centers text on FF, ignored by Webkit */
  background-color: #fff;
  border: 1px solid #D1D1D1;
  border-radius: 4px;
  box-shadow: none;
  box-sizing: border-box; }
/* Removes awkward default styles on some inputs for iOS */
input[type="email"],
input[type="number"],
input[type="search"],
input[type="text"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none; }
textarea {
  min-height: 65px;
  padding-top: 6px;
  padding-bottom: 6px; }
input[type="email"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
input[type="text"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
  border: 1px solid #33C3F0;
  outline: 0; }
label,
legend {
  display: block;
  margin-bottom: .5rem;
  font-weight: 600; }
fieldset {
  padding: 0;
  border-width: 0; }
input[type="checkbox"],
input[type="radio"] {
  display: inline; }
label > .label-body {
  display: inline-block;
  margin-left: .5rem;
  font-weight: normal; }


/* Lists
––––––––––––––––––––––––––––––––––––––––––––––––––
ul {
  list-style: circle inside; }
ol {
  list-style: decimal inside; }
ol, ul {
  padding-left: 0;
  margin-top: 0; }
ul ul,
ul ol,
ol ol,
ol ul {
  margin: 1.5rem 0 1.5rem 3rem;
  font-size: 90%; }
li {
  margin-bottom: 1rem; }

*/

.key-info ul {
  list-style-type: circle;
  list-style-position: outside;
  margin-left: -20px;
  margin-top: 0;

}

.key-info li {
  margin-bottom: 16px;
  padding: 0;
}

.key-info li:last-child {
  margin-bottom: 4.5rem;
}



.top-nav {
  display: none;
  position: absolute;
  right: 0;
  bottom: 10%;
}

  .top-nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
  }

.top-nav li {
    float: left;
    padding: 0 3vw;
    font-size: 2rem;
  }

  .top-nav li a {
    display: block;
    color: white;
    text-align: center;
    text-decoration: none;
    background-color: inherit;
    border-bottom: 2px solid rgba(122, 178, 171, 0.2);
    padding: 8px 8px 5px;
  }

.top-nav li a:hover {
  background-color: rgba(122, 178, 171);
  color: #fff;
  font-weight: 500;
  padding: 8px 8px 5px;
  display: block;
  border-bottom: 2px solid rgba(122, 178, 171, 0.2);


}

/*.top-nav li a:hover:not(.active){
  padding: 8px 8px 2px;
}

  .active {
    border-bottom: 6px solid rgba(122, 178, 171);
;
  }*/

  .bottom-nav {
    overflow: hidden;
    display: flex;
align-items: center;
justify-content: center;
    background-color: #252125;
    position:fixed;
  	bottom:0;
  	left:0;
  	right:0;
  	z-index:1000;
    width: 100%;
  }


  .bottom-nav ul  {
      list-style-type: none;
      margin: 0;
      padding: 0;
      overflow: hidden;
    }

    .bottom-nav li  {
      float: left;
      padding: 8px 6vw 16px 6vw;
      font-size: 2rem;
    }

    .bottom-nav li a {
      display: block;
      color: white;
      text-align: center;
      text-decoration: none;
      background-color: inherit;
      border-bottom: 2px solid rgba(122, 178, 171, 0.2);
      padding: 6px 2px 6px 2px;
    }


    .bottom-nav li  a:hover {
        color: #fff;
        font-weight: 500;
        border-bottom: 2px solid rgba(122, 178, 171, 0.2);
        padding: 6px 2px 6px 2px;
      }



  /*
  .bottom-nav li  a:hover {
    background-color: rgba(122, 178, 171);
    color: #fff;
    font-weight: 500;
    border-bottom: 2px solid rgba(122, 178, 171, 0.2);

    padding: 8px 8px 2px;

  }

  .bottom-nav li  a:hover:not(.active) {
    padding: 8px 8px 8px;
  }

    .bottom-nav li .active {
      border-bottom: 2px solid rgba(122, 178, 171);
    */


    }


/* Code
–––––––––––––––––––––––––––––––––––––––––––––––––– */
code {
  padding: .2rem .5rem;
  margin: 0 .2rem;
  font-size: 90%;
  white-space: nowrap;
  background: #F1F1F1;
  border: 1px solid #E1E1E1;
  border-radius: 4px; }
pre > code {
  display: block;
  padding: 1rem 1.5rem;
  white-space: pre; }


/* Tables
–––––––––––––––––––––––––––––––––––––––––––––––––– */
th,
td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid #E1E1E1; }
th:first-child,
td:first-child {
  padding-left: 0; }
th:last-child,
td:last-child {
  padding-right: 0; }


/* Spacing
–––––––––––––––––––––––––––––––––––––––––––––––––– */
button,
.button {
  margin-bottom: 1rem; }
input,
textarea,
select,
fieldset {
  margin-bottom: 1.5rem; }
pre,
blockquote,
dl,
figure,
table,
p,
ul,
ol,
form {
  margin-bottom: 2.5rem; }


/* Utilities
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.u-full-width {
  width: 100%;
  box-sizing: border-box; }
.u-max-full-width {
  max-width: 100%;
  box-sizing: border-box; }
.u-pull-right {
  float: right; }
.u-pull-left {
  float: left; }


/* Misc
–––––––––––––––––––––––––––––––––––––––––––––––––– */
hr {
  margin-top: 3rem;
  margin-bottom: 3.5rem;
  border-width: 0;
  border-top: 1px solid #E1E1E1; }


/* Clearing
–––––––––––––––––––––––––––––––––––––––––––––––––– */

/* Self Clearing Goodness */
.container:after,
.row:after,
.u-cf {
  content: "";
  display: table;
  clear: both; }


  /* Images
  –––––––––––––––––––––––––––––––––––––––––––––––––– */
img.not-full {
    display: block;
    margin-left: auto;
    margin-right: auto;
    height: auto;
    max-width: 100%;
}

img.not-full-small {
    display: block;
    margin-left: auto;
    margin-right: auto;
    height: auto;
    max-width: 100%;
    margin-top: 6rem;
}

.unavailable {
  -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
  filter: grayscale(100%);

}


.cover-meds {
    width: 100vw;
    max-height: none;
    min-height: 0;
    /*max-width: 960px;*/
    height: 350px;
    background-size: cover;
    background-image: url("http://www.peejhill.com/images/meds-cover.png");
    display: flex;

}

.cover-ra {
    width: 100vw;
    max-height: none;
    min-height: 0;
    /*max-width: 960px;*/
    height: 350px;
    background-size: cover;
    background-image: url("http://www.peejhill.com/images/ra-cover.png");
    display: flex;

}


  .grid {
  	position: relative;
  	margin: 0 auto;
  	padding: 0 0 4em;
  	max-width: 960px;
  	list-style: none;
  	text-align: center;
  }

  /* Common style */
  .grid figure {
  	position: relative;
  	float: left;
  	overflow: hidden;
  	margin: 0;
  	height: 400px;
  	background: #15140F;
  	text-align: center;
  	cursor: pointer;
  }

  .grid figure img {
  	position: relative;
  	display: block;
  	min-height: 100%;
  	max-width: 100%;
  		opacity: 0.8;

  }

  .grid figure figcaption {
    	color: #fff;
  	text-transform: uppercase;

  	-webkit-backface-visibility: hidden;
  	backface-visibility: hidden;
  }

  .grid figure figcaption::before,
  .grid figure figcaption::after {
  	pointer-events: none;
  }

  .grid figure figcaption,
  .grid figure figcaption > a {
  	position: absolute;
  	top: 0;
  	left: 0;
  	width: 100%;
  	height: 100%;
  }

  /* Anchor will cover the whole item by default */
  /* For some effects it will show as a button */
  .grid figure figcaption > a {
  	z-index: 1000;
  	text-indent: 200%;
  	white-space: nowrap;
  	font-size: 0;
  	opacity: 0;
  }

  .grid figure h2 {
  	word-spacing: 0.15em;
  	font-weight: 300;
    font-size: 2.5rem;
    display: inline-block;
    max-width: 100%;
  }

  .grid figure h2 span {
  	font-weight: 800;
  }

  .grid figure h2,
  .grid figure p {
  	margin: 0;
    text-align: left;
  }

  .grid figure p {
  	letter-spacing: 1px;
    font-size: 62.5%;

  }


  /*-----------------*/
  /***** Goliath *****/
  /*-----------------*/

  figure.effect-goliath {
    background: #15140F;
  }


  figure.effect-goliath img{
    object-fit: cover;
  }




  figure.effect-goliath img,
  figure.effect-goliath h2 {
  	-webkit-transition: -webkit-transform 0.35s;
  	transition: transform 0.35s;
  }

  figure.effect-goliath img {
  	-webkit-backface-visibility: hidden;
  	backface-visibility: hidden;
  }

  figure.effect-goliath h2
   {
  	position: absolute;
  	bottom: 0;
  	left: 0;
  	padding: 0px 20px 30px 20px;
    color: white;
  }



  figure.effect-goliath p {
    position: absolute;
    bottom: 4%;
    left: 0;
    padding: 0px 20px 0px 20px;
  	text-transform: none;
  	font-size: 90%;
  	opacity: 0;
  	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
  	transition: opacity 0.35s, transform 0.35s;
  	-webkit-transform: translate3d(0,50px,0);
  	transform: translate3d(0,50px,0);
  }

  figure.effect-goliath:hover img {
  	-webkit-transform: translate3d(0,-100px,0);
  	transform: translate3d(0,-100px,0);
  }

  figure.effect-goliath:hover h2 {
  	-webkit-transform: translate3d(0,-100px,0);
  	transform: translate3d(0,-100px,0);
  }

  figure.effect-goliath:hover p {
  	opacity: 1;
  	-webkit-transform: translate3d(0,0,0);
  	transform: translate3d(0,0,0);
  }


  #video {
      outline: none;

      box-shadow: none !important;
  }
  .video-hider{
      position: relative;
      top: -12px;
      height: 10px;
      width: 100%;
      background-color: white;
  }

/* Media Queries
–––––––––––––––––––––––––––––––––––––––––––––––––– */
/*
Note: The best way to structure the use of media queries is to create the queries
near the relevant code. For example, if you wanted to change the styles for buttons
on small devices, paste the mobile query code up in the buttons section and style it
there.
*/


/* Larger than mobile */
@media (min-width: 400px) {
  .back {
    right: 0;
  }
}

/* Larger than phablet (also point when grid becomes active) */
@media (min-width: 550px) {
  .back {
    top: 40%;
  }

  .home-para{
    margin-bottom: 8rem;
  }

  .intro {
    margin-top: 15%;
  }

  .content-panel {
  margin-top: 4rem;
  color:#39363A;
  }
  .logo-small, .logo-copy-small, .logo-case-mobile {
    display: none;
  }

  .logo, .logo-copy, .logo-case-tablet, .logo-copy-tablet {
    display: block;
  }



    li {
      float: left;
      padding: 14px;
      font-size: 2.1rem;

    }

    .grid figure {
      width: 50%;
    }

    .grid figure p {
    	letter-spacing: 1px;
      font-size: 62.5%;

    }


    .hmw{
      margin-top: 4rem;
      margin-bottom: 4rem;
      font-weight: 300;
      font-size: 3.2rem;
      font-family: 'Karla', sans-serif;
      line-height: 1.25;
      background-color: #2599AC;
      color: white;
      padding: 3rem 4rem 1rem 4rem;
    }

    .jtbd{
      margin-top: 4rem;
      margin-bottom: 4rem;
      font-weight: 300;
      font-size: 3.2rem;
      font-family: 'Karla', sans-serif;
      line-height: 1.25;
      background-color: #252125;
      color: white;
      padding: 3rem 4rem 1rem 4rem;
    }

    .insights {
        margin-top: 6.5rem;
        background-color: #e7ecef;
        display: flex;
        flex-wrap: wrap;
        padding: 2rem;
        align-items : center;
        justify-content: center;
    }



    .insights-number {
      flex: 1 5%;
        display: table-cell;
       text-align: left;
       font: bold 8rem/1 Sans-Serif;
       padding: 2rem 2rem 2rem 2rem;
       border-bottom: none;
       width: auto;

     }

     .insights-text {
        flex: 4 70%;
       margin-left: auto;
         border-left: 6px solid #2599AC;
         padding-left: 4rem;
         margin-top: 0.1rem;
         margin-bottom: 0.1rem;
     }

}





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


   body {
      line-height: 1.6;
      font-size: 2.4rem;
    }

  h1, h1.case-header { font-size: 12rem; }
  .home-para {font-size: 4.5rem;
    margin-bottom: 10rem;
    margin-top: -.8em;}

    .case-study-section, .case-study-section-last {
    color:#39363A;
    margin-top: 6rem;
    }

    .hmw, .jtbd {
    margin-top: 6rem;
    margin-bottom: 6rem;

    }


  .grid figure p {
    letter-spacing: 1px;
    font-size: 75%;
  }
  figure.effect-goliath:hover img {
  	-webkit-transform: translate3d(0,-100px,0);
  	transform: translate3d(0,-100px,0);
  }

  .back a, .back a:hover {
    padding: 12px;

}

.cover-meds, .cover-ra  {
    height: 650px;
}

.top-nav{
display: block;
}

.bottom-nav{
display: none;

}

.up-next{

  margin-bottom: 0;

}


blockquote {
  font-weight: 600;
  font-size: 4rem;
  font-family: 'Karla', sans-serif;
  line-height: 1.25;
  color: #252125;
  width: 80%;
  margin: 6.5rem 2rem 6.5rem 2rem;

}

blockquote footer {
  text-transform: uppercase;
  font-family: 'Inconsolata', monospace;
  width: 100%;
  position: relative;
  font-weight: 300;
  font-size: 2.4rem;
  margin-top: 7rem;
  color: #39363A;

}

blockquote footer:before {
  margin-top: -4rem;
  content : "";
  position: absolute;
  width: 20%;  /* or 100px */
  border-top:4px solid #2599AC;
}

.insights-number {

   padding: 4rem 2rem 4rem 2rem;

 }

 .subtext-one {
     margin-inline-start: 10px;
 }

}

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

  .home-para {font-size: 5rem;}

  figure.effect-goliath:hover img {
  	-webkit-transform: translate3d(0,-90px,0);
  	transform: translate3d(0,-90px,0);
  }

  .cover-meds, .cover-ra  {
      height: 800px;
  }
}

/* Larger than Desktop HD */
@media (min-width: 1200px) {
  .cover-meds, .cover-ra {
      height: 950px;
  }

}
