html {
  background: linear-gradient( 180deg, rgba(249, 249, 249, 0) 0%, #F9F9F9 51.04%, rgba(249, 249, 249, 0) 100%), #F9F9F9;
  font-family: "Arial",sans-serif;
  font-variant-ligatures: common-ligatures;
  height: 100%;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

@media screen and (min-width: 992px) {
  html {
    font-size: 16px;

  }
}
@media screen and (min-width: 1290px) {
  html {
    font-size: 18px;
  }
}
@media screen and (min-width: 1400px) {
  html{
    font-size: 18px;
  }
}
@media screen and (min-width: 1600px) {
  html{
    font-size: 18px;
  }
}
@media screen and (min-width: 1800px) {
  html{
    font-size: 20px;
  }
}
@media screen and (min-width: 2056px) {
  html{
    font-size: 22px;
  }
}


body {
  width: 100%;
  min-height: 100%;
  margin: 0;
}
@supports (grid-area: auto) {
  body {
    display: grid;
    grid-template-rows: 60px 240px minmax( calc(100% - 300px - 172px),auto) minmax(172px,min-content);
    grid-template-areas:
    "header"
    "banner"
    "main"
    "footer";
    width: 100%;
    min-height: 100%;
    margin: 0;
  }
}


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

header

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
*/
.mobile_search_icon {
  cursor: pointer;
  margin-right: 20px;
}
@media only screen and (min-width: 992px) {
  @supports (grid-area: auto) {
    .mobile_search_icon {
      display: none;
    }
  }
}
@media only screen and (max-width: 991px){
  .mobile_search_dropdown {
    position: fixed;
    top: 60px;
    left: 0;
    height: 40px;
    visibility: hidden;
  }
  .mobile_search_dropdown.active{
    visibility: visible;
  }
  .main_search.mobile_search {
    background: #FFFFFF;
    border: 1px solid #ebebeb;
    height: 40px;
    border-radius: 0;
    width: 100vw;
  }
  .main_search.mobile_search:focus {
    border-color: #3E8CAE;
  }
}
.gallup_small_logo {
  background: url(../img/logo/gallup-small-black-logo.svg) no-repeat;
  background-size: contain;
  height: 25px;
  margin: 10px 0 10px 2rem;
  padding: 0;
  width: 25px;
  text-indent: -9999px;
  align-self: center;
  justify-self: center;
}
.gallup_small_logo a {
  display: block;
  height: 100%;
  overflow: hidden;
}
.gallup_logo a {
  display: block;
  height: 100%;
  overflow: hidden;
}

header {
  grid-area: header;
}
@supports (grid-area: auto) {
  header {
    display: grid;
    grid-template-rows: 60px auto;
  }
}
@supports not (grid-area: auto) {
  header {
    height: 60px;
  }
}
@media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) {
  header {
    height: 60px;
  }
}
.hero {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  height: 220px;
  background-color: #FFFFFF;
  border-bottom: 1px solid #E0E0E0;
  box-sizing: border-box;
}
@supports (grid-area: auto) {
  .hero {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    grid-template-rows: 2fr 2fr 2fr;
    grid-template-areas:
    ". . ."
    ". company ."
    ". . .";
    width: 100%;
  }
}

@media only screen and (min-width: 992px) {
  .hero {
    grid-template-columns: 2fr 4fr 2fr;
    grid-template-rows: 8fr 5fr 5fr 8fr;
    grid-template-areas:
    ". . ."
    ". company ."
    ". search ."
    ". . .";
  }
}

.hero form {
  align-self: flex-end;
  grid-area: search;
  z-index: 9997;
}
.navbar form {
  grid-area: navsearch;
  z-index: 9997;
}
.hero form > div {
  margin: 6px auto;
  position: relative;
  width: 75%;
  z-index: 9997;
  filter: drop-shadow(0px 4px 10px rgba(0, 0, 0, 0.15));
  border: 1px solid #E0E0E0;
  border-radius: 5px;
  background-color: #FFFFFF;
}
.navbar form > div {
  margin: 6px auto;
  position: relative;
  width: 75%;
  z-index: 9997;
  border: 1px solid #E0E0E0;
  border-radius: 5px;
  background-color: #FFFFFF;
}
.project_search input::placeholder {
  color: #939B9B;
  text-overflow: ellipsis;
}
.project_search input[type="text"]:focus {
  outline: none;
}
.project_search {
  box-sizing: border-box;
  border: 1px solid #EBEBEB;
  box-shadow: 0 0 7px 0 rgba(0,0,0,0.08);
  display: flex;
  border-radius: 3px;
}
.project_search input[type="text"]{
  border: 0;
  width: 100%;
  border-radius: 3px;
  box-sizing: border-box;
  display: block;
  font-size: .72rem;
  line-height: 44px;
  overflow: hidden;
  padding: 0 50px 0 25px;
  transition: padding .1s;
  z-index: 9997;
}
.project_search input[type="submit"]{
  background: url("../img/search-blue.svg") left center no-repeat;
  border: 0;
  cursor: pointer;
  padding: 9px 25px 9px 9px;
  right: 0;
  text-indent: -9999px;
  top: 0;
  width: 44px;
  z-index: 9997;
}
.hero form input[type="text"],
.navbar form input[type="text"] {
  border: 0;
  border-radius: 3px;
  box-sizing: border-box;
  display: block;
  font-size: .72rem;
  line-height: 44px;
  overflow: hidden;
  padding: 0 50px 0 25px;
  transition: padding .1s;
  width: 100%;
  z-index: 9997;
}
.hero form input[type="text"]:focus,
.navbar form input[type="text"]:focus {
  outline: none;
}
.hero form input[type="text"] {
  padding-bottom: 8px;
  padding-top: 8px;
}
.hero form input::placeholder,
.navbar form input::placeholder {
  color: #939B9B;
  text-overflow: ellipsis;
}
.hero form input[type="submit"],
.navbar form input[type="submit"] {
  background: url("../img/search-blue.svg") left center no-repeat;
  border: 0;
  cursor: pointer;
  height: 100%;
  padding: 9px 25px 9px 9px;
  position: absolute;
  right: 0;
  text-indent: -9999px;
  top: 0;
  width: 44px;
  z-index: 9997;
}
.hero form.scrolled {
  position: fixed;
  top: 0;
  margin-left: 25vw;
  width: 50vw;
}
.hero form.scrolled > div {
  filter: none;
}
.hero form.scrolled input[type="text"] {
  padding-bottom: 0;
  padding-top: 0;
}
@media only screen and (max-width: 991px) {
  .hero form > div,
  .navbar form > div {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    width: 100vw;
  }
  .hero form.active > div,
  .navbar form.active > div {
    display: block;
  }
  .hero form > div input[type="text"],
  .navbar form > div input[type="text"] {
    border: 1px solid #ebebeb;
    border-radius: 0;
    margin: 0;
    padding: 0 20px;
    width: 100%;
  }
  .hero form > div input[type="text"]:focus,
  .navbar form > div input[type="text"]:focus {
    border: 1px solid #3E8CAE;
  }
  .hero form > div input[type="submit"],
  .navbar form > div input[type="submit"] {
    display: none;
  }
  .hero form > div input[type="submit"]:focus,
  .navbar form > div input[type="submit"]:focus {
    outline: none;
  }
  .hero form.scrolled {
    position: static;
    margin-left: 0;
    width: 100%;
  }
}
@media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) {
  .hero form,
  .navbar form {
    align-self: center;
    height: 44px;
    margin-left: 40px;
    margin-right: 40px;
    width: 50%;
  }
  .hero form > div,
  .navbar form > div {
    height: 44px;
    position: relative;
    margin: 0;
    width: 100%;
  }
  .hero form input[type="text"],
  .navbar form input[type="text"] {
    height: 44px;
    padding-bottom: 0;
    padding-top: 0;
    width: 100%;
  }
}

.hero .gallup_logo {
  height: 70%;
  justify-self: center;
  align-self: center;
  margin: 10px 0 10px 2rem;
  padding: 0;
  width: 60%;
  max-width: 432px;
  margin: 0;
  text-align: center;
  grid-area: company;
}
@supports (grid-area: auto){
  .hero .gallup_logo {
    align-self: flex-start;
  }
}
@media only screen and (min-width: 992px) {
  .hero .gallup_logo{
    height: 60px;
    margin-top: 5px;
  }
}

@supports not (grid-area: auto) {
  .hero form,
  .navbar form {
    align-self: center;
    width: 50vw;
  }
}

.navbar {
  display: flex;
  position: fixed;
  width: 100%;
  z-index: 9996;
  justify-content: space-between;
  background-color: #FFFFFF;
  box-sizing: border-box;
  height: 60px;
}
.bordered {
  border-bottom: 1px solid #E0E0E0;
}
.navbar .go_back{
  display: flex;
  justify-content: flex-start;
  align-content: flex-start;
  grid-area: navback;
  font-size: 0.8rem;
  color: #3E8CAE;
  width: fit-content;
  align-items: center;
  grid-area: navback;
}
@media only screen and (min-width: 992px) {
  .navbar .go_back{
    margin-left: 12.5px;
  }
}

.navbar .go_back img {
  margin: 0 5px 0 0;

}
@supports (grid-area: auto) {
  .navbar {
    display: grid;
    grid-template-columns: 1fr 2fr 6fr 1fr 2fr;
    grid-template-areas:
    "navlogo navback navsearch . navabout";
  }
  .navbar  {
    display: grid;
    grid-template-columns: 3fr 2fr 10fr 2fr 3fr;
    grid-template-columns: minmax(80px,3fr) minmax(100px,2fr) minmax( auto, 10fr) minmax(auto, 2fr) minmax(auto,3fr);

    grid-template-areas: "navlogo navback navsearch . navabout";
  }
  @media only screen and (min-width: 2080px){
    .navbar {
      grid-template-columns: 3fr 2fr 10fr 2fr 3fr;
    }
  }
}
.navbar h1 {
  flex:1;
  margin: 0;
  grid-area: navlogo;
  margin-left: 20px;
  justify-self: flex-start;
}
.navbar nav {
  flex:1;
  display: flex;
  justify-content: flex-end;
  grid-area: navabout;
  align-items: center;
  padding: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  list-style-type: none;
  color: #FFFFFF;
}
  @media only screen and (min-width: 992px) {
  @supports (grid-area: auto) {
    .navbar nav {

    display: grid;
    grid-template-columns: 1fr 1fr;
    }
  }
}
.loginDiv{
  background-color: #3E8CAE;
  width: 100px;
  height: 100%;
  align-items: center;
  justify-content: center;
  display: none;
}
.loginDiv a {
  display: flex;
  height: 100%;
  width: 100%;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}
.loginDiv img {
  margin: 0 5px;
  margin-right: 12px;
}
.loginDiv a{
  color: #FFFFFF;
  font-size: 0.81rem;
}
@supports (grid-area: auto) {
  .loginDiv {
    width: 100%;
  }
}
@media only screen and (min-width: 992px) {
  @supports (grid-area: auto){
    .loginDiv{
      display:flex;
      min-width: 10rem;
    }
  }
}

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

main

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
*/
main {
  grid-area: main;
}
@supports not (grid-area: auto) {
  /* fallback only css */
  main{
  display: flex;
  justify-content: center;
  }
}
@media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) {
  main{
    display: flex;
    justify-content: center;
  }
}

a,
a:link,
a:hover,
a:active,
a:visited {
  color: inherit;
  text-decoration: inherit;
}


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

Wagtail specific css

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

.custom-banner{
  display: flex;
  justify-content: center;
  align-items: center;
}

.custom-banner-heading {
  font-size: 1.6rem;
  font-weight: bold;
  text-align: center;
}

.rich-text img {
  max-width: 100%;
  height: auto;
}

.responsive-object {
  position: relative;
}

.responsive-object iframe,
.responsive-object object,
.responsive-object embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

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

Form validation css

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

.errorlist {
  list-style: none;
  color: red;
  font-size: 1rem;
  padding: 0;
  text-align: center;
}



@media only screen and (max-width: 991px) {
  .background-image img {
    min-width: 500px;
    width: 100%;
    z-index: -2;
  }
}
.background-container {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: -2;
  /* opacity: 0.2; */
  background: linear-gradient(
      180deg,
      rgba(249, 249, 249, 0) 0%,
      #F9F9F9 51.04%,
      rgba(249, 249, 249, 0) 100%),
    #F9F9F9;
  overflow: hidden;
  top: 0;
}
.background-hero-banner {
  position: absolute;
  width: 100%;
  height: 526px;
  top: -1px;
  background: #FFFFFF;
  border: 1px solid #E0E0E0;
  box-sizing: border-box;
}
.background-nav-banner {
  position: fixed;
  width: 100%;
  height: 62px;
  top: -1px;
  background: #FFFFFF;
  border: 1px solid #E0E0E0;
  box-sizing: border-box;
}
.background-image img {
  width: 100%;
  height: auto;
}
.background-image{
  position: relative;
  width: 100%;
  max-height: 100%;
  height: auto;
}
.background-image:after{
  content: "";
  position: absolute;
  top:0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(34,34,34,0) 0%,rgba(34,34,34,1) 100%);
  z-index: 1;
}
.no-select{
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

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

skip navigation css

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
*/
.skipnav{
  text-indent: -99999px;
  position: absolute;
}
:target{
  display: block;
  position: relative;
  top: -60px;
}


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

Forms within a sub-page or article (e.g. event registration).

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
*/
.article-body label {
  color: #999;
  display: block;
  margin: 0;
  padding: 0;
  text-transform: uppercase;
}
.article-body input[type=text],
.article-body input[type=email] {
  border: 1px solid #ccc;
  border-radius: 3px;
  color: #999;
  display: block;
  font-size: .85rem;
  margin: 0;
  padding: 10px;
  width: 80%;
}
.article-body input[type=text]:active,
.article-body input[type=text]:focus,
.article-body input[type=email]:active,
.article-body input[type=email]:focus {
  border-color: #999;
}
.article-body input[type=text]:focus,
.article-body input[type=email]:focus {
  color: #111;
}
.article-body form .legal {
  color: #999;
  font-size: .7rem;
  line-height: 1.2;
}
.article-body button {
  border-radius: 6px;
}
.article-body button:active,
.article-body button:hover {
  background: #b79453;
}

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

Forms.

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
*/
form input[type="radio"] {
  display: block;
  height: auto;
  margin: .25rem 1rem 0 0;
  padding: 0;
  width: auto;
}
form ul {
  padding-left: 0;
  padding-right: 0;
}
form li {
  list-style: none;
  margin: 0 0 1rem;
}
form li label {
  align-items: flex-start;
  display: flex;
}

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

General element styles.

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

hr {
  border: 0;
  border-top: 1px solid #bfc6c6;
  display: block;
  height: 1px;
  margin: 50px auto;
  padding: 0;
  width: 50%;
}

.linked-button {
  border: none;
  padding: 0;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 0.75rem;
  border: 0;
  border-radius: 6px;
  font-weight: bold;
  text-align: center;
  min-width: 160px;
  min-height: 40px;
  margin-top: 25px;
  margin-bottom: 25px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}

.linked-button div {
  padding-left: 16px;
  padding-right: 16px;
  line-height: 0.75rem;
}

.linked-button:hover{
  text-decoration: none !important;
}
