/*
 *	Moms Dads Grads Page Template Styles
 */
.pasl--listing .site-main {
  padding: 1em; }

.pasl--listing h1.page-title {
  color: #0053a5;
  margin-bottom: 1rem; }

.pasl--listing .section-header {
  background: #ebebeb;
  margin-bottom: 1em; }
  .pasl--listing .section-header .section-title {
    color: #404040; }

@media screen and (min-width: 680px) {
  .page-content {
    display: grid;
    grid-template-columns: 1fr 300px;
    grid-gap: 1em; } }

.page-content h2 {
  margin-bottom: 0; }

.page-content .schools-guide-aside {
  font-size: 14px;
  font-size: 0.875rem;
  background: #ebebeb;
  padding: 1em;
  margin-top: 1em; }
  @media screen and (min-width: 680px) {
    .page-content .schools-guide-aside {
      grid-column: 2 / -1;
      grid-row: 1 / 3;
      margin-top: 0; } }

.pasl--listing__nav {
  margin: 0 1em; }
  .pasl--listing__nav .pasl--listing__tags {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row nowrap;
    flex-flow: row nowrap; }
  .pasl--listing__nav a[rel="tag"] {
    color: #ebebeb;
    font-family: "Source Serif Pro", serif;
    font-size: 1em;
    font-weight: 400;
    text-decoration: none;
    background-color: #aaaaaa;
    padding: 0.25rem 0.5rem;
    margin-right: 0.5rem;
    border-radius: 5px; }
    .pasl--listing__nav a[rel="tag"]:last-child {
      margin-right: 0; }
    .pasl--listing__nav a[rel="tag"]:hover {
      color: #fff; }
    .pasl--listing__nav a[rel="tag"].active {
      color: #fff;
      background-color: #7ac943; }

.card {
  margin: 0;
  padding: 0;
  background: #fff;
  border: 1px solid #aaaaaa;
  -webkit-box-shadow: 2px 2px 5px #aaaaaa;
  box-shadow: 2px 2px 5px #aaaaaa; }
  .card a[rel="tag"] {
    font-size: 0.875em; }
  .card img {
    width: 100%;
    height: auto; }

.pasl--content {
  padding: 1em 1em 0; }

.pasl--listing__section {
  margin: 2em 0; }
  .pasl--listing__section:last-child {
    margin-bottom: 0; }

.pasl--listing__details {
  padding: 1em; }
  .pasl--listing__details h4 {
    color: #0053a5;
    font-family: "Source Sans Pro", sans-serif;
    font-font-size: 18px;
    font-font-size: 1.125rem;
    line-height: 1.5;
    margin-bottom: 0.5em;
    text-transform: uppercase; }
  .pasl--listing__details p {
    padding: 0 5px;
    font-size: 14px;
    font-size: 0.875rem; }
  .pasl--listing__details table {
    margin-bottom: 0; }
  .pasl--listing__details td {
    padding: 0 0.375em 0 0; }
    .pasl--listing__details td:first-child {
      white-space: nowrap;
      vertical-align: top; }
  .pasl--listing__details .website-link:after {
    content: "\f08e";
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    vertical-align: middle;
    padding-left: 0.375em; }

li.pasl--leaderboard {
  padding-bottom: 1em; }
  li.pasl--leaderboard img {
    margin: 0 auto;
    height: 90px; }

/* *********************************************** 
 * Standard listing
 */
.standard-list .card {
  margin-bottom: 1em; }
  @media screen and (min-width: 680px) {
    .standard-list .card {
      margin-bottom: 0; } }

@media screen and (min-width: 680px) {
  .standard-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(320px, 1fr));
    grid-gap: 1em; } }

@media screen and (min-width: 920px) {
  .standard-list {
    grid-template-columns: repeat(3, minmax(280px, 1fr)); } }

.pasl--standard__listing .attachment-post-thumbnail {
  float: left;
  width: 33%;
  margin: -1em 1em 0.5em -1em; }
  @media screen and (min-width: 680px) {
    .pasl--standard__listing .attachment-post-thumbnail {
      width: 50%; } }

.pasl--standard__listing.pasl--standard__listing .pasl--content {
  height: 240px;
  -webkit-transition: height 0.5s ease;
  -o-transition: height 0.5s ease;
  transition: height 0.5s ease; }
  @media screen and (min-width: 540px) {
    .pasl--standard__listing.pasl--standard__listing .pasl--content {
      height: 300px; } }

.pasl--standard__listing .pasl--school__title {
  clear: none; }

/* *********************************************** 
 * featured listing
 */
.featured-list {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 1em; }
  @media screen and (min-width: 920px) {
    .featured-list {
      grid-template-columns: repeat(2, 1fr);
      grid-gap: 2dem; } }

.card {
  position: relative;
  font-size: 14px;
  font-size: 0.875rem; }
  .card .pasl--school__title {
    font-size: 20px;
    font-size: 1.25rem;
    margin-bottom: 0.5rem; }
    @media screen and (min-width: 680px) {
      .card .pasl--school__title {
        font-size: 26px;
        font-size: 1.625rem; } }
  .card .pasl--content {
    overflow: hidden; }
    .card .pasl--content p:last-of-type {
      margin-bottom: 0; }
  .card.pasl--featured__listing .pasl--content {
    height: 150px; }
  .card .pasl--listing__details {
    display: none; }
  .card .toggle-area {
    position: absolute;
    z-index: 100;
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0)), color-stop(50%, white));
    background: -webkit-linear-gradient(top, rgba(255, 255, 255, 0) 0%, white 50%);
    background: -o-linear-gradient(top, rgba(255, 255, 255, 0) 0%, white 50%);
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, white 50%);
    width: 100%;
    bottom: 0;
    left: 0;
    color: #404040;
    text-align: right;
    padding: 3em 1em 0.75em; }
    .card .toggle-area .toggle-button {
      font-family: "Source Sans Pro", sans-serif;
      font-size: 0.875rem;
      padding: 0.125rem 0.25rem;
      border-radius: 5px;
      border: 1px solid #777;
      background: #ebebeb;
      cursor: pointer; }
  .card.opened .pasl--content {
    height: auto; }
  .card.opened .pasl--listing__details {
    display: block;
    padding-bottom: 3em; }
  .card.opened .toggle-area {
    background: none; }
  .card.opened.pasl--featured__listing {
    grid-row: span 2; }
  .card.opened.pasl--standard__listing {
    grid-row: span 2; }

.pasl--featured__listing .featured--title {
  background-color: #7ac943;
  color: #fff;
  display: block;
  font-family: "Source Sans Pro", sans-serif;
  font-size: 1em;
  line-height: 22px;
  margin: 0;
  padding: 0 5px;
  text-transform: uppercase; }

.pasl--featured__listing .tags__small {
  margin-bottom: .5em; }

.pasl--featured__listing a[rel="tag"] {
  background-color: #7ac943;
  color: #fff; }

img.pasl--icon {
  display: inline-block;
  width: auto;
  max-height: 50px;
  margin: 5px 10px 5px 0;
  vertical-align: top; }

.pasl--pagination {
  background-color: #ebebeb;
  color: "Source Serif Pro", serif;
  display: block;
  height: 40px;
  font-family: "Source Sans Pro", sans-serif;
  font-size: 1em;
  line-height: 22px;
  margin: .5em 1em 1em;
  padding: 0 5px; }
  .pasl--pagination .page--next {
    float: right;
    font-size: 18px;
    font-weight: bold;
    margin: 8px 5px 5px 5px; }
  .pasl--pagination .page--prev {
    float: left;
    font-size: 18px;
    font-weight: bold;
    margin: 8px 5px 5px 5px; }
  .pasl--pagination a:hover {
    cursor: pointer;
    text-decoration: underline; }
