/* SPECIFIQUE. */
:root {
	--card-border-color: #009fe3;
	--edit-border-color: #009fe3;
	--user-border-color: #009fe3;
	--user-font-color: #009fe3;
	--version-font-color: gray;
	--initiales-font-color: white;
    --erreur-font-color: red;
    --black-font-color: #3b3b3b;
    --btn-bgd-color: #009fe3;
    --btn-font-color: white;
    --btnActif-border-color: #364c9d;
	--btnActif-bgd-color: #364c9d;
	--button-border-color: #3b3b3b;
	--tableau-header-bg-color: #3b3b3b;
}

body:after{
	display: none;
	content:
	url("../img/fondAppli.jpg")
	url("../img/logo_small.jpg")
	url("../img/home.png")
	url("../img/parametres.png")
	url("../img/projets.png")
	url("../img/save.png")
	url("../img/loader.gif")
	url("../img/user.png") 
	url("../img/mdp.png")
}

html, body{
	font-size: 14px;
	font-family: 'Source Sans Pro', sans-serif;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
}

select, option, input, button{
	outline-style: none;
	box-shadow: none;
	border-color: transparent;
	font-size: 14px;
	font-family: 'Source Sans Pro', sans-serif;
}

#internetExplorer{
	position: absolute;
	width: 100%;
	height: 100%;
	z-index: 100;
	background-color: white;
	display: none;
}

#labelleInternetExplorer{
	position: absolute;
	width: 100%;
	height: 45px;
	text-align: center;
	font-size: 16px;
	top: calc(50% - 45px/2);
}

#imageDesole{
	position: absolute;
	width: 100%;
	height: 90px;
	top: calc(50% - 45px/2 - 100px);
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	background-image: url("../img/Desole_Picto_001.png");
}

#fond{
	overflow: hidden;
	width: 100%;
	height: 100%;
	background-position: 0px 0px;
	background-repeat: no-repeat;
	background-size: cover;
	position: fixed;
	top: 0px;
	background-image: url("../img/fondAppli.jpg");
}

#header{
	width: 100%;
	height: 80px;
	z-index: 11;
	position: fixed;
	background-color: white;
	box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
	border-bottom:1px solid silver;
}

#lbTitre{
	width:calc(100% - 344px);
	height: 48px;
	float: left;
	margin-top: 10px;
	margin-bottom: 10px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	background-image: url("../img/titreAppli.png");
}

#menuPicto{
	float: left;
	margin-left: 7px;
	width: 165px;
	height: 100%;
}

#infosUser{
	float: left;
	width: calc(100% - 38px);
	margin-right: 5px;
	height: 100%;
	line-height:80px;
	text-align:right;
	text-transform: uppercase;
	text-decoration: underline;
	cursor: pointer;
}

#infosVersions{
	position: absolute;
	text-align: center;
	width: 100%;
	height: 10px;
	line-height: 10px;
	font-size: 12px;
	top: 60px;
	left: 0px;
	color: var(--version-font-color);
}

#logoAldes, #pictoHome, #pictoDossiers, #pictoSave, #pictoParams, #pictoUserParams{
	width: 27px;
	height: 100%;
	margin-left: 3px;
	margin-right: 3px;
	cursor: pointer;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}

#logoAldes{
	clear: left;
	float: right;
	position: absolute;
	width: 120px;
    height: 60px;
	cursor: default;
	background-position: right;
	top: 10px;
	right: 10px;
	/*height: calc(100% - 20px);*/
	background-image: url("../img/logo_new.jpg");
}

#user{
    display: none;
    position: absolute;
    width: 40px;
    height: 40px;
    top: 20px;
    right: 90px;
    cursor: pointer;
    border-radius: 5px;
    border:2px solid var(--user-border-color);
    line-height: 40px;
    text-align: center;
    text-transform: uppercase;
    color: var(--user-font-color);
    font-size: 22px;
    font-weight: bold;
}

#pictoHome{
    pointer-events:none;
    opacity:0.5
}

#pictoHome, #pictoDossiers, #pictoSave, #pictoParams, #pictoUserParams{
	float: left;
}

#pictoHome{
	background-image: url("../img/home.png");
}

#pictoDossiers{
	background-image: url("../img/projets.png");
}

#pictoSave{
	background-image: url("../img/save.png");
}

#pictoParams{
	background-image: url("../img/parametres.png");
}

#pictoUserParams{
	position: relative;
	background-image: url("../img/userParams.png");
}

#initialesUser{
	position: absolute;
	height: 15px;
	line-height: 15px;
	width: 27px;
	text-align: center;
	top:39px;
	color: var(--initiales-font-color);
	text-transform: uppercase;
	font-size: 12px;
	font-weight: bold;
}

#internalBody{
	position: absolute;
	width: 100%;
	height: calc(100% - 90px);
	top: 90px;
}

/* Animation d'attente. */
#overlay{
	height: 100%;
	width: 100%;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 20;
	opacity: 0.85;
	background-color: white;
    display: flex;
    flex-flow: column;
    justify-content: center;
}
.containerRoller{
    display: flex;
    flex-flow: row;
    justify-content: center;
}
.lds-roller {
    display: inline-block;
    position: relative;
    width: 64px;
    height: 64px;
}
.lds-roller div {
    animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    transform-origin: 32px 32px;
}
.lds-roller div:after {
    content: " ";
    display: block;
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: black;
    margin: -3px 0 0 -3px;
}
.lds-roller div:nth-child(1) {
    animation-delay: -0.036s;
}
.lds-roller div:nth-child(1):after {
    top: 50px;
    left: 50px;
}
.lds-roller div:nth-child(2) {
    animation-delay: -0.072s;
}
.lds-roller div:nth-child(2):after {
    top: 54px;
    left: 45px;
}
.lds-roller div:nth-child(3) {
    animation-delay: -0.108s;
}
.lds-roller div:nth-child(3):after {
    top: 57px;
    left: 39px;
}
.lds-roller div:nth-child(4) {
    animation-delay: -0.144s;
}
.lds-roller div:nth-child(4):after {
    top: 58px;
    left: 32px;
}
.lds-roller div:nth-child(5) {
    animation-delay: -0.18s;
}
.lds-roller div:nth-child(5):after {
    top: 57px;
    left: 25px;
}
.lds-roller div:nth-child(6) {
    animation-delay: -0.216s;
}
.lds-roller div:nth-child(6):after {
    top: 54px;
    left: 19px;
}
.lds-roller div:nth-child(7) {
    animation-delay: -0.252s;
}
.lds-roller div:nth-child(7):after {
    top: 50px;
    left: 14px;
}
.lds-roller div:nth-child(8) {
    animation-delay: -0.288s;
}
.lds-roller div:nth-child(8):after {
    top: 45px;
    left: 10px;
}
@keyframes lds-roller {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
/* Fin d'animation. */

.card{
    display:none;
    opacity:0;
    clear:left;
    position:relative;
    width:90%;
    max-width:350px;
    margin-left:auto;
    margin-right:auto;
    background-color:white;
    margin-bottom:10px;
    margin-top:10px;
    border:2px solid var(--card-border-color);
    border-radius:3px;
    box-shadow:0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12)
}

.cardheader{
    position:relative;
    padding:0.75rem 1.25rem;
    height:25px;
    line-height:25px;
    margin-bottom:0;
    color:var(--black-font-color);
    font-weight:bold;
    font-size:15px;
    text-align:left;
    text-transform:uppercase;
    background-color:rgba(0, 0, 0, 0.03);
    border-bottom:1px solid rgba(0, 0, 0, 0.125)
}

.cardblock{
    position:relative;
    padding:10px;
    display: flex;
    flex-direction:column;
    font-size:14px
}

.userInfo{
    width:90%;
    margin-bottom:10px;
    margin-left:auto;
    margin-right:auto;
    background-repeat:no-repeat;
    background-position:2px 3px;
    background-size:22px 22px;
    border:2px solid var(--edit-border-color);
}

.userInfo.premier{
    margin-top:10px
}

#infoMail{
   background-image:url("../img/user.png")
}

#infoMdp{
   background-image:url("../img/mdp.png")
}

.editLogin{
    margin-left:30px;
    width:calc(90% - 24px);
    height:27px;
    border:0
}

.checkLogin{
    position: relative;
    font-size:12px;
    margin-left:auto;
    margin-right:auto;
    margin-bottom:10px;
    width:140px;
    height: 30px;
}

#cbRememberMe{
    height: 100%;
    width: 23px;
    float: left;
}

#lbRememberMe{
    height: 100%;
    font-weight: bold;
    float: left;
    line-height: 30px;
    margin: 3px 3px 3px 4px;
}

.btn{
    margin-bottom:10px;
    cursor:pointer;
    width:75%;
    margin-left:auto;
    margin-right:auto;
    -webkit-border-radius:3;
    -moz-border-radius:3;
    border-radius:3px;
    color:#ffffff;
    font-size:14px;
    background-color:var(--black-font-color);
    padding:10px 20px 10px 20px;
    text-align:center;
    text-decoration:none
}

.btn.dernier{
    margin-bottom:20px
}

.btn:hover{
    text-decoration:none
}

.btnUser{
	margin-bottom:10px;
	cursor:pointer;
	width:75%;
	margin-left:auto;
	margin-right:auto;
	-webkit-border-radius:3;
	-moz-border-radius:3;
	border-radius:3px;
	color:#ffffff;
	font-size:14px;
	background:#3498db;
	padding:10px 20px 10px 20px;
	text-align:center;
	text-decoration:none}
	
.btnUser.dernier{
	margin-bottom:20px}
	
.btnUser:hover{
    text-decoration:none}
    
.infoSuppression{
    padding:10px;
    color:#424242;
    font-size:15px}

#btLogin{
    text-transform:uppercase;
    background-color:var(--edit-border-color);
    color:white;
    position:relative
}

#infoErreur{
    width:100%;
    text-align:center;
    color:var(--erreur-font-color);
    margin-bottom:10px;
    font-weight:bold;
    line-height:22px
}

#cookieConsent{
    background-color:rgba(20,20,20,0.85);
    min-height:26px;
    font-size:14px;
    color:#ccc;
    line-height:26px;
    padding:8px 0 8px 30px;
    font-family: 'Source Sans Pro', sans-serif;
    position:fixed;
    bottom:0;
    left:0;
    right:0;
    display:none;
    z-index:9999
}

#cookieConsent a{
    color:#4B8EE7;
    text-decoration:none
}

#closeCookieConsent{
    float:right;
    cursor:pointer;
    height:25px;
    width:25px;
    line-height:25px;
    font-size:25px;
    margin:-10px 0 0 0;
    font-weight:bold
}

#closeCookieConsent:hover{
    color:#FFF
}

#cookieConsent a.cookieConsentOK{
    background-color:#F1D600;
    color:#000;
    border-radius:5px;
    padding:0 50px;
    cursor:pointer;
    float:right;
    margin:0 30px 0 10px
}

#cookieConsent a.cookieConsentOK:hover{
    background-color:#E0C91F
}

.specialLoader,
.specialLoader:before,
.specialLoader:after {
  border-radius: 50%;
  width: 2.5em;
  height: 2.5em;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation: load7 1.8s infinite ease-in-out;
  animation: load7 1.8s infinite ease-in-out;
}
.specialLoader {
  color: #3b3b3b;
  font-size: 10px;
  margin: 0px auto;
  position: relative;
  text-indent: -9999em;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-animation-delay: -0.16s;
  animation-delay: -0.16s;
}
.specialLoader:before,
.specialLoader:after {
  content: '';
  position: absolute;
  top: 0;
}
.specialLoader:before {
  left: -3.5em;
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}
.specialLoader:after {
  left: 3.5em;
}

.modal{
	display:none;
	position:fixed;
	z-index:10;
	padding-top:100px;
	left:0;
	top:0;
	width:100%;
	height:100%;
	overflow:auto;
	background-color:rgb(0,0,0);
	background-color:rgba(0,0,0,0.4)}
	
.modal-content{
	position:relative;
	background-color:#fefefe;
	margin:auto;
	padding:0;
	border:2px solid #6076b0;
	max-width:350px;
	width:80%;
	box-shadow:0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
	-webkit-animation-name:animatetop;
	-webkit-animation-duration:0.4s;
	animation-name:animatetop;
	animation-duration:0.4s}

@-webkit-keyframes animatetop{
	from {top:-300px; opacity:0} 
	to {top:0; opacity:1}}

@keyframes animatetop{
	from {top:-300px; opacity:0}
	to {top:0; opacity:1}}

.close{
	color:gray;
	float:right;
	font-size:28px;
	font-weight:bold}

.close:hover,.close:focus{
	color:var(--black-font-color);
	text-decoration:none;
	cursor:pointer}

.modal-header{
	padding:2px 16px;
	background-color:WhiteSmoke;
	color:var(--black-font-color)}

.modal-body{
	padding:2px 16px}

.modal-footer{
	padding:2px 16px;
	background-color:WhiteSmoke;
    color:gray}
    
.labelInfo{
    position: relative;
    float:left;
    width:80px;
    height:22px;
    line-height:22px;
    text-align:right;
    font-size:12px;
    color:gray;
}

.cardErreur{
    position: relative;
    width: calc(100% - 10px);
    opacity: 1;
    background-color: white;
    border: 5px solid rgb(255, 0, 0);
	box-shadow: 5px 10px 8px #888888;
    margin-bottom: 10px;
    display: flex;
    flex-flow: column;
    align-items: stretch;
}

.labelErreur{
    text-align:center;
    color:red;
    line-height:50px;
    font-size:16px;
	font-weight:bold;
}

@media (max-width: 991px) {
	#lbTitre{
		margin-top: 10px;
		margin-bottom: 10px;
	}
}

@media (max-width: 767px) { 
	#header{
		height: 70px;
	}
	
	#lbTitre{
		margin-top: 10px;
		margin-bottom: 5px;
	}
	
	#internalBody{
		height: calc(100% - 80px);
		top: 80px;
	}

	#user{
        top: 14px;
        right: 75px;
	}

	#logoAldes{
        width: 80px;
        height: 50px;
    }
}

@media (max-width: 575px) { 
	#header{
		height: 60px;
	}
	
	#lbTitre{
		margin-bottom: 5px;
	}
	
	#internalBody{
		height: calc(100% - 70px);
		top: 70px;
	}

	#user{
        top: 10px;
		right: 60px;
		width: 35px;
		height: 35px;
		line-height: 35px;
    }
}

@media (max-width: 440px) { 
	#header{
		height: 50px;
	}
	
	#lbTitre{
		margin-bottom: 5px;
	}
	
	#internalBody{
		height: calc(100% - 60px);
		top: 60px;
	}

	#user{
        top: 10px;
		right: 50px;
		width: 25px;
		height: 25px;
		line-height: 25px;
		font-size: 15px;
    }
}