body {
/*  background-color: #DC3E37;*/
  font-family: Helvetica, Arial, sans-serif;
}

body.modal {
  height: 100vh;
  overflow-y: hidden;
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
}

/* LOGO */

h1.site-title {
  position: absolute;
  display: inline-block;
  background: #fff;
  padding: 4rem;
  padding-top: 3rem;
  padding-bottom: 3rem;
  margin: 0;
}

h1.site-title a {
  display: block;
  height: 90px;
  width: 200px;
  background-image: url('static/the-practice.svg');
  background-repeat: no-repeat;
  background-size: contain;
}

@media screen and (max-width: 980px) {
  h1.site-title {
    padding: 2rem;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }
  h1.site-title a {
    height: 80px;
  }
}

h1.site-title span {
  display: none;
}

body.admin-bar .main-navigation {
  margin-top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar .main-navigation {
    margin-top: 46px;
  }
}

/* NAVIGATION */

.main-navigation {
  display: block;
  width: auto;
  top: 0;
  position: absolute;
  width: 100%;
  text-align: right;
  z-index: 0;
}

@media screen and (max-width: 980px) {
  .main-navigation ul {
    opacity: 0;
  }
}

.hidden {
  display: none;
}

ul.menu { 
  float: right;
  margin: 2rem;
  margin-right: 6rem;
}

ul.menu li {
  margin-right: 2rem;
}

ul.menu li a {
  color: #2a2a2a;
  font-family: 'Libre Franklin';
  font-weight: normal;
}

ul.menu li a:hover {
  text-shadow: 0 0 1px black;
  /* text-shadow: 1px 1px 2px rgba(150, 150, 150, 0.5); */
}

ul.menu li.current-menu-item a {
  font-weight: bold;
}

ul.menu li.current-menu-item a[href*="casestudies"] { 
  font-weight: normal;
}

/* SPLASH PAGE */

.content-splash {
  background-color: #dc3e37;
  background-image: url('static/background-splash.png');
  background-repeat: no-repeat;
  width: 100vw;
  height: 100vh;
  margin-top: 5.5rem;
}

@media screen and (min-width: 2048px) {
  .content-splash {
    background-size: cover;
  }
}

@media screen and (min-height: 1152px) {
  .content-splash {
    background-size: cover;
  }
}

.content-splash p {
  text-align: center;
  color: #fff;
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-right: -50%;
  transform: translate(-50%, -50%);
  font-family: 'Libre Franklin';
  font-weight: bold;
  font-size: 3rem;
  opacity: 0;
}

.content-splash .entry-content {
  opacity: 1;
  transition: opacity 1s;
  transition-delay: 1s;
  margin-left: 8vw;
  margin-right: 8vw;
}

.content-splash .entry-content.resizing {
  opacity: 0 !important;
  transition: opacity 0;
  transition-delay: 0;
}

.content-splash p:nth-child(1) {
  opacity: 1;
}

@media screen and (max-width: 980px) {
  .content-splash {
    background-position: center center;
    background-size: cover;
    height: 80vh;
    /*margin-top: 3.75rem;*/
  }
  .content-splash p {
    /*font-size: 2rem;*/
    /*margin-top: 2rem;*/
    padding: 1rem;
  }
}

@media screen and (max-width: 600px) {
  .content-splash p {
    /*font-size: 1rem;*/
    /*margin-top: 2rem;*/
  }
}

/* HOMEPAGE CASE STUDIES */

.content-studies {
  width: 100vw;
}

.content-studies h1 {
  margin-top: 4rem;
  margin-left: 3rem;
  font-family: 'Libre Franklin';
  font-weight: 900;
  font-size: 2.5rem;
}

.case-studies {
  margin-left: 1rem;
  background: #fff;
}

.case-studies:after {
  content: '';
  display: block;
  clear: both;
}

.case-study-sizer,
.case-study-item {
  width: 25%;
}

.case-study-item {
  float: left;
  overflow: hidden;
  margin-bottom: 1rem;
}

.case-study-item .case-study-item-image {
  margin-right: 1rem;
  transition: transform ease 300ms;
}

.case-study-item .case-study-item-image img {
  display: block;
  max-width: 100%;
}

.case-study-item .case-study-item-caption {
  transform: translateY(100%);
  transition: transform ease 300ms;
  position: absolute;
  width: 100%;
  background-color: #fff;
  padding-top: 1rem;
}

.case-study-item .case-study-item-title {
  margin-right: 1rem;
  padding-left: 1.5rem;
  font-weight: bold;
  font-family: 'Libre Franklin';
  font-size: 1.5rem;
  line-height: 120%;
  color: #404040;
}

.case-study-item .case-study-item-subtitle {
  margin-right: 1rem;
  padding-left: 1.5rem;
  font-weight: bold;
  font-family: 'Libre Franklin';
  font-size: 1rem;
  color: #999;
  transition: transform ease 300ms;
}

.case-study-item:hover .case-study-item-image {
  transform: translateY(-70px);
  transition: transform ease 300ms;
}

.case-study-item:hover .case-study-item-caption {
  transform: translateY(-100%);
  transition: transform ease 300ms;
}

@media (max-width: 768px) {
  .case-study-sizer,
  .case-study-item {
    width: 100%;
  }
  .case-study-item img {
    width: 100%;
  }
  .content-studies h1 {
    margin-left: 2rem;
    font-size: 2rem;
  }
}
@media (max-width: 980px) {
  .case-study-item .case-study-item-title {
    padding-left: 0.5rem;
  }
  .case-study-item .case-study-item-subtitle {
    padding-left: 0.5rem;
  }
}
@media (min-width: 568px) and (max-width: 736px) {
  .case-study-sizer,
  .case-study-item {
    width: 50%;
  }
}
@media (min-width: 737px) and (max-width: 895px) {
  .case-study-sizer,
  .case-study-item {
    width: 33.3%;
  }
}

/* ABOUT PAGE */

.content-about {
  width: 100vw;
  min-height: 80vh;
}

.content-about .post-thumbnail {
  position: absolute;
  left: 0;
  top: 5.5rem;
  width: 450px;
  z-index: -1;
}

.content-about .site-main h3 {
  font-size: 2.5rem;
  font-family: 'Libre Franklin';
  font-weight: 900;
  padding-top: 1rem;
  padding-bottom: 1rem;
  width: 30vw;
}

.content-about article {
  padding-right: 20vw;
  margin-left: 500px;
  margin-top: 10rem;
  display: block;
}

.content-about h1 {
  font-family: 'Libre Franklin';
  font-size: 1rem;
  text-transform: uppercase;
  color: #999;
  display: none;
}

.content-about h3 {
  font-family: 'Libre Franklin';
  font-size: 2rem;
  margin: 0;
}

@media screen and (max-width: 980px) {

  .content-about {
    min-height: auto;
  }

  .content-about .post-thumbnail {
    display: none;
  }

  .content-about .site-main h3 {
    width: 70vw;
    margin-left: 0 !important;
    padding-top: 0;
    line-height: 120%;
  }

  .content-about article {
    margin-left: 1rem;
    margin-right: 1rem;
    padding-right: 0;
  }

}

/* SERVICES PAGE */

.content-services {
  width: 100vw;
  min-height: 90vh;
  text-align: center;
  margin-top: 3rem;
}

.content-services h1.entry-title {
  margin-top: 10rem;
  margin-bottom: 0rem;
  text-align: center;
  font-family: 'Libre Franklin';
  font-weight: 900;
  font-size: 2rem;
}

.content-services .service-item h1 {
  font-family: 'Libre Franklin';
  margin-top: 0;
  margin-bottom: 0;
  font-weight: 700;
  font-size: 1.25rem;
  text-align: left;
  background: #dc3e37;
  color: #fff;
  margin: -1rem;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  padding-left: 1rem;
  transition: all ease 300ms;
  margin-bottom: 0.25rem;
}

.content-services .entry-content {
  margin-top: 0;
}

.content-services .services-block {
  display: flex;
  flex-wrap: wrap;
  width: 90vw;
  padding-left: 2rem;
  margin: 0 auto;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box; 
}

.content-services .services-block .service-item {
  width: 22%;
  margin-right: 3%;
  margin-bottom: 3rem;
  padding: 1rem;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box; 
  background: #efefef;
  transition: all ease 300ms;
  -webkit-box-shadow: 10px 11px 26px 1px rgba(0, 0, 0, 0.21);
  -moz-box-shadow: 10px 11px 26px 1px rgba(0, 0, 0, 0.21);
  box-shadow: 10px 11px 26px 1px rgba(0, 0, 0, 0.21);
}

@media screen and (max-width: 980px) {
  .content-services .services-block {
    padding-left: 0;
  }
  .content-services .services-block .service-item {
    flex-basis: 100%;
  }
}

.content-services .services-block .service-item article {

}

.content-services .services-block .service-item:hover {
  background: #fff;
  transition: all ease 300ms;
  padding-left: 0.75rem;
  padding-right: 1.25rem;
  padding-top: 0.75rem;
  padding-bottom: 1.25rem;
}

.content-services .services-block .service-item:hover h1 {
  margin-left: -0.75rem;
  padding-left: 0.75rem;
  margin-right: -1.25rem;
  transition: all ease 300ms;
}

.content-services .services-block .service-item article .entry-content {
  text-align: left;
  color: #666;
}

@media screen and (max-width: 980px) {
  .site-main h3 {
    font-size: 1.5rem;
    margin-left: 2rem;
    padding-bottom: 2rem;
  }
  .content-services h3 {
    font-size: 1.5rem;
  }
}


/* CASE STUDY DETAIL */

.single .content-area {
  margin-top: 12.5rem;
}

.case-study-details {
  width: 40vw;
  float: left;
  margin-right: 6vw;
  margin-left: 4vw;
}

.case-study-overview-heading {
  font-family: 'Libre Franklin';
  font-size: 1rem;
  text-transform: uppercase;
  font-weight: bold;
  color: #dc3e37;
  margin-bottom: 0.5rem;
}

.case-study-title {
  font-family: 'Libre Franklin';
  font-weight: 900;
  font-size: 1.5rem;
  color: #404040;
}

.case-study-overview {
  line-height: 175%;
}

.case-study-overview td {
  vertical-align: top;
}

.case-study-services-heading {
  font-family: 'Libre Franklin';
  font-size: 1rem;
  text-transform: uppercase;
  font-weight: bold;
  color: #dc3e37;
  margin-bottom: 0.5rem;
}

.case-study-services ul {
  list-style: none; /* Remove default bullets */
  margin: 0;
  padding: 0;
}

.case-study-services ul li {
  line-height: 200%;
}

.case-study-services ul li::before {
  content: "\2022";  /* Add content: \2022 is the CSS Code/unicode for a bullet */
  color: red; /* Change the color */
  font-weight: bold; /* If you want it to be bold */
  display: inline-block; /* Needed to add space between the bullet and the text */ 
  width: 1em; /* Also needed for space (tweak if needed) */
  margin-left: 0.25rem; /* Also needed for space (tweak if needed) */
}

.case-study-back-button {
  display: block;
  font-family: 'Libre Franklin';
  font-size: 1rem;
  margin-top: 3rem;
  display: inline-block;
  font-weight: bold;
}
.case-study-back-button a {
  background: #dc3e37;
  color: #fff;
  text-decoration: none;
  border-radius: 0.25rem;
  padding: 0.75rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.case-study-back-button a:hover {
  
}

@media screen and (max-width: 980px) {

}

.case-study-gallery {
  width: 40vw;
  float: left;
  margin-left: 5vw;
}

.case-study-gallery-image {
  /*background-color: #eee;*/
  margin-bottom: 1rem;
  cursor: pointer;
}

.case-study-gallery-image .video {
  position: relative;
}

.case-study-gallery-image .video:before {
  content: '';
  position: absolute;
  z-index: 200;
  width: 6.5rem;
  height: 6.5rem;
  top: 50%;
  left: 48.75%;
  border-radius: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  transform: scale(1) translateY(-50%) translateX(-50%);
}

.case-study-gallery-image .video:hover:before {
  background-color: rgba(255, 255, 255, 0.5);
}

.case-study-gallery-image .video:after {
  content: '';
  position: absolute;
  z-index: 201;
  border: 0;
  background: transparent;
  box-sizing: border-box;
  width: 0;
  height: 74px;
  border-color: transparent transparent transparent #fff;
  transition: 100ms all ease;
  cursor: pointer;
  border-style: solid;
  border-width: 37px 0 37px 60px;
  top: 50%;
  left: 50%;
  transform: scale(1) translateY(-50%) translateX(-50%);
}

.case-study-gallery-image .video.mobile:before,
.case-study-gallery-image .video.mobile:hover:before,
.case-study-gallery-image .video.mobile:after {
  content: none;
}

.case-study-gallery-image .video.mobile {
  width: 100%;
  height: 100%;
}

.case-study-gallery-image .video:hover:after {
  border-color: transparent transparent transparent #444;
}

.case-study-gallery-image-animated img {
  display: none !important;
}

.case-study-gallery-image-animated img.active {
  display: block !important;
}

.case-study-gallery-zoom {
  pointer-events: none;
  opacity: 0;
  width: 60vw;
  position: absolute !important;
  top: 10vh;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  /*background-color: #eee;*/
}

.case-study-gallery-zoom.active {
  pointer-events: auto;
  opacity: 1;
  cursor: pointer;
}

.case-study-gallery-zoom.active .video {
  width: 100%;
  height: 100%;
}

.case-study-gallery-zoom .video iframe {
  min-height: 600px;
}

@media screen and (max-height: 800px) {
  .case-study-gallery-zoom .video iframe {
    min-height: 300px;
  }
}

.case-study-gallery-zoom.active .slick-next:before,
.case-study-gallery-zoom.active .slick-prev:before {
  width: 2rem;
  height: 2rem;
}

.case-study-gallery-zoom.active .slick-next:after {
  background-image: url(static/cross.svg);
  background-size: cover;
  width: 1.75rem;
  height: 1.75rem;
  position: absolute;
  right: -6rem;
  top: 0.1rem;
  content: '';
  opacity: 0.7;
  pointer-events: none;
}

.case-study-gallery-zoom.active .slick-slide .category {
  position: absolute;
  width: 100%;
  height: 5rem;
  background: #000;
  z-index: 250;
  top: 100%;
}

.case-study-gallery-zoom.active .slick-slide .category span:after {
  position: absolute;
  content: attr(data-title);
  top: 7px; /* 50px; */
  bottom: 0; /* 100px; */
  left: 0;
  right: 0;
  line-height: 110%;
}

.case-study-gallery-zoom-modal.active .case-study-gallery-zoom-close-button {
  background-image: url(static/cross.svg);
  background-size: cover;
  width: 2rem;
  height: 2rem;
  position: absolute;
  top: 40%;
  right: 10%;
}

.case-study-gallery-zoom-modal {
  cursor: pointer;
}

.case-study-gallery-zoom-modal .case-study-gallery-zoom-caption {
  display: none;
  position: absolute;
  margin-top: 0.5rem;
  font-family: 'Libre Franklin';
  font-size: 1rem;
  color: #404040;
}

.case-study-gallery-zoom-modal.active .case-study-gallery-zoom-caption {
  display: block;
}

.case-study-gallery-zoom-modal {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #fff;
  display: none;
  z-index: 99;
}

.case-study-gallery-zoom-modal.active {
  display: block;
}

.case-study-gallery-nav .slick-slide {
  margin-right: 1rem;
  cursor: pointer;
}

.case-study-gallery-nav .slick-list {
  height: 10vw;
  margin-top: 0rem;
}

.case-study-gallery-nav .slick-slide div.category {
  margin-right: 1rem;
  font-family: 'Libre Franklin';
  font-size: 0.8rem;
  color: #404040;
  position: relative;
}

.case-study-gallery-nav .slick-slide div.category span:after {
  position: absolute;
  content: attr(data-title);
  top: 7px; /* 50px; */
  bottom: 0; /* 100px; */
  left: 0;
  right: 0;
  line-height: 110%;
}

@media screen and (max-width: 980px) and (min-device-height: 568px) {

  .single .content-area {
    margin-top: 9rem;
    margin-left: 1rem;
    margin-right: 1rem;
  }

  .case-study-details {
    width: auto;
    margin: 0;
    float: none;
  }

  .case-study-gallery {
    background: #000;
    border-top: 1rem solid black;
    width: auto;
    float: none;
    margin-left: -1rem;
    margin-right: -1rem;
    margin-bottom: 1.5rem;
  }

  .case-study-gallery-nav .slick-list {
    height: 30vw;
  }

  .case-study-gallery-nav .slick-slide div.category {
    color: #fff; background: #000;
    overflow-y: visible;
  }

}

@media screen and (max-width: 980px) and (min-device-height: 897px) {
  .case-study-gallery-nav .slick-list {
    height: 20vw !important;
  }
}

@media screen and (max-width: 320px) and (min-device-height: 568px) {
  .case-study-gallery-nav .slick-list {
    height: 5rem;
  }
  .case-study-gallery-nav .slick-slide div.category {
    font-size: 0.6rem;
  }
}

.slick-track {
  display: flex !important;
}

.slick-track .slick-slide {
  display: flex !important;
  height: auto !important;
  align-items: center !important;
  justify-content: center !important;
}

.slick-slide, 
.slick-slide * { 
  outline: none !important; 
}

.slick-slide img {
  max-height: 40vh;
}

.case-study-gallery-zoom .slick-slide img {
  max-height: 70vh;
}

.slick-prev:before {
  content: '' !important;
  background-image: url(static/arrow.svg);
  background-size: contain;
  background-repeat: no-repeat;
  width: 3rem;
  height: 3rem;
  display: block;
  transform: rotate(90deg);
  left: 0;
  margin-left: -4rem;
}

.slick-next:before {
  content: '' !important;
  background-image: url('static/arrow.svg');
  background-size: contain;
  background-repeat: no-repeat;
  right: 0;
  width: 3rem;
  height: 3rem;
  display: block;
  transform: rotate(-90deg) translateY(2rem);
}

.case-study-gallery-nav .slick-prev:before {
  width: 1.25rem;
  height: 1.25rem;
  margin-left: -1.5rem;
  transform: rotate(90deg) translateX(-1.5rem) translateY(-0.75rem);
}

.case-study-gallery-nav .slick-next:before {
  width: 1.25rem;
  height: 1.25rem;
  transform: rotate(-90deg) translateX(1.5rem) translateY(0.75rem);
}

@media screen and (max-device-width: 414px) and (max-device-height: 896px) and (orientation: landscape) {
  .case-study-gallery {
    display: flex;
    border: 1px solid #f00;
  }
  .case-study-gallery-image {
    width: 100vw;
    height: 70vh;
    display: block;
  }
  .case-study-gallery-image .slick-slide img {
    max-height: 60vh;
  }
  .case-study-gallery-nav {
    display: none !important;
  }
  .case-study-details {
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-left);
  }
}

/* CONTACT */

.page-contact .site-content {
  margin-top: 5.5rem;
  background-color: #dc3e37;
  background-image: url('static/background-splash.png');
  background-repeat: no-repeat;
}

.page-contact .entry-content {
  margin: 0 auto;
  margin-top: 3rem;
  padding: 3rem;
  width: 70vw;
  background: #fff;
}

.page-contact div.email {
  width: 60%;
}

.page-contact div.email + p {
  margin-bottom: 0;
}

.page-contact div.email p {
  margin-bottom: 1rem;
}

.page-contact div.contacts {
  width: 40%;
  float: right;
}

.page-contact p {
  font-family: 'Libre Franklin';
  margin-top: 0;
}

.page-contact div.contacts a {
  color: #404040;
  text-decoration: none;
}

.page-contact div.contacts a:hover {
  text-decoration: underline;
}

.page-contact div.contacts .phone-social img {
  opacity: 0.8;
  height: 1.5rem;
}

@media screen and (max-width: 980px) {
  .page-contact div.contacts {
    float: none;
    width: auto;
    position: relative;
  }
  .page-contact div.email {
    width: auto;
  }
}

@media screen and (min-width: 620px) and (max-width: 980px) {
  .page-contact .phone-social {
    position: absolute;
    right: 0;
    top: 0;
    padding-right: 3rem;
  }
}

.wpcf7-form label {
  font-family: 'Libre Franklin';
}

.page-contact .wpcf7-text {
  width: 30vw;
  font-family: Helvetica, Arial, sans-serif;
}

.page-contact .wpcf7-textarea {
  width: 30vw;
  font-family: Helvetica, Arial, sans-serif;
}

.page-contact .wpcf7-submit {
  background: #404040;
  color: #fff;
  padding: 1rem;
  padding-left: 3rem;
  padding-right: 3rem;
  font-size: 1.1rem;
  font-weight: bold;
  font-family: 'Libre Franklin';
  margin-top: 1rem;
}

.page-contact .site-footer {
  display: none;
}

.page-contact {
  margin-bottom: 0 !important;
}

@media screen and (max-width: 980px) {
  .page-contact .site-content {
    margin-top: 3.75rem;
  }
  .page-contact .entry-content {
    margin: 0 auto;
    margin-top: 3rem;
    padding: 2rem;
    width: 80vw;
  }
  .page-contact .wpcf7-text {
    width: 100%;
  }
  .page-contact .wpcf7-textarea {
    width: 100%;
  }
}

/* FOOTER */

.site-footer {
  margin-top: 3rem;
  color: #fff;
  font-size: 1.1rem;
  font-family: 'Libre Franklin';
  background-color: rgba(80, 80, 80, 1);
  position: relative;
}

.site-footer:before {
  content: '' !important;
  position: absolute;
  background-image: url('static/background-dots.svg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: bottom right;
  width: 100%;
  height: 100%;
  z-index: 200;
  display: block;
  opacity: 0.25;
  pointer-events: none;
}

.modal .site-footer {
  display: none;
}

.site-footer .footer-left {
  background-color: rgba(80, 80, 80, 1);
  padding: 2rem;
  padding-right: 5rem;
  position: relative;
}

.site-footer .footer-right {
  background: rgba(220, 62, 55, 1);
  padding: 2rem;
  display: flex;
  padding-bottom: 4rem;
}

.site-footer .footer-right .col {
  width: 30%;
}

.site-footer p {
  margin-top: 0;
}

.site-footer .footer-left p {
  font-size: 2rem;
  font-weight: 900;
}

.site-footer .footer-left p strong {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 2rem;
}

.site-footer a {
  color: #fff;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.site-footer p.colofon {
  font-weight: normal;
  color: #ccc;
  font-size: 1rem;
  bottom: 0;
  left: 2rem;
  position: absolute;
  font-size: 0.9rem; 
}

@media screen and (max-width: 980px) {

  .site-footer .footer-left p {
    font-size: 2rem;
    font-weight: 700;
  }

  .site-footer .footer-left p strong {
    font-size: 2rem;
    font-weight: 900;
  }

  .site-footer .footer-right {
    display: block;
  }

  .site-footer .footer-right .col {
    width: auto;
  }

}


/* HAMBURGER */

.hamburger {
  display: none;
  position: absolute;
  right: 0.6rem;
  top: 0.75rem;
  width: 35px;
  z-index: 155;
}

.hamburger-modal {
  position: fixed;
  background: #000;
  opacity: 0;
  pointer-events: none;
  z-index: 150;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
}

.hamburger-modal.active {
  opacity: 1;
}

@media screen and (max-width: 980px) {
  .hamburger {
    display: block;
  }

  .menu-default-container {
    position: absolute;
    z-index: 155;
    right: 0;
    top: 4rem;
    overflow: hidden;
  }

  ul#primary-menu {
    float: none;
    margin: 0;
    margin-top: 1rem;
  }

  ul#primary-menu li a {
    color: #fff !important;
  }

  .main-navigation li {
    float: none;
    margin-right: 1rem;
    font-size: 1.5rem;
    padding-bottom: 1rem;
  }

  .main-navigation.active ul {
    opacity: 1;
  }

}

.hamburger .line {
  width: 35px;
  height: 5px;
  background-color: #404040;
  display: block;
  margin: 5px auto;
  -webkit-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  position: relative;
}

.hamburger.active .line {
  background-color: #fff;
}

.hamburger:hover {
  cursor: pointer;
}

.hamburger {
  -webkit-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.hamburger.active {
  animation: hamburger 0.6s forwards;
}

@keyframes hamburger {
  0%, 100%{
    -webkit-transform: scale(1.0);
    -ms-transform: scale(1.0);
    -o-transform: scale(1.0);
    transform: scale(1.0);
  }

  50%{
    -webkit-transform: scale(0);
    -ms-transform: scale(0);
    -o-transform: scale(0);
    transform: scale(0);
  }
}

.hamburger.active .line:nth-child(1),
.hamburger.active .line:nth-child(2),
.hamburger.active .line:nth-child(3) {
  -webkit-transition-delay: 0.2s;
  -o-transition-delay: 0.2s;
  transition-delay: 0.2s;
}

.hamburger.active .line:nth-child(2) {
  opacity: 0;
}

.hamburger.active .line:nth-child(1) {
  -webkit-transform: translateY(12px) rotate(45deg);
  -ms-transform: translateY(12px) rotate(45deg);
  -o-transform: translateY(12px) rotate(45deg);
  transform: translateY(12px) rotate(45deg);
}

.hamburger.active .line:nth-child(3) {
  -webkit-transform: translateY(-8px) rotate(-45deg);
  -ms-transform: translateY(-8px) rotate(-45deg);
  -o-transform: translateY(-8px) rotate(-45deg);
  transform: translateY(-8px) rotate(-45deg);
}

/* 404 */

.error404 .site-content {
  padding-top: 10rem;
  padding-left: 20vw;
  padding-bottom: 10rem;
}

.error404 .site-content p {
  font-size: 2rem;
}

/* HAMBURGER ANIMATION */

@media screen and (max-width: 980px) {

  #site-navigation.active ul.menu li.current-menu-item a {
    font-weight: normal;
  }

  #site-navigation ul.menu li {
    transform: translate3d(12rem, 0rem, 0rem);
    /*margin-right: -12em;*/
    transition-property: all;
    transition-duration: 0.2s;
    transition-timing-function: linear;
  }

  #site-navigation.active ul.menu li {
    transform: translate3d(0rem, 0rem, 0rem);
    /*margin-right: 0;*/
    transition-timing-function: ease-out;
  }

  #site-navigation.active ul.menu li:nth-child(1) {
    transition-delay: 0.1s;
  }

  #site-navigation.active ul.menu li:nth-child(2) {
    transition-delay: 0.2s;
    transition-duration: 0.22s;
  }

  #site-navigation.active ul.menu li:nth-child(3) {
    transition-delay: 0.3s;
    transition-duration: 0.24s;
  }

  #site-navigation.active ul.menu li:nth-child(4) {
    transition-delay: 0.4s;
    transition-duration: 0.25s;
  }

  #site-navigation.active ul.menu li:nth-child(5) {
    transition-delay: 0.5s;
    transition-duration: 0.27s;
  }

  #site-navigation.active ul.menu li:nth-child(6) {
    transition-delay: 0.6s;
    transition-duration: 0.31s;
  }

  #site-navigation.active ul.menu li:nth-child(7) {
    transition-delay: 0.7s;
    transition-duration: 0.36s;
  }

  #site-navigation.active ul.menu li:nth-child(8) {
    transition-delay: 0.8s;
    transition-duration: 0.41s;
  }

}

/* ARROW ANIMATION */

@-moz-keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    -moz-transform: translateY(0);
    transform: translateY(0);
  }
  40% {
    -moz-transform: translateY(-30px);
    transform: translateY(-30px);
  }
  60% {
    -moz-transform: translateY(-15px);
    transform: translateY(-15px);
  }
}

@-webkit-keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  40% {
    -webkit-transform: translateY(-30px);
    transform: translateY(-30px);
  }
  60% {
    -webkit-transform: translateY(-15px);
    transform: translateY(-15px);
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  40% {
    -moz-transform: translateY(-30px);
    -ms-transform: translateY(-30px);
    -webkit-transform: translateY(-30px);
    transform: translateY(-30px);
  }
  60% {
    -moz-transform: translateY(-15px);
    -ms-transform: translateY(-15px);
    -webkit-transform: translateY(-15px);
    transform: translateY(-15px);
  }
}

.scroll-arrow {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  margin-left: -20px;
  width: 40px;
  height: 40px;
  background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxNi4wLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+DQo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IiB3aWR0aD0iNTEycHgiIGhlaWdodD0iNTEycHgiIHZpZXdCb3g9IjAgMCA1MTIgNTEyIiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCA1MTIgNTEyIiB4bWw6c3BhY2U9InByZXNlcnZlIj4NCjxwYXRoIGZpbGw9IiNGRkZGRkYiIGQ9Ik0yOTMuNzUxLDQ1NS44NjhjLTIwLjE4MSwyMC4xNzktNTMuMTY1LDE5LjkxMy03My42NzMtMC41OTVsMCwwYy0yMC41MDgtMjAuNTA4LTIwLjc3My01My40OTMtMC41OTQtNzMuNjcyICBsMTg5Ljk5OS0xOTBjMjAuMTc4LTIwLjE3OCw1My4xNjQtMTkuOTEzLDczLjY3MiwwLjU5NWwwLDBjMjAuNTA4LDIwLjUwOSwyMC43NzIsNTMuNDkyLDAuNTk1LDczLjY3MUwyOTMuNzUxLDQ1NS44Njh6Ii8+DQo8cGF0aCBmaWxsPSIjRkZGRkZGIiBkPSJNMjIwLjI0OSw0NTUuODY4YzIwLjE4LDIwLjE3OSw1My4xNjQsMTkuOTEzLDczLjY3Mi0wLjU5NWwwLDBjMjAuNTA5LTIwLjUwOCwyMC43NzQtNTMuNDkzLDAuNTk2LTczLjY3MiAgbC0xOTAtMTkwYy0yMC4xNzgtMjAuMTc4LTUzLjE2NC0xOS45MTMtNzMuNjcxLDAuNTk1bDAsMGMtMjAuNTA4LDIwLjUwOS0yMC43NzIsNTMuNDkyLTAuNTk1LDczLjY3MUwyMjAuMjQ5LDQ1NS44Njh6Ii8+DQo8L3N2Zz4=);
  background-size: contain;
  -moz-animation: bounce 2s infinite;
  -webkit-animation: bounce 2s infinite;
  animation: bounce 2s infinite;
}

.scroll-arrow.hidden {
  display: none;
}

