/*
Theme Name: DiviByOaiNot
Description: Child theme for Divi. You can now safely customize it and not risk losing your customizations.
Author: Oaï Not
Author URI: https://oai-not.com
Template: Divi
Version: 1.0
*/

/*cacher google recaptcha*/
.grecaptcha-badge{display:none}


header.et-fixed-header a:not(.et_pb_button) {
  color: #4157A3 !important;
}

header a:not(.et_pb_button) {
  color: white !important;
}

/*Agrandir logo sur mobile*/
@media (max-width: 980px) {
  .et_header_style_left #logo {
    max-width: 80%;
    max-height: 80%;
  }
}

#footer-bottom{
  display: none;
}


/*CARTO*/

/* === Styles pour la carte Leaflet des loueurs === */
.aloba-loueurs-map {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.aloba-map-no-markers {
  padding: 20px;
  text-align: center;
  color: #666;
}

/* Styles pour les popups de la carte */
.leaflet-popup-content {
  margin: 13px 19px;
}

.aloba-marker-popup {
  min-width: 200px;
}

.aloba-marker-popup h3 {
  margin: 0 0 10px 0;
  font-size: 16px;
  font-weight: bold;
  color: #333;
}

.aloba-marker-popup p {
  margin: 5px 0;
  font-size: 14px;
  line-height: 1.5;
  color: #555;
}

.aloba-marker-popup p strong {
  color: #333;
}

.aloba-marker-popup a {
  color: #0066cc;
  text-decoration: none;
  transition: color 0.2s ease;
}

.aloba-marker-popup a:hover {
  color: #004499;
  text-decoration: underline;
}

/* === Styles pour la liste des loueurs === */
.aloba-loueurs-list {
  width: 100%;
  margin: 20px 0;
}

.aloba-loueurs-table {
  width: 100%;
  border-collapse: collapse;
  background-color: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  table-layout: fixed;
}

.aloba-loueurs-table thead {
  background-color: #f5f5f5;
}

.aloba-loueurs-table thead th {
  padding: 15px 20px;
  text-align: left;
  font-weight: 700;
  font-size: 17px;
  color: #666;
  border-bottom: 2px solid #e0e0e0;
  text-transform: capitalize;
  letter-spacing: 0.5px;
}

.aloba-loueurs-table tbody tr {
  border-bottom: 1px solid #f0f0f0;
  transition: background-color 0.2s ease;
}

.aloba-loueurs-table tbody tr:hover {
  background-color: #fafafa;
}

.aloba-loueurs-table tbody tr.aloba-row-even {
  background-color: #fafafa;
}

.aloba-loueurs-table tbody tr.aloba-row-odd {
  background-color: #ffffff;
}

.aloba-loueurs-table tbody tr.aloba-row-even:hover {
  background-color: #f5f5f5;
}

.aloba-loueurs-table tbody td {
  padding: 15px 20px;
  font-size: 14px;
  color: #333;
  vertical-align: middle;
}

.aloba-cell-entreprise {
  width: 15%;
  font-weight: 700;
}

.aloba-cell-personne {
  width: 15%;
}

.aloba-cell-description {
  width: 30%;
  font-size: 13px;
  line-height: 1.4;
}

.aloba-cell-categorie {
  width: 20%;
  font-size: 13px;
}

.aloba-cell-site {
  width: 12%;
}

.aloba-cell-map {
  width: 8%;
  text-align: center;
}

.aloba-cell-picto {
  text-align: center;
  min-width: 28px !important;
  max-width: 38px !important;
  width: 38px !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  white-space: nowrap;
}

/* Force la largeur de la première colonne du tableau (pictos) */
.aloba-loueurs-table th:first-child,
.aloba-loueurs-table td:first-child {
  width: 100px !important;
  min-width: 70px !important;
  max-width: 100px !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  text-align: center;
  overflow: hidden;
}

.dipi-content-image-icon-wrap.dipi-icon-wrap {
  display: inline-block;
  margin: 0 2px;
  vertical-align: middle;
}

.dipi-hover-box-content-icon {
  font-size: 17px !important;
  font-family: FontAwesome !important;
  font-weight: 900 !important;
  line-height: 1;
  display: inline-block;
  color: #4157A3 !important;
}

.aloba-entreprise,
.aloba-personne,
.aloba-description,
.aloba-categorie {
  color: #333;
}

.aloba-site-link {
  color: #0066cc;
  text-decoration: none;
  transition: color 0.2s ease;
  font-size: 13px;
}

.aloba-site-link:hover {
  color: #004499;
  text-decoration: underline;
}

.aloba-map-button {
  background-color: #0066cc;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.aloba-map-button:hover {
  background-color: #004499;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.aloba-map-button:active {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.aloba-map-button i {
  font-size: 14px;
}

/* Responsive design */
@media (max-width: 768px) {
  .aloba-loueurs-table thead {
    display: none;
  }
  
  .aloba-loueurs-table tbody tr {
    display: block;
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
  }
  
  .aloba-loueurs-table tbody td {
    display: block;
    width: 100% !important;
    padding: 10px 15px;
    border-bottom: 1px solid #f0f0f0;
  }
  
  .aloba-loueurs-table tbody td:last-child {
    border-bottom: none;
  }
  
  .aloba-loueurs-table tbody td:before {
    content: attr(data-label);
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
    color: #666;
    font-size: 12px;
    text-transform: uppercase;
  }
}



.page-id-128 a, .page-id-132 a {
    color: #5E93C7 !important;
}

.page-id-128  h2 {
     font-size: 25px !important;
     letter-spacing: unset !important;
     color : black !important;
}

.aloba-categories-legend .dipi-icon-wrap{
  margin-left: 25px;
}

@media (max-width: 768px) {
    .aloba-loueurs-table tbody td:before {
        display: none !important;
    }
}