/*
Theme Name: Sydney-vla
Theme URI: http://antolin.fr.com
Author: Fred Antolin
Author URI: https://tages.fr
Description: A child theme of Sydney that jazzes up!
Version: 1.0.218
Template: sydney
Text Domain: sydney
*/

/* Parallax on mobiles: in ../sydney/css/components/hero-slider.min.css, neutralize command: 
@media only screen and (max-width:1024px){.slides-container .slide-item{background-attachment:scroll!important;background-position:center!important}}
see also in ../sydney/js/hero-slider.js line 63
*/

/***********************************************
Colors
************************************************/
:root {
  --black: #0a0a0a;
  --dark: #7a5bb1;
  --highlight: #a284d5;
  --highlight-light: #d9C8f6;
  --k-blue: #2bacc7;
  --grey-25-d: #443f3b; /* very desaturated : footer bgd */
  --grey-30-d: #564c43; /* desaturated */
  --grey-40-d: #72655a; /* desaturated */
  --grey-50: #9c7d63;
  --grey-60: #af9783;
  --grey-70: #c3b1a2;
  --grey-80: #d7cbc1;
  --grey-90: #ebe5e0;
  --grey-95: #f5f2ef;
}

/***********************************************
Generic / Base
************************************************/
.site-main .entry-content > *,  .site-main p {
  margin-bottom: 1em;
}

.entry-content h2, section h2 {
  margin-top: 0.5em;
  padding-top: 0.5em;
}

body:not(.elementor-page):not(.panel-layout):not(.page-template-page_front-page) .entry-content h3.wp-block-heading {
  margin-top: 1.2em;
}

.content-inner .entry-content > * {
  margin-bottom: 0;
  margin-top: 0;
}

.content-inner .entry-content > p:not(:first-child) {
  margin-top: 1em;
}

.wp-block-list li:last-child {
  margin-bottom: 1em;
}

a {
  color: var(--dark);
}

#main b, #main strong {
  font-weight: 700;
}

.content-inner .entry-content p + .wp-block-buttons {
  margin-top: 0.5em;
}

.preloader .spinner .pre-bounce1, .preloader .spinner .pre-bounce2 {
  background-color: var(--highlight);
}

.entry-content figcaption {
  font-size: 14px;
  line-height: 1.25;
}

.hentry .entry-content .wp-block-quote.is-style-large, .hentry .entry-content blockquote {
  background-color: var(--highlight-light);
  font-size: 89%;
  font-style: italic;
  margin: 0;
  padding: 5px 10px;
  border-left: 5px solid var(--dark);
}

.hentry .entry-content .wp-block-quote.is-style-large, .hentry .entry-content blockquote p {
  margin: 0;
  margin-block-start: 0;
  margin-block-end: 0;
}

.content-inner .entry-content .wp-block-separator {
  margin-top: 1.2em;
}

/***********************************************
Page content
************************************************/

#content.page-wrap {
  padding-top: 2em;
  padding-bottom: 0.5em;
}

.roll-button.button-slider {
/*  top: 50px;*/
  left: 9px;
  padding: 0;
  margin: 0;
  color: transparent;
  background-color: transparent;
  border-color: transparent;
  width: 202px;
  height: 202px;
/*  background: url('images/logo-VLA-white.png') no-repeat top left;*/
  background-size: 200px;
  transition: all .3s ease-in-out;
}

.roll-button.button-slider:hover {
  color: transparent;
  background-color: transparent;
  border-color: transparent;
  width: 202px;
  height: 202px;
  background-size: 200px;
}

/*.roll-button.button-slider::after {
  content: 'Entrer';
  display: table-cell;
  color: #FFF;
  position: relative;
  top: 150px;
  left: 51px;
  width: 80px;
  height: 36px;
  background-color: var(--highlight);
  border-radius: 6px;
  vertical-align: middle;
  transition: all .3s ease-in-out;
}

.roll-button.button-slider:hover::after {
  color: var(--dark);
  background-color: var(--highlight-light);
}*/

.wp-block-embed-soundcloud {
  max-width: 500px;
  max-height: 200px;
  margin-top: 20px;
}

.wp-block-embed-soundcloud iframe {
  height: auto;
}

.row {
  margin-left: 0;
  margin-right: 0;
}

.container {
    margin-right: auto;
    margin-left: auto;
}

#content > .container {
  margin-bottom: 1.5em;
  padding-left: 15px;
  padding-right: 15px;
}

.container-fluid {
  margin-right: auto;
  margin-left: auto;
  padding-left: 15px;
  padding-right: 15px;
}

/* Mobile */
@media (min-width: 480px) {
  .container {
    width: auto;
  }
}

/* Tablet */
@media (min-width: 768px) {
  .container {
    width: 750px;
  }
}

/* Tablet Large */
@media (min-width: 992px) {
  .container {
    width: 750px;
  }
  .container-fluid {
    padding-right: 40px;
    padding-left: 40px;
  }  
}

@media (max-width: 1024px) {
  .container-fluid .shfb-row.shfb-cols-layout-bigright-tablet.shfb-cols-2 {
    grid-template-columns: 134px auto;
  }
  .container-fluid .shfb-row.shfb-cols-layout-equal-tablet.shfb-cols-2 {
    grid-template-columns:  3fr 1fr;
  }
}

/* Tablet Landscape / Desktop (with menu) */
@media (min-width: 1024px) {
  .container {
    width: 750px;
  }
}

@media (min-width: 1025px) {
  .container-fluid .shfb-row.shfb-cols-layout-bigright-desktop.shfb-cols-2 {
      grid-template-columns: 1fr 3fr;
  }
}

/* Desktop (with menu) */
@media (min-width: 1200px) {
  .container {
    width: 750px;
  }
}

/***********************************************
Header
************************************************/

.menu-item.menu-item-type-custom.menu-item-object-custom.sydney-dropdown-li,
.menu-item.menu-item-type-post_type.menu-item-object-page.sydney-dropdown-li {
  font-size: 18px;
}

.menu-toggle svg {
    width: 20px;
    height: 16px;
}
.menu-toggle svg rect {
    width: 20px;
    height: 1.5px;
}
.menu-toggle svg rect:nth-of-type(2) {
    y: 5px;
}
.menu-toggle svg rect:nth-of-type(3) {
    y: 10px;
}

.shfb.shfb-header.shfb-desktop, .shfb.shfb-header.shfb-mobile {
  padding: 0;
}

.site-branding .site-logo {
  max-height: 80px;
}

.shfb.shfb-header .menu-toggle .sydney-svg-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  --icon-size: 20px;
  vertical-align: middle;
  line-height: 1;
  position: relative;
  top: 6px;
}

@media (max-width: 1024px){
  .shfb.shfb-header .menu-toggle .sydney-svg-icon {
    top: 0;
  }  
}

@media (min-width: 576px) and (max-width: 991px) {
  .shfb-header .shfb-rows .shfb-component-social {
      margin: 0 0 0 25px!important;
  }
}

@media (max-width: 575px) {
  .shfb-header .shfb-rows .shfb-component-social {
      margin: 0 0 0 10px!important;
  }
  .shfb .social-profile .sydney-svg-icon {
    --icon-size: 16px;
    width: 16px;
  }
}

.shfb .social-profile .sydney-svg-icon {
  --icon-size: 20px;
}

.social-profile .sydney-svg-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  vertical-align: middle;
  line-height: 1;
}

/* position verticale de la loupe 
@media (min-width: 1025px) {
  .shfb-header .shfb-main_header_row .container-fluid .shfb-column-2 .shfb-builder-item + .shfb-builder-item {
      margin-left: 25px;
      position: relative;
      top: -10px;
  }
}*/
@media (min-width: 1025px) {
  .shfb-component-search .header-search .icon-search,  .shfb-component-search .header-search .icon-cancel {
    --icon-size: 18px;
  }
}
/***********************************************
Blog Homepage
************************************************/

.page-template-page_front-page .fp-content-area {
  padding-top: 0.5em;
}

.page-section {
  clear: both;
}

.display-posts-listing {
  display:flow-root; 
}

.display-posts-listing .listing-item::after {
  clear: both;
  content: "";
  display: table; 
}

.display-posts-listing .listing-item {
  width: 100%;
  max-width: 352px;
  padding: 0;
  margin-bottom: 1em;
  margin-left: auto;
  margin-right: auto;
  height: 400px;
  background-color: #fff;
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.50);
  transition: all .3s ease-in-out;
}

.display-posts-listing .listing-item:hover {
  background-color: var(--highlight-light);
}

#content #primary #main .display-posts-listing .listing-item a.dps-link {
  color: var(--black);
  -webkit-transition-duration: 0s;
  -moz-transition-duration: 0s;
  -o-transition-duration: 0s;
  transition-duration: 0s;
}

#content #primary #main .display-posts-listing .listing-item:hover a.dps-link,
#content #primary #main .entry-content .display-posts-listing:hover .listing-item a.dps-link:hover {
  color: var(--dark);
}

.display-posts-listing .listing-item .dps-link {
  display: block;
  padding: 10px;
  height: 100%;
}

/* deux colonnes */
@media (min-width: 576px) {
  .display-posts-listing .listing-item {
      float: left;
      width: calc( 50% - 8px);
  }
  
  .display-posts-listing .listing-item:nth-child(even) {
      margin-left: 16px;
  }
}

.display-posts-listing .listing-item .title {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 18px;
  font-weight: 700;
  margin-top: 0.5em;
}

.display-posts-listing .category,
.display-posts-listing .date,
.display-posts-listing .event-date {
  display: block;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--dark);
}

.display-posts-listing .excerpt {
  display: block;
  font-size: 16px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}

/*.display-posts-listing .image {
  float: right;
  margin: 0 0 5px 5px;
  max-width: 33%;
}*/

/*@media (max-width: 575px) {
  .display-posts-listing .listing-item .title {
    font-size: 16px;
  }
  .display-posts-listing .category,
  .display-posts-listing .date,
  .display-posts-listing .event-date {
    font-size: 12px;
  }
  .display-posts-listing .excerpt {
    font-size: 14px;
  }
}*/

iframe.google-maps {
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.50);
  margin-top: 1em;
  padding: 10px;
}

.button.all-button {
  display: inline-block;
  margin: 10px 0;
  font-size: 16px;
}

@media (max-width: 575px) {
  .button.all-button {
    font-size: 14px;
  }
}

/***********************************************
Single
************************************************/

.single .container .hentry {
  margin-bottom: 40px;
}

.single .content-area.no-sidebar {
  padding: 0;
}

.single .content-inner .entry-header {
  margin-bottom: 1.5em;
}

.single .content-inner .entry-header .entry-meta {
  margin-top: 1.5em;
}

.single .entry-thumb img {
  width : 100%;
  aspect-ratio: 1.618 / 1;
  object-fit: cover;
}

.entry-meta .event-date {
  color: var(--dark);
}

@media (max-width: 459px) {
  .single .content-inner .entry-header .entry-title {
    font-size: 26px;
  }
  .single .entry-meta .event-date {
      font-size: 12px;
  }
}

@media (min-width: 460px) and (max-width: 575px) {
  .single .content-inner .entry-header .entry-title {
    font-size: 29px;
  }
  .single .entry-meta .event-date {
      font-size: 14px;
  }
}

@media (min-width: 576px) and (max-width: 991px) {
  .single .entry-meta .event-date {
      font-size: 16px;
  }
}

@media (min-width: 992px) {
  .single .entry-meta .event-date {
      font-size: 18px;
  }
}

.entry-content .wp-block-button.ticket-button {
  margin-bottom: 0.5em;
}

.ticket-button .wp-block-button__link {
  border: 0;
  font-size: 16px;
}

.ticket-button .wp-block-button__link:focus {
  color: var(--dark);
}

.ticket-button .wp-block-button__link:focus:hover {
  color: #fff;
}

.image-caption {
  float: right;
  font-size: 12px;
  font-style: italic;
  color: #888;
}

.content-inner .entry-content iframe {
  margin-top: 1.5em;
}

/***********************************************
Smart Slider
************************************************/

.content-inner .entry-content .n2-section-smartslider {
  margin-top: 1.5em;
  margin-bottom: 1.5em;
}

.single .n2-ss-slide-background-color {
  background-color: RGBA(81,52,106,1) !important;
}

.n2-section-smartslider.partners-slider {
  position: relative;
  bottom: 100px;
  z-index: 99;
}

.page-template-page_front-page .sydney-hero-area {
  margin-bottom: -100px;
}

.page-template-page_front-page .sydney-hero-area::after {
  content: "Photos : Jean-Louis Bourgier / VBI";
  font-size: 12px;
  font-style: italic;
  color: #888;
  float: right;
  position: relative;
  bottom: 80px;
  right: 20px;
}

.home .sydney-hero-area .front-page-slider .nextend-bar-horizontal {
  position: absolute;
  bottom: 100px;
}

.sydney-hero-area .slide-inner {
  top: 120px;
}

/***********************************************
Page
************************************************/

.field-wrap .nf-field-element input[type=submit] {
  border: 0;
  font-size: 16px;
}

.nf-field .field-wrap>div input[type=checkbox] {
  -ms-transform: scale(1.4); /* IE */
  -moz-transform: scale(1.4); /* FF */
  -webkit-transform: scale(1.4); /* Safari and Chrome */
  -o-transform: scale(1.4); /* Opera */
  transform: scale(1.4);
  padding: 10px;
  margin-top: 0.4em;
}

.nf-form-fields-required {
  font-size: 88.88%;
  font-style: italic;
}

/***********************************************
Archive page
************************************************/
nav.display-posts-pagination {
  clear: both;
  padding: 1.5em 0;
  text-align: center;
}

.content-inner .entry-content .display-posts-pagination .nav-links a.page-numbers {
  background-color: var(--grey-90);
  color: var(--black);
  width: 2.618em;
  height: 2.618em;
  line-height: 2.618em;
  font-size: 88.88%;
  text-align: center;
  display: inline-table;
  margin-right: 5px;
}

.content-inner .entry-content .display-posts-pagination .nav-links a.page-numbers:hover {
  background-color: var(--highlight-light);
  color: var(--black);
}

.display-posts-pagination .nav-links .page-numbers.current, .display-posts-pagination .nav-links .page-numbers.current:hover {
  background-color: var(--highlight);
  color: #fff;
  width: 2.618em;
  height: 2.618em;
  line-height: 2.618em;
  font-size: 88.88%;
  text-align: center;
  display: inline-table;
  margin-right: 5px;
}

.content-inner .entry-content .display-posts-pagination .nav-links a.page-numbers.next, .content-inner .entry-content .display-posts-pagination .nav-links a.page-numbers.prev {
  font-weight: 400;
}

/***********************************************
Footer
************************************************/
.shfb-footer {
  font-size: 88.88%;
}

@media (max-width: 767px) {
  footer.shfb-footer .shfb-row.shfb-cols-2, footer.shfb-footer .shfb-row.shfb-cols-3, footer.shfb-footer .shfb-row.shfb-cols-4, footer.shfb-footer .shfb-row.shfb-cols-5, footer.shfb-footer .shfb-row.shfb-cols-6 {
    gap: 14px;
  }
}