/* Preload images */
body:after{
display:none;
content:
url("../img/fondSonia.jpg")
url("../img/logo_new.jpg")
url("../img/home.png")
url("../img/parametres.png")
url("../img/projets.png")
url("../img/save.png")
url("../img/Selector_Sonia_Titre.png")
url("../img/loader.gif")}

html,body{
font-size:12px;
font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif;
width:100%;
height:100%;
margin:0;
padding:0}

#fond{
overflow:hidden;
width:100%;
height:100%;
background: linear-gradient( white, #f0f0f0);
background-position:0px 0px;
background-repeat:no-repeat;
background-size: cover;
position:fixed;
top:0px;
background-image:url("../img/fondSonia.jpg")}

.sidenav {
height:100%;
width:0; 
position:fixed; 
z-index:20; 
top:0;
left:0;
background-color:white;
overflow-x:hidden; 
padding-top:60px; 
box-shadow:0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
transition:0.5s}

.sidenav a {
padding:8px 8px 8px 32px;
text-decoration:none;
font-size:25px;
color:#818181;
display:block;
transition:0.3s}

.sidenav a:hover, .offcanvas a:focus{
text-decoration:none;
color:black}

.sidenav .closebtn {
position:absolute;
top:0;
right:25px;
font-size:36px;
margin-left:50px}

#overlay{
height:100%;
width:100%;
position:absolute;
top:0;
left:0;
z-index:19;
opacity:0.4;
background-color:silver;
display:none}

#header{
width:100%;
height:80px;
z-index:10;
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)}

#lbTitre{
width:calc(100% - 281px);
height:40px;
position:relative;
float:left;
margin-top:18px;
margin-bottom:10px;
background-repeat:no-repeat;
background-position:center;
background-size:contain;
background-image:url("../img/Selector_Sonia_Titre.png")}

#menuPicto{
float:left;
margin-left:7px;
width:132px;
height:100%}

#logoAldes,#pictoHome,#pictoParams,#pictoDossiers,#pictoSave,#smallLoader{
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;
cursor:default;
background-position:right;
top:10px;
right:10px;
height:calc(100% - 20px);
background-image:url("../img/logo_new.jpg")}

#pictoHome,#pictoParams,#pictoDossiers,#pictoSave,#smallLoader{
float:left}

#pictoHome{
background-image:url("../img/home.png")}

#pictoParams{
background-image:url("../img/parametres.png")}

#pictoDossiers{
background-image:url("../img/projets.png")}

#pictoSave{
background-image:url("../img/save.png")}

#smallLoader{
display:none;
background-image:url("../img/loader.gif")}

#internalBody{
position:absolute;
width:100%;
height:calc(100% - 90px);
top:90px}

.zoneLoader{
display:none;
position:absolute;
top:calc(50% - 46px);
left:calc(50% - 38px);
width:93px;
height:115px;}

.lbTitreLoader{
position:relative;
width:100%;
height:22px;
line-height:22px;
text-align:center;
font-size:12px}

.loader{
position:relative;
width:60px;
height:60px;
border:16px solid #f3f3f3; 
border-top:16px solid #D60B52;
border-bottom: 16px solid #D60B52;
border-radius:50%;
animation:spin 2s linear infinite}

@keyframes spin{
0%{ transform: rotate(0deg)}
100%{ transform: rotate(360deg)}}

.lbInfoLoader{
position:absolute;
top:22px;
left:0px;
width:100%;
height:93px;
line-height:93px;
text-align:center;
font-size:20px}

#menuPictoDroite{
	position: absolute;
	top: 0px;
	right: 140px;
	width: 200px;
	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: 10px;
	top: 60px;
	left: 0px;
	color: gray;
}

@media (max-width: 991px) {
	#lbTitre{
	margin-top:18px;
	margin-bottom:7px}
}

@media (max-width: 767px) { 
	#header{
	height:70px}
	
	#lbTitre{
	margin-top:15px;
	margin-bottom:5px}
	
	#internalBody{
	height:calc(100% - 80px);
	top:80px}

	#menuPictoDroite{
	right:120px}
	#infosUser{
	display:none;}
	#pictoParams{
	float: right;}
}

@media (max-width: 575px) { 
	#header{
	height:60px}
	
	#lbTitre{
	margin-top:15px;
	margin-bottom:5px;
	width:calc(100% - 219px)}
	
	#internalBody{
	height:calc(100% - 70px);
	top:70px}

	#menuPictoDroite{
	right:75px}
}

@media (max-width: 440px) { 
	#header{
	height:50px}
	
	#lbTitre{
	margin-top:8px;
	margin-bottom:5px;
	width:calc(100% - 219px)}
	
	#internalBody{
	height:calc(100% - 60px);
	top:60px}
}