/*
 Theme Name:   50 State Network custom theme
 Theme URI:    https://generatepress.com
 Description:  50 State Network Custom Theme
 Author:       Ian Caldwell, LookThink
 Template:     generatepress
 Version:      0.1
*/
body {
  -webkit-font-smoothing: antialiased;
  -moz-font-smoothing: antialiased;
  -o-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

p {
  font-size: 0.875rem;
  line-height: 1.625rem;
}

h2,
.heading-2 {
  color: #104466;
  font-size: 2.275rem;
  font-weight: 800;
  line-height: 3rem;
}

ul {
  font-size: 0.875rem;
  line-height: 2rem;
}

.heading-3 {
  font-size: 2.375rem;
  font-weight: 600;
  line-height: 3rem;
  color: #fff;
}

@media (min-width: 760px) {
  h2,
  .heading-2 {
    font-size: 2.875rem;
    line-height: 3.25rem;
  }

  .heading-3 {
    font-size: 3.375rem;
    line-height: 3.75rem;
    max-width: 1230px;
    margin-left: auto;
    margin-right: auto;
  }
}

.tag {
  color: #f05869;
  font-size: 0.875rem;
  font-weight: 800;
  text-transform: uppercase;
}

.btn {
  padding: 15px 20px;
  border-radius: 4px;
  color: #fff;
  font-size: 1.125rem;
}

.btn.btn-primary {
  background-color: #c5404f;
}

.btn.btn-primary:visited {
  color: #ffffff;
}

.btn.btn-primary:hover,
.btn.btn-primary:focus {
  background-color: #882c36;
}

.btn.btn-secondary {
  background-color: transparent;
  border: 1px solid #fff;
}

.btn.btn-secondary:visited {
  color: #ffffff;
}

.btn.btn-secondary:hover {
  background-color: white;
  color: #1d5d83;
}

.wp-block-buttons .wp-block-button__link {
  border-radius: 4px;
}

.content-container {
  display: flex;
  max-width: 1230px;
  margin: auto;
}

section .content-container {
  flex-wrap: wrap;
  padding: 50px 30px;
}

@media (min-width: 780px) {
  section .content-container {
    padding: 140px 30px;
  }
}

/* Hompepage */

.home .site-main {
  margin-bottom: 0;
}

.home section:not(.homepage-hero):not(.homepage__our-network) {
  display: block;
  box-sizing: border-box;
  height: auto;
}

@media (min-width: 780px) {
  .home section:not(.homepage-hero):not(.homepage__our-network) {
    display: flex;
  }
}

.home section:nth-child(even) {
  background-color: #ffffff;
}

.home section:nth-child(odd) {
  background-color: #f9f9f9;
}

.home section:nth-child(odd) .content-container {
  flex-direction: row-reverse;
}

.home section.homepage__our-network .content-container {
  background-color: transparent;
}

.content-container .section-container {
  flex-wrap: wrap;
}

@media (min-width: 780px) {
  .content-container .section-container {
    flex-wrap: nowrap;
  }
}

.home .custom-homepage-container section.full-background-color {
  /* margin: 0 -9999rem;
  padding: 80px 9999rem; */
  box-sizing: content-box;
}

section .col-1-2,
section .col-1-3,
section .col-2-3 {
  padding: 10px 20px;
}

section .col-1-2 {
  flex: 1 1 375px;
}

section .col-1-3 {
  flex: 1 1 33.33%;
}

section .col-2-3 {
  flex: 1 1 66.66%;
}

section .col-1-2 img {
  width: 100%;
}

.home section.homepage__what-we-do {
  flex-direction: row;
  height: auto !important;
}

.home section.homepage__what-we-do .section-container {
  display: flex;
}

.home .wp-block-column {
  padding-right: 15px;
}

.homepage__what-we-do .section-container > .col-1-3:first-child {
  display: block;
  box-sizing: border-box;
}

.homepage__what-we-do .col-1-3 {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  height: 642px;
  min-width: 100%;
  padding: 0;
}

.homepage__what-we-do .col-1-3:not(:first-child) {
  margin: 0 -30px;
}
/* tablet styles for What We Do block grid */

@media (min-width: 680px) {
  .homepage__what-we-do .section-container > .col-1-3:first-child {
    min-width: inherit;
  }

  .homepage__what-we-do .col-1-3 {
    min-width: auto;
  }

  .homepage__what-we-do .col-1-3:not(:first-child) {
    margin: 0;
  }

  .homepage__what-we-do .section-container > .col-1-3:last-child {
    flex-wrap: wrap;
    height: auto;
  }

  .homepage__what-we-do
    .section-container
    > .col-1-3:last-child
    .homepage__tile {
    flex: 0 1 25%;
    width: 25%;
  }
}

@media (min-width: 920px) {
  .homepage__what-we-do .section-container > .col-1-3:first-child {
    padding: 10px;
  }

  .homepage__what-we-do
    .section-container
    > .col-1-3:last-child
    .homepage__tile {
    flex: 0 1 50%;
    width: 50%;
  }
}

.homepage__what-we-do .col-1-3:first-child .tile-container {
  position: absolute;
  display: flex;
  bottom: 0;
  margin: 0 -30px;
}

@media (min-width: 680px) {
  .homepage__what-we-do .col-1-3:first-child .tile-container {
    margin: 0;
  }
}

.homepage__tile {
  display: flex;
  align-items: flex-end;
  flex: 0 1 50%;
  box-sizing: border-box;
  width: 50%;
  max-height: 214px;
  height: 214px;
  padding: 22px;
  font-size: 1rem;
  font-weight: 500;
  vertical-align: bottom;
}

.homepage__tile.tile-image {
  padding: 0;
}

.homepage__tile.tile-image img {
  height: 100%;
  object-fit: cover;
}

.homepage__tile.tile--bahama {
  color: #ffffff;
  background-color: #1d5d83;
}

.homepage__tile.tile--non-photo {
  color: #1e4c73;
  background-color: #a5d6ec;
}

.homepage__tile.tile--bondi {
  color: #ffffff;
  background-color: #008ab1;
}

.homepage__tile.tile--white {
  color: #2e6790;
  background-color: #ffffff;
}

.homepage__tile.two-row-tile {
  height: 428px;
  max-height: 428px;
}

.homepage__tile.tile-absolute-right {
  position: absolute;
  bottom: 0;
  right: 0;
}

.home .site-header {
  position: absolute;
  width: 100%;
  background-color: transparent;
  z-index: 1;
}

.site-header .inside-header {
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
  padding: 30px 10px;
}

.site-header .site-logo {
  flex: 0 1 75%;
}

.site-header .site-logo a {
  float: left;
}

.site-logo a .header-image {
  height: 100px;
  width: auto;
  padding-right: 50px;
}

@media (min-width: 760px) {
  .site-header .inside-header {
    display: flex;
    padding: 40px;
  }

  .site-header .site-logo {
    flex: auto;
  }
}

.home .site.grid-container {
  max-width: 100%;
  width: unset;
  padding: 0;
}

.homepage-hero {
  position: relative;
  display: block;
  height: 800px;
  margin-top: -20px;
  border: 13px solid #00b2cf;
  background-image: linear-gradient(
      0deg,
      rgba(0, 0, 0, 50) 00%,
      rgba(0, 0, 0, 0.2) 100%
    ),
    url(/wp-content/uploads/2020/12/Hero-Mobile_621x1024.png);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  text-align: center;
}

@media (min-width: 760px) {
  .homepage-hero {
    background-image: linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.5) 00%,
        rgba(0, 0, 0, 0.2) 100%
      ),
      url(/wp-content/uploads/2020/12/Hero-Image-Updated_1024x550.png);
  }
}

.homepage-hero .subtitle {
  margin-bottom: 3em;
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.75rem;
  color: #fff;
}

@media (min-width: 920px) {
  .homepage-hero .subtitle {
    font-size: 1.5rem;
    line-height: 3rem;
  }
}

@media (min-width: 920px) {
  .homepage-hero .subtitle {
    font-size: 1rem;
    line-height: 1.5rem;
  }
}

.homepage-hero__content-container {
  width: 100%;
  margin: auto;
  padding: 300px 20px 0;
  box-sizing: border-box;
}

@media (min-width: 760px) {
  .homepage-hero__content-container {
    width: 80%;
    padding: 350px 20px 0;
  }
}

.homepage-hero h1 {
  font-size: 3rem;
  color: white;
}

@media (min-width: 780px) {
  .homepage-hero__content-container {
    width: 600px;
  }

  .homepage-hero h1 {
    font-size: 4rem;
    color: white;
  }
}

.home section.homepage__our-network {
  /* margin: 0 -9999rem;
  padding: 40px 9999rem; */
  /* color: #fff; */
  background-color: #ffffff;
  /* background-image: linear-gradient(
    0deg,
    rgba(31, 72, 119, 225) 00%,
    rgba(0, 0, 0, 0) 100%
  ); */
}

.homepage__our-network .content-container {
  display: block;
}

.infographic {
  width: 100%;
}

.infographic:not(.infographic__mobile) {
  display: none;
}

@media (min-width: 760px) {
  .infographic.infographic__mobile {
    display: none;
  }

  .infographic:not(.infographic__mobile) {
    display: block;
  }
}

/* .homepage__our-network h2 {
  color: #fff;
} */

.our-network__content-container {
  display: flex;
}

.home section.section-container.homepage__join-our-efforts {
  display: block;
  position: relative;
  height: auto;
  min-height: 545px;
  /*margin-left: -50px;*/
  background-image: url(/wp-content/uploads/2020/08/join-our-efforts.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  text-align: center;
}

.homepage__join-our-efforts .content-container {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

.homepage__join-our-efforts .section-container {
  width: 100%;
}

.homepage__join-our-efforts .highlight {
  color: #f08752;
}

/* Page */

.container {
  padding: 0 40px;
}

/* Main Navigation */

.site-header .header-widget {
  flex: 0 1 60px;
  height: 80px;
}

.site-header .header-right {
  margin-top: 0;
}

@media (min-width: 760px) {
  .site-header .header-widget {
    flex: inherit;
    height: 80px;
  }

  .site-header .header-right {
    margin-top: 20px;
  }
}

.site-header .header--network-link {
  display: inline-block;
  width: 20px;
  height: 30px;
  padding: 15px;
  border: 2px solid #008ab1;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 600;
  font-size: 0;
  -webkit-text-size-adjust: none;
}

.home .site-header .header--network-link {
  border: 2px solid rgba(255, 255, 255, 0.49);
  color: transparent;
}

.home .site-header .header--network-link:hover {
  background-color: #ffffff;
  color: #1d5d83;
}

.site-header .header--network-link:hover {
  background-color: #1d5d83;
  color: #ffffff;
}

@media (min-width: 760px) {
  .site-header .header--network-link {
    width: auto;
    height: auto;
    font-size: 0.875rem;
  }

  .home .site-header .header--network-link {
    width: auto;
    height: auto;
    font-size: 0.875rem;
    color: #ffffff;
  }
}

.site-header .header--network-link i {
  padding-right: 20px;
  font-size: 1.625rem;
  color: #09cbeb;
}

@media (min-width: 760px) {
  .site-header .header--network-link i {
    font-size: 0.875rem;
  }
}

/* Secondary Navigation */

.secondary-nav {
  position: sticky;
  display: none;
  justify-content: space-between;
  z-index: 100;
  top: 0;
  margin: auto;
  padding: 20px 20px 0px;
  background-color: #ffffff;
}

@media (min-width: 760px) {
  .secondary-nav {
    display: flex;
  }
}

.secondary-nav .site-logo {
  display: none;
}

@media (min-width: 1030px) {
  .secondary-nav .site-logo {
    display: inline-block;
  }
}

.secondary-nav .header-image {
  height: 90px;
}

.secondary-nav ul {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 700px;
  margin-top: 30px;
  margin-left: 0;
  margin-right: 0;
  padding-top: 25px;
}

.secondary-nav li {
  font-size: 0.875rem;
  list-style: none;
}

.secondary-nav li a {
  font-weight: 600;
  text-transform: capitalize;
  color: #bebebe;
}

.secondary-nav li a.mPS2id-highlight {
  color: #2e94bb;
}

.secondary-nav li a.mPS2id-highlight:before {
  top: -20px;
  height: 40px;
  width: 40px;
  margin-left: 20px;
  border-radius: 40px;
  background-color: #008ab1;
}

.secondary-nav li a:before {
  content: "";
  position: absolute;
  top: -5px;
  height: 12px;
  width: 12px;
  margin-left: 40px;
  border-radius: 10px;
  background-color: #104466;
}

.secondary-nav span {
  position: absolute;
  top: 0;
  left: 40px;
  height: 1px;
  width: 590px;
  background-color: grey;
}

/* Back to top */

.top-link__container {
  position: sticky;
  float: right;
  bottom: 0;
  margin-top: -120px;
}

.top-link {
  transition: all 0.25s ease-in-out;
  display: inline-flex;
  flex-wrap: wrap;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  margin: 0 3em 3em 0;
  border-radius: 50%;
  padding: 0.25em;
  width: 80px;
  height: 80px;
}

.top-link__text {
  font-size: 14px;
  font-weight: 600;
  color: #b6b6b6;
}

.top-link:focus .top-link__text {
  color: #444;
}

/* Connect Page */

.entry-title {
  text-align: center;
}

.connect--subtitle {
  max-width: 670px;
  margin: auto;
}

/* search */

.pt-cv-gls-header {
  display: block;
  width: 55px;
  height: 50px;
  border-radius: 5px;
  background-color: #23b099 !important;
  font-weight: 800;
  line-height: 40px;
  text-align: center;
}

.pt-cv-gls-group {
  padding-top: 20px;
}

.pt-cv-gls-content {
  margin-bottom: 40px;
}

/* cards*/

.pt-cv-colsys .pt-cv-content-item {
  max-width: 100%;
  width: 100% !important;
  padding-top: 20px;
}

@media (min-width: 870px) {
  .pt-cv-colsys .pt-cv-content-item {
    width: 50% !important;
    padding-top: 20px;
  }
}

/* @media (min-width: 1330px) {
  .pt-cv-colsys .pt-cv-content-item {
    width: 33.333% !important;
    padding-top: 20px;
  }
} */

.pt-cv-content-item .pt-cv-ifield {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  height: auto;
  border-radius: 4px;
  -webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.25);
  -moz-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.25);
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.25);
}

@media (min-width: 870px) {
  .pt-cv-content-item .pt-cv-ifield {
    width: auto;
    height: 255px;
    flex-direction: column;
  }
}

.pt-cv-content-item .pt-cv-href-thumbnail {
  display: none;
  order: 2;
  height: 120px;
  width: 170px;
}

.pt-cv-content-item .pt-cv-thumbnail {
  height: 120px;
  max-height: 120px;
  object-fit: contain;
}

@media (min-width: 870px) {
  .pt-cv-content-item .pt-cv-href-thumbnail {
    display: block;
    width: 200px;
  }
}

.pt-cv-content-item .pt-cv-title {
  order: 1;
  height: auto;
  width: 100%;
  margin-bottom: 0;
  padding: 15px;
  font-size: 1.25rem;
}

@media (min-width: 870px) {
  .pt-cv-content-item .pt-cv-title {
    width: 200px;
    height: 115px;
    margin-bottom: 10px;
    padding: 15px 15px 0px;
    font-size: 1.125rem;
  }
}

.pt-cv-content-item .pt-cv-ctf-list {
  display: inline-block;
  flex: 1;
  order: 3;
  width: 240px;
  margin-bottom: 0;
  padding: 10px 20px;
  background-color: #f7f7f7;
}

@media (min-width: 870px) {
  .pt-cv-content-item .pt-cv-ctf-list {
    width: calc(100% - 200px);
  }
}

.pt-cv-content-item .pt-cv-custom-fields {
  display: flex !important;
  flex-direction: column;
  font-size: 0.812rem;
}

.pt-cv-content-item .pt-cv-custom-fields a {
  font-size: 0.75rem;
}

.pt-cv-content-item .pt-cv-ctf-name {
  font-size: 12px;
  font-weight: 600;
  line-height: 18px;
  color: #104466;
}

.pt-cv-gls-menu {
  margin-top: 40px;
  padding: 10px;
  border-radius: 4px;
  box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.2);
}

.pt-cv-gls-menu a {
  font-size: 1rem;
  font-weight: 800;
}

.pt-cv-gls-menu .pt-active {
  padding: 15px;
  border-radius: 4px;
}

.pt-cv-view [data-id="pt-cv-page-1"] .pt-cv-gls-group .pt-cv-content-item {
  clear: none !important;
}
