:root {
  --primary-color: #f78f1e;       /** orange **/
  --primary-color-02: #ff9900;    /** orange2 **/
  --primary-color-03: #3c3030;	  /** dark-oak **/
  --secundaire-color: #000;      /** black **/
  --secundaire-color-02: #fff;   /** white **/
  --secundaire-color-03: #555;    /** grijs **/
  --secundaire-color-04: #F26E91; /** pink **/
  --secundaire-color-05: blue;    /** blue **/
  --secundaire-color-06: #9561A9; /** purple **/
  --secundaire-color-07: #23B0E6; /** lightblue **/
  --secundaire-color-08: #7bdcb5; /** lightgreen **/
  --secundaire-color-09: #cf2e2e; /** red vivit **/
  --secundaire-color-10: #fcb900; /** yellow **/ 
  --secundaire-color-11: #333; /** blackish **/ 
}

*{
  font-family: Lato;
}
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

body.home h2{ color: var(--secundaire-color-08);}
body.situer h2{ color: var(--secundaire-color-07);}
body.agenda h2{ color: var(--secundaire-color-04);}
body.visages h2{ color: var(--secundaire-color-09);}
body.histoire h2{ color: var(--secundaire-color-06);}
body.contact h2{ color: var(--secundaire-color-10);}

#inter h2::before {
  content: "";
  display: inline-block;
  vertical-align: baseline;
  width: 21px;
  height: 23px;
  margin-right: 8px;
  background: #f78f1e;
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 34.12 36.65"><g><g><polygon points="0 18.18 17.6 18.89 22.33 36.65 34.13 0 0 18.18"/></g></g></svg>');
  mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 34.12 36.65"><g><g><polygon points="0 18.18 17.6 18.89 22.33 36.65 34.13 0 0 18.18"/></g></g></svg>');
}
h3{
  font-size: 21px;
}

h4{
  font-size: 15px;
  color: var(--secundaire-color-03);
}

p{
  font-size: 15px;
}

a { 
  text-decoration:none; 
  color: var(--primary-color); 
}

#inter a:hover {
  text-decoration: underline;
}

.material-symbols-rounded {
  margin: -57px 0 0 1420px;
  font-family: 'Material Symbols Rounded';
  display: inline-block;
  font-size: 30px;
}

div#header {
  padding: 9px 40px 12px 40px;
  border-bottom: 1px solid var(--primary-color);
}

div#header ul.socials {
  float: right;
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

div#header .socials li {
  margin: 0;
  padding: 0;
  width: 27px;
}

div#header .socials li a {
  display: inline-block;
  float: inline-end;
  width: 18px;
}

div#header .logo {
  width: 230px;
  margin-right: 25px;
}
div#header .logo a {
  display: block;
}

div#header a img{
  width: 100%;
}

div#header .sub {
  clear: both;
  display: flex;
  justify-content: space-between;
  align-items: center;
}


.fal {
  font-family: "Font Awesome 5 pro";
  font-weight: 300px;
}
div#header .don {
  min-width: 114px;
}

div#header .don,
div#menu ul li .Don {
  background-color: var(--primary-color);
  color: var(--secundaire-color-02);
  display: inline-block;
  padding: 15px;
  border-radius: 3px;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
}
div#header h1 {
  color:#ed217c;
  font-weight:bolder;
  font-size:38px;
  font-family: lato;
  margin-top: 10px;
  padding: 10px;
  text-transform: uppercase;
}
div#header h1 span {
  color:#ed217c;
  font-weight: 300;
}
div#menu .logo, input#menu__toggle{
  display: none;
}
div#menu {
  margin-top: 10px;
  background: var(--secundaire-color-02);
  padding: 9px 0 21px 12px;
  color: #fff;
}
div#menu ul {
  margin: 0;
  padding: 0;
}
div#menu ul li {
  list-style-type: none;
  text-decoration: none;
  display:inline-block;
  padding: 0;
  margin: 0;
  font-size: 12px;
  font-weight:700;
  font-family: futura_ltbook;
  text-transform: uppercase;
}
div#menu ul li .socials,
div#menu ul li .Don {
  display: none;
}
div#menu a {
  color: var(--secundaire-color);
  font-size: 12px;
  padding: 9px 30px;
}
div#menu ul li a:hover {
  color: var(--primary-color);
}

/*** BANNER ***/
div#banner {
  --banner-image: url(banner_intro.jpg); 
  background-image: var(--banner-image);
  background-position: center;
  background-size: cover;
  height: 438px;
}

.home div#banner {
  --banner-image: url(banner_intro.jpg); 
}

.situer div#banner {
  --banner-image: url(banner_situer.jpg); 
}

.agenda div#banner {
  --banner-image: url(banner_agenda.jpg); 
}

.histoire div#banner {
  --banner-image: url(banner_histoire.jpg); 
}

.contact div#banner {
  --banner-image: url(banner_contact.jpg); 
}

.don div#banner {
  --banner-image: url(banner_don.jpg); 
}

.visages div#banner {
  display: none;
}

div#content {
  margin: 0 auto;
  width: calc(100vw - 18px);
  max-width: 1240px;
}

div#actualites ul {
  list-style-type: none;
  width: max-content;
  max-width: calc(100% - 6px);
  padding: 0 3px;
}

div#actualites ul li {
  margin-bottom: 1rem;
}

div#actualites ul li h3,
div#actualites ul li h4,
div#actualites ul li p {
  margin-bottom: 0;
}

div#actualites ul li h3 {
  margin-top: 2.1rem;
}

div#actualites ul li h4 {
  margin-top: .5rem;
}

div#actualites ul li h4 a {
  display: inline-block;
  width: 42px;
  right: 0;
  height: 50px;
  background-image: url(pdfIcon.svg);
  transition: background-image 0.3s ease;
  background-size: contain;
  float: right;
  background-repeat: no-repeat;
}

div#actualites ul li h4 a:hover {
  background-image: url(__pdfIcon.svg);
}

div#actualites ul li h4 a[href^="LT"] {
  background-image: url(croix_huguenote.svg);
}

div#actualites ul li h4 a[href^="LT"]:hover {
  background-image: url(__croix_huguenote.svg);
}

div#actualites ul li h4 a.external {
  background-image: url(extlink.svg);
}

div#actualites ul li h4 a.external:hover {
  background-image: url(__extlink.svg);
}

div#actualites ul li p {
  margin-top: .3rem;
}

div#actualites ul li a#next {
  float: right;
}

.active,
.dot:hover {
  padding: 12px 0;
}

div#agenda {
  width: 72%;
  padding-top:10px;
  float: left;
}
div#agenda td {
  border-top: dotted 1px gray;
  padding: 3px 10px;
}

div#inter .row{
  display: flex;
  justify-content: start;
  gap: 81px;
  align-items: flex-start;
  justify-content: space-around;
} 
div#inter{ 
  padding: 0 0 51px 0;
}
div#inter .row .col {
  width: 50%;
}

div.my-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  justify-content: space-evenly;
  align-content: space-evenly;
  justify-items: center;
}

div.my-gallery figure {
  margin: 0;
  padding: 15px;
  width: fit-content;
}

div.my-gallery figure a img {
  max-width: 210px;
}

form select {
  -webkit-appearance: none;
  max-width: 100%;
  padding: 10px 15px;
  border: 1px solid #CECECE;
  border-radius: 3px;
  font-size: 14px;
  background: url("chevron-down.svg") no-repeat;
  background-position: calc(100% - 20px) center;
  background-size: 11px;
  background-color: white;
  width: 180px;
  height: 48px;
}
div#information { padding: 25px 0 25px 73px; display: grid; }

/* Slideshow container */

.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

/* Next & previous buttons */

.prev,
.next {
  float: left;
  width: auto;
  padding: 16px;
  color: var(--primary-color);
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 5px;
  margin: 5px 0;
}

/* Position the "next button" to the right */

.next {
  float: right;
}
/*    */

/* On hover, add a black background color with a little bit see-through */

.prev:hover,
.next:hover {
  color: var(--secundaire-color-02);
  background-color: var(--primary-color);
}

/* Caption text */

.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */

.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */

.dot {
  cursor: pointer;
  height: 13px;
  width: 13px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

/* Fading animation */

.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {
    opacity: .4
  }
  to {
    opacity: 1
  }
}

@keyframes fade {
  from {
    opacity: .4
  }
  to {
    opacity: 1
  }
}

/* On smaller screens, decrease text size */

@media only screen and (max-width: 300px) {
  .prev,
  .next,
  .text {
    font-size: 11px;
  }

}

/*** HISTOIRE ***/
body.histoire h3 {
  float: left;
}
body.histoire figure {
  float: right;
}
.row {
  clear: both;
}

#inter h5 { padding: 12px 0; font-size: 14px;}
#inter .column{ width: 50%; float: left; margin-bottom: 50px;}
#contacts {
  padding-top: 20px;
  padding-right: 10%;
  float:right;
  width: 25%;
}
#contacts h4 {padding-bottom:10px; color:#f76d9d;  font-size:x-large;}
#contacts p {padding-bottom: 10px;}

#footer {
  color: var(--secundaire-color-02);
  background-color: var(--secundaire-color-11);
  padding: 30px 0;
  display: flex;
  justify-content: space-evenly;
}

#footer h2 {
  color: var(--secundaire-color-02);
}

#footer > * {
  max-width: calc(1280px / 3);
}

#footer p {
  font-size: 14px;  
  line-height: 21px;
  font-weight: 700;
} 

#footer a {
  font-size: 14px;  
  font-weight: 700;
  color: var(--secundaire-color-02);
} 

#footer a:hover {
  text-decoration: underline;
}

#footer img {
  max-width: 210px;
  width: 100%;
  height: auto;
}

#footer ul li a {
  display:inline-block;
  padding: 0 0 10px 0;
}

#footer a.fb {
  background-image: url(fbIcon.svg);
  background-repeat: no-repeat;
  background-position: center;
  width: 30px;
  height: 30px;
  padding: 0;
}

#footer a.fb:hover {
  background-image: url(__fbIcon.svg);
}

#footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

/*** AGENDA PAGINA ***/
.culte {
  color: var(--secundaire-color-06);
}
.etude {
  color: var(--secundaire-color-10);
}
.repas {
  color: var(--secundaire-color-07);
}

body.agenda table {
  border-collapse: collapse;
  margin: 0 0 1.5em;
  width: 100%;
  border: 1px solid rgb(220, 220, 255);
  clear: both;
}

body.agenda td {
  height: 95px;
  min-height: 50px;
  text-align: center;
  vertical-align: text-top;
  border: 1px solid rgb(220, 220, 255);
  width: calc(100% / 7);
}

body.agenda tr.days h3 {
  font-size: 1em;
}

body.agenda td.not-current h3 {
  color: #c0c0c0;
}

body.agenda td h3,
body.agenda td h4 {
  font-size: 13px;
  margin: 0 0 0 0;
  padding: 5px 0 0 0;
}

body.agenda td.culte {
  background-color: var(--secundaire-color-06);
}

body.agenda td.repas {
  background-color: var(--secundaire-color-07);
}

body.agenda td.culte h3,
body.agenda td.culte h4,
body.agenda td.repas h3,
body.agenda td.repas h4 {
  color: var(--secundaire-color-02);
}

body.agenda thead th {
  text-align: center;
  border-bottom: 0;
}

body.agenda #btnPrev {
  float: left;
}

body.agenda #btnPrev:before {
  content: '\003c';
  font-family: FontAwesome;
  padding-right: 4px;
}

body.agenda #btnNext {
  float: right;
}

body.agenda #btnNext:after {
  content: '\003e';
  font-family: FontAwesome;
  padding-left: 4px;
}

body.agenda #btnPrev,
body.agenda #btnNext {
  background: transparent;
  border: none;
  outline: none;
  padding-bottom: 20px;
  color: #c0c0c0;
  cursor: pointer;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

body.agenda #btnPrev:hover, 
body.agenda #btnNext:hover {
  color: rgb(40, 40, 59);
}

@media (max-width: 320px) {
  div#header .header__sub{
    display: block;
  }
  div#header .header__container {
    display: block; 
  }
  div#header .header__container .header-container__left .header__logo a {
    display: block;
  }
  div#header .header__container .header-container__left .header__logo{
    max-width: 0;
    width: 0;
  }

  div#header .header__container .header-container__right{
    display: block;
  } 
  div#header h1 {
    color: #ed217c;
    font-weight: bolder;
    font-size: 38px;
    font-family: lato;
    margin-top: 10px;
    padding: 10px;
    text-transform: uppercase;
  }
  div#header h1 span {
    color: #ed217c;
    font-weight: 300;
  }
  nav {
    width: 100%;
    top: 60px;
  }
  nav ul {
    display: grid;
    margin: 0px;
  }
} 
@media (max-width: 768px) {
  div#header {
    display: none;
  }
  div#menu {
    color: var(--secundaire-color-03);
    padding-left: 0;
    display: flex;
    justify-content: space-between;
  }

  div#menu .logo {
    display: block;
    padding: 0 0 0 12px;
    margin: 0;
    width: 150px;
  }

  #menu__toggle:checked + .menu__btn > span {
    transform: rotate(45deg);
  }
  #menu__toggle:checked + .menu__btn > span::before {
    top: 0;
    transform: rotate(0deg);
  }
  #menu__toggle:checked + .menu__btn > span::after {
    top: 0;
    transform: rotate(90deg);
  }
  div#menu #menu__toggle:checked ~ ul,
  div#menu #menu__toggle:checked ~ ul li ul{
    display: block;
  }
  div#menu #menu__toggle:checked ~ ul > li {
    display: flex;
    flex-direction: column;
  }

  div#menu .menu__btn {
    position: relative;
    right: 12px;
    top: 8px;
    display: block;
    width: 30px;
    cursor: pointer;
    z-index: 3;
  }

  div#menu .menu__btn > span,
  div#menu .menu__btn > span::before,
  div#menu .menu__btn > span::after {
    position: absolute;
    width: 30px;
    height: 3px;
    background-color: #616161;
    transition-duration: .25s;
  }

  div#menu .menu__btn > span::before {
    content: '';
    top: -8px;
  }

  div#menu .menu__btn > span::after {
    content: '';
    top: 8px;
  }

  div#menu > ul {
    margin-top: -12px;
    padding: 0;
    display: none;
    background-color: #f2f2f2;
    direction: rtl;
    position: absolute;
    width: 100%;
    z-index: 2;
  }

  div#menu .socials li {
    padding: 0 30px 0 0;
    width: 42px;
  }

  div#menu .socials li a {
    display: block;
    width: 36px;
    margin-top: -8px;
    padding: 9px 19px;
  }

  div#menu .socials li img {
    width: 36px;
  }

  div#menu ul li a.Don {
    display: block;
    width: 108px;
    margin: 9px 48px;
  }
  div#menu ul li a.Don:hover {
    cursor: pointer;
  }
  div#menu a {
    padding: 9px 48px;
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    text-decoration: none;
    transition-duration: .25s;
  }
  div#menu a:hover {
    background-color: #CFD8DC;
  }
  div#banner {
    height: 150px;
  }

  body.situer h2 {
    width: 100%;
  }
  hr {
    display: none;
  }
  nav {
    width: 100%;
    top: 60px;
  }
  nav ul {
    display: grid;
    margin: 0px;
  }
  div#inter .row .col {
    width: 100%;
  }

  body.agenda td {
    height:calc(100vw / 6);
  }

  body.situer div.row .col iframe{
    width: 100%;
  }
  /*
  div#agenda {
  width: 95%;
}
  div#content table{
  width: 100%;
  height: 100vw;
}
  div#content table tbody{
  display: grid;
  gap: 38px;
}
  div#content table tr td {
  display: flex;
  flex-direction: column;
}
  */
  #inter .column { 
    display: block;
    width: 93%;
  }
  div#inter .row {
    display: block;
  }
  body.visages div.my-gallery{
    grid-template-columns: auto;
  }

  body.visages #inter > form {
    margin-left: 30px;
  }

  #don div#inter{
    padding: 0 15px 51px 15px;
  } 
  #footer {
    display: block;
    padding: 12px;
  }
}