/* Styles for the photo slider */
.photo-slider {
    position: relative;
    width: 100%;
    height: 550px; /* Hauteur fixe de 550px */
    background-color: #2e2f33; /* Fond noir */
    overflow: hidden;
    border-radius: var(--default-border-radius);
    box-shadow: var(--default-box-shadow);
    margin: 15px;
}

.slider-container {
    display: flex;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slide {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    background: #2e2f33;
}

.slide img {
    max-height: 100%;
    width: auto !important;
    height: auto !important;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Navigation buttons */
.prev-slide, .next-slide {
    color: #fff;
    border: none;
    padding: 10px;
    width: 50px; /* Largeur du bouton */
    height: 50px; /* Hauteur du bouton */
    position: absolute;
    top: calc(50% - 25px);
    cursor: pointer;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center; /* Centrage horizontal */
    border-radius: 50%; /* Fond rond */
	background-color: #f67280;
}

.prev-slide i, .next-slide i {
    font-family: 'fontello'; /* Nom de la police Fontello */
    font-size: 24px; /* Taille de l'icône */
}

.prev-slide i::before {
    content: '\E81B'; /* Code de l'icône Fontello pour la flèche gauche et \E807 pour la flèche droite */
	width: initial;
  line-height: initial;
  margin-left: initial;
	margin-right: initial;
}

.next-slide i::before {
    content: '\E81A'; /* Code de l'icône Fontello pour la flèche gauche et \E807 pour la flèche droite */
	width: initial;
  line-height: initial;
  margin-left: initial;
	margin-right: initial;
}

.prev-slide {
    left: 10px;
    right: auto;
}

.next-slide {
    left: auto;
    right: 10px;
}

.prev-slide:hover, .next-slide:hover {
    background-color: rgba(246, 114, 128, 0.8); /* Couleur au survol */
}
