
/*styles*/
/* body{
	background-image: url(../img/fondWeb.jpg);
    background-repeat: repeat;
} */

html {
    background-color: #000;
}

.app-name.crypto-theme, #tl-mdpoublie.crypto-theme, #tl-inscriptionnv.crypto-theme, #appVersion.crypto-theme, #zoneMdpOublie.crypto-theme .btnQuitter, #zoneInscription.crypto-theme .btnQuitter, #tl-mentions.crypto-theme {
    color: #fff;
}

body{
    background-image: linear-gradient(to bottom, #415c75 0%, #01192f 40%);
}

#appliLogin{
	min-height: 100vh;
}

#appli{
	padding-bottom: 2rem !important;
	min-height: 100vh;
}

#zoneInscription, #zoneMdpOublie{
	display:none;
	min-height: 100vh;
}

#appHeader{
	position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    margin: 0px;    
    border-bottom: solid 1px #9a9a9a;
    background-color: #9f9f9f;
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
    z-index: 1000;
}
#appFooter{
	position: fixed;
    bottom: 0px;
    left: 0px;
    width: 100%;
    margin: 0px;
    border-top: solid 1px #9a9a9a;
    background-color: #9f9f9f;
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
    z-index: 10000;
}

#appBody{
	/* position: relative; */
	padding-top: 2.7rem;
    padding-bottom: 1rem;
	max-width: 100vw;
	min-height: 100%;
	/* height: calc(100% - 1px);
	-webkit-overflow-scrolling: touch; */
}

#appStorage{
	display:none;
}

.pageTitle{
	font-size: 1.2rem;
    font-weight: bold;
    background-color: #14a2b8;
    color: #fff;
    border-radius: 0.5rem;
    padding: 0.5rem;
    border: solid 1px #ffffff;
	box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
}

.alert{
	margin-bottom: 0rem;
}

.maxW50{
	max-width: 50%;
}

.modal-header {
	padding: .5rem 1rem;
}
.modal-body {
	overflow: auto;
	max-height: 65vh;
}
.modal-footer {
	padding: .25rem;
}

.click, .clic{
	cursor: pointer;
}
.move{
	cursor: move;
}
.grab{
	cursor: grab;
}
.copy{
	cursor: copy;
}

.fl-r{
	float:right;
}

.fl-l{
	float:left;
}

.ajx-loading{
	width: 50px;
}

/* Spinner d'attente */
#waiting-overlay {
	position: fixed;
	width: 100%;
	height: 100%;
/* 	background-color: rgba(1, 1, 1, 0.4); */
/* 	background-color: rgb(1 1 1 / 13%); */
	z-index: 5;    
	top: 0px;
    left: 0px;
/* 	display: none; */
}

/* img/loading.gif (placeholder du lazyload ; ailleurs : img/loading.svg, 80 px) est dessiné en 240 px : affiché à 80 px max si le template ne fixe pas sa taille */
img[src$="loading.gif"]:not([width]):not([height]) {
	max-width: 80px;
	width: 100%;
}

/* pastille sombre + arc orange qui tourne et s'étire (même dessin que img/loading.svg et loading.gif), pour tous les thèmes */
#waiting-loading {
	position: absolute;
	left: 50%;
	top: 50%;
	z-index: 1000;
	width: 88px;
	height: 88px;
	margin: -44px 0 0 -44px;
	border-radius: 22px;
	background-color: rgba(17, 17, 20, 0.94);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	border: 1px solid #2A2A31;
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
	display: flex;
	align-items: center;
	justify-content: center;
}
#waiting-loading .wait-spin {
	width: 52px;
	height: 52px;
	animation: spin 1.4s linear infinite;
}
#waiting-loading .wait-track {
	fill: none;
	stroke: rgba(161, 161, 170, 0.25);
	stroke-width: 4.5;
}
#waiting-loading .wait-arc {
	fill: none;
	stroke: #F7931A;
	stroke-width: 4.5;
	stroke-linecap: round;
	animation: wait-dash 1.4s ease-in-out infinite;
}
@keyframes wait-dash {
	0% { stroke-dasharray: 1, 150; stroke-dashoffset: 0; }
	50% { stroke-dasharray: 90, 150; stroke-dashoffset: -35; }
	100% { stroke-dasharray: 90, 150; stroke-dashoffset: -124; }
}
@-webkit-keyframes spin {
	0% { -webkit-transform: rotate(0deg); }
	100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}
/* Fin spinner */

.table-sm td, .table-sm th {
    padding: .2rem;
}

.toast-info {
    background: initial;
    color: #0c5460 !important;
    background-color: #d1ecf1 !important;
    border-color: #bee5eb !important;
}
.toast-warning {
    background: initial;
    color: #856404;
    background-color: #fff3cd;
    border-color: #ffeeba;
}
.toast-danger {
    background: initial;
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}
.toast-success {
    background: initial;
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}
.toast-primary {
    background: initial;
    color: #004085;
    background-color: #cce5ff;
    border-color: #b8daff;
}

.toastify{
	border-radius: 5px;
}
.toast-text{
	float:left;
    max-width: 70vw;
}

#pageLightModal{
	z-index: 10001;
}
#myLightModal{
	position: fixed !important;
	top: 20vh;
	left: 10vw;
	z-index: 10001;
}

.bootstrap-select button.btn{
	padding: 0.1rem 0.2rem;
    font-size: .875rem;
    line-height: 1;
    border-radius: 0.2rem;
	border: solid;
}

/* Cas browser width> 1200px */
@media (min-width: 1200px){
	#appHeader{
		position:sticky !important;
	}

	#appFooter{
		position: sticky !important;
	}

	#appBody{
		padding-top: 0rem !important;
		padding-bottom: 0rem !important;
	}

	#appliLogin, #appli {
		padding-bottom: 0rem !important;
	}
}

/* écran « publicité ou Premium » (N.5) : au-dessus de l'application et des fenêtres, défilement si les avantages Premium sont ouverts */
#ecranPub{ position:fixed; top:0; right:0; bottom:0; left:0; z-index:10002; /*au-dessus de la barre du bas (10000) et des fenêtres légères (10001)*/ overflow-y:auto; background:rgba(10,10,12,.94); padding:48px 0 24px; }
#ecranPub .ecran-pub-carte{ max-width:480px; margin:0 auto; text-align:center; }
#ecranPub .ecran-pub-logo{ width:56px; height:56px; margin-bottom:12px; }
#ecranPub #ecranPubTexte{ margin-bottom:18px; }
/* thèmes autres qu'Onyx (html[data-theme], posé par App.js) : la carte n'a pas le fond du thème Onyx, texte clair sur le voile sombre */
html[data-theme]:not([data-theme="onyxTheme"]) #ecranPub .ecran-pub-carte{ color:#F2F2F4 !important; background-color:#16161A !important; border:solid 1px rgba(255,255,255,.35); }
html[data-theme]:not([data-theme="onyxTheme"]) #ecranPub #ecranPubPremium{ color:#ffc107; border-color:#ffc107; }
html[data-theme]:not([data-theme="onyxTheme"]) #ecranPub #ecranPubDeconnexion{ color:#F2F2F4; text-decoration:underline; }

