.grid-footer {
  padding: 50px 0;
  margin: 0 auto;
  padding-left: 15px;
  padding-right: 15px;
  width: 100%;
  font-family: 'arboria', sans-serif;

}

.grid-footer .links {
/*  display: grid;
  gap: 16px;
  grid-template-areas:
    "a a a"
    "b b b"
    "c c c";
  margin: auto auto 16px;
  */
  display: flex;
  flex-direction: column;
}

@media only screen and (min-width: 768px) {
  .grid-footer .links {
    grid-template-areas:
      "a a c"
      "b b x";
    margin-bottom: 3rem;
  }
}

@media only screen and (min-width: 1200px) {
  .grid-footer {
    max-width: 1440px;
  }

  .grid-footer .links {
    grid-template-areas: "a b c";
    grid-template-columns: 242px 33% 1fr;
  }
}

.grid-footer .links .logo img{
  margin-bottom: 16px;
}
.grid-footer .address p {
  font-size: 13px;
  //color: #05215b;
  color: #525252;
}
/* nav */

.grid-footer .link-lists {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-column-gap: 16px;
}
.grid-footer .link-lists .list {
  margin-top: 0;
}

.grid-footer .list--contact {
      padding-left: 0;
}
@media only screen and (min-width: 768px) {
  .grid-footer .list--contact {
    padding-left: 40px;
  }
}

@media only screen and (min-width: 1200px) {
  .grid-footer .list--contact {
    /*width: 12%;*/
  }
}

.grid-footer .list li {
  margin-bottom: 4px;
  list-style: none;
  line-height: 26px;
}

.list__item {
  max-width: 100%;
  font-size: 13px;
}

.grid-footer .list a {
  color: #525252;
}

@media only screen and (min-width: 1200px) {
  .grid-footer .list--login {
    width: 15%;
  }
}

@media only screen and (min-width: 768px) {
  .grid-footer .list--login {
    width: 116px;
  }
}

.grid-footer .list--login {
  width: 45%;
}

/* nav end */


/* social media wrapper */
@media only screen and (min-width: 768px) {
  .grid-footer .social-media-wrapper {
    align-items: flex-end;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 0;
  }
}

.grid-footer .social-media-wrapper {
  align-items: center;
  display: flex;
  grid-area: c;
  justify-content: flex-start;
  align-items: flex-end;
}

.grid-footer .embrace-family {
  font-size: 13px;
}
 .grid-footer .embrace-family a {
    font-weight: bold;
    text-decoration: underline;
  }
.grid-footer .embrace-family  a:focus,
 .grid-footer .embrace-family a:hover {
    color: #5e2dc1;

  }
}

@media only screen and (min-width: 1200px) {
  .grid-footer .icons-wrapper {
    margin-bottom: 22px;
  }
}

.grid-footer .icons-wrapper {
  display: grid;
  grid-template-areas:
    "a b c d";
  align-items:center;
}

.grid-footer .link--icon {
  color: #737373;
  margin-right: 16px;
}
.grid-footer .link--icon svg {
  width: 24px;
  fill: #525252;
}

/* social media end */

/* portals-wrapper */
@media only screen and (min-width: 1200px) {
  .grid-footer .portals-wrapper {
    align-items: center;
    grid-template-columns: 242px 1fr;
    grid-template-rows: none;
  }
}

.grid-footer .portals-wrapper {
  color: #525252;
  display: grid;
  gap: 0 16px;
  grid-template-rows: 2.2rem 1fr;
}

.grid-footer section {
  margin: 0;
}

.grid-footer .embrace-family {
  font-weight: 300;
}

@media only screen and (min-width: 1200px) {
  .grid-footer .portal-links {
    display: block;
  }
}

.grid-footer .portal-links {
  display: flex;
  flex-wrap: wrap;
}

/* classes are button-naming, are actually a-tags styled like btn on hover */
.btn-portal--active {
  border-color: #d4d4d4;
  cursor: default;
}

.btn-portal {
  align-items: center;
  background-color: #fff;
  border: 1px solid transparent;
  border-radius: 5rem;
  cursor: pointer;
  display: inline-flex;
  font-weight: 700;
  font-size: 13px;
  color: #525252;
  justify-content: center;
  line-height: 1;
  padding: 12px 16px;
  text-align: center;
}

.btn-portal:hover,
.btn-portal:focus {
  border: 1px solid #f5f5f5;
  background-color: #f5f5f5;
  color: #171717;
}
