/*
 * This file is organised like this:
 *
 * - discovery_stream
 *
 *   - list_layout
 *     - title_row
 *     - list_item
 *       - artwork_item
 *       - article_item
 *       - exhibition_item
 *       - event_item
 *       - page_item
 *       - learning_resource_item
 *       - artist_item
 */


.discovery_stream {
  margin-top: 5rem;
}

@media (max-width: 767px) {
  .discovery_stream {
    margin-top: 3rem;
  }
}

.discovery_stream.inverted {
  background: #000;
  color: #fff;
  padding: 5rem 0 5rem;
}

@media (max-width: 767px) {
  .discovery_stream.inverted {
    padding: 3rem 0 3rem;
  }
}

.discovery_stream.background_image {
  background-position: center;
  background-size: cover;
  padding: 10rem 0 10rem;
}

.discovery_stream.background_image .row {
  background: #fff;
  overflow: hidden;
}

.discovery_stream.background_image .row:first-child {
  padding-top: 5rem;
}

.discovery_stream.background_image .row:last-child {
  padding-bottom: 5rem;
}

.discovery_stream.background_image.inverted .row {
  background: #000;
}

@media (max-width: 767px) {
  .discovery_stream.background_image {
    background-image: none !important;
    padding: 0;
  }
  .discovery_stream.background_image .row {
    margin-top: 0;
    margin-bottom: 0;
    background: none;
    padding-bottom: 0;
  }
  .discovery_stream.background_image .row:first-child {
    padding-top: 0rem;
  }
  .discovery_stream.background_image .row:last-child {
    padding-bottom: 0rem;
  }
}


/*
 * title row
 */

.discovery_stream .title_row {
  font-weight: 600;
  margin-top: 3rem;
}

@media (max-width: 767px) {
  .discovery_stream.inverted .title_row,
  .discovery_stream.background_image .title_row {
    margin-top: 0rem;
  }
}

.discovery_stream .title_row h2 {
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  margin: inherit;
}

.discovery_stream .title_row .title_link {
  color: inherit;
  text-decoration: none;
}

.discovery_stream .title_row .link {
  color: inherit;
  display: inline-block;
}

@media (max-width: 767px) {
  .discovery_stream .title_row .link {
    margin-top: 0;
  }
}

.discovery_stream .title_row .heading_col {
  display: inline-block;
  width: 50%;
}

@media (max-width: 767px) {
  .discovery_stream .title_row .heading_col {
    width: 60%;
  }
}

.discovery_stream .title_row .link_col {
  display: inline-block;
  width: 50%;
  text-align: right;
}

@media (max-width: 767px) {
  .discovery_stream .title_row .link_col {
    width: 40%;
  }
}


/*
 * list layout
 */

.discovery_stream .list_layout:first-child {
  margin-top: 0;
}

.discovery_stream .list_layout_col {
  margin-top: 3rem;
}

.discovery_stream .list_layout_col.clear {
  clear: left;
}

@media (max-width: 767px) {
  .discovery_stream .list_layout_col.clear {
    clear: none;
  }
}

@media (max-width: 767px) {
  .discovery_stream .list_layout_col:nth-of-type(2n+1) {
    clear: left;
  }
}

@media (max-width: 767px) {
  .discovery_stream .mobile2col .list_layout_col {
    width: 50%;
  }
}


/*
 * list item
 */

.list_item .img {
  width: 100%;
  height: auto;
  display: block;
}


/*
 * artwork item
 */

.list_item.artwork_item .link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.list_item.artwork_item .text {
  padding-top: 0.5rem;
}

.list_item.artwork_item .artist {
  text-decoration: none;
  color: inherit;
  font-weight: bold;
}
 

/*
 * article item
 */

.list_item.article_item .link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.list_item.article_item .text {
  padding: 0.5rem 0;
}

.list_item.article_item .title {
  margin: 0.5rem 0;
  font-weight: 600;
  display: block;
  color: inherit;
  text-decoration: none;
}


/*
 * exhibition item
 */

.list_item.exhibition_item .link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.list_item.exhibition_item .label {
  padding: 0.5rem 0 0;
  line-height: 1;
}

.list_item.exhibition_item .title {
  font-weight: 600;
  margin: 0.5rem 0;
}

.list_item.exhibition_item .rectangle {
  width: 2rem;
  float: left;
}

.list_item.exhibition_item .right_block {
  float: left;
  width: calc(100% - 2rem);
}


/*
 * event item
 */

.list_item.event_item .link {
  display: block;
  color: inherit;
  text-decoration: none;
  position: relative;
}

.list_item.event_item .tag {
  position: absolute;
  top: 0;
  right: 0;
  background: #000;
  color: #fff;
  padding: 0.1rem 0.6rem;
  text-transform: uppercase;
  font-weight: 600;
}

.list_item.event_item .label_cont {
  margin-top: 0.5rem;
}


.list_item.event_item .label {
  display: inline-block;
  vertical-align: middle;
}


.list_item.event_item .series_icon {
  width: 0.5rem;
  height: 0.5rem;
  margin-right: 0.4rem;
  background: url('./images/series_icon.png') center/0.5rem no-repeat;
  display: inline-block;
  vertical-align: middle;
}

.discovery_stream.inverted .list_item.event_item .series_icon {
  background: url('./images/series_icon_inverted.png') center/0.5rem no-repeat;
}

.list_item.event_item .title {
  margin-top: 0.5rem;
  font-weight: 600;
  color: inherit;
  text-decoration: none;
}

.list_item.event_item .left_block {
  float: left;
  width: 50%;
  margin-top: 0.5rem;
  padding-right: 0.3em;
  box-sizing: border-box;
  line-height: 1.2;
}

.list_item.event_item .right_block {
  float: left;
  width: 50%;
  margin-top: 0.5rem;
  line-height: 1.2;
}

.list_item.event_item .tickets {
  float: right;
  margin: auto;
  text-align: left;
  padding-left: 1rem;
}


/*
 * page item
 */

.list_item.page_item .link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.list_item.page_item .text {
  padding-top: 0.5rem;
}

.list_item.page_item .title {
  margin: 0.5rem 0;
  font-weight: 600;
}


/*
 * learning resource item
 */

.list_item.learning_resource_item .link {
  display: block;
  color: inherit;
  text-decoration: none;
  position: relative;
}

.list_item.learning_resource_item .text {
  padding: 0.5rem 0;
}

.list_item.learning_resource_item .title {
  margin: 0.5rem 0;
  font-weight: 600;
  display: block;
  color: inherit;
  text-decoration: none;
}

.list_item.learning_resource_item .overlay {
  display: block;
  position: absolute;
  right: 0.5rem;
  background: #fff;
  color: #000;
  padding: 0.25em 0.3rem;
  font-size: 0.7rem;
  font-weight: bold;
  line-height: 0.7rem;
  border: 1px solid #ccc;
  min-width: 4rem;
  text-align: center;
}

.list_item.learning_resource_item .label_cont {
  margin-top: 0.5rem;
}


.list_item.learning_resource_item .label {
  display: inline-block;
  vertical-align: middle;
}


.list_item.learning_resource_item .resource_set_icon {
  height: 12px;
  width: 12px;
  margin-right: 0.4rem;
  background: url('./images/resource_set_icon.svg') center/0.5rem no-repeat;
  display: inline-block;
  vertical-align: middle;
}

.discovery_stream.inverted .list_item.learning_resource_item .resource_set_icon {
  background: url('./images/resource_set_icon_inverted.svg') center/0.5rem no-repeat;
}

.list_item.learning_resource_item .part {
  margin-top: 0.5rem;
}

.list_item.learning_resource_item .part a {
  color: #000;
}

.discovery_stream.inverted .list_item.learning_resource_item .part a {
  color: #fff;
}

.list_item.learning_resource_item .curr_areas {
  margin-top: 0.5rem;
}

.list_item.learning_resource_item .curr_area {
  display: inline;
  margin-right: 0.5rem;
  color: #000;
}

.discovery_stream.inverted .list_item.learning_resource_item .curr_area {
  color: #fff;
}


/*
 * artist item
 */

.list_item.artist_item .name {
  margin: 0.5rem 0;
  font-weight: 600;
  display: block;
  color: inherit;
  text-decoration: none;
}

.list_item.artist_item .button {
  margin-top: 1rem;
}
