    @import url('https://fonts.googleapis.com/css2?family=Open+Sans&display=swap');

/*  Mise en forme pour les écrans plus grands (tablettes et desktop)  */
/*  ================================================================  */


*{
	list-style: none;
	text-decoration: none;
	vertical-align: middle;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Open Sans', sans-serif;
}

body{
	background: #f5f6fa;
}

a {
    text-decoration: none;
}

h2 {
	width: 100%;
	text-align: left;
	font-size: 1.3em;
	margin-bottom: 20px;
	color: #004766;
}

.wrapper .sidebar{
	background: rgb(5, 68, 104);
	position: fixed;
	top: 0;
	left: 0;
	width: 125px;
	height: 100%;
	padding: 0px 0;
	overflow: auto;
	transition: all 0.5s ease;
}

.wrapper .sidebar .profile{
	margin-bottom: 0px;
	text-align: center;
}

.wrapper .sidebar .profile img{
	display: block;
	width: 0px;
	height: 0px;
    border-radius: 0%; /*50% pour rond */
	margin: 0 auto;
}

.wrapper .sidebar .profile h3{
	color: #ffffff;
	margin: 10px 0 5px;
}

.wrapper .sidebar .profile p{
	color: rgb(206, 240, 253);
	font-size: 14px;
}

.wrapper .sidebar ul li a{
	display: block;
	padding: 10px 20px;
	border-bottom: 1px solid #10558d;
	color: rgb(241, 237, 237);
	font-size: 14px;
	position: relative;
}

.wrapper .sidebar ul li a .icon{
	color: #dee4ec;
	width: 0px;
	display: inline-block;
}

.icon-img{
	width: 0px;
}

.wrapper .sidebar ul li a:hover,
.wrapper .sidebar ul li a.active{
	color: rgb(5, 68, 104);

	background: #a7c3d3;
    border-right: 2px solid rgb(5, 68, 104);
}

.wrapper .sidebar ul li a:hover .icon,
.wrapper .sidebar ul li a.active .icon{
	color: #0c7db1;
}

.wrapper .sidebar ul li a:hover:before,
.wrapper .sidebar ul li a.active:before{
	display: block;
}

.wrapper .section{
	width: calc(100% - 125px);
	margin-left: 125px;
	transition: all 0.5s ease;
}

.wrapper .section .top_navbar{
	background:	#a7c3d3;
	height: 50px;
	display: flex;
	align-items: center;
	padding: 0 10px;
 
}

.nav-icon{
	margin-left: 0px;
	width: 0px;
	height: 0px;
}

.add-icon {
	margin-left: 20px;
	background: url('../images/icon-ajouter-bleu-canard.png');
	background-size: contain;
	background-repeat: no-repeat;
	cursor: pointer;
	min-width:30px;
	width: 30px;
	height: 30px;
	transition: all 0.5s ease;	
}

.add-icon:hover {
	background: url('../images/icon-ajouter-bleu-orange.png');
	background-size: contain;
	background-repeat: no-repeat;
	width: 30px;
	height: 30px;
}

.search-block {
	margin-left: 20px;
	height: 32px;
	width: calc(100% - 130px);
	border: 2px solid rgb(5, 68, 104) ;
	background-color: #f5f6fa ;	
	padding: 3px;
	border-radius: 8px;
}

.search-bar {
	float: left;
	white-space:nowrap;
	width:100%;
	height: 22px;
	padding-left: 4px;
	border: 0px solid #a7c3d3 ;
	background-color: #f5f6fa ;
	Max-width: calc(100% - 30px);
}

.search-icon {
	float: left;
	white-space:nowrap;
	margin-left: 10px;
	background: url('../images/icon-search-bleu-canard.png');
	background-size: contain;
	background-repeat: no-repeat;
	cursor: pointer;
	min-width:20px;
	width: 20px;
	height: 20px;
	transition: all 0.5s ease;	
}

.search-icon:hover {
	background: url('../images/icon-search-bleu-orange.png');
	background-size: contain;
	background-repeat: no-repeat;
	width: 20px;
	height: 20px;
}

.ongletactif {
	text-align: center;
	color: #004766;
	font-weight: normal;
	padding:4px;
	line-height:16px;
	font-size: 1em;
	vertical-align: middle;
	width:50%;
	height:100%;
	float: left;
	background-color: #f5f6fa;
	border-top: 1px solid rgb(170, 170, 170);
	border-right: 1px solid rgb(170, 170, 170);
	border-left: 1px solid rgb(170, 170, 170);
	border-top-left-radius: 8px;
	border-top-right-radius: 8px;
	box-shadow: 4px -6px 6px rgb(230, 230, 230);
}

.ongletpassif {
	text-align: center;
	color: rgb(170, 170, 170) ;
	font-weight: normal;
	padding:4px;
	line-height:16px;
	font-size: 1em;
	vertical-align: middle;
	width:50%;
	height:100%;
	cursor: pointer ;
	float: left;
	background-color: #f3f3f3;
	border-bottom: 1px solid rgb(170, 170, 170);
	border-top: 1px solid rgb(170, 170, 170);
	border-right: 1px solid rgb(170, 170, 170);
	border-left: 1px solid rgb(170, 170, 170);
	border-top-left-radius: 8px;
	border-top-right-radius: 8px;
	box-shadow: 4px -6px 6px rgb(230, 230, 230);
}

.titre-contenant-tags {
	margin-left: 20px;
	font-size: 1.1em;
	margin-bottom: 20px;
	color: #004766;
}


.contenant-tags {
	margin-left: 20px;
	width: calc(100% - 40px);
	height: 400px;
	border-radius: 8px;
	border: 1px solid rgb(5, 68, 104);
	background-color: #ffffff ;
	overflow: hidden;
}


.wrapper .section .top_navbar .hamburger a{
	font-size: 28px;
	color: #f4fbff;
	padding: 10px;
}

.wrapper .section .top_navbar .hamburger a:hover{
	color: #a2ecff;
}


body.active .wrapper .sidebar{
	left: -125px;
}

body.active .wrapper .section{
	margin-left: 0;
	width: 100%;
}

/* Effet de modification de taille au survol */

.full:hover{   -webkit-transform:scale(1.10); /* Safari and Chrome */
    -moz-transform:scale(1.10); /* Firefox */
    -ms-transform:scale(1.10); /* IE 9 */
    -o-transform:scale(1.10); /* Opera */
     transform:scale(1.10);
    -webkit-transition: all 1s ease; /* Safari and Chrome */
    -moz-transition: all 1s ease; /* Firefox */
    -ms-transition: all 1s ease; /* IE 9 */
    -o-transition: all 1s ease; /* Opera */
    transition: all 1s ease;
}

.bodycontainer {
	position: fixed;
	top: 50px;
	left: 125px;
	width: calc(100% - 125px);
	height: calc(100% - 60px);
	padding: 20px 10px;
	transition: all 0.5s ease;
	overflow:auto;
}

.bodycontainer.active {
	left: 0px;
	width: 100%;
}

.bodycontainer form {
	padding-left: 10px;
	padding-right: 10px;
}

.bodycontainer label {
	width: 100%;
	display:block;
	float: left;
	margin-bottom: 20px;
}

.bodycontainer form span {
	width: 100%;
	display:block;
	float: left;
	margin-bottom: 5px;
}


.bodycontainer form input{
	padding: 4px;
	padding-left: 10px;
	height: 34px;
	line-height: 26px;
	vertical-align: middle;
	width: 100%;
	border-radius: 8px;
	border: 1px solid rgb(5, 68, 104) ;
}

.bodycontainer form textarea{
	padding: 4px;
	padding-left: 10px;
	height: 112px;
	line-height: 26px;
	vertical-align: middle;
	width: 100%;
	border-radius: 8px;
	border: 1px solid rgb(5, 68, 104) ;
}

.bodycontainer form select{
	padding: 4px;
	padding-left: 10px;
	height: 34px;
	line-height: 26px;
	vertical-align: middle;
	width: 100%;
	border-radius: 8px;
	border: 1px solid rgb(5, 68, 104) ;
	text-align: center;
}

input[type="text"]:disabled {
	background: #e0e8ed;
	text-align: center;
}

.warningform{
	padding: 4px;
	padding-left: 10px;
	line-height: 26px;
	vertical-align: middle;
	width: 100%;
	background-color: white;
	display:block;
	float: left;
	border-radius: 8px;
	border: 1px solid orange ;
}

.logo-upload{
	width: 100%;
	display:block;
	float: left;
	border: 1px dashed rgb(5, 68, 104) ;
	height:118px;
	padding: 5px;
	border-radius: 8px;
	background-color: white;
}

.logo-div{
	margin-left: calc(50% - 50px);
	line-height:100px;
	vertical-align:middle;
	background: url('../images/icon-upload-background-bleu-canard.png');
	background-size: contain;
	background-repeat: no-repeat;
	cursor : pointer;

}

.logo-div:hover {
	background: url('../images/icon-upload-background-bleu-canard-clair.png');
	background-size: contain;
	background-repeat: no-repeat;
	transition      : all 1s ease;
	cursor : pointer;
}	



/* bloc de type client 3 lignes */
.bloc1 {
	display:block;
	color: black;
	font-size: 0.95em;
	float: left;
	padding: 6px;
	line-height:18px;
	margin:10px;
	max-width: 220px;
	min-width: 30px;
	background-color: #94b3c554;
	border-radius: 10px;
	transition : all 0.5s ease;
	}
	
.bloc1:hover {
	background-color: #b4d0db;
	}

.bloc1 span {
	display:block;
	color: #2e2e2e ;
	font-size: 0.8em;
	}

  
 .bloc1 div {
	height: 20px;
	display: flex;
	align-items: center;
	}


 .bloc1 img {
	margin-right: 5px;
	}


	
/* bloc de type famille 1 ligne */
.bloc2 {
	display:block;
	color: black;
	font-size: 0.95em;
	font-weight: bold;
	float: left;
	width: calc(100% - 20px);
	padding: 6px;
	padding-left: 10px;
	padding-bottom: 10px;
	line-height:18px;
	margin:10px;
	background-color: #ffffff;
	border-bottom: 1px solid grey;
	text-align: center;
	background-color: #94b3c554;
	border-radius: 10px;
	transition : all 0.5s ease;
	}

.bloc2:hover {
	background-color: #b4d0db;
	}

 .bloc2 div {
	height: 20px;
	display: flex;
	align-items: center;
	}

 .bloc2 img {
	width: 0px;
	height: 0px;
	margin-right: 5px;
	display:block;
	float: left;
	}

/* bloc de type Produit 1 ligne */
.bloc3 {
	display:block;
	color: black;
	font-size: 0.95em;
	font-weight: normal;
	float: left;
	width: calc(100% - 20px);
	padding: 6px;
	padding-left: 10px;
	line-height:18px;
	margin:10px;
	background-color: #ffffff;
	text-align: center;
	background-color: #94b3c554;
	border-radius: 10px;
	transition : all 0.5s ease;
	}

.bloc3:hover {
	background-color: #b4d0db;
	}

 .bloc3 div {
	min-height: 20px;
	display: flex;
	align-items: center;
	padding-top: 6px;
	padding-bottom: 6px;
	}

 .bloc3 span {
	width: 100%;
	text-align: center;
	color: #054468 ;
	}


 .bloc3 img {
	width: 0px;
	height: 0px;
	margin-right: 5px;
	display:block;
	float: left;
	}


.contenantfamilles {
	margin-top:20px;
	background-color:white;
	padding:6px;
	overflow:auto;
	border-radius: 10px;
	box-shadow: 4px 4px 6px rgb(230, 230, 230);
}

.boutonavecimage {
	display: block;
	background-color: white;
	float:left;
	color: #004766;
	border-radius:10px;
	border:1px solid  #004766;
	width:auto;
	box-shadow: 4px 4px 6px rgb(230, 230, 230);
	padding: 6px;
	font-weight:normal;
	font-size:0.9em;
	line-height:40px;
	vertical-align:middle;
	margin-right: 20px;
}

.bouton-form{
	color: white;
	background : #004766;
	cursor : pointer;
}

.bouton-form:hover {
	background      : #0071a2;
	transition      : all 1s ease;
}	

.successmessage {
	width: calc(100% - 20px);
	margin-bottom: 10px;
	margin-left: 10px;	
	padding: 10px;
	border-radius: 5px 5px 5px 5px;
	color: #270;
	background-color: #DFF2BF;
	
}

.errormessage {
	width: calc(100% - 20px);
	margin-bottom: 10px;
	margin-left: 10px;	
	padding: 10px;
	border-radius: 5px 5px 5px 5px;
	color: #D8000C;
	background-color: #FFBABA;
	
}

/*  Mise en forme pour les tout petits téléphones */
/*  =============================================  */

@media only screen and (min-width: 360px) {
	/* For tablets and more : */

	.bloc1 {
	
		min-width: none;
		max-width: none;
		width: calc(100% - 20px);
		
		
	}

	.bloc2 img {
		width: 16px;
		height: 16px;
		margin-right: 4px;
		display:block;
		float: left;
	}

	.bloc3 img {
		width: 16px;
		height: 16px;
		margin-right: 4px;
		display:block;
		float: left;
	}

}

/*  Mise en forme pour les petits téléphones */
/*  ============================================  */

@media only screen and (min-width: 460px) {
	/* For tablets and more : */

	.bloc1 {
	
		min-width: none;
		max-width: none;	
		width: calc(100% - 20px);
		
	}

	.bloc2 img {
		width: 22px;
		height: 22px;
		margin-right: 5px;
		display:block;
		float: left;
	}
	
	.bloc3 img {
		width: 22px;
		height: 22px;
		margin-right: 5px;
		display:block;
		float: left;
	}

}

/*  Mise en forme pour les écrans plus grands (tablettes et desktop)  */
/*  ================================================================  */

@media only screen and (min-width: 600px) {
	/* For tablets and more : */

	.wrapper .section{
		width: calc(100% - 225px);
		margin-left: 225px;
	}

	.wrapper .sidebar ul li a .icon{
		color: #dee4ec;
		width: 30px;
		display: inline-block;
	}

	.icon-img{
		width: 25px;
	}

	.wrapper .sidebar{
		padding: 20px 0;
		width: 225px;
	}

	.wrapper .sidebar .profile{
		margin-bottom: 30px;
		text-align: center;
	}

	.wrapper .sidebar .profile img{
		display: block;
		width: 100px;
		height: 100px;
		border-radius: 0%; /*50% pour rond */
		margin: 0 auto;
	}

	.wrapper .sidebar ul li a{
		padding: 13px 30px;
		font-size: 16px;
	}

	body.active .wrapper .sidebar{
		left: -225px;
	}
	
	
	.bodycontainer {
		left: 225px;
		width: calc(100% - 225px);
	}

	.nav-icon{
		margin-left: 30px;
		width: 30px;
		height: 30px;		

	}

	.add-icon {
		margin-left: 30px;
	}
	
	.search-block {
		margin-left: 30px;
		width: calc(100% - 216px);
	}

	.bodycontainer label {
		width: 100%;
		display:block;
		float: left;
		margin-bottom: 20px;
	}

	.bodycontainer form span {
		margin-left:20px;
		width: 200px;
		display:block;
		float: left;
	}


	.bodycontainer form input{
		margin-left:20px;
		padding: 4px;
		max-width: 450px;	
	}

	.bodycontainer form textarea{
		margin-left:20px;
		padding: 4px;
		max-width: 450px;	
	}

	.bodycontainer form select{
		margin-left:20px;
		padding: 4px;
		max-width: 450px;	
	}
	
	.warningform{
		margin-left:20px;
		padding: 4px;
		max-width: 450px;	
	}

.logo-upload{
		margin-left:20px;
		padding: 4px;
		max-width: 450px;	
	}
	
.bloc1 {

	width: auto;
	max-width: 220px;
	min-width: 30px;
	
}
	
.bloc3 {
		width: calc(50% - 20px);
	}
	
	
}
