/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
  margin: 0;
  width: 100%;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after {
  content: '';
  content: none;
}

q:before, q:after {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

.flex {
  display: flex;
}

h3 {
  line-height: 1.3em;
  font-size: 1.3em;
  color: #4A7FB5;
}

h3::before {
  content: url(static/logos/arrow-point-to-right.png);
  position: relative;
  top: 3px;
  right: 5px;
}

body {
  margin: 0;
  font-family: "Questrial", sans serif;
  padding: 0;
  width: 100%;
}

h4 {
  color: #4A7FB5;
  line-height: 1.1em;
  margin: 0.5em;
}

a {
  text-decoration: none;
}

a:hover {
  color: #4A7FB5;
}

p {
  color: #3D3D3D;
  text-align: justify;
}

article p {
  text-align: left;
  line-height: 1.3em;
}

article li {
  padding: 0.5em 0;
}

h2 {
  color: #4A7FB5;
  margin-bottom: 0.4em;
  text-align: center;
  line-height: 1.2em;
}

hr.titlehr {
  width: 20em;
  border: 0;
  border-bottom: dotted 1px #1B3A6B;
  border-width: 6px;
  opacity: 0.9;
}

.vaepres {
  font-size: 1.2em;
  line-height: 1.3em;
}

article {
  padding: 2em 3em;
}

.vid {
  margin-top: 1em;
  margin-right: 3em;
}

.titre {
  height: 300px;
  padding-top: 2em;
  padding-bottom: 2em;
  background-image: url(static/logos/banniere.jpg);
  background-size: cover;
  background-attachment: fixed;
  background-position: bottom;
  position: relative;
}

.bottomright {
  position: absolute;
  right: 1em;
  bottom: 1em;
  width: 300px;
  border-radius: 10px;
  padding: 0.5em;
  background-color: white;
  z-index: 10;
}

.interntitre {
  height: 150px;
  padding-top: 2em;
  padding-bottom: 2em;
  background-image: url(static/logos/banniere.jpg);
  background-size: cover;
  background-attachment: fixed;
  background-position: bottom;
}

h1 {
  display: block;
  margin: auto;
  text-shadow: 0px 0px 10px black;
  text-align: center;
  font-size: 2.4em;
  color: white;
  font-family: 'Questrial';
  padding: 1em 0;
  border: solid 5px white;
  border-radius: 10px;
  width: 70%;
  background-color: rgba(27, 58, 107, 0.35);
  -webkit-text-stroke-color: #4A7FB5;
}

.flex {
  display: flex;
}

.suite {
  float: right;
  display: inline-block;
  padding: 1em;
  border-radius: 5px;
  background-color: #1B3A6B;
}

.suite:hover {
  background-color: #4A7FB5;
}

.suite a {
  color: white;
  text-align: right;
  font-weight: bold;
}

.section1 {
  
  background: -moz-linear-gradient(left, #3a6baa 0%, #4A7FB5 40%, #2C5F9E 70%, #1B3A6B 100%);
  background: linear-gradient(to right, #3a6baa 0%, #4A7FB5 40%, #2C5F9E 70%, #1B3A6B 100%);
  height: 90px;
  position: relative;
  border-bottom: solid 7px #4A7FB5;
}

.inscriptionmobile {
  display: none;
}

.newsletter1 {
  width: 30%;
  height: 10%;
  text-align: center;
  background-color: white;
  margin: 1em;
  border-radius: 10px;
  position: relative;
  top: 7em;
  left: 2em;
}

.newsletter1 a.consulter {
  display: block;
  color: white;
  background-color: #1B3A6B;
  text-decoration: none;
  padding: 2em 1em;
  border-radius: 10px 0 0 10px;
  font-size: 1.1em;
}

.newsletter1 a.consulter:hover {
  color: white;
  box-shadow: 3px 3px 5px 3px lightgray;
  transition: all 0.2s;
}

.newsletter1 a.newslink {
  display: block;
  background-color: #4A7FB5;
  color: white;
  padding: 2em 1em;
  border-radius: 0 10px 10px 0;
  text-align: center;
  font-size: 1.1em;
}

.newsletter1 a.newslink:hover {
  color: white;
  box-shadow: 3px 3px 5px 3px lightgray;
  transition: all 0.2s;
}

.section2 {
  background-color: white;
  height: 300px;
  padding: 12em 2.5em;
}

.section3 {
  
  background: -moz-linear-gradient(right, #3a6baa 0%, #4A7FB5 40%, #2C5F9E 70%, #1B3A6B 100%);
  background: linear-gradient(to left, #3a6baa 0%, #4A7FB5 40%, #2C5F9E 70%, #1B3A6B 100%);
  height: 45px;
}

/*effet au survol de la newsletter */
.newslink {
  font-weight: bold;
  color: white;
}

.newslink:hover {
  color: white;
}

.newsletterimg {
  position: relative;
  border: 1px solid grey;
  border-radius: 5px;
  display: block;
  width: 100%;
  height: auto;
}

.imagebox {
  position: relative;
  bottom: 6em;
  left: 4.5em;
  width: 190px;
}

.imagebox:hover .overlay {
  opacity: 0.8;
}

.text {
  color: white;
  font-size: 1.2em;
  position: absolute;
  left: 6%;
  top: 40%;
  text-align: center;
}

.overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  outline: solid 5px white;
  transition: .5s ease;
  background-color: #1B3A6B;
}

#conteneur {
  display: flex;
  padding: 0 5em;
  height: 300px;
  width: 70%;
}

.circle-text {
  width: 230px;
  margin-right: 1em;
  font-size: 1.2em;
  font-family: 'Questrial';
  transition: all 500ms;
  cursor: pointer;
}

.circle-text:nth-child(1) {
  position: relative;
  top: 0em;
}

.circle-text:nth-child(1):hover {
  position: relative;
  top: 2em;
  transition: all 500ms;
}

.circle-text:nth-child(3) {
  position: relative;
  top: 0em;
}

.circle-text:nth-child(3):hover {
  position: relative;
  top: 2em;
  transition: all 500ms;
}

.circle-text:nth-child(2) {
  position: relative;
  bottom: 8em;
}

.circle-text:nth-child(2):hover {
  position: relative;
  bottom: 9em;
  transition: all 500ms;
}

.circle-text:after {
  content: "";
  display: block;
  width: 100%;
  height: 0;
  padding-bottom: 100%;
  background: #4A7FB5;
  border-radius: 50%;
  box-shadow: 0px 0px 10px 0px #323232;
  border: inset 2px white;
}

.circle-text div {
  float: left;
  width: 100%;
  padding-top: 33%;
  line-height: 1.2em;
  margin-top: -0.5em;
  text-align: center;
  color: white;
  font-size: 1.2em;
}

.circle-text a.bullelink {
  text-decoration: none;
  color: white;
  cursor: pointer;
}

.contact {
  position: fixed;
  right: 0;
  bottom: 1em;
  z-index: 5000;
  margin: 0.3em;
  font-size: 1.1em;
  color: white;
  padding: 1em;
  background-color: rgba(27, 58, 107, 0.9);
  border-radius: 5px;
  transition: all 300ms;
}

.contact:hover {
  right: 1em;
  border-left: solid 8px #4A7FB5;
  transition: all 300ms;
}

.contact a {
  text-decoration: none;
  color: white;
  font-family: "Montserrat", sans-serif;
}

/* Style inputs with type="text", select elements and textareas */
input[type=text], select, textarea {
  width: 100%;
  padding: 0.8em;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin-bottom: 0.8em;
  box-sizing: border-box;
}

label {
  display: none;
}

/* Style the submit button with a specific background color etc */
input[type=submit] {
  background-color: #1B3A6B;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1.1em;
}

input[type=submit]:hover {
  background-color: #4A7FB5;
}

/*Erreur du formulaire */
.error {
  padding: 0.5em 0.3em 0.5em 0.3em;
  color: #eb5c6b;
  font-weight: bold;
  font-size: 1.5em;
  border-left: 0.2em;
  border-right: 0.2em;
  border-left-style: solid;
  border-right-style: solid;
  margin-bottom: 0.5em;
}

.contacticon {
  width: 20px;
  position: relative;
  top: 0.2em;
}

.clip-text {
  font-size: 3em;
  font-family: "AbeeZee", sans-serif;
  font-weight: bold;
  line-height: 1;
  position: relative;
  display: inline-block;
  margin: 0.25em;
  padding: .5em .75em;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.clip-text:before, .clip-text:after {
  position: absolute;
  content: '';
}

.clip-text:before {
  z-index: -2;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: inherit;
  border-radius: 10px;
}

.clip-text:after {
  position: absolute;
  z-index: -1;
  top: .25em;
  right: .25em;
  bottom: .25em;
  left: .25em;
  background-color: #fff;
  border-radius: 10px;
  opacity: 0.95;
}

/* Background */
/* Text Background (black zone) */
.clip-text--no-textzone:before {
  background-position: -.65em 0;
}

.clip-text--no-textzone:after {
  content: none;
}

/* Use Background-size cover for photo background and no-repeat background */
.clip-text--cover {
  background-repeat: no-repeat;
  -webkit-background-size: cover;
  background-size: cover;
  background-position: 50% 50%;
}

.clip-text--cover:before {
  background-repeat: no-repeat;
  -webkit-background-size: cover;
  background-size: cover;
  background-position: 50% 50%;
}

.clip-text_one {
  background-image: url(static/logos/texture4.jpg);
}

.desc {
  margin: 0.5em 0em;
  font-size: 1.2em;
  text-align: right;
  color: #1B3A6B;
  font-family: "AbeeZee", sans-serif;
  font-style: italic;
}

.leftside {
  background-color: rgba(255, 255, 255, 0.8);
  margin: 0.1em 1em;
  border-radius: 10px;
  padding-top: 1em;
  padding-bottom: 1em;
}

aside {
  height: 0;
}

.burger {
  opacity: 1;
  width: 50px;
  position: fixed;
  z-index: 5000;
  top: 1.9em;
  left: 1.5em;
  background-color: white;
  transition: all 100ms ease-in;
  padding: 0.5em;
  border: 2px solid #1B3A6B;
}

.burger:hover {
  cursor: pointer;
  transition: all 100ms ease-in;
  transform: scale(1.1);
}

.menudesc {
  font-family: 'Questrial';
  margin: none;
  color: white;
  position: fixed;
  z-index: 5000;
  top: 5.4em;
  left: 1.65em;
  padding: 0.3em 0.5em;
  background-color: rgba(27, 58, 107, 0.9);
}

.cross {
  position: absolute;
  right: 0.5em;
  top: 0.5em;
  z-index: 10;
}

.cross:hover {
  transform: rotate(180deg);
  transition-duration: 0.7s;
  cursor: pointer;
}

.arrow {
  width: 30px;
  position: relative;
  top: 9px;
  margin-right: 0.7em;
}

nav {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 1;
  overflow: hidden;
  height: 100vh;
  width: 0;
  background-color: #1B3A6B;
  font-size: 1.2em;
  line-height: 2em;
}

nav ul {
  margin-top: 2em;
  padding: 0em 1.5em 1em 2.5em;
  list-style-type: none;
}

nav li {
  color: #4A7FB5;
}

nav li a {
  text-decoration: none;
  text-align: left;
  color: white;
  font-family: "Questrial", sans serif;
  font-weight: bold;
}

nav li a:hover {
  color: #4A7FB5;
}

nav .logo {
  width: 21em;
  text-align: center;
  background-color: white;
  padding: 0.5em;
  border-radius: 10px;
  margin-top: 0.5em;
  margin-left: -1em;
  display: block;
}

nav hr {
  border-style: solid;
  border-color: #4A7FB5;
  border-radius: 80%;
  height: 2px;
  background-color: #4A7FB5;
  margin: 0.7em 0em;
}

nav .espacepro {
  display: block;
  font-size: 1.1em;
  color: #1B3A6B;
  position: relative;
  left: 0;
  top: 1em;
  padding: 0.6em 1em;
  background-color: white;
  border-radius: 10px;
  text-align: center;
  font-weight: bold;
  border: 2px solid #1B3A6B;
}

nav a li:hover {
  color: #4A7FB5;
}

section.corps {
  width: 100%;
  transition: all 1s;
  overflow: hidden;
  margin-bottom: 0;
  padding-bottom: 0;
}

section.corps ul {
  font-family: "Lato", sans-serif;
  font-weight: 700;
}

section.corps li {
  color: #3D3D3D;
  line-height: 1.4em;
}

.inscriptionmobile {
  display: none;
}

a {
  color: #4A7FB5;
}

.tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black;
}

/* Tooltip text */
.tooltip .tooltiptext {
  visibility: hidden;
  width: 300px;
  background-color: #555;
  color: #fff;
  text-align: center;
  padding: 5px 0;
  border-radius: 6px;
  cursor: pointer;
  /* Position du tooltip text */
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 1%;
  margin-left: -60px;
  opacity: 0;
  transition: opacity 0.4s;
}

/* Tooltip fleche*/
.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 30%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

video {
  margin: auto;
  text-align: center;
  border-radius: 10px;
}

.graphique {
  margin: auto;
}

header {
  height: 175px;
}

.videothequetitle {
  height: 175px;
  background-image: url(static/logos/banniere.jpg);
  background-size: cover;
  background-attachment: fixed;
  background-position: bottom;
}

.videoseparation {
  margin: 0em 0em 2em 0em;
  padding: 0;
  height: 25px;
  
  background: -moz-linear-gradient(right, #3a6baa 0%, #4A7FB5 40%, #2C5F9E 70%, #1B3A6B 100%);
  background: linear-gradient(to left, #3a6baa 0%, #4A7FB5 40%, #2C5F9E 70%, #1B3A6B 100%);
  border-bottom: solid 5px #4A7FB5;
}

.videogallery {
  padding: 0em 0em 1em 0em;
  margin: 1em 0em;
  background-color: #FFF;
}

#gallery {
  margin: auto;
  margin-top: 2em;
}

.internbody {
  padding: 0.5em;
  margin: 0;
  font-size: 1.2em;
  line-height: 1.2em;
  background-image: linear-gradient(to left bottom, #1B3A6B, #1B3A6B, #2C5F9E, #4A7FB5, #6a9ec8);
}

.block1 {
  padding: 2em;
  margin-left: 0;
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 10px;
  flex: 3;
}

.block2 {
  padding: 1.5em;
  background-color: white;
  border-radius: 80px 10px 10px 80px;
  margin: auto;
  background-color: rgba(255, 255, 255, 0.95);
  flex: 1;
}

.block1template3 {
  padding: 2em;
  margin-left: 0;
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 10px;
  flex: 2;
}

.blocktemplate3 {
  padding: 2em;
  margin-left: 0.1em;
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 80px 10px 10px 80px;
  flex: 1;
}

.blocktemplate3 hr {
  height: 5px;
  background-color: #1B3A6B;
  border-radius: 10px;
}

.block1contact {
  padding: 2em;
  margin-left: 0;
  margin-right: 0.5em;
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 10px;
  flex: 1;
}

.block2contact {
  padding: 1em;
  background-color: white;
  border-radius: 10px;
  margin: auto;
  background-color: rgba(255, 255, 255, 0.95);
  flex: 2;
}

.partenairelogo {
  width: 150px;
}

.padding-right {
  padding-right: 0.5em;
}

.ministeres {
  display: none;
  padding: 1em;
  text-align: center;
  margin: auto;
}

li h3 {
  cursor: pointer;
}

li h3:hover {
  color: #1B3A6B;
}

.ministeres a img {
  transition: all 200ms;
}

.ministeres a img:hover {
  transform: scale(1.3);
  transition: all 200ms;
}

p.mentions {
  font-size: 0.85em;
}

span.rgpd {
  font-size: 0.7em;
}

.block2contact h3 {
  color: #1B3A6B;
  padding: 0.5em;
  font-size: 1.2em;
  cursor: pointer;
  transition: all 200ms ease-in;
}

.block2contact h3:hover {
  color: #4A7FB5;
  margin-left: 1em;
  transition: all 200ms ease-in;
}

.soutien {
  display: inline-block;
  color: #4A7FB5;
  text-align: center;
  font-weight: bold;
}

@media all and (max-width: 1200px) {
  .flex {
    flex-direction: column;
  }
  article {
    padding: 0.5em;
  }
  .video {
    width: 100%;
    margin: auto;
  }
  .menudesc {
    display: none;
  }
  .vid {
    margin: 0.5em 0.2em;
  }
  .contact {
    bottom: 0.5em;
  }
  .contactext {
    display: none;
  }
  .circle-text {
    margin-right: 0;
    width: 190px;
    font-size: 1em;
  }
  .blocktemplate3 {
    margin-left: 0;
  }
  .bottomright {
    width: 160px;
    position: absolute;
    right: 0.5em;
    bottom: 0.5em;
    z-index: 1000;
  }
  .burger {
    top: 0.5em;
    left: 0.5em;
  }
  nav {
    font-size: 1.1em;
  }
  ul {
    padding: 0.3em;
  }
  .titre {
    height: 250px;
  }
  h1 {
    font-size: 1.7em;
  }
  .newsletter1 {
    display: none;
  }
  #conteneur {
    width: 95%;
    justify-content: center;
    margin: auto;
    padding: 0;
  }
  .section2 {
    height: 750px;
    padding: 5em 1em 1em 1em;
  }
  .inscriptionmobile {
    display: block;
    padding: 1em;
    font-weight: bold;
    text-align: center;
    width: 70%;
    margin: auto;
    margin-bottom: 1em;
    margin-top: 0;
  }
  a.consulter {
    display: block;
    color: white;
    background-color: #1B3A6B;
    text-decoration: none;
    padding: 2em 1em;
    border-radius: 10px 10px 0 0;
    font-size: 1.1em;
  }
  a.consulter:hover {
    color: white;
    box-shadow: 3px 3px 5px 3px lightgray;
    transition: all 0.2s;
  }
  a.newslink {
    display: block;
    background-color: #4A7FB5;
    color: white;
    padding: 2em 1em;
    border-radius: 0 0 10px 10px;
    text-align: center;
    font-size: 1.1em;
  }
  a.newslink:hover {
    color: white;
    box-shadow: 3px 3px 5px 3px lightgray;
    transition: all 0.2s;
  }
}

@media all and (max-width: 700px) {
  .circle-text {
    font-size: 0.65em;
    width: 120px;
    margin-right: 0;
  }
  .section2 {
    padding: 1em;
  }
  .bottomright {
    top: 2em;
  }
  nav {
    height: 100vh;
    font-size: 1em;
  }
  .cross {
    right: 0.5em;
    left: auto;
  }
  .logo {
    margin-top: -1.5em;
  }
}

@media all and (max-width: 400px) {
  .bottomright {
    width: 75px;
  }
}
