/*
Theme Name: Divi Enfant
Description: Theme enfant de Divi. Vous pouvez maintenant effectuer vos modifications en toute sécurité.
Author: WPMarmite
Author URI: https://wpmarmite.com
Template: Divi
Version: 1.0
*/

.utds-lang-switcher {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	font-size: 14px;
	line-height: 1;
}

.utds-lang-switcher__item {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
	color: #ffffff;
	font-weight: 600;
	letter-spacing: 0.04em;
	opacity: 0.78;
	transition: opacity 0.2s ease, color 0.2s ease;
}

.utds-lang-switcher__item:hover {
	opacity: 1;
	color: #ffffff;
}

.utds-lang-switcher__item.is-current {
	opacity: 1;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.utds-lang-switcher__item.no-translation {
	opacity: 0.45;
	pointer-events: none;
}

.utds-lang-switcher__sep {
	color: rgba(255,255,255,0.55);
	margin: 0 2px;
}

@media (max-width: 767px) {
	.utds-lang-switcher {
		justify-content: center;
		font-size: 13px;
		gap: 6px;
	}

	.utds-lang-switcher__sep {
		margin: 0 1px;
	}
}


/* =========================
   TABLES GLOBALES
========================= */

.utds-table-wrapper {
  margin-bottom: 40px;
}

.utds-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.utds-table th {
  background: #e50076;
  color: #fff !important;
  padding: 14px;
  text-align: left;
  font-size: 15px;
}

.utds-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #e5e5e5;
  font-size: 14px;
}

.utds-table tr:nth-child(even) {
  background: #f8f8f8;
}

/* =========================
   MOBILE CARDS
========================= */

@media (max-width: 767px) {

  .utds-table,
  .utds-table thead,
  .utds-table tbody,
  .utds-table th,
  .utds-table td,
  .utds-table tr {
    display: block;
    width: 100%;
  }

  .utds-table thead {
    display: none;
  }

  .utds-table tr {
    margin-bottom: 20px;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    overflow: hidden;
    background: #fff !important;
  }

  .utds-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 20px;

    padding: 12px 14px;
    border-bottom: 1px solid #f0f0f0;

    text-align: right;
  }

  .utds-table td:last-child {
    border-bottom: none;
  }

  .utds-table td::before {
    content: attr(data-label);
    font-weight: 700;
    color: #111;
    text-align: left;
  }

}