/*
 Theme Name:   Ardenne Good Life
 Description:  Theme pour Ardenne Good Life
 Author:       We used to be friends
 Template:     twentytwelve
*/

@font-face {
    font-family: 'cocon';
    src: url('Cocon-Light.woff2') format('woff2'),
        url('Cocon-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'gotlight';
    src: url('GothamRounded-Light.woff2') format('woff2'),
        url('GothamRounded-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'gotbook';
    src: url('GothamRounded-Book.woff2') format('woff2'),
        url('GothamRounded-Book.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'gotbold';
    src: url('GothamRounded-Bold.woff2') format('woff2'),
        url('GothamRounded-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}
h1, h2, h3, h4, h5, h6 {
    hyphens: none;
}
body.custom-font-enabled {
    font-family: "gotbook", Helvetica, Arial, sans-serif;
}
header#masthead {
    display: flex;
    justify-content: space-between;
    padding: 20px 40px 16px;
    align-items: center;
}
body {
    color: #000;
    font-size: 1.1rem;
}
body .site {
    margin-top: 0;
    margin-bottom: 0;
    box-shadow: none;
    padding: 0;
    max-width: 100%;
}
.entry-content p, .entry-summary p, .comment-content p, .mu_register p {
    hyphens: none;
}
a {
    color: #000;
}
a:hover {
    text-decoration: none;
    color: #000;
}
.site-content {
    margin: 0;
}
.site-header h1 {
    line-height: 1;
    margin-bottom: 0;
}
.entry-header {
    border-top: 2px solid #E95E3F;
    border-bottom: 2px solid #E95E3F;
    padding: 10px 0;
}
.main-navigation {
    margin-top: 0;
}
.main-navigation ul.nav-menu, .main-navigation div.nav-menu > ul {
    border-bottom: 0;
    border-top: 0;
    display: inline-block !important;
    text-align: left;
    width: 100%;
}
.main-navigation li {
    margin: 0 0 0 30px;
    font-family: gotbold;
        font-size: 14px;
}
.main-navigation li a {
    color: #000;
    line-height: 2;
}
hgroup img {
    max-width: 120px;
    height: 100%;
    margin-right: 40px;
}
#input_1_27 option.gf-hidden-opt {
  display: none; 
}
.site-content article {
    border-bottom: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}
h3.gsection_title {
    margin-bottom: 10px;
    line-height: 1.2;
    font-family: 'gotbold';
    font-size: 22px;
    color: #E95E3F;
    padding-bottom: 0px;
    margin-bottom: 2px;
}
.cd-map {
    width: 100%;
    height: 600px;
}
.cp-wrap {
    position: relative;
    width: 100%;
    padding: 40px 0;
}
.cp-map {
    width: 100%;
    height: 560px;   
    border-radius: 12px;
    overflow: hidden;
    background: #e8e8e8;
    z-index: 0;
}
.cp-pin {
    background: transparent !important;
    border: none !important;
    overflow: visible !important;
}
.cp-pin__body {
    fill: #E95E3F; 
    transition: fill .15s ease, filter .15s ease;
}
.cp-pin:hover .cp-pin__body,
.cp-pin:focus-within .cp-pin__body {
    fill: #F8BA82;
}
.cp-pin__dot {
    fill: #ffffff;
}
.cp-popup .leaflet-popup-content-wrapper {
    border-radius: 10px;
    padding: 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .14), 0 2px 6px rgba(0, 0, 0, .08);
    border: 1px solid rgba(0, 0, 0, .07);
    overflow: hidden;
}

/* Zone de contenu (Leaflet ajoute du padding par défaut — on le retire) */
.cp-popup .leaflet-popup-content {
    margin: 0;
    line-height: 1;
}

/* Flèche de la popup */
.cp-popup .leaflet-popup-tip {
    box-shadow: none;
}

/* Bouton fermer natif de Leaflet */
.cp-popup .leaflet-popup-close-button {
    top: 8px !important;
    right: 8px !important;
    width: 22px !important;
    height: 22px !important;
    font-size: 18px !important;
    line-height: 22px !important;
    color: #888 !important;
    border-radius: 4px;
    transition: background .15s, color .15s;
}

.cp-popup .leaflet-popup-close-button:hover {
    background: #f0f0f0 !important;
    color: #222 !important;
}
.cp-popup__title {
    margin: 0;
    font-size: .95rem;
    font-weight: 600;
    line-height: 1.3;
    color: #111;
    padding-right: 1.25rem;   /* espace pour le bouton fermer */
}
.cp-popup__address {
    font-style: normal;
    display: flex;
    flex-direction: column;
    gap: .1rem;
    font-size: .825rem;
    color: #666;
    line-height: 1.5;
}
.cp-popup__address span {
    display: block;
}
.cp-popup__link {
    display: inline-block;
    margin-top: .25rem;
    padding: .4rem .85rem;
    background-color: #2d6a9f;           /* même couleur que le pin */
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-size: .8rem;
    font-weight: 500;
    align-self: flex-start;
    transition: background-color .15s;
}
.cp-popup__link:hover,
.cp-popup__link:focus-visible {
    background-color: #1e4f7a;
    outline: none;
}
.cd-pin__body { fill: #E95E3F; }   /* couleur au choix */
.cd-pin__dot  { fill: #ffffff; }
.cd-popup__title {
    font-weight: 700;
    margin-bottom: .4rem;
    font-size: 20px;
    line-height: 1.1 !important;
    margin-bottom: 10px !important;
    font-family: 'cocon';
    color: #E95E3F;
    hyphens: none;
}
.leaflet-popup:after {
    position: absolute;
    text-align: center;
    /* margin-bottom: 20px; */
    background: url(https://ardennegoodlife.parc-naturel-ardennes.fr/ims/frise.png) !important;
    background-size: 100px !important;
    background-repeat: repeat-x !important;
    background-position: center bottom !important;
    content: "";
    height: 20px;
    width: 100%;
    left: 0;
    bottom: 0;
    border-radius: 0 0 10px 10px;
}
.cd-popup__label {
    color: #000;
    font-family: 'gotbold';
}
.cd-popup__inner {
    padding: 7px 0;
    display: inherit !important;
}
.page-id-61 .cd-popup__inner {
    display: flex !important;
}
#carte-professionnels .cd-popup__inner, .page-id-61 .cd-list-wrap .cd-popup__inner{
    display: flex !important;
}
.leaflet-popup-content-wrapper, .leaflet-popup-tip {
    padding-bottom: 2px;
}
.cd-popup__meta   { margin: .2rem 0; font-size: .9em; }
.cd-popup__btn {
    display: inline-block;
    margin-top: 5px;
    padding: .35rem .8rem;
    margin-bottom: 2px;
    background: #F8BA82;
    color: #fff;
    border-radius: 20px;
    text-decoration: none;
    font-size: 1em;
    color: #000 !important;
    text-transform: uppercase;
    box-shadow: 2px 3px 1px #Ff7200;
    transition: all 0.3s linear;
        margin-bottom: 20px;
}
.cd-popup__btn:hover {
    background: #F8BA82;
    transition: all 0.3s linear;
    box-shadow: 0px 0px 1px #Ff7200;
}
.leaflet-popup-content {
    hyphens: none;
}
.hvr-underline-from-center {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  position: relative;
  overflow: hidden;
}
.hvr-underline-from-center:before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 51%;
  right: 51%;
  bottom: 0;
  background: #E95E3F;
  height: 2px;
  -webkit-transition-property: left, right;
  transition-property: left, right;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}
.current_page_item.hvr-underline-from-center:before {
  left: 0;
  right: 0;
}
.hvr-underline-from-center:hover:before, .hvr-underline-from-center:focus:before, .hvr-underline-from-center:active:before {
  left: 0;
  right: 0;
}
.main-navigation .current-menu-item > a, .main-navigation .current-menu-ancestor > a, .main-navigation .current_page_item > a, .main-navigation .current_page_ancestor > a {
    color: #E95E3F !important;
    font-weight: normal;
}
.bloccont {
    padding: 0 40px;
    max-width: 1500px;
    margin: 0 auto;
}
footer[role="contentinfo"] {
    border-top: 0;
    max-width: 100%;
    background: #F8BA82;
    color: #000;
    font-size: 1rem;
}
footer[role="contentinfo"] a {
    color: #000;
}
footer[role="contentinfo"] a:hover {
    color: #000;
}
div#main {
    min-height: calc(100vh - 297px);
}
.entry-header .entry-title {
    font-size: 40px;
    font-family: 'gotbold';
    text-transform: uppercase;
    color: #E95E3F;
}
a:focus {
    outline: 0 dotted;
}
div#bandhead {
    padding-top: 30px;
    background: url(https://ardennegoodlife.parc-naturel-ardennes.fr/ims/frise.png) !important;
    background-repeat: repeat-x !important;
    background-size: 150px !important;
}
div#unecolpage {
    padding: 50px 0;
}
div#wrapdeuxcols {
    display: flex;
    flex-wrap: wrap;
    width: calc(100% + 50px);
    margin-left: -25px;
    align-items: flex-start;
}
.unedeuxcols {
    width: calc(50% - 50px);
    margin: 0 25px;
}
.unedeuxcols.fdbeige {
    padding: 40px;
    width: calc(50% - 130px);
    background: #F8BA82;
    border-radius: 30px;
}
.unedeuxcols.fdrose {
    padding: 40px;
    width: calc(50% - 130px);
    background: #D09786;
    border-radius: 30px;
}
.unedeuxcols.fdrouge {
    padding: 40px;
    width: calc(50% - 130px);
    background: #E95E3F;
    border-radius: 30px;
}
p.cd-popup__meta {
    margin-bottom: 10px;
    font-size: 1.15em;
    line-height: 1.3;
        hyphens: none;
}
p.gform_required_legend {
    font-size: 12px;
    font-style: italic;
}
#carte-professionnels .leaflet-tile-pane, .cd-map .leaflet-tile-pane {
    filter: grayscale(80%) opacity(70%);
}
.cd-filters {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: 1rem;
}
.cd-filter-btn {
    padding: .35rem .85rem;
    border: 2px solid #E95E3F;
    border-radius: 2rem;
    background: transparent;
    color: #E95E3F;
    font-size: .85em;
    cursor: pointer;
    transition: background .2s, color .2s;
}
.cd-filter-btn:hover, .cd-filter-btn--active {
    background: #E95E3F !important;
    color: #fff !important;
}
input#gform_submit_button_1:focus {
    outline: 0;
}
input#gform_submit_button_1 {
    background: #E95E3F;
    border-radius: 50px;
    padding: 0px 20px;
    text-transform: uppercase;
    margin-top: 15px;
        border: 0;
    transition: all 0.3s linear;
}
input#gform_submit_button_1:hover {
    background: #F8BA82;
    color: #000;
    transition: all 0.3s linear;
}
.gfield_label {
    font-size: 1.1rem !important;
}
.gfield--type-html {
    hyphens: none;
}
.cd-wrap {
    padding: 30px 0;
}
label {
    font-size: 1.1rem !important;
}
h2 {
    font-family: 'gotbold';
    margin: 0 0 20px !important;
    font-size: 25px !important;
    line-height: 1.2 !important;
}
.cd-filters {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: 1rem;
}
.cd-filter-btn {
    padding: .35rem .85rem;
    border: 2px solid #E95E3F !important;
    border-radius: 2rem;
    background: transparent;
    color: #E95E3F;
    font-size: .85em;
    cursor: pointer;
    transition: background .2s, color .2s;
}
.cd-filter-btn--active:not(.cd-filter-btn--all)::before {
    content: '✓ ';
}
.cd-filter-btn--active::before {
    content: '✓ ';
}
.termthematique {
    display: flex;
    flex-wrap: wrap;
    gap: .3rem;
    margin-bottom: .6rem;
}
.termthematique span {
    font-size: 1em;
    padding: .15rem .5rem;
    border-radius: 2rem;
    background: #D09786;
    color: #FFF;
}
.cd-popup__descriptif {
    font-size: 1.15em;
    margin: .5rem 0 .8rem;
    line-height: 1.5;
}
.cd-popup__descriptif p {
    line-height: 1.5;
}
.cd-popup__descriptif p:last-child {
    margin-bottom: 0;
}
.cd-map .leaflet-control-container {
    position: absolute;
    z-index: 500;
}
.cd-map .leaflet-popup-pane {
    z-index: 700;
}
.gform-theme--foundation .gform_fields {
    row-gap: 35px;
}
.cd-list-items {
    display: flex;
    flex-wrap: wrap;
    width: calc(100% + 40px);
    margin-left: -20px;
}
article.cd-list-card {
    font-size: 12px;
    padding: 12px 20px 0;
}
h2#cd-list-etudes-title, h2#cd-list-experimentations-title {
    margin-top: 40px !important;
    border-bottom: 2px solid;
    font-family: 'gotbold';
    color: #E95E3F;
    padding-bottom: 10px;
    margin-bottom: 40px !important;
}
#carte-professionnels {
    position: relative;
}
#carte-professionnels .leaflet-map-pane {
    z-index: 400;
}
#carte-professionnels .leaflet-control-container {
    position: relative;
    z-index: 500;
}

/* Popup ouverte */
#carte-professionnels.cp-popup-open .leaflet-map-pane {
    z-index: 700;
}

#carte-professionnels.cp-popup-open .leaflet-control-container {
    z-index: 600;
}

#carte-professionnels .leaflet-popup-pane {
    z-index: 800;
}

#carte-professionnels .leaflet-popup {
    z-index: 801;
}

#carte-professionnels .leaflet-popup-content-wrapper {
    border-radius: 16px;
}

.cp-popup .leaflet-popup-content-wrapper {
    padding: 0;
}
.cp-popup__inner {
    display: flex;
    flex-wrap: wrap;
    padding: 0 0 20px;
}
.cd-popup__media {
    width: 100px;
}
.cp-popup__media img {
    display: block;
    object-fit: cover;
    border-radius: 12px;
    max-width: 100%;
}
.cd-popup__content {
    width: calc(100% - 120px);
    margin-left: 20px;
}

.cp-popup__title {
    margin: 0 0 10px;
    font-size: 18px;
    line-height: 1.25;
    font-weight: 700;
}
.cp-popup__meta {
    margin: 0 0 8px !important;
    font-size: 14px;
    line-height: 1.45 !important;
}
.cp-popup__label {
    font-weight: 600;
}

.cp-popup__link {
    display: inline-block;
    margin-top: 10px;
    text-decoration: none;
}
a.cd-popup__link {
    display: none;
}
.leaflet-container a {
    color: #000;
}
.leaflet-container a:hover {
    color: #000;
    text-decoration: none;
}
legend.gfield_label.gform-field-label {
    display: inline-block;
}
span.gfield_required {
    display: inline-block !important;
    margin-left: 2px;
}
.gform-theme--foundation .gform-field-label:where(:not([class*=gform-field-label--type-]):not(.gfield_header_item):not(.ginput_quantity_label)), .gform-theme--foundation.gform_editor legend.gform-field-label>span{
    gap: inherit !important;
}
.cd-filters-title {
    color: #E95E3F;
    text-transform: uppercase;
    font-weight: normal !important;
    font-family: 'gotbold';
    line-height: 1;
    margin-bottom: 10px;
}
.cd-filters-group {
    margin-bottom: 2rem;
}

.cd-list-col h2 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}
.cd-list-card {
    padding: 1rem;
    background: #fff;
}

.cd-list-card .cd-popup__title {
    margin-bottom: 0.6rem;
}

@media (max-width: 640px) {

    .cp-popup__inner {
        grid-template-columns: 1fr;
        min-width: 240px;
    }

    .cp-popup__media img {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
    }
}

@media (max-width: 600px) {
    .cp-map {
        height: 380px;
        border-radius: 8px;
    }
}

h1.bloc-title-intro {
    font-size: 3rem;
    font-family: 'gotbold';
    text-transform: uppercase;
    line-height: 1.1;
    color: #E95E3F;
}
.page-template-front-page .entry-header {
    border-bottom:0;
}
.bloc-content-intro {
    hyphens: none;
    color: #e95e3f;
    padding: 0px 0 60px;
    width: calc(50% - 50px);
    margin: 0 25px;
}
.bloc-content-intro-container {
    display: flex;
    flex-wrap: wrap;
    width: calc(100% + 50px);
    margin-left: -25px;
    align-items: flex-start;
}
.bloc-cible {
    background: #F8BA82;
    border-radius: 30px 0 0 30px;
    padding:40px;
    width: calc(65% - 80px);
    hyphens: none;
}
.bloc-liens {
    width: calc(35% - 80px);
    background: #e95e3f;
    border-radius: 0px 30px 30px 0;
    padding: 40px;
    hyphens: none;
}
.flex-cible-liens {
    display: flex;
    flex-wrap: wrap;
}
.bloc-partenaires {
    padding-top: 60px;
    padding-bottom: 60px;
}
.bloc-partenaires img {
    box-shadow:none;
    border-radius:0;
}
.partenaire-item li {
    list-style:none;
}
.partenaires-list {
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: calc(100% + 40px);
    margin-left: -20px;
}
.partenaire-item {
    width: calc(16.66667% - 40px);
    margin: 0 20px 20px;

}
.partenaire-item img {
    max-width: 150px;
    max-height: 100px;
    transition: transform 0.3s ease;
    width: auto;
}
.bloc-title-partenaires {
    margin-bottom: 40px !important;
}
.partenaire-item a:hover img {
    transform: scale(1.05);
}
.bloc-conseil {
    padding-top: 80px;
    background: url(https://ardennegoodlife.parc-naturel-ardennes.fr/ims/frise.png) !important;
    background-repeat: repeat-x !important;
    background-size: 150px !important;
    margin-bottom: 60Px;
}
.bloc-content-cible p:last-child, .bloc-content-conseil p:last-child {
    margin-bottom:0;
}
.btn-accueil {
    display: inline-block;
    margin-top: 5px;
    padding: 12px 20px 10px !important;
    margin-bottom: 2px;
    background: #F8BA82;
    color: #fff;
    text-decoration: none;
    border-radius: 20px;
    line-height: 1;
    color: #000 !important;
    text-transform: uppercase;
    box-shadow: 2px 3px 1px #fff;
    transition: all 0.3s linear;
    margin-bottom: 20px;
}
.liens-item:last-child a {
    margin-bottom:0;
}
.liens-list {
    margin-bottom: 0 !important;
}
.btn-accueil:hover {
    background: #F8BA82;
    transition: all 0.3s linear;
    box-shadow: 0px 0px 1px #Ff7200;
}
.page-template-front-page #main {
    position: relative;
    overflow: hidden;
}

.page-template-front-page #main::before {
    content: "";
    position: absolute;
    top: 300px;
    left: -20px;
    width: 300px;
    height: 300px;
    background: url('/ims/element-background.jpg') no-repeat;
    background-size: contain;
    opacity: 0.3;
    pointer-events: none;
    transform: rotate(-20deg);
    z-index: 0;
}
.page-template-front-page #main > * {
    position: relative;
    z-index: 1;
}
.page-template-front-page footer[role="contentinfo"] {
    margin-top: 0;
}
header hgroup {
    display: flex;
    justify-content: center;
    align-items: center;
}
.page-id-61 .cd-list-items {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.page-id-61 .cd-list-items.is-open {
    max-height: 1000px;
}
.page-id-61 #cd-list-etudes-title {
    cursor: pointer;
    position: relative;
    padding-right: 24px;
    transition: color 0.3s ease;
}

.page-id-61 #cd-list-etudes-title::after {
    content: "";
    width: 10px;
    height: 10px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    position: absolute;
    right: 0;
    top: 50%;
    transform-origin: 50% 50%;
    transform: translateY(-50%) rotate(45deg);
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.page-id-61 #cd-list-etudes-title:hover {
    color: #e6907e;
}
.page-id-61 #cd-list-etudes-title.active::after {
    transform: translateY(-50%) rotate(225deg);
}
.page-id-61 #cd-list-etudes-title.active {
    color: #e6907e;
}
.site-info {
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
}
.cd-list-card[aria-hidden="true"] {
    display: none !important;
}
.cp-list-more-wrap {
    margin-top: 30px;
    text-align: center;
}

.cp-list-toggle-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    font-size: 16px;
}

.cp-list-item-wrapper {
    margin-bottom: 20px;
}
.cp-pro-item {
    width: calc(33.333% - 24px);
    margin: 0 10px 20px;
    border: 1px solid #D09786;
    border-radius: 5px;
    padding: 1px;
}
#carte-professionnels {
    min-height: 500px;
    margin-bottom: 40px;
}

.cp-list-section {
    margin-top: 30px;
}
.cp-pro-list {
    display: flex;
    width: calc(100% + 20px);
    flex-wrap: wrap;
    margin-left: -10px;
}
.cp-pro-item.is-hidden {
    display: none !important;
}

.cp-pro-card {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 20px;
    background: #fff;
}

.cp-pro-card__media {
    flex: 0 0 140px;
}

.cp-pro-card__media img {
    display: block;
    width: 140px;
    height: auto;
    border-radius: 16px;
}

.cp-pro-card__content {
    flex: 1 1 auto;
    min-width: 0;
}

.cp-pro-card__title {
    margin: 0 0 12px;
    font-weight: 700;
    font-size: 20px;
    line-height: 1.2;
}

.cp-pro-card__meta {
    margin: 0 0 10px;
    line-height: 1.5;
}

.cp-pro-card__meta:last-child {
    margin-bottom: 0;
}

.cp-pro-more-wrap {
    margin-top: 30px;
    text-align: center;
}
.cp-pro-more-btn {
    display: table;
    padding: 9px 24px;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    font-size: 16px;
    line-height: 1.2;
        color: #000 !important;
    background: #F8BA82;
    margin: 20px auto;
    text-transform: uppercase;
    transition: all 0.3s linear;
    box-shadow: 2px 3px 1px #Ff7200;
    hyphens: none;
}
.cp-pro-more-btn:hover {
    box-shadow: 0 0 #Ff7200;
        color: #000 !important;
    background: #F8BA82;
    transition: all 0.3s linear;
}
.cp-popup-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.cp-popup-card__media {
    flex: 0 0 110px;
}

.cp-popup-card__media img {
    display: block;
    width: 110px;
    height: auto;
    border-radius: 14px;
}

.cp-popup-card__content {
    flex: 1 1 auto;
}

.cp-popup-card__title {
    margin: 0 0 12px;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.2;
}

.cp-popup-card__meta {
    margin: 0 0 8px;
    line-height: 1.45;
}

.cp-popup-card__meta:last-child {
    margin-bottom: 0;
}


.cd-popup .leaflet-popup-content-wrapper {
    box-sizing: border-box;
    max-width: calc(100vw - 20px);
}

.cd-popup .leaflet-popup-content {
    margin: 12px;
    min-width: 0 !important;
    box-sizing: border-box;
}

.cd-popup__inner,
.cd-popup__content {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.cd-popup__media img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
}

.cd-popup__title,
.cd-popup__meta,
.cd-popup__descriptif,
.termthematique {
    overflow-wrap: break-word;
    word-break: break-word;
}

.cd-popup__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
#carte-documents.cd-popup-open .leaflet-control-container,
#carte-professionnels.cd-popup-open .leaflet-control-container {
    z-index: 1 !important;
}

#carte-documents .leaflet-popup-pane,
#carte-professionnels .leaflet-popup-pane {
    z-index: 800 !important;
}

@media (max-width: 767px) {
    .cd-popup .leaflet-popup-content-wrapper {
        max-width: calc(100vw - 16px);
    }

    .cd-popup .leaflet-popup-content {
        margin: 10px;
    }

    .cd-popup__actions .cd-popup__btn, .cd-popup__actions .cd-popup__btn--secondary {
        width: auto;
        text-align: center;
        box-sizing: border-box;
    }
    .unedeuxcols {
        width: calc(100% - 40px) !important;
        margin: 0 20px;
    }
    .cp-pro-card,
    .cp-popup-card {
        flex-direction: column;
    }
.unedeuxcols.fdbeige {
    padding: 20px;
    width: calc(100% - 90px);
    border-radius: 30px;
}
    .cp-pro-card__media,
    .cp-popup-card__media {
        flex: none;
    }

    .cp-pro-card__media img,
    .cp-popup-card__media img {
        width: 100%;
        max-width: 220px;
    }
}

@media (max-width: 1250px) {
    .partenaire-item {
        width: calc(25% - 40px);
    }
}
@media (max-width: 1150px) {
.cp-pro-item {
    width: calc(50% - 24px);
}
}
@media (max-width: 1080px) {
hgroup img {
    max-width: 120px;
    max-height: 60px;
}
}
@media (max-width: 1025px) {
.main-navigation {
    display: none;
}
.taptap-menu-button-wrapper {
    top: 53px;
    right: 35px !important;
}
.taptap-by-bonfire ul li {
    display: table;
}
.hvr-underline-from-center:before{
    display: none;
}
.taptap-by-bonfire ul li a {
    font-family: 'gotbold';
    text-transform: uppercase;
}
}
@media (max-width: 1000px) {
    .bloc-content-intro {
        column-count: 1;
        column-gap: 0;
    }
    .flex-cible-liens {
        flex-direction:column;
    }
    .bloc-cible {
        border-radius: 30px 30px 0 0px;
        width: calc(100% - 80px);
    }
    .bloc-liens {
        width: calc(100% - 80px);
        background: #e95e3f;
        border-radius: 0px 0px 30px 30px;
    }
    .bloc-content-intro {
        padding: 0px 0 30px;
    }
}
@media (max-width: 900px) {
    .partenaire-item {
        width: calc(33.333% - 40px);
    }
    .bloc-content-intro {
        width: calc(100% - 50px);
    }
}
@media (max-width: 768px) {
    .partenaire-item {
        width: calc(50% - 40px);
    }
    .bloccont {
        padding-right:20px;
        padding-left:20px;
    }
    .partenaires-list {
        width: initial;
        margin-left: 0;
    }
    .partenaire-item img {
        max-width: 115px;
    }
    .entry-header .entry-title {
    font-size: 35px;
}
.cp-pro-item {
    width: calc(100% - 24px);
}
.cp-wrap {
    padding: 10px 0;
}
h2#cd-list-etudes-title, h2#cd-list-experimentations-title {
    margin-bottom: 25px !important;
}
.cd-popup__media {
    width: 80px;
}
header#masthead {
    display: flex;
    justify-content: space-between;
    padding: 10px 20px 10px;
    align-items: center;
}
.taptap-menu-button-wrapper {
    top: 47px;
        right: 20px !important;
}
.site-info {
    padding: 0 20px;
}
.page-id-159 .leaflet-popup-content p.cd-popup__meta, .page-id-159 .leaflet-popup-content .cd-popup__descriptif {
    display: none;
}
.cd-popup__title {
    font-size: 1.2rem;
}
.leaflet-popup-content .cd-popup__media {
    display: none;
}
.leaflet-popup-content .cd-popup__content {
    margin-left: 0;
}
.unedeuxcols {
    margin-top: 20px;
}
}
.unedeuxcols:first-child {
    margin-top: 0;
}
}
@media (max-width: 600px) {
    .entry-header .entry-title {
        font-size: 2rem;
    }
    .page-id-159 .cd-map {
    width: 100%;
    height: 350px;
}
    h1.bloc-title-intro {
    font-size: 2rem;
}
h2.bloc-title-partenaires {
    padding: 0 20px;
}
.bloc-partenaires {
    padding-right: 0 !important;
    padding-left: 0 !important;
}
    .bloc-liens {
        width: calc(100% - 40px);
        padding: 20px;
    }
    .bloc-cible {
        width: calc(100% - 40px);
        padding: 20px;
    }
.bloc-conseil {
    padding-top: 60px;
        margin-bottom: 40px;
}
.bloc-partenaires {
    padding-top: 35px;
    padding-bottom: 20px;
}
    .bloc-content-intro {
        padding: 0px 0 10px;
    }
    .bloc-content-intro:first-child {
    padding-bottom: 0;
}
}

