/****** SECTION *******/

.title_section + h2{
	width: 100%;
	color: #E0DADA;
	text-align: center;
	margin-bottom: 20px;
	padding: 15px 0;
	background-color: rgba(61,61,61,0.9);
}

.title_video{
	transition: .1s all;
}

.title_video:hover{
	background-color: #FF503F;
	text-decoration: underline;
	color: #E0DADA;
}

/* 
On applique le fonc vert que si soit 
	- le formulaire est validé et que les réponses sont correctes 
	- le pharmacien est en train de saisir les réponses
*/
form.answered .input_hidden:checked + span.correct, 
form:not(.answered) .input_hidden:checked + span {
    background-color: #5bb15b;
    border-color: transparent;
}
.input_hidden:checked + span.wrong {
	background-color: #ff4d4d;
}
.input_hidden:checked + span.correct + label, 
form:not(.answered) .input_hidden:checked + span + label {
    background-color: rgba(91, 177, 91, 0.2);
}

.cours.lock > .infos span.hover.lock {
	position: relative;
	background-color: orange;
	margin-left: 1vw;
}
.cours.lock > .infos span.hover.lock > svg {
	color: #fff;
}

/****** SECTION *******/

#container_cours{
	display: flex;
	flex-direction: column;
}

#container_cours_element{
	display: flex;
	position: relative;
	justify-content: center;
	align-items: center;
}

#container_cours_element.alone{
	margin-bottom: 50px;
}

#container_video{
	display: flex;
	flex-direction: column;
	width: 960px;
	background-color: #e8e8e8;
	color: #3D3D3D;
}

.switch_cours{
    position: absolute;
}

.switch_cours_infos{
	width: 0;
	overflow: hidden;
	transition: .5s all;
}

.switch_cours:hover .switch_cours_infos{
	width: 100%;
}

.switch_cours_infos p{
	width: 250px;
    font-size: 27px;
    text-align: center;
}

.switch_cours a{
	display: flex;
	align-items: center;
	padding: 20px 30px;
	color: #E0DADA;
	background-color: #3D3D3D;
	width: 25px;
	border-radius: 0;
	transition: 0.3s all;
}

.switch_cours svg{
	color: #fff;
}

.switch_cours:hover a{
	width: 250px;
	background-color: #E0DADA;
}
.switch_cours:hover a > div > p{
	color: #FF503F;
}
.switch_cours:hover a > svg{
	color: #3D3D3D;
}

#prev_cours{
	left: 0;
}

#prev_cours a{
	justify-content: flex-start;
}

#prev_cours a:hover{
	border-radius: 0 20px 20px 0;
}

#next_cours{
	right: 0;
}

#next_cours a{
	justify-content: flex-end;
}

#next_cours a:hover{
	border-radius: 20px 0 0 20px;
}

#container_test{
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 20px;
	margin: 10px 0;
}

#container_test > div:first-child {
	display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #e8e8e8;
    padding: 20px 30px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.cours_desc {
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cours_desc > p, .cours_desc > h3 {
    width: 60%;
    text-align: left;
}

.cours_desc > p {
    font-style: italic;
    margin: 15px;
}

#video p{
	font-size: 40px;
	color: gray;
}

#video{
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: lightgray;
	width: 100%;
	height: 100%;
}

#video_title{
	font-size: 25px;
	padding: 10px 20px;
}

#description{
	padding: 10px;
}

#description h3{
	width: 100%;
	margin-bottom: 15px;
}

#description > p{
	font-style: italic;
}

#container_cours form{
	flex-direction: column;
	width: 100%;
}

aside.intitule {
    background-color: #e8e8e8;
    border-radius: 30px;
    display: flex;
    align-items: center;
}

.intitule div {
    padding: 1vw;
    background-color: #20d2c2;
    color: #fff;
    border-radius: 100%;
    width: 1vw;
    height: 1vw;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.intitule div > svg {
	color: #fff;
}

.intitule h3 {
    margin: 0 20px;
}

.container_question{
	display: flex;
	flex-direction: column;
	margin-bottom: 25px;
	align-items: flex-start;
	contain: layout;
}

.reponse {
    font-size: 1.3vw;
    margin: .5vw  0;
    margin-left: 3vw;
    display: flex;
    align-items: center;
    width: 90%;
}

.reponse label {
    margin-left: .5vw;
    padding: .8vw 1.3vw;
    border-radius: .3vw;
    font-size: 1.3vw;
    color: black;
    background-color: transparent;
    transition: background-color .1s;
}

form:not(.answered) .reponse {
    cursor: pointer;
}
form:not(.answered) .reponse:hover > label {
	background-color: #e8e8e8;
}

.label_reponse{
	background-color: #E0DADA;
	color: #3D3D3D;
	border-radius: 0;
}

.reponse > span {
    border-radius: 100%;
    text-align: center;
    padding: .6vw;
    border: .15vw solid #b2b2b2;
    display: flex;
    align-items: center;
    justify-content: center;
}
.container_question.multi .reponse > span {
    border-radius: 3px;
}

/* Taux de réussite */

#container_test > div > p:first-of-type {
    font-size: 30px;
    margin: 10px 0;
    padding: 10px;
    border-radius: 5px;
    background-color: #fff;
}

#container_test > div > p:last-of-type {
	font-size: 20px;
	margin: 10px 0;
}

#prctSuccess {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100px;
    height: 100px;
    font-size: 6vh;
    color: #fff;
    padding: 10px;
    border-radius: 100%;
    position: relative;
}
#prctSuccess > span{
    color: #fff;
}

/* LEGENDE */

#legende {
    display: inline-flex;
    align-items: center;
    margin: 10px 0;
    border-radius: 5px;
    background-color: #fff;
}

#legende > div {
    display: flex;
    align-items: center;
    margin: .5vw;
    padding: .7vw;
}

#legende > div > div {
    font-size: 1.5vw;
    padding: 10px;
    margin-left: 5px;
    border-radius: 5px;
    background-color: rgba(91, 177, 91, 0.2);
}

#legende p {
    color: #3D3D3D;
    vertical-align: middle;
    padding: 0 5px;
    font-size: 1.5vw;
}

#legende h2 {
    text-align: center;
    padding-right: 50px;
    color: #E0DADA;
}

#legende span {
    width: 1vw;
    height: 1vw;
    border-radius: 100%;
}

/* Vidéo bloqués */

#locked {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    font-size: 1vw;
    z-index: -1;
    transition: background-color .1s;
    top: 0;
}

#locked > div {
    opacity: 0;
    top: 8vh;
    width: 50%;
    background-color: #fff;
    padding: 1.5vw 2vw;
    position: relative;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    transition: top .3s, opacity .1s;
}
    
#locked > div > p {
    font-size: 2vw;
    display: flex;
    align-items: center;
    justify-content: center;
}
#locked > div > p > svg {
	margin-left: 10px;
	width: 25px;
    font-size: 25px;
    padding: 10px;
    background-color: #ff5c5c;
    color: #fff;
    border-radius: 100%;
}

#locked > div > p + svg {
    position: absolute;
    top: 0;
    right: 0;
    transform: translate3d(50%, -50%, 0);
    padding: 10px;
    background-color: #fff;
    border: 2px solid #20d2c2;
    color: #20d2c2;
    border-radius: 100%;
    font-size: 1.2vw;
    transition: border .1s, color .1s, background-color .1s;
    width: 1em;
}
#locked > div > p + svg:hover {
    color: #fff;
    border: 0;
    background-color: #20d2c2;
}

#locked > div > div > p {
    font-size: 1.5vw;
}

#locked > div > div:nth-child(2) > div {
    font-size: 1.3vw;
    padding: 10px 0;
    display: flex;
    align-items: center;
}

#locked > div > div:nth-child(2) > div > svg {
    flex: unset;
    display: inline-flex;
    padding: 5px;
    background-color: #20d2c2;
    color: #fff;
    width: 20px;
    height: 20px;
    justify-content: center;
    align-items: center;
    border-radius: 100%;
    margin-right: .5vw;
}

#locked > div > div:nth-child(2) > div > p {
	flex: 1;
}

#locked.show {
    z-index: 100;
    background-color: rgba(0,0,0,.3);
}
    
#locked.show > div{
    top: 0;
    opacity: 1;
}

#locked > div > div {
    padding-top: 2vh;
    display: flex;
    flex-direction: column;
}

#locked > div > div > div {
    display: flex;
    align-items: center;
    margin: 5px;
    font-size: 1.3em;
}

#locked > div > div > div > svg {
    margin: 0 10px;
    background-color: #20d2c2;
    color: #fff;
    padding: 10px;
    border-radius: 100%;
}

#list {
    width: 70%;
    display: flex;
    flex-flow: wrap;
}

#list > .user {
    display: flex;
    align-items: center;
    padding: 1vw 2vw;
    margin: 10px;
    font-size: 20px;
    background-color: lightgray;
    border-radius: 5px;
    cursor: pointer;
    transition: box-shadow .2s;
}
#list > .user:hover {
    box-shadow: 0 0 0 8px #FF503F;
}

#list > .user > p {
    margin-left: 15px;
    font-size: 2.5vw;
    color: #2c2c2c;
}

#list > .user > svg {
    color: grey;
}

#newMdp svg {
    margin: 0 1vw;
}
#newMdp input {
    background-color: #f6f6f6;
}