/** Global */

/** Login Page E-learning */

.login-page {
	background: #f8f9fa;
}

.formulaire-login,
.login-page-cta-app {
    max-width: 400px;
    margin: 5% auto auto;
    padding: 2em;
    background: #fff;
    border: 1px solid #e6e6e6;
    text-align: center;
}


.fitness-icon {
	margin-bottom: 1em;
}

.formulaire-login h1 {
    font-size: 2em;
    font-family: 'helvetica-thin', helvetica, verdana, arial;
    font-variant: all-small-caps;
    margin-bottom: 0;
}

.formulaire-login h1+p {
	color: #999;
	font-variant: all-small-caps;
}

.formulaire-login input {
	width: 100%;
	margin-bottom: 1em;
	padding: .3em .3em .3em .5em;
	border: 1px solid #ababab;
	outline: none;
}

.formulaire-login input[type="submit"] {
	padding-left: 0;
	font-variant: all-small-caps;
	color: #fff;
	text-shadow: 1px 1px #648867;
	background-color: #90c695;
	border: 1px solid #90c695;
}

.formulaire-login input[type="submit"]:hover {
	background: #648867;
	transition: .3s;
	cursor: pointer;
}

.formulaire-login input:active,
.formulaire-login input:focus {
	border: 1px solid #90c695;	
}

.formulaire-login ::placeholder {
	font-size: .8em;
}

.fitness-login-lost {
	font-size: .7em;
	color: #999;
}

.fitness-login-lost:hover {
	text-decoration: none;
	transition: .3s;
}

@media(max-width: 767px) {
	.formulaire-login input {
		padding: .5em;
	}

	.login-page-cta-app {
		display: block;
		border-color: 1px solid red;
		margin: 1em auto 2em;
		padding: 2em;
	}
	
	.login-page-cta-app a:hover {
	    background: #7dab81;
	    text-decoration: none;
	    transition: .3s;
	}
	
	.login-page-cta-app img {
		position: relative;
		top: -3px;
		margin-right: 0.5em;
	}
	
}
.password-div {
   position: relative;
}
.login-input {
    padding-right: 40px!important;
    width: 335px!important;
}
.show-password {
    position: absolute;
    right: 10px;
    bottom: 50%;
    color: #9d9d9d;
    cursor: pointer;
}

/** Boxs types et categories d'exercices */

.cat-tag {
    display: inline-block;
    padding: 2px 5px;
    text-align: center;
    font-size: 11px;
    background-color: #e6e6e6;
    color: #999999;
    margin: 2px 0px;
}

.cat-front {
	font-size:1.25rem;
	font-variant: all-small-caps;
    text-align: right;
    width:12em;
}

.cat-tag-link:hover {
    text-decoration: none;
}

.cat-tag-gra {
    /*background-color: #ffddff;*/
    color: #db01db;
    /*border: 1px solid #ff4dff;*/
}

.cat-tag-voc {
    /*background-color: #ccddff;*/
    color: #4d88ff;
    /*border: 1px solid #4d88ff;*/
}

.cat-tag-comp {
    /*background-color: #ebccff;*/
    color: #c266ff;
    /*border: 1px solid #c266ff;*/
}

.cat-tag-bv {
    /*background-color: #f2e6d9;*/
    color: #bf8040;
    /*border: 1px solid #bf8040;*/
}

.cat-tag-gra {
    /*background-color: #ffddff;*/
    color: #db01db;
    /*border: 1px solid #ff4dff;*/
}

.cat-tag-glo {
    color: #90c695
}

.answer-input {
    display:inline-block;
    width: 200px;
}

.right-answer-input {
    border-color: green;
}

.wrong-answer-input {
    border-color: red;
}

.wrong-answer, .multi-QCM-bad{
    color: red;
}

.wrong-answer, .right-answer{
    margin-left: 15px;
    margin-bottom: 15px;
    margin-right: 7px;
}

.right-answer, .multi-QCM-good{
    color: green;
}

.multi-QCM-good{
    font-weight: bold; 
}

.answer-label {
    cursor:pointer;    
}

.visibility{
    visibility: hidden;
    display: none
}

/* 
 * EXO DRAG AND DROP 
 */
#Glossary {
    min-height:225px;
}
.draganddrop-draggable {
    cursor: move;
    height:30px;
    padding:0.25em 1em 0.25em 1em;
    border:solid 1px #888888;
}

.draganddrop-draggable, .draganddrop-gap-right-answer {
    -moz-user-select: none; /* Firefox */
    -webkit-user-select: none; /* Chrome, Safari, Opéra depuis la version 15 */
    -ms-user-select: none; /* Internet explorer depuis la version 10 et Edge */
    user-select: none; /* Propriété standard */
}
/* "sac" depuis lequel on prends les mots à drag and drop */
#draganddrop-bag  {
    margin:0px 10px 0px 10px;
    min-height:54px;
    border: dashed 2px #ccc;
    text-align: center
    display:flex;
    align-content:space-between;
    flex-wrap:wrap;
    padding:5px;
}
/* plateau sur lequel on pose les mots */
.draganddrop-plateau  {
    margin: 0px 1px 0px 10px;
    text-align: center;
    display: flex;
    /* justify-content: space-around; */
    align-content: space-around;
    flex-wrap: wrap;
    padding: 15px 5px 10px 0px;
}
/* trou constituant le plateau */
.draganddrop-gap {
    z-index:unset !important;
    padding:0px;
    height:30px;
    border: dotted 1px #888888;
    min-width:20px;

}
.draganddrop-dropable,
.draganddrop-draggable,
.draganddrop-gap-right-answer {
    text-align:center;
    min-width:60px!important;
    margin: 5px 5px 0px 5px;
}

/* css des mots drag and droppé neutre, juste et faux*/
.draganddrop-draggable, 
.draganddrop-gap-right-answer{
    padding:0.2em;
    min-width:20px;
}
.draganddrop-gap-wrong-answer {
    border:solid 1px red;
}
.draganddrop-gap-right-answer {
    border: solid 2px green;
    height:30px;
}
/* quand les mots sont posés dans des trous on enleve leur margin */
.draganddrop-dropable .draganddrop-draggable {
    margin:0px;
}
/* bouton magique */
.draganddrop-magic,.draganddrop-magic:active,.draganddrop-magic:focus ,
.draganddrop-magic-homepage,.draganddrop-magic-homepage:active,.draganddrop-magic-homepage:focus  {
    outline: 0;
    background-color:transparent;
    border:none;
    cursor:pointer;
    font-size:30px;
    color:#dc3545;
    text-decoration:none;
}
.draganddrop-magic,.draganddrop-magic:active {
    margin-left:40px;
    float:right;
}
.draganddrop-magic-homepage,.draganddrop-magic-homepage:active {
    margin-left:0px;
}

.draganddrop-preview {
    display: flex;
    margin: 20px 10px 0px 10px;
}

/* taille de l'exo homepage */
.cta-home .draganddropcontent {
    height:250px;
}

/* Text solution quand drag and drop correct*/
.draganddrop-good-answer {
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 0px;
}
/* bouton de homepage pour passer à l'exercise suivant ou verifier l'exo*/
.continueexercise,.checkexercise {
    float:right;
}

.fit-question {
    margin-left: 10px;
}

.fit-glossary {
    display: flex;
}

.fit-question-box .info-flag,
.fit-question .info-flag,
.draganddrop-preview .info-flag {
    width: 34px;
    height: 20px;
    margin-right: 15px;
}
.companyThemeHeader {
    height: 30px;
    margin: 0px 5px 0px 10px;
}

/* Footer */


.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 60px;
    margin-top: 2em;
    line-height: 60px;
    font-size: .8em;
    text-align: center;
    color: gray;
    background-color: #4d4d4d;
}
.footer p {
	margin-bottom: 0;
}

.hidden {
    display:none;
}



/*  Loader  */

/* for a full size blocking loader */
#body-loader {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.2);
    z-index: 10000 !important;
}

#body-loader .loader {
    border: 16px solid #f3f3f3; /* Light grey */
    border-top: 16px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 120px;
    height: 120px;
    position:fixed;
    left:45%;
    top:40%;
    animation: spin 2s linear infinite;
}

/* for a medium size blocking loader */
#body-loader-medium {
    position:absolute;
    bottom:0px;
    overflow: hidden; 
    right:0px;
    width: 100%;
    height: 100%;
    padding:30px;
    background-color: rgba(0,0,0,0.2);
    z-index: 10000 !important;
}

#body-loader-medium .loader {
    border: 16px solid #f3f3f3; /* Light grey */
    border-top: 16px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 120px;
    height: 120px;
    position:fixed;
    right:37%;
    top:50%;
    animation: spin 2s linear infinite;
    
}

/* for a regular loader */
.loader{
    border: 5px solid #f3f3f3; /* Light grey */
    border-top: 5px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* THEMES */
.arrow-theme {
    font-size: 20px;
    display: inline-block;
    transform: rotateY(180deg);
}
