/*
Theme Name: SIM
Description: Societe Industrielle de Mulhouse
Theme URI:   https://www.sim.asso.fr
Author: Asterium
Author URI:  https://www.asterium.fr
Template: salient
Version: 1.0
*/
:root {
  --noir: #000;
  --blanc: #fff;
  --rouge: #bc1717;
  --rose: #fcb4b4;
  --gris: #ccc;
  --grisclair: #f5f5f5;
  --grisfonce: #666;
}

/* Rouge SIM : #BD0719 */

@import url("https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@100&display=swap");

body {
  color: #000;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  color: #bd0719;
}

#header-secondary-outer {
  background-color: transparent !important;
}
#header-secondary-outer .sf-menu li a {
  font-size: 14px !important;
}
#header-secondary-outer .sf-menu li:last-child a {
  color: #fff;
  background: #c5aea5;
  padding: 0 10px !important;
  border-radius: 3px;
}

#logo {
  font-size: 28px;
  font-family: "Josefin Sans", sans-serif !important;
}
#logo::after {
  content: "AUDACE, TÉNACITÉ & \A INNOVATION DEPUIS 1826";
  white-space: pre-wrap;
  left: 116%;
  top: 22px;
  position: absolute;
  width: 500px;
  color: #000 !important;
}
#top .span_3 {
  margin: -70px 0 0 0;
}
#top .sf-menu {
  height: max-content;
  padding-top: 49px;
}
#top .buttons {
  height: max-content !important;
}
#top .sf-menu li {
  border-right: 2px solid #bd0719;
}
#top .sf-menu li:last-child {
  border-right: none;
}
#top .sf-menu li:last-child ul a {
  border-right: none;
  padding: 7px 15px !important;
}
#top .sf-menu li ul a {
  border-right: none;
  padding: 7px 15px !important;
}
#top .sub-menu {
  margin: -50px 0 0 0;
}

blockquote {
  line-height: 30px;
  font-size: 19px;
}
.bouton {
  /* bouton action rouge */
  display: block;
  width: fit-content;
  background: #bd0719;
  padding: 5px 20px;
  border-radius: 4px;
  color: #fff !important;
  text-transform: uppercase;
  font-size: 17px;
}

/* styles SIM */
.sim_icones_membres .wpb_column .vc_column-inner {
  border: 1px solid #d6d6d6;
  padding: 20px;
}

.sim_chiffres_cles .row-bg-wrap {
  clip-path: polygon(0 15%, 100% 0, 100% 100%, 0% 100%);
}

.sim_projets .wpb_column .vc_column-inner {
  border: 1px solid #d6d6d6;
  padding: 20px;
}
.sim_projets .wpb_column:hover .vc_column-inner {
  border: 1px solid #bd0719;
}

.sim_location_espaces .wpb_column .wpb_text_column {
  margin: 0 0 1px 0;
}
.sim_location_espaces .wpb_column .wpb_wrapper h3 {
  background: #bd0719;
  color: #fff;
  padding: 4px 4px 4px 10px;
  margin: 0;
  font-size: 26px;
}
.sim_location_espaces .wpb_column .wpb_wrapper h4 {
  background: #000;
  color: #fff;
  padding: 4px 4px 4px 10px;
  margin: 0;
  font-weight: 100;
  font-size: 16px;
}

#footer-widgets .widget_text {
  font-weight: 100;
  font-size: 16px;
}
#footer-widgets .widget_text h4 {
  text-transform: uppercase;
  font-size: 20px;
  font-weight: 100;
}
#copyright .social:before {
  content: url("images/acoeur.png");
  width: 24px;
  height: 18px;
  float: left;
}

/* annuaire des membres ---------- */
/* cf thème plugin */

/* formulaires */
#wpcf7-f6570-p6428-o1 .your-name {
  width: 48%;
  float: left;
  z-index: 10;
}
#wpcf7-f6570-p6428-o1 .your-lastname {
  width: 48%;
  float: right;
  z-index: 10;
}
#wpcf7-f6570-p6428-o1 .your-email {
  width: 48%;
  float: left;
  z-index: 10;
}
#wpcf7-f6570-p6428-o1 .telephone {
  width: 48%;
  float: right;
  z-index: 10;
}
#wpcf7-f6570-p6428-o1 .cp {
  width: 48%;
  float: left;
  z-index: 10;
}
#wpcf7-f6570-p6428-o1 .ville {
  width: 48%;
  float: right;
  z-index: 10;
}
#wpcf7-f6570-p6428-o1 .salaries {
  background-color: rgba(0, 0, 0, 0.04);
}
#wpcf7-f6570-p6428-o1 .salaries .wpcf7-list-item {
  display: block;
}
#wpcf7-f6570-p6428-o1 br {
  display: none;
}
#wpcf7-f6570-p6428-o1 p {
  margin: 8px 0 4px 0 !important;
  padding-bottom: 0 !important;
  display: inline-block;
  width: 100%;
}
#wpcf7-f6570-p6428-o1 .wpcf7-form-control-wrap {
  margin: 0 0 10px 0 !important;
}
.mentionrgpd {
  font-size: 13px;
  line-height: 16px;
  font-style: italic;
  color: #ccc;
  margin: 20px 0;
}
.rib {
  margin: 20px 0;
}

/* formulaire précommande */
.wpcf7-form-control-wrap.nombre-livres input {
  background-color: rgba(0, 0, 0, 0.04);
  border: 2px solid rgba(0, 0, 0, 0.04);
  border-radius: 4px;
  line-height: 20px;
  color: #555;
  padding: 10px;
  margin: 0 20px 0 0;
  float: left;
  width: 86px;
}
.wpcf7-form-control.wpcf7-radio .wpcf7-list-item {
  display: block;
  margin: 0 0 0 10px;
}
.wpcf7-form-control-wrap.calculated-11 {
  display: inline-block;
  margin: 0 0 0 10px;
}
.totalcommande span {
  float: left;
  display: block;
  width: auto;
}

/* Actualités */
.blog-recent .post {
  border: 1px solid #d6d6d6;
  border-radius: 6px;
  padding: 20px;
}
.blog-recent .post h3 {
  font-size: 22px !important;
  line-height: 26px;
}
.blog-recent .post h3 a {
  color: #5f8c34;
}
.blog-recent .post .meta-author,
.blog-recent .post .meta-category,
.blog-recent .post .meta-comment-count {
  display: none;
}
.blog-recent .post .excerpt::after {
  content: "Lire la suite";
  font-size: 16px;
  text-transform: uppercase;
  color: #333;
  display: block;
  margin: 26px 0 0 0;
  cursor: pointer;
}
.single .section-title .inner-wrap a {
  display: none !important;
}
.single .section-title .inner-wrap h1 {
  line-height: 48px !important;
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.8);
}

/* ACTUALITES - avec Ajax load more */
.alm-reveal,
.alm-listing {
  display: flex;
  flex-wrap: wrap;
}
.actualite_element {
  width: 32%;
  margin: 0 1% 20px 0px;
  border: 1px solid #d6d6d6;
  border-radius: 6px;
  padding: 20px;
}
.actualite_element img {
  width: 100%;
}
.actualites_suite {
  margin: 20px 0 0 0;
  text-transform: uppercase;
}
.actualites_suite a {
  color: #333;
}
.actualites_suite a:hover {
  color: #0099cc;
  text-decoration: underline;
}

/* woocommerce */
.nectar-shop-header {
  display: none;
}

.grecaptcha-badge {
  visibility: hidden;
}

.woocommerce a.button,
.woocommerce-page a.button,
.woocommerce button.button,
.woocommerce-page button.button,
.woocommerce input.button,
.nectar-quick-view-box a.button,
.woocommerce-page input.button,
.woocommerce #respond input#submit,
.woocommerce-page #respond input#submit,
.woocommerce #content input.button,
.woocommerce-page #content input.button {
  text-transform: none !important;
}

/* **************************** media querries **************************************************** */

@media screen and (max-width: 1200px) {
  /* menu mobile */
  #header-outer {
    background-color: rgba(255, 255, 255, 0.6) !important;
  }
  #header-secondary-outer .sf-menu {
    padding-top: 0 !important;
  }
  #header-secondary-outer .sf-menu li a {
    font-size: 16px !important;
  }
  #slide-out-widget-area.fullscreen-alt .sub-menu .back {
    border-bottom: 1px dotted #fff;
  }
  .secondary-header-items {
    border-top: 1px dotted #fff;
  }
  .secondary-header-items li a {
    font-size: 28px !important;
  }

  /* annuaire liste */
  #wpbdp-listings-list .wpbdp-listing {
    width: 33%;
    padding: 0 12px;
  }
  #footer-widgets {
    padding: 0 20px;
  }
  /*panier */
  .cart-empty {
    font-size: 40px !important;
    line-height: 42px;
  }
}

@media screen and (max-width: 760px) {
  #logo {
    font-size: 14px !important;
    line-height: 15px !important;
  }
  #logo::after {
    content: "AUDACE, TÉNACITÉ & \A INNOVATION DEPUIS 1826";
    left: 60px;
    top: 8px;
    width: unset;
  }
  #top .span_3 {
    margin: -12px 0 0 0;
  }
  .container {
    max-width: unset;
    padding: 0 20px;
  }
  /* annuaire liste */
  #wpbdp-listings-list .wpbdp-listing {
    width: 50%;
  }
  .wpbdp-listing-excerpt {
    padding: 6px;
  }
  /* fiche */
  .wpbdp-single .main-image {
    max-width: unset !important;
  }
}
@media screen and (min-width: 1200px) {
  .megamenu .sub-menu .menu-item-has-children a.sf-with-ul span {
    text-transform: uppercase;
    font-size: 17px;
    padding-bottom: 10px;
  }
}

/* EloquenSIm */
.ays-survey-answer-slider-list-container
  .ays-survey-answer-slider-list-row:first-child
  .ays-survey-answer-range-type-min-max-val {
  position: relative;
  color: #fff !important;
}
.ays-survey-answer-slider-list-container
  .ays-survey-answer-slider-list-row:first-child
  .ays-survey-answer-range-type-min-max-val:before {
  content: "Jouteur";
  position: absolute;
  left: 0;
  color: #000;
}
.ays-survey-answer-slider-list-container
  .ays-survey-answer-slider-list-row:first-child
  .ays-survey-answer-range-type-min-max-val:after {
  content: "Petit rapporteur";
  position: absolute;
  right: 0;
  color: #000;
}
.ays-survey-answer-range-type-range .ays-survey-answer-range-type-info-text {
  color: #bd0719 !important;
}

/* TalentiSIM */
#wpcf7-f18811-p18812-o1 ul li p {
  padding-bottom: 0;
}
.wpcf7-form-control-wrap[data-name="your-ca-2021"],
.wpcf7-form-control-wrap[data-name="your-ca-2022"],
.wpcf7-form-control-wrap[data-name="your-ca-2023"] {
  display: inline-block !important;
  margin: 0 20px 0 0;
}
.wpcf7-form-control-wrap[data-name="your-employes-2024"],
.wpcf7-form-control-wrap[data-name="your-employes-2025"],
.wpcf7-form-control-wrap[data-name="your-employes-2026"],
.wpcf7-form-control-wrap[data-name="your-employes-2027"] {
  display: inline-block !important;
  margin: 0 20px 0 0;
}
.wpcf7-form-control-wrap[data-name="your-rapport"],
.wpcf7-form-control-wrap[data-name="your-presentation"],
.wpcf7-form-control-wrap[data-name="your-logo"],
.wpcf7-form-control-wrap[data-name="your-photo1"],
.wpcf7-form-control-wrap[data-name="your-photo2"],
.wpcf7-form-control-wrap[data-name="your-photo3"] {
  background-color: rgba(0, 0, 0, 0.04);
  border-radius: 4px;
  border: 2px solid transparent;
  padding: 4px 20px;
}
.wpcf7 .radio-description {
  display: block;
  font-size: 0.9em;
  font-style: italic;
  margin-left: 27px;
}


/* Annuaire des membres - type de contenu "membres" ---------------------------------------------------------------*/
#liste_membres {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 1%;
  justify-content: start;
}
  .membre_element {
    flex: 0 0 49%;
    position: relative;
    border: 1px solid var(--grisclair);
    border-top-left-radius: 6px;
    border-top-right-radius: 6px
  }
    .membre_photo {
      width: 100%;
      line-height: 0;
      height: 169px;
      overflow: hidden;
    }
    @media (min-width: 600px) {
        .membre_photo {
            height: 220px;
        }
    }
    @media (min-width: 820px) {
        .membre_element {
            flex: 0 0 32%;
        }
        .membre_photo {
            height: 230px;
        }
    }
    @media (min-width: 1200px) {
        .membre_element {
            flex: 0 0 19%;
        }
    }
        .membre_photo img {
          width: 100% !important;
          height: 100%;
          object-fit: cover;
          margin-bottom: 0 !important;
          border-top-left-radius: 6px;
          border-top-right-radius: 6px
        }
        .membre_element h3 {
            padding: 8px 2px 8px 8px;
            margin-bottom: 0 !important;
            font-size: 20px;
            line-height: 22px;
            background: var(--grisclair);
            color: var(--noir);
        }
        @media (max-width: 819px) {
            .membre_element h3 {
                font-size: 16px !important;
                line-height: 18px !important;
            }
        }
    .membre_body {
        opacity: 0;
        position: absolute;
        top: 0;
        left: 0;
        width: fit-content;
        min-width: 100%;
        height: 100%;
        padding: 10px 8px;
        line-height: 22px;
        z-index: 2;
    }
        .membre_fonction {
            font-weight: 600;
        }
        .membre_email {
            text-wrap: nowrap;
        }
        .membre_entreprise {
            padding: 6px 0;
        }
        .membre_entreprise .nom_entreprise {
            font-weight: 600;
        }
    @media (max-width: 819px) {
       .membre_element:nth-child(even) .membre_body {
            left: unset;
            right: 0;
       }
    }
    .membre_element:hover .membre_body {
        opacity: 1;
        background: var(--blanc);
        transition: all 1s;
        font-size: 15px;
    }
    .membre_body .membre_groupesim {
        padding: 10px 0;
    }
        .membre_body .membre_groupesim span {
            display: inline-block;
            font-size: 14px;
            border: 1px solid var(--grisclair);
            border-radius: 8px;
            padding: 2px 8px;
            margin: 0 0 2px 0;
            text-wrap: nowrap;
            background: var(--blanc);
        }


/* Programme du Bicentenaire ---------------------------------------------------------- */
/* Affichage liste ------------------------ */
.programme-liste-200 {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 44px 2%;
  justify-content: space-between;
}
.programme-liste-200 .event-item {
  flex: 0 0 100%;
}
@media (min-width: 1200px) {
  .programme-liste-200 .event-item {
    flex: 0 0 31%;
  }
}
.programme-liste-200 .event-item .event-thumb {
  height: 250px;
  overflow: hidden;
}
.programme-liste-200 .event-item .event-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.programme-liste-200 .event-item .event-infos {
  padding: 14px 0 0 0;
}
.programme-liste-200 .event-item .event-infos .dates-event {
  display: block;
  width: fit-content;
  border: 1px solid var(--rouge);
  border-radius: 6px;
  padding: 3px 10px;
  color: var(--noir);
}
.programme-liste-200 .event-item .event-infos h3 {
  padding: 12px 0 8px 0;
  line-height: 28px;
}
.programme-liste-200 .event-item .event-excerpt {
  padding: 0 0 14px 0;
}

.programme-liste-200 .mois-section {
  flex: 0 0 100%;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 26px 2%;
  justify-content: start;
}
.programme-liste-200 .mois-section h2 {
  flex: 0 0 100%;
  margin: 22px 0 0 0;
  border-bottom: 1px solid var(--grisclair);
}
.programme-liste-200 .mois-section .event-item {
  flex: 0 0 31%;
}
@media (min-width: 921px) {
  .programme-liste-200 {
    gap: 20px 2%;
  }
}

.sim_location_espaces h4 {
  line-height: 20px;
  min-height: 50px;
  display: flex;
  align-items: center;
}

.sim_location_espaces a {
  display: flex;
  min-height: 220px;
}

.sim_location_espaces a img {
  object-fit: cover;
}

/** LISTE DES ACTUS **/

.liste_actualites {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.actualite_element {
  flex: 0 0 48%;
  border: 1px solid var(--gris);
  padding: 20px 15px;
}

@media (min-width: 1000px) {
  .actualite_element {
    flex: 0 0 31.33%;
  }
}

.actualite_element .actu_image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  margin: 0;
  padding: 0;
  display: flex;
}

.actualite_element .actu_image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}

.actualite_element .actu_body {
  position: relative;
  min-height: 270px;
}

.actu_body p {
  font-size: 18px;
}

.actu_body h3 {
  padding-top: 10px;
}

.actualite_element .actu_body .actu_plus {
  text-transform: uppercase;
  position: absolute;
  bottom: 0;
  text-decoration: none;
  color: var(--rouge);
}

#pagination_controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 20px;
  gap: 5px;
}

#pagination_controls button {
  background: none;
  font-size: 16px;
  padding: 20px;
  border: 1px solid var(--rouge);
}

#pagination_controls button.active{
  background: var(--rouge);
  color: var(--blanc);
}



/* Contact form */
#wpcf7-f21599-p31-o1 input.wpcf7-email {
  max-width: 500px;
  margin: 0 auto;
}
@media (max-width: 999px) {
  #wpcf7-f21599-p31-o1 .wpcf7-form-control-wrap[data-name="your-name"] {
    margin: 0 0 10px 0;
  }
}
@media (min-width: 1000px) {
  #wpcf7-f21599-p31-o1 .wpcf7-form-control-wrap[data-name="your-lastname"] {
    max-width: 240px;
    display: inline-block !important;
  }
  #wpcf7-f21599-p31-o1 .wpcf7-form-control-wrap[data-name="your-name"] {
    max-width: 240px;
    margin: 0 20px 0 0;
    display: inline-block !important;
  }
}
#wpcf7-f21599-p31-o1 .wpcf7-submit {
  margin: 20px 0 0 0;
}