/*
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

footer

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
*/
footer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #3E8CAE;
}
@supports (grid-area: auto) {
  footer {
    grid-area: footer;
    display: grid;
    grid-template-columns: 2fr 6fr 2fr;
    grid-template-rows: 1fr 4fr 4fr 1fr;
    grid-template-areas:
    ". . ."
    ". footerabout ."
    ". footerabout ."
    ". . .";
  }
}
.footerLinks {
  display: none;
}
.footerLinks a {
  color: inherit;
  text-decoration: inherit;
}
.footerAbout {
  grid-area: footerabout;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: center;
  text-align: center;
}
.footerAbout #esomar-membership {
  background: url("../img/esomar-member.png") no-repeat center/contain;
  display: block;
  height: 43px;
  margin: .5rem auto;
  text-indent: -9999em;
  width: 108px;
}
.footerAbout li:last-child a {
  background: url("../img/vottunhf.png") no-repeat center/contain;
  display: block;
  height: 50px;
  margin: .5rem auto;
  text-indent: -9999em;
  width: 55px;
}
@supports not (grid-area: auto){
  .footerAbout{
    font-size: 0.91rem;
    line-height: 1.5rem;
  }
}
@media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) {
  .footerAbout{
    font-size: 0.91rem;
    line-height: 1.5rem;
  }
}
.footerAbout ul{
  padding: 0;
  list-style: none;
}
.footerAbout a:link,
.footerAbout a:hover,
.footerAbout a:active,
.footerAbout a:visited {
  color: inherit;
  text-decoration: underline ;
}
.footerAbout > * {
  margin: 0 3px 0 3px;
  color: #F5F5F5;
}
.footerSocial {
  display: flex;
  flex-direction: row;
  justify-content: center;
  text-indent: -9999px;
}

.footerSocial .link {
  margin: 10px;
  width: 30px;
  height: 30px;
  background-position: 50% 50%;
  cursor: pointer;
}
@supports not (grid-area: auto){
  .footerAbout{
    margin: 40px 0;
  }
}
@media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) {
  .footerAbout{
    margin: 40px 0;
  }
}
.footerLogo {
  background: url(../img/logo/gallup-logo.svg) no-repeat;
  background-size: contain;
  padding: 0;
  width: 95px;
  height: auto;
  align-self: center;
  text-indent: -9999px;
  justify-self: center;
  margin:auto;
}
@media only screen and (max-width: 991px){
  .footerAbout{
    font-size: 0.91rem;
    line-height: 1.5rem;
  }
  .footerAbout #esomar-membership {
    margin-top: 2rem;
  }
  .footerAbout li:last-child a {
    margin-top: 1rem;
  }
}
@media only screen and (max-width: 991px) {
  footer {
    min-height: 458px;
  }
}
@media only screen and (min-width: 992px) {
  @supports (grid-area: auto){
    footer {
      grid-area: footer;
      display: grid;
      grid-template-columns: minmax(auto,3fr) minmax( 900px, 14fr) minmax(auto,3fr);
      grid-template-rows: 1fr 3fr 4fr 1fr;
      grid-template-areas:
      ". . ."
      ". footerlinks ."
      ". footerabout ."
      ". . .";
    }
    @media only screen and (min-width: 2080px){
      footer{
        grid-template-columns: auto 1456px auto;
      }
    }
    .footerAbout{
      flex-direction: column;
      justify-content: center;
    }
    .footerLinks {
      font-style: normal;
      font-weight: 600;
      font-size: 15px;
      line-height: 23px;

      /* identical to box height */
      text-align: center;

      color: #FFFFFF;
      grid-area: footerlinks;
      display: flex;
      justify-content: space-around;
    }
    .footerLinks ul {
      display: flex;
      flex-direction: row;
      list-style-type: none;
      justify-content: center;
      align-items: center;
      margin: 0;
      padding: 0;
      width: 100%;
    }
    .footerLinks ul li {
      margin: 0 5px;
    }
    .footerLinks ul li a{
      padding: 10px 10px;
      text-transform: uppercase;
      font-size: 0.7rem;
      white-space: nowrap;
    }
    .footerLinks ul li.active a{
      color: #ffffff;
      border: 1px solid #FFFFFF;
      margin: -1px;
    }
    .footerLinks ul li a:hover {
      color: #ffffff;
      border: 1px solid #FFFFFF;
      margin: -1px;
    }
    .footerAbout ul {
      display: flex;
      flex-direction: row;
      list-style-type: none;
      justify-content: center;
      align-items: center;
      margin: 0;
      padding: 0;
      width: 100%;
    }
    .footerAbout ul li {
      padding: 0 10px;
      font-size: 0.7rem;
    }
    ul li.footerLogo{
      background: url(../img/logo/gallup-small-logo-all-white.svg) no-repeat;
      background-size: contain;
      height: 20px;
      width: 20px;
      padding: 0 5px;
      margin: 0;
    }
  }
}

footer > div {
  display: flex;
  flex-direction: row;
}
