@import url("a11y.css");
html {
  scroll-behavior: smooth !important;
}
body {
  color: #555;
  text-align: justify;
}
#header .header-nav-main.header-nav-main-square nav > ul > li.dropdown-mega .dropdown-mega-sub-nav > li:first-child > a {
    color: #333333;
    display: block;
    font-size: 0.9em !important;
    font-weight: 600 !important;
    padding-bottom: 10px;
    text-transform: none;
    letter-spacing: -0.5px;
    margin-top: 0;
}
#header nav .dropdown-item.divisor{
  border-top: 1px dashed rgba(0,0,0,.25);
}
#header a.not-yet {
  text-decoration: line-through !important;
  color: rgba(119,119,119,.5) !important;
}
#header li:hover > a.not-yet {
  text-decoration: none !important;
  color: inherit !important;
}
h1,h2,h3,h4,h5,h6 {text-align: left;}
h2 {
  font-size: 1.8em;
  font-weight: 400;
  line-height: 24px;
  margin: 32px 0 32px 0;
  text-transform: uppercase;
}
h3 {
  font-size: 2.0em;
  font-weight: 300;
  line-height: 42px;
  margin: 0 0 32px 0;
  text-transform: none;
}
h4 {
  font-size: 1.4em;
  font-weight: 400;
  line-height: 27px;
  margin: 0 0 14px 0;
}
h3:first-child, :not(h2) + h3:not(.popover-header) {margin-top: 50px;}
h4:first-child:not(.modal-title), :not(h3) + h4 {margin-top: 50px;}
h4.card-title { text-align: center;}
.accordion  h4.card-title { text-align: left;}
h5:first-child, :not(h4) + h5 {margin-top: 50px;}
p {
  color: inherit;
}
.filter-grayscale-1{
  filter: grayscale(1);
}
.overflow-x-auto{
  overflow-x: auto;
}
.vertical-align-middle{
  vertical-align: middle;
}
.nav-secondary.sticky-active {
  padding: 5px 0;
}
.hover:hover{
  color: var(--primary-color-light);
}
code .hover:hover{
  color:black;
}
/*.highlight {
  background-color: var(--primary-color) !important;
  color:#fff;
}*/
:hover > [data-def][data-bs-content]{
  text-decoration: underline;
  text-decoration-style: dotted;
  text-decoration-color: var(--primary-color);
  text-underline-offset: 3px;
  cursor: help;
}

/*.table.table-bordered .highlight {
  color: inherit;
  background-color: inherit !important;
  border: 1px solid var(--primary-color) !important;
}*/
figure {
  margin: 0;
}
.alternative-font {
  color: var(--primary-color-light);
}

.page-header {
  color: #777;
}
.flip-card {
    perspective: none !important;
    -webkit-font-smoothing: antialiased;
}
.flip-back {
  justify-content: center;
}
#mainNav a.dropdown-item i {
  font-size: 50%;
  margin-right: 2px;
  color: var(--primary-color-light);
  vertical-align: middle;
}
.nav li.mode {
    line-height: 0px;
    font-size: 24px !important;
}
.nav li.mode {
    line-height: 0px;
}
.nav li.mode a {
    font-size: 24px !important;
}
nav .navCursus > a {
    /*font-weight: bold !important;*/
}
nav .navCursus > a::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 90%;
    content: "\f0da";
    display: inline-block;
    position: absolute;
    left: 5px;
    color: var(--primary-color-light);
}
nav .dropdown-mega-content .navCursus > a::before {
  left: -5px;
}
figcaption, .legend { 
  text-align: center; 
  font-size: 90%;
  margin: 10px 0;
  font-style: italic;
}

pre {
  display: block;
  margin: 0 0 10px;
  font-size: 12px;
  line-height: 1.42857143;
  word-break: break-all;
  word-wrap: break-word;
  color: #fff;
  border-radius: 0px;
  background-color: #222;
  border: 0px solid #111;
  white-space: pre;
  text-align: left;
  padding: 10px 10px 10px 20px;
  position: relative;
}
code {
  padding: 2px 2px;
  font-size: 100%;
  border-radius: 4px;
  color: var(--primary-color-light);
  font-weight: 300;
  background-color: transparent;

/*background-color: var(--primary-color);
color: #fff;
padding: .2em;*/
}
pre code {
  padding: 0;
  font-size: inherit;
  color: inherit;
  background-color: transparent;
  border-radius: 0;
  white-space: pre-line;
}
.card {
  padding:10px;
}
div.pre-corner {
  position: relative;
  margin-top:-45px;
  margin-bottom: 15px;
  padding-right: 5px;
  text-align: right;
}

div.pre-corner a {
  opacity: .25;
  color: #fff;
}
div.pre-corner a:hover {
  opacity: 1;
  color: var(--primary-color-light);
}
code .variable {
  font-style: italic;
  color: var(--primary-color-light);
}
code .comment {
  display: inline-block;
  opacity: .4;
}
code .indent {
  display: inline-block;
  width: 2em;
}

.color-primary {color: var(--primary-color) !important;}
.background-color-primary {background: var(--primary-color) !important;}

.popover-header {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
h3.popover-header {
  font-weight: bold;
}

.ressources-list li a:hover {
  color: var(--primary-color) !important;
}
.ressources-list li a:hover span {
  text-decoration: underline !important;
}
.ressources-list li a:hover i.list-icon {
  background-color: var(--primary-color) !important;
  color: white !important;
}
.ressources-list section:hover h2 i {
  color: var(--primary-color) !important;
  opacity: 1!important;
}
.message-container {
  text-align: center;
  position: fixed;
  height: 100%;
  width: 100%;        
  background-color: rgba(0,0,0,.9);
  z-index: 10000000;
  top: 0px;
  left: 0px;
  display: none;
  flex-direction: column;
  justify-content: center;
}
.message-container .message-content {
  text-align: center;
  width: 100%;
  align-content: center;
  background-image: url(/img/illustration/images/partenariat.jpg);
  text-transform: uppercase;
  font-size:100px;
  line-height:100px;
}
.message-container .message {
  color:white;
  text-transform: uppercase;
}
.blink:not(:hover) {
  animation: blink 2s linear infinite;
}
.custom-radio-1 {
    position: relative;
    padding: 0 0 0 25px;
    margin-bottom: 7px;
    margin-top: 0;
}
.custom-radio-1 input[type="radio"] {
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 3px;
    margin: -6px 0 0 0;
    z-index: 2;
    cursor: pointer;
}

.custom-radio-1 input[type="radio"]:checked + label:after {
  position: absolute;
  display: inline-block;
  font-family: 'Font Awesome 6 Free';
  content: '\F111';
  top: 50%;
  left: 4px;
  margin-top: -5px;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  width: 16px;
  height: 16px;
  color: #333;
}
.custom-radio-1 label:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    margin-top: -9px;
    width: 18px;
    height: 18px;
    display: inline-block;
    border-radius: 2px;
    border: 1px solid #dadada;
    background-color: #fff;
    border-radius: 50%;
}
.custom-radio-1 label {
    cursor: pointer;
    margin-bottom: 0;
    text-align: left;
    line-height: 1.5;
}
.custom-radio-1 input[type="radio"]:disabled {
    cursor: not-allowed;
}
.custom-radio-1 input[type="radio"]:disabled + label:before {
    background-color: #eee;
}
.custom-radio-1 input[type="radio"]:checked + label:after, .custom-checkbox-1 input[type="checkbox"]:checked + label:after {
  color: #316E95;
}
.course-navigation li a:not(.course-active, .course-inactive) {
    background-color: transparent; !important;
    color: inherit !important;
    border-color: inherit;
    
}

.course-navigation li:hover a:not(.course-active, .course-inactive) {
    background-color: transparent; !important;
    color: inherit !important;
    border-color: inherit;
}
.course-navigation li:not(:hover) a:not(.course-active) {
  opacity: .5;
}
.course-navigation li a i {
    display: none;
}
.course-navigation li a.course-inactive .fa-regular.fa-square-check {
    display: inline;
}
.course-navigation li a.course-active .fa-regular.fa-square {
    display: inline;
}
.course-navigation li a:not(.course-active,.course-inactive) .fa-solid.fa-square {
    display: inline;
}

#footer {
  margin-top:0px;
}
#footer #tipeee {
  background-image: url(/img/map.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  display: block;
  padding: 50px 100px;
  margin-top: 25px;
}
#footer #tipeee img {
  opacity: .25;
}
#footer:hover #tipeee img {
  opacity: 1;
}
@keyframes blink{
  0%{opacity: 1;}
  50%{opacity: 0;}
  100%{opacity: 1;}
}
@media print {
  #header, #footer, #navSecondary {display: none;}
  pre {color: #666;background-color: #fafafa;border-color: #efefef;}
}

@media (min-width: 992px) {
  .popover{
      max-width: 600px;
      text-align: justify;
  }
}
@media (max-width: 991px) {
  nav .navCursus a::before {
      left: -5px;
  }
  #header .header-nav-main.header-nav-main-square nav > ul > li.dropdown-mega .dropdown-mega-sub-nav > li:first-child > a {
      font-size: 1.2em !important;
  }
  .message-container .message-content {
    font-size: 50px;
    line-height: 50px;
  }
}
