@font-face {
  font-family: 'Sourcesanspro';
  src: url('/wp-content/themes/yatatheme/fonts/SourceSansPro-Regular.otf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'Sourcesanspro';
  src: url('/wp-content/themes/yatatheme/fonts/SourceSansPro-Semibold.otf') format('truetype');
  font-weight: 600;
  font-style: normal;
}
@font-face {
  font-family: 'Donau';
  src: url('/wp-content/themes/yatatheme/fonts/Donau Neue_Uppercase.otf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
.section-agendahome .intro {
  margin-bottom: 80px;
}
.section-agendahome .encart {
  display: flex;
}
.section-agendahome .encart .imgcropCtn {
  width: 55%;
  border-radius: 14px 0 0 14px;
}
.section-agendahome .encart .imgcropCtn img {
  transform: scale(1.08);
}
.section-agendahome .encart .presta {
  width: 45%;
  padding: 30px;
  background-color: #3CBFB6;
  border-radius: 0 14px 14px 0;
}
.section-agendahome .encart .presta span.date {
  display: inline-flex;
  align-items: center;
  background-color: #ffffff;
  padding: 3px 12px;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #3CBFB6;
  margin-bottom: 25px;
}
.section-agendahome .encart .presta span.date span {
  margin-right: 5px;
}
.section-agendahome .encart .presta span.date i {
  font-size: 2rem;
  color: #3CBFB6;
  margin-right: 8px;
}
.section-agendahome .encart .presta a.titre {
  display: block;
  font-size: 2.6rem;
  line-height: 3.8rem;
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 25px;
}
.section-agendahome .encart .presta p.descr {
  font-size: 1.6rem;
  line-height: 2.8rem;
  margin-bottom: 40px;
  color: #ffffff;
}
.section-agendahome .encart .presta .bouton2 {
  min-width: auto;
  width: 100%;
}
.section-agendahome .encart.hidden {
  height: 100%;
}
.section-agendahome .encart.hidden .imgcropCtn {
  width: 100%;
  height: 100%;
  border-radius: 14px;
}
.section-agendahome .boutagenda {
  text-align: center;
  margin-bottom: 30px;
}
.section-agendahome .boutagenda a {
  display: inline-block;
  margin: 0 30px 10px 0;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #3CBFB6;
  border: 1px solid #3CBFB6;
  padding: 3px 12px;
}
.section-agendahome .boutagenda a:hover {
  background-color: #3CBFB6;
  color: #ffffff;
}
.section-agendahome .boutagenda a:last-child {
  margin-right: 0;
}
.section-agendahome .agendarow .imgcropCtn {
  height: 240px;
  border-radius: 14px 14px 0 0;
}
.section-agendahome .agendarow .infos {
  position: relative;
}
.section-agendahome .agendarow .infos svg {
  position: absolute;
  top: -20px;
  width: 100%;
  height: 120px;
}
.section-agendahome .agendarow .infos .inner {
  background-color: #ffffff;
  border-radius: 0 0 14px 14px;
  position: relative;
  z-index: 10;
  min-height: 241px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px 10px 10px;
}
.section-agendahome .agendarow .infos .inner .dates {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  background-color: #3CBFB6;
  padding: 3px 12px;
  margin-bottom: 15px;
}
.section-agendahome .agendarow .infos .inner .dates i {
  font-size: 2rem;
  color: #ffffff;
  margin-right: 15px;
}
.section-agendahome .agendarow .infos .inner .dates span {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #ffffff;
}
.section-agendahome .agendarow .infos .inner .commune {
  display: flex;
  align-items: center;
  margin-bottom: 2px;
}
.section-agendahome .agendarow .infos .inner .commune i {
  font-size: 1.8rem;
  margin-right: 10px;
}
.section-agendahome .agendarow .infos .inner .commune span {
  font-size: 1.6rem;
}
.section-agendahome .agendarow .infos .inner h3 {
  font-size: 1.8rem;
  line-height: 2.5rem;
  font-weight: 600;
  margin-bottom: 10px;
  text-transform: none;
  color: #363738;
  font-family: 'Sourcesanspro', sans-serif;
}
.section-agendahome .agendarow .infos .inner .bouton2 {
  border: 2px solid #3CBFB6;
  min-width: auto;
  width: 100%;
}
.section-agendahome .agendarow .infos .inner .bouton2:hover {
  background-color: #3CBFB6;
}
.section-agendahome .ttagenda > div {
  text-align: center;
  padding-top: 30px;
}
@media screen and (max-width: 1399px) {
  .section-agendahome .agendarow > div:last-child {
    display: none;
  }
}
@media screen and (max-width: 1199px) {
  .section-agendahome .firstcol {
    margin-bottom: 20px;
  }
  .section-agendahome .agendarow .infos svg {
    top: -40px;
  }
  .section-agendahome .encart .presta a.titre {
    margin-bottom: 20px;
  }
  .section-agendahome .encart .presta span.date {
    margin-bottom: 20px;
  }
  .section-agendahome .encart .presta p.descr {
    margin-bottom: 30px;
  }
}
@media screen and (max-width: 991px) {
  .section-agendahome .encart .imgcropCtn {
    width: 50%;
  }
  .section-agendahome .encart .presta {
    width: 50%;
  }
  .section-agendahome .agendarow > div:nth-child(3) {
    display: none;
  }
  .section-agendahome .encart .presta a.titre {
    font-size: 2.2rem;
  }
}
@media screen and (max-width: 767px) {
  .section-agendahome .encart {
    flex-direction: column;
  }
  .section-agendahome .encart .imgcropCtn {
    width: 100%;
    height: 310px;
    border-radius: 14px 14px 0 0;
  }
  .section-agendahome .encart .presta {
    width: 100%;
    border-radius: 0 0 14px 14px;
  }
  .section-agendahome .bouttime,
  .section-agendahome .agendarow {
    display: none;
  }
  .section-agendahome .intro {
    margin-bottom: 10px;
  }
  .section-agendahome .ttagenda > div .bouton1 {
    width: 100%;
  }
}
@media screen and (max-width: 575px) {
  .section-agendahome .encart .imgcropCtn {
    height: 60vw;
  }
  .section-agendahome .encart .presta a.titre {
    font-size: 2.1rem;
    line-height: 2.9rem;
    margin-bottom: 15px;
  }
  .section-agendahome .encart .presta span.date {
    margin-bottom: 15px;
  }
  .section-agendahome .encart .presta p.descr {
    margin-bottom: 20px;
  }
  .section-agendahome .encart .presta {
    padding: 25px;
  }
}
