/* ***************************************************** */
/* Le design des accordeons pour la liste des ressources */
/* ***************************************************** */
.cua-tourisme-accordeon {
    width: 100%;
}

.cua-tourisme-accordeon-item {
    border-bottom: 1px solid #ddd;
	border-radius:10px;
	background: #F0F0F0;
	margin-bottom: 10px;
}

.cua-tourisme-accordeon-titre {
    width: 100%;
    padding: 18px 20px;
    background: #f5f5f5;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    font-weight: 600;
    text-align: left;
	border-radius:10px;
}

.cua-tourisme-accordeon-titre.active {
    background: #e9e9e9;
}

.cua-tourisme-accordeon-contenu {
	background: #F0F0F0;	
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 20px;
}

.cua-tourisme-accordeon-contenu p {
    padding: 8px 8px;
	font-size: 16px;
    margin: 0;
}

.cua-tourisme-accordeon-contenu p:not(.has-background):last-of-type {
    padding: 8px 8px;
    margin: 0;
}

/* ***************************************************** */
/* * Le design pour la carte                             */
/* ***************************************************** */
.cua-tourisme-carte {
    width: 100%;
    height: 450px;
    border-radius: 8px;
    z-index: 1;
}


/* ***************************************************** */
/* * Le design pour les slider d'images                  */
/* ***************************************************** */
.cua-tourisme-visuel {
	border: 5px solid #fff;
    box-shadow: 0 0 5px rgba(0, 0, 0, .2);
	background-color : #EEEEEE;
	text-align: center;
}

.cua-tourisme-visuels {
	border: 5px solid #fff;
    box-shadow: 0 0 5px rgba(0, 0, 0, .2);
	background-color : #EEEEEE;
    width: 100%;
    max-width: 100%;
    position: relative;
    overflow: hidden;
}

.cua-tourisme-visuel .splide-detail,
.cua-tourisme-visuels .splide-detail {
    width: 100%;
    max-width: 100%;
}
.cua-tourisme-visuel .splide-detail .splide__track,
.cua-tourisme-visuels .splide-detail .splide__track {
    overflow: hidden;
}

.cua-tourisme-visuel .splide-detail .splide__slide,
.cua-tourisme-visuels .splide-detail .splide__slide {
    height: 450px;
    overflow: hidden;
}
.cua-tourisme-visuel .splide-detail .splide__slide img,
.cua-tourisme-visuels .splide-detail .splide__slide img{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ***************************************************** */
/* * Le design pour la zone de filtre de la carte        */
/* ***************************************************** */

#cua-tourisme-filtre-content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

#cua-tourisme-filtre-content label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
}

#cua-tourisme-filtre-content input[type="checkbox"] {
    margin: 0;
}

#cua-tourisme-filtre-content button,
#cua-tourisme-filtre-content a {
    display: inline-flex;
    align-items: center;
    margin: 0;
}

.cua-tourisme-filtres {
  background: #f0f0f0;
  border: 1px solid #CCCCCC;
  border-radius: 8px;
  padding: 4px 18px;
  margin-bottom: 16px;
  font-family: inherit;
}
.filtres-liste {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 24px;
}
.filtres-titre { font-weight: 600; }
.filtres-liste label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  cursor: pointer;
  font-size: 14px;
  margin-right:10px;
}
.filtres-liste input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #2478db;
  cursor: pointer;
  flex-shrink: 0;
}
.filtres-tous {
  background: none;
  border: none;
  color: #2478db;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  min-height: 44px;
  padding: 0;
  text-decoration: underline;
}
.filtres-toggle { display: none; }

.cua-wp-detail-body-flex {
	display:flex;
	flex-direction:row;
	gap: 10px;
}


.cua-wp-detail-body-flex .fullsize {
	width: 100%;
}
.cua-wp-detail-body-flex .halfsize {
	width: 50%;
}

.cua-wp-detail-body-flex .halfsize2 {
	display:none;
}


@media (max-width: 767px) {
	.cua-wp-detail-body-flex {
		flex-direction:column;
	}

	.cua-wp-detail-body-flex .halfsize {
		width: 100%;
	}
	.cua-wp-detail-body-flex .halfsize2 {
		display:visible;
		background-color:green;
		width: 100%;
	}	
	
  .cua-tourisme-filtres { 
	padding: 0; 
   }
  .filtres-toggle {
    display: flex;
    width: 100%;
    min-height: 48px;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: transparent;
    border: none;
    color: inherit;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
  }
  
  #cua-tourisme-filtre-content {
	flex-direction: column;
	align-items: flex-start;
  }
  
  .filtres-chevron { transition: transform .2s; }
  
  .cua-tourisme-filtres.ouvert .filtres-chevron {
    transform: rotate(180deg);
  }
  .filtres-liste {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 0 16px 14px;
  }
  .cua-tourisme-filtres.ouvert .filtres-liste { display: flex; }
  .filtres-titre { display: none; }
  .filtres-liste label { min-height: 20px; }
  .filtres-tous { text-align: left; margin-top: 8px; }
}


