/* 
  Please leave the content below alone for this week's tutorial
*/

body {
  font-family: "Circular", Verdana, sans-serif;
  font-size: 0.95rem;
  background-color: white;
  margin: auto;
  max-width: 1260px;
  position: relative;
}

section {
  display: block;
}

div {
  display: block;
}

figcaption {
  text-align: center;
}

.grid-row {
  display: block;
  flex: 1 100%;
}

.main-nav {
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  -webkit-flex-direction: row;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-justify-content: space-between;
  -ms-justify-content: space-between;
  justify-content: space-between;
  -webkit-align-items: center;
  -ms-align-items: center;
  align-items: center;
  padding: 1em 2em;
}

.button-nav {

    text-decoration: none;
    display: inline-block;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;

    color: #24305e;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    font-weight: bold;

    border-bottom: 3px solid #24305e;
    padding: 0 0.1em;
    margin: 1em 1.5em .6em;

    -webkit-transition: color .2s ease-out;
    -moz-transition: color .2s ease-out;
    -o-transition: color .2s ease-out;
    transition: color .2s ease-out;

    background-image: linear-gradient(to right, transparent 50%, #f76c6c 50%);
    background-origin: 0;
    background-size: 200% 50%;
    background-repeat: repeat-x;
    background-position: 0 100%;
    transition: background-position 0.3s;

}

.button-nav:active, .button-nav:hover, .button-nav:focus {
  border-bottom: 3px solid #fff;
  background-position: -100% 100%;
}

.tag-button {
  color: #f76c6c;
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  font-weight: bold;
  margin: 1.5em 1.5em .6em;
}

#intro {
  padding: 15em 2em;
}

#intro p {
  text-align: center;
  font-size: 2rem;
}

.flex-container {
  -ms-box-orient: horizontal;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -moz-flex;
  display: -webkit-flex;
  display: flex;
}

.row {
    box-sizing: border-box;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-flex: 0;
    -webkit-flex: 0 1 auto;
    -ms-flex: 0 1 auto;
    flex: 0 1 auto;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: space-between;
  -ms-justify-content: space-between;
  justify-content: space-between;
}

.row-reverse {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
    -ms-flex-direction: row-reverse;
    flex-direction: row-reverse;
}
.row-flex-end {
    -webkit-box-align: flex-end;
    -ms-flex-align: flex-end;
    -ms-grid-row-align: flex-end;
    align-items: flex-end;
    margin-bottom: 0;
    margin-right: 0;
}
.centered-row {
    -webkit-box-align: center;
    -ms-flex-align: center;
    -ms-grid-row-align: center;
    align-items: center;
    margin-bottom: 0;
    margin-right: 0;
}
.baseline-row {
    -webkit-box-align: baseline;
    -ms-flex-align: baseline;
    -ms-grid-row-align: baseline;
    align-items: baseline;
    margin-bottom: 0;
    margin-right: 0;
}

.flex-end { 
  -webkit-align-items: flex-end; 
  -ms-flex-align: flex-end;
  align-items: flex-end; 
}

.main-container {
  /*display: flex;*/
  flex-flow: row wrap;
  padding: 0 3em;
}

#work {
  padding-top: 2em;
}

.case-item {
  width: 49%;
  text-align: left;
  padding-top: 40px;
  padding-right: 50px;
  padding-left: 50px;
  box-sizing: border-box;
  min-height: 485px;
  position: relative;
  object-fit: cover;
  overflow: hidden;
  border: 6px solid #24305e;
  transition: color 2s ease;
}

.case-item-wide {
  flex: 1 100%;
  text-align: center;
  margin: 1.7em 0;
  padding-top: 40px;
  padding-right: 50px;
  padding-left: 50px;
  box-sizing: border-box;
  min-height: 485px;
  position: relative;
  overflow: hidden;
  background-position: center;
  border: 6px solid #24305e;
  transition: color 2s ease;
}

.case-item-bg {
  animation: fade-In 0.6s ease-out;
  transition: transform 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
  background-size: cover;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.case-item:hover .case-item-bg {
    transform: scale3D(1.04, 1.04, 1);
}

.case-item-wide:hover .case-item-bg {
    transform: scale3D(1.04, 1.04, 1);
}

.case-item:hover .case-item-header {
    transform: translate3D(0, -6px, 0);
}

.case-item-wide:hover .case-item-header {
    transform: translate3D(0, -6px, 0);
}

.case-item:hover .case-item-desc  {
    transform: translate3D(0, 8px, 0);
}

.case-item-wide:hover .case-item-desc {
    transform: translate3D(0, 8px, 0);
}

.ci-hemlos {
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: right bottom;
  transition: border .3s ease;
}

.ci-hemlos:hover {
  border: 6px solid #f9f001;
}

.ci-fringe {
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: right bottom;
  transition: border .3s ease;
}

.ci-fringe:hover {
  border: 6px solid #f26522;
}

.ci-follow {
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: right bottom;
  transition: border .3s ease;
}

.ci-follow:hover {
  border: 6px solid #eaff42;
}

.ci-mackin {
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: right bottom;
  transition: border .3s ease;
}

.ci-mackin:hover {
  border: 6px solid #26bcb6;
}

.ci-mec {
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: right bottom;
  transition: border .3s ease;
}

.ci-mec:hover {
  border: 6px solid #35936c;
}

.ci-shangrila {
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: right bottom;
  transition: border .3s ease;
}

.ci-shangrila:hover {
  border: 6px solid #ad904a;
}

.case-item-header {
  margin-bottom: .5em;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform: translateZ(0);
  position: relative;
  z-index: 10;
  top: -50%;
}

.case-item-header h2 {
  font-size: 3.7em;
  font-weight: bold;

  color: #24305e; 
}

.case-item-desc {
  max-width: 65%;
  line-height: 1.9em;
  position: relative;
  z-index: 10;
  padding-top: .75em;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform: translateZ(0);
}

.case-item-wide .case-item-desc {
  margin-left: auto;
  margin-right: auto;
  max-width: 85%;
}

.case-item-link {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 100;
}

.reverse-text {
  color: white;
}

.black-text {
  color: black;
}

.centered-single-image {
  margin-left: auto;
  margin-right: auto;
  max-width: 900px;
}


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

/* Prevents img without src to appear */
img:not([src]) {
  visibility: hidden;
}

/* Fixes Firefox anomaly */
@-moz-document url-prefix() {
    img:-moz-loading {
        visibility: hidden;
    }
}

h1 {
  font-family: "Circular", Verdana, sans-serif;
  font-size: 2.5rem;
  letter-spacing: 0.08rem;
  text-align: center;
  margin: 0;
}

h2 {
  font-family: "Circular", Verdana, sans-serif;
  font-size: 1.9rem;
  letter-spacing: 0.08rem;
  margin: 0;
  -webkit-margin-after: 0;
}

h3 {
  font-family: "Circular", Verdana, sans-serif;
  font-weight: normal;
  font-size: .9rem;
  text-transform: uppercase;
  margin: 0;
}

h4 {
  font-family: "Circular", Verdana, sans-serif;
  font-size: .9rem;
  margin: .5em 0 0;
}

ol {
  font-size: 1rem;
  line-height: 1.5em;
  list-style-type: decimal-leading-zero;
  text-align: left;
}

ul {
  font-size: 1rem;
  line-height: 1.5rem;
  list-style: none;
  text-align: left;
  padding-left: 0;
  margin-left: 0;
}

/*header {
  display: block;
  position: relative;
  width: 100%;
}

video {
  width: 100%;
  height: auto;
  margin-top: 0;
}*/

a {
  color: #333;
  text-decoration: none;

  -webkit-transition: color .2s ease-out;
  -moz-transition: color .2s ease-out;
  -o-transition: color .2s ease-out;
  transition: color .2s ease-out;
}

p {
  margin: .5em 0 1.5em;
}

.textlink {
  color: #f76c6c;
  text-decoration: underline;

  -webkit-transition: color .2s ease;
  -moz-transition: color .2s ease;
  -o-transition: color .2s ease;
  transition: color .2s ease;
}

.textlink:active, .textlink:hover, .textlink:focus {
  color: #FFEAAD;
}

.button {
  font-size: 1.5rem;
  color: #24305e;
  border-bottom: 3px solid #24305e;
  -webkit-transition: color .2s ease-out;
  -moz-transition: color .2s ease-out;
  -o-transition: color .2s ease-out;
  transition: color .2s ease-out;

  background-image: linear-gradient(to right, transparent 50%, #f76c6c 50%);
  background-origin: 0;
  background-size: 200% 50%;
  background-repeat: repeat-x;
  background-position: 0 100%;
  transition: background-position 0.3s;
}

.button:active, .button:hover, .button:focus {
  border-bottom: 0 solid #f76c6c;
  background-position: -100% 100%;
}

.flex-grid-halfs {
  display: -ms-flex;
  display: -webkit-flex;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.flex-grid-halfs .col {
  width: 40%;
}

.flex-grid-thirds {
  display: -ms-flex;
  display: -webkit-flex;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;

  margin-top: 3em;
}

.flex-grid-thirds .col {
  width: 28%;
}

.flex-grid-quarters {
  display: -ms-flex;
  display: -webkit-flex;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.flex-grid-quarters .col {
  width: 24%;
}

.flex-grid-fifths {
  display: -ms-flex;
  display: -webkit-flex;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.flex-grid-fifths .col {
  width: 19.5%;
}

.col {
  display: -ms-flex;
  display: -webkit-flex;
  display: flex;
  flex-direction: column;
}

.flex-grid-fifths img {
  height: 100%;
}

.flex-grid-thirds .col img {
  box-shadow: 5px 5px 20px #898989;
}

.flex-column {
  display: -ms-flex;
  display: -webkit-flex;
  display: flex;
  flex-direction: column;
}

.caption {
  text-align: center;
  margin-top: 1em;
  margin-bottom: 2em;
}

/*project page constants onclusing about page header*/

.proj-header {
  display: block;
  position: relative;
  width: 100%;
  top: 7em;
}

.proj-header img {
  width: 100%;
  height: 40em;
  object-fit: cover;
}

.proj-title {
  display: block;
  text-align: left;
  font-size: 5rem;
  line-height: 5.5rem;
  font-weight: bold;
}

.proj-sub-title {
  display: block;
  text-align: left;
  font-size: 1.9em;
  font-weight: bold;
  margin-bottom: 1.5em;
}

.proj-desc {
  display: block;
  font-size: 1.2em;
  font-family: 'Open Sans', sans-serif;
  font-weight: normal;
  line-height: 1.4em;
  margin-top: 0;
  margin-right: 0;
  padding-left: 4em;
  margin-bottom: 1.5em;
} 

.metrics {
  display: block;
  position: relative;
  top: 7em;
  width: 100%;
  text-align: center;
  padding: 0 20%;
  margin: 4em 0;
}

.role {
  padding: 0 1em;
  margin-bottom: 4em;
}

.role h4 {
  font-size: 1.1rem;
}

.role p {
  font-family: "Open Sans", Georgia, serif;
  line-height: 1.3em;
}

.proj-section h3 {
  font-size: 1.1rem;
}

.proj-section h4 {
  font-size: 2rem;
  line-height: 2.2rem;
  margin-bottom: .7em;
}

#proj-intro {
  display: block;
  position: relative;
  top: 1em;
  height: 100%;
  overflow: auto;
  padding: 4% 4% 4%;
  margin-top: 7em;
  background-color: #35936c;
}

#proj-intro-hemlos {
  display: block;
  position: relative;
  top: 1em;
  height: 100%;
  overflow: auto;
  padding: 4% 4% 4%;
  margin-top: 7em;
  background-color: #9cdbff;
}

#proj-intro-shangrila {
  display: block;
  position: relative;
  top: 1em;
  height: 100%;
  overflow: auto;
  padding: 4% 4% 4%;
  margin-top: 7em;
  background-color: #ebebeb;
}

#proj-intro-follow {
  display: block;
  position: relative;
  top: 1em;
  height: 100%;
  overflow: auto;
  padding: 4% 4% 4%;
  margin-top: 7em;
  background-color: #eaff42;
}

#proj-intro-guusto {
  display: block;
  position: relative;
  top: 1em;
  height: 100%;
  overflow: auto;
  padding: 4% 4% 4%;
  margin-top: 7em;
  background-color: #4DDBD6;
}

/* .page-menu {
  float: left;
  padding-top: 0;
  margin-top: 0;
  padding-right: 9%;
  color: #000;
}

.page-menu a {
  color: #000000;
  -webkit-transition: color .2s ease-out;
  -moz-transition: color .2s ease-out;
  -o-transition: color .2s ease-out;
  transition: color .2s ease-out;

  background-image: linear-gradient(to right, transparent 50%, #f76c6c 50%);
  background-origin: 0;
  background-size: 200% 50%;
  background-repeat: repeat-x;
  background-position: 0 100%;
  transition: background-position 0.3s;
}

.page-menu a:hover {
  background-position: -100% 100%;
}*/

.summary {
  font-size: 1.5rem;
  letter-spacing: 0.03rem;
  line-height: 2.3rem;
  padding: 0 1em;
}

#reflection .page-menu p {
  font-size: 1rem;
  padding-top: 0;
}

/*.side-nav-dropdown {
  cursor: pointer;
}

.side-nav-mobile {
  list-style-type: none;
}

.side-nav-dropdown-content, .side-nav-dropdown-content-2 {
  display: none;
  margin: 0.5em 1em 1em 0;
}

.side-nav-target, .side-nav-target-2 {
  border-bottom: 1px solid #000;
  padding: 0.8em 0;
  margin: 0.5em 1em;
}

.side-nav-mobile h4{
  display: inline-block;
  padding: 0;
  margin: 0;
}

.side-nav-mobile .side-nav-item{
  padding: 1em;
}

.fa-chevron-down {
  display: inline !important;
  font-size: small !important;
  float: right;
  padding-top: 1.2em;
  margin-top: 0;
  text-align: right;
}*/


.summary a {
  color: #000;
  text-decoration: underline;
  font-size: 1.1rem;
  padding-top: 0;
  margin-top: 0;
}

.summary li {
  margin-bottom: .5em;
}

.summary a:hover {
  color: #fff;
  
}

.proj-section {
  display: block;
  position: relative;
  margin-top: 7em;
  margin-bottom: 2em;
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.03rem;
  line-height: 1.4rem;
}

#hemlos-campaign {
  margin-bottom: 0;
}

.colunm {
  padding: 0;
}

.first-col {
  padding-right: 1em;
}

.second-col {
  padding-left: 2em;
}

.bump-down {
  padding-top: 2.9em;
}

.proj-section .photo-row {
  margin-top: 3.5em;
  padding-bottom: 1em;
}

.framework-photo {
  margin-top: 1.5em;
  padding-bottom: 2em;
}

.touchpoints-photo {
  padding-top: 1em;
}

.touchpoints-photo .second-col {
  padding-left: 3em;
}

.padded-col-centered-1of3 {
  padding-right: 1.8em;
}

.padded-col-centered-2of3 {
  padding-right: .9em;
  padding-left: .9em;
}

.padded-col-centered-3of3 {
  padding-left: 1.8em;
}

.padded-col-centered-1of4 {
  padding-right: 1.8em;
}

.padded-col-centered-2of4 {
  padding-right: .9em;
  padding-left: .9em;
}

.padded-col-centered-3of4 {
  padding-left: .9em;
  padding-right: .9em;
}

.padded-col-centered-4of4 {
  padding-left: 1.8em;
}

.proj-section .excerpt {
  font-family: "Circular", Verdana, sans-serif;
  font-size: 1.4rem;
  line-height: 2.1rem;
}

.proj-section .excerpt ul{
  font-family: "Circular", Verdana, sans-serif;
  font-size: 1.4rem;
  line-height: 2.1rem;
  padding-top: .2em;
  margin-top: 0;
}

.three-cols .excerpt{
  font-size: 1rem;
  line-height: 1.5rem;
}

.proj-section .expanded-content {
  margin-top: 0.3em;
}

.proj-section .expanded-content ul {
  font-size: 1rem;
}

.proj-section .expanded-content li {
  padding-bottom: .7em;
}

.coloured-block {
  text-align: center;
  padding: 4em;
  background-color: #35936c;
}

.coloured-block p {
  font-size: 1.3rem;
  letter-spacing: 0.03rem;
  line-height: 1.8rem;
  padding: 0 14%;
  margin: 2em 0;
}

.coloured-block-hemlos {
  text-align: center;
  padding: 4em;
  background-color: #9cdbff;
}

.coloured-block-hemlos p {
  font-size: 1.3rem;
  letter-spacing: 0.03rem;
  line-height: 1.8rem;
  padding: 0 14%;
  margin: 2em 0;
}

.coloured-block-follow {
  text-align: center;
  padding: 4em;
  background-color: #eaff42;
}

.coloured-block-follow p {
  font-size: 1.3rem;
  letter-spacing: 0.03rem;
  line-height: 1.8rem;
  padding: 0 14%;
  margin: 2em 0;
}

#proj-video {
  display: block;
  position: relative;
  margin-top: 8em;
}

.customer-segmentation {
  width: 100%;
  background-color: #f0f0f0;
}

.customer-segmentation h4 {
  font-family: "Circular", Verdana, sans-serif;
  font-size: 1rem;
  text-align: center;
}

.customer-blurb {
  display: block;
  position: relative;
  font-family: "Circular", Verdana, sans-serif;
  font-weight: normal;
  text-align: center;
  font-size: .85rem;
  width: 97%;
  padding: .2em 1.2em;
}

.quote-attribution {
  font-family: "Circular", Verdana, sans-serif;
  font-weight: normal;
  color: #cecece;
  font-size: 1rem;
}

.poster {
  border: 1px solid #8f8f8f;
  margin-bottom: 2em;
}

#modularity {
  padding: 0 3em 3em;
}

#fringe-brand {
  margin-top: 7em;
}

.three-cols h4 {
  text-align: center;
}

.text-bg-img-section {
  position: relative;
  top: 0;
  width: 100%;
}
.text-bg-img-section img {
  display: block;
  position: relative;
}

.guusto-customer-title {
  text-align: center;
  width: 90%;
  transform: translate(-50%, -50%);
  position: absolute;
  z-index: 2;
  text-align: center;
  top: 50%;
  left: 50%;
  resize: both;
}

#reflection {
  display: block;

  top: 7em;
  height: 100%;
  overflow: auto;
  padding: 6% 4% 12%;
  margin-top: 2em;
  background-color: #35936c;
}

#reflection-fringe {
  display: block;

  top: 7em;
  height: 100%;
  overflow: auto;
  padding: 6% 4% 12%;
  margin-top: 2em;
  background-color: #6bb39d;
}

#reflection-hemlos {
  display: block;

  height: 100%;
  overflow: auto;
  padding: 6% 4%;
  margin-top: 2em;
  background-color: #9cdbff;
}

#reflection-follow {
  display: block;

  height: 100%;
  overflow: auto;
  padding: 6% 4%;
  margin-top: 2em;
  background-color: #eaff42;
}

#reflection-guusto {
  display: block;
  height: 100%;
  overflow: auto;
  padding: 6% 4%;
  margin-top: 2em;
  background-color: #33B9B4;
}

.bottom-item {
  flex: 1 50%;
  text-align: left;
  padding-top: 50px;
  padding-right: 50px;
  padding-left: 50px;
  box-sizing: border-box;
  min-height: 485px;
  position: relative;
  object-fit: cover;
  overflow: hidden;
}

.bottom-item:hover .case-item-bg {
    transform: scale3D(1.04, 1.04, 1);
}

.bottom-item:hover .case-item-header {
    transform: translate3D(0, -6px, 0);
}

.bottom-item:hover .case-item-desc  {
    transform: translate3D(0, 8px, 0);
}


.bottom-links {
  color: #fff;
  margin: 7em 0 3em;
}

.bottom-links h3 {
  text-transform: none;
  font-size: 6rem;
}

.contact-block {
  background-color: #24305e;
}

.contact-block p {
  font-size: 1.5rem;
}


.contact-block a {
  display: block;
  text-decoration: underline;
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: .5em;
}

.contact-block a:first-of-type {
  margin-top: 7em;
}

.contact-block a:hover {
  color: #f76c6c;
}

.bottom-links .case-item-desc {
  text-align: center;
  font-size: 1.5rem;
  max-width: 100%;
}


.case-item:hover #next-project .case-item-desc  {
    transform: translate3D(0, -6px, 0);
}

/*about page*/

.about-title {
  margin-bottom: .4em;
}

.about-proj-desc {
  display: block;
  font-size: 1.7em;
  font-family: 'Circular', sans-serif;
  font-weight: normal;
  line-height: 1.5em;
  margin-top: 0;
  margin-right: 0;
  padding-left: 4em;
  margin-bottom: 1.5em;
} 

.about-main-txt {
  display: block;
  position: relative;
  top: 7em;
  padding: 3em 17em 3em 0;
}

.about-intro {
  font-weight: bold;
  font-size: 1.6rem;
  padding-bottom: .3em;
  padding-top: 1em;
}

.about-main {
  font-family: "Freight-Text-Book", Georgia, serif;
  font-weight: normal;
  font-size: 1.4rem;
  line-height: 1.85rem;
}

#contact-info {
  display: block;
  position: relative;
  top: 3em;
  padding: 1em 17em 1em 0;
}

.contact-label {
  font-size: 1.5rem;
  color: black;
  line-height: 1.8rem;
  margin-bottom: .7em;
}

.error-page {
  background-image: url("../img/error.jpg");
  background-size: cover;
  color: #fff;
}

.error-page .error-txt {
  position: relative;
  display: block;
  margin-top: 7em;
}

.error-page .contact-label, .error-page .button {
  color: #fff;
}

.error-page .button {
  border-bottom: 3px solid #fff;
}

.error-page .button:hover {
  border-bottom: 0px solid #fff;
}

footer{
  text-align: center;
  padding: 9em 1em 2em;
}

