/* Composant coordonnee */
#coordonnee {
  background-color: #047178;
}

#map-contact .titre-section {
  margin-bottom: 30px;
}

.acf-map {
  width: 100%;
  height: 500px;
  margin: 0;
  border-radius: 30px;
}

.acf-map img {
  max-width: inherit !important;
}

.gm-style-iw-d {
  font-size: 16px;
}

#coordonnee .titre-section {
  margin-bottom: 30px;
}

#coordonnee .titre-section h2 {
  color: #FFF;
  text-align: center;
}

.bloc-coordonnee {
  background-color: #FFFF;
  padding: 40px;
  border-radius: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}

#coordonnee .bloc-coordonnee {
  height: 100%;
}

#menu .bloc-coordonnee {
  padding: 40px 20px 10px;
  min-height: 400px;
}

.bloc-coordonnee h3 {
  font-family: "neulis-cursive", sans-serif;
  font-size: 29px;
  line-height: 1;
}

#menu .bloc-coordonnee h3,
#menu .bloc-coordonnee h4 {
  font-family: "neulis-cursive", sans-serif;
  font-size: 29px;
  margin-bottom: 15px;
}

#menu .bloc-coordonnee h4 {
  font-size: 20px;
}

.bloc-coordonnee p {
  padding-left: 2rem;
  padding-right: 1rem;
  position: relative;
}

.bloc-coordonnee p::before {
  position: absolute;
  content: url(/wp-content/themes/DMUC/images/map.svg);
  top: 5%;
  left: 0%;
  z-index: 99;
}

.bloc-coordonnee .horraire::before {
  content: url(/wp-content/themes/DMUC/images/time.svg);
}

.bloc-coordonnee .tel::before {
  content: url(/wp-content/themes/DMUC/images/phone.svg);
}

.bloc-coordonnee .mail::before {
  content: url(/wp-content/themes/DMUC/images/mail.svg);
}

#menu .bloc-coordonnee p {
  margin: 0 0 15px;
  line-height: 120%;
}

.bloc-coordonnee .menu-btn {
  margin-left: 0;
}

@media screen and (min-width:801px) and (max-width:1024px) {
  .bloc-coordonnee {
    padding: 50px 20px;
  }

  .bloc-coordonnee .menu-btn {
    font-size: 24px;
  }
}

@media screen and (max-width:800px) {
  #coordonnee .bloc-3-5 {
    order: 2;
  }

  #coordonnee .bloc-2-5 {
    order: 1;
    margin-bottom: 1.5rem;
  }

  #coordonnee .titre-section {
    margin-bottom: 15px;
  }
}

@media screen and (min-width:481px) and (max-width:800px) {
  .bloc-coordonnee {
    padding: 70px;
  }

  .bloc-coordonnee p {
    font-size: 20px;
  }
}

@media screen and (max-width:480px) {
  .bloc-coordonnee {
    padding: 30px;
  }

  .acf-map {
    height: 400px;
  }

  #menu .bloc-coordonnee {
    padding: 20px 20px 10px;
    min-height: inherit;
  }
}

/* Formulaire */

#form-contact {
  background-color: #F0EDE5;
}

#form-contact .row {
  justify-content: center;
}

#form-contact .titre-section {
  max-width: 855px;
  margin-bottom: .5rem;
}

.formulaire {
  position: relative;
  background-color: #55a3a8;
  padding: 4rem 3rem;
  border-radius: 30px;
  max-width: 855px;
  z-index: 4;
}

.formulaire::before {
  position: absolute;
  content: url(/wp-content/themes/DMUC/images/mesange.png);
  top: 45%;
  right: -31.8%;
  z-index: 1;
}

.formulaire .gform_heading {
  display: none;
}

#gform_fields_1 {
  row-gap: 20px;
}

.champobli,
#gform_1 .gfield_label,
#gform_1 .gfield_required,
#gform_1 .gform-field-label,
#gform_1 .gform-field-label a,
#gform_1 input::placeholder,
#gform_1 textarea::placeholder {
  color: #FFF;
  font-size: 20px;
  line-height: 24px;
  letter-spacing: 0.6px;
}

#gform_1 .gform-field-label a {
  text-decoration: underline;
}

#gform_1 .gform-field-label a:hover {
  color: #047178;
}

#gform_1 input[type=text],
#gform_1 input[type=email],
#gform_1 input[type=tel],
#gform_1 select,
#gform_1 textarea {
  border-radius: 12px;
  border: none;
  padding: 12px 15px;
  font-size: 20px;
  height: 48px;
}

#gform_1 select {
  padding: 5px 15px;
}

#gform_1 input[type=checkbox] {
  border: 3px solid #047178;
  border-radius: 5px;
}

#gform_1 input[type=text]::placeholder,
#gform_1 input[type=email]::placeholder,
#gform_1 input[type=tel]::placeholder,
#gform_1 textarea::placeholder {
  color: #047178;
}

#gform_1 .gform_footer {
  justify-content: flex-end;
  margin-top: 0;
}

#gform_1 .gform_footer input {
  background-color: #047178;
  color: #FFF;
  text-transform: none;
  font-family: "neulis-cursive", sans-serif;
  font-size: 24px;
  border-radius: 20px;
  padding: 3px 20px;
  line-height: 120%;
  transition: all 0.25s ease-in-out;
}

#gform_1 .gform_footer input:hover {
  background-color: #FFF;
  color: #047178;
  border: 2px solid #047178;
}

@media screen and (max-width:800px) {
  .formulaire {
    padding: 2rem 1.5rem;
  }

  #gform_fields_1 {
    row-gap: 10px;
  }

  .content_aeb .gform-theme--foundation .gfield textarea.large {
    min-block-size: 8rem;
  }
}

/* Composant mode-accueil */

#modes-accueil {
  position: relative;
  background: #55A3A8;
  padding: 4.5em 0;
}

#modes-accueil::before {
  content: url(/wp-content/themes/DMUC/images/papillon.png);
  position: absolute;
  left: 0%;
  top: 60%;
  z-index: 99;
}

#modes-accueil::after {
  content: url(/wp-content/themes/DMUC/images/libellule_bleue.png);
  position: absolute;
  right: 1%;
  top: 38%;
  z-index: 99;
}

#modes-accueil .row {
  justify-content: center;
}

#modes-accueil h2 {
  color: #fff;
  margin-bottom: 1rem;
}

#modes-accueil .titre-section h3 {
  color: #fff;
}

#modes-accueil .bloc-4 {
  margin: 2.5em 0 0;
}

#modes-accueil .modes {
  background: #F2F0EE;
  border-radius: 35px;
  margin: auto;
  display: flex;
  flex-direction: column;
  height: 100%;
}

#modes-accueil .modes h3 {
  text-align: center;
  font-family: "neulis-cursive", sans-serif;
  font-size: 29px;
  font-style: normal;
  font-weight: 400;
  padding: 2em 0 1.25em;
  position: relative;
}

#modes-accueil .modes h3:after {
  content: url(/wp-content/themes/DMUC/images/trait-rouge.svg);
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, -50%);
}

#modes-accueil .btn {
  color: #FFF500;
  border-radius: 20px;
  background: #24888E;
  font-weight: 400;
  margin: .5em auto;
  width: 180px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #FFF500;
}

#modes-accueil .btn:hover {
  background: #F2F0EE;
  color: #24888E;
  border: 2px solid #24888E;
}

#modes-accueil p {
  padding: 20px;
  text-align: center;
  margin: 0 auto auto;
}

#accueil-regulier #modes-accueil .bloc-4:nth-of-type(2),
#accueil-durgence #modes-accueil .bloc-4:nth-of-type(4),
#accueil-periscolaire #modes-accueil .bloc-4:last-of-type,
#accueil-occasionnel #modes-accueil .bloc-4:nth-of-type(3) {
  display: none;
}

@media screen and (min-width:801px) and (max-width:1199px) {
  .home #modes-accueil .bloc-4 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }

  #modes-accueil .modes h3 {
    padding: 2rem 0 0.75rem;
  }

  #modes-accueil .modes h3:after {
    bottom: -40%;
  }
}

@media screen and (min-width:801px) {

  #accueil-regulier #modes-accueil .bloc-4,
  #accueil-durgence #modes-accueil .bloc-4,
  #accueil-periscolaire #modes-accueil .bloc-4,
  #accueil-occasionnel #modes-accueil .bloc-4 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 33.3%;
    flex: 0 0 33.3%;
    max-width: 33.3%;
  }
}

@media screen and (max-width:800px) {
  #modes-accueil {
    padding: 2em 0;
  }

  #modes-accueil .bloc-4 {
    margin: 1.5em 0 0;
  }

  #modes-accueil .modes h3 {
    padding: 2rem 0 0.75rem;
  }

  #modes-accueil .modes h3:after {
    bottom: -40%;
  }
}

@media screen and (max-width:480px) {
  #modes-accueil .modes {
    width: 100%;
  }
}

/* Composant valeurs */

#valeurs {
  padding: 4rem 0;
  background: #F0EDE5;
}

#valeurs .ridicule {
  padding: 4.5em 0;
  max-width: 1380px;
  margin: auto;
  background: #EAE7DD;
}

#valeurs .menu-btn {
  font-weight: 400;
  line-height: 1;
  margin: 0;
  display: block;
}

#valeurs .bloc-2 {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#valeurs .bloc-2:first-of-type {
  position: relative;
  justify-content: center;
}

#valeurs .bloc-2:first-of-type:before {
  content: url(/wp-content/themes/DMUC/images/fleur.svg);
  position: absolute;
  left: -1em;
  top: -1em;
  transform: translate(-50%, -50%);
}

#valeurs h2 {
  display: block;
  position: relative;
}

#valeurs p {
  margin: 1em 0;
}

#valeurs img {
  border-radius: 30px;
}

@media screen and (min-width:1400px) {
  #valeurs .ridicule {
    border-radius: 250px;
  }
}

@media screen and (max-width:1400px) {
  #valeurs .bloc-2:first-of-type:before {
    zoom: 0.6;
    top: 2%;
    left: 2%;
  }
}

@media screen and (max-width:1024px) {
  #valeurs img {
    height: 100%;
    object-fit: cover;
  }
}

@media screen and (max-width:800px) {
  #valeurs {
    padding: 2rem 0 0;
  }

  #valeurs .bloc-2:first-of-type {
    text-align: center;
  }

  #valeurs .menu-btn {
    margin: 0 auto 1em;
  }

  #valeurs .ridicule {
    padding: 2.5em 0;
  }
}

/* Composant vous êtes */

#cibles {
  background: #F0EDE5;
  position: relative;
}

#cibles:before,
#cibles:after {
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
}

#cibles:before {
  content: url(/wp-content/themes/DMUC/images/trait-cible.svg);
  top: 2%;
}

#cibles:after {
  content: url(/wp-content/themes/DMUC/images/fleche-cilble.svg);
  bottom: -58%;
}

#cibles .bloc-2 h2 {
  text-align: center;
}

#cibles .bloc-2 p {
  max-width: 370px;
  margin: auto;
}

#cibles .bloc-2 .group-btn {
  display: flex;
  justify-content: space-evenly;
  margin: 2em 0;
}

#cibles .bloc-2 .group-btn .btn.crayonnage {
  display: flex;
  font-weight: 400;
  line-height: 1;
  border-radius: 22px;
  border: 2px solid #FF8787;
  position: relative;
  align-items: center;
  justify-content: center;
  padding-left: 10px;
}

#cibles .bloc-2 .group-btn .btn.crayonnage:hover {
  border-color: #25888e;
}

#cibles .bloc-2 .group-btn .btn.crayonnage span {
  padding-left: 20px;
  font-size: 22px;
}

#cibles .bloc-2 .group-btn .btn.crayonnage:before {
  content: url(/wp-content/themes/DMUC/images/trait-crayon.svg);
  position: absolute;
  left: 0;
  top: 50%;
  transform: translate(-50%, -50%);
}

/*#cibles .bloc-2 .group-btn .btn.crayonnage:hover:before {
  content: url(/wp-content/themes/DMUC/images/trait-crayon-red.svg);

}*/
#cibles .bloc-2 .group-btn .btn.crayonnage:hover span {
  color: #ff8787;
}

#nos-equipes #cibles {
  background-color: #EAE7DD;
}

#nos-equipes #cibles::after {
  bottom: -42%;
}

#nos-orientations #cibles::after {
  bottom: -36%;
}

#nos-valeurs #cibles::after {
  bottom: -22%;
}

@media screen and (max-width:800px) {
  #cibles:before {
    top: 0;
    zoom: 0.6;
  }

  #cibles:after {
    bottom: -38%;
    zoom: 0.6;
  }

  #cibles .bloc-2 p {
    max-width: max-content;
    margin: auto;
    text-align: center;
  }
}

@media screen and (max-width:480px) {
  #cibles .bloc-2 .group-btn {
    flex-direction: column;
    align-items: center;
    margin: 1em 0;
  }

  #cibles .bloc-2 .group-btn .crayonnage:first-of-type {
    margin-bottom: 1rem;
  }
}

/* Composant actu */

#actus {
  position: relative;
  background: #F0EDE5;
}

.home #actus {
  padding-bottom: 0;
}

#actus::before {
  content: url(/wp-content/themes/DMUC/images/une-branche-sureau.png);
  position: absolute;
  left: 0%;
  top: -5%;
  z-index: 99;
}

#actus::after {
  content: url(/wp-content/themes/DMUC/images/coccinelle.png);
  position: absolute;
  right: 1%;
  top: 4%;
  z-index: 99;
}

#espace-vannes #actus,
#espace-pontivy #actus {
  background-color: #EAE7DD;
}

#espace-vannes #actus::before,
#espace-pontivy #actus::before {
  top: -6%;
}

#espace-vannes #actus::after,
#espace-pontivy #actus::after {
  display: none;
}

#actus .bloc-3 {
  margin: 2em 0 0;
}

#actus .bloc-article {
  background: #fff;
  border-radius: 30px;
}

#actus .bloc-article .article {
  padding: 20px;
}

#actus .bloc-article img {
  width: 100%;
  border-radius: 30px 30px 0 0;
}

#actus .bloc-article h3 {
  font-size: 29px;
  font-weight: 500;
  line-height: 100%;
}

#actus .bloc-article h3 a {
  font-family: "neulis-cursive", sans-serif;
}

#actus .bloc-article .post-categories {
  list-style-type: none;
  margin: .5em 0;
  pointer-events: none;
}

#actus .bloc-article p {
  line-height: 120%;
}

#actus .bloc-article .post-categories a {
  color: #FF8787;
  font-size: 20px;
  font-weight: 700;
  line-height: 120%;
  letter-spacing: 0.6px;
}

#actus .bloc-article a.fake-btn {
  display: flex;
  justify-content: flex-end;
  text-align: right;
  font-size: 16px;
  font-weight: 400;
  line-height: 140%;
  letter-spacing: 0.48px;
}

#actus .btn.crayonnage {
  display: flex;
  font-weight: 400;
  line-height: 1;
  border-radius: 22px;
  border: 2px solid #FF8787;
  position: relative;
  align-items: center;
  justify-content: center;
  margin: 1.5em auto .75em;
}

#actus .btn.crayonnage span {
  padding-left: 10px;
}

#actus .btn.crayonnage:before {
  content: url(/wp-content/themes/DMUC/images/trait-crayon.svg);
  position: absolute;
  left: 0;
  top: 50%;
  transform: translate(-50%, -50%);
}

#actus .btn.crayonnage:hover {
  border: 2px solid #25888e;
}

#actus .btn.crayonnage:hover span {
  color: #ff8787;
}

#actus .single-sticky .bloc-article {
  position: relative;
}

#actus .single-sticky .bloc-article:before {
  content: url(/wp-content/themes/DMUC/images/epingler.png);
  position: absolute;
  right: -2%;
  top: 7%;
  transform: translate(-50%, -50%);
}

#pagination {
  margin-top: 2rem;
  text-align: center;
}

#pagination>* {
  margin: 0 0.5rem;
}

#pagination span {
  background-color: #25888e;
  padding: 5px 10px;
  border-radius: 15px;
  color: #f0ede6;
}

@media screen and (min-width:801px) and (max-width:1024px) {
  #actus .bloc-article h3 {
    font-size: 20px;
  }
}

@media screen and (max-width:800px) {
  #actus .bloc-3:last-of-type {
    display: none;
  }

  #actus .bloc-3 {
    margin: 1em 0 0;
  }
}

@media screen and (max-width:480px) {
  #actus .btn.crayonnage {
    margin: 1em auto .75em;
  }
}

/* Composant carousel */

#carou {
  position: relative;
  max-width: 1260px;
  margin: 0 auto;
  padding-left: 15px;
  padding-right: 15px;
  box-sizing: border-box;
}

#espace-vannes #carou,
#espace-pontivy #carou {
  padding-bottom: 0;
}

#carou .titre-section {
  margin-bottom: 1.5em;
}

/* Visionneuse */
.hidden {
  display: none;
}

.visible {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: rgba(0, 0, 0, .9);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
}

.close {
  display: block;
  position: absolute;
  top: 40px;
  right: 40px;
  cursor: pointer;
  width: 40px;
  height: 40px;
  text-align: center;
  z-index: 10000;
}

.close::before,
.close::after {
  position: absolute;
  content: "";
  width: 35px;
  height: 5px;
  background-color: #FFF;
  top: 50%;
  left: 50%;
  border-radius: 6px;
}

.close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.visionneuse {
  position: relative;
  width: 90%;
  height: 90%;
  max-width: 1200px;
  margin: auto;
}

.visionneuse .slick-list,
.visionneuse .slick-track {
  height: 100%;
}

.visionneuse .slick-slide {
  display: flex !important;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.visionneuse .slick-slide img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 0;
}

.visionneuse .slick-prev,
.visionneuse .slick-next {
  width: 60px;
  height: 60px;
  z-index: 1;
  top: 50%;
}

.visionneuse .slick-prev {
  background: url(/wp-content/themes/DMUC/images/arrow_left_blanc.png) no-repeat center;
}

.visionneuse .slick-next {
  background: url(/wp-content/themes/DMUC/images/arrow_right_blanc.png) no-repeat center;
}

/* Carousel */
.carousel {
  margin-top: 2rem;
  max-width: 1260px;
  margin: 0 auto;
  position: relative;
  display: flex;
  justify-content: space-between;
  padding: 0;
  box-sizing: border-box;
}

.carousel .slick-slide {
  padding: 0 15px;
  box-sizing: border-box;
}

.carousel .slick-slide img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  cursor: pointer;
  border-radius: 30px;
  width: 100%;
  height: auto;
  padding: 0;
}

.carousel .slick-list {
  padding: 0 !important;
  margin: 0;
  overflow: hidden;
}

.carousel .slick-prev,
.carousel .slick-next {
  top: 50%;
  width: 50px;
  height: 60px;
  position: absolute;
  transform: translateY(-50%);
  z-index: 100;
}

.carousel .slick-prev {
  background: url(/wp-content/themes/DMUC/images/arrow_left.png) no-repeat right;
  left: -35px;
}

.carousel .slick-next {
  background: url(/wp-content/themes/DMUC/images/arrow_right.png) no-repeat;
  right: -35px;
}

@media screen and (max-width:481px) and (max-width:1024px) {
  .carousel .slick-slide {
    padding: 0 0.5rem;
  }
}

@media screen and (max-width:600px) {

  .visionneuse .slick-next {
    right: 0;
  }

  .visionneuse .slick-prev {
    left: 0;
  }
}

@media screen and (max-width:480px) {
  .carousel .slick-slide {
    padding: 0 5px;
  }

  .carousel .slick-prev,
  .carousel .slick-next {
    width: 40px;
    height: 40px;
  }

  .carousel .slick-prev {
    background: url(/wp-content/themes/DMUC/images/arrow_left_mob.png) no-repeat center center;
  }

  .carousel .slick-next {
    background: url(/wp-content/themes/DMUC/images/arrow_right_mob.png) no-repeat center center;
  }
}

/* Illustration */

@media screen and (max-width: 1550px) {

  #modes-accueil::after,
  #modes-accueil::before {
    display: none;
  }
}

@media screen and (max-width: 1400px) {

  #actus::before,
  .formulaire::before {
    display: none;
  }
}

@media screen and (max-width:1024px) {
  #actus::after {
    display: none;
  }
}

/* COMPOSANT NOS CRECHES */

#nos-creches .creche {
  max-width: 380px;
  background: #55A3A8;
  border-radius: 200px;
  margin: 2em auto;
}

#nos-creches .img-creche {
  display: flex;
}

#nos-creches .img-creche img {
  width: auto;
}

#nos-creches .c-pap .img-creche {
  justify-content: flex-end;
}

#nos-creches .c-pap .img-creche img {
  margin-top: -1.25em;
}

#nos-creches .c-lib .img-creche img {
  margin-left: -3em;
}

#nos-creches .texte-creche {
  display: flex;
  flex-direction: column;
  padding: 0px 40px;
  margin-top: -1em;
}

#nos-creches .creche h2 {
  color: #EAE7DD;
  text-align: center;
  font-family: "neulis-cursive", sans-serif;
  font-size: 60px;
  font-weight: 400;
  line-height: 1;
}

#nos-creches .creche span {
  font-family: "neulis-cursive", sans-serif;
  color: #EAE7DD;
  font-size: 32px;
  text-align: left;
  padding-left: 2em;
  display: block;
  line-height: 1;
}

#nos-creches .creche h3 {
  color: #EAE7DD;
  font-size: 32px;
  font-family: Calibri;
  font-weight: 400;
  text-align: right;
  margin: 0;
  line-height: 120%;
  text-transform: uppercase;
}

#nos-creches .btn-creche {
  padding: 1em 0 2.5em;
}

#nos-creches .btn {
  color: #EAE7DD;
  border-radius: 20px;
  background: #24888E;
  font-size: 25px;
  font-weight: 700;
  margin: .5em auto;
  width: 180px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#nos-creches .c-lib .btn {
  border: 2px solid #FF8787;
}

#nos-creches .c-pap .btn {
  border: 2px solid #FFF500;
}

#nos-creches .btn:hover {
  background: #EAE7DD;
  color: #24888E;
  border: 2px solid #EAE7DD;
}

@media screen and (max-width:1024px) {
  #nos-creches .creche h2 {
    font-size: 55px;
  }
}

@media screen and (max-width:480px) {
  #nos-creches .texte-creche {
    padding: 0px 20px;
  }

  #nos-creches .creche {
    margin: 1em auto 0;
  }

  #nos-creches .creche.c-pap {
    margin: 0 auto 1em;
  }

  #nos-creches .creche {
    margin: 1em auto;
  }
}