/*
Theme Name: BPFF 2025
Theme URI: http: //bristolpff.org.uk/
Description: This is a custom child theme for Salient
Author: Grover Stones
Author URI: http: //stuffnting.com/
Template: salient
Version: 2
*/

/*Colours*/
/*
Yellow #F09E51
Bark Blue #39332d 39332d

 Lighter #fff8ed 
  Light #ffedcb
  Dark #39332d
  Green #06763c
  Red ##e61e26
*/

@font-face {
  font-family: "Bliss Pro";
  src: url("fonts/blsprw-bd.woff2") format("woff2"),
    url("fonts/blsprw-bd.woff") format("woff");
  font-weight: bold;
  font-style: normal;
}

@media only screen and (max-width: 1000px) and (min-width: 690px) {
  html body .container.main-container {
    max-width: 850px;
  }
}

@media only screen and (max-width: 690px) and (min-width: 480px) {
  html body .container.main-container {
    max-width: 550px !important;
    padding: 0 5px;
  }
}

/*********************************************************************************
Top menu and logo
**********************************************************************************/

header#top .container {
  padding: 0 10px;
}

#header-outer[data-format="default"] #social-in-menu {
  margin: 0 0 0 0;
}

@media only screen and (max-width: 1100px) and (min-width: 1000px) {
  #header-outer #logo img,
  #header-outer .logo-spacing img {
    height: 30px !important;
  }
}

/*********************************************************************************
Front Page
**********************************************************************************/

body.home a,
.home #festival-programme-posters a,
body.home #home-page-hero a {
  text-decoration: none;
  border-bottom: none !important;
}

/* Home page hero height set here, or in row settings in backend, using padding-bottom as a % */
#home-page-hero {
  margin-bottom: 0;
  aspect-ratio: 2.3;
  position: relative;
}

#home-page-hero #front-page-header h2,
#home-page-hero #front-page-sub-header h3 {
  padding-left: 0;
  padding-top: 20px;
  text-shadow: 0 0 20px rgb(0 0 0 / 20%);
}

#home-page-hero #front-page-header h2 a:link,
#home-page-hero #front-page-header h2 a:visited,
#home-page-hero #front-page-header h2 a:active {
  color: #ffffff;
}

#home-page-hero #front-page-sub-header h3,
#home-page-hero #front-page-sub-header h3,
#home-page-hero #front-page-sub-header h3 {
  color: #ffffff;
}

#home-page-hero h2 a:hover {
  color: #ffffff;
}

.front-page-festival-poster {
  max-height: 80vh !important;
  width: auto;
}

#header-outer::after,
#home-page-hero > .row-bg-wrap::after,
#page-header-wrap::after {
  content: "";
  position: absolute;
  background-image: url("lines/bggf_green_line.svg");
  background-repeat: repeat-x;
  width: 100%;
  z-index: 1000;
  height: 10px;
}

#page-header-wrap::after {
  bottom: -3px;
}

#home-page-hero > .row-bg-wrap::after {
  top: 99%;
}

#header-outer::after {
  top: 95%;
}

@media only screen and (max-width: 600px) {
  #home-page-hero {
    margin-bottom: 30vw;
  }

  #front-page-header {
    position: relative;
    top: 50vw;
  }

  #front-page-festival-title,
  #front-page-festival-subtitle {
    text-align: center !important;
    text-shadow: none;
    color: #39332d !important;
    line-height: 1.1em !important;
  }

  #front-page-festival-title {
    font-size: 40px !important;
  }

  #front-page-festival-title a,
  #front-page-festival-subtitle a {
    color: #39332d !important;
  }

  #festival-programme-button a.nectar-button {
    padding-top: 10px;
    padding-bottom: 10px;
  }
  
  #first-row {
    margin-top: 20vw;
  }
}

@media only screen and (max-width: 400px) {
  #front-page-festival-title {
    font-size: 30px !important;
  }
}

/*Volunteer button*/

.volunteer-button a.nectar-button {
  width: 100%;
  font-size: 34px;
}

@media only screen and (max-width: 1000px) and (min-width: 500px) {
  .volunteer-button a.nectar-button {
    font-size: 24px;
  }
}

@media only screen and (max-width: 499px) {
  .volunteer-button a.nectar-button {
    font-size: 18px;
  }

  .volunteer-button .nectar-button.jumbo {
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* Film posters */

/* Counteract the javascript sizing in the style attribute */
#festival-programme-posters article.masonry-blog-item {
  position: relative !important;
  left: initial !important;
  top: initial !important;
  margin: 1% !important;
  box-sizing: border-box;
  display: inline-block !important;
  width: calc(80% / 2) !important;
}

#festival-programme-posters .masonry-blog-item::after {
  content: "";
  border: 5px solid #06763c;
  border-image: url(lines/bggf_green_line_all-sides_thinner.svg) stretch 5;
  position: absolute;
  width: 101%;
  inset: 0 0 0 -2px;
  box-sizing: border-box;
  aspect-ratio: 1 / 1.4142135;
  pointer-events: none;
  top: -1px;
}

@media only screen and (min-width: 600px) {
  #festival-programme-posters article.masonry-blog-item {
    width: calc(80% / 3) !important;
  }
}

@media only screen and (min-width: 950px) {
  #festival-programme-posters article.masonry-blog-item {
    width: calc(80% / 4) !important;
  }
}

@media only screen and (min-width: 1300px) {
  #festival-programme-posters article.masonry-blog-item {
    width: calc(80% / 5) !important;
  }
}

#festival-programme-posters div.full-width-content {
  padding: 0 0 0 0 !important;
}

#festival-programme-posters div.posts-container {
  text-align: center;
  height: auto !important;
}

/* Title poster date and venue */

#festival-programme-posters .title-break {
  display: block;
}

#festival-programme-posters .title-break::before {
  content: "\A";
  /*white-space: pre; Doesn't work in Edge or IE*/
}

.home .article-content-wrap .excerpt,
.home .article-content-wrap .grav-wrap {
  display: none !important;
}

.home .meta-category {
  display: none !important;
}

#festival-programme-posters
  .post-area.masonry.material
  article.post
  .inner-wrap:hover
  .post-featured-img
  img {
  transform: scale(1);
  -webkit-transform: scale(1);
}

.home #festival-programme-posters .article-content-wrap {
  position: absolute;
  width: 100%;
  top: 50%;
  left: 50%;
  margin: 0;
  padding: 1000% 5% !important;
  box-sizing: border-box;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  text-align: center;
  background-color: rgba(0, 0, 0, 0.7);
  opacity: 0;

  -webkit-transition-property: opacity; /* Safari */
  -webkit-transition-duration: 1s; /* Safari */
  transition-property: opacity;
  transition-duration: 0.5s;
}

.home #festival-programme-posters .content-inner:hover .article-content-wrap {
  opacity: 1;
}

.home #festival-programme-posters .masonry-blog-item {
  container-name: film-poster;
  container-type: inline-size;
  box-shadow: 4px 3px 10px rgba(0, 0, 0, 0.2);
}

@container film-poster (inline-size > 1px) {
  .home #festival-programme-posters .title {
    font-size: 9cqi;
    line-height: 1.2em;
  }
  .home #festival-programme-posters .title .event_venue,
  .home #festival-programme-posters .title .event_date {
    font-size: 7cqi;
    line-height: 1.2em;
  }
  .home #festival-programme-posters .title .event_venue {
    margin-top: 1.5em;
    padding-top: 0.8em;
    border-top: 1px solid #666;
  }
}

.home #festival-programme-posters .title {
  color: #fff;
  padding: 5px;
}

/*trailer*/
div#festival-trailer {
  margin-bottom: 50px;
}

/* 2 x fancy box */

#fancy-box-1 h3 {
  font-size: 30px;
}

.home #two-fancy-boxes .nectar-fancy-box .link-text {
  font-size: 18px !important;
}

/* Programme Archive */

body.home #programme-archive-items .elastic-portfolio-item {
  /* width: 25% !important; */
  border: 12px solid #39332d;
}

#programme-archive-items .elastic-portfolio-item .vert-center > p {
  display: none;
}

/* PayPal Donate */

.home .row .paypal-donations img {
  width: 1px;
  height: 1px;
}

/* Sponsor logos */

.logo-wrapper img {
  margin: 20px;
}

.logo-1 img {
  width: 150px !important;
  height: 150px;
}

.logo-2 img {
  width: 400px !important;
  height: auto;
}

.logo-3 img {
  width: auto;
  height: 75px !important;
}

.logos-wrapper {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: baseline;
  width: 100vw;
  position: relative;
  left: calc(-50vw + 50%);
  margin: 100px 0;
  gap: 10px;
}

.logos-wrapper:first-child {
  margin-top: 30px;
}

#footer-outer {
  padding-top: 25px;
}

@media only screen and (max-width: 1200px) {
  .logos-wrapper {
    margin: 0;
  }
}

@media only screen and (max-width: 479px) {
  .sponsor-image-4 {
  }
}

/* Cookie notice */

a#cn-accept-cookie,
a#cn-more-info {
  color: #e2a452;
}

/*********************************************************************************
Single Blog Post*/
.meta-comment-count,
.meta-author {
  display: none !important;
}

/************************************************************************************
 Festivals Portfolio List */

#portfolio-extra .post-area {
  /*padding-left: 5px;*/
}

/* Border for posters */
.portfolio-wrap .festivals .inner-wrap img,
.elastic-portfolio-item .inner-wrap {
  border: 1px solid #eaeaea;
}

/*Hide post date*/
.work-meta p {
  display: none;
}

.single-portfolio .meta-category {
  display: none;
}

body.single .project-title .section-title {
  padding: 0;
}

/************************************************************************************
 Festivals Portfolio Single */

#full_width_portfolio .post-area img {
  max-height: 600px;
  width: auto;
  margin: 0 auto;
  display: block;
  border: 1px solid #e0e0e0;
}

#full_width_portfolio {
  padding-bottom: 30px;
  background-color: #fff8ed;
}

#portfolio-extra {
  margin-top: 30px;
}

.bottom_controls {
  display: none;
}

.content-inner a {
  text-decoration: none !important;
}

/* Masonry */

#full_width_portfolio .post-area.masonry img {
  width: 100%;
}

.page:not(.home) .masonry.material .masonry-blog-item .meta-category,
.page:not(.home) .masonry.material .masonry-blog-item .article-content-wrap {
  display: none !important;
}

/************************************************************************************
 News Page */

.ascend .masonry-blog-item .article-content-wrap {
  background-color: rgba(0, 0, 0, 0.5);
}

/* About us page
******************************************************************************************/

.bpff-testimonial {
  display: none;
}

/* Highlight box */

.highlight-box {

}

.about-us-paypal-dontate .widget_paypal_donations,
.highlight-box {
  /*padding: 20px;*/
  max-width: 700px;
  width: 100%;
  display: inline-block;
  margin: 0 5px;
  text-align: center;
  border: dotted 5px #e61e26;
  padding: 30px !important;
  border-image: url(lines/bggf_red_line_all-sides.svg) round 10;
}

.highligh-box {
  color: #39332d;
}

.about-us-paypal-dontate h2 {
  display: none;
}

.about-us-paypal-dontate p {
  font-family: "Bliss Pro";
  font-weight: 700;
}

/* Programme Archive */

#programme-page-portfolio .portfolio-items h3 {
  font-size: 50px;
  line-height: initial;
}

#programme-page-portfolio .portfolio-items p {
  display: none;
}

/************************************************************************************
 Single Post */

/* single header image*/

@media only screen and (max-width: 1000px) {
  .single-post #page-header-bg[data-post-hs="default"] {
    height: 50vh !important;
    max-height: 350px;
  }
}

/* Links in main body */
.single-post .main-content .post-content a:not(.btn, .nectar-button):link,
.page .main-content a:not(.btn, .nectar-button, .tab-item a),
.single-portfolio #portfolio-extra a:not(.btn, .nectar-button) {
  color: #06763c;
  text-decoration: underline #79f2b3 dotted;
  text-decoration-thickness: 5px;
  text-decoration-skip-ink: none;
}

/* .single-post .main-content .post-content a:visited,
.page .main-content a:visited,
.single-portfolio #portfolio-extra a:visited {
  color: #06763c;
  text-decoration: underline #79f2b3 dotted;
} */

.single-post .main-content .post-content a:hover,
.page .main-content a:hover,
.single-portfolio #portfolio-extra a:hover {
  color: rgb(5, 88, 45);
}

.full-width-single-column-centred {
  max-width: 700px;
  margin: 0 auto 50px;
}

.full-width-single-column-centred h1 {
  margin-bottom: 30px;
}

body.single.single-post .section-title h1 {
  max-width: 100% !important;
}

.single #single-below-header .meta-category a {
  font-size: 18px;
  font-weight: bold;
  color: #ffffff;
}

html .single #single-below-header {
  margin-top: 20px;
}

.single #single-below-header .meta-author,
.single #single-below-header .meta-date,
.single #single-meta {
  display: none;
}

.part-of-title {
  font-weight: 600;
}

/* Single event 2018 button */
.full-width-prog-button {
  margin-top: 150px;
  margin-bottom: -230px !important;
}

.tickets-button {
    background-color: #ffedcb;
    padding: 20px !important;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
}

.festival-programme-button-2021 {
  text-shadow: 0 0 5px rgb(0 0 0 / 46%);
}

/* Single event 2018 button flush with call to action */

.programme-2018.single-post article.post .content-inner,
.programme-2018.single-post .container-wrap,
.programme-2018.single-post .container-wrap .main-content > div:first-of-type {
  padding-bottom: 0;
  margin-bottom: 0;
}

.programme-2018.single-post .container-wrap {
  padding-bottom: 5px;
}

@media only screen and (max-width: 690px) {
  .single.single-post .section-title h1,
  #page-header-wrap h1 {
    font-size: 32px !important;
  }
  html .single #single-below-header span.meta-category {
    display: initial !important;
  }

  #home-page-hero h2 a,
  #home-page-hero h3 {
  }
}

#page-header-wrap h1.entry-title,
#page-header-wrap h1 {
  color: #fff;
}

#page-header-bg {
  aspect-ratio: 2;
}

#page-header-bg .subheader {
  font-size: 28px;
  font-weight: bold;
  color: #ffffff;
}

@media only screen and (max-width: 690px) {
  html #page-header-bg .span_6 h1,
  .single.single-post .section-title h1 {
    font-size: 28px !important;
  }

  #page-header-bg .subheader {
    font-size: 24px;
    font-weight: bold;
    color: #ffffff;
  }
}

.single-post .main-content .wpb_video_widget {
  margin-top: 30px;
}

/* event details */

.event-title-details {
  margin-bottom: 50px !important;
}

.eventDetails,
.part-of-title {
  margin-bottom: 0 !important;
  font-size: 18px;
  font-weight: bold;
  line-height: 2.1em;
}

.eventDetails .event-detail {
  display: flex;
  align-items: baseline;
  column-gap: 10px;
  margin-bottom: 0.5em;
}

.event-detail.part_of {
  display: none;
}

.event-detail-text {
  line-height: 1.5em;
}

/* Film details */

.film-details-row {
  padding: 20px 0 !important;
  margin-bottom: 30px !important;
}

/*????*/
.programme-2020 .film-details-item:not(:nth-child(2)) {
  padding-left: 15px;
}

.film-details-items-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 20px;
  row-gap: 0.9em;
}

.film-detail,
.film-details-title-container {
  text-align: center;
  line-height: 1.2em;
}

.film-details-title-container {
  margin-bottom: 0.9em;
}

.film-detail-title {
  font-weight: bolder;
  font-size: 1.2em;
}

.film-detail-text {
  font-style: italic;
}

.film-detail-icon {
  margin-right: 5px;
}

.film-detail-icon.film-detail-title-icon {
  margin-right: 10px;
}

/*Icons*/

.film-detail-icon img,
.event-detail-icon img {
  display: inline-block !important;
  vertical-align: middle;
  margin-bottom: 0 !important;
  border: none !important;
}

.film-detail-icon img {
  position: relative;
  bottom: 2px;
}

.event-detail-icon img {
  width: 24px !important;
  height: 24px !important;
}

.film-detail-icon img {
  width: 20px !important;
  height: 20px !important;
}

.film-detail-title-icon img {
  width: 28px !important;
  height: 28px !important;
}

/************************************************************************************
 Contact Form 7*/

/* contact Page */

input.wpcf7-captchar {
  width: initial;
}

/*Submissions form*/

/* Error */
.wpcf7 label.error {
  font-size: 16px;
  font-weight: bold;
  background-color: #a40000;
  color: #fff !important;
  padding: 5px;
  display: block;
}

/*Make the Film Type drop-down look like the text fields*/

.wpcf7 select {
  width: 100%;
  font-family: inherit;
  line-height: 24px;
  color: #555;
  transition: all 0.2s ease;
  -webkit-transition: all 0.2s ease;
  background-color: transparent;
  border: 1px solid #ccc;
  box-shadow: none;
  -webkit-box-shadow: none;
  font-size: 16px;
  -o-box-shadow: none;
  padding: 16px;
}

/************************************************************************************
 event listing page */
.event-list-item {
  padding-bottom: 20px;
  margin-bottom: 100px !important;
  border-bottom: 3px solid #e61e26;
  border-image: url(lines/bggf_red_line_thinner.svg) stretch 5;
}

.event-list-date {
  font-weight: bolder;
  font-size: 1.2em;
  margin-bottom: 0.5em;
}

.event-list-title {
  margin-bottom: 15px;
}

.event-list-details-wrap {
  display: flex;
  column-gap: 25px;
}

.event-list-text-wrap {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  justify-content: space-between;
  margin-top: 0.5em;
}

.event-list-text-inner {
  position: relative;
  top: -8px;
}

.event-list-text-wrap > * {
  width: 100%;
}

.event-list-text-inner p {
  padding: 0;
}

.event-list-value-wrap {
  /*   background-color: #ffedcb;
  padding: 0.25em 1em;
  margin-bottom: 0.5em;
  display: inline-block;
  border-radius: 20px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.075); */
}

.event-list-value {
  color: #e61e26;
}

.list-item-escerpt {
  margin-top: 1em;
}

.event-list-img {
  width: 270px;
  flex: 1 0 auto;
}

.event-list-img img {
  display: block;
  margin: 0 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.event-list-more {
  font-weight: bold;
  text-align: right;
}

.event-list-title a,
.event-list-more a {
  text-decoration: none !important;
}

.event-list-more a.btn {
  position: relative;
  bottom: 4px;
  background-color: #06763c;
  color: #ffedcb;
}

@media only screen and (max-width: 700px) {
  .event-list-details-wrap {
    display: block;
  }
  .event-list-date,
  .event-list-title {
    text-align: center;
  }
  .event-list-img {
    margin: 0 auto 30px;
  }
}

/************************************************************************************
 Footer */

#footer .container .col_last {
}

#footer-outer .row {
  padding: 55px 0 0;
}

.menu-footer-2018-container {
  text-align: center;
}

.footer-twitter-link {
  line-height: 20px;
}

#ctf.footer-twitter-link .ctf-author-avatar {
  margin-top: 9px;
}

#ctf.footer-twitter-link .ctf-item {
  padding: 5px 5px;
}

.footer-twitter-link .ctf-twitterlink {
  line-height: 20px;
  margin-top: -10px;
}

.footer-menu ul li a:hover {
  text-decoration: underline;
}

@media only screen and (max-width: 999px) {
  #footer-outer .col_last {
    display: none;
  }
}

/* Social*****/

#footer-outer #copyright .col ul {
  float: none;
}

/* Pictures */

html .wp-caption .wp-caption-text,
html .row .col .wp-caption .wp-caption-text {
  font-style: italic;
  padding: 1em;
  top: initial;
  position: initial;
  border-left: none;
  max-width: initial;
  width: auto;
  margin-left: 0;
  display: inline-block;
  margin-bottom: 0;
  background-color: #fff;
  box-shadow: none;
}

/** Translations **/

.languages ul.wpb_tabs_nav.ui-tabs-nav {
  margin-bottom: 50px;
}

.languages ul.wpb_tabs_nav.ui-tabs-nav li {
  width: 50%;
}

.languages li a {
  border: none !important;
  border-bottom: 2px solid #39332d !important;
  border-radius: 10px 10px 0 0;
}

.languages a.active-tab {
  border-left: 2px solid #39332d !important;
  border-top: 2px solid #39332d !important;
  border-right: 2px solid #39332d !important;
  border-bottom: none !important;
  background-color: #fff8ed !important;
}

html body[data-form-submit="regular"] input[type="submit"],
body .nectar-button[data-color-override="false"].regular-button,
.nectar-button {
  background-color: #06763c !important;
  color: #ffedcb !important;
}

#call-to-action .nectar-button[data-color-override="false"].regular-button {
  background-color: #ffedcb !important;
  color: #06763c !important;
  font-size: 20px;
}

.wp-singular .divider-border {
  margin-top: 25px !important;
  height: 3px !important;
  margin-bottom: 25px !important;
  background-color: #e61e26 !important;
}

.event-list-more a.btn {
  color: #ffedcb;
}

#programme-archive-items,
#programme-archive-items .row-bg-wrap {
  background-color: #39332d;
}

.sponsor-logos .row-bg-wrap {
  background-color: #fff;
}

#sponsor-logos-items {
  padding-bottom: 75px !important;
}

#footer-outer #footer-widgets {
  background-color: #39332d;
}

.tabbed > ul li.tab-item a {
  color: #39332d;
}

.event-list-item:first-of-type {
  /* margin-top: 55px; */
}

@media only screen and (min-width: 1000px) {
  #header-outer.small-nav #logo,
  #header-outer.small-nav .logo-clone,
  #header-outer.small-nav .logo-spacing {
    margin-top: 6px !important;
    margin-bottom: 15px;
  }
}

form.emailoctopus-form .main-form {
  align-items: center;
  gap: 10px;
}

#festival-programme-posters article.masonry-blog-item {
  /*   border: 10px solid #39332d;
  border-image-source: url("lines/bggf_red_line_all-sides.svg");
  border-image-repeat: round;
  border-image-slice: 10; */
}

.festival-poster {
  max-height: 80vh;
  width: auto;
}



.posters-heading {
  position: relative;
  margin-bottom: 2em;
}

.posters-heading::before,
.posters-heading::after {
  content: "";
  position: absolute;
  background-image: url("lines/bggf_green_line_thinner.svg");
  background-repeat: repeat-x;
  width: calc(100% - 40px);
  height: 5px;
  left: 0;
  display: block;
}

.posters-heading::before {
  top: -1em;
}

.posters-heading::after {
  bottom: -1em;
}

.programme-list-title {
  padding-bottom: 0.75em;
  border-bottom: 5px solid #e61e26;
  border-image: url(lines/bggf_red_line_thinner.svg) stretch 5;
}

#festival-programme {
  padding: 0 5%;
}

#programme-list-container .wpb_wrapper {
  display: block;
}

.event-list-item {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.event-item-info-wrapp {
  background-color: #ffedcb;
  padding: 1em;
  line-height: 1.25em;
  /*box-shadow: 3px 3px 12px rgba(0, 0, 0, 0.1);*/
}

@media only screen and (min-width: 1300px) {
  #programme-list-container .wpb_wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 6%;
  }

  .event-list-item {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 2;
    gap: 0;
  }
}

.film-details-row {
    background-color: #ffedcb;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
    padding: 2em !important;
}