/* Gutenberg text justify (core omits this class) */
.has-text-align-justify {
  text-align: justify;
}

/* Keynumber mobile carousel dots follow surtitle color (c-* + currentColor) */
.slick-slider.dot-current .slick-dots button {
  background-color: currentColor;
  opacity: 0.2;
}
.slick-slider.dot-current .slick-dots button:hover {
  opacity: 0.8;
}
.slick-slider.dot-current .slick-dots li.slick-active button {
  opacity: 1;
}

/* Custom ACF blocks */
.editor-text figure.no-top-margin, .editor-text img.no-top-margin {
  margin-top: 0px;
}

.editor-text figure img,
.editor-text.small-gap figure img {
  margin-top: 0;
}
.editor-text .wp-block-column>figure:first-child {
  margin-top: 0 !important;
}

/* wpcf7 form */
.form-input.wpcf7-not-valid {
  border-bottom-color: #f00;
  color: #f00;
}

.wpcf7-not-valid-tip {
  margin-top: 5px;
  font-size: 12px;
  line-height: 1.25;
}

.wpcf7-spinner {
  margin: 0 auto;
  display: block;
  background-color: #891342;
}

.wpcf7 form .wpcf7-response-output {
  margin-right: auto;
  margin-left: auto;
  max-width: 800px;
  padding: 1em;
  border: 1px solid #891342;
  text-align: center;
  font-size: 14px;  
}

.wpcf7 form.sent .wpcf7-response-output {
  border-color: #891342; /* Green */
}

.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
  border-color: #dc3232; /* Red */
}

.wpcf7 form.spam .wpcf7-response-output {
  border-color: #99876a; /* Orange */
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
  border-color: #dc3232; /* Yellow */
}

.wpcf7-form-control-wrap.composed ~ .form-label {
  display: none;
}

/* Debug dropbox */
.dropdown-list {
  max-height:  315px;
}

/* Manage no-content fake links */
/* desktop */
@media (min-width: 1024px) {
  .header-nav > ul > li > span.no-content {
    padding-top: 5px;
    padding-bottom: 5px;
    font-size: 16px;
  }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .header-nav > ul > li > span.no-content {
    padding-right: 15px;
    padding-left: 15px;
  }
}
@media (min-width: 1280px) {
  .header-nav > ul > li > span.no-content {
    padding-right: 30px;
    padding-left: 30px;
  }
}

.header-nav span.no-content {
  color: #161615;
}
.header-nav span.no-content:hover,
.header-nav span.no-content.active {
  color: #891342;
}

@media (max-width: 1023px) {
  .header-nav span.no-content {
    padding-top: 20px;
    padding-bottom: 20px;
    font-size: 20px;
  }
}
@media (max-width: 767px) {
  .header-nav span.no-content {
    padding-right: 20px;
    padding-left: 20px;
  }
  .editor-text .wp-block-columns figure.is-resized img {
    margin-left: 15px;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .header-nav span.no-content {
    padding-right: 30px;
    padding-left: 30px;
  }
}

/* Block specific styles  */
.block-intro .editor-text p:first-child {
   margin-top: 0;
 }
