/** ARCHIVE VIDEO **/
.node-type-media-video #main-content {
  padding-top: 0;
  max-width: 100%;
  width: 100%;
}

.node-type-media-video #video-player-wide-wrapper {
  background-color: #000;
}

.node-type-media-video #video-player-wrapper {
  margin: 0 auto;
  max-width: 720px;
}

.node-type-media-video #video-player-wrapper .video-container {
  padding-bottom: 56.25%;
}

.node-type-media-video #media-video--video {
  margin: 0 auto;
  max-width: 720px;
}

.node-type-media-video #media-video--video video {
  max-height: 405px;
}

.node-type-media-video #video-content {
  margin: 0 auto;
  max-width: 1064px;
}

.media-video--still {
  max-height: 79px;
  max-width: 140px;
}
#media-video--video video {
  max-width: 720px;
  width: 100%;
}

@media screen and (min-width: 750px) {
  .media-video--still {
    float: left;
    margin-right: 1em;
  }
  .media-video--text {
    overflow: auto;
  }
  .media-video--text h3 {
    margin-top: 0;
  }
}

/** KIMBIA FORM **/
.donate-content {
  overflow: auto;
}
.donate-content h3 {
  
}
.donate-content h3 a {
  background: #1e549c -webkit-gradient(linear, left top, right bottom, from(#1e549c), to(#56a1d4)) repeat scroll 0 0;
  background: #1e549c -webkit-linear-gradient(left top, #1e549c, #56a1d4) repeat scroll 0 0;
  background: #1e549c -o-linear-gradient(left top, #1e549c, #56a1d4) repeat scroll 0 0;
  background: #1e549c linear-gradient(to right bottom, #1e549c, #56a1d4) repeat scroll 0 0;
  background-color: #1e549c;
  background-size: 350%;
  border-radius: 5px;
  color: #ffffff;
  display: block;
  height: 60px;
  line-height: 60px;
  margin: auto;
  text-align: center;
  -webkit-transition: background .5s;
  -o-transition: background .5s;
  transition: background .5s;
    -webkit-transition: background-size .5s;
  width: 80%;
}
.donate-content h3 a:hover,
.donate-content h3 a:focus {
  background-size: 100%;
  text-decoration: none;
}
@media screen and (min-width: 750px) {
  .donate-content h3 {
    float: left;
    width: 30%;
  }
  .donate-content h3 a {
    
  }
  .donate-content h3 a:hover,
  .donate-content h3 a:focus {
    background-size: 100%;
    text-decoration: none;
  }
}

/** IMAGE GALLERIES **/
.image-grid {
  display: -ms-grid;
  display: grid;
  margin: -.5rem;
}

.image-grid-image {
  text-align: center;
}
.image-grid-image-container {
  border: .5rem solid transparent;
}
.image-grid-image img {
  height: auto;
  width: auto;
}
.image-grid-1 .image-grid--image {
  width: 100%;
  margin-right: 0;
}
.image-grid-1 .image-grid--still {
  margin-right: 2em;
  text-align: center;
  width: 100%;
}
.image-grid-1 .image-grid--image-text {
  width: 100%;
}

.wqed-image-gallery-prev,
.wqed-image-gallery-next {
  background-color: transparent;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% auto;
  border: none;
  cursor: pointer;
}
.wqed-image-gallery-prev {
  background-image: url('../images/gallery/left-arrow.png');
}
.wqed-image-gallery-next {
  background-image: url('../images/gallery/right-arrow.png');
}

@media screen and (min-width: 500px) {
  .image-grid--image {
    float: left;
    margin-right: 1em;
    width: calc(50% - 1em);
  }
  .image-grid--image.even {
    clear: both;
  }
}

@media screen and (min-width: 900px) {
  .image-grid {
    
  }
  .image-grid-3,
  .image-grid-6 {
    -ms-grid-columns: (1fr)[3];
    grid-template-columns: repeat(3, 1fr);
  }
  .image-grid--page {
    display: none;
  }
  .image-grid--page.current {
    display: block;
  }
  .image-grid--page-row {
    overflow: auto;
    padding: 0 0 2em;
  }
  .image-grid--image {
    margin-left: 1em;
    margin-right: 1em;
  }
  .image-grid--image.even {
    clear: none;
  }
  .image-grid-2 .image-grid--image,
  .image-grid-4 .image-grid--image {
    width: calc(50% - 2em);
  }
  .image-grid-3 .image-grid--image,
  .image-grid-5 .image-grid--image,
  .image-grid-6 .image-grid--image {
    width: calc(33.33% - 2em);
  }
  .image-grid--image-heading {
    font-size: 1.5em;
    line-height: 1.2em;
  }
}

/** VIDEO GALLERIES **/
.video-grid {
  display: -ms-grid;
  display: grid;
  margin: -.5rem;
}
.video-grid.slick-initialized {
  -ms-grid-columns: 20px 1fr 20px;
  grid-template-columns: 20px 1fr 20px;
}

.video-grid--video {
  border: .5rem solid transparent;
}

.video-grid--video img {
  height: auto;
  width: 100%;
}

.video-grid.slick-initialized .slick-track,
.video-grid.slick-initialized .slick-list {
  height: 100%;
}
.video-grid.slick-initialized .slick-list {
  -ms-grid-column: 2;
}
.video-grid.slick-initialized .slick-slide {
  display: block; /* IE/Edge */
  display: grid;
}

.video-grid.slick-initialized .video-grid--video {
  padding: 0 .5rem;
}

.wqed-video-gallery-prev,
.wqed-video-gallery-next {
  background-color: transparent;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% auto;
  border: none;
  cursor: pointer;
}
.wqed-video-gallery-prev {
  background-image: url('../images/gallery/left-arrow.png');
}
.wqed-video-gallery-next {
  background-image: url('../images/gallery/right-arrow.png');
  -ms-grid-column: 3;
}

#wqed-overlay-image-slider {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 20px 1fr 20px;
  grid-template-columns: 20px 1fr 20px;
}

#wqed-overlay-image-slider.slick-initialized .slick-track {
  height: 100%;
}

#wqed-overlay-image-slider.slick-initialized .slick-slide {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-flow: column;
          flex-flow: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

#wqed-overlay-image-slider .overlay-image-launch {
  cursor: inherit;
}

#wqed-overlay-image-slider img {
  display: inline-block;
  max-height: 75vh;
}

#wqed-overlay-image-slider .image-grid-image-text {
  margin: auto;
  max-width: 600px;
}

#wqed-overlay-image-slider h3 {
  color: #fff;
}

@media screen and (min-width: 520px) {
  .video-grid-2,
  .video-grid-4,
  .video-grid-6 {
    -ms-grid-columns: (1fr)[2];
    grid-template-columns: repeat(2, 1fr);
  }
  .video-grid-2 .video-grid--video:nth-child(odd),
  .video-grid-4 .video-grid--video:nth-child(odd),
  .video-grid-6 .video-grid--video:nth-child(odd) {-ms-grid-column: 1;}
  .video-grid-2 .video-grid--video:nth-child(even),
  .video-grid-4 .video-grid--video:nth-child(even),
  .video-grid-6 .video-grid--video:nth-child(even) {-ms-grid-column: 2;}

  .video-grid-4 .video-grid--video:nth-child(3),
  .video-grid-4 .video-grid--video:nth-child(4),
  .video-grid-6 .video-grid--video:nth-child(3),
  .video-grid-6 .video-grid--video:nth-child(4) { -ms-grid-row: 2;}

  .video-grid-6 .video-grid--video:nth-child(5),
  .video-grid-6 .video-grid--video:nth-child(6) { -ms-grid-row: 3;}
}

@media screen and (min-width: 780px) {
  .video-grid-3,
  .video-grid-6 {
    -ms-grid-columns: (1fr)[3];
        grid-template-columns: repeat(3, 1fr);
  }
  .video-grid-3 .video-grid--video:nth-child(3n+1),
  .video-grid-6 .video-grid--video:nth-child(3n+1) {-ms-grid-column: 1}
  .video-grid-3 .video-grid--video:nth-child(3n+2),
  .video-grid-6 .video-grid--video:nth-child(3n+2) {-ms-grid-column: 2}
  .video-grid-3 .video-grid--video:nth-child(3n),
  .video-grid-6 .video-grid--video:nth-child(3n) {-ms-grid-column: 3;}
  .video-grid-6 .video-grid--video:nth-child(3) {-ms-grid-row: 1;}
  .video-grid-6 .video-grid--video:nth-child(4),
  .video-grid-6 .video-grid--video:nth-child(5),
  .video-grid-6 .video-grid--video:nth-child(6) {-ms-grid-row: 2;}
}

/** CULTURAL CALENDAR EVENTS **/
#pane-fm-cultural-calendar {
  clear: both;
}
.cultural-calendar-event {
  margin-bottom: 1em;
}
.cultural-calendar-event--date {
  background-color: #3d3935;
  color: #fff;
  font-weight: bold;
  padding: .25rem .5rem;
  text-transform: uppercase;
}
.cultural-calendar-event--text {
  -ms-grid-column: 2;
  padding: 0 .5rem;
}
.cultural-calendar-event--title {
  color: #00aea9;
  font-size: 1.2em;
  font-weight: bold;
  margin: 1rem 0 0;
}
.cultural-calendar-event--body {
  clear: both;
}
@media screen and (min-width: 750px) {
  .cultural-calendar-event {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 250px 1fr;
        grid-template-columns: 250px 1fr;
  }
  .cultural-calendar-event--date {
    padding: .5rem;
  }
  .cultural-calendar-event--text {
    padding: 0 1em;
  }
  .cultural-calendar-event--title {
    margin-top: .5rem;
  }
}


/** FRONTPAGE HIGHLIGHTS **/

.view-frontpage-highlight .view-content {
  display: flex;
  flex-flow: column;
}

.frontpage-highlight {
  background-color: #3d3935;
  color: #fff;
  display: flex;
  flex-flow: column;
  margin: 0 0 1rem;
}

.frontpage-highlight h3,
.node-type-panel .frontpage-highlight h3 {
  background-color: #00aea9;
  color: #fff;
  margin: 0;
  padding: .75rem;
  text-align: center;
}

.black .frontpage-highlight h3,
.node-type-panel .black .frontpage-highlight h3 {
  background-color: #3d3935;
}
.dark-blue .frontpage-highlight h3,
.node-type-panel .dark-blue .frontpage-highlight h3 {
  background-color: #1b448a;
}
.gold .frontpage-highlight h3,
.node-type-panel .gold .frontpage-highlight h3 {
  background-color: #f9a11b;
}
.yellow .frontpage-highlight h3,
.node-type-panel .yellow .frontpage-highlight h3 {
  background-color: #fec52e;
}

.frontpage-highlight .frontpage-highlight-text {
  padding: .5rem;
}

.frontpage-highlight-text .field-name-body p {
  margin: .1rem 0;
}

.frontpage-highlight .frontpage-highlight-text .frontpage-highlight-subtitle {
  color: #fec52e;
}

.frontpage-highlight a,
.frontpage-highlight a:active,
.frontpage-highlight a:visited {
  color: #fff;
  overflow: hidden;
}
.frontpage-highlight a:hover {
  color: #fec52e;
}

@media screen and (min-width: 960px) {
  .view-frontpage-highlight .view-content {
    flex-flow: row wrap;
    margin: 0 -.5rem;
  }

  .frontpage-highlight {
    margin: 0 .5rem 1rem;
    width: calc(33.33% - 1rem);
  }

  .view-frontpage-highlight-first-3 .view-content {
    display: -ms-grid;
    display: grid;
    grid-template-columns: 2fr 1fr;
    -ms-grid-columns: 2fr 1fr;
  }
  .view-frontpage-highlight-first-3 .frontpage-highlight {
    border: .5rem solid #fff;
    margin: 0;
    width: 100%;
  }
  .view-frontpage-highlight-first-3 .frontpage-highlight:nth-child(1) {
    grid-row: 1 / span 2;
    -ms-grid-row: 1;
    -ms-grid-row-span: 2;
  }
  .view-frontpage-highlight-first-3 .frontpage-highlight:nth-child(1) h3 {
    font-size: 2.2rem;
    padding: 1.1rem;
  }
  .view-frontpage-highlight-first-3 .frontpage-highlight:nth-child(1) .frontpage-highlight-text {
    font-size: 1.5rem;
    line-height: 2rem;
    padding: 1rem;
  }

  .view-frontpage-highlight-first-3 .frontpage-highlight:nth-child(2) {
    grid-column: 2;
    -ms-grid-column: 2;
  }
  .view-frontpage-highlight-first-3 .frontpage-highlight:nth-child(3) {
    grid-column: 2;
    -ms-grid-column: 2;
    grid-row: 2;
    -ms-grid-row: 2;
  }

  .view-frontpage-highlight-second-3 .frontpage-highlight {
    width: calc(50% - 1rem);
  }
}