/*
 Theme Name:   Grand Lebrun 
 Theme URI:    
 Description:  Ensemble Scolaire Sainte Marie Grand Lebrun
 Author:       Miguel Sanchez
 Author URI:   https://www.laplante.fr
 Template:     hello-elementor
 Version:      1.0.0
*/
/* Override des variables globales Elementor */
[class^="elementor-kit"],
[class*=" elementor-kit"] {
  --e-global-typography-primary-font-family: 'URWDINCondBold', sans-serif; /* pour les headings */
  --e-global-typography-text-font-family: 'URWDINRegular', sans-serif;     /* pour les textes */
}

@font-face {
    font-family: 'URWDINRegular';
    src: url('fonts/URWDINRegular.eot');
    src: url('fonts/URWDINRegular.eot') format('embedded-opentype'),
         url('fonts/URWDINRegular.woff2') format('woff2'),
         url('fonts/URWDINRegular.woff') format('woff'),
         url('fonts/URWDINRegular.ttf') format('truetype'),
         url('fonts/URWDINRegular.svg#URWDINRegular') format('svg');
}

@font-face {
    font-family: 'URWDINCondBold';
    src: url('fonts/URWDINCondBold.eot');
    src: url('fonts/URWDINCondBold.eot') format('embedded-opentype'),
         url('fonts/URWDINCondBold.woff2') format('woff2'),
         url('fonts/URWDINCondBold.woff') format('woff'),
         url('fonts/URWDINCondBold.ttf') format('truetype'),
         url('fonts/URWDINCondBold.svg#URWDINCondBold') format('svg');
}

body {
	font-family: 'URWDINRegular', Sans-serif;
  font-size: 1.2em;
}

h1, h2, h3, h4, h5, h6{
	font-family: 'URWDINCondBold', Sans-serif;
}

a{
  color: #1f325e;
}

.comments-area a, .page-content a {
	text-decoration: none;
}

.entry-title {
  min-height: 50px;
}
/*  Clignotement bouton inscription  */
#clig11  { animation: clignoter 3s ease infinite; background-color: #1f325e; }

@keyframes clignoter {
  0%   { opacity:1; }
  40%   {opacity:1; background-color: #2ca9e0;}
  100% { opacity:1; }
}
/*  Fin lignotement bouton inscription  */
#menu-menu-pricipal li > a {
  font-size: 1em;
}
#menu-menu-pricipal ul > li > ul > li > a{
  font-size: 1em;
}
#menu-menu-pricipal > li:nth-child(2) > ul > li:nth-child(1):hover > a, #menu-menu-pricipal > li:nth-child(2) > ul > li:nth-child(1) > a.active{
  background-color: #EE731C;
}
#menu-menu-pricipal > li:nth-child(2) > ul > li:nth-child(2):hover > a, #menu-menu-pricipal > li:nth-child(2) > ul > li:nth-child(2) > a.active{
	background-color: #49AD32;
}
#menu-menu-pricipal > li:nth-child(2) > ul > li:nth-child(3):hover > a, #menu-menu-pricipal > li:nth-child(2) > ul > li:nth-child(3) > a.active{
	background-color: #2CA9E0;
}
#menu-menu-pricipal > li:nth-child(2) > ul > li:nth-child(4):hover > a, #menu-menu-pricipal > li:nth-child(2) > ul > li:nth-child(4) > a.active{
	background-color: #97192B;
}
#menu-menu-pricipal > li:nth-child(2) > ul > li:nth-child(5):hover > a, #menu-menu-pricipal > li:nth-child(2) > ul > li:nth-child(5) > a.active{
  background-color: #1f325e;
}

#btn-onglet-orange[aria-selected="true"] {
  background-color: #EE731C;
}
/*#btn-onglet-orange > span{
  color: #EE731C;
}*/
#btn-onglet-vert[aria-selected="true"] {
  background-color: #49AD32;
}
#btn-onglet-bleu[aria-selected="true"] {
  background-color: #1f325e;
}
#btn-onglet-rouge[aria-selected="true"] {
  background-color: #97192B;
}
#btn-onglet-bleu-clair[aria-selected="true"] {
  background-color: #2ca9e0;
}
#btn-onglet-orange[aria-selected="true"] {
  background-color: #EE731C;
}
/*.e-n-tab-title[aria-selected="false"]:hover {
  background-color: #2ca9e0 !important;
}*/

#btn-onglet-bleu-clair[aria-selected="false"]:hover {
  background-color: #2ca9e0;
  color: #ffffff;
}
#btn-onglet-bleu-clair[aria-selected="false"] {
  color: #2ca9e0;
}
#btn-onglet-rouge[aria-selected="false"]:hover {
  background-color: #97192B;
  color: #ffffff;
}
#btn-onglet-rouge[aria-selected="false"] {
  color: #97192B;
}
#btn-onglet-vert[aria-selected="false"]:hover {
  background-color: #49AD32;
  color: #ffffff;
}
#btn-onglet-vert[aria-selected="false"] {
  color: #49AD32;
}
#btn-onglet-orange[aria-selected="false"]:hover {
  background-color: #EE731C;
  color: #ffffff;
}
#btn-onglet-orange[aria-selected="false"] {
  color: #EE731C;
}
#btn-onglet-bleu[aria-selected="false"]:hover {
  background-color: #1f325e;
  color: #ffffff;
}
#btn-onglet-bleu[aria-selected="false"] {
  color: #1f325e;
}
.pp-post.pp-grid-item {
  height: 100%;
}
/* Navigation entre articles */
.post-navigation {
  margin: 2em 0;
}

.post-navigation .nav-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.post-navigation .nav-previous a,
.post-navigation .nav-next a {
  display: inline-block;
  padding: 10px 15px;
  background-color: #f5f5f5;
  border-radius: 5px;
  text-decoration: none;
  color: #333;
  transition: background-color 0.3s ease;
}

.post-navigation .nav-previous a:hover,
.post-navigation .nav-next a:hover {
  background-color: #ddd;
}

/* Bouton retour aux actualités */
.back-to-archive {
  text-align: center;
  margin-top: 1.5em;
}

.back-to-archive a {
  display: inline-block;
  padding: 12px 20px;
  background-color: #1f325e; /* couleur de fond */
  color: #fff; /* couleur du texte */
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.back-to-archive a:hover {
  background-color: #14223f;
}

/*#btn-onglet-bleu-valeur4[aria-selected="false"]:hover {
  background-color: #1f325e;
  color: #ffffff;
}
#btn-onglet-bleu-valeur4[aria-selected="false"] {
  color: #1f325e;
}*/
.elementor-element-118565c > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > p:nth-child(2), .elementor-element-1e7eafa > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > p:nth-child(2), .elementor-element-4431339 > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > p:nth-child(2), .elementor-element-d979a1e > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > p:nth-child(2){
  margin: 20px 0px;
}
.elementor-widget-n-accordion .e-n-accordion-item[open] > .e-n-accordion-item-title{
  background-color: #2ca9e0;
}
/*.elementor-widget-n-accordion .e-n-accordion-item[open] > .e-n-accordion-item-title > .e-n-accordion-item-title-icon{
  background-color: #2ca9e0;
}*/
ul ul {
  list-style: disclosure-closed;
}
/* icone télechargement du popop */
#popmake-10409 > .pum-content > p > a::before {
  content: "";
  display: inline-block;
  width: 15px;
  height: 20px;
  background-image: url('data:image/svg+xml;utf8,<svg aria-hidden="true" class="e-font-icon-svg e-fas-download" viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><path d="M216 0h80c13.3 0 24 10.7 24 24v168h87.7c17.8 0 26.7 21.5 14.1 34.1L269.7 378.3c-7.5 7.5-19.8 7.5-27.3 0L90.1 226.1c-12.6-12.6-3.7-34.1 14.1-34.1H192V24c0-13.3 10.7-24 24-24zm296 376v112c0 13.3-10.7 24-24 24H24c-13.3 0-24-10.7-24-24V376c0-13.3 10.7-24 24-24h146.7l49 49c20.1 20.1 52.5 20.1 72.6 0l49-49H488c13.3 0 24 10.7 24 24zm-124 88c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20zm64 0c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20z"></path></svg>');
  background-size: contain;
  background-repeat: no-repeat;
  margin-right: 12px;
  vertical-align: bottom;
}
/*FORMULAIRE DE CONTACT*/
/* Conteneur général */
.wpcf7 form {
  max-width: 600px;
  margin: auto;
  padding: 2em;
  background: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  font-family: "Segoe UI", sans-serif;
}

/* Labels */
.wpcf7 form label {
  display: block;
  margin-bottom: 1em;
  font-weight: 500;
  color: #7A7A7A;
}

/* Champs texte, email, select, textarea */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 select,
.wpcf7 textarea {
  width: 100%;
  padding: 0.75em 1em;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.wpcf7 input:focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus {
  border-color: #1f325e;
  box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.2);
  outline: none;
}

/* Cases à cocher */
.wpcf7 input[type="checkbox"] {
  margin-right: 0.5em;
  transform: scale(1.2);
  vertical-align: middle;
}

/* Liens dans le texte */
.wpcf7 form a {
  color: #1f325e;
  text-decoration: underline;
}
.wpcf7 form a:hover {
  color: #2ca9e0;
}

/* Titre des sections */
.wpcf7 form h3 {
  margin-top: 2em;
  margin-bottom: 1em;
  font-size: 1.2rem;
  color: #7A7A7A;
}

.wpcf7 form p strong {
  color: #7A7A7A;
}

/* Bouton envoyer */
.wpcf7 input[type="submit"] {
  display: inline-block;
  background-color: #1f325e;
  color: #fff;
  padding: 0.75em 2em;
  font-size: 1rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  margin-top: 1em;
}

.wpcf7 input[type="submit"]:hover {
  background-color: #2ca9e0;
}
@media (max-width: 767px) {
  .wpcf7 form {
    padding: 0em;
  }
}
@media (max-width: 587px) {
  body {
    font-size: 1em;
  }
}