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

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

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

.page-content {
  padding: 1em; }
  @media screen and (min-width: 680px) {
    .page-content {
      display: -ms-grid;
      display: grid;
      -ms-grid-columns: 1fr 300px;
      grid-template-columns: 1fr 300px;
      grid-gap: 1em; } }
  .page-content h2 {
    margin-bottom: 0; }
  .page-content .schools-guide-aside {
    font-size: 16px;
    font-size: 1rem;
    background: #ebebeb;
    padding: 1em;
    margin-top: 1em; }
    @media screen and (min-width: 680px) {
      .page-content .schools-guide-aside {
        grid-column: 2 / -1;
        -ms-grid-row: 1;
        -ms-grid-row-span: 2;
        grid-row: 1 / 3;
        margin-top: 0; } }
    .page-content .schools-guide-aside .mailto {
      white-space: nowrap; }

.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__details {
  padding: 1em; }
  .pasl--listing__details h3 {
    color: #0053a5;
    font-family: "Source Sans Pro", sans-serif;
    font-size: 18px;
    font-size: 1.125rem;
    line-height: 1.5;
    margin: 1rem 0 0.5rem;
    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 .school-website-row {
    font-weight: 600;
    font-size: 16px;
    font-size: 1rem; }
    .pasl--listing__details .school-website-row td {
      padding: 0.25em 0.375em 0.25em 0; }
    .pasl--listing__details .school-website-row .school-website-link {
      color: #fff;
      display: inline-block;
      background-color: #0053a5;
      padding: 0.125em 0.375em;
      border-radius: 0.25em; }
      .pasl--listing__details .school-website-row .school-website-link:hover {
        background-color: #3f9eeb; }
  .pasl--listing__details .school-type-list {
    margin: 0;
    list-style: none; }
    .pasl--listing__details .school-type-list li {
      display: inline-block;
      margin-right: 0.25em; }
      .pasl--listing__details .school-type-list li:after {
        content: ', '; }
      .pasl--listing__details .school-type-list li:last-child:after {
        content: none; }
  .pasl--listing__details .website-link:after {
    content: "\f08e";
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    vertical-align: middle;
    padding-left: 0.375em; }

/* *********************************************** 
 * 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: -ms-grid;
    display: grid;
    -ms-grid-columns: (minmax(320px, 1fr))[2];
    grid-template-columns: repeat(2, minmax(320px, 1fr));
    grid-gap: 1em; } }

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

.pasl--standard__listing .wp-post-image {
  width: 50%;
  float: left;
  margin: 0 1rem 0.25rem 0; }

.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; }

/* *********************************************** 
 * Section styles
 */
.pasl--listing__section {
  padding: 2em 2em 0; }
  .pasl--listing__section:last-child {
    padding-bottom: 2em; }

.premium-section {
  padding: 2em; }

.premium-section {
  background-color: rgba(255, 221, 0, 0.3); }

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

.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: #FFD900;
      cursor: pointer; }
  .card.opened .pasl--content {
    height: auto; }
  .card.opened .pasl--listing__details {
    display: block;
    padding-bottom: 3em; }
  .card.opened .toggle-area {
    background: none;
    padding: 0 1em 0.75em; }
  .card.opened.pasl--featured__listing {
    -ms-grid-row-span: 2;
    grid-row: span 2; }
  .card.opened.pasl--standard__listing {
    -ms-grid-row-span: 2;
    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; }

/* --------------------------------------------------
 * Advacned Custom Fields Map
 * -------------------------------------------------- */
.map-section .acf-map {
  width: 100%;
  height: 60vh; }

.map-section h2 {
  font-size: 20px;
  margin-bottom: 0.5rem;
  line-height: 1.125; }

.map-section .map-school-name {
  font-weight: 600; }

.map-section .map-school-campus {
  font-size: 18px;
  font-weight: 400; }

.map-section .map-school-address {
  font-size: 16px;
  font-weight: 400; }

/* --------------------------------------------------
 * Section: Schools List
 * -------------------------------------------------- */
.schools-list ul {
  -webkit-columns: 3 200px;
  columns: 3 200px;
  -webkit-column-gap: 2em;
  column-gap: 2em; }
