
html, #loader {
  background-color: var(--portfolios-color-bg-main);
}

body {
  margin: 0 auto;
  min-height: 100vh;
}

#portfolio_page {
  position: relative;
}

@media screen and (max-width: 900px) {

  .profil-window .profil-infos {
      padding: 20px;
  }

  .member-item .member-img {
      width: 60px;
      height: 60px;
  }

  .close-content-button {
      top: 8%;
      right: 10%;
  }

  .close-content-button img {
      width: 50px;
  }

}

#portfolio_page main {
  background-color: initial!important;
  border: 0px!important;
}

#hero {
  position: relative;
  background-size: cover;
  background-position: center;
}

#title-illustration {
  position: absolute;
  background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

#hero #title-star {
    display: flex;
    min-height: 50vh;
}

#hero #title-star #title-about {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    box-sizing: border-box;
    flex: 1;
    max-width: 40%;
    margin: 0px;
}

#hero #title-star #title-about h1,
#hero #title-star #title-about h2,
#hero #title-star #title-about h3,
#hero #title-star #title-about h4,
#hero #title-star #title-about p {
  text-align: left!important;
  text-shadow: 2px 2px 7px #000000;
} 

#hero #title-star #title-about h3 {
    padding: 0px;
    margin: 0px;
}

#hero #pochette {
  max-width: 200px;
  width: 20%;
  height: max-content;
}

#hero #pochette .vertical-grid-item, #hero #pochette .square-grid-item {
  transform: scale(1);
}

#hero #pochette .vertical-grid-item {
	padding: 0% 0% 150% 0%;
}

#hero #pochette .square-grid-item {
	padding: 0% 0% 100% 0%;
}

#hero #profil {
  background-size: cover;
  width: 50px;
  height: 50px;
  background-color: var(--portfolios-color-bg-dark);
  border-radius: var(--portfolios-border-radius-full);
  margin-right: var(--portfolios-margin-base);
}

#hero .festivals {
  margin-top: 20px;
}

@media screen and (max-width: 700px) {

  #hero #pochette {
    display: none;
  }

  #hero #title-illustration {
    width: 100%;
  }

  #hero #title-star {
    padding-top: 50px;
  }

  #hero #title-star #title-about {
    width: 80%;
    max-width: 80%;
    margin-left: 0px!important;
  }

}

/* Portrait « à propos » / auteur : préférer <img class="about-artist-img" alt="…"> (sémantique, SEO, lecteurs d’écran). */
.about-artist-img {
  height: 150px;
  width: 150px;
  margin-right: 25px;
  border-radius: var(--portfolios-border-radius-full);
  flex-shrink: 0;
  box-sizing: border-box;
}

img.about-artist-img {
  display: block;
  max-width: 100%;
  object-fit: cover;
  object-position: center;
}

div.about-artist-img {
  background-size: cover;
  background-position: center;
}

@media screen and (max-width: 700px) {

  .about-artist-img {
    height: 100px;
    width: 100px;
  }

}

.open-graph-card {
  border-bottom: none!important;
  background: var(--portfolios-bg-alt-color, #e2e2e2);
  border-radius: var(--portfolios-border-radius-m, 8px);
  box-shadow: var(--portfolios-box-shadow-s, 0 0 0 0.2rem rgba(0,0,0,0.08));
}

.open-graph-card .open-graph-illustration {
  width: 100%;
  height: 45vh;
  background-size: cover;
  background-position: center;
  
  transition: 0.2s linear;
}

.open-graph-card .open-graph-illustration::after {
	position: absolute;
	bottom: 0;
	content: "¶";
	height: 100%;
	width: 100%;
	font-size: 50px;
	display: flex;
	justify-content: center;
	align-items: center;
	opacity: 0;
	transition: 0.2s linear;
}

.open-graph-card:hover .open-graph-illustration::after {
	bottom: 0px;
	opacity: 1;
}

.open-graph-card .open-graph-infos {
  padding: 15px 25px;
}

.open-graph-card .open-graph-infos p {
  margin-bottom: 0px!important;
}

.open-graph-card .open-graph-infos h4 {
  margin-top: 0px!important;
}

/* TECHNIQUE */

#technique article ul {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 15px;
}

#technique article ul li {
  max-width: 30%;
}

#technique article ul li:first-child {
  font-weight: bold;
  text-align: left;
}

#technique article ul li:last-child {
  text-align: right;
}

#technique article ul .dots {
  flex: 1;
  max-width: none;
  border-bottom: 2px dotted;
  margin: 0 10px;
  height: 0;
  opacity: 0.4;
}

#goto article a {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px 10px;
  transition: 0.2s linear;
}

#goto svg {
  max-height: 35px;
  max-width: 60px;
  margin-bottom: 15px;
}

@media screen and (max-width: 800px) {

  #goto svg {
    width: 25px;
  }

  #goto article {
    grid-template-columns: 1fr 1fr 1fr;
  }

}


@media screen and (max-width: 500px) {

  #goto article {
    grid-template-columns: 1fr 1fr;
  }

}

@media screen and (max-width: 350px) {

  #goto article {
    grid-template-columns: 1fr;
  }

}

/* LOADER */

#portfolio_page .loader div {
    border: 4px solid #bdbdbd;
}


/* FRONTS */

#portfolio_page p, #portfolio_page span, #portfolio_page *, #portfolio_page svg {
    color: var(--portfolios-theme-bg-contrast);
}

#portfolio_page .blog-page-content * {
    color: #bdbdbd;
}


/* FOOTER */

/* ARTICLES */

#portfolio_page main section:first-child {
    border-top: none;
}

#portfolio_page main section:last-child {
    border-bottom: none;
}

#portfolio_page .bg-color {
    background: var(--portfolios-theme-bg-main, #272727)!important;
}

#portfolio_page .bg-color-alt {
    background: var(--portfolios-theme-bg-alt, #272727)!important;
}

#portfolio_page #head-article .date, #portfolio_page .article .main .subtitle, #portfolio_page .article .main .subtitle p, #portfolio_page .article .main  p, #portfolio_page .article .main  img, #portfolio_page .youtube, #portfolio_page .vimeo, #portfolio_page blockquote {
    color: var(--portfolios-theme-border-light, #bdbdbd)!important;
}

/* POSTER */

#portfolio_page .audio-slider .audio-set .poster, #portfolio_page #gallery a, #portfolio_page #production-show-photos-grid a, #portfolio_page .book-slider .book-set .poster, #portfolio_page .video-slider .video-set .poster, #portfolio_page .photo-slider .photo-set .poster, #portfolio_page .card .thumb, #portfolio_page .open-graph-card .open-graph-illustration {
    transition: all 200ms linear;
}


#portfolio_page .horizontal-infos h4, #portfolio_page .horizontal-infos p, #portfolio_page .vertical-infos h4, #portfolio_page .vertical-infos p, #portfolio_page .horizontal-infos h4, #portfolio_page .horizontal-infos p, #portfolio_page .square-infos h4, #portfolio_page .square-infos p {
    color: var(--portfolios-theme-text-main, #ffffff);
}

/* GALLERY */

#portfolio_page .photo-slider .photo-set .poster {
    background-color: var(--portfolio-gallery-poster-bg, var(--portfolios-theme-bg-main, #e2e2e2));
}

#portfolio_page #swipebox-prev,
#portfolio_page #swipebox-next,
#portfolio_page #swipebox-close {
    background-color: var(--portfolios-theme-bg-main);
}
#portfolio_page #swipebox-title {
    color: var(--portfolios-theme-text-main, #ffffff);
    transition: 0.2s linear;
}
/* swipebox/photo-viewer styles moved to modules/photos/swipebox.css */



#portfolio_page #swipebox-prev:hover,
#portfolio_page #swipebox-next:hover,
#portfolio_page #swipebox-close:hover {
    color: var(--portfolios-theme-text-contrast, #000000);
}

/* VIDEOS */

#portfolio_page .video-slider .video-set .poster {
    background-color: var(--portfolio-video-poster-bg, var(--portfolios-theme-bg-alt, #e2e2e2));
}

/* GO TO */

#portfolio_page #goto svg {
    fill: var(--portfolios-theme-text-main, #ffffff);
  }

/* SERVICES */

#portfolio_page #about #services .populare li {
    color: var(--portfolios-theme-text-main);
}

#portfolio_page #about #services .populare .populare-head svg {
    fill: var(--portfolios-theme-fill);
}

#portfolio_page #about #services .content svg {
    fill: var(--portfolios-theme-fill-alt, #c9c8c8);
}

/* MEMBERS */

#portfolio_page .close-content-button {
    filter: invert(1);
}

/* FAQ */

#portfolio_page .faq button[aria-expanded=true] {
    border-bottom: 2px solid var(--portfolios-theme-border);
}

/* AGENDA */

#portfolio_page .agenda-item svg {
    fill: #c9c8c8;
}


@media screen and (max-width: 500px) {
    #portfolio_page .agenda-item-open svg {
        fill: var(--portfolios-theme-bg-hover);
    }
}