header {
  height: 50px;
  background-color: #dc291e;
  color: #fff;
  position: sticky;
  z-index: 100000;
  top: 0;
}
header .moodle {
  height: 100%;
  display: block;
  width: 100px;
}
header .moodle .logo {
  width: 95px;
  padding: 0.5rem 1rem;
}
header .moodle .survol {
  display: none;
  width: 95px;
  padding: 0.5rem 1rem;
}
header .moodle:hover, header .moodle:focus {
  background: #fff;
}
header .moodle:hover:hover:before, header .moodle:hover:focus:before, header .moodle:focus:hover:before, header .moodle:focus:focus:before {
  content: "";
  position: absolute;
  border-width: 10px;
  border-style: solid;
  border-color: transparent #dc291e transparent transparent;
  /*transform:rotate(90deg);*/
  right: 0px;
  top: 15px;
}
header .moodle:hover .logo, header .moodle:focus .logo {
  display: none;
}
header .moodle:hover .survol, header .moodle:focus .survol {
  display: block;
}

:root {
  --succes-color: #2ecc71;
  --error-color: #e74c3c;
}

* {
  box-sizing: border-box;
}

body {
  background-image: url("https://e-formation.enm.justice.fr/pluginfile.php/1/local_alternatelogin/rendererimages/0/loginbg2019.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  height: 100% !important;
  background-color: #42424a !important;
}

main {
  display: flex;
  justify-content: center;
  flex-direction: column;
  /* height: calc(100vh - 120px); */
}

p {
  font-size: 1.9rem;
  font-family: "Open Sans";
}

h1 {
  color: #42424a !important;
  padding: 20px;
  background: #fff;
  margin-top: 50px;
  font-size: 2em !important;
  font-weight: 400 !important;
}
@media screen and (max-width: 460px) {
  h1 {
    font-size: 1.5em !important;
    margin-bottom: 0px !important;
    margin-top: 10px !important;
  }
}

.content {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
}
@media screen and (max-width: 460px) {
  .content {
    justify-content: center;
    flex-direction: column;
  }
}
.content .encart {
  display: flex;
  background: #fff;
  justify-content: center;
  align-items: center;
  height: 200px;
  /*width:100%;*/
  color: #42424a;
  font-family: "Open sans";
  text-decoration: none;
  cursor: pointer;
  /*padding:5%;*/
  border: none;
  width: calc(100%/2 - 10px);
}
.content .encart:hover:before, .content .encart:focus:before {
  content: "";
  position: relative;
  border-width: 15px;
  border-style: solid;
  border-color: transparent transparent #fff transparent;
  transform: rotate(90deg);
  right: 4px;
}
@media screen and (max-width: 460px) {
  .content .encart {
    /*border:2px solid #333;
    height:calc(100% - 10px);*/
    width: 100%;
    margin-top: 10px;
  }
}
.content .encart:hover, .content .encart:focus {
  background: #42424a;
  color: #fff;
  outline: #fff solid 5px !important;
}
.content .encart:hover p, .content .encart:focus p {
  margin-right: 30px;
}
.content .encart p {
  margin: 0;
  width: 100%;
  font-size: 2.5rem;
}
.content .encart ul li {
  list-style-type: none;
}

.warnings {
  padding: 50px;
  color: #42424a;
  background: #fff;
  list-style-type: none;
  font-size: 20px;
  height: fit-content;
  width: calc(100%-10px);
  margin: 15px 0px;
  border: none;
}

.card {
  width: 100%;
}

.tooltip {
  position: relative;
  display: inline-block;
}
.tooltip:hover .tooltiptext, .tooltip:focus .tooltiptext {
  visibility: visible;
  opacity: 1;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 400px;
  background-color: #555;
  color: #fff;
  text-align: center;
  padding: 5px 0;
  border-radius: 6px;
  /* Position the tooltip text */
  position: absolute;
  z-index: 1;
  bottom: -77%;
  left: 15%;
  /* Fade in tooltip */
  opacity: 0;
  transition: opacity 0.3s;
}
.tooltip .tooltiptext:after {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 10%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent #555 transparent;
}

.changement .tooltip .tooltiptext {
  width: fit-content !important;
  bottom: -100px !important;
  left: 0% !important;
  padding: 5px 5px;
}
@media screen and (max-width: 990px) {
  .changement .tooltip .tooltiptext {
    bottom: -50px !important;
  }
}
@media screen and (min-width: 1200px) {
  .changement .tooltip .tooltiptext {
    bottom: -75px !important;
  }
}

.changement {
  padding-right: 0px !important;
}

a.redirection {
  height: fit-content;
  display: block;
  background: #42424a;
  padding: 10px;
  color: #fff;
  font-size: 1.3em;
  text-align: left;
}
a.redirection:hover:after, a.redirection:focus:after {
  content: "";
  position: absolute;
  border-width: 15px;
  border-style: solid;
  border-color: transparent transparent #42424a transparent;
  transform: rotate(90deg);
  margin-top: -28px;
  margin-left: -10px;
}
a.redirection p {
  text-align: center;
  margin: 0;
}
a.redirection:hover, a.redirection:focus {
  outline: #42424a solid 5px !important;
  background: #fff;
  color: #42424a;
}

input[type=submit]:disabled {
  opacity: 0.3;
}

footer {
  position: absolute;
  width: 100%;
  height: 70px;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #333;
  color: #fff;
}
footer h4 {
  margin: 0px !important;
  padding: 10px;
  color: #fff !important;
}
footer ul {
  display: flex;
  flex-direction: row;
}
footer ul li {
  list-style-type: none;
}
footer ul li a {
  color: #fff;
  padding: 5px;
  text-decoration: none;
}
footer ul li a:hover {
  background: #fff;
}

/*# sourceMappingURL=custom.css.map */
