* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
  background: #222;
}

p {
  line-height: 150%;
}


/* Header */

body > header {
  background: #222;
}

.logo {
  display: inline-block;
  width: 120px;
  margin: 20px;
}
.logo img {
  width: 100%;
}

@media (min-width: 640px) {
  .logo {
    display: inline-block;
    width: auto;
    margin: 60px 20px;
  }
}

/* Main Navigation */

.menu-btn {
  cursor: pointer;
  float: right;
  border: solid 1px #4E4E4E;
  background: transparent;
  color: #FFF;
  font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
  font-size: 1.125em;
  padding: 10px;
  margin: 24px 20px;
  border-radius: 5px;
  -webkit-appearance: none;
  transition: 250ms color, 250ms border-color;
}

.menu-btn:hover {
  color: #00D0FF;
  border-color:#00D0FF;
}

header nav {
  position: fixed;
  top: 0;
  right: -100%;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: #222;
  z-index: 100;
  transition: opacity 300ms, right 300ms;
}

.nav-open {
  overflow: hidden;
}

.nav-open header nav {
  opacity: 1;
  right: 0;
}

header nav ul {
  margin-top: 80px;
}

header nav li {
  list-style: none;
  width: 100%;
}

header nav a {
  display: block;
  position: relative;
  color:#FFF;
  padding: 20px 0;
  font-size: 1.45em;
  text-decoration: none;
  font-weight: bold;
  transition: color 250ms;
  text-align: center;
}

header nav a:hover,
header nav a.on {
  color:#00D0FF;
}

@media (min-width: 640px) {

  .menu-btn {
    display: none;
  }

  header nav {
    position: relative;
    width: auto;
    height: auto;
    display: block;
    float: right;
    right: 0;
    margin: 60px 6px;
    opacity: 1;
  }

  header nav ul {
    margin-top: 0;
  }

  header nav li {
    list-style: none;
    display: inline-block;
    margin: 14px;
    width: auto;
  }

  header nav a {
    padding: 0;
    font-size: 1.25em;
  }

  header nav a::before,
  header nav a::after {
    content: '';
    display: block;
    position: absolute;
    width: 2px;
    height: 30px;
    left:50%;
    transform: translateX(-50%);
    background: #222;
    transition: all 250ms;
  }

  header nav a::before {
    bottom:-60px;
  }

  header nav a::after {
    top:-60px;
  }

  header nav a:hover::before,
  header nav a:hover::after {
    background: #00D0FF;
  }

  header nav a:hover::before {
    bottom:-40px;
  }
  
  header nav a:hover::after {
    top:-40px;
  }
}


/* Footer  */

footer {
  color: #FFF;
  padding: 20px 0;
  font-weight: 300;
}

footer .container {
  padding: 0 20px;
}

footer a {
  color: #FFF;
  text-decoration: none;
}

.footer-links {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;
}

.footer-links li {
  position: relative;
  display: block;
  width: 48%;
  list-style-type: none;
  padding: 15px 0;
  text-align: center;
}

.footer-links li:first-of-type {
  width: 100%;
}

.footer-links a {
  transition: border 250ms, color 250ms;
  display: block;
  border: solid 1px #4E4E4E;
  width: 100%;
  padding: 8px 10px;
  border-radius: 5px;
}

.footer-links a:hover {
  color:#00D0FF;
  border-color: #00D0FF;
}

.social-links {
  display: inline-flex;
  width: 100%;
  flex-wrap: nowrap;
  margin: 20px 0;
  list-style-type: none;
  justify-content: space-between;
}

.social-links a {
  display: block;
  font-size:0.00001em;
  width: 50px;
  height: 50px;
  margin: 0 5px;
  opacity: 0.5;
  transition: opacity 250ms;
  background-size: 100% 100%;
}

.social-links a span {
  position: absolute ;
	clip: rect(1px 1px 1px 1px);
	clip: rect(1px, 1px, 1px, 1px);
}

.social-links a:hover {
  opacity: 1;
}

.social-links .linkedin a {
  background-image: url(/assets/design/linkedin.svg);
}
.social-links .twitter a {
  background-image: url(/assets/design/twitter.svg);
}
.social-links .email a {
  background-image: url(/assets/design/email.svg);
}

@media (min-width: 640px) {
  footer {
    padding: 60px 0;
  }
  footer .container {
    border-top: solid 1px #4E4E4E;
    border-bottom: solid 1px #4E4E4E;
    padding: 30px 20px;
  }
  .footer-links {
    width: auto;
  }
  .footer-links li {
    width: auto !important;
    line-height: 36px;
    padding: 0 40px 0 0;
  }
  .footer-links a {
    border: 0;
    padding: 0;
    border-radius: 0;
    border-bottom: solid 2px transparent;
  }
  .footer-links li::after {
    content:'';
    position: absolute;
    top:4px;
    right: 16px;
    width: 2px;
    height: 26px;
    transform: skew(-15deg);
    background: #4E4E4E;
  }
  .social-links {
    float: right;
    width: auto;
    margin: 0;
  }
  .social-links a {
    width: 36px;
    height: 36px;
  }
}

/* Layout */

section {
  background: #F4F4F4;
}

section.dark {
  background: #222;
  color: #FFF;
  padding: 0 0 100px 0;
}

.container {
  max-width: 840px;
  margin: 0 auto;
}

section.dark .container {
  border-top: solid 1px #4E4E4E;
  border-bottom: solid 1px #4E4E4E;
  width: 100%;
  width: calc(100% - 40px);
  max-width: 800px;
}

.overlap {
  position: relative;
  top: -70px;
}


@media (min-width: 640px) {
  section {
    padding-bottom: 60px;
  }
  .overlap {
    position: relative;
    top: -60px;
  }
}

.article-list {
  display: flex;
  flex-wrap: wrap;
  list-style-type: none;
}

.article-list li {
  width: 100%;
  padding: 0 20px 20px 20px;
}

@media (min-width: 550px) {
  .article-list li {
    width: 50%;
  }
}

.article-list li a {
  display: block;
  position: relative;
  text-decoration: none;
  width: 100%;
  height: 100%;
  background: #FFF;
  color: #000;
  padding: 0 0 80px 0;
  box-shadow: 0px 0px 30px rgba(0,0,0,0.08);

  transition: all 250ms ease-in-out;
}

.article-list li a:hover {
  background: #20A7BA;
  color: #FFF;
  box-shadow: 0px 0px 30px rgba(0,0,0,0.2);
}

.article-list li a::after,
.showcase div::after {
  content: '';
  position: absolute;
  display: block;
  bottom: 20px;
  right: 40px;
  width: 28px;
  height: 40px;
  background: url(/assets/design/arrow-article-list.svg);
  transition: all 250ms;
}

.article-list li a:hover::after,
.showcase:hover div::after {
  content: '';
  position: absolute;
  display: block;
  bottom: 20px;
  right: 20px;
  width: 28px;
  height: 40px;
  background: url(/assets/design/arrow-article-list.svg);
}

.article-list h2,
.article-list h3 {
  font-family: Georgia;
  font-size: 1.25em;
  line-height: 130%;
  font-style: italic;
  font-weight: normal;
  padding: 20px;
}

.article-list p {
  position: absolute;
  bottom: 20px;
  left: 20px;
  font-size: 1.125rem;
  font-weight: 300;
}

.article-list img {
  width: 100%;
  height: auto;
}

@media (min-width: 640px) {
  .article-list li {
    padding: 0 20px 40px 20px;
  }
  .article-list h2,
  .article-list h3 {
    font-size: 1.5em;
  }
}


h1 {
  font-size: 1.75em;
  padding: 20px 0;
  line-height: 130%;
  font-weight: 300;
  text-align: center;
}

.hp .dark .container {
  padding-bottom: 20px;
}

.hp h1 {
  font-size: 1rem;
  text-align: left;
  font-weight: normal;
}

.hp .dark p,
.hp .dark h1 {
  padding: 10px 20px;
  font-size: 1.125em;
  font-weight: 300;
  line-height: 140%;
}

.hp .dark p:first-of-type {
  font-family: Georgia;
  font-style: italic;
  font-size: 1.2em;
  line-height: 140%;
  padding: 30px 20px;
}

.hp .dark p strong {
  color: #00D0FF;
  font-weight: normal;
}

.hp .container > h2,
.cs h2 {
  color: #188696;
  border-bottom: solid 1px #188696;
  margin: 20px;
  padding: 10px 0;
  font-weight: 300;
  font-size: 1.5em;
}

@media (min-width: 640px) {
  h1 {
    padding: 30px 80px;
    font-size: 2.5em;
  }
  .hp .container > h2,
  .cs h2 {
    font-size: 1.875em;
    margin: 40px 20px;
  }
  .hp .dark p:first-of-type {
    font-size: 1.375em;
    padding: 30px 80px;
  }
  .hp .dark p,
  .hp .dark h1 {
    padding: 10px 80px;
  }
}

.showcase {
  display: block;
  position: relative;
  width: 100%;
  width: calc(100% - 40px);
  margin: 0 20px 20px 20px;
  box-shadow: 0px 0px 30px rgba(0,0,0,0.08);
  line-height: 0;
  text-decoration: none;
  transition: box-shadow 250ms;
}

.showcase:hover {
  box-shadow: 0px 0px 30px rgba(0,0,0,0.2);
}

.showcase img {
  width: 100%;
  height: auto;
}

.showcase div {
  width: 100%;
  background: #FFF;
  padding: 20px;
  color: #212121;
  transition: color 250ms, background 250ms;
}

.showcase:hover div {
  background: #20A7BA;
  color: #FFF;
}

.showcase h2,
.showcase h3 {
  margin: 20px 0;
  font-size: 1.25em;
  line-height: 130%;
}

.showcase .desc {
  font-family: Georgia;
  padding-right: 30px;
}

@media (min-width: 640px) {
  .showcase {
    margin: 0 20px 60px 20px;
  }
  .showcase div {
    width: 70%;
    padding: 25px;
    position: absolute;
    bottom: -30px;
    right: 0;
  }
  .showcase h2,
  .showcase h3 {
    font-size: 1.5em;
    padding-right: 30px;
  }
}

p.pill {
  color: #FFF;
  display: inline-block;
  font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
  font-weight: bold;
  background: #20A7BA;
  padding: 4px 12px;
  transition: color 250ms, background 250ms;
}

.showcase:hover p.pill {
  color: #20A7BA;
  background: #FFF;
}

/* Article */

.meta {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 1em;
  padding: 0 0 20px 0;
}

.meta time {
  font-weight: bold;
}

.time-ago {
  position: relative;
  padding-left: 26px;
}

.time-ago::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 6px;
  background: #555;
  width: 10px;
  height: 4px;
  border-radius: 4px;
}

.author-bio {
  position: relative;
  border-top: solid 4px #FFF;
  border-bottom: solid 4px #FFF;
  padding: 30px 20px;
  margin: 0 20px;
  min-height: 200px;
}

.author-bio img {
  position: relative;
  width: 120px;
  height: 120px;
  border-radius: 60px;
  margin-bottom: 20px;
  transform: translateX(-50%);
  left:50%;
}

.author-bio h4 {
  font-size: 1.375em;
  color: #188696;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
}

.author-bio h4 span {
  font-family: Georgia;
  font-weight: normal;
  font-style: italic;
  color: #222;
  position: relative;
  padding-right: 30px;
}

.author-bio h4 span::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 4px;
  background: #B4DDE3;
  width: 16px;
  height: 4px;
  border-radius: 4px;
}

.author-bio p {
  padding: 0;
  font-family: Georgia;
  text-align: center;
  font-size: 1.125rem;
}

@media (min-width: 640px) {
  .author-bio {
    padding: 40px 20px 40px 160px;
  }
  .author-bio img {
    position: absolute;
    top: 40px;
    left: 0;
    transform: none;
  }
  .author-bio h4 {
    text-align: left;
  }
  .author-bio p {
    text-align: left;
  }
}

/* Rich Text Editor */

.rte p {
  padding: 16px 20px;
}
.rte h2,
.rte h3,
.rte h4 {
  padding: 26px 20px 0 20px;
}

.rte h2 {
  color: #188696;
  font-weight: 300;
  font-size: 1.875em;
  line-height: 130%;
}

.rte h3 {
  color: #188696;
  font-weight: 600;
  font-size: 1.375em;
  line-height: 130%;
}

.rte h4 {
  color: #188696;
  font-weight: 600;
  font-size: 1.125em;
}

.rte p {
  font-family: Georgia;
  font-size: 1.125em;
  line-height: 150%;
}

.rte > p:first-of-type {
  font-style: italic;
  font-size: 1.25rem;
  padding: 30px 0;
  margin: 20px;
  background: #F4F4F4;
  border-top: solid 4px #FFF;
  border-bottom: solid 4px #FFF;
}

.rte > p:first-of-type strong {
  color: #007384;
  font-weight: 600;
}

.rte > p.box-p {
  background: #FFF;
  padding: 20px;
  margin: 0 20px;
  box-shadow: 0 0 30px rgba(0,0,0,0.08);
}

.rte ul {
  font-family: Georgia;
  line-height: 150%;
  list-style-type: none;
  padding: 13px 0;
}

.rte li {
  position: relative;
  padding: 3px 20px 3px 60px;
}

.rte li::before {
  content:'';
  position: absolute;
  top: 12px;
  left: 30px;
  width: 12px;
  height: 4px;
  background: #20A7BA;
  border-radius: 2px;
}

.rte ol {
  font-family: Georgia;
  line-height: 150%;
  list-style-type: none;
  padding: 13px 0;
}

.rte ol > li {
  counter-increment: step-counter;
}

.rte ol li::before {
  content: counter(step-counter);
  font-family: Helvetica, Arial, sans-serif;
  font-weight: bold;
  font-size: 0.875em;
  position: absolute;
  top: 5px;
  left: 80px;
  background: #20A7BA;
  color: #FFF;
  border-radius: 100%;
  height: 20px;
  line-height: 20px;
  width: 20px;
  text-align: center;
  z-index:1;
}

.rte ol li::after {
  content:'';
  position: absolute;
  top: 11px;
  left: 93px;
  width: 16px;
  height: 8px;
  background: #9fd5dc;
  border-radius: 4px;
  z-index:0;
}

.rte img {
  width: 100%;
  width: calc(100% - 40px);
  margin: 0 20px;
}

.rte code {
  background: #212121;
  color: #FFDA6F;
  border-radius: 2px;
}

.rte pre {
  background: #212121;
  color: #FFDA6F;
  padding: 20px;
  line-height: 150%;
  font-size: 1.125em;
  border-radius: 6px;
}

@media (min-width: 640px) {
  .rte p {
    padding: 16px 80px;
  }
  .rte h2,
  .rte h3,
  .rte h4 {
    padding: 26px 80px 0 80px;
  }
  .rte > p:first-of-type,
  .rte > p.box-p  {
    padding: 30px 60px;
    margin: 20px;
  }
  .rte li {
    padding: 3px 80px 3px 120px;
  }
  .rte li::before {
    left: 90px;
  }
  .meta {
    font-size: 1.125em;
    padding: 20px;
  }
}

blockquote {
  position: relative;
  padding: 50px 0;
  margin: 40px 20px;
  border-top: solid 4px #FFF;
  border-bottom: solid 4px #FFF;
}

blockquote p {
  padding: 20px;
  font-size: 1.125rem;
  margin: 0 !important;
  font-family: Georgia;
  font-style: italic;
}

blockquote cite p {
  padding-top: 0 !important;
  margin: 0 !important;
  font-family: Helvetica Neue, Helvetica, Arial, sans-serif !important; 
  font-style: normal;
  font-size: 1rem !important;
  font-weight: 300;
  color: #666 !important;
}

blockquote cite strong {
  font-weight: 600 !important;
  color: #188696;
}

blockquote::before,
blockquote::after {
  content:'';
  position: absolute;
  background: url(/assets/design/quote.svg);
  width: 38px;
  height: 28px;
}

blockquote::before {
  top: 25px;
  left: 20px;
}

blockquote::after {
  bottom: 25px;
  right: 20px;
  transform: rotate(180deg);
}

@media (min-width: 640px) {
  blockquote {
    padding: 20px 0;
  }
  blockquote p {
    padding: 20px 80px;
  }

  blockquote::before {
    top: 40px;
  }

  blockquote::after {
    bottom: 40px;
  }
}

/* Pagination */

.pagination {
  display: block;
  width: 100%;
  position: relative;
  margin-top: 20px;
}

.pagination h3 {
  text-align: center;
  font-size: 1em;
  line-height: 60px;
  color: #333;
}

.pagination ol {
  display: none;
}

.pagination li {
  display: inline-block;
  padding:10px;
}

.pagination li a {
  display: block;
  height: 30px;
  padding: 0 10px;
  line-height: 30px;
  text-align: center;
  text-decoration: none;
  border-radius: 15px;
  font-weight: bold;
  color: #188696;
  transition: background 250ms, color 250ms;
}

.pagination li a.on {
  background: #20A7BA;
  color: #FFF;
}

.pagination li a:hover {
  background: #20A7BA;
  color: #FFF;
}

.prev,
.next,
.start,
.end {
  cursor: pointer;
  display: block;
  position: absolute;
  top:0;
  width: 60px;
  height: 60px;
  background: #FFF;
  border: 0;
  border-radius: 30px;
  box-shadow: 0px 0px 30px rgba(0,0,0,0.08);
  font-size: 0.01em;
  color: #FFF;
  overflow: hidden;
  -webkit-appearance: none;

  transition: background 250ms, color 250ms;
}

.next::before,
.prev::before,
.next::after,
.prev::after {
  content:'';
  position: absolute;
  width: 20px;
  height: 26px;
  top:50%;
  left:53%;
  transform: translate(-50%, -50%);
  background: url(/assets/design/arrow-next-blue.svg);
  transition: left 250ms;
}

.next::before,
.prev::before {
  left:53%;
  background: url(/assets/design/arrow-next-blue.svg);
}

.next::after,
.prev::after {
  left:-100%;
  background: url(/assets/design/arrow-next-white.svg);
}


.end::before,
.start::before,
.end::after,
.start::after {
  content:'';
  position: absolute;
  width: 30px;
  height: 18px;
  top:50%;
  left:53%;
  transform: translate(-50%, -50%);
  background: url(/assets/design/arrow-end-blue.svg);
  transition: left 250ms;
}

.end::before,
.start::before {
  left:50%;
  background: url(/assets/design/arrow-end-blue.svg);
}

.end::after,
.start::after {
  left:-100%;
  background: url(/assets/design/arrow-end-white.svg);
}

.start::before {
  left:50%;
  transform: translate(-50%, -50%) rotate(180deg);
}

.prev::before {
  left:47%;
  transform: translate(-50%, -50%) rotate(180deg);
}

.prev::after,
.start::after {
  transform: translate(-50%, -50%) rotate(180deg);
}

.prev:hover,
.next:hover,
.start:hover,
.end:hover {
  background: #20A7BA;
  color: #20A7BA;
}

.prev:hover::before,
.next:hover::before,
.start:hover::before,
.end:hover::before {
  left:100%;
}

.prev:hover::after {
  left:47%;
}

.next:hover::after {
  left:53%;
}

.start:hover::after,
.end:hover::after {
  left:50%;
}

.prev {
  left: 20px;
}

.next {
  right: 20px;
}

.inactive {
  cursor: not-allowed;
  opacity: 0.3;
}

span.prev,
span.next {
  cursor: not-allowed;
  opacity: 0.3;
}

@media (min-width: 640px) {
  .pagination ol {
    display: flex;
    width: 100%;
    justify-content: center;
    list-style-type: none;
  }
  .pagination h3 {
    line-height: 100%;
  }
}


/* Daymedia/Case Study Page */

.cs .overlap > p {
  line-height: 150%;
  font-family: Georgia;
  font-size: 1.125em;
  margin: 10px 20px 30px 20px;
}

.cs p em,
.cs p strong {
  color: #007384;
  font-weight: 600;
}

.grid-list,
.team-list {
  display: flex;
  flex-wrap: wrap;
  list-style-type: none;
}

.grid-list {
  margin: 0 20px;
  width: calc(100% - 40px);
  gap: 40px;
}

.grid-list li {
  width: 100%;
  background: #FBFBFB;
  padding: 25px;
  font-family: Georgia;
  font-size: 1.125em;
  line-height: 150%;
}

.grid-list li strong {
  color: #007384;
  font-weight: 600;
}

@media (min-width: 640px) {
  .grid-list li {
    width: calc(50% - 20px);
  }
}

.team-list li {
  width: 100%;
  color: #212121;
  text-align: center;
  padding: 30px 20px;
}

.team-list a {
  display: block;
  color: #212121;
  background: transparent;
  text-decoration: none;
  transition: color 250ms;
}

.team-list a:hover {
  color: #20A7BA;
}

.team-list h3, 
.team-list h4 {
  font-size: 1.125em;
  line-height: 150%;
  padding: 0;
}

.team-list h3 {
  font-weight: 600;
}

.team-list h4 {
  font-size: 1.125em;
  font-weight: 300;
}

.team-list img {
  width: 120px;
  height: 120px;
  border-radius: 60px;
  margin-bottom: 10px;
}

@media (min-width: 375px) {
  .team-list li {
    width: 50%;
  }
}

@media (min-width: 640px) {
  .team-list li {
    width: 33.333%;
  }
}

.icon-list {
  list-style-type: none;
  margin: 0 20px;
}

.icon-list li {
  width: 100%;
  min-height: 100px;
  position: relative;
  background: #FBFBFB;
  padding: 20px;
  margin: 20px 0;
  font-family: Georgia;
  line-height: 150%;
  text-align: center;
}

.icon-list span {
  display: block;
}

.icon-list li strong {
  font-weight: 600;
  color: #007384;
}

.icon-list li img { 
  width: 60px;
  margin-bottom: 10px;
}

.video-link {
  display: block;
  position: relative;
  width: 100%;
  line-height: 0;
  padding: 0 20px;
}

.video-link a,
.video-link img {
  width: 100%;
  height: auto;
}

.video-link a {
  position: relative;
  display: block;
}

.video-link span {
  position: absolute;
  display: block;
  bottom: 0;
  line-height: 100%;
  left: 50%;
  padding: 12px 14px 18px 40px;
  transform: translateX(-50%);
  background: #F4F4F4;
  border-radius: 5px 5px 0 0;
  color:#188696;
  font-weight: 600;
  text-decoration: none;
  transition: padding 250ms;
}

.video-link:hover span {
  padding-bottom: 22px;
}

.video-link span::before {
  content:'';
  position: absolute;
  top:10px;
  left:14px;
  width: 0; 
  height: 0; 
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #188696;
}

.video-link a::before {
  content:'';
  position: absolute;
  top:0;
  bottom:0;
  left:0;
  right:0;
  border:solid 1px transparent;
  transition: border 250ms;
}

.video-link a:hover::before {
  border:solid 20px rgba(0,0,0,0.2);
}

@media (min-width: 414px) {
  .icon-list li {
    padding: 20px 20px 20px 100px;
    text-align: left;
  }
  .icon-list li img {
    position: absolute;
    top: 20px;
    left: 20px;
    transform: none;
  }
}

/* About Page */

.intro-card {
  position: relative;
  background: #FFF;
  box-shadow: 0 0 30px rgba(0,0,0,0.08);
  padding: 20px;
  margin: 0 20px 40px 20px;
  min-height: 400px;
}

.intro-card h2 {
  font-size: 1.25em;
  font-family: Georgia;
  font-weight: 300;
  font-style: italic;
  line-height: 130%;
  margin-bottom: 20px;
  color: #188696;
}

.intro-card p {
  font-weight: 300;
  line-height: 150%;
  margin-bottom: 20px;
}

.intro-card p strong {
  color: #007384;
}

.email-link {
  position: relative;
  display: inline-block;
  color: #188696;
  text-decoration: none;
  font-size: 1em;
  font-weight: 300;
  line-height: 36px;
  min-height: 36px;
  padding-left: 46px;
  margin: 20px 0 30px 0;
}

.email-link::before {
  content:'';
  position: absolute;
  top:0;
  left:0;
  width: 36px;
  height: 36px;
  background: url(/assets/design/email-blue.svg) no-repeat;
  transition: transform 250ms ease-in-out;
}

.email-link:hover::before {
  transform: scale(1.15) rotate(-15deg);
}

.side-img {
  width: 100%;
}

.side-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 430px) {
  .intro-card h2 {
    font-size: 1.5em;
  }
  .side-img {
    text-align: center;
  }
  .side-img img {
    width: 50%;
  }
}

@media (min-width: 640px) {
  .intro-card {
    padding: 30px 50% 30px 30px;
  }
  .side-img {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 45%;
  }
  .side-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .email-link {
    font-size: 1.25em;
  }
}


/* Gallery Component */

.gallery {
  margin: 0 20px;
  padding-bottom: 70px;
  position: relative;
  width: 100%;
  width: calc(100% - 40px);
  overflow: hidden;
}

.img-container {
  width: 100%;
  height: 140px;
  margin-bottom: 10px;
  white-space: nowrap;
  transition: transform 250ms ease-in-out;
  -webkit-transition: transform 250ms ease-in-out;
  -moz-transition: transform 250ms ease-in-out;
  font-size: 0.0001em; /* Removes gap between images */
}

.gallery img {
  display: inline-block;
  height: 100%;
  margin: 0;
  opacity: 0.4;
  /* border-left: 0;
  border-right: 0; */
  transition: opacity 250ms ease-in-out;
  -webkit-transition: opacity 250ms ease-in-out;
  -moz-transition: opacity transform 250ms ease-in-out;
}

  .gallery img.active {
    opacity: 1;
    border-left: solid 4px #F4F4F4;
    border-right: solid 4px #F4F4F4;
  }

.gallery .next,
.gallery .prev,
.gallery .start,
.gallery .end {
  bottom: 0px;
  top: auto;
  border-radius: 0;
}

.gallery .next,
.gallery .start {
  right: 0;
}

.gallery .prev,
.gallery .end {
  left: 0;
}

.gallery .index {
  position: absolute;
  width:100%;
  bottom: 0;
  line-height: 60px;
  height: 60px;
  padding: 0 70px;
  text-align: center;
  font-size: 0.875em;
}

.gallery .alt {
  width:100%;
  text-align: center;
}


@media (min-width: 460px) {
  .img-container {
    height: 240px;
  }
}

@media (min-width: 640px) {

  .gallery {
    padding-bottom: 0;
  }

  .img-container {
    height: 400px;
  }

  .gallery .next,
  .gallery .prev,
  .gallery .start,
  .gallery .end {
    top: 49%;
    transform: translateY(-50%);
  }

  .gallery .index {
    position: relative;
    width: 20%;
    padding: 0;
    display: inline-block;
    text-align: right;
    height: unset;
    line-height: 100%;
    font-size: 1em;
  }
  
  .gallery .alt {
    width: 80%;
    text-align: left;
    display: inline-block;
  }
}
