@CHARSET "utf-8";

@font-face {
  font-family: 'Font';
  font-display: swap;
  src: url('/assets/font.ttf');
}

@font-face {
  font-family: 'Font Light';
  font-display: swap;
  src: url('../assets/font-light.ttf');
}

@font-face {
  font-family: 'Font Mono';
  font-display: swap;
  src: url('../assets/font-mono.ttf');
}

@font-face {
  font-family: 'Font Bold';
  font-display: swap;
  src: url('../assets/font-bold.ttf');
}

*, :after, :before {
    -webkit-box-sizing: inherit;
            box-sizing: inherit;
}

* {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  max-width: 100%;
}

/**
 * Site header
 */
.site-header {
  width: 100%;
  background-color: hsla(0, 100%, 100%, 0.9);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  box-sizing: border-box;

  display: flex;
  align-items: center;    
  justify-content: space-between; 


  padding: 2vw calc(2vw * 2);
}

.site-title {
  font-size: 2rem;
  font-family: 'Font Bold';
  font-weight: 300;
  letter-spacing: -1px;
  margin-bottom: 0;
  margin-right: 2vw;
  position: relative;
  z-index: 1;
  text-decoration: none;

  margin-top: 0; 
  margin-bottom: 0; 

  &,
  &:visited {
    color: darken(#828282, 25%);
  }
}

.site-nav {
  position: relative;
  display: flex; 
  align-items: center; 
  height: 36px; 

  .nav-trigger {
    display: none;
  }

  label[for="nav-trigger"] {
    display: block;
    width: 36px;
    height: 36px;
    z-index: 2;
  
    cursor: pointer;
    
  }

  .menu-icon {
    display: block;
    width: 36px;
    height: 36px;
    text-align: center;
    z-index: 1;

    > svg {
      fill: #203cef;
      width: 100%;
      height: 100%;
      display: block;
      vertical-align: middle;
    }
  }

  input ~ .trigger {
    clear: both;
    
    display: none;
    position: absolute;
    top: 100%;
    right: 0%;
    background-color: #fdfdfd;
    border: 1px solid lighten(#828282, 40%);
    
    text-align: right;
    overflow: hidden;
    min-width: 200px;
  }

  input:checked ~ .trigger {
    display: block;
    
  }

  .page-link {
    display: block;
    
    padding: 2vw;
    color: black;

    &:not(:last-child) {
      margin-right: 0;
    }
  }
}


 .footer-wrapper{
  width: 100%;
  height: 100%;
  padding: calc(21vw/2) 0;
 }

footer a {
  color: white;
    &:hover {
    color: #203cef;
 }
}

.footer-nav-list {
  list-style: none;

}

.site-footer {
  background: #1e1e1e;
  color: #fff;
}

.footer-heading {
  @include relative-font-size(1.125);
  margin-bottom: 2vw * 0.5;
}

.footer-col {
  padding: 3vw 0;
}

.contact-list,
.social-media-list {
  list-style: none;
  margin-left: 0;
}

@font-face {
  font-family: 'Font';
  font-display: swap;
  src: url('../assets/font.ttf');
}

@font-face {
  font-family: 'Font Light';
  font-display: swap;
  src: url('../assets/font-light.ttf');
}

@font-face {
  font-family: 'Font Mono';
  font-display: swap;
  src: url('../assets/font-mono.ttf');
}

@font-face {
  font-family: 'Font Bold';
  font-display: swap;
  src: url('../assets/font-bold.ttf');
}


html{
  font-size: 14px !important;
  font-size: 2vw;
}
@media (max-width: 900px) {
  html {
    font-size: 18px;
  }
}
@media (min-width: 1300px) {
  html {
    font-size: 26px;
  }
}

body{
  font-family: 'Font Light', Avenir, sans-serif;
  font-weight: normal;
  text-align: left;
  text-rendering: optimizeLegibility;
  line-height: calc(1.6em + (1.5 - 1.2) * ((100vw - 300px)/(1600 - 300)));
}

ul {
  -webkit-padding-start: 0;
          padding-inline-start: 0;
}


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

a, a:visited, a:hover, a:active {
  color: inherit;
}

a{
    cursor: pointer;
}

p{
  -webkit-margin-before:1em;
  margin-block-start:1em;
  -webkit-margin-after: 1em;
  margin-block-end: 1em;
  -webkit-margin-start: 0px;
  margin-inline-start: 0px;
  -webkit-margin-end: 0px;
  margin-inline-end: 0px;
}


p.th, ul.th{
  font-family: 'FontThai Light', Avenir, sans-serif;
  font-weight: lighter;

}

h1.th, h2.th{
  font-family: 'FontThai Bold', Avenir, sans-serif;
  font-weight: bolder;
}

h1 {
  font-size: calc(18px + (26 - 14) * ((100vw - 300px) / (1600 - 300)));
  line-height: calc(1.4em + (1.5 - 1.2) * ((100vw - 300px)/(1600 - 300)));
  font-family: 'Font Bold', Avenir, sans-serif;
  font-weight: bolder;
}

b {
  font-family: Font Bold;
}

.bold {
  font-family: 'Font Bold', Avenir, sans-serif;
}

.mono {
  font-family: 'Font Mono', sans-serif;
}

.mini-title {
  letter-spacing: .13em;
  text-transform:uppercase;
  margin: 0;
  font-size: calc(7px + 0.4vw);
  line-height: calc(0.5em + (1.5 - 1.2) * ((100vw - 300px)/(1600 - 300)));
}

.mini-text {
  font-size: calc(10px + 0.4vw);
  line-height: calc(1.4em + (1.5 - 1.2) * ((100vw - 300px)/(1600 - 300)));
}

.price-label{
  font-family: 'Font Mono', sans-serif;
  text-transform:uppercase;
  font-size: calc(14px + 0.4vw);
  line-height: calc(1em + (1.5 - 1.2) * ((100vw - 300px)/(1600 - 300)));
}

.cover {
    background: #1e1e1e;
    height: 100vh;
    width: 100%;
    position: relative;
    z-index: 0;
    background: url('../img/siridesign-fallback.png') center no-repeat;
    background-size: cover;
}

#uniform-hero {
   height: calc(100vh - (80px + 2vw));
   background: url('../img/uniforms/uniformhero.jpg') center no-repeat;
   background-size:cover;
   display: -webkit-box;
   display: -ms-flexbox;
   display: flex;
   -webkit-box-align: center;
       -ms-flex-align: center;
           align-items: center;
}

.cover-logo-holder{
  position: absolute;
  width: 100%;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.cover-logo{
  top: 2vw;
  left: 3vw;
  position: absolute;
  z-index: 999;
}

a.home-link {
  display: block;
  padding: 0;
  line-height:1;
}

.cover-logo-big {
    margin: 0 auto;
    z-index: 4;
}

.wrapper {
    position: relative;
    width: 100%;
    background: #fff;
    padding: 0;
}

header {
  background: #fff;
  width: 100%;
  height: calc(80px + 2vw);
}

footer {
  width: 100%;
  height: 650px; /*if you change this, have to change margin-bottom in .wrapper too*/
  background: #1e1e1e;
  color: #fff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align:center;
  -ms-flex-align:center;
  align-items:center;
  margin: 0 auto;
  position: fixed;
  bottom:0;
  z-index: -1;
}

footer .footer-text-link{
    color: #fff;
    text-decoration: none;
    display: inline-block;
    position: relative;
    cursor: pointer;
}

footer .footer-text-link:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 3px;
  bottom: 0;
  left: 0;
  background: #203cef;
  visibility: hidden;
  border-radius: 5px;
  -ms-transform: scaleX(0);
      transform: scaleX(0);
  -o-transition: .25s linear;
  transition: .25s linear;
   -webkit-transform: scaleX(0);
   -webkit-transition: .25s linear;
}
footer .footer-text-link:hover:before,
footer .footer-text-link:focus:before {
  visibility: visible;
  -ms-transform: scaleX(1);
      transform: scaleX(1);
  -webkit-transform: scaleX(1);
}

footer .bottom-space-fix{
  margin-bottom: 0 !important;
}


.about {
    max-width: 61vw;
    text-align: center;
    margin: 0 auto;
    padding: 6vw 0;
}

.about2 {
    text-align: left;
    margin: 0 auto;
    padding: 6vw 0;
}

.center-title {
  text-align: center;
  margin: 0 auto;
}

.vertical-spacer {
  padding: calc(15px + 0.4vw);
}

.row {
  margin: 0 auto;
  width: 80vw;
  position: relative;
  padding: 0 4vw;
  display: -webkit-box;
  display: flex;
    display: -ms-flexbox;
 flex-flow: row wrap;
  -ms-flex-flow: row wrap;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
align-items: flex-start;  
    -ms-flex-align: start;
    -webkit-box-align: start;
transform: translateZ(0);  
    -webkit-transform: translateZ(0);
}

.row .col {
  flex: 1 1 250px;
    -webkit-flex: 1 1 250px;
    -ms-flex: 1 1 250px; 
    -webkit-box-flex: 1;
}

.row .social-links {
  padding: 0 !important;
}

.row .social-links .vertical-spacer {
  padding-right: 0 !important;
}

.social-icon {
  width: 22px;
  height: 22px ;
  margin: 0 auto;
  -ms-flex-item-align: flex-start;
  -ms-grid-row-align: flex-start;
  align-self: flex-start;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.social-button{
  display: block;
  border-radius:50%;
  background: rgba(178,190,225,1);
  padding: 1vw;
  -webkit-transition: opacity 0.3s ease;
  -o-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}

.social-button:hover{
  border-radius:50%;
  background: rgba(178,190,225,0.8);
  -webkit-transition: opacity 0.3s ease;
  -o-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}

.row {
  padding: 2vw 0;
}

.description__services {
    margin-top: 4vw;
}

.case-study-text{
  color: #203cef;
}

.case-center-text {
  max-width: 800px;
  margin: 0 auto;
}

.case__container {
  height:100%;
  width: 100%;
  background: #f3f6f4;
  padding: 5vw 4vw;
}
.case-intro{
  padding: 5vw 0;
}

.tch-hero {
   height: calc(100vh - 100px);
   display: -webkit-box;
   display: -ms-flexbox;
   display: flex;
   -webkit-box-align: center;
       -ms-flex-align: center;
           align-items: center;
   background: url('../tch-img/tch-hero.jpg') #efe center center no-repeat; 
   background-size:cover; 
   -webkit-background-size: cover; 
   -moz-background-size: cover; 
   -o-background-size: cover;
}

.case--photos img{
  max-width: 500px;
  height: 100%;
  margin: 0 auto;
}

.case-img {
  max-width: 90%;
}

.case-img-center {
  max-width: 80%;
  margin: 0 auto;
}

.case-intro-grid{
  width: 100vw;
  display: grid;
  grid-template-columns: 1vw 2vw 4vw repeat(6, 1fr) 4vw 2vw 1vw;
  grid-template-rows: 3vw auto 3vw;
  grid-auto-flow: row;
  grid-gap: 1.5vw;
  background: #f3f6f4;
  align-items: first-baseline;
}

.case-intro-grid p {
  font-size: 1.8rem;
  line-height: 1.6;
}

.case-intro-grid .bold {
  font-weight: bold;
  font-family: 'Font Bold', sans-serif !important;
}

.text-center {
  max-width: 900px;
  margin: 0 auto;
  padding: 6vw 2vw;
  margin-bottom: 1.5vw;
}

.text-center p {
  font-size: 1.4rem;
  line-height: calc(1.6em + (1.5 - 1.2) * ((100vw - 300px)/(1600 - 300)));
}

.l-grid {
  width: 100vw;
  display: grid;
  grid-template-columns: 1vw 2vw 4vw repeat(6, 1fr) 4vw 2vw 1vw;
  grid-template-rows: 14vw;
  grid-auto-rows: 14vw;
  grid-auto-flow: row;
  grid-gap: 1.5vw;
  margin-bottom: 1.5vw;
}

/*.l-grid:first-child{
  margin: 0;
}*/

@media (max-width: 550px) {
  .l-grid {
    grid-template-columns: 1vw 2vw 2vw 2vw repeat(3, 1fr) 2vw 2vw 2vw 1vw;
    grid-template-rows: 21vw;
    grid-auto-rows: 21vw;
  }
  .case-intro-grid .x3-2 {
    grid-column: 2 / span 4 !important;
  }
  .case-intro-grid p{
  font-size: 1.4rem;
  line-height: 1.6;
  }
  .case-hero {
  height: 50vh;
  }
}

.case-intro-grid .x3-2 {
  grid-column: 4 / span 2;
  /*align-self: start;*/
}

.case-intro-grid .x6-4{
  grid-column: 7 / span 4;
}

.case-intro-grid .y3-3 {
  grid-row: 2/ span 1;
}

.case-intro-grid .y6-3 {
  grid-row: 7 / span 4;
}

.l-grid .x0-1 {
  grid-column: 1 / span 1;
}
.l-grid .y0-1 {
  grid-row: 1 / span 1;
}
.l-grid .x1-1 {
  grid-column: 2 / span 1;
}
.l-grid .y1-1 {
  grid-row: 2 / span 1;
}
.l-grid .x2-1 {
  grid-column: 3 / span 1;
}
.l-grid .y2-1 {
  grid-row: 3 / span 1;
}
.l-grid .x3-1 {
  grid-column: 4 / span 1;
}
.l-grid .y3-1 {
  grid-row: 4 / span 1;
}
.l-grid .x4-1 {
  grid-column: 5 / span 1;
}
.l-grid .y4-1 {
  grid-row: 5 / span 1;
}
.l-grid .x5-1 {
  grid-column: 6 / span 1;
}
.l-grid .y5-1 {
  grid-row: 6 / span 1;
}
.l-grid .x6-1 {
  grid-column: 7 / span 1;
}
.l-grid .y6-1 {
  grid-row: 7 / span 1;
}
.l-grid .x7-1 {
  grid-column: 8 / span 1;
}
.l-grid .y7-1 {
  grid-row: 8 / span 1;
}
.l-grid .x8-1 {
  grid-column: 9 / span 1;
}
.l-grid .y8-1 {
  grid-row: 9 / span 1;
}
.l-grid .x9-1 {
  grid-column: 10 / span 1;
}
.l-grid .y9-1 {
  grid-row: 10 / span 1;
}
.l-grid .x10-1 {
  grid-column: 11 / span 1;
}
.l-grid .y10-1 {
  grid-row: 11 / span 1;
}
.l-grid .x11-1 {
  grid-column: 12 / span 1;
}
.l-grid .y11-1 {
  grid-row: 12 / span 1;
}
.l-grid .x12-1 {
  grid-column: 13 / span 1;
}
.l-grid .y12-1 {
  grid-row: 13 / span 1;
}
.l-grid .x0-2 {
  grid-column: 1 / span 2;
}
.l-grid .y0-2 {
  grid-row: 1 / span 2;
}
.l-grid .x1-2 {
  grid-column: 2 / span 2;
}
.l-grid .y1-2 {
  grid-row: 2 / span 2;
}
.l-grid .x2-2 {
  grid-column: 3 / span 2;
}
.l-grid .y2-2 {
  grid-row: 3 / span 2;
}
.l-grid .x3-2 {
  grid-column: 4 / span 2;
}
.l-grid .y3-2 {
  grid-row: 4 / span 2;
}
.l-grid .x4-2 {
  grid-column: 5 / span 2;
}
.l-grid .y4-2 {
  grid-row: 5 / span 2;
}
.l-grid .x5-2 {
  grid-column: 6 / span 2;
}
.l-grid .y5-2 {
  grid-row: 6 / span 2;
}
.l-grid .x6-2 {
  grid-column: 7 / span 2;
}
.l-grid .y6-2 {
  grid-row: 7 / span 2;
}
.l-grid .x7-2 {
  grid-column: 8 / span 2;
}
.l-grid .y7-2 {
  grid-row: 8 / span 2;
}
.l-grid .x8-2 {
  grid-column: 9 / span 2;
}
.l-grid .y8-2 {
  grid-row: 9 / span 2;
}
.l-grid .x9-2 {
  grid-column: 10 / span 2;
}
.l-grid .y9-2 {
  grid-row: 10 / span 2;
}
.l-grid .x10-2 {
  grid-column: 11 / span 2;
}
.l-grid .y10-2 {
  grid-row: 11 / span 2;
}
.l-grid .x11-2 {
  grid-column: 12 / span 2;
}
.l-grid .y11-2 {
  grid-row: 12 / span 2;
}
.l-grid .x0-3 {
  grid-column: 1 / span 3;
}
.l-grid .y0-3 {
  grid-row: 1 / span 3;
}
.l-grid .x1-3 {
  grid-column: 2 / span 3;
}
.l-grid .y1-3 {
  grid-row: 2 / span 3;
}
.l-grid .x2-3 {
  grid-column: 3 / span 3;
}
.l-grid .y2-3 {
  grid-row: 3 / span 3;
}
.l-grid .x3-3 {
  grid-column: 4 / span 3;
}
.l-grid .y3-3 {
  grid-row: 4 / span 3;
}
.l-grid .x4-3 {
  grid-column: 5 / span 3;
}
.l-grid .y4-3 {
  grid-row: 5 / span 3;
}
.l-grid .x5-3 {
  grid-column: 6 / span 3;
}
.l-grid .y5-3 {
  grid-row: 6 / span 3;
}
.l-grid .x6-3 {
  grid-column: 7 / span 3;
}
.l-grid .y6-3 {
  grid-row: 7 / span 3;
}
.l-grid .x7-3 {
  grid-column: 8 / span 3;
}
.l-grid .y7-3 {
  grid-row: 8 / span 3;
}
.l-grid .x8-3 {
  grid-column: 9 / span 3;
}
.l-grid .y8-3 {
  grid-row: 9 / span 3;
}
.l-grid .x9-3 {
  grid-column: 10 / span 3;
}
.l-grid .y9-3 {
  grid-row: 10 / span 3;
}
.l-grid .x10-3 {
  grid-column: 11 / span 3;
}
.l-grid .y10-3 {
  grid-row: 11 / span 3;
}
.l-grid .x0-4 {
  grid-column: 1 / span 4;
}
.l-grid .y0-4 {
  grid-row: 1 / span 4;
}
.l-grid .x1-4 {
  grid-column: 2 / span 4;
}
.l-grid .y1-4 {
  grid-row: 2 / span 4;
}
.l-grid .x2-4 {
  grid-column: 3 / span 4;
}
.l-grid .y2-4 {
  grid-row: 3 / span 4;
}
.l-grid .x3-4 {
  grid-column: 4 / span 4;
}
.l-grid .y3-4 {
  grid-row: 4 / span 4;
}
.l-grid .x4-4 {
  grid-column: 5 / span 4;
}
.l-grid .y4-4 {
  grid-row: 5 / span 4;
}
.l-grid .x5-4 {
  grid-column: 6 / span 4;
}
.l-grid .y5-4 {
  grid-row: 6 / span 4;
}
.l-grid .x6-4 {
  grid-column: 7 / span 4;
}
.l-grid .y6-4 {
  grid-row: 7 / span 4;
}
.l-grid .x7-4 {
  grid-column: 8 / span 4;
}
.l-grid .y7-4 {
  grid-row: 8 / span 4;
}
.l-grid .x8-4 {
  grid-column: 9 / span 4;
}
.l-grid .y8-4 {
  grid-row: 9 / span 4;
}
.l-grid .x9-4 {
  grid-column: 10 / span 4;
}
.l-grid .y9-4 {
  grid-row: 10 / span 4;
}
.l-grid .x0-5 {
  grid-column: 1 / span 5;
}
.l-grid .y0-5 {
  grid-row: 1 / span 5;
}
.l-grid .x1-5 {
  grid-column: 2 / span 5;
}
.l-grid .y1-5 {
  grid-row: 2 / span 5;
}
.l-grid .x2-5 {
  grid-column: 3 / span 5;
}
.l-grid .y2-5 {
  grid-row: 3 / span 5;
}
.l-grid .x3-5 {
  grid-column: 4 / span 5;
}
.l-grid .y3-5 {
  grid-row: 4 / span 5;
}
.l-grid .x4-5 {
  grid-column: 5 / span 5;
}
.l-grid .y4-5 {
  grid-row: 5 / span 5;
}
.l-grid .x5-5 {
  grid-column: 6 / span 5;
}
.l-grid .y5-5 {
  grid-row: 6 / span 5;
}
.l-grid .x6-5 {
  grid-column: 7 / span 5;
}
.l-grid .y6-5 {
  grid-row: 7 / span 5;
}
.l-grid .x7-5 {
  grid-column: 8 / span 5;
}
.l-grid .y7-5 {
  grid-row: 8 / span 5;
}
.l-grid .x8-5 {
  grid-column: 9 / span 5;
}
.l-grid .y8-5 {
  grid-row: 9 / span 5;
}
.l-grid .x0-6 {
  grid-column: 1 / span 6;
}
.l-grid .y0-6 {
  grid-row: 1 / span 6;
}
.l-grid .x1-6 {
  grid-column: 2 / span 6;
}
.l-grid .y1-6 {
  grid-row: 2 / span 6;
}
.l-grid .x2-6 {
  grid-column: 3 / span 6;
}
.l-grid .y2-6 {
  grid-row: 3 / span 6;
}
.l-grid .x3-6 {
  grid-column: 4 / span 6;
}
.l-grid .y3-6 {
  grid-row: 4 / span 6;
}
.l-grid .x4-6 {
  grid-column: 5 / span 6;
}
.l-grid .y4-6 {
  grid-row: 5 / span 6;
}
.l-grid .x5-6 {
  grid-column: 6 / span 6;
}
.l-grid .y5-6 {
  grid-row: 6 / span 6;
}
.l-grid .x6-6 {
  grid-column: 7 / span 6;
}
.l-grid .y6-6 {
  grid-row: 7 / span 6;
}
.l-grid .x7-6 {
  grid-column: 8 / span 6;
}
.l-grid .y7-6 {
  grid-row: 8 / span 6;
}
.l-grid .x0-7 {
  grid-column: 1 / span 7;
}
.l-grid .y0-7 {
  grid-row: 1 / span 7;
}
.l-grid .x1-7 {
  grid-column: 2 / span 7;
}
.l-grid .y1-7 {
  grid-row: 2 / span 7;
}
.l-grid .x2-7 {
  grid-column: 3 / span 7;
}
.l-grid .y2-7 {
  grid-row: 3 / span 7;
}
.l-grid .x3-7 {
  grid-column: 4 / span 7;
}
.l-grid .y3-7 {
  grid-row: 4 / span 7;
}
.l-grid .x4-7 {
  grid-column: 5 / span 7;
}
.l-grid .y4-7 {
  grid-row: 5 / span 7;
}
.l-grid .x5-7 {
  grid-column: 6 / span 7;
}
.l-grid .y5-7 {
  grid-row: 6 / span 7;
}
.l-grid .x6-7 {
  grid-column: 7 / span 7;
}
.l-grid .y6-7 {
  grid-row: 7 / span 7;
}
.l-grid .x0-8 {
  grid-column: 1 / span 8;
}
.l-grid .y0-8 {
  grid-row: 1 / span 8;
}
.l-grid .x1-8 {
  grid-column: 2 / span 8;
}
.l-grid .y1-8 {
  grid-row: 2 / span 8;
}
.l-grid .x2-8 {
  grid-column: 3 / span 8;
}
.l-grid .y2-8 {
  grid-row: 3 / span 8;
}
.l-grid .x3-8 {
  grid-column: 4 / span 8;
}
.l-grid .y3-8 {
  grid-row: 4 / span 8;
}
.l-grid .x4-8 {
  grid-column: 5 / span 8;
}
.l-grid .y4-8 {
  grid-row: 5 / span 8;
}
.l-grid .x5-8 {
  grid-column: 6 / span 8;
}
.l-grid .y5-8 {
  grid-row: 6 / span 8;
}
.l-grid .x0-9 {
  grid-column: 1 / span 9;
}
.l-grid .y0-9 {
  grid-row: 1 / span 9;
}
.l-grid .x1-9 {
  grid-column: 2 / span 9;
}
.l-grid .y1-9 {
  grid-row: 2 / span 9;
}
.l-grid .x2-9 {
  grid-column: 3 / span 9;
}
.l-grid .y2-9 {
  grid-row: 3 / span 9;
}
.l-grid .x3-9 {
  grid-column: 4 / span 9;
}
.l-grid .y3-9 {
  grid-row: 4 / span 9;
}
.l-grid .x4-9 {
  grid-column: 5 / span 9;
}
.l-grid .y4-9 {
  grid-row: 5 / span 9;
}
.l-grid .x0-10 {
  grid-column: 1 / span 10;
}
.l-grid .y0-10 {
  grid-row: 1 / span 10;
}
.l-grid .x1-10 {
  grid-column: 2 / span 10;
}
.l-grid .y1-10 {
  grid-row: 2 / span 10;
}
.l-grid .x2-10 {
  grid-column: 3 / span 10;
}
.l-grid .y2-10 {
  grid-row: 3 / span 10;
}
.l-grid .x3-10 {
  grid-column: 4 / span 10;
}
.l-grid .y3-10 {
  grid-row: 4 / span 10;
}
.l-grid .x0-11 {
  grid-column: 1 / span 11;
}
.l-grid .y0-11 {
  grid-row: 1 / span 11;
}
.l-grid .x1-11 {
  grid-column: 2 / span 11;
}
.l-grid .y1-11 {
  grid-row: 2 / span 11;
}
.l-grid .x2-11 {
  grid-column: 3 / span 11;
}
.l-grid .y2-11 {
  grid-row: 3 / span 11;
}
.l-grid .b {
  -ms-flex-item-align: end;
  align-self: end;
}
.l-grid .r {
  text-align: right;
}

@media (max-width: 750px) {
  .l-grid .mt {
    -ms-flex-item-align: start;
    align-self: start;
  }
  .l-grid .ml {
    text-align: left;
  }
  .l-grid .x3-6 {
    grid-column: 4 / span 5;
  }
  .l-grid .x6-7 { 
    grid-column: 7 / span 4;
  }
  .l-grid .x1-10 {
    grid-column: 1 / span 11;
  }
  .l-grid .my1-3 {
    grid-row: 2 / span 3;
  }
  .l-grid .mx5-2 {
    grid-column: 5 / span 2;
  }
  .l-grid .my3-1 {
    grid-row: 5 / span 1;
  }
    .l-grid .mx4-2 {
    grid-column: 4 / span 3;
  }
  .l-grid .mx6-2 {
    grid-column: 7 / span 2;
  }
    .l-grid .mx4-3 {
    grid-column: 5 / span 3;
  }
  .l-grid {
  width: 100vw;
  display: grid;
  grid-template-columns: 1vw 2vw 4vw repeat(5, 1fr) 4vw 2vw 1vw !important;
  grid-template-rows: 14.2vw;
  grid-auto-rows: 14.2vw;
  grid-auto-flow: row;
  grid-gap: 1.5vw;
  margin-bottom: 1.5vw;
  }
   .b-photo__caption {
    font-size: 0.85rem !important;
    line-height: 1.35;
  }
  .case-intro-grid p{
  font-size: 1.4rem;
  line-height: 1.6;
  }
}



@media (max-width: 550px) {
  .l-grid .mt {
    -ms-flex-item-align: start;
    align-self: start;
  }
  .l-grid .sl {
    text-align: left;
  }
  .l-grid .sx0-1 {
    grid-column: 1 / span 1;
  }
  .l-grid .sy0-1 {
    grid-row: 1 / span 1;
  }
  .l-grid .sx1-1 {
    grid-column: 2 / span 1;
  }
  .l-grid .sy1-1 {
    grid-row: 2 / span 1;
  }
  .l-grid .sx2-1 {
    grid-column: 3 / span 1;
  }
  .l-grid .sy2-1 {
    grid-row: 3 / span 1;
  }
  .l-grid .sx3-1 {
    grid-column: 4 / span 1;
  }
  .l-grid .sy3-1 {
    grid-row: 4 / span 1;
  }
  .l-grid .sx4-1 {
    grid-column: 5 / span 1;
  }
  .l-grid .sy4-1 {
    grid-row: 5 / span 1;
  }
  .l-grid .sx5-1 {
    grid-column: 6 / span 1;
  }
  .l-grid .sy5-1 {
    grid-row: 6 / span 1;
  }
  .l-grid .sx6-1 {
    grid-column: 7 / span 1;
  }
  .l-grid .sy6-1 {
    grid-row: 7 / span 1;
  }
  .l-grid .sx7-1 {
    grid-column: 8 / span 1;
  }
  .l-grid .sy7-1 {
    grid-row: 8 / span 1;
  }
  .l-grid .sx8-1 {
    grid-column: 9 / span 1;
  }
  .l-grid .sy8-1 {
    grid-row: 9 / span 1;
  }
  .l-grid .sx9-1 {
    grid-column: 10 / span 1;
  }
  .l-grid .sy9-1 {
    grid-row: 10 / span 1;
  }
  .l-grid .sx10-1 {
    grid-column: 11 / span 1;
  }
  .l-grid .sy10-1 {
    grid-row: 11 / span 1;
  }
  .l-grid .sx11-1 {
    grid-column: 12 / span 1;
  }
  .l-grid .sy11-1 {
    grid-row: 12 / span 1;
  }
  .l-grid .sx0-2 {
    grid-column: 1 / span 2;
  }
  .l-grid .sy0-2 {
    grid-row: 1 / span 2;
  }
  .l-grid .sx1-2 {
    grid-column: 2 / span 2;
  }
  .l-grid .sy1-2 {
    grid-row: 2 / span 2;
  }
  .l-grid .sx2-2 {
    grid-column: 3 / span 2;
  }
  .l-grid .sy2-2 {
    grid-row: 3 / span 2;
  }
  .l-grid .sx3-2 {
    grid-column: 4 / span 2;
  }
  .l-grid .sy3-2 {
    grid-row: 4 / span 2;
  }
  .l-grid .sx4-2 {
    grid-column: 5 / span 2;
  }
  .l-grid .sy4-2 {
    grid-row: 5 / span 2;
  }
  .l-grid .sx5-2 {
    grid-column: 6 / span 2;
  }
  .l-grid .sy5-2 {
    grid-row: 6 / span 2;
  }
  .l-grid .sx6-2 {
    grid-column: 7 / span 2;
  }
  .l-grid .sy6-2 {
    grid-row: 7 / span 2;
  }
  .l-grid .sx7-2 {
    grid-column: 8 / span 2;
  }
  .l-grid .sy7-2 {
    grid-row: 8 / span 2;
  }
  .l-grid .sx8-2 {
    grid-column: 9 / span 2;
  }
  .l-grid .sy8-2 {
    grid-row: 9 / span 2;
  }
  .l-grid .sx9-2 {
    grid-column: 10 / span 2;
  }
  .l-grid .sy9-2 {
    grid-row: 10 / span 2;
  }
  .l-grid .sx10-2 {
    grid-column: 11 / span 2;
  }
  .l-grid .sy10-2 {
    grid-row: 11 / span 2;
  }
  .l-grid .sx0-3 {
    grid-column: 1 / span 3;
  }
  .l-grid .sy0-3 {
    grid-row: 1 / span 3;
  }
  .l-grid .sx1-3 {
    grid-column: 2 / span 3;
  }
  .l-grid .sy1-3 {
    grid-row: 2 / span 3;
  }
  .l-grid .sx2-3 {
    grid-column: 3 / span 3;
  }
  .l-grid .sy2-3 {
    grid-row: 3 / span 3;
  }
  .l-grid .sx3-3 {
    grid-column: 4 / span 3;
  }
  .l-grid .sy3-3 {
    grid-row: 4 / span 3;
  }
  .l-grid .sx4-3 {
    grid-column: 5 / span 3;
  }
  .l-grid .sy4-3 {
    grid-row: 5 / span 3;
  }
  .l-grid .sx5-3 {
    grid-column: 6 / span 3;
  }
  .l-grid .sy5-3 {
    grid-row: 6 / span 3;
  }
  .l-grid .sx6-3 {
    grid-column: 7 / span 3;
  }
  .l-grid .sy6-3 {
    grid-row: 7 / span 3;
  }
  .l-grid .sx7-3 {
    grid-column: 8 / span 3;
  }
  .l-grid .sy7-3 {
    grid-row: 8 / span 3;
  }
  .l-grid .sx8-3 {
    grid-column: 9 / span 3;
  }
  .l-grid .sy8-3 {
    grid-row: 9 / span 3;
  }
  .l-grid .sx9-3 {
    grid-column: 10 / span 3;
  }
  .l-grid .sy9-3 {
    grid-row: 10 / span 3;
  }
  .l-grid .sx0-4 {
    grid-column: 1 / span 4;
  }
  .l-grid .sy0-4 {
    grid-row: 1 / span 4;
  }
  .l-grid .sx1-4 {
    grid-column: 2 / span 4;
  }
  .l-grid .sy1-4 {
    grid-row: 2 / span 4;
  }
  .l-grid .sx2-4 {
    grid-column: 3 / span 4;
  }
  .l-grid .sy2-4 {
    grid-row: 3 / span 4;
  }
  .l-grid .sx3-4 {
    grid-column: 4 / span 4;
  }
  .l-grid .sy3-4 {
    grid-row: 4 / span 4;
  }
  .l-grid .sx4-4 {
    grid-column: 5 / span 4;
  }
  .l-grid .sy4-4 {
    grid-row: 5 / span 4;
  }
  .l-grid .sx5-4 {
    grid-column: 6 / span 4;
  }
  .l-grid .sy5-4 {
    grid-row: 6 / span 4;
  }
  .l-grid .sx6-4 {
    grid-column: 7 / span 4;
  }
  .l-grid .sy6-4 {
    grid-row: 7 / span 4;
  }
  .l-grid .sx7-4 {
    grid-column: 7 / span 4;
  }
  .l-grid .sy7-4 {
    grid-row: 8 / span 4;
  }
  .l-grid .sx8-4 {
    grid-column: 9 / span 4;
  }
  .l-grid .sy8-4 {
    grid-row: 9 / span 4;
  }
  .l-grid .sx0-5 {
    grid-column: 1 / span 5;
  }
  .l-grid .sy0-5 {
    grid-row: 1 / span 5;
  }
  .l-grid .sx1-5 {
    grid-column: 2 / span 5;
  }
  .l-grid .sy1-5 {
    grid-row: 2 / span 5;
  }
  .l-grid .sx2-5 {
    grid-column: 3 / span 5;
  }
  .l-grid .sy2-5 {
    grid-row: 3 / span 5;
  }
  .l-grid .sx3-5 {
    grid-column: 4 / span 5;
  }
  .l-grid .sy3-5 {
    grid-row: 4 / span 5;
  }
  .l-grid .sx4-5 {
    grid-column: 5 / span 5;
  }
  .l-grid .sy4-5 {
    grid-row: 5 / span 5;
  }
  .l-grid .sx5-5 {
    grid-column: 6 / span 5;
  }
  .l-grid .sy5-5 {
    grid-row: 6 / span 5;
  }
  .l-grid .sx6-5 {
    grid-column: 7 / span 5;
  }
  .l-grid .sy6-5 {
    grid-row: 7 / span 5;
  }
  .l-grid .sx7-5 {
    grid-column: 8 / span 5;
  }
  .l-grid .sy7-5 {
    grid-row: 8 / span 5;
  }
  .l-grid .sx0-6 {
    grid-column: 1 / span 6;
  }
  .l-grid .sy0-6 {
    grid-row: 1 / span 6;
  }
  .l-grid .sx1-6 {
    grid-column: 2 / span 6;
  }
  .l-grid .sy1-6 {
    grid-row: 2 / span 6;
  }
  .l-grid .sx2-6 {
    grid-column: 3 / span 6;
  }
  .l-grid .sy2-6 {
    grid-row: 3 / span 6;
  }
  .l-grid .sx3-6 {
    grid-column: 4 / span 6;
  }
  .l-grid .sy3-6 {
    grid-row: 4 / span 6;
  }
  .l-grid .sx4-6 {
    grid-column: 5 / span 6;
  }
  .l-grid .sy4-6 {
    grid-row: 5 / span 6;
  }
  .l-grid .sx5-6 {
    grid-column: 6 / span 6;
  }
  .l-grid .sy5-6 {
    grid-row: 6 / span 6;
  }
  .l-grid .sx6-6 {
    grid-column: 7 / span 6;
  }
  .l-grid .sy6-6 {
    grid-row: 7 / span 6;
  }
  .l-grid .sx0-7 {
    grid-column: 1 / span 7;
  }
  .l-grid .sy0-7 {
    grid-row: 1 / span 7;
  }
  .l-grid .sx1-7 {
    grid-column: 2 / span 7;
  }
  .l-grid .sy1-7 {
    grid-row: 2 / span 7;
  }
  .l-grid .sx2-7 {
    grid-column: 3 / span 7;
  }
  .l-grid .sy2-7 {
    grid-row: 3 / span 7;
  }
  .l-grid .sx3-7 {
    grid-column: 4 / span 7;
  }
  .l-grid .sy3-7 {
    grid-row: 4 / span 7;
  }
  .l-grid .sx4-7 {
    grid-column: 5 / span 7;
  }
  .l-grid .sy4-7 {
    grid-row: 5 / span 7;
  }
  .l-grid .sx5-7 {
    grid-column: 6 / span 7;
  }
  .l-grid .sy5-7 {
    grid-row: 6 / span 7;
  }
  .l-grid .sx0-8 {
    grid-column: 1 / span 8;
  }
  .l-grid .sy0-8 {
    grid-row: 1 / span 8;
  }
  .l-grid .sx1-8 {
    grid-column: 2 / span 8;
  }
  .l-grid .sy1-8 {
    grid-row: 2 / span 8;
  }
  .l-grid .sx2-8 {
    grid-column: 3 / span 8;
  }
  .l-grid .sy2-8 {
    grid-row: 3 / span 8;
  }
  .l-grid .sx3-8 {
    grid-column: 4 / span 8;
  }
  .l-grid .sy3-8 {
    grid-row: 4 / span 8;
  }
  .l-grid .sx4-8 {
    grid-column: 5 / span 8;
  }
  .l-grid .sy4-8 {
    grid-row: 5 / span 8;
  }
  .l-grid .sx0-9 {
    grid-column: 1 / span 9;
  }
  .l-grid .sy0-9 {
    grid-row: 1 / span 9;
  }
  .l-grid .sx1-9 {
    grid-column: 2 / span 9;
  }
  .l-grid .sy1-9 {
    grid-row: 2 / span 9;
  }
  .l-grid .sx2-9 {
    grid-column: 3 / span 9;
  }
  .l-grid .sy2-9 {
    grid-row: 3 / span 9;
  }
  .l-grid .sx3-9 {
    grid-column: 4 / span 9;
  }
  .l-grid .sy3-9 {
    grid-row: 4 / span 9;
  }
  .l-grid .sx0-10 {
    grid-column: 1 / span 10;
  }
  .l-grid .sy0-10 {
    grid-row: 1 / span 10;
  }
  .l-grid .sx1-10 {
    grid-column: 2 / span 10;
  }
  .l-grid .sy1-10 {
    grid-row: 2 / span 10;
  }
  .l-grid .sx2-10 {
    grid-column: 3 / span 10;
  }
  .l-grid .sy2-10 {
    grid-row: 3 / span 10;
  }
  .l-grid .sx0-11 {
    grid-column: 1 / span 11;
  }
  .l-grid .sy0-11 {
    grid-row: 1 / span 11;
  }
  .l-grid .sx1-11 {
    grid-column: 2 / span 11;
  }
  .l-grid .sy1-11 {
    grid-row: 2 / span 11;
  }
}
.b-photo__caption {
    font-size: 0.85rem;
    line-height: 1.35;
}

.b-photo {
    background-color: rgba(0, 0, 0, 0.1);
    position: relative;
}

.b-photo img{
  display: block;
  width: 100%;
  height: 100%;
  max-height: 100%;
  max-width: 100%;
  object-fit: cover;
  object-position: center center;
  overflow-clip-margin: content-box;
  overflow: clip;
}

.b-photo img.l {
    object-position: 0px center;
}

.b-photo img.lc {
    object-position: -150px center;
}


/*.case__container p{
  width: 40vw;
  margin: 0 auto;
  font-size: calc(10px + (26 - 14) * ((100vw - 300px) / (1600 - 300)));
  line-height: calc(1.6em + (1.5 - 1.2) * ((100vw - 300px)/(1600 - 300)));
}*/



@media screen and (max-width: 750px) {
    .social-icon {
    width: 20px;
    height: 20px;
  }
    .social-button{
    padding: 10px;
  }
    .row .col {
    flex: 1 1 200px;
    -webkit-flex: 1 1 200px;
    -ms-flex: 1 1 200px; 
    -webkit-box-flex: 1;
  }
   .row .case__content{
    flex: 1 1 100%;
  }

  .row .address-box {
     -webkit-flex: 1 1 300px;
    -ms-flex: 1 1 300px; 
    -webkit-box-flex: 1;
  }
}

@media screen and (max-width: 550px) {
  .row .col {
    flex: 1 1 150px;
    -webkit-flex: 1 1 150px;
    -ms-flex: 1 1 150px; 
    -webkit-box-flex: 1;
  }

  .row .case__content{
    flex: 1 1 100%;
  }

  .row .address-box {
     -webkit-flex: 1 1 300px;
    -ms-flex: 1 1 300px; 
    -webkit-box-flex: 1;
  }

  footer h1 {
    font-size: 16px;
  }
}

.case-studies {
  padding:  0 3vw;
}

.description__title {
  max-width: 30vw;
}
.case{
  display: flex;
  flex-wrap: wrap;
}

.tab-label {
  order: -1;
  position: relative;
  
  input {
    width: 0;
    height: 0;
    position: absolute;
    opacity: 0;
  }
}

.tab-label:first-child{
  margin-left: 3vw;
  display: none; 
  /*above is temporary for only one case*/
}

.tab-label:has(input:checked) + .tab-content {
  display: flex;
  background: #f3f6f4;
}

.tab-content {
  width: 100%;
  display: none;
  height: 500px;
}

/* styling */
.tab-label {
  padding: 1vw 2vw;
  cursor: pointer;
  transition: 0.2s;
}

.tab-label:hover,
.tab-label:has(input:checked) {
  color: #fff;
  background-color: #000;
}

.tab-label:focus-within {
  z-index: 1;
  outline: 2px solid #027fff;
}

.case-link{
  color: #203cef;
  text-decoration: underline;
}

.case-left{
  display: flex;
  flex-direction: column;
  flex-basis: 100%;
  flex: 2;
  padding: 0 3vw;
  align-self: center;
}

.case-right{
  background: url('../img/uniforms/case-studies/CSVP/CSVP-hero.jpg') left no-repeat;
  background-size: cover;
  display: flex;
  flex-direction: column;
  flex-basis: 100%;
  flex: 3;
  padding: 0 3vw;
}

.case-section {
  padding-left:  3vw;
  padding-right:  3vw;
}

.case-section-container {
  --columns: 12; /* number of columns in the grid system */
  width:  100%;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
}

.column {
  --width: 0; /* default value */
  
  background-color: pink;
  flex-basis: calc(var(--width) / var(--columns) * 100%);
}

.casetext {
  --width: 4;
}

.casepicture{
  --width:  8;
}

.casetext h2 {
  font-family:  "Font Bold";
}

.slide-port {
  width: calc(100% - 6rem) !important;
}

#portfolio-section {
  position:relative;
}

#portfolio-section, #services-section {
  margin: 0 auto;
  padding: 3vw;
}

.owl-carousel .owl-stage-outer {
    position: relative;
    overflow: hidden;
    -webkit-transform: translate3d(0,0,0);
}

.owl-carousel .owl-nav {
  position: absolute;
  top: 50%;
  right:0;
  left: 0;
}

.updates .owl-nav {
	display: none;
}
.owl-nav span{
  display: none;
}

.owl-carousel .owl-dots {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding-top: 2rem;
}

.owl-carousel .owl-dots .owl-dot {
    display: inline-block;
    outline: none;
    width: 40px;
    height: 5px;
    margin-right: 10px;
    background-color: tomato;
}

.owl-carousel .owl-dots .owl-dot.active {
    background-color: #203cef;
}

.owl-carousel .owl-nav .owl-next:before, .owl-carousel .owl-nav .owl-prev:before {
    content: '';
    display: block;
    width: 2rem;
    height: 2rem;
    border: 1px solid transparent;
    border-top: 5px solid #000;
    border-left: 5px solid #000;
}

.owl-carousel .owl-nav .owl-next, .owl-carousel .owl-nav .owl-prev {
    position: absolute;
    }

.owl-carousel .owl-nav .owl-next {
  right: 0;
  -webkit-transform: rotate(135deg);
  -ms-transform: rotate(135deg);
      transform: rotate(135deg);
}

.owl-carousel .owl-nav .owl-prev {
    left: 0;
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
        transform: rotate(-45deg);
}


/* Menu silliness */
/* ----------------------------------------------------------------------------------------------- */
/* ----------------------------------------------------------------------------------------------- */
/* ----------------------------------------------------------------------------------------------- */
/* ----------------------------------------------------------------------------------------------- */

/* Menu style */
.container {
  position: absolute;
  width: 100%;
  text-align: center;
  left: 0;
  margin: 0 auto;
  z-index: 5;
}

.menu-link{
  display: inline-block !important;
  position: relative;
  text-align: center;
  color: #1abc9c;
  text-decoration: none;
  overflow: hidden;
  top: 5px;
}

.menu-link:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 3px;
  bottom: 0;
  left: 0;
  background: #1abc9c;
  visibility: hidden;
  border-radius: 5px;
  -ms-transform: scaleX(0);
      transform: scaleX(0);
  -o-transition: .25s linear;
  transition: .25s linear;
   -webkit-transform: scaleX(0);
   -webkit-transition: .25s linear;
}
.menu-link:hover:before,
.menu-link:focus:before {
  visibility: visible;
  -ms-transform: scaleX(1);
      transform: scaleX(1);
  -webkit-transform: scaleX(1);
}

.button_container {
  overflow: hidden;
  position: fixed;
  top: 3vw;
  right: 3vw;
  height: 27px;
  width: 35px;
  cursor: pointer;
  z-index: 100;
  -webkit-transition: opacity .25s ease;
  -o-transition: opacity .25s ease;
  transition: opacity .25s ease;
}
.button_container:hover, .button_container:focus {
  opacity: .7;
}
.button_container.active .top {
  -webkit-transform: translateY(11px) translateX(0) rotate(45deg);
      -ms-transform: translateY(11px) translateX(0) rotate(45deg);
          transform: translateY(11px) translateX(0) rotate(45deg);
  background: #FFF;
}
.button_container.active .middle {
  opacity: 0;
  background: #FFF;
}
.button_container.active .bottom {
  -webkit-transform: translateY(-11px) translateX(0) rotate(-45deg);
      -ms-transform: translateY(-11px) translateX(0) rotate(-45deg);
          transform: translateY(-11px) translateX(0) rotate(-45deg);
  background: #FFF;
}

.button_container span {
  background: #203cef;
  border: none;
  height: 5px;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  -webkit-transition: all .35s ease;
  -o-transition: all .35s ease;
  transition: all .35s ease;
  cursor: pointer;
}
.button_container span:nth-of-type(2) {
  top: 11px;
}
.button_container span:nth-of-type(3) {
  top: 22px;
}

.overlay {
  position: fixed;
  background: #203cef;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: opacity .35s, visibility .35s, height .35s;
  -o-transition: opacity .35s, visibility .35s, height .35s;
  transition: opacity .35s, visibility .35s, height .35s;
  overflow: hidden;
  z-index: 2;
}
.overlay.open {
  opacity: .9;
  visibility: visible;
  height: 100%;
}
.overlay.open li {
  -webkit-animation: fadeInRight .5s ease forwards;
          animation: fadeInRight .5s ease forwards;
  -webkit-animation-delay: .35s;
          animation-delay: .35s;
}
.overlay.open li:nth-of-type(2) {
  -webkit-animation-delay: .4s;
          animation-delay: .4s;
}
.overlay.open li:nth-of-type(3) {
  -webkit-animation-delay: .45s;
          animation-delay: .45s;
}
.overlay.open li:nth-of-type(4) {
  -webkit-animation-delay: .50s;
          animation-delay: .50s;
}
.overlay nav {
  position: relative;
  height: 70%;
  top: 50%;
  -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
          transform: translateY(-50%);
  text-align: center;
}
.overlay ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: inline-block;
  position: relative;
  height: 100%;
}
.overlay ul li {
  display: block;
  height: 25%;
  height: calc(100% / 5);
  min-height: 50px;
  opacity: 0;
   font-size: calc(50px + (26 - 14) * ((100vw - 300px) / (1600 - 300)));
  line-height: calc(1.4em + (1.5 - 1.2) * ((100vw - 300px)/(1600 - 300)));
  font-family: 'Font Bold', sans-serif;
  font-weight: bold;
}
.overlay ul li a {
  display: block;
  position: relative;
  color: #FFF;
  text-decoration: none;
  overflow: hidden;
}
.overlay ul li a:hover:after, .overlay ul li a:focus:after, .overlay ul li a:active:after {
  width: 100%;
}
.overlay ul li a:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0%;
  -webkit-transform: translateX(-50%);
      -ms-transform: translateX(-50%);
          transform: translateX(-50%);
  height: 3px;
  background: #FFF;
  -webkit-transition: .35s;
  -o-transition: .35s;
  transition: .35s;
}

@-webkit-keyframes fadeInRight {
  0% {
    opacity: 0;
    left: 20%;
  }
  100% {
    opacity: 1;
    left: 0;
  }
}

@keyframes fadeInRight {
  0% {
    opacity: 0;
    left: 20%;
  }
  100% {
    opacity: 1;
    left: 0;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
}

.-js-fadeIn {
  -webkit-animation-name: fadeIn;
          animation-name: fadeIn;
  -webkit-animation-duration: 2s;
          animation-duration: 2s;
  -webkit-animation-timing-function: cubic-bezier(0, 0, 0.4, 1);
          animation-timing-function: cubic-bezier(0, 0, 0.4, 1);
  -webkit-animation-fill-mode: forwards;
          animation-fill-mode: forwards;
}

@-webkit-keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

.