/* Single profile page */
.single-profile .content-area {
  margin: 2rem auto 10rem;
  max-width: 64rem;
}

.single-profile .back-link {
  color: #024794;
  display: inline-block;
  font-weight: 700;
  margin-bottom: 2.5rem;
}

.single-profile .categories {
  margin-bottom: 2.875rem;
}

.single-profile .categories a {
  color: #024794;
  font-size: 0.75rem;
  text-decoration: underline;
}

.single-profile .profile-wrapper {
  display: flex;
  justify-content: space-between;
}

.single-profile .entry-title {
  font-size: 3rem;
  margin-bottom: 0;
  margin-top: 0;
}

.single-profile .profile-left {
  margin-right: 3.5rem;
}

.single-profile .profile-right {
  flex-shrink: 0;
  font-size: 1.25rem;
}

.single-profile .profile-right a {
  color: #024794;
  display: inline-block;
  margin-bottom: 0.75rem;
}

.single-profile .profile-titles {
  font-size: 1.5rem;
}

.single-profile .profile-affiliation {
  font-weight: 300;
}

.single-profile .profile-education {
  font-size: 1.25rem;
  margin-left: 0;
}

.single-profile .profile-education li {
  margin-bottom: 0.25rem;
}

.single-profile .profile-image {
  margin-bottom: 1rem;
}

.single-profile .profile-education-heading {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

@media all and (max-width: 768px) {
  .single-profile .profile-wrapper {
    display: block;
  }

  .single-profile .profile-left {
    margin-right: 0;
  }
}

/* Archive profile page */
.post-type-archive-profile .content-area {
  margin-bottom: 10rem;
}

.post-type-archive-profile .hidden {
  display: none;
}

.post-type-archive-profile .archive-profile-top {
  margin-left: auto;
  margin-right: auto;
  margin-top: 6.5rem;
  max-width: 50rem;
}

.post-type-archive-profile .page-header h1 {
  font-weight: 900;
  margin-top: 0;
  text-align: center;
  text-transform: capitalize;
}

.post-type-archive-profile .archive-profile-button-wrapper {
  text-align: center;
}

.post-type-archive-profile .archive-profile-button {
  background-color: #131516;
  color: #fff;
  display: inline-block;
  font-size: 1.25rem;
  font-weight: 700;
  padding: 0.75rem 1.25rem;
  text-transform: uppercase;
}

.post-type-archive-profile form {
  margin-bottom: 5.5rem;
  margin-top: 3.25rem;
}

.post-type-archive-profile #profile-search {
  background: url("/wp-content/plugins/concussion-profile/img/search.svg")
    no-repeat left;
  border-bottom: 2px solid #131516;
  border-left: 0;
  border-right: 0;
  border-top: 0;
  border-radius: 0;
  flex-shrink: 1;
  padding-left: 1.5rem;
  width: 90%;
}

.post-type-archive-profile .search-fields {
  display: flex;
  margin-bottom: 3rem;
}

.post-type-archive-profile #form-submit {
  background-color: #131516;
  border: 0;
  border-radius: 0;
  color: #fff;
  font-weight: 700;
  margin-left: 1rem;
  text-transform: uppercase;
}

.post-type-archive-profile .filter-heading {
  font-size: 2rem;
}

.post-type-archive-profile .filters {
  display: flex;
  margin: -0.75rem;
  flex-wrap: wrap;
}

.post-type-archive-profile .filter {
  align-items: center;
  display: flex;
  font-size: 0.875rem;
  padding: 0.75rem;
  width: 33.333%;
}

.post-type-archive-profile .profile:hover,
.post-type-archive-profile .profile:focus {
  color: #024794;
}

.post-type-archive-profile .profile:hover .profile-name,
.post-type-archive-profile .profile:focus .profile-name {
  text-decoration: underline;
}

.post-type-archive-profile .filter label {
  margin-left: 0.5rem;
}

.post-type-archive-profile .filter input:checked + label {
  color: #024794;
}

.post-type-archive-profile .profile-list {
  margin-left: auto;
  margin-right: auto;
  max-width: 63.75rem;
}

.post-type-archive-profile .profile-list-inner {
  display: flex;
  flex-wrap: wrap;
  margin: -2rem;
}

.post-type-archive-profile .profile {
  padding: 2rem;
  width: 33.333%;
}

.post-type-archive-profile .profile-image {
  margin-bottom: 1rem;
}

.post-type-archive-profile .profile-name {
  color: #024794;
  font-size: 1.25rem;
  font-weight: 700;
}

.post-type-archive-profile .profile-affiliation {
  font-weight: 300;
}

.post-type-archive-profile .fade-screen {
  background-color: rgba(0, 0, 0, 0.6);
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
  z-index: 10;
}

.post-type-archive-profile .spinner {
  margin: 100px auto;
  width: 40px;
  height: 40px;
  margin-left: -50px;
  position: fixed;
  left: 50%;
  top: 35%;
  z-index: 20;
}

.post-type-archive-profile .cube1,
.post-type-archive-profile .cube2 {
  background-color: #fff;
  width: 15px;
  height: 15px;
  position: absolute;
  top: 0;
  left: 0;
  animation: sk-cubemove 1.8s infinite ease-in-out;
}

.post-type-archive-profile .cube2 {
  animation-delay: -0.9s;
}

.post-type-archive-profile .fade-in-up {
  animation-name: fade-in-up;
  animation-duration: 0.5s;
}

@media all and (max-width: 768px) {
  .post-type-archive-profile .filter {
    width: 50%;
  }

  .post-type-archive-profile .profile-list-inner {
    margin: -1rem;
  }

  .post-type-archive-profile .profile {
    padding: 1rem;
    width: 50%;
  }
}

@keyframes sk-cubemove {
  25% {
    transform: translateX(42px) rotate(-90deg) scale(0.5);
  }
  50% {
    transform: translateX(42px) translateY(42px) rotate(-179deg);
  }
  50.1% {
    transform: translateX(42px) translateY(42px) rotate(-180deg);
  }
  75% {
    transform: translateX(0px) translateY(42px) rotate(-270deg) scale(0.5);
  }
  100% {
    transform: rotate(-360deg);
  }
}

@keyframes fade-in-up {
  0% {
    opacity: 0.25;
    transform: translateY(1rem);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}