/*	Theme Name: ONG Defi
	Theme URI: https://defi-ong.org/
	Description: ONG Defi
	Version: 2.1
	Author: A l'Encre bleue
	Author URI: https://alencrebleue.com
*/
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font-family: "Roboto", sans-serif;
  font-style: normal;
  color: #2c2574;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

/*  button */
input.gform_button,
form input {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: none;
}

form textarea {
  border: none;
}

form .ginput_container_consent input {
  -webkit-appearance: auto;
  -moz-appearance: auto;
  appearance: auto;
  border-radius: initial;
}

@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 300;
  src: local("Roboto Light"), local("Roboto-Light"),
    url("/wp-content/themes/Defi_ong/assets/fonts/Roboto-Light.woff2") format("woff2"),
    url("/wp-content/themes/Defi_ong/assets/fonts/Roboto-Light.woff") format("woff");
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 400;
  src: local("Roboto Regular"), local("Roboto-Regular"),
    url("/wp-content/themes/Defi_ong/assets/fonts/Roboto-Regular.woff2") format("woff2"),
    url("/wp-content/themes/Defi_ong/assets/fonts/Roboto-Regular.woff") format("woff");
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 500;
  src: local("Roboto Medium"), local("Roboto-Medium"),
    url("/wp-content/themes/Defi_ong/assets/fonts/Roboto-Medium.woff2") format("woff2"),
    url("/wp-content/themes/Defi_ong/assets/fonts/Roboto-Medium.woff") format("woff");
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 700;
  src: local("Roboto Bold"), local("Roboto-Bold"),
    url("/wp-content/themes/Defi_ong/assets/fonts/Roboto-Bold.woff2") format("woff2"),
    url("/wp-content/themes/Defi_ong/assets/fonts/Roboto-Bold.woff") format("woff");
  font-display: swap;
}

/*------------------------------------*\
    MARGE SUR MENU ADMIN (lorsque le menu est en fixe, il est caché en partie)
\*------------------------------------*/
/*.logged-in.admin-bar header {
  margin-top: 32px;
}*/
/*------------------------------------*\
    LA GRID
\*------------------------------------*/
* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.container {
  margin: 0 auto;
  padding-left: 0;
  padding-right: 0;
}

.row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.row>* {
  float: left;
  width: 100%;
  padding-left: .9375em;
  padding-right: .9375em;
}

.row::after {
  content: "";
  display: block;
  clear: both;
}

@media screen and (min-width:1200px) {
  .container {
    max-width: 1170px;
  }
}

@media screen and (min-width:1100px) and (max-width:1199px) {
  .container {
    max-width: 1060px;
  }
}

@media screen and (max-width:1099px) {
  .container {
    width: 90%;
  }
}

@media screen and (max-width:480px) {
  .row>* {
    padding-left: 0;
    padding-right: 0;
  }
}

/*------------------------------------*\
    MAIN
\*------------------------------------*/
/* global box-sizing */
a {
  color: #2c2574;
  text-decoration: none;
}

a:hover {
  color: #00efb7;
}

a:focus {
  outline: 0;
}

a:hover,
a:active {
  outline: 0;
}

input:focus {
  outline: 0;
}

:focus {
  outline: none;
}

img {
  height: auto;
  max-width: 100%;
}

.btn {
  padding: 8px 20px;
  border-radius: 45px;
  font-weight: 500;
  color: #fff;
  background: #2c2574;
  display: block;
  width: max-content;
  -webkit-transition: all 0.25s ease-in-out;
  -moz-transition: all 0.25s ease-in-out;
  -o-transition: all 0.25s ease-in-out;
  transition: all 0.25s ease-in-out;
}

.btn:hover {
  color: #fff;
  background: #ff045a;
  border-color: #ff045a;
}

@media screen and (min-width:601px) {
  .btn {
    font-size: 18px;
  }
}

@media screen and (max-width:600px) {
  .btn {
    font-size: 16px;
  }
}

@media only screen and (min-width: 801px) {
  .bloc-1 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }

  .bloc-2 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }

  .bloc-3 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 33.3%;
    flex: 0 0 33.3%;
    max-width: 33.3%;
  }

  .bloc-4 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
    max-width: 25%;
  }

  .bloc-5 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 20%;
    flex: 0 0 20%;
    max-width: 20%;
  }

  .bloc-2-3 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 66.66%;
    flex: 0 0 66.66%;
    max-width: 66.66%;
  }

  .bloc-3-4 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 75%;
    flex: 0 0 75%;
    max-width: 75%;
  }

  .bloc-2-5 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 40%;
    flex: 0 0 40%;
    max-width: 40%;
  }

  .bloc-3-5 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 60%;
    flex: 0 0 60%;
    max-width: 60%;
  }

  .bloc-4-5 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 80%;
    flex: 0 0 80%;
    max-width: 80%;
  }
}

/*------------------------------------*\
MISC
\*------------------------------------*/
::selection {
  background: #424242;
  color: #FFF;
  text-shadow: none;
}

::-webkit-selection {
  background: #424242;
  color: #FFF;
  text-shadow: none;
}

::-moz-selection {
  background: #424242;
  color: #FFF;
  text-shadow: none;
}

/*------------------------------------*\
\*------------------------------------*/
h1 {
  font-weight: 700;
  line-height: 1.2;
}

h2 {
  font-weight: 500;
  line-height: 1.2;
}

h3 {
  font-weight: 500;
  line-height: 1.2;
}

h4 {
  font-weight: 500;
  line-height: 1.2;
}

p {
  font-weight: 400;
  line-height: 1.4;
}

ul {
  list-style-type: disc;
  margin-left: 2em;
  margin-top: 1em;
  margin-bottom: 1em;
}

li {
  line-height: 1.4;
  margin: 0.5em 0;
}

@media screen and (min-width:1200px) {
  section {
    padding: 4em 0;
  }

  h1 {
    font-size: 45px;
  }

  h2 {
    font-size: 40px;
  }
 
  h3 {
    font-size: 35px;
  }

  h4 {
    font-size: 24px;
  }

  p {
    font-size: 18px;
  }

  li {
    font-size: 18px;
  }
}

@media screen and (min-width:1024px) and (max-width:1199px) {
  section {
    padding: 4em 0;
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 35px;
  }

  h3 {
    font-size: 30px;
  }

  h4 {
    font-size: 22px;
  }

  p {
    font-size: 18px;
  }

  li {
    font-size: 18px;
  }
}

@media screen and (min-width:481px) and (max-width:1023px) {
  section {
    padding: 3em 0;
  }

  h1 {
    font-size: 35px;
  }

  h2 {
    font-size: 30px;
  }

  h3 {
    font-size: 28px;
  }

  h4 {
    font-size: 22px;
  }

  p {
    font-size: 16px;
  }

  li {
    font-size: 16px;
  }
}

@media screen and (max-width:480px) {
  section {
    padding: 2em 0;
  }

  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 30px;
  }

  h3 {
    font-size: 24px;
  }

  h4 {
    font-size: 18px;
  }

  p {
    font-size: 16px;
  }

  li {
    font-size: 16px;
  }
}


/* ============================
========= HEADER ==============
=============================*/
header {
  position: fixed;
  transition: transform 0.8s ease-in-out;
  z-index: 99;
  width: 100%;
}

.navbar-hidden {
  transform: translateY(-100%);
}

#menu-aeb {
  height: 135px;
  background: #fff;
  box-shadow: 0 0px 5px #8d8d8d;
}

#menu-aeb .contain {
  height: 100%;
  width: 90%;
  max-width: 1170px;
  margin: auto;
  display: flex;
  padding: 0;
  position: relative;
  justify-content: space-around;
  align-items: center;
  flex-direction: row;
}

.hiddenitemsocial {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-end;
}

header .wrap-nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-left: 3em;
  margin-top: 1.5em;
}

header .wrap-nav a {
  font-size: 19px;
  font-weight: 500;
  -webkit-transition: all 0.25s ease-in-out;
  -moz-transition: all 0.25s ease-in-out;
  -o-transition: all 0.25s ease-in-out;
  transition: all 0.25s ease-in-out;
}

.menu {
  width: 90%;
}

.logo-header {
  width: max-content;
}

.logo-header img {
  height: 91px;
}

header .suivezburger {
  display: none;
}

header ul {
  list-style-type: none;
  margin: 0;
}

.menu-rs {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
}

.menu-rs li {
  margin: 0 0.5em;
}

.menu-rs li:last-of-type {
  margin: 0 0 0 1em;
}

.sprites,
.sprites:hover {
  width: 30px;
  height: 30px;
  display: inline-block;
}

.sprites {
  background: url(/wp-content/themes/Defi_ong/images/logo-res.svg) no-repeat center center;
}

.sprites:hover {
  background: url(/wp-content/themes/Defi_ong/images/logo-res3.svg) no-repeat center center;
}

#rs-instagram,
#rs-instagram:hover {
  background-position: 3.5px 4px;
}

#rs-facebook,
#rs-facebook:hover {
  background-position: -41px 4px;
}

#rs-youtube,
#rs-youtube:hover {
  background-position: -88.5px 4px;
}

/* Main */
.content_aeb {
  padding-top: 135px;
}

#content_archive {
  padding-top: 0;
  padding-bottom: 2em;
}

/* footer */
footer {
  background-color: #2c2574;
}

footer ul {
  margin: 0;
}

footer .row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-direction: row;
  flex-wrap: nowrap;
}

footer .bloc-3:first-child,
footer .bloc-3:nth-child(2) {
  display: flex;
  justify-content: center;
  flex-direction: row;
  flex-wrap: wrap;
}

footer .bloc-3:last-child {
  display: flex;
  justify-content: space-evenly;
  flex-direction: column;
  flex-wrap: wrap;
}

.logosocial a {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.finis p,
.finis a {
  color: #FFF;
  font-weight: 300;
  text-transform: uppercase;
}

.finis a:hover {
  color: #00efb7
}

/*footer .bloc-3:first-child img {
width: 254px;
}*/
.finis {
  padding-top: 4em;
  padding-bottom: 3em;
}

footer .hiddenitemsocial {
  margin-top: 2em;
}

footer .suivezburger {
  padding-top: 0.5em;
  padding-right: 0.5em;
}

footer .hiddenitemsocial {
  align-items: center;
}

footer .sprites {
  background: url(/wp-content/themes/Defi_ong/images/logo-res2.svg) no-repeat center center;
}

footer .sprites:hover {
  background: url(/wp-content/themes/Defi_ong/images/logo-res3.svg) no-repeat center center;
}

footer .menu-rs li:nth-child(4) {
  display: none;
}

footer .bloc-3:last-child a:hover {
  color: #FFF
}

footer .btn-don {
  color: #2c2574;
  background: #00efb7;
  font-weight: 400;
}

footer .bloc-3:nth-child(2) ul {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}

.membre p {
  margin-bottom: 0.5em;
}

.btn-membre {
  background: none;
  border: 1px solid;
}

.devenir {
  display: flex;
  flex-direction: row;
}

.devenir a:first-child {
  margin-right: 1em;
}

.membre {
  margin: 1em 0;
}

.engager {
  margin: 1em 0 2em;
}

.engager a:first-child {
  margin-bottom: 1em;
}

@media screen and (min-width:661px) and (max-width:1024px) {
  footer .bloc-3 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }

  footer .bloc-3:nth-child(2) {
    display: none;
  }

  footer .bloc-3:first-child {
    display: flex;
    flex-direction: column;
    align-content: center;
    flex-wrap: wrap;
  }

  footer .hiddenitemsocial {
    padding: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media screen and (max-width:660px) {
  .finis {
    padding: 2em 0;
  }

  footer .row {
    flex-wrap: wrap;
  }

  footer .bloc-3:nth-child(2) {
    display: none;
  }

  footer .bloc-3 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }

  footer .bloc-3:first-child {
    flex-direction: column;
    flex-wrap: wrap;
    align-content: center;
    padding-bottom: 1em;
  }

  footer .hiddenitemsocial {
    margin: 0.5em 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  footer .bloc-3:last-child .btn-don,
  footer .bloc-3:last-child .membre,
  footer .bloc-3:last-child .engager {
    display: none;
  }

  #gform_wrapper_8 {
    width: 100%;
  }
}

/* form 8: newsletter */
#gform_8 {
  position: relative;
}

#gform_8 #input_8_1 {
  inline-size: 99%;
  border: 1px solid #FFF;
  border-radius: 45px;
  background: #2c2574;
  color: #FFF;
  height: 42px;
}

footer .gform-theme--foundation .gform_footer {
  margin-block-start: 0;
}

#gform_8 .gform_footer {
  position: absolute;
  top: 0;
  right: 19%;
}

#gform_8 #gform_submit_button_8 {
  border-radius: 45px;
  background: #00efb7;
  color: #2c2574;
  font-size: 16px;
  font-weight: 700;
  padding: .75em;
}

#gform_8 .gfield--type-choice .gchoice {
  margin-left: 1em;
}

label#label_8_2_1 {
  color: #fff;
  font-size: 11px;
  margin-left: 0;
}

input#choice_8_2_1 {
  height: 15px;
  width: 15px;
}

footer .gform-theme--foundation .gform_fields {
  grid-row-gap: 12px;
  grid-template-columns: repeat(11, 1fr);
}

/* mention legal, politique de conf */
.mbp {
  text-align: center;
  padding: 0 1em 0.5em;
}

.mbp p,
.mbp a {
  color: #FFF;
  font-size: 16px
}

.mbp a:hover {
  color: #00efb7;
}

@media screen and (min-width:1141px) and (max-width:1190px) {
  #gform_8 #input_8_1 {
    font-size: 13px;
  }
}

@media screen and (min-width:1025px) and (max-width:1140px) {
  #gform_8 #input_8_1 {
    font-size: 11px;
  }
}

@media screen and (max-width:800px) {
  footer .gform-theme--foundation .gform_fields {
    grid-template-columns: repeat(1, 1fr);
  }

  #gform_8 .gform_footer {
    right: 1%;
  }
}

@media screen and (max-width:480px) {
  footer .hiddenitemsocial {
    justify-content: center;
  }

  footer .suivezburger {
    display: none;
  }

  footer .menu-rs {
    align-items: center;
    margin: 0;
    padding: 0 0 1em;
  }

  .finis {
    padding-bottom: 2em;
  }

  .mbp p,
  .mbp a {
    font-size: 12px;
    padding-bottom: 5px;
  }
}

/* menu humberger */
.hamb {
  display: none;
}

.allelement {
  width: 45px;
  height: 42px;
  position: relative;
}

.element {
  width: 45px;
  height: 5px;
  background-color: #2c2574;
  border-radius: 20px;
  position: absolute;
  transition-property: transform, opacity;
  transition-timing-function: ease;
  transition-duration: 0.5s;
  top: 50%;
  transform: translate(0, -50%);
  opacity: 1
}

.element::before,
.element::after {
  width: 45px;
  height: 5px;
  background-color: #2c2574;
  border-radius: 20px;
  position: absolute;
  transition-property: transform, opacity;
  transition-timing-function: ease;
  transition-duration: 0.5s;
  content: "";
  opacity: 1;
  right: 0
}

.element::before {
  top: -14px
}

.element::after {
  top: 14px
}

.element1 {
  width: 45px;
  height: 5px;
  opacity: 0;
  background-color: #2c2574;
  border-radius: 20px;
  position: absolute;
  transition-property: transform, opacity;
  transition-timing-function: ease;
  transition-duration: 0.5s;
  top: 50%;
  transform: translate(51px, -50%)
}

.element1::before,
.element1::after {
  width: 45px;
  height: 5px;
  background-color: #2c2574;
  border-radius: 20px;
  position: absolute;
  transition-property: transform, opacity;
  transition-timing-function: ease;
  transition-duration: 0.5s;
  content: "";
  transform: translate(102px, 0)
}

.element1::before {
  top: -10px;
}

.element1::after {
  top: 17px;
}

.hamb:hover .element {
  transform: translate(-51px, 50%);
  opacity: 0
}

.hamb:hover .element::before,
.hamb:hover .element::after {
  transform: translate(102px, 0);
  opacity: 0
}

.hamb:hover .element1 {
  opacity: 1;
  transform: translate(0, -50%)
}

.hamb:hover .element1::before,
.hamb:hover .element1::after {
  opacity: 1;
  transform: translate(0%, -50%);
}

.hamb.is-active .element {
  display: none
}

.hamb.is-active .element1 {
  opacity: 1;
  transform: rotate(45deg)
}

.hamb.is-active .element1::before {
  transform: translate(0, 10px) rotate(90deg);
  transform-origin: center
}

.hamb.is-active .element1::after {
  transform-origin: center;
  transform: translate(0, -10px) rotate(0);
  opacity: 0
}

@media screen and (max-width:1100px) {
  #menu-aeb .contain {
    justify-content: space-between;
  }

  .hamb {
    display: block;
    cursor: pointer;
    overflow: hidden;
  }

  .menu {
    position: fixed;
    background: url(/wp-content/themes/Defi_ong/images/fond-arc-grand.jpg);
    height: 100%;
    width: 100%;
    z-index: 100;
    left: -100%;
    transform: scale(0.5);
    opacity: 0;
    transition: transform 0.4s ease-out, opacity 0.4s ease-out;

  }

  .menu.active {
    right: 0%;
    left: inherit;
    margin-top: 80px;
    width: 100%;
    top: 0%;
    overflow: scroll;
    padding-top: 2em;
    transform: scale(1);
    opacity: 1;
    transition: transform 0.4s ease-out, opacity 0.4s ease-out;
  }

  .menu .wrap .mara {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
  }

  #top.fixe {
    overflow: hidden;
    position: initial;
  }

  header .wrap-nav a {
    color: #FFF;
    margin: .5em 0;
    text-align: center;
	  display: block
  }

  header .wrap-nav a:hover {
    color: #00ffff;
  }

  header .btn-don {
    border: 1px solid #FFF;
  }

  .sprites {
    background: url(/wp-content/themes/Defi_ong/images/logo-res2.svg) no-repeat center center;
  }

  header .hiddenitemsocial {
    padding: 2em 0;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: center;
    order: 2;
  }

  header .wrap-nav {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: center;
    margin: 0;
  }

  .menu .wrap {
    height: 100%;
  }

  .logo-header a {
    display: flex;
  }

  .logo-header img {
    height: 60px;
  }

  #menu-aeb {
    height: 80px;
    background: #fff;
    box-shadow: 0 0px 5px #8d8d8d;
  }

  .content_aeb {
    padding-top: 80px;
  }

  header .menu-rs {
    position: relative;
    margin-top: 3em;
    padding-bottom: 5em;
  }

  .menu-rs li:last-of-type {
    position: absolute;
    top: -27%;
    left: 50%;
    transform: translate(-50%, -100%);
    margin: 0;
  }
}

#protectwithpassword{
	display: flex;
	margin-top:1em;
}
#protectwithpassword .btn {
    margin: 0;
}
#post_password{
    background: #eeed;
    border-radius: 35px;
    font-size: 18px;
    line-height: 1.3;
    padding: .5em 1em;
	margin-right:1em;
}