/* VARIABLES */
:root {
  --bg-color: #f5f4f4;
  --head-bg-color: #ffffff;
  --font-color: #1d1d1b;
  --button-color: white;
  --purple-color: #e2182f;
  --purple-hover-color: #e2182f;
  --hover-color: #000f9f;
  --secondary-bg-color: #000f9f;
  --foot-bg-color: rgba(255, 255, 255, 1);
  --foot-color: #1d1d1b;
  --banner-color: white;
  --banner-bg-color: #000f9ff3;
  --light-blue-unicef: #ddf2fb;
}

@font-face {
    font-family: "Gravur Condensed Pro";
    src: url("../fonts/lineto-gravurcondensed-black.eot");
    src: url("../fonts/lineto-gravurcondensed-black.eot?#iefix") format("embedded-opentype"),
         url("../fonts/lineto-gravurcondensed-black.woff2") format("woff2"),
         url("../fonts/lineto-gravurcondensed-black.woff") format("woff");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Gravur Condensed Pro Reg";
    src: url("../fonts/lineto-gravurcondensed-regular.eot");
    src: url("../fonts/lineto-gravurcondensed-regular.eot?#iefix") format("embedded-opentype"),
         url("../fonts/lineto-gravurcondensed-regular.woff2") format("woff2"),
         url("../fonts/lineto-gravurcondensed-regular.woff") format("woff");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Barlow";
    src: url("../fonts/BarlowSemiCondensed-Regular.ttf");
    font-weight: normal;
    font-style: normal;
}


/* MAIN */
html, body {
  height: 100%;
}

body{
  position: relative;
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  padding: 0;
  font-size: 1.2rem;
  color: var(--font-color);
  background-color: var(--bg-color);
  font-family: Barlow, sans-serif;
  text-underline-offset: 4px;
}

main{
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

a{
  text-decoration: none;
}

.bold {
  font-weight: bold;
}

.center{
  text-align: center;
}

.mt-10{
  margin-top:10px;
}

.mb-10{
  margin-bottom:10px;
}

.smaller{
  font-size: smaller;
}

.pad-offset-1{
    padding: 0% 10%;
}

.titre-login{
  font-family: Gravur Condensed Pro, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #1d1d1b;
}

.description-login{
  font-size: smaller;
}

.bouton{
  line-height: normal;
  font-family: Gravur Condensed Pro, sans-serif;
  padding: 12px 18px;
  background-color: var(--secondary-bg-color);
  border: 1px solid var(--secondary-bg-color);
  color: var(--button-color);
  border-radius: 100px;
}

.bouton:hover{
  background-color: var(--hover-color);
  border: 1px solid var(--hover-color);
}

.bouton-retour{
  margin-right: 10px;
  padding: 12px 18px;
  background-color: white;
  border: 1px solid var(--font-color);
  color: var(--font-color);
  border-radius: 100px;
}

.bouton-retour:hover{
  background-color: white;
  border: 1px solid var(--font-color);
}


.form-fields {
  font-size: smaller;
  margin-top: 10px;
}

.form-erreur{
  font-size: smaller;
  color: rgb(210, 0, 0);
  padding-left: 10px;
}

.show-mobile{
  display: none;
}

.show-mobile-table{
  visibility: collapse;
}

.form-control.is-valid, .was-validated .form-control:valid {
  background: initial;
}

.form-control.is-invalid, .was-validated .form-control:invalid {
background: initial;
}

/* HEADER */
header{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /*height: 100px;*/
  /*border-bottom: 1px solid var(--secondary-bg-color);*/
  background-color: var(--head-bg-color);
}

.header-top{
  display: flex;
  font-size: smaller;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.header-main{
  display: flex;
  justify-content: space-between;
  width: 100%;
  align-items: center;
  height: 120px;
  /*border-top: 1px solid #d8d1c9;*/
  border-bottom: 1px solid #d8d1c9;
}

.header-logo{
  margin-left: 20px;
  cursor: pointer;
  z-index: 2;
}

.header-main-init{
  display: flex;
  justify-content: center;
  width: 100%;
  align-items: center;
  height: 120px;
  /*border-top: 1px solid #d8d1c9;*/
  border-bottom: 1px solid #d8d1c9;
}

.header-logo-init{
  cursor: pointer;
  z-index: 2;
}

.header-logo-init img{
  height: 110px;
  display: block;
}


.header-logo img{
  height: 100px;
  display: block;
}

.header-title{
  z-index: 1;
  font-size: 1.5rem;
  font-weight: 700;
  color: #000f9f;
  position: absolute;
  text-align: center;
  width: 100%;
  left: 0;
}

.header-right{
  z-index: 2;
  display: flex;
  flex-direction: row;
  justify-content: end;
  align-items: center;
  height: 100%;
}

.bouton-don{
  font-family: Gravur Condensed Pro, sans-serif;
  border-radius: 100px;
  background-color: var(--purple-color);
  border: 1px solid var(--purple-color);
  cursor: pointer;
  display: flex;
  padding: 15px 20px;
  justify-content: center;
  flex-direction: column;
  margin-right: 20px;
}

.bouton-benevole{
  font-family: Gravur Condensed Pro, sans-serif;
  border-radius: 100px;
  background-color: var(--secondary-bg-color);
  border: 1px solid var(--secondary-bg-color);
  cursor: pointer;
  display: flex;
  padding: 15px 20px;
  justify-content: center;
  flex-direction: column;
  margin-right: 20px;
}

.text-bouton-don{
  color: white;
}

.bouton-don:hover{
  background-color: var(--purple-hover-color);
  border: 1px solid var(--purple-hover-color);
}

.header-simu{
  display: flex;
  align-items: center;
  width: 100%;
  justify-self: flex-start;
}

.bouton-admin{
  margin-left: 5px;
}

/* FOOTER */

.section-contact{
  display: flex;
  flex-direction: row;
  width: 100%;
  padding-top: 40px;
  padding-bottom: 40px;
  gap: 20px;
  background-color: white;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #d8d1c9;
  border-bottom: 1px solid #d8d1c9;
}

.section-contact img{
  height: 106px;
}

.section-contact .citation{
  font-family: Gravur Condensed Pro Reg, sans-serif;
  font-size: 24px;
}

.contact-picto{
  font-family: "Roboto", sans-serif;
  display: flex;
  flex-direction: row;
  gap: 30px;
  text-align: center;
  color: white;
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: bold;
}

.titre-fede{
  font-family: Gravur Condensed Pro, sans-serif;
  font-size: 1.2rem;
  color: #1d1d1b;
}

.contact-picto .contact-picto-single{
  width: 130px;
  padding: 25px 0px;
  background-color: var(--banner-bg-color);
  cursor: pointer;
}

.contact-picto .contact-picto-single a{
  color: white;
}

.icon-contact{
  font-size: 2rem;
}

.lienfleche{
  text-decoration: none;
  color: initial;
  padding-right: 40px;
  text-decoration: underline;
}

.lienfleche::after{
  background-image: url('../images/arrow-right.svg');
    background-position: 50%;
    background-repeat: no-repeat;
    background-size: 1rem;
    border: .0625rem solid #1d1d1b;
    border-radius: 100%;
    content: "";
    height: 30px;
    width: 30px;
    position: absolute;
    margin-left: 10px;
}

.lienfleche2{
  text-decoration: none;
  color: initial;
  text-decoration: underline;
  margin-top: 5px;
}

.lienfleche2::after{
  background-image: url('../images/arrow-right.svg');
    background-position: 50%;
    background-repeat: no-repeat;
    background-size: 0.9rem;
    border: .0625rem solid #1d1d1b;
    border-radius: 100%;
    content: "";
    height: 25px;
    width: 25px;
    position: absolute;
    margin-left: 10px;
}

footer{
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: center;
  justify-content: center;
  color: var(--foot-color);
  background-color: white;
}

.socials{
  margin-top: 20px;
}

.socials ul{
  padding: 0;
  display: flex;
    flex-wrap: wrap;
    justify-content: start;
    align-items: center;
    gap: 10px;
}

.socials li {
  display: inline-block;
  list-style: none;
}

.socials li{
  background-color: #1d1d1b;
  border-radius: 100%;
  line-height: 30px;
  margin-top: 0;
  text-align: center;
  transform: scale(1);
  transition: background-color 0.3s, transform 0.3s ease-out;
  border: 1px solid #1d1d1b;
}

.socials .icon svg {
  height: 20px;
  width: 20px;
  fill: white;
  margin: 8px
}

.socials .icon svg:hover {
  fill: white;
}

.socials .icon {
  line-height: normal;
  margin-top: 0;
  position: relative;
}

.pre-footer{
  display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    padding: 20px 10%;
    font-size: 0.9rem;
}

.pre-footer p{
  font-size: 1.2rem;
}

.pre-footer-right{
  
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  height: 100%;
  gap: 15px;
  
}

.pre-footer-right a{
  margin-right: 0;
  font-size: 1.2rem;
}

.bottom-footer{
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: start;
  width: 100%;
  height: 70px;
  padding: 0px 20px;
  font-size: smaller;
  color: white;
  background-color: var(--font-color);
}

.bottom-footer a{
  color: inherit;
}
.bottom-footer a+a{
  padding-left: 10px;
}

.bottom-footer .proud{
  font-size: 0.8rem;
  margin-top: 20px;
}

/* PAGE */

.container{
  display: flex;
  height: 100%;
  max-width: 1500px;
  margin-top: 30px;
  margin-bottom: 30px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.banner{
  z-index: 3;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 0px;
  overflow: hidden;
  opacity: 0;
  font-family: Gravur Condensed Pro, sans-serif;
  padding: 10px 60px;
  background-color: #ffe500;
  color: #1d1d1b;
  animation: smooth-appear 2s ease forwards;
}

.banner a {
  color: var(--banner-color);
}

.banner .bouton {
  border-color: var(--banner-color);
  margin-top: 10px;
  padding: 5px;
}

.login-blocs{
  display: flex;
  width: 100%;
  justify-content: space-between;
  flex-direction: row;
  gap: 50px;
}

.bloc-login{
  width: 700px;
  min-height: 300px;
  background-color: var(--head-bg-color);
  padding: 20px;
}

.bloc-login-home{
  display: flex;
  justify-content: space-between;
  flex: 1;
  flex-direction: column;
}

.form-login{
  height: 168px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.password-show{
  display: flex;
  align-items: center;
}

.tooltip-wrapper{
  display: flex;
  align-items: center;
}

.tooltip-wrapper a{
  margin-left: -40px;
  margin-top: 5px;
}

.show-eye{
  margin-left: -40px;
  margin-top: 5px;
  position: relative;
}

.mdp-oublie{
  font-size: smaller;
}

.btn-creation{
  margin-top: 20px;
}

.form-submit{
  margin-top: 30px;
}

.premiere-co{
  margin-top: 30px;
  font-size: smaller;
}

.main-donateur{
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 50px;
}

.left-donateur{
  width: 55%;
}

.right-donateur{
  width: 45%;
  height: 100%;
}

.bloc-donateur{
  width: 100%;
  height: 100%;
  /*border-radius: 6px;*/
  /*border: 1px solid var(--secondary-bg-color);*/
  background-color: var(--head-bg-color);
  padding: 20px;
}

.bloc-donateur-home-top{
  height: fit-content;
}

.bloc-donateur-home-bottom{
  margin-top: 20px;
  min-height: 400px;
  padding: 0;
}

.top-donateur .titre-donateur{
  font-family: Gravur Condensed Pro, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #1d1d1b;
}

.top-donateur .description-donateur{
  font-size: smaller;
}

.btn-accueil-menu {
  width: 100%;
  text-align: left;
  height: 70px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  background-color: white;
  border: 0;
  color: var(--font-color);
}

.btn-accueil-menu:hover{
  color: var(--font-color);
  border: 0;
  background-color: white;
}

.btn-accueil-menu:hover .btn-accueil-menu-texte {
  text-decoration: underline;
  font-size: 1.3rem;
}

.btn-accueil-menu+.btn-accueil-menu {
  margin-top: 10px;
}

.btn-accueil-don{
  background-color: var(--purple-color);
  border: 1px solid var(--purple-color);
  color: white;
}

.btn-accueil-don:hover{
  background-color: var(--purple-color);
  border: 1px solid var(--purple-color);
  color: white;
}

.div-icon{
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-right: 20px;
  margin-left: 5px;
}

.icon-accueil{
  width: 35px;
  font-size: larger;
}

.bloc-pa{
  margin-bottom: 20px;
  max-width: 600px;
  padding: 10px;
  background-color: white;
  /*border-radius: 6px;*/
  border: 2px outset #b8b8b8;
}

.bloc-pa-alias{
  font-size: smaller;
  word-break: break-all;
}
.bloc-pa-dates{
  font-size: smaller;
}
.bloc-pa-montant{
  margin-top: 10px;
  margin-bottom: 10px;
  padding-left: 10px;
}
.bloc-pa-montant span{
  font-size: 1.2rem;
}
.bloc-pa-modif{
  font-size: 1rem;
  text-align: center;
}

.bloc-pa-modif a+a{
  margin-left: 10px;
}

.bloc-pa-modif-cb{
  margin-top: 10px;
  font-size: smaller;
}

.separator-form{
  margin-top: 20px;
}

.table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.table-bordered > :not(caption) > * > * {
    border-width: 2px !important;
    border-color: #afafaf !important; /* plus foncé */
}

.rf_don{
    text-align: center;
    vertical-align: middle;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    justify-content: center;
}
.rf_don a{
  text-decoration: underline;
  cursor: pointer;
}
#table_dons th, #table_dons td{
  white-space: nowrap;
}
#table_dons th{
  background-color: var(--secondary-bg-color);
  color: white;
}
#table_dons a{
  color: #1d1d1b;
}

.table-arrow-right{
      pointer-events: none;
    position: absolute;
    vertical-align: middle;
    top: 0;
    right: 0;
    bottom: 0;
  height: 100%;
  -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgb(243, 244, 246) 100%);
  width: fit-content;
}

.input-group-text{
  width: 75px;
}

.form-check-input{
  border: 2px solid var(--font-color);
}

/* ADMIN */

.sidebar-dark .nav-item .nav-link {
  color: rgba(255,255,255);
}

/* HELPERS */

.slider {
  border: none;
  position: relative;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  width: 200px;
}

.slider-checkbox {
  display: none;
}

.slider-label {
  border: 2px solid #666;
  border-radius: 20px;
  cursor: pointer;
  display: block;
  overflow: hidden;
}

.slider-inner {
  display: block;
  margin-left: -100%;
  transition: margin 0.3s ease-in 0s;
  width: 200%;
}

.slider-inner:before,
.slider-inner:after {
  box-sizing: border-box;
  display: block;
  float: left;
  font-family: sans-serif;
  font-size: 14px;
  font-weight: bold;
  height: 30px;
  line-height: 30px;
  padding: 0;
  width: 50%;
}

.slider-inner:before {
  background-color: var(--secondary-bg-color);
  color: #fff;
  content: attr(data-on);
  padding-left: .75em;
}

.slider-inner:after {
  background-color: #eee;
  color: #666;
  content: attr(data-off);
  padding-right: .75em;
  text-align: right;
}

.slider-circle {
  background-color: var(--secondary-bg-color);
  border: 2px solid #666;
  border-radius: 20px;
  bottom: 0;
  display: block;
  margin: 5px;
  position: absolute;
  top: 0;
  transition: all 0.3s ease-in 0s; 
  width: 50px;
}

.slider-checkbox:checked + .slider-label .slider-inner {
  margin-left: 0;
}

.slider-checkbox:checked + .slider-label .slider-circle {
  background-color: #eee;
  right: 0; 
}

.markdown-bloc{
  font-size: smaller;
}

.markdown-accueil{
  padding: 20px;
}

.markdown-bloc-img{
  width: 100%;
  margin: 0;
}

.markdown-bloc-img img{
  width: 100%;
}

.markdown-bloc a{
  text-decoration: underline;
}

.markdown-bloc h1{
  font-size: 1.3rem;
  color: var(--banner-bg-color);
  padding-top: 10px;
  padding-bottom: 10px;
}

.markdown-bloc h2{
  font-size: 1.2rem;
  color: var(--banner-bg-color);
  padding-top: 10px;
  padding-bottom: 10px;
}

.markdown-bloc h3{
  font-size: 1.1rem;
}

.markdown-bloc h4{
  font-size: 1rem;
}

.titre-info{
  color: var(--banner-bg-color);
  letter-spacing: 2px;
  font-size: 1.5rem;
}

.top-info{
  text-align: center;
  margin-top: 20px;
  margin-bottom: 50px;
}

  @keyframes smooth-appear {
    to{
      height: fit-content;
      opacity:1;
    }
  }

  .rocker {
    display: inline-block;
    position: relative;
    /*
    SIZE OF SWITCH
    ==============
    All sizes are in em - therefore
    changing the font-size here
    will change the size of the switch.
    See .rocker-small below as example.
    */
    font-size: 1em;
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
    color: #888;
    width: 7em;
    height: 4em;
    overflow: hidden;
    border-bottom: 0.5em solid #eee;
  }
  
  .rocker-small {
    font-size: 0.75em; /* Sizes the switch */
    margin: 1em;
  }
  
  .rocker::before {
    content: "";
    position: absolute;
    top: 0.5em;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #999;
    border: 0.5em solid #eee;
    border-bottom: 0;
  }
  
  .rocker input {
    opacity: 0;
    width: 0;
    height: 0;
  }
  
  .switch-left,
  .switch-right {
    cursor: pointer;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 2.5em;
    width: 3em;
    transition: 0.2s;
  }
  
  .switch-left {
    height: 2.4em;
    width: 2.75em;
    left: 0.85em;
    bottom: 0.4em;
    background-color: #ddd;
    transform: rotate(15deg) skewX(15deg);
  }
  
  .switch-right {
    right: 0.5em;
    bottom: 0;
    background-color: #bd5757;
    color: #fff;
  }
  
  .switch-left::before,
  .switch-right::before {
    content: "";
    position: absolute;
    width: 0.4em;
    height: 2.45em;
    bottom: -0.45em;
    background-color: #ccc;
    transform: skewY(-65deg);
  }
  
  .switch-left::before {
    left: -0.4em;
  }
  
  .switch-right::before {
    right: -0.375em;
    background-color: transparent;
    transform: skewY(65deg);
  }
  
  input:checked + .switch-left {
    background-color: #00d079;
    color: #fff;
    bottom: 0px;
    left: 0.5em;
    height: 2.5em;
    width: 3em;
    transform: rotate(0deg) skewX(0deg);
  }
  
  input:checked + .switch-left::before {
    background-color: transparent;
    width: 3.0833em;
  }
  
  input:checked + .switch-left + .switch-right {
    background-color: #ddd;
    color: #888;
    bottom: 0.4em;
    right: 0.8em;
    height: 2.4em;
    width: 2.75em;
    transform: rotate(-15deg) skewX(-15deg);
  }
  
  input:checked + .switch-left + .switch-right::before {
    background-color: #ccc;
  }
  
  /* Keyboard Users */
  input:focus + .switch-left {
    color: #333;
  }
  
  input:checked:focus + .switch-left {
    color: #fff;
  }
  
  input:focus + .switch-left + .switch-right {
    color: #fff;
  }
  
  input:checked:focus + .switch-left + .switch-right {
    color: #333;
  }


  /* TIMER STYLES */
.timeContainer {
  z-index: 2;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.timeContainer .wrapper {
  padding: 10px;
  display: flex;
  justify-content: space-around;
  gap: 10px;
  font-size: 0.7rem;
}

.timeContainer .wrapper div {
  color: #ccc;
  text-align: center;
  width: 24%;
  height: 100px;
  padding: 0px 5px;
  border-radius: 6px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
}

.timeContainer .wrapper div:first-child{
  background: var(--banner-bg-color);
  color: white;
}

.timeContainer .wrapper div:nth-child(2){
  background: var(--banner-bg-color);
  color: white;
}

.timeContainer .wrapper div:nth-child(3){
  background: var(--hover-color);
  color: #fff;
}

.timeContainer .wrapper div:last-child{
  background: var(--hover-color);
  color: #fff;
}

.timeContainer .wrapper div h2 {
  font-size: 3rem;
}

.dots
{
  display: flex;
  justify-content: center;
  margin-top: 10px;
  margin-bottom: 20px;
}
.dot{
  width: 10px;
  height: 10px;
  margin: 0 4px;
  border-radius: 5px;
  background-color: var(--banner-bg-color);
  opacity: 0.4;
}
.dot.selected{
  opacity: 1;
}

@keyframes beat {
  0% {
    transform: scale(1.2);
  }
  50% {
    transform: scale(0.7);
  }
}

@keyframes beat2 {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.4);
  }
}



@keyframes blinker {
  50% {
    opacity: 0.5;
  }
}

@keyframes pop {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.15);
  }
}

.video-form {
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -2;
}

.video-wrapper {
  overflow: hidden;
  display: block;
  height: 100%;
  width: 100%;
}

.video-wrapper video {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.amounts-doncompl{
      display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
        align-items: center;
    margin: 20px 0px;
    gap: 10px;
}
.amount-doncompl{
      cursor: pointer;
    font-weight: bold;
    border-radius: 5px;
    padding: 10px;
    background-color: lightgrey;
    width: 115px;
    text-align: center;
}

.amount-doncompl:hover{
  color: white;
  background-color: var(--secondary-bg-color);
}

.amount-doncompl.selected{
  color: white;
  background-color: var(--secondary-bg-color);
}