/* 
 Theme Name:   Mediaspectacles
 Theme URI:    
 Description:  
 Author:       Gabriel AVANTI
 Author URI:   https://cours-de-theatre-paris.fr/
 Template:     hello-elementor
 Version:      1.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html

 /* == Add your own styles below this line ==
--------------------------------------------*/



@font-face {
  font-family: "Roustel";
  src: url("https://cours-de-theatre-paris.fr/wp-content/themes/Mediaspectacles/fonts/Roustel.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "NTVanilla.otf";
  src: url("https://cours-de-theatre-paris.fr/wp-content/themes/Mediaspectacles/fonts/NT Vanilla.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

.ntvanilla {
    font-family: "NTVanilla.otf" !important;
}


.txt-accent {
	color: var( --e-global-color-secondary );
}

ul li::marker {
  color: var( --e-global-color-accent );
}


/*accordeon*/
.accordion-ms .e-n-accordion-item:nth-child(even) .e-n-accordion-item-title {
    background-color:#ffffff !important;
}
.accordion-ms .e-n-accordion-item:nth-child(even) > .e-con {
    background-color:#ffffff !important;
}

.accordion-ms .e-n-accordion-item:nth-child(odd) .e-n-accordion-item-title {
    background-color: var( --e-global-color-0296553 ) !important;
}
.accordion-ms .e-n-accordion-item:nth-child(odd) > .e-con {
    background-color: var( --e-global-color-0296553 ) !important;
}

.accordion-ms .e-n-accordion-item:nth-child(1) .e-n-accordion-item-title {
	border-radius: 20px 20px 0 0 !important;
}
.accordion-ms .e-n-accordion-item:last-child  {
    border-radius: 0 0 20px 20px !important;
}
.accordion-ms .e-n-accordion-item:last-child div  {
    border-radius: 0 0 20px 20px !important;
}
.accordion-ms .e-n-accordion-item:last-child .e-n-accordion-item-title  {
    border-radius: 0 0 20px 20px !important;
}
.accordion-ms .e-n-accordion-item:last-child[open] > .e-n-accordion-item-title  {
    border-radius: 0 !important;
}
.accordion-ms .e-n-accordion-item:nth-child(1) .e-n-accordion-item-title {
    border-radius: 20px 20px 0 0 !important;
}

.title-font-style-one {
	font-family: "Roustel", sans-serif !important;
	color: var( --e-global-color-secondary );
	font-weight: 500 !important;
}
h1 .title-font-style-one {
    font-size: 1.7em !important;
    line-height: 1.7em;
    margin-right: 10px;
}
h2 .title-font-style-one {
    font-size: 1.7em !important;
    line-height: 1.7em;
    margin-right: 10px;
}
h3 .title-font-style-one {
    font-size: 1.4em !important;
    line-height: 1.4em;
}

@media (max-width: 768px) {
  h1 .title-font-style-one {
      font-size: 1.6em !important;
      line-height: 1.6em;
      margin-right: 10px;
  }
  h2 .title-font-style-one {
      font-size: 1.5em !important;
      line-height: 1.5em;
      margin-right: 10px;
  }
  h3 .title-font-style-one {
      font-size: 1.2em !important;
      line-height: 1.2em;
  }
}
.titre-logo {
    text-transform: uppercase;
      font-size: 0.7em !important;
}
.titre-logo-2 {
    text-transform: uppercase;
      font-size: 0.7em !important;
    color: var( --e-global-color-secondary );
}


.font-roustel {
	font-family: "Roustel", sans-serif !important;
}


/* tables */
thead  {
	background:var( --e-global-color-accent );
	color: #ffffff;
	border-radius: 20px 20px 0 0;
}
.table-cours-theatre th:first-child {
    border-top-left-radius: 8px;
}

.table-cours-theatre th:last-child {
    border-top-right-radius: 8px;
}
.table-cours-theatre th:first-child {
    border-top-left-radius: 20px; 
}

.table-cours-theatre th:last-child {
    border-top-right-radius: 20px; 
}

/* Tables générales */
table {
    border-collapse: collapse; /* fusion des bordures internes */
    width: 100%;
}

table th:first-child {
    border-left: none;
}
thead tr {
    border-top: none;
}
table td:first-child {
    border-left: none;
}
/* Supprimer la bordure droite sur la dernière colonne */
table th:last-child,
table td:last-child {
    border-right: none;
}

/* Supprimer la bordure inférieure sur la dernière ligne */
table tr:last-child td {
    border-bottom: none;
}

table tr:last-child {
    border-bottom-right-radius: 20px; 
    border-bottom-left-radius: 20px; 
}
table thead:first-child tr:first-child th {
   border-block-start: none !important;
}
table td {
    padding: 10px;
}

.tableau-cours-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch; /* scroll fluide sur iOS */
}

.table-cours-theatre {
  width: 100%;
  border-collapse: collapse;
  min-width: 800px; /* force le scroll si trop de colonnes */
}

.table-cours-theatre th,
.table-cours-theatre td {
  white-space: nowrap; /* empêche le texte de se couper */
  padding: 8px 12px;
  text-align: left;
}

.table-cours-theatre th {
  position: sticky;
  top: 0;
  z-index: 1;
}
.table-cours-theatre td:nth-child(2), /* la 2e colonne = Cours */
.table-cours-theatre th:nth-child(2) {
    max-width: 150px;      /* largeur max de la colonne */
    white-space: normal;   /* autorise le retour à la ligne */
    word-wrap: break-word; /* coupe les mots trop longs si besoin */
    overflow: hidden;      /* cache ce qui dépasse */
    text-overflow: ellipsis; /* ajoute "..." si le texte est tronqué */
}

.table-cours-theatre tr.cours-complet {
    background-color: #f0f0f0;  /* gris clair */
    color: #888888;             /* texte gris */
}

.table-cours-theatre tr.cours-complet a {
    color: #888888;             /* liens gris également */
    pointer-events: none;       /* désactive le clic si tu veux */
    text-decoration: none;
}






.gfield_required {
    color: var( --e-global-color-accent ) !important;
}

.gform_button {
    background: var( --e-global-color-secondary ) !important;
    border-radius: 100px !important;
    font-size: 1.3em !important;
    padding: 10px 30px !important;
}
.gform_button:hover {
    background: black !important;
}
.gfield_label {
    font-size: 1em !important;
    color: var( --e-global-color-accent ) !important;
}
input {
    border-color: var( --e-global-color-accent ) !important;
    border-radius: 100px !important;
}
textarea {
    border-color: var( --e-global-color-accent ) !important;
    border-radius: 20px !important;
}
select {
    border-color: var( --e-global-color-accent ) !important;
    border-radius: 20px !important;
}
table td {
    text-align: center;
}
.ginput_product_price {
    background-color: var( --e-global-color-secondary ) !important;
    color: #ffffff !important;
    padding: 10px 20px !important;
    font-size: 1.3em;
}







.btn-reserver {
    background:var( --e-global-color-secondary );
    color: #ffffff !important;
    padding: 5px 10px;
    border-radius: 10px;
}

.btn-reserver:hover {
    background:black;
    color: #ffffff;
}



.elementor-widget .elementor-icon-list-item a {
    display: unset !important;
}






@media (min-width: 1024px) {
  .menu-contact-mobile {
    display: none !important;
  }
}

a {
    text-decoration: none !important;
}





.validation_message {
    background-color:red !important;
    color: #ffffff !important;
    padding: 10px !important;
}