/*
Theme Name: ESG
Theme URI: https://esg.us
Description: Event Strategy Group WP theme
Version: 2.0
Author: Event Strategy Group
Author URI: https://esg.us
Text Domain: esg
*/
@import url("flickity.min.css") screen;
-moz-::selection {
  background: var(--pink);
  color: var(--white);
}
-webkit-::selection {
  background: var(--pink);
  color: var(--white);
}
::selection {
  background: var(--pink);
  color: var(--white);
}
textarea {
  resize: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
a {
  color: inherit;
  font-style: inherit;
  text-decoration: none;
}
body.blank {
  background: white;
}
[data-scroll-nav].scrolled {
  background-color: var(--white);
  color: var(--bluedark);
  width: 100%;
  position: fixed;
  transition: width 500ms cubic-bezier(0.61, 0.07, 0.5, 0.97);
  z-index: 10;
}
[data-scroll-nav].scrolled > section {
  padding-top: 25px;
  padding-bottom: 25px;
}
.esg_fill {
  fill: var(--white);
}
[data-scroll-nav].scrolled .esg_fill {
  fill: var(--bluedark);
}
header section nav,
header section ul {
  padding: 0;
}
header section ul:not(.contact-cta) .current-menu-item a,
header section ul:not(.contact-cta) a:hover,
header section nav a:hover {
  text-decoration: underline;
}
[data-scroll-nav].scrolled section nav a,
[data-scroll-nav].scrolled section ul a {
  color: var(--bluedark);
}
header section ul li {
  margin: 0;
  padding: 0;
  display: inline-flex;
}
header section ul li a {
  text-transform: lowercase;
}
header section ul li.newTab a::after {
  content: "\02197";
  display: inline-block;
  padding: 0 0 0 3px;
}
header section .secondary {
  margin: 0;
}
a.button,
input[type="submit"] {
  text-decoration: none;
  color: var(--bluedark);
  background: var(--white);
  border-radius: 4px;
  padding: 6px 12px;
  display: inline-block;
  font-size: 0.9rem;
  position: relative;
  cursor: pointer;
}
a.button:hover,
input[type="submit"]:hover,
input[type="submit"]:focus,
a.button:focus {
  background-color: var(--yellow);
}
a.button:focus,
input[type="submit"]:focus {
  top: 1px;
}
a.button::after {
  content: "";
  background: var(--arrow) no-repeat;
  background-size: contain;
  padding: 0 10px;
  position: relative;
  top: 1px;
  margin: 0 0 0 5px;
}
a.button:hover::after,
a.button:focus::after {
  filter: brightness(20%) grayscale(100%) invert(0);
}
.menu-icon {
  width: 50px;
  cursor: pointer;
  display: block;
}
.navicon {
  background: var(--white);
  display: block;
  height: 4px;
  position: relative;
  transition: none;
  width: 50px;
}
.navicon::before,
.navicon::after {
  background: var(--white);
  content: "";
  display: block;
  height: 100%;
  position: absolute;
  width: 100%;
}
.navicon::before {
  top: 7px;
  height: 4px;
}
.navicon::after {
  top: -7px;
}
.navicon:focus {
  outline: 0;
}
[data-scroll-nav].scrolled .navicon,
[data-scroll-nav].scrolled .navicon::before,
[data-scroll-nav].scrolled .navicon::after {
  background: var(--blue);
}
.menu-icon:hover .navicon,
.menu-icon:hover .navicon::before,
.menu-icon:hover .navicon::after {
  background: var(--pink);
}
.close-modal .navicon,
.close-modal .navicon::before,
.close-modal .navicon::after {
  background-color: var(--bluedark);
}
.menu-icon.close-modal:hover .navicon,
.menu-icon.close-modal:hover .navicon::before,
.menu-icon.close-modal:hover .navicon::after {
  background-color: var(--white);
}
/* main#masthead {
    position:relative;
    display:flex;
    flex-flow:row wrap;
    height:auto;
    padding:0;
    color:var(--white);
  } */
main#masthead > div {
  position: relative;
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  box-sizing: border-box;
  flex-basis: 50%;
  height: 300px;
}
main#masthead > div p {
  font-size: 0.8rem;
}
main#masthead > div:nth-of-type(2) {
  background: var(--bluedark);
  background: -moz-linear-gradient(left, var(--bluedark) 0%, var(--blue) 100%);
  background: -webkit-linear-gradient(
    left,
    var(--bluedark) 0%,
    var(--blue) 100%
  );
  background: linear-gradient(to right, var(--bluedark) 0%, var(--blue) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='var(--bluedark)', endColorstr='var(--blue)',GradientType=1 );
  display: flex;
  flex-flow: column wrap;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 20px;
}
main#masthead > div:nth-of-type(3) {
  background: var(--green);
  background-repeat: no-repeat;
  background-position: -20px 20%;
  background-size: 100%;
  display: flex;
  flex-flow: column wrap;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 20px;
}
main#masthead > div:nth-of-type(4) {
  background: var(--pink);
}
main#masthead > div:nth-of-type(5) {
  background: var(--pink);
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  width: 100%;
  flex-flow: row nowrap;
  padding: 20px;
}
main#masthead > div:nth-of-type(5) button {
  width: 30px;
  height: 30px;
  display: block;
  background: none;
  outline: none;
  border: none;
  font-size: 20px;
  margin: 0 20px 0 0;
  background: var(--arrow) no-repeat;
  background-size: contain;
  filter: invert(1) brightness(100);
  position: relative;
}
main#masthead > div:nth-of-type(5) button:first-of-type {
  transform: scaleX(-1);
}
main#masthead > div:nth-of-type(5) button:hover {
  filter: none;
}
main#masthead > div:nth-of-type(5) button:active {
  top: 1px;
}
main#tabs {
  background: var(--white);
  overflow: hidden;
  width: 100%;
}
.tab {
  overflow: hidden;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-around;
}
.tab button {
  font-size: 1.4rem;
  background-color: inherit;
  float: left;
  border: none;
  color: var(--blue);
  background: var(--white);
  outline: none;
  cursor: pointer;
  position: relative;
  padding: 24px 0;
  display: block;
  width: auto;
  flex: 1;
  text-transform: lowercase;
  font-family: inherit;
}
.tab button:hover {
  text-decoration: underline;
}
.tab button:active {
  top: 1px;
}
.tab button:nth-of-type(1):hover,
.tab button:nth-of-type(1).active {
  color: var(--purple);
}
.tab button:nth-of-type(2):hover,
.tab button:nth-of-type(2).active {
  color: var(--green);
}
.tab button:nth-of-type(3):hover,
.tab button:nth-of-type(3).active {
  color: var(--red);
}
.tabcontent {
  display: none;
  padding: 20px 20px 40px;
  border-top: none;
  color: var(--white);
  position: relative;
  flex-flow: column wrap;
  align-items: flex-start;
}
.tabcontent#panel_digital {
  background: var(--purple);
}
.tabcontent#panel_live {
  background: var(--green);
}
.tabcontent#panel_hybrid {
  background: var(--red);
}
@-webkit-keyframes slide-right {
  0% {
    -webkit-transform: translateX(-100vw);
    transform: translateX(-100vw);
  }
  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}
@keyframes slide-right {
  0% {
    -webkit-transform: translateX(-100vw);
    transform: translateX(-100vw);
  }
  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}
.tabcontent h3,
.tabcontent p,
.tabcontent a {
  -webkit-animation: slide-right 0.45s 1;
  animation: slide-right 0.45s 1;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
  animation-timing-function: cubic-bezier(0.48, 0.19, 0.58, 1);
  -webkit-transform: translateX(-100vw);
}
.tabcontent p {
  animation-delay: 0.05s;
}
.tabcontent a {
  animation-delay: 0.1s;
}

main#home_info {
  display: flex;
  flex-flow: row wrap;
  width: 100%;
}
main#home_info > div {
  flex-basis: 100%;
}
main#home_info > div:nth-of-type(1) {
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 400px;
  height: 40vh;
}
main#home_info > div:nth-of-type(2) {
  padding: 60px 20px;
  background: var(--blue);
  background: -moz-linear-gradient(left, var(--blue) 0%, var(--bluelight) 100%);
  background: -webkit-linear-gradient(
    left,
    var(--blue) 0%,
    var(--bluelight) 100%
  );
  background: linear-gradient(to right, var(--blue) 0%, var(--bluelight) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='var(--blue)', endColorstr='var(--bluelight)',GradientType=1 );
  color: var(--white);
  display: flex;
  flex-flow: column wrap;
  justify-content: flex-start;
  align-items: flex-start;
}
main#clients {
  background: var(--white);
  width: 100%;
}
main#clients section {
  margin: 60px auto 40px;
  max-width: 1200px;
}
main#clients section h2,
main#clients section p {
  max-width: 600px;
  padding: 0 20px 10px;
  margin: 0 auto;
  width: 100%;
  text-align: center;
  flex-basis: 100%;
  color: var(--bluedark);
  box-sizing: border-box;
}
main#clients section div.clients {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-content: stretch;
  padding: 40px 0 20px;
}
main#clients section div.clients img {
  width: 20%;
  padding: 20px;
  height: 50px;
  max-width: 200px;
}
footer form {
  width: 100%;
}
footer a.footerLogo {
  height: 50px;
  width: 50px;
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  margin: 0;
}
footer a.button {
  width: 100%;
  text-align: center;
  margin: 20px 0 0;
  padding-right: 5px;
}
footer a.button:hover,
footer a.button:focus {
  text-decoration: none;
}
footer input {
  color: var(--white);
  background: none;
  outline: none;
  border: none;
  border-bottom: 1px solid;
  width: 100%;
  font-size: inherit;
  padding-left: 0;
  font-family: inherit;
  margin: 10px 0;
  -webkit-appearance: none;
}
footer input[type="email"] {
  margin-right: 60px;
  border-radius: 0px;
}
footer input::placeholder {
  color: var(--graylight);
}
footer input:active,
footer input:focus {
  border-color: var(--pink);
}
footer section > div:nth-of-type(3) {
  padding-bottom: 30px;
}
footer section > div:nth-of-type(3) > a {
  padding: 10px 0;
}

/* page_fader */
.menu-open {
  pointer-events: visible;
}
.menu_inner {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: var(--bluedark);
  /* background:-moz-linear-gradient(left,  var(--bluedark) 0%, var(--blue) 100%);
  background:-webkit-linear-gradient(left,  var(--bluedark) 0%,var(--blue) 100%);
  background:linear-gradient(to right,  var(--bluedark) 0%,var(--blue) 100%); */
  display: flex;
  flex-flow: column nowrap;
  /* justify-content:space-between; */
  align-items: flex-start;
  box-sizing: border-box;
}
.menu_sections {
  list-style: none;
  margin: 0;
  padding: 0;
}
.menu_section {
  /* transform:translate3d(0,100px,0);
  opacity:0;
  margin:0;
  transition:transform 0s 0.6s, opacity 0s 0.6s; */
}
.menu-open .menu_section {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition: transform 0.85s 0.3s, opacity 0.85s 0.3s;
  transition-timing-function: cubic-bezier(0.2, 1, 0.2, 1);
}
.menu-open .menu_section:nth-child(2) {
  transition-delay: 0.3s;
}
.menu-open .menu_section:nth-child(3) {
  transition-delay: 0.4s;
}
.menu-open .menu_section:nth-child(4) {
  transition-delay: 0.45s;
}
.menu-open .menu_section:nth-child(5) {
  transition-delay: 0.6s;
}
.menu-open .menu_section:nth-child(6) {
  transition-delay: 0.75s;
}
.menu-open .menu_section:nth-child(7) {
  transition-delay: 0.9s;
}
.menu-open .menu_section:nth-child(8) {
  transition-delay: 1.05s;
}

.menu_close {
  cursor: pointer;
  padding: 0;
}
.menu_close:hover .navicon,
.menu_close:hover .navicon::before,
.menu_close:hover .navicon::after {
  background: var(--pink);
}

.menu .menuLogo {
  width: 69px;
  display: block;
}
.menu .menu_section a {
  font-size: 1.9rem;
  color: var(--white);
  font-family: var(--font);
  border-bottom: 2px solid transparent;
  margin: 0 0 10px;
  text-transform: lowercase;
  font-family: var(--fontLight);
}
.menu .menu_section.current-menu-item a,
.menu .menu_section a:hover,
.menu .menu_section a.selected {
  text-decoration: underline;
}
.menu .menu_contact {
  color: var(--white);
  padding: 0;
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  width: 100%;
}
.menu .menu_contact p {
  margin: 0;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
}
.menu .menu_contact a {
  text-decoration: underline;
}
.menu .menu_contact a:hover {
  text-decoration: none;
}
.menu .menu_contact a:last-of-type {
  margin: 0;
}

.masthead .carousel {
  margin: 0;
  padding: 0 0 60px;
}
.masthead .carousel-image {
  width: 100%;
  box-sizing: border-box;
  padding: 0 10px;
}
.masthead .carousel-image h1,
.masthead .carousel-image h2,
.masthead .carousel-image p {
  width: 100%;
}
.masthead .carousel-image h1,
.masthead .carousel-image h2 {
  margin: 0 0 20px;
  text-transform: lowercase;
}
.masthead .flickity-viewport {
  padding: 0 0 30px;
}
.masthead .flickity-page-dots {
  left: 10px;
}

.flickity-page-dots {
  text-align: left;
  bottom: 0;
  box-sizing: border-box;
  padding: 0;
}
.flickity-page-dots .dot {
  height: 6px;
  width: 60px;
  margin: 0 6px 0 0;
  border-radius: 0;
  background: var(--white);
  opacity: 0.2;
}
.flickity-page-dots .dot:hover {
  opacity: 0.3;
}
.flickity-page-dots .dot.is-selected {
  opacity: 1;
}
.gallery .carousel {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-y: hidden;
}
.gallery .carousel .flickity-viewport {
  height: 100% !important;
  transition: height 0.2s;
}
.gallery .carousel li {
  width: 100%;
  height: 100%;
  display: block;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  text-decoration: none;
}

main#intro {
  color: var(--white);
  padding: 240px 20px 20px;
}
main#intro section p {
  max-width: 780px;
}

/* case studies, blog list */
main.list {
}
main.list ul {
  display: flex;
  flex-flow: column nowrap;
  justify-content: flex-start;
  color: var(--white);
  padding: 0;
  margin: 60px 0 0;
  border-top: 1px solid var(--white);
}
main.list ul li {
  border-bottom: 1px solid var(--white);
  padding: 0;
  margin: 0;
  display: block;
}
main.list ul li a {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  align-items: flex-end;
  padding: 20px;
  box-sizing: border-box;
  width: 100%;
}
main.list ul li a h1 {
  flex-grow: 1;
  flex-basis: 100%;
}
main.list ul li a p,
main.list ul li a span {
  font-size: 0.8rem;
}
main.list ul li a span {
  min-width: 140px;
  text-transform: lowercase;
  padding: 20px 0 0;
}
main.list ul li a span::after {
  content: "";
  background: var(--arrow) no-repeat;
  filter: invert(1) brightness(100);
  background-size: contain;
  padding: 0 10px;
  position: relative;
  top: 1px;
  margin: 0 0 0 5px;
  z-index: 0;
}
main.list ul li a p {
  padding: 0 20px 0 0;
  margin-bottom: 0;
}
main.list ul li a:hover,
main.list ul li a:focus {
  background: var(--pink);
}

/* case studies */
ul[data-fx="1"] a::after {
  content: "";
  z-index: -1;
  width: 100%;
  bottom: 100%;
  left: 0;
  position: absolute;
  height: 2px;
  background: currentColor;
  transform: scale3d(0, 1, 1);
  transform-origin: 0% 50%;
  transition: transform 0.2s cubic-bezier(0.39, 0.575, 0.565, 1);
}
.hover-reveal {
  position: fixed;
  width: 40vw;
  max-width: 460px;
  height: 40vh;
  max-height: 300px;
  top: 0;
  left: 0;
  pointer-events: none;
  opacity: 0;
  z-index: 1;
}
.hover-reveal__inner,
.hover-reveal__img {
  width: 100%;
  height: 100%;
  position: relative;
}
.hover-reveal__deco {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: var(--pink);
}
.hover-reveal__img {
  background-size: cover;
  background-position: 50% 50%;
}
/* case study */
body.case-study main#masthead {
  height: 60vh;
  padding: 0;
}
main#mastheadPost section {
  width: 100%;
  padding: 0;
  background-position: center bottom;
  background-size: cover;
  background-repeat: no-repeat;
  height: 100%;
}
main#mastheadPost section ul.gallery,
main#mastheadPost section ul.gallery li {
  height: 100%;
  width: 100%;
  padding: 0;
  margin: 0;
}
main#mastheadPost section ul.gallery li {
  display: block;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  text-decoration: none;
}
main#mastheadPost section ul.gallery li.digital {
  background-size: contain;
  background-color: #eae9ea;
}
main#mastheadPost section .flickity-viewport {
  height: 100% !important;
}
main#mastheadPost section .flickity-page-dots {
  margin: 0;
  box-sizing: border-box;
  padding: 0 20px;
  text-align: left;
  position: absolute;
  bottom: 20px;
}
main#mastheadPost section .flickity-page-dots .dot {
  background: var(--white);
  display: inline-block;
  height: 6px;
  width: 60px;
  margin: 0 6px 0 0;
}
main#caseintro,
main#case {
  padding: 60px 20px 40px;
  background: var(--white);
  color: var(--blue);
}
main#case section div p:first-of-type {
  margin: 0;
}
main.blogpost img {
  width: 100%;
  display: flex;
  margin: 0 0 20px;
}
main.blogpost h5,
main.blogpost p {
  margin: 0 0 20px;
  padding: 0;
}
main.blogpost p a {
  display: inline;
  text-decoration: underline;
}
main.blogpost p a:hover {
  color: var(--pink);
}
main.blogpost ul,
main.blogpost ol {
  margin: 0 0 20px;
  padding: 0 0 0 25px;
}
main.tos ul,
main.tos ol {
  margin: 20px 0;
  padding: 0 0 0 25px;
}
main.blogpost ul li,
main.tos ul li {
  list-style: disc;
}
main.blogpost ol li,
main.tos ol li {
  list-style: decimal;
}
h5 {
  font-size: inherit;
  padding: 5px 0;
}
main#caseintro section h1,
main#caseintro section p {
  max-width: 780px;
}
main#caseInfo,
main#postContent {
  background: var(--white);
  color: var(--blue);
  padding: 40px 20px;
}
ul.facts {
  padding: 0;
  margin: 0;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
}
ul.facts li {
  padding: 0;
  margin: 0;
  flex-basis: 100%;
  display: flex;
  flex-flow: column nowrap;
}
ul.facts li:nth-of-type(2) {
  align-items: flex-end;
}
div.projectSummary {
  width: 100%;
  display: flex;
  flex-flow: column wrap;
}
div.projectSummary .projectText {
  width: 100%;
}
div.projectSummary .projectImage {
}
div.projectSummary .projectImage img {
  width: auto;
  max-width: 100%;
  height: 100%;
}
div.projectSummary .projectImage span {
  font-size: 0.8rem;
  line-height: 0.5rem;
}

main.otherLinks {
  padding: 0;
  margin: 0;
  background: var(--white);
}
main.otherLinks ul {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  width: 100%;
  display: flex;
  flex-flow: column wrap;
  border-top: 1px solid var(--bluedark);
}
main.otherLinks ul li {
  width: 100%;
}
main.otherLinks ul li:nth-of-type(1) {
  border-bottom: 1px solid var(--bluedark);
}
main.otherLinks ul li a {
  width: 100%;
  display: block;
  padding: 40px 20px;
  color: var(--blue);
  box-sizing: border-box;
}
main.otherLinks ul li a:hover {
  background: var(--pink);
  color: var(--white);
}

/* about */
.overflowhidden {
  overflow: hidden;
}
#team {
  color: white;
  flex-flow: row wrap;
}
#team ul {
  margin: 0;
  padding: 0;
  display: flex;
  flex-flow: row wrap;
  width: 100%;
}
#team ul li {
  flex-basis: 50%;
}
#team ul .person-link {
  cursor: pointer;
  background: black;
  box-sizing: border-box;
  padding: 0 0 10px;
}
#team ul .person-link:hover {
  background: var(--pink);
}
#team ul .person-link img {
  width: 100%;
  height: auto;
  padding: 0 0 5px;
}
#team ul .person-link p {
  padding: 0 10px;
  margin: 0;
  box-sizing: border-box;
  font-size: 0.8rem;
}
ul.stats {
  display: flex;
  flex-flow: row wrap;
  padding: 0;
  margin: 60px 0;
}
ul.stats li {
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
  align-items: center;
  flex-basis: 100%;
  margin: 0 0 20px;
}
ul.stats li img {
  width: 60px;
  height: 60px;
  margin: 0 20px 0 0;
  position: relative;
  top: 12px;
}
ul.stats li h1 {
  margin: 0;
  display: flex;
}
ul.stats li p {
  flex-basis: 100%;
  display: flex;
  margin: -10px 0 0 80px;
}
.modal {
  z-index: -1;
  position: fixed;
  z-index: 3;
  left: -100vw;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  -webkit-transition: all 1s;
  transition: left 1s;
  transition-timing-function: cubic-bezier(0.2, 1, 0.2, 1);
}
.modal .closeModal {
  right: 65px;
  top: 20px;
  position: fixed;
  width: 20px;
  height: 20px;
  cursor: pointer;
  z-index: 3;
  opacity: 0;
  transition: all 0.1s;
  transition-delay: 0s;
  transition-timing-function: cubic-bezier(0.2, 1, 0.2, 1);
  background: var(--close) no-repeat;
  background-size: contain;
}
/* visible modal */
.showModal {
  width: 100%;
  overflow: hidden;
  left: 0;
  z-index: 10;
}
.showModal .closeModal {
  opacity: 1;
  right: 20px;
  transition: all 0.6s;
  transition-delay: 0.5s;
}
.showModal .closeModal:hover {
  transform: rotate(-180deg);
  transition-delay: 0s;
  transition: all 0.4s;
}
.modal .modal-wrapper {
  padding: 60px 20px;
  position: relative;
  background: var(--bluedark);
  background: -moz-linear-gradient(left, var(--bluedark) 0%, var(--blue) 100%);
  background: -webkit-linear-gradient(
    left,
    var(--bluedark) 0%,
    var(--blue) 100%
  );
  background: linear-gradient(to right, var(--bluedark) 0%, var(--blue) 100%);
  color: var(--white);
  width: 100%;
  height: 100vh;
  margin: 0 auto;
  overflow-x: hidden;
  overflow-y: auto;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  flex-flow: column nowrap;
}
.modal .modal-wrapper .modal-content {
  display: flex;
  flex-flow: column nowrap;
  justify-content: flex-start;
  color: var(--white);
  overflow-y: auto;
  overflow-x: hidden;
  margin: 0 4px 0 0;
}
#employee::-webkit-scrollbar {
  background-color: rgba(0, 0, 0, 0);
  width: 10px;
}
#employee::-webkit-scrollbar-thumb {
  background: white;
  border-radius: 60px;
}
.modal .modal-wrapper .modal-content .flex-content {
  padding: 0 20px 0 0;
}
.modal .modal-wrapper .modal-content .flex-content p {
  font-size: 1rem;
  max-width: 600px;
}
.modal .modal-wrapper .modal-content .flex-content p.person-main {
  margin: 0;
}
.modal .modal-wrapper .modal-content .flex-content a.person-main {
  margin: 10px 0 20px;
  font-size: 1rem;
  display: block;
  text-decoration: underline;
}
.modal .modal-wrapper .modal-content .flex-content small {
  font-family: var(--font);
  font-size: 0.8rem;
}
.modal .modal-wrapper .modal-content .flex-content a.person-main:hover {
  color: var(--pink);
}
.modal .modal-wrapper .modal-content .flex-image {
  width: 300px;
  height: 300px;
  margin: 0 0 20px;
}
.modal .modal-wrapper .modal-content .flex-image img {
  width: 300px;
  height: 300px;
}
.modal .modal-wrapper .modal-content .flex-content h2 {
  font-size: 24px;
  margin-top: 0;
  margin-bottom: 0;
  line-height: normal;
}
.modal .modal-wrapper .modal-content .flex-content h3 {
  font-size: 24px;
  margin-bottom: 15px;
  margin-top: 6px;
}
.modal .modal-wrapper .modal-content .flex-content a:before {
  display: none;
}
.modal .modal-wrapper .modal-content .flex-content a:hover:before,
.modal .modal-wrapper .modal-content .flex-content a:focus:before {
  margin: 0;
}

@keyframes about-in {
  0% {
    opacity: 0;
    transform: translate3d(0, 100px, 0);
  }
  50% {
    opacity: 0;
    transform: translate3d(0, 100px, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}
.showModal .modal-content .flex-content {
  animation-duration: 800ms;
  animation-name: about-in;
}

/* services */
.faq section {
  color: var(--white);
  display: flex;
  flex-flow: column wrap;
  border-top: 1px solid var(--white);
  border-bottom: 1px solid var(--white);
  padding: 20px 0 0;
}
.faq section h1,
.faq section ul.accordion {
  width: 100%;
}
.faq section h1 {
  padding: 20px 0;
  position: relative;
  left: 20px;
  box-sizing: border-box;
}
main#serviceLinks ul {
  display: flex;
  flex-flow: row nowrap;
  width: 100%;
  border-top: 1px solid var(--white);
  margin: 0;
  padding: 0;
}
main#serviceLinks ul li {
  width: 33.3333%;
}
main#serviceLinks ul li:nth-of-type(1) {
  background: var(--purple);
  background-size: cover;
  background-position: center;
}
main#serviceLinks ul li:nth-of-type(2) {
  border-left: 1px solid var(--white);
  border-right: 1px solid var(--white);
  background: var(--green);
  background-size: cover;
  background-position: center;
}
main#serviceLinks ul li:nth-of-type(3) {
  background: var(--pink);
  background-size: cover;
  background-position: center;
}
main#serviceLinks ul li a {
  display: flex;
  width: 100%;
  height: 50vh;
  max-height: 200px;
  justify-content: flex-end;
  padding: 20px;
  flex-flow: column;
  align-items: flex-start;
  box-sizing: border-box;
  color: var(--white);
  background: -moz-linear-gradient(
    top,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.45) 100%
  );
  background: -webkit-linear-gradient(
    top,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.45) 100%
  );
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.45) 100%
  );
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#d9000000',GradientType=0 );
}
main#serviceLinks ul li a:hover {
  background: -moz-linear-gradient(
    top,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.65) 100%
  );
  background: -webkit-linear-gradient(
    top,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.65) 100%
  );
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.65) 100%
  );
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#d9000000',GradientType=0 );
  color: var(--pink);
  padding: 20px 20px 30px;
}
.accordion {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-flow: row wrap;
}
.accordion-item {
  border-bottom: 1px solid var(--white);
  padding: 10px 20px;
  width: 100%;
}
.accordion-item:last-of-type {
  border-bottom: none;
}
.accordion-thumb {
  margin: 0;
  padding: 10px 0;
  cursor: pointer;
  font-weight: normal;
  font-size: 0.8rem;
  display: flex;
  justify-content: space-between;
}
.accordion-thumb:hover {
  color: var(--pink);
}
.accordion-thumb::after {
  margin: 4px 0 0 20px;
  width: 15px;
  height: 15px;
  -webkit-transition: -webkit-transform 0.3s;
  transition: -webkit-transform 0.3s;
  transition: transform 0.3s;
  transition: transform 0.3s, -webkit-transform 0.3s;
  content: "";
  background: var(--close) no-repeat;
  display: inline-flex;
  align-self: flex-start;
  transform: rotate(45deg);
}

.accordion-panel {
  margin: 0;
  padding: 0 20px 15px 0;
  display: none;
}
.accordion-panel p {
  margin: 0;
  padding: 10px 0 0;
  font-size: 0.8rem;
}
.accordion-item.is-active .accordion-thumb::after {
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
.btn-close {
  border-radius: 50%;
  width: 40px;
  height: 40px;
  padding: 0px 0 3px;
  color: #666;
  cursor: pointer;
  background: url(img/toggleAccordion.svg) no-repeat;
  background-size: 20px;
  background-position: center;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
.btn-close:hover,
.btn-close:focus {
  background-color: #fff;
  outline: none;
}

/* blog */
main.blogposts.list ul li a:hover {
  background: var(--green);
}
main#mastheadPost {
  height: 400px;
  position: relative;
  padding: 90px 0 0 !important;
}
main#case section h1 {
  margin: 0 0 30px;
}
main.otherLinks ul li a:hover {
  background: var(--green);
  color: var(--white);
}

/* contact */
main#contact {
  color: var(--white);
  display: flex;
  flex-flow: column nowrap;
  width: 100%;
  padding: 240px 20px 50px;
  border-bottom: 1px solid var(--white);
}
main#contact section {
  display: flex;
  flex-flow: column wrap;
  flex-basis: 100%;
  padding: 0px;
}
main#contact section p,
main#contact section img {
  width: 100%;
}
main#contact section:first-of-type p:first-of-type,
main#contact section:first-of-type p:last-of-type {
  display: none;
}
main#contact section p {
  margin: 15px 0 0;
}
main#contact section img {
  margin: 20px 0 0;
  filter: saturate(0);
}
main#contact section ul {
  margin: 0;
  padding: 40px 0 0;
}
main#contact section ul li p {
  margin: 5px 0 15px;
}
main#contact section ul li a {
  line-height: 1.4rem;
  display: block;
  text-decoration: underline;
}
main#contact section ul li a:hover {
  color: var(--pink);
}

/* full text page, tos, privacy policy */
main.fulltext {
  padding: 240px 20px 60px;
  background: var(--white);
  color: var(--blue);
}
main.fulltext section {
  display: flex;
  flex-flow: column nowrap;
}
main.fulltext h1,
main.fulltext div {
  width: 100%;
}
main.fulltext div p a {
  text-decoration: underline;
}
main.fulltext div p a:hover {
  color: var(--pink);
}
main.fulltext div p:first-of-type,
main.fulltext div p:last-of-type {
  display: none;
}

/* esg live */
.ninety {
  margin: 90px 0 0;
}
main#esgLive,
main#fourzerofour {
  display: flex;
  flex-flow: column nowrap;
  height: auto;
  width: 100%;
}
main#esgLive {
  flex-flow: column-reverse nowrap;
}
main#esgLive div:nth-of-type(1) {
  padding: 60px 20px;
}
main#esgLive h1 {
  padding: 0 0 10px 0;
}
main#esgLive p {
  margin: 0 0 20px;
}
main#serviceInfo div,
main#esgLive div,
main#fourzerofour div {
  flex-basis: 100%;
  padding: 20px;
  background: var(--white);
  color: var(--blue);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-flow: column nowrap;
}
main#serviceInfo div:nth-of-type(2) {
  padding: 60px 20px;
}
main#esgLive div a,
main#fourzerofour div a {
  background: var(--blue);
  color: var(--white);
}
body.eventType main#esgLive div a {
  margin: 10px 0 0;
}
main#esgLive div a.button::after,
main#fourzerofour div a.button::after {
  filter: invert(1) brightness(100);
}
main#esgLive div a.button:hover,
main#fourzerofour div a.button:hover {
  background-color: var(--yellow);
  color: var(--blue);
}
main#esgLive div a.button:hover::after,
main#fourzerofour div a.button:hover::after {
  filter: none;
}
main#fourzerofour div:nth-of-type(1) {
  padding: 90px 20px 60px;
}
main#esgLive div:nth-of-type(2) {
  background-color: var(--pink);
  background-size: cover;
  background-position: center;
  min-height: 200px;
}
main#fourzerofour div:nth-of-type(2) {
  display: none;
}
main#fourzerofour div:nth-of-type(2) p {
  font-size: 14rem;
}

/* eventType */
main#serviceInfo {
  display: flex;
  flex-flow: column nowrap;
  height: auto;
  width: 100%;
}
main#serviceInfo div:nth-of-type(1) {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 40vh;
}
main#serviceInfo div.specs {
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
  align-items: flex-start;
  flex-basis: 100%;
  width: 100%;
  padding: 20px 0;
  font-size: 0.8rem;
  min-height: unset;
}
.specs ul {
  padding: 0;
}
.specs ul li {
  padding: 0 0 5px;
}
.specs p {
  flex-basis: 100%;
}
.specs a {
  text-decoration: underline;
}
.specs a:hover {
  color: var(--pink);
}

/* blank page */
body.blank main {
  justify-content: center;
  align-items: center;
  height: 100vh;
  background: white;
}
body.blank h1 {
  width: 100vw;
  text-align: center;
}
.pw_container {
  display: flex;
  width: 80%;
  max-width: 680px;
  justify-content: center;
  flex-flow: column nowrap;
  background: white;
  padding: 20px 40px;
  align-items: center;
  border-radius: 8px;
  text-align: center;
  background: #eae9ea;
}
.pw_container input {
  padding: 5px;
}
body.blank .home {
  height: 60px;
  width: 60px;
  margin: 0 0 20px;
}
body.blank .home .esg_fill {
  fill: var(--blue);
}

/* media queries */
@media (min-width: 640px) {
  #team ul li {
    flex-basis: 33.3333%;
  }
  ul.stats li {
    flex-basis: 50%;
  }
  main#serviceInfo div.specs {
    flex-flow: row nowrap;
  }
  .specs p {
    flex-basis: auto;
  }
  .specs ul {
    padding: 0 10px 0 20px;
  }
}
@media (min-width: 768px) {
  main#clients section div.clients img {
    padding: 20px 30px;
  }
  main#masthead > div p {
    font-size: 1rem;
  }
  .modal .modal-wrapper .modal-content {
    flex-flow: row nowrap;
    justify-content: flex-start;
  }
  .modal .modal-wrapper .modal-content .flex-image {
    width: 300px;
    height: 300px;
    margin: 0 20px 0 0;
  }
  ul.stats li {
    flex-basis: 33.3333%;
  }
  ul.stats li img {
    top: 8px;
  }
  .specs ul {
    padding: 8px 0 0 10px;
  }
  .faq section {
    flex-flow: row nowrap;
    padding: 0;
  }
  .faq section main.faq h1,
  .faq section main.faq ul.accordion {
    width: 50%;
  }
  main#serviceLinks ul li a {
    max-height: 360px;
  }
  .accordion {
    border-left: 1px solid var(--white);
    width: 50%;
  }
  main.fulltext section {
    flex-flow: row nowrap;
  }
  body.services .faq section h1 {
    top: 20px;
    padding: 0;
  }
  main.fulltext h1,
  main.fulltext div {
    width: 50%;
  }
  main.fulltext div p:nth-of-type(2) {
    margin: 0;
  }
  main#fourzerofour div:nth-of-type(2) {
    color: var(--white);
    background: rgb(117, 134, 137);
    background: -moz-linear-gradient(
      left,
      rgba(117, 134, 137, 1) 0%,
      rgba(174, 194, 195, 1) 100%
    );
    background: -webkit-linear-gradient(
      left,
      rgba(117, 134, 137, 1) 0%,
      rgba(174, 194, 195, 1) 100%
    );
    background: linear-gradient(
      to right,
      rgba(117, 134, 137, 1) 0%,
      rgba(174, 194, 195, 1) 100%
    );
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#758689', endColorstr='#aec2c3',GradientType=1 );
    display: flex;
    justify-content: center;
    align-items: center;
  }
  main#serviceInfo,
  main#esgLive,
  main#fourzerofour {
    flex-flow: row nowrap;
    min-height: 50vh;
  }
  main#serviceInfo div,
  main#esgLive div {
    flex-basis: 50%;
  }
  main#esgLive div:nth-of-type(1) {
    padding: 20px;
  }
  main#serviceInfo div:nth-of-type(2) {
    padding: 160px 20px 20px;
  }
  main#serviceInfo div:nth-of-type(2) p {
    margin: 20px 0 0;
  }
  main#serviceInfo div:nth-of-type(2) p:first-of-type,
  main#serviceInfo div:nth-of-type(2) p:last-of-type {
    display: none;
  }
  main#serviceInfo div:nth-of-type(2) .specs p:first-of-type,
  main#serviceInfo div:nth-of-type(2) .specs p:last-of-type {
    display: flex;
  }
  body.eventType main#esgLive div:nth-of-type(1) {
    padding: 20px;
  }
  main#contact {
    flex-flow: row nowrap;
  }
  main#contact section:nth-of-type(2) {
    flex-basis: 33.33333%;
  }
  main#contact section img {
    max-width: 800px;
  }
  main#contact section p {
    max-width: 780px;
  }
  main#contact section:nth-of-type(2) {
    font-size: 14px;
  }
  main#contact section ul {
    padding: 8px 0 0 20px;
  }
  main#mastheadPost {
    height: 560px;
  }
  body.blog-post {
    display: flex;
    flex-flow: row wrap;
  }
  main#case {
    width: 100%;
  }
  main#caseInfo,
  main#postContent {
    padding: 0 20px 40px;
    width: 100%;
  }
  main#case section {
    display: flex;
    flex-flow: row nowrap;
  }
  main#case section h1,
  main#case section div {
    width: 50%;
  }
  main#case section div {
    padding: 0 20px;
    box-sizing: border-box;
  }
  main.list ul li a span {
    text-align: right;
    padding: 0;
  }
  main.otherLinks ul {
    flex-flow: row nowrap;
  }
  main.otherLinks ul li:nth-of-type(1) {
    border-right: 1px solid var(--bluedark);
    border-bottom: none;
  }
  div.projectSummary .projectText {
    padding: 0 20px;
    box-sizing: border-box;
  }
  main.otherLinks ul li {
    width: 50%;
  }
  div.projectSummary .projectText {
    width: 50%;
    align-self: flex-end;
  }
  div.projectSummary .projectText.moveUp {
    margin-top: -420px;
  }
  div.projectSummary .projectImage {
    /* margin-top:-60px; */
  }
  div.projectSummary .projectImage {
    width: 50%;
    align-self: flex-start;
    padding: 0;
    box-sizing: border-box;
    order: -1;
    flex-basis: 50%;
    height: 400px;
    max-height: 400px;
    margin-top: 40px;
  }
  ul.facts li {
    flex-basis: 50%;
    box-sizing: border-box;
    align-items: flex-start;
  }
  ul.facts li:nth-of-type(2) {
    align-items: flex-start;
    padding-left: 20px;
  }
  ul.facts li:nth-of-type(3) {
  }
  main.list ul li a {
    flex-flow: row nowrap;
    align-items: center;
    padding: 30px 20px;
  }
  main.list ul li a p {
    margin-bottom: 10px;
  }
  main#masthead > div:nth-of-type(3) {
    background-size: 70%;
  }

  footer section aside div a {
    margin: 0 0 20px;
  }
  footer section aside div a:last-of-type {
    margin: 0;
  }
  footer section aside div p {
    padding: 0;
    margin: 0;
  }
  footer section aside div p:first-of-type {
    color: var(--graylight);
    text-transform: lowercase;
  }
  footer section aside div:last-of-type a {
    margin: 0 0 20px;
  }
  body.case-study main#masthead {
    height: 80vh;
    max-height: 800px;
  }
  body.case-study main#intro section h1,
  body.case-study main#intro section p {
    max-width: 50%;
  }
}
@media (min-width: 968px) {
  main#esgLive div:nth-of-type(2) {
    background-size: cover;
  }
  footer form {
    width: auto;
  }
  #team ul li {
    flex-basis: 25%;
  }
  main#masthead > div:nth-of-type(3) {
    background-size: 90%;
    background-position: -20px 38%;
  }

  main#home_info {
    display: flex;
    flex-flow: row nowrap;
  }
  main#home_info > div {
    flex-basis: 50%;
    width: 50%;
  }
  main#home_info > div:nth-of-type(2) {
    padding: 0;
    display: flex;
    flex-flow: column wrap;
    justify-content: center;
  }
  main#home_info > div:nth-of-type(2) h1,
  main#home_info > div:nth-of-type(2) p {
    padding: 5px 20px;
    max-width: 600px;
  }

  main#masthead > div {
    height: 50%;
  }
  main#masthead > div:nth-of-type(2) p,
  main#masthead > div:nth-of-type(3) p,
  main#masthead > div:nth-of-type(4) p {
    max-width: 260px;
  }
  main#tabs section {
    display: flex;
    flex-flow: row-reverse nowrap;
    width: 100%;
  }
  main#tabs section .tab,
  main#tabs section .tabcontent {
    flex-basis: 50%;
  }
  main#tabs section .tab {
    display: flex;
    flex-flow: column wrap;
    padding: 60px 0;
  }
  main#tabs section .tab button {
    text-align: left;
    padding: 10px 20px;
    font-size: 4rem;
  }
  main#tabs section .tabcontent {
    padding: 60px 0 0 0;
    display: flex;
    flex-flow: column wrap;
    align-items: flex-start;
  }
  main#tabs section .tabcontent h3,
  main#tabs section .tabcontent p {
    padding: 0 20px;
  }
  main#tabs section .tabcontent a {
    margin: 0 20px;
  }
  .tabcontent::before {
    background: inherit;
    content: "";
    height: calc(100% + 60px);
    width: 100%;
    right: 100%;
    position: absolute;
    top: -60px;
    display: block;
  }

  main#home_info > div:nth-of-type(2) a {
    margin: 0 20px;
  }
}
@media (min-width: 1024px) {
  ul.stats {
    max-width: 75%;
  }
  ul.stats li:last-child img {
    width: 80px;
    margin-left: -16px;
  }
}
@media (min-height: 1024px) {
  main#serviceInfo,
  main#esgLive,
  main#fourzerofour {
    height: auto;
    min-height: 50vh;
  }
  main#esgLive,
  main#fourzerofour {
    min-height: 28vh;
  }
  main#mastheadPost {
    height: 60vh;
    max-height: 700px;
  }
}
@media (min-width: 1280px) {
  main#esgLive,
  main#fourzerofour {
    min-height: 50vh;
  }
  #team ul li {
    flex-basis: 20%;
  }
  ul.facts li {
    flex-basis: 33.3333%;
  }
  ul.facts li:nth-of-type(2) {
    padding-left: 0;
  }
}
@media (min-width: 1440px) {
  main#esgLive,
  main#fourzerofour {
    min-height: 50vh;
  }
  .accordion-thumb {
    font-size: 1.1rem;
  }
  main#serviceLinks section {
    padding: 0;
  }
  header section nav.secondary {
    margin: 0 20px 0 0;
  }
  main#tabs section .tabcontent {
    padding: 60px 0 0 0;
  }
  main#masthead > div:nth-of-type(2),
  main#masthead > div:nth-of-type(3) {
    padding: 30px;
  }
  main#tabs section .tab button {
    padding: 15px 30px;
  }
  main#home_info > div:nth-of-type(2) h1,
  main#home_info > div:nth-of-type(2) p {
    padding: 5px 30px;
    max-width: 780px;
  }
  main#home_info > div:nth-of-type(2) a {
    margin: 0 30px;
  }
  footer section aside div {
    width: 200px;
  }
  main#tabs section .tabcontent h3,
  main#tabs section .tabcontent p {
    max-width: 80%;
  }
  ul.stats {
    max-width: 68%;
  }
}
@media (min-width: 1900px) {
  .modal .modal-wrapper {
    margin: 0;
    width: 50%;
  }
  .showModal .closeModal {
    left: calc(50% - 40px);
  }
  main#mastheadPost {
    height: 70vh;
    max-height: 1040px;
  }
  #team ul li {
    flex-basis: 12.5%;
  }
  header section nav.secondary {
    margin: 0;
  }
}
@media (max-width: 1440px) and (min-height: 1100px) {
  main#esgLive,
  main#fourzerofour {
    min-height: 30vh;
  }
}
@media (max-width: 967px) and (min-height: 1100px) {
  main#masthead {
    height: auto;
  }
  main#home_info > div:nth-of-type(1) {
    min-height: 30vh;
  }
}
@media (hover: none) {
  .hover-reveal {
    display: none;
  }
}
