/****************************
		Générales
****************************/
.tLeft{
	text-align:left;
}

.tRight{
	text-align:right;
}

.info{
	margin-bottom:10px;
}

.pointer{
	cursor:pointer;
}

.auto{
	margin:auto;
}

.none{
	display:none;
}

.block{
	display:block;
}

.inline-block{
	display:inline-block;
}

.middle{
	vertical-align:middle;
}

.center{
	text-align:center;
}

.right{
	float:right;
}

.flex{
	display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: space-evenly;
    align-items: center;
}

a{
	display:block;
	text-decoration:none;
	color:inherit;
}

a.noMarge{
	margin-left:-16px;
}

img.max-image{
	width:100%;
	margin:3px;
}

/**********************
		Perso
**********************/
body{
	overflow-x: hidden;
	overflow-y: auto;
}

section{
	text-align:center;
	align-items: center;
    justify-content: center;
	width:100vw;
	margin:auto;
}

.card-body{
	text-align:justify;
	height: 200px !important;
    overflow-y: auto;
}

.card-title{
	text-align:center;
	margin:0 !important;
	font-size: 1.5em;
	font-weight:900;
	/*height:50px;*/
}

section .card{
	width: 350px;
	box-sizing: border-box;
	display: inline-flex;
	max-width: 100vw;
    margin: 3em 1em 1em 1em;
    vertical-align: top;
    position: relative;
    flex-direction: column;
    word-wrap: break-word;
}

#notification{
	position: fixed;
	bottom:0;
	right:10px;
}

.form-group{
	margin:auto;
	text-align:center;
	width:100%;
}

.recherche{
	/*width:99vw !important;*/
	max-width:350px !important;
	margin:auto !important;
}

.card-footer img{
	width: auto !important;
    max-width: 100% !important;
	display:block !important;
	margin: auto auto 5px auto !important;
}

#iconesLiens button{
	border-radius: 2em;
    height: 54px;
    width: 54px;
	line-height:54px;
    padding: 0 0.2em;
    font-size: 0.8em;
    margin: 0.2em;
}

#iconesLiens button i, #iconesLiens button img{
	width:37px !important;
	height:37px !important;
	color:black;
}

#iconesLiens
{
	display:flex;
	font-size:3em;
	flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

section > img{
	width: 32% !important;
    margin: 5px !important;
}

.alert{
	font-size: 20px;
}

section.hAuto .card-body{
	height: auto !important;
	text-align:center !important;	
}

.lienNewTab, .lienNewTab:hover{
	color:inherit;
}

#iconesLiens a img, #iconeFbxConnect{
	width:1em;
	height:1em;
	margin-top: -0.2em;
	vertical-align:middle;
}

#iconesLiens span{
	display:inherit;
}

#iconesLiens div{
	position: absolute;
    right: 0;
	display:flex;
}

#params{
    font-size:0.75em !important;
	/*opacity:0;*/
}


#iconesLiens button.texte a{
    font-size: 0.4em;
    line-height: 1em;
	font-weight:900;
    color: black;
    text-decoration: none;
}

.originalCardFav{
	display:none !important;
}

/**********************
	Ajout/Modif RT
**********************/
.divToTextArea, #formRT textarea{
	height:15em;
	overflow-y:auto;
	white-space: pre-wrap;
	text-align:justify;	
}

#formRT{
	width: 95%;
}

.bEditeRT{
    color: black !important;
}

.dessusDiv{
	position: absolute !important;
    bottom: -2.6em;
    left: 50%;
    transform: translateX(-50%);
	opacity:0.5;
	display:none;
}

.card:hover .dessusDiv, .card.hovered .dessusDiv{
	display:block;
}

.favoris{
	color:yellow !important;
}

section .favCard{
	border-color: yellow !important;
}

/*********************
	Calcul mobile
*********************/
.form-select {
    display: block;
    width: 100%;
    padding: 0.375rem 2.25rem 0.375rem 0.75rem;
    -moz-padding-start: calc(0.75rem - 3px);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #303030;
    background-color: #fff;	
    border: 1px solid #222;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    appearance: none;
}

.selectInDiv{
	position: absolute;
    right: 1.5em;
    font-size: 1.4em;
    margin-top: -1.4em;
    color: var(--gray-dark);
}

.mt-4 {
    margin-top: 1.5rem !important;
}

.form-label {
    margin-bottom: 0.5rem;
}

.form-group label {
    display: block;
	text-align: left;
}

.form-check-input:checked[type="radio"] {
    background-image: url(data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e);
}

.form-check-input:checked {
    background-color: #375a7f;
    border-color: #375a7f;
}

.form-check-input[type="radio"] {
    border-radius: 50%;
}

.form-check .form-check-input {
    float: left;
    margin-left: -1.5em;
}

.form-check {
    display: block;
    min-height: 1.5rem;
    padding-left: 1.5em;
    margin-bottom: 0.125rem;
}

.form-check-input {
    width: 1em;
    height: 1em;
    margin-top: 0.25em;
    vertical-align: top;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-print-color-adjust: exact;
    color-adjust: exact;
}

.form-group input, .form-group  button, .form-group select, .form-group optgroup, .form-group textarea {
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

#calculMobile .modal-body,
#calculDedo .modal-body{
	display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    align-items: stretch;
    justify-content:space-evenly;
}

#calculMobile .modal-body form, #calculMobile .modal-body div.card{
	margin:1em;
	width:50%;
}

select.alreadyAutoComplete{
	position: absolute;
	width:44.5%;
	display:none;
}

/******************
	Dédos
******************/
#calculDedo .modal-body form
{
	margin:1em;
	width:70%;
}

#flexVertical{
	display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: stretch;
    justify-content: flex-start;
    align-items: center;
    margin: 0 0 0 1em;
}

#calculDedo .form-check{
	display:block !important;
	white-space:nowrap;
	text-align:center;
}

table tr{
	vertical-align:middle;
	text-align:center;
}

table th, table td{
	vertical-align:middle;
	text-align:center;
}

.form-check, .form-check-input{
	z-index:0;
}

select{
	z-index:1;
}

#calculDedo input, #calcDedo td{
	text-align:right !important;
}

#calculDedo textarea{
    height: 10em;
	margin-bottom:1em;
}

#montantTotal{
	background-color:var(--success);
}

#calculDedo .input-group-text{
	padding-left:0;
	padding-right:0;
}

/* Tutoriel */
#tutoBarre h5{
	font-size:4em;
}

#tutoBarre .modal-body{
	font-size:1.7em;
}

#tutoBarre .modal-footer{
	display:block !important;
}

#tutoBarre .btn:first-child{
	float:left;
}

#tutoBarre .btn:not(:first-child){
	float:right;
}

.zindexEleve{
	z-index:10000;
	position:relative;
}

.popover:not(.orange) {
    background-color: var(--primary) !important;
}

.popover.orange {
	background-color: var(--warning) !important;
}

.popover-body{
	color: black !important;
	font-size:1.5em !important;
}

.popover:not(.orange).bs-popover-left .arrow:after,  .popover:not(.orange).bs-popover-right .arrow:after{
	border-left-color: var(--primary)  !important;
	border-right-color: var(--primary)  !important;
}

.popover:not(.orange).bs-popover-top .arrow:after, .popover:not(.orange).bs-popover-bottom .arrow:after {
	border-top-color: var(--primary)  !important;
	border-bottom-color: var(--primary)  !important;
} 

.popover.orange.bs-popover-left .arrow:after,  .popover.orange.bs-popover-right .arrow:after{
	border-left-color: var(--warning)  !important;
	border-right-color: var(--warning)  !important;
}

.popover.orange.bs-popover-top .arrow:after, .popover.orange.bs-popover-bottom .arrow:after {
	border-top-color: var(--warning)  !important;
	border-bottom-color: var(--warning)  !important;
} 

#tutoBarre .modal-dialog:not(.modal-dialog-centered){
	right: 2em;
    position: absolute;
}

#tutoBarre .modal-dialog:not(.modal-dialog-centered).left{
	left: 2em;
	right:auto;
}

#rAdresse{
	display: flex;
    flex-wrap: nowrap;
    justify-content: center;
}

#rAdresse div.form-group{
	margin: 1em;
}

.clignote{
	animation : clignote 1s infinite;
}

@keyframes clignote{
    0%{opacity: 1;}
    50%{opacity: 0;}
    100%{opacity: 1;}
}

/**********************
	PARAMETRES
**********************/
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

.sliderHF{
	padding-left:1em;
	flex-wrap: nowrap;
    align-content: space-around;
    justify-content: center;
    align-items: center;
	display: flex;
}

.sliderHF label{
	margin: 0 0.5em;
}

#parametres.dropdown-menu {
	text-align:center;
	display:none;
    margin: 0em !important;
	top: 5em;
    right: 1.6em;
    left: auto;
    width: fit-content;
    background-color: var(--blue);
    color: black;
}

#parametres > div{
	display: flex;
	justify-content: space-evenly;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: center;
}

/**********************
		Scroll
***********************/
/* width */
::-webkit-scrollbar {
  width: 8px;
  height:8px;
  cursor:pointer !important;
}

/* Track */
::-webkit-scrollbar-track {
  background: #F8F5F0; 
  cursor:pointer !important;
}
 
/* Handle */
::-webkit-scrollbar-thumb {
  background: #3e3f3a;
  cursor:pointer !important;
  /*background: #8E8C84; */
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #3E3F3A; 
  cursor:pointer !important;
}

/*********************
	Connexion
*********************/
#formConnexion
{
	margin-top: 50vh;
    transform: translateY(-50%);
}

#formConnexion img{
	width: 11em;
    float: right;
}
