@import url('https://fonts.googleapis.com/css2?family=PT+Sans:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&family=PT+Sans:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;700&display=swap');

html, body {
  display: block;
  position: relative;
  padding: 0;
  margin: 0;
  font-size: 16px;
  font-family: 'Open sans', sans-serif;
  font-weight: 400;
}

h1, h2, h3, h4, h5 {
	font-family: 'Raleway', 'Open Sans', sans-serif;
/*   font-family: 'PT sans'; */
  font-weight: 700;
  width: 100%;
}

h2 {
  display: inline-block;
  width: auto;
  font-size: 2rem;
  line-height: 2.5rem;
  margin: 3rem 0 1rem 0;
  font-weight: 700;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #D8232A;
}

h3 {
  font-size: 1.25rem;
  line-height: 1.75rem;
  margin: 2rem 0 1rem 0;
  font-weight: 700;
  
}

a, a:visited {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}
a:hover {
  color: inherit;
  font-weight: 700;
  text-decoration: none;
}

ul li {
	font-size: 1.0625rem;
}

figure {
  display: block;
  position: relative;
  box-sizing: border-box;
}
figure img {
  display: block;
  position: relative;
  width: 100%;
  height: auto;
}

.a11y-heading {
  display: block;
  position: absolute !important;
  clip: rect(1px 1px 1px 1px);
  padding: 0 !important;
  margin: 0 !important;
  width: 1px !important;
  height: 1px !important;
}


.cbc-global-header {

}
.cbc-global-footer {

}
.site-content {
  display: block;
  position: relative;
  width: 100%;  
  height: auto;
  margin: 0 auto;
  overflow: hidden;
  background-color: #f2f3f4;
  min-height: calc(100vh - 525px);
}

.section-element-container {
  display: block;
  position: relative;
  width: 100%;
  height: auto;
  margin: 0 auto 0 auto;
  padding: 0 0 2rem 0;
  box-sizing: border-box;
  overflow: hidden;
}
.section-element-container.body1,
.section-element-container.body3 {
  background-color: #f2f3f4;
}
.section-element-container.body2,
.section-element-container.body4 {
  background-color: #e2e3e4;
}
.section-element-container.body5 {
  background-color: #d8232a;
  color: white;
  padding: 2rem;
  
}
.section-element-container.heading {
  padding: 0;
}
.resources .section-element-container.heading {
  margin-bottom: 2rem;
}
.section-element-container.submit {
  background-color: #fff;
}

.entry-element-container {
  display: block;
  position: relative;
  width: 100%;
  height: auto;
  margin: 0 auto 1rem auto;
  padding: 0;
  box-sizing: border-box;
  max-width: 60rem;
}

.entry-element {
  display: block;
  position: relative;
  width: 100%;
  height: auto;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
  font-size: 1.125rem;
  line-height: 1.5rem;
}
.entry-element-container.text .entry-element {

}
.entry-element p {
  margin-bottom: 1rem;
  font-size: 1.0625rem;
  line-height: 150%;
  color:#333333;
  overflow-wrap: break-word;
}
.entry-element p a {
  text-decoration: underline;
  font-weight: 600;
}
.entry-element p a:hover {
  text-decoration: underline;
  color: #262626;
}

/*
.hero-title h2 {
  border-bottom: none;
}
*/

.genre-section-title h2 {
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #dadada;
}

.genres .entry-element-container.text .entry-element {

}

/* ================================= */
/*             TEXT BLOCK            */
/* ================================= */

.text.entry-element-container {
/*    padding: 1rem 0; */
}

/* ================================= */
/*           RELATED LINKS           */
/* ================================= */

.entry-element-container.related-links {
/*	margin-bottom: 5rem;*/
}

.related-links .entry-element {
    width: calc(100% - 4rem);
    margin: 1rem auto;
}

ul.related-links-list {
    list-style-type: none;
    padding-left: 0;
}

.related-links-header {
    display: block;
    color: #000;
    text-transform: uppercase;
    position: relative;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.25rem;
    border-bottom: 1px solid #000;
    margin-top: 0;
}

.related-links-title {
    display: inline-block;
    position: relative;
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 1rem;
    padding-bottom: 0.25rem;
}

.related-links-item {
    display: flex;
    position: relative;
    flex-wrap: nowrap;
    margin-bottom: 0.5rem;
    padding: 0;
    align-items: center;
    box-sizing: border-box;
    line-height: 1rem;
}

.related-links-item:before {
  position: relative;
  display: block;
  content: '•';
  background-size: 1rem 1rem;
  height: 1rem;
  width: 1.25rem;
  flex-shrink: 0;
  color: #D82322;
}
.related-links-item.with-thumbnail:before {
  display: none;
}

.related-links-text {
    text-decoration: none;
    margin-left: 0;
    padding: 0;
    font-size: 1rem;
    line-height: 1rem;
}
.related-links-text .related-links-title {
    font-weight: 700;
}
.related-links-text .related-links-excerpt {
    font-weight: 500;
}

.related-links-thumbnail {
  display: flex;
  flex-wrap: nowrap;
  justify-content: left;
  align-items: center;
  margin-left: 1rem;
}
.related-links-thumbnail .related-links-text {
  margin-left: 0.75rem;
}
.related-links-thumbnail img {
  max-width: 6rem;
  border-radius: 0.25rem;
  overflow: hidden;
}
a.entry-related-link {
    text-decoration: none;
}

a.entry-related-link:hover {
    text-decoration: underline;
}


div.entry-element a.entry-related-link:hover .related-links-text,
div.entry-element a.entry-related-link:hover>figure.related-links-item>figcaption.related-links-text>span.related-links-title,
div.entry-element a.entry-related-link:focus-within>figure.related-links-item>figcaption.related-links-text>span.related-links-title,
div.entry-element a.entry-related-link:focus>figure.related-links-item>figcaption.related-links-text>span.related-links-title {
    color: #013ACE;
    text-decoration: underline;
}


div.entry-element a.entry-related-link:focus-within>figure.related-links-item>figcaption.related-links-text>span,
div.entry-element a.entry-related-link:focus>figure.related-links-item>figcaption.related-links-text>span {
    color: #013ACE;
    text-decoration: underline;
}

/* ================================= */
/*          GENRE RELATED LINKS           */
/* ================================= */

.entry-element-container.genre-related-links {
/*	margin-bottom: 5rem;*/
}

.genre-related-links .entry-element {
    width: calc(100% - 4rem);
    margin: 1rem auto;
}

ul.genre-related-links-list {
    list-style-type: none;
    padding-left: 0;
    display: grid;
    position: relative;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    align-items: center;
    align-content: center;
    justify-items: center;
}

li.genre-related-links-item {
	display: block;
    position: relative;
    max-width: 15rem;
    padding: 1rem 1rem;
}

.genre-related-links-thumbnail img {
	max-height: 9rem;
    overflow: hidden;
}

.item-link-title{
	z-index: 1;
}

.listing-item-overlay {
	display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(143deg, #ffffff9c, transparent, transparent);
    border-radius: 0.5rem;
}

.listing-item-overlay.documentary {
    background: linear-gradient(143deg, #ffffff9c, transparent, #2d467f);
}

.listing-item-overlay.comedy {
    background: linear-gradient(143deg, #ffffff9c, transparent, #b78300);
}

.listing-item-overlay.drama {
    background: linear-gradient(143deg, #ffffff9c, transparent, #9c1e30 );
}

.listing-item-overlay.factual-and-entertainment {
    background: linear-gradient(143deg, #ffffff9c, transparent, #3e630e);
}

.listing-item-overlay.kids {
    background: linear-gradient(143deg, #ffffff9c, transparent, #64299a);
}

.listing-item-overlay.gem-originals {
    background: linear-gradient(143deg, #ffffff9c, transparent, #ba6218);
}

.listing-item-overlay.short-films {
    background: linear-gradient(143deg, #ffffff9c, transparent, #305c9d);
}

.listing-item-overlay.feature-films {
    background: linear-gradient(143deg, #ffffff9c, transparent, #195f54);
}




/* ================================= */
/*             LOGO GRID             */
/* ================================= */

.logo-grid-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin: 0;
}

.logo-grid-container a {
  display: inline-block;
  position: relative;
  max-width: 8rem;
  width: 100%;
  margin: 1rem;
}

/* ================================= */
/*         TOPIC CONTAINER           */
/* ================================= */

.topic.entry-element {
  padding: 0.5rem 1rem;
  background-color: #eaeaea;
  /*background-color: #d5d5d5;*/
  border-radius: 0.5rem;
  border: 1px solid #dadada;
}
.topic-container {
  display: block;
  position: relative;
  width: 100%;
  height: auto;
  border-top: 1px solid #dadada;
  margin-top: 0.5rem;
  padding-top: 0.25rem;
}
.topic-expanding-button {
  display: flex;
  position: relative;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: auto;
  box-sizing: border-box;
  border: none;
  background: transparent;
}
.topic.topic-expanding-button {
  font-size: 1.25rem;
  line-height: 1.5rem;
}
.question.topic-expanding-button {
  padding: 0.5rem 1rem;
}

.topic-question-container {
  display: block;
  position: relative;
  box-sizing: border-box;
  margin: 0.5rem 0;
  /*background-color: #fff;*/
  background-color: #DAD9D7;
  border-radius: 0.5rem;
  padding: 0.5rem;
}
.topic-container-title,
.topic-question-title {
  text-align: left;
  margin-right: 2rem;
}
.topic-answer {
  display: block;
  position: relative;
  width: calc(100% - 2rem);
  height: auto;
  margin: 0.5rem 1rem;
  padding: 0.5rem 0 0 0;
  border-top: 1px solid #dadada;
  font-weight: 300;
}

.media-container .video-loading-icon {
    display: block;
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    margin-left: -3rem;
    margin-top: -1.5rem;
    width: 6rem;
    height: auto;
    opacity: 0.42;
}

.media-container {
    background-color: inherit;
}


/* ================================= */
/*          MEDIA CONTAINERS         */
/* ================================= */

.responsive-container-16x9 {
  display: block;
  position: relative;
  width: 100%;
  height: 0px;
  padding-bottom: 56.25%;
  overflow: hidden;
  margin-bottom: 2rem;
  background-color: rgba(0,0,0,0.2);
}
.responsive-container-16x9.with-caption {
  margin-bottom: 0;
}

.media-container {
  display: block;
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
  box-sizing: border-box;
  margin: 0 0 1rem 0;
  padding: 0;
  background-color: #dadada;
}
.media-container .media-content {
  display: block;
  position: relative;
  width: 100%;
  height: 0px;
  padding-bottom: 56.25%;
  z-index: 2;
}
.media-container .media-content.square {
  padding-bottom: 100% !important;
}
.media-container iframe {
  position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border:0;
}
.media-container .video-loading-icon {
  display: block;
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  font-size: 6rem;
  color: rgba(0,0,0,0.17);
  margin-left: -3rem;
  margin-top: -3rem;
}
.media-caption {
  display: block;
  position: relative;
  width: 100%;
  height: auto;
  padding: 0.5rem 0.75rem;
  font-size: 0.75rem;
  line-height: 1rem;
  color: #262626;
  box-sizing: border-box;
}


.faq-list .faq-list-item {list-style-type:none;}

#genreselect {
	margin: 4rem auto;
    display: flex;
    font-family: 'PT sans', sans-serif;
    font-size: 1.2rem;
}

.genre-hero-container {
	display: block;
    position: relative;
}

.genre-hero-title {
	display: block;
    position: absolute;
    z-index: 2;
    background: linear-gradient(to top, black 0%, rgba(0, 0, 0, 0) 100%);
    color: white;
    padding: 3rem 1rem 1rem 1rem;
    left: 0;
    right: 0;
    bottom: 0;
}
.genre-title-container {
  display: block;
  position: relative;
  border: none;
  margin: 0 auto;
  max-width: 60rem;
  z-index: 1;
}
.genre-title {
  display: inline-block;
  font-size: 3rem;
  line-height: 3.5rem;
  font-family: 'Raleway', 'Open Sans', sans-serif;
  font-weight: normal;
  border-bottom: 4px solid #D82322;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
}

.genre-hero-container figure {
	max-height: 30rem;
    overflow: hidden;
}

.hero-container figure:after {
	content: "";
    background: linear-gradient(3deg, black, #00000091, transparent, transparent);
    width: 100%;
    height: 10rem;
    display: block;
    position: absolute;
    bottom: 0;
    z-index: 0;
}

.hero-title {
	display: block;
    position: absolute;
    z-index: 2;
    background: linear-gradient(to top, black 0%, rgba(0, 0, 0, 0) 100%);
    color: white;
    padding: 1rem;
    left: 0;
    right: 0;
    bottom: 0;
}
.hero-title h2 {
	font-size: 3rem;
    /* text-transform: uppercase; */
    /* margin: 0; */
    font-family: 'Raleway', 'Open Sans', sans-serif;
    font-weight: normal;
    z-index: 1;
}

.hero-container figure {
	max-height: 25rem;
    overflow: hidden;
    margin-bottom: 1rem;
    border-radius: 0.25rem 0.25rem;
}

.hero-container figure:after {
	content: "";
    background: linear-gradient(3deg, black, #00000091, transparent, transparent);
    width: 100%;
    height: 10rem;
    display: block;
    position: absolute;
    bottom: 0;
    z-index: 0;
}

/* ================================= */
/*      COLLAPSIBLE CONTAINER        */
/* ================================= */

.collapsible-container {
    display: block;
    position: relative;
    width: 100%;
    height: auto;
    box-sizing: border-box;
    margin: 1rem 0 2rem 0;
    padding: 0.5rem 1rem 1rem 1rem;
    background-color: #fafafa;
}


.collapsible-container .collapsible-container-title span {
    display: inline-block!important;
    font-weight: bold;
    text-transform: uppercase;
}

.collapsible-container-title span {
    display: inline-block;
}

.collapsible-container-title span:hover {
    color: #717171;
}

.collapsible-container-title span {
    margin-left: 0.75rem;
}

.collapsible-container-title .fa-plus-circle {
    font-size: 1.3rem;
    color: #e60505;
}

.collapsible-container-button:hover {
    cursor: pointer;
    color: #717171;
}

button.collapsible-container-button {
/*    margin-left: 1rem;
    width: 3rem;
    height: 1.2rem; */
    font-size: 1rem;
    background-color: #fafafa;
}

.collapsible-container-hide-show {
    margin-top: 2rem;
}

.collapsible-container-title span,
button {
    margin: 0;
    border: none;
}

.collapsible-container-title button {
    margin-left: 0.75rem;
    background: transparent;
    border: none;
    width: 1.3rem;
    height: 1.3rem;
    box-sizing: border-box;
    display: inline-block;
    padding: 0;
}

.collapsible-container-title button:hover {
    color: #717171;
}

i.fas.fa-angle-down.collapsible-indicator {
    margin-left: 1rem;
    font-size: 1.2rem;
}

i.fas.fa-angle-up.collapsible-indicator {
    margin-left: 1rem;
    font-size: 1.2rem;
}


.commitments-link {
  background-color: #333435;
}
.commitments-link a {
  display: block;
  position: relative;
  margin: 2rem auto 0 auto;
  text-align: center;
  color: #fff;
  text-decoration: none;
  font-weight: 400;
}
.commitments-link a:hover {
  text-decoration: underline;
}


@media screen and (max-width: 640px) {
  
  .genre-title {
    padding: 0.5rem;
	font-size: 2rem;
    line-height: 2.25rem;
  }
  
  .category-header {
    padding: 0.125rem 0.25rem;
  }
  .category-header a {
    font-size: 0.875rem;
  }
}

@media screen and (max-width: 480px) {
  .genre-related-links .entry-element {
    width: 100%;
    margin: 1rem auto;
  }
}

@media screen and (max-width: 62rem) {
  .entry-element-container {
    margin: 0 1rem 1rem 1rem;
    width: calc(100% - 2rem);
  }
}

