/* page header */
#global-navigation {
  display: none !important;
}
.page_header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 1em;
}

.page_header_logo_item {
  width: 200px;
}

.afrique {
  width: 112px;
  margin-left: 20px;
}
#site_logo {
  width: 250px;
  margin-left: 60px;
  margin-right: 20px;
}

.page_header_flag_item {
  width: 50px;
  margin-right: 1em;
}

#english_flag {
  padding-right: 50px;
}

.page_header_logo_mobile{
  display: none;
}

/* banner header */

.nav_list a:hover {
  color: #065683 !important;
}

.nav_list_link:hover {
  color: red !important;
}

.nav_list_buttons:hover {
  color: rgba(28, 114, 138, 1);
}

#navigation_list {
  display: flex;
  justify-content: flex-end;
  align-items: baseline;
}

#header {
  background-image: url("../images/banniere.png");
  height: 671px;
  background-repeat: no-repeat;
  background-size: cover;
}

.navigation_list_element {
  margin: 0.6em;
  font-size: 1.2em;
  font-weight: 700;
}

.login_button {
  background-color: rgba(28, 114, 138, 0.8);
  margin-right: 2.5em;
}

.register_button {
  background-color: rgba(28, 114, 138, 1);
}

.nav_button {
  padding: 0.6em;
  border-radius: 10px;
  text-transform: uppercase;
}

.nav_button a {
  color: #fff;
}

/* container course list */

.course_list {
  padding: 5%;
  padding-bottom: 0;
  padding-top: 0;
}

.course_list_title {
  padding-top: 2%;
  font-size: 2.2em;
  text-transform: none;
  color: rgba(28, 114, 138, 0.8);
  font-weight: 700;
}

.course_list_text {
  font-size: 1.2em;
  color: rgba(28, 114, 138, 0.8);
  font-weight: bold;
  line-height: 1.4em;
}

.highlighted-courses-essentials {
  margin-bottom: -50px;
}

.courses-container .courses .course .course-image .cover-image .learn-more {
  top: calc(50% - 25px);
}

.courses-container .courses .course .course-image .cover-image:before {
  height: 100%;
}

/*#footer */

body footer.global {
  display: none;
}

#footer {
  background-image: url("../images/visuel_footer.jpg");
  height: 850px;
  background-repeat: no-repeat;
  background-size: cover;
  color: white;
  margin-top: -30px;
}

#footer_container {
  display: flex;
  justify-content: center;
  /* margin: 1%; */
  font-size: 1.1em;
  line-height: 1.2em;
  padding-top: 260px;
  width: 100%;
}

.footer_title {
  font-family: "Quicksand", sans-serif;
  font-weight: 700;
}

.footer_div {
  width: 30%;
}
.footer_list{
  max-width: 85%;
}
.footer_list_element {
  list-style: none;
}

.footer_list_element a {
  color: white;
}

.footer_list_nav {
  padding-left: 0;
}

.footer_icon {
  width: 170px;
}

.footer_icon_mobile {
  display: none;
}

.footer_menu_and_sm {
  padding-left: 50px;
}

.footer_about_and_icon {
  display: flex;
  flex-direction: column;
  /* justify-content: space-between; */
}

.footer_sm {
  margin-top: 25px;
}

.footer_text {
  margin-bottom: 50px;
  max-width: 85%;
}
/* responsive */
@media screen and (max-width: 1650px) {
  #footer {
    height: 1000px;
    margin-top: -140px;
  }
  .footer_container {
    padding-top: 190px;
}
}

/* @media screen and (max-width: 1500px) {
  #footer {
    height: 1000px;
    margin-top: -140px;
  }
  .footer_container {
    padding-top: 190px;
}
} */


@media screen and (max-width: 1200px) {
  #footer {
    height: 1000px;
  }
}

@media screen and (max-width: 1000px) {
  .page_header_logo_item {
    width: 150px;
  }
  .afrique {
    width: 94px;
  }
  #site_logo {
    width: 200px;
    margin-left: 40px;
    margin-right: 10px;
  }

  .page_header_flag_item {
    width: 30px;
    margin-right: 1em;
  }

  .page_header_flag {
    display: flex;
  }

  #english_flag {
    padding-right: 30px;
  }
  .navigation_list_element {
    font-size: 1em;
}
}

@media screen and (max-width: 750px) {
  #footer {
    background-image: url("../images/fond_mobile.png");
    height: 1250px;
  }
  #footer_container {
    flex-direction: column;
    padding: 10%;
    padding-top: 160px;
  }

  .footer_div {
    width: 100%;
  }

  .footer_menu_and_sm {
    padding-left: 0;
  }

  .footer_icon {
    display: none;
  }

  .footer_icon_mobile {
    display: block;
    width: 170px;
    margin-top: 20px;
  }

  .footer_title {
    margin-top: 30px;
  }
}

@media screen and (max-width: 670px) {
  main{
    overflow-y: hidden;
  }
  #footer {
    height: 1320px;
    margin-top: -114px;
  }
  #navigation_list {
    display: none;
  }
  #site_logo {
    margin-left: 3%;
    width: 150px;
  }
  .page_header_logo_item {
    width: 100px;
  }
  .page_header_logo_mobile{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .page_header_logo{
    display: none;
  }
  
  .afrique {
    width: 60px;
  }
  .page_header {
    background-color: rgb(218, 226, 227);
  }
  .essentiels {
    background-color: rgb(218, 226, 227);
  }
  .courses-container .courses {
    margin-bottom: 62px;
  }
  #footer_container {
    padding-top: 30px;
  }
  .highlighted-courses-essentials {
    margin-bottom: 0;
  }

  #header {
    display: none;
  }
}

@media screen and (max-width: 400px) {
  #footer {
    height: 1450px;
  }
  #footer_container {
    padding-top: 20px;
  }
  #site_logo{
    width: 120px;
    margin: auto;
    margin-left: 10%;
  }
  .afrique{
    width: 40px;
  }
  .senghor{
    width: 70px;
  }
  #english_flag {
    padding-right: 0;
    margin-right: 0;
  }
}

/* menu burger */

@media (min-width: 680px) {
  #menuToggle {
    display: none !important;
  }
}
@media (max-width: 680px) {
  .contenant {
    display: flex;
    flex-direction: row;
    justify-content: center;
  }
  #unit1 {
    margin-top: -27px;
  }
  #nav_title {
    display: none;
  }
  #menu {
    display: none !important;
  }
  #nav {
    display: flex;
    justify-content: center;
    flex-direction: row;
  }
  #bouton_header {
    display: none;
  }
}

#menuToggle {
  display: block;
  position: relative;
  top: 0px;
  left: 10px;

  z-index: 100;

  -webkit-user-select: none;
  user-select: none;
}

#menuToggle a {
  text-decoration: none;
  color: #232323;

  transition: color 0.3s ease;
}

#menuToggle a:hover {
  color: tomato;
}

#menuToggle input {
  display: block;
  width: 40px;
  height: 32px;
  position: absolute;
  top: -7px;
  left: -5px;

  cursor: pointer;

  opacity: 0;
  z-index: 2;

  -webkit-touch-callout: none;
}

#menuToggle span {
  display: block;
  width: 33px;
  height: 4px;
  margin-bottom: 5px;
  position: relative;

  background: rgba(28, 114, 138, 0.8);
  border-radius: 3px;

  z-index: 1;

  transform-origin: 4px 0px;

  transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1),
    background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1), opacity 0.55s ease;
}

#menuToggle span:first-child {
  transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(2) {
  transform-origin: 0% 100%;
}

#menuToggle input:checked ~ span {
  opacity: 1;
  transform: rotate(45deg) translate(-2px, -1px);
  background: #232323;
}

#menuToggle input:checked ~ span:nth-last-child(3) {
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}

#menuToggle input:checked ~ span:nth-last-child(2) {
  transform: rotate(-45deg) translate(0, -1px);
}

#menu_burger {
  position: absolute;
  width: 1400%;
  height: 100vh;
  margin: -100px 0 0 -50px;
  padding: 50px;
  padding-top: 125px;

  background: #fff;
  list-style-type: none;
  -webkit-font-smoothing: antialiased;

  transform-origin: 0% 0%;
  transform: translate(-100%, 0);

  transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
}

#menu_burger li {
  padding: 10px;
  font-size: 22px;
  color: white;
  width: 50%;
  text-align: center;
}

#menuToggle input:checked ~ ul {
  transform: none;
}

/* tooltip */

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

/* Tooltip text */
.tooltip .tooltiptext {
  visibility: hidden;
  /* max-width: 600px; */
  width: 100%;
  background-color: rgba(28, 114, 138, 0.8);
  color: #fff;
  text-align: center;
  padding: 5px;
  border-radius: 6px;
  text-transform: none !important;
  font-size: 0.8em !important;

  /* Position the tooltip text */
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -60px;

  /* Fade in tooltip */
  opacity: 0;
  transition: opacity 0.3s;
}

/* Tooltip arrow */
.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
  text-transform: none !important;
  font-size: 0.8em !important;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

/* a:hover,
a:focus,
a:visited:hover,
a:visited:focus {

} */
