body {
    background-color: #F1F1F1;
}

header {
    background-color: #4CAF50;
    border-bottom-style: outset;
}
h2 { 
	display: block;
	font-size: 1.5em;
	margin-top: 0.83em;
	margin-bottom: 0.83em;
	margin-left: 0;
	margin-right: 0;
	font-weight: bold;
}

.btn-app {
    width: 40vw;
    height: 150px;
    font-size: xx-large;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: .35s ease-in-out;
    align-items: center;
    justify-content: center;
    border: 3px solid;
    outline: none;
}

.btn-app:focus {
    outline: 0;
}

.btn-app.collapsed {height: 300px;}

ul {
    list-style-type: none;
}

.div-exo {
    width: 40vw;
    margin: 0 auto;
    display: grid;
    justify-items: center;
}

.padlock {
    max-width: 100%;
    max-height: 100%;
}

.long-exo-button {
    width: 30vw;
    height: 60px;
    font-size: 100%;
    overflow: hidden;
    margin-top: 5px;
    margin-bottom: 5px;
    padding: 0;
    line-height: 0;
}

.btn-done {
    background-color: Gold !important;
}

.btn-outline-challenge {
    color: LemonChiffon !important;
}

.btn-challenge-done {
    background-color: Orange !important;
}


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

.tooltip .tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: #555;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -60px;
  opacity: 0;
  transition: opacity 0.3s;
}

.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;
}

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

.back {
    background-color: #F1F1F1;
}

.btn, .SousBtn {
    background-color: #F1F1F1;
    border: 1px solid black;
    border-radius: 10px;
    display: inline-block;
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.btn {
    font-size: 1.5vw;
    font-family: "Rockwell";
    padding: 10px 22px;
}

.SousBtn {
    font-size: 1vw;
}

.btn:hover, .SousBtn:hover {
    color: white;
}

.btnCompte {
    float: right;
    border: none;
    display: inline-block;
    border-radius: 50%;
    width: 3.3vw;
    height: 3.3vw;

}

.btnCompte:hover {
    box-shadow: 0 0 2px 1px rgba(0, 140, 186, 0.5);
}

.titre {
    text-align: center;
    letter-spacing: 2px;
    font-family: "Verdana", Times, serif;
    font-style: normal;
    font-size: 4vw;
    margin-top: 30px;
}

.fame {
    display: inline;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: "Verdana", Times, serif;
    font-style: normal;
    font-size: 2vw;
}

.textExo {
    text-align: justify;
    font-size: 1.3vw;
    text-indent: 0em;
    font-family: "Verdana", Times, serif;
    width: 60%;
    /* margin-left: 200px; */
    /* margin-right: auto; */
}

br {
    line-height: 180%;
}

.textAccueil {
    text-align: justify;
    font-size: 1.3vw;
    font-family: "Verdana", Times, serif;
    margin: 0 auto;
    width:70%;
}

.texte-illustration {
    overflow: hidden; /* empêche le dépassement des flottants */
}

.texte-illustration .illus-gauche {
    float: left;
    margin: 5px 20px 5px 0;
    width: 20%;
    height: 20%;
}

.texte-illustration p {
    overflow: hidden;
    /* Contexte de formatage. Force le paragraphe à
       adapter sa largeur aux flottants adjacents. */
}



.resPersonne {
    text-align: center;
    font-size: 1.5vw;
}

.avatar {
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
}

.avatar-mini {
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
}

.badge-img {
    border: 2px solid black;
    border-radius: 20%;
    width: 45px;
    height: 45px;
    margin: 15px;
}

.badges-list {
    display: inline-block;
    padding: 0 30px;
}

.titreCompte {
    margin-left: 44%;
    font-size: 1.7vw;
    font-family: "Verdana", Times, serif;
    padding-right: 5%;

}

.list {
    color: #A28080;
    list-style-type: circle;
    font-size: 1.6vw;
    display: flex;
    flex-direction: row;
}

/* .list:before{ */
/* content: "\A4 \ " */
/* content: "toto" */
/* } */

a {
    color: rgb(255, 50, 50);
}

a:visited {
    color: rgb(255, 50, 50);
}

.image {
    position: relative;
    left: 50%;
}


.commentaires {
    display: flex;
    flex-direction: column;
}

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

.choisirExo {
    display: flex;
    margin: 5px 20px 5px 0;
    align: middle;
    vertical-align: middle;
}

.choisirExo .blkimg {
    text-align: center;
    margin: auto;
    width: 200px;
    height: 100px;
    vertical-align: middle;
    max-width: 100%;
    max-height: 100%;
    display: inline-block;
}

.choisirExo .blkimg .mini-img {
    align: middle;
    margin: auto;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
}

.choisirExo .locked {
    display: flex;
    max-width: 60px;
    max-height: 60px;
    margin: 5px 20px 5px 0;
    align: middle;
    vertical-align: middle;
}

.commentaire {
    width: 80%; /* On a indiqué une largeur (obligatoire) */
    margin-left: 5%; /* On peut donc demander à ce que le bloc soit centré avec auto */
    border: 1px solid black;
    text-align: justify;
    padding: 12px;
    margin-bottom: 20px;
}

.textCommentaire {
    text-align: justify;
    font-size: 1.3vw;
    font-family: "Verdana", Times, serif;
    margin-left: 4%;
}

.boutonCommentaire {
    background-color: rgb(220, 200, 170);
    border: none;
    height: 40px;
    border: 1px black;
    position: relative;
    top: 20px;
}

.boutonCommentaire:hover {
    color: white;
}

.bCom {
    display: flex;
    flex-direction: column;
}


table.studentsStats td.success {
    background-color: green
}

table.studentsStats td.unlocked {
    background-color: yellow
}

table.studentsStats td.current {
    background-color: lightblue
}


table.studentsStats td.locked {
    background-color: tomato
}

table.studentsStats td.open {
    background-color: BlanchedAlmond
}


table.studentsStats td.success:hover .detail {
    opacity: .9;
}

table.studentsStats td.unlocked:hover .detail {
    opacity: .9;
}

table.studentsStats td.current:hover .detail {
    opacity: .9;
}

table.studentsStats td.locked:hover .detail {
    opacity: .9;
}

table.studentsStats td.open:hover .detail {
    opacity: .9;
}

table.studentsStats td:hover {
    background-color: #06c;
}

.rotate {
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    width: 1.5em;
}

.rotate div {
    -moz-transform: rotate(-90.0deg); /* FF3.5+ */
    -o-transform: rotate(-90.0deg); /* Opera 10.5 */
    -webkit-transform: rotate(-90.0deg); /* Saf3.1+, Chrome */
    filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=0.083); /* IE6,IE7 */
    -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=0.083)"; /* IE8 */
    margin-left: -10em;
    margin-right: -10em;
}

table.studentsStats th.rotate {
    height: 5cm;
}


.detail {
    position: absolute;
    width: 5cm;
    /* height:8vw; */
    background: rgb(220, 200, 170);
    /* margin:20px auto; */
    opacity: 0;
    text-align: center;
    vertical-align: middle;
    border-radius: 3px;
    white-space: nowrap;
    /* max-height: 0; */
    /* top: 0; */
    /* left: 0; */
}

/* .detail { */
/* content: attr(data-popuptext); */
/* background: rgba(0, 0, 0, 0.85); */
/* border-radius: 3px; */
/* width: 1cm; */
/* height: 1cm; */
/* opacity: 0; */
/* top: 0; */
/* left: 0; */
/* position: absolute; */
/* transition: 500ms ease; */
/* white-space: nowrap; */
/* max-height: 0; */
/* } */

.btnMove, .btnMove2 {
    background-color: rgb(220, 200, 170);
    font-size: 1vw;
    border: 1px solid yellowgreen;
    display: inline-block;
    color: black;
    text-decoration: none;
    height: 1vw;
    width: 1vw;
}

.btnMove:hover, .btnMove2:hover {
    background-color: rgb(180, 160, 130);
}

.btnMove2 {
    position: absolute;
    top: 50%;
    transform: translate(0, -50%)
}

.t1 {
    text-align: center;
    width: 100%
}

.t2 {
    text-align: center;
    width: 50%
}

.t3 {
    text-align: center;
    width: 33%
}

.succes {
    margin-left: auto;
    margin-right: auto;
    border: none;
    z-index: 10000;
    position: relative;
}

/* CLASSES DE REFACTOR */
.img {
    border-radius: 0 50% 50% 50%;
    width: 10%;
}

.conteneur {
    background-color: #F1F1F1;
    border: 0px;
}

.imgTitre {
    width : 250px;
    height : 250px;
    border-radius: 50%;
    border:3px solid black;
    object-fit: cover;
}

.textTitre{
    font-family: "Rockwell";
    font-size: 80;
}

.horizontal {
    margin-right: 250px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding:60px;
}

.horizontal > div {
    margin-right:100px;
    margin-left:100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.btn-msg {
    width: 80%;
    height: 100px;
    font-family: "Rockwell";
    font-size: xx-large;
    border: 5px solid black;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    background-color: #4CAF50;
    color: white;
    cursor: pointer;
}

.card {
    width: 80%;
    right: -10%;
    border: none;
}

.HAFcard {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.HAFColumn {
    width: 45%;
}

.hall-of-fame {
  top:25%
}

.hleft {
    width: 38%;
    left:  10%;
    border: none;
    position: absolute;
}
.hright {
    width: 38%;
    right:  10%;
    border: none;
    position: absolute;
}





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

.centerRow {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.textNone {
    font-family: "Rockwell";
    font-size: 40;
    font-weight: normal;
}

.textMsg {
    font-family: "Rockwell";
    font-size: 20;
    font-weight: normal;
}

.sans {
    font-family: "Rockwell";
}

.aile {
    height: 50%;
    width: 5%;
}

.reverse {
    -webkit-transform: scaleX(-1);
  transform: scaleX(-1);
}

.deco {
    height: 60px;
    width: 60px;
    border: 2px solid black;
    border-radius: 20%;
}


.pre {
    white-space:pre;
}

.card-list {
    display: grid;
    grid-gap: 1em;
}

.form-container {
    background-color: rgb(170,170,170);
    justify-content: center;
    width: 40%;
    margin-top: 70px;
    border-radius: 20px;
    padding: 20px; 
}

.margin-bot {
    margin-bottom: 30px;
}

.margin-bot-hard {
    margin-bottom: 70px;
}

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

.margin-top-hard {
    margin-top: 70px;
}

.margin-right {
    margin-right: 20px;
}
.carousel-inner .carousel-item.active,
.carousel-inner .carousel-item-next,
.carousel-inner .carousel-item-prev {display: flex;}

.carousel-inner .carousel-item-right.active,
.carousel-inner .carousel-item-next {transform: translateX(25%);}

.carousel-inner .carousel-item-left.active,
.carousel-inner .carousel-item-prev {transform: translateX(-25%);}

.carousel-inner .carousel-item-right,
.carousel-inner .carousel-item-left{transform: translateX(0);}

.carousel-control-prev {margin-left: -60px;}
.carousel-control-next {margin-right: -60px;}

.carousel-control-prev-icon {background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E") !important;}
.carousel-control-next-icon {background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E") !important;}

.carousel, .carousel-inner,
.carousel-item, .carousel > img {
    width: 300px !important;
    height: 50px !important;
}

.carousel {margin: 0 auto;}

.app-title {
    font-weight: bold;
    padding: 20px 0;
}

.per-circ {
    position: relative;
    text-align: center;
    width: 110px;
    height: 110px;
    border-radius: 100%;
    background-color: #002200;
    background-image: linear-gradient(91deg, transparent 50%, #ccc 50%), linear-gradient(90deg, #ccc 50%, transparent 50%);
}

.per-circ .per-circ-inner {
    position: relative;
    top: 10px;
    left: 10px;
    text-align: center;
    width: 90px;
    height: 90px;
    border-radius: 100%;
    background-color: #eee;
}

.per-circ .per-circ-inner div {
    position: relative;
    top: 22px;
    color:#777;
}

.per-circ .per-circ-stat {
    font-size: 30px;
    line-height:1em;
}

.per-circ .per-circ-msg {
    font-size: 15px;
    line-height:1em;
}

.table-stat {
    border-collapse: collapse;
    table-layout: fixed;
    width: 200px;
}

.table-stat, .td-stat {
    border-bottom: 1px solid #ddd;
}

.td-stat, .th-stat {
    overflow: hidden;
    width: 50px;
    border: 1px solid black;
}


.td-stat {
    height: 1.6vw;
}

.th-stat {
    background-color: rgb(220, 200, 170);
}
