/* VARIABLES */
:root {
  --bg-color: #F4F4F4;
  --head-bg-color: #ffffff;
  --font-color: #343f4f;
  --button-color: white;
  --purple-color: #0cbbaa;
  --purple-hover-color: #077369;
  --hover-color: #283272;
  --secondary-bg-color: #283272;
  --foot-bg-color: #343f4f;
  --foot-color: white;
  --banner-color: white;
  --banner-bg-color: #283272f3;
  --light-blue-unicef: #ddf2fb;
}



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

body{
  position: relative;
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  padding: 0;
  font-size: 16px;
  font-weight: 400;
  font-style: normal;
  color: var(--font-color);
  background-color: var(--bg-color);
  font-family: "Lato", sans-serif;
}

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% 5%;
}

.titre-login{
  font-size: 1.3rem;
}

.description-login{
  font-size: 0.9rem;
}

.bouton{
  padding: 8px 12px;
  line-height: normal;
  background-color: var(--secondary-bg-color);
  font-weight: 700;
  border: 2px solid var(--secondary-bg-color);
  color: var(--button-color);
  text-transform: uppercase;
}

.bouton:hover{
  background-color: white;
  color: var(--secondary-bg-color); ;
  border: 2px solid var(--hover-color);
}

.bouton-jaune{
  padding: 12px;
  background-color: #e6006d;
  border: 2px solid #e6006d;
  text-transform: uppercase;
}

.bouton-jaune::before{
  content: url(../images/greaterthan.svg);
    display: inline-block;
    vertical-align: middle;
    color: #FFF;
    -ms-transform: scaleX(-1);
    transform: scaleX(-1);
    margin-right: 10px;
}

.bouton-jaune:hover{
  background-color: #c5005c;
  border: 2px solid #c5005c;
  color: #FFF;
}

.bouton-jaune-2{
  background-color: #343f4f;
  border: 2px solid #343f4f;
}

.bouton-jaune-2:hover{
  background-color: #343f4f;
  border: 2px solid #343f4f;
  color: #FFF;
}



.boutons-jaune{
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.bouton-deco{
  background-color: #343f4f;
  border: 2px solid #343f4f;
}

.bouton-deco:hover{
  border: 2px solid #343f4f;
}


.form-fields {
  font-size: 0.9rem;
  margin-top: 5px;
}

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

.show-mobile{
  display: none;
}

/* 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);
  box-shadow: 0 3px 5px 0 rgba(0, 0, 0, 0.2);
  
}

.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-bottom: 1px solid #d8d1c9;
  padding-left: 50px;
  padding-right: 50px;
  
}

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


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

.header-title{
  z-index: 1;
  font-size: 1.6rem;
  color: #01031E;
  position: absolute;
  text-align: center;
  width: 100%;
  left: 0;
  font-weight: bold;
}

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

.text-bouton-don{
  display: inline-block;
    vertical-align: middle;
}

.bouton-don{
  background-color: var(--purple-color);
  border: 1px solid var(--purple-color);
  cursor: pointer;
    padding: 10px 16px;
  justify-content: center;
  flex-direction: column;
padding-right: 50px;
text-transform: uppercase;
}

.bouton-don::before{
  content: url(../images/greaterthan.svg);
    display: inline-block;
    vertical-align: middle;
    color: #FFF;
    -ms-transform: scaleX(-1);
    transform: scaleX(-1);
    margin-right: 10px;
}


.bouton-don:hover{
  background-color: #077369;
  border: 2px solid #077369;
  color: #FFF;
}

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

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

.sidebar-img img{
  width: 180px;
}

/* FOOTER */

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

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

.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;
}

footer{
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: center;
  justify-content: center;
  padding: 20px;
  min-height: 100px;
  color: var(--foot-color);
  background-color: var(--foot-bg-color);
  /*border-top: 1px solid var(--secondary-bg-color);*/
}

.socials ul{
  padding: 0;
}

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

.socials li{
  background-color: white;
  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 white;
}

.socials li:hover{
  background-color: var(--secondary-bg-color);
  border: 1px solid var(--secondary-bg-color);
}

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

.socials li+li {
  margin-left:20px;
}

.socials .icon svg {
  height: 25px;
  width: 25px;
  fill: var(--secondary-bg-color);
  margin: 8px
}

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

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

.bottom-footer{
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  font-size: smaller;
}

.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;
  position: absolute;
  top:115px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 0px;
  overflow: hidden;
  opacity: 0;
  padding: 10px 60px;
  background-color: var(--banner-bg-color);
  color: var(--banner-color);
  border-bottom: 1px solid var(--banner-color);
  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;
}

.bloc-login-home:hover input{
  border-color:#0049E5;
}

.form-login{
  height: 150px;
  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: 0.9rem;
}

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

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

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

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

.left-donateur{
  width: 50%;
}

.right-donateur{
  width: 50%;
  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;
}


.top-donateur .titre-donateur{
  font-size: 1.3rem;
}

.top-donateur .description-donateur{
  font-size: 0.9rem;
}

.btn-accueil-menu {
  width: 100%;
  text-align: left;
  height: 70px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  font-weight: bold;
}

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

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

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

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

.icon-accueil{
  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: 0.8rem;
}
.bloc-pa-dates{
  font-size: 0.8rem;
}
.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: 0.9rem;
}

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

.rf_don{
  text-align: center;
  vertical-align: middle;
}

#table_dons th{
  background-color: var(--secondary-bg-color);
  color: white;
}
#table_dons a{
  color: black;
}

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

/* 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: 0.9rem;
}

.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: center;
  margin-bottom: 20px;
}
.amount-doncompl{
  cursor: pointer;
  margin: 10px;
  font-weight: bold;
  border-radius: 5px;
  padding: 10px;
  background-color: lightgrey;
  width: 20%;
  min-width: 100px;
  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);
}