

.no-select
{
	-webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#grid-header
{
	display: grid;
	max-width:1440px;
	background-color: #FFF;
	margin:auto;
	grid-template-columns: repeat(6, 1fr);
	grid-template-rows: 141px 62px;
	grid-template-areas: 
		"firstheader firstheader firstheader firstheader firstheader firstheader"
		"headerbarre headerbarre headerbarre headerbarre headerbarre headerbarre";
}

#shadow-background
{
    position: fixed;
	z-index: 100;
    width: 100%;
    height: 100%;
    max-width: 1440px;
    margin: auto;
    left: 50%;
	-webkit-transition:visibility 0.13s ease-in-out, background 0.13s ease-in-out;
	-moz-transition:visibility 0.13s ease-in-out, background 0.13s ease-in-out;
	-o-transition:visibility 0.13s ease-in-out, background 0.13s ease-in-out;
	transition:visibility 0.13s ease-in-out, background 0.13s ease-in-out;
}

.shadow-invisible
{
	visibility: hidden;
	background-color: rgba(0,0,0,0.0);
}

.shadow-visible
{
	visibility: visibible;
	background-color: rgba(0,0,0,0.5);
}

#first-header
{
    height: 141px;
	grid-area: firstheader;
	z-index:100;
	display:flex;
	padding-top: 2px;
	background-color: #FFF;
}

#cont-searchbar
{
    width: 20%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
	padding-top: 38px;
}

#searchbar
{
	border-radius: 50px;
    border: 1px solid #c5c5c5;
	color: #555656;
    width: calc(100% - 105px);
    padding-top: 11px;
    padding-bottom: 11px;
    outline: none;
    background: none;
    font-size: 0.9rem;
    padding-left: 25px;
	padding-right: 50px;
}

#loupe-searchbar
{
	position: absolute;
    padding-right: 12px;
    width: 31px;
	cursor: pointer;
}

#cont-affranchi-logo
{
    width: 60%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#a-big-logo
{
	width:40%;
}

#cont-adherer
{
    width: 20%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
	padding-top: 38px;
}

#btn-adherer
{
	border-radius: 5px;
    border: 1px solid #B41021;
    margin-right: 10px;
    width: 50%;
    padding-top: 9px;
    padding-bottom: 9px;
    outline: none;
    background: none;
    font-size: 1.2rem;
    text-align: center;
	text-decoration:none;
	color: #B41021;
	-webkit-transition: color 0.2s, border 0.2s;
	-moz-transition: color 0.2s, border 0.2s;
	-o-transition: color 0.2s, border 0.2s;
	transition: color 0.2s, border 0.2s;
}

#btn-adherer:hover
{
	color: #254258;
	border: 1px solid #254258;
}

#btn-dons
{
	border-radius: 5px;
    border: 1px solid #B41021;/*rouge texte et background*/
    margin-right: 30px;
    width: 50%;
    padding-top: 9px;
    padding-bottom: 9px;
    outline: none;
    background-color: #B41021;
    font-size: 1.2rem;
    text-align: center;
    text-decoration: none;
    color: #FFF;
	-webkit-transition: background 0.2s, color 0.2s, border 0.2s;
	-moz-transition: background 0.2s, color 0.2s, border 0.2s;
	-o-transition: background 0.2s, color 0.2s, border 0.2s;
	transition: background 0.2s, color 0.2s, border 0.2s;
}

#btn-dons:hover
{
	background-color: #FFF;
	color: #254258;
	border: 1px solid #254258;
}
	
#headerbarre
{
	background-color: #FFF;
	height: 62px;
	grid-area: headerbarre;
	z-index:100;
	display: flex;
	justify-content: space-between;
	box-shadow: 0px 11px 20px -14px rgba(0, 0, 0, .15);
}

.headerfixed
{
	position: fixed;
	top : 0;
}

#hider-sidebar
{
	position: absolute;
	z-index: 101;
    width: 255px;
	overflow: hidden;
	-webkit-transition:visibility 0.13s ease-in-out;
	-moz-transition:visibility 0.13s ease-in-out;
	-o-transition:visibility 0.13s ease-in-out;
	transition:visibility 0.13s ease-in-out;
	padding-top: 14px;
    margin-top: -14px;
    padding-right: 14px;
}

.hider-sidebar-invisible
{
	visibility: hidden;
}

.hider-sidebar-visible
{
	visibility: visible;
}

#sidebar
{
    width: 255px;
	-webkit-transition:margin 0.13s ease-in-out;
	-moz-transition:margin 0.13s ease-in-out;
	-o-transition:margin 0.13s ease-in-out;
	transition:margin 0.13s ease-in-out;
	box-shadow: 0px 0px 14px 3px rgba(0, 0, 0, .15);
    background-color: #FFF;
}

.sidebar-invisible
{
	margin-left: -256px;
}

.sidebar-visible
{
	margin-left: 0px;
}

#scroll-sidebar
{
	overflow-y: scroll;
}


#cont-burger-logo
{
	width: auto;
	display: flex; 
	align-items: center;
}

.a-mini-logo
{
	margin-left: 30px;
}

#menu-burger
{
	width: 23px;
	margin-left: 30px;
	cursor: pointer;
}

#cont-header-rubriques
{
	width: 57%; 
	display:flex;
	justify-content: space-around;
	overflow: hidden;
}

.fleche-rubs
{
	width:14px;
	margin-left: 8px;
}

.cont-center-rubrique
{
	height: 56px;
    padding-left: 10px;
    padding-right: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 4px solid #FFF;/*Rouge pour ligne rgb(218, 7, 7)*/
    text-decoration: none;
    color: #121619;
    font-size: 1.25rem;
    font-family: overpass-extrabold, Arial;
    margin-top: 3px;
	-webkit-transition: color 0.2s;
	-moz-transition: color 0.2s;
	-o-transition: color 0.2s;
	transition: color 0.2s;
}

.cont-center-rubrique:hover
{
	color: #B41021;
}

.boxs-sidebar
{
	width: 255px;
    height: 52px;
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #121619;
	position: relative;
	-webkit-transition: background 0.2s;
	-moz-transition: background 0.2s;
	-o-transition: background 0.2s;
	transition: background 0.2s;
}

.boxs-sidebar:hover
{
	background-color: #f3f3f3;
}

.first-box-side
{
	width: 255px;
    height: 62px;
    display: flex;
    align-items: center;
}

#close-burger
{
	width: 23px;
	margin-left: 30px;
	cursor: pointer;
	opacity: 0.5;
	filter: alpha(opacity=50);
	-webkit-transition: opacity 0.45s;
	-moz-transition: opacity 0.45s;
	-o-transition: opacity 0.45s;
	transition: opacity 0.45s;
}

#close-burger:hover
{
	opacity: 100;
	filter: alpha(opacity=100);
}

.pictos-sidebar
{
	margin-left: 17px;
    margin-right: 15px;
	width: 50px;
}

.tx-sidebar
{
	font-size: 1.25rem;
	font-family: overpass-light, Arial;
}

.lil-border-sidebar
{
	width: 50px;
    height: 1px;
    background: #c7c7c7;
    position: absolute;
    margin-left: 82px;
    bottom: 0;
}

.box-fin-sidebar
{
	width:255px; 
	height:141px; 
}

.pictos-rs-sidebar
{
	height: 37px;
	opacity: 0.5;
	filter: alpha(opacity=50);
	-webkit-transition: opacity 0.45s;
	-moz-transition: opacity 0.45s;
	-o-transition: opacity 0.45s;
	transition: opacity 0.45s;
}

.pictos-rs-sidebar:hover
{
	opacity: 1;
	filter: alpha(opacity=100);
}

.space-around-rs
{
	justify-content: space-around;
	padding: 26px 20px 20px 20px;
	box-sizing: border-box;
}

#cont-connexion
{
	width: 20%;
	display: flex;
}

#hover-connexion
{
	display: flex;
	width: 100%;
}

#a-picto-profil
{
	align-items: center;
	display: flex;
}

.circle-profil
{
	width: 40px;
	min-width: 40px;
	height: 40px;
	border-radius: 50%;
	overflow: hidden;
}

.image-profil
{
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

#btn-connexion
{
	border-radius: 50px;
	border: 1px solid #121619;
	width: 100%;
	outline: none;
	background: #FFF;
	font-size: 1.1rem;
	height: 60%;
	margin-top: auto;
	margin-bottom: auto;
	margin-left: 13px;
	margin-right: 30px;
	display: flex;
	justify-content: center;
	align-items: center;
	text-decoration: none;
	color: #121619;
	-webkit-transition: background 0.3s;
    -moz-transition: background 0.3s;
    -o-transition: background 0.3s;
    transition: background 0.3s;
}

#btn-connexion:hover
{
	background: #f3f3f3;
}

#box-connexion-hided
{
	position: absolute;
    box-shadow: 0px 0px 14px 3px rgba(0, 0, 0, .15);
    background-color: #FFF;
    -webkit-transition: background 0.6s, opacity 0.25s ease-in-out, visibility 0.25s ease-in-out;
    -moz-transition: background 0.6s, opacity 0.25s ease-in-out, visibility 0.25s ease-in-out;
    -o-transition: background 0.6s, opacity 0.25s ease-in-out, visibility 0.25s ease-in-out;
    transition: background 0.6s, opacity 0.25s ease-in-out, visibility 0.25s ease-in-out;
    opacity: 0;
    filter: alpha(opacity=0);
    visibility: hidden;
    margin: 62px 0 0 -13px;
    padding: 2px 13px 2px 0;
}

#hover-connexion:hover #box-connexion-hided
{
	opacity: 100;
	filter: alpha(opacity=100);
	visibility: visible;
}

.boxs-connexion-bar
{
	height: 52px;
	display: flex;
	align-items: center;
	text-decoration: none;
	color: #121619;
	position: relative;
	-webkit-transition: background 0.2s;
	-moz-transition: background 0.2s;
	-o-transition: background 0.2s;
	transition: background 0.2s;
	width: calc(100% + 13px); /*parce que je décale #box-connexion-hided de -13px*/

}

.boxs-connexion-bar:hover
{
	background-color: #f3f3f3;
}

.pictos-connexion-bar
{
	margin-left: 9px;
    margin-right: 10px;
    width: 50px;
}

.lil-border-connexion-bar
{
	width: 50px;
    height: 1px;
    background: #c7c7c7;
    position: absolute;
    margin-left: 70px;
    bottom: 0;
}

/*rupture en dessous de tablette paysage*/
@media screen and (max-width: 1023px)
{
	
	#btn-connexion, #box-connexion-hided
	{
		display: none;
	}
	
	#cont-connexion
	{
		display: flex;
		margin-right: 30px;
		width: auto;
	}
	
	#cont-header-rubriques
	{
		width: 66%;
	}
	
	#cont-adherer, #cont-searchbar
	{
		width: 23%;
	}
	
	#cont-affranchi-logo
	{
		width: 54%;
	}
	
	#a-big-logo
	{
		width:45%;
	}
	
}

/*rupture à partir de tablette portrait*/
@media screen and (max-width: 959px)
{
	
	#cont-header-rubriques
	{
		width: 63%;
	}
	
	#menu-burger, #close-burger
	{
		margin-left: 22px;
	}
	
	#cont-connexion
	{
		margin-right: 22px;
	}
	
	.a-mini-logo
	{
		margin-left: 22px;
	}
	
	.pictos-sidebar
	{
		margin-left: 9px;
		margin-right: 9px;
	}
	
	.lil-border-sidebar
	{
		margin-left: 68px;
	}
	
	#a-big-logo
	{
		width:60%;
	}
	
	#btn-dons, #btn-adherer
	{
		font-size: 1rem;
	}
	
	#searchbar
	{
		width: calc(100% - 98px);
	}
	
}

/*rupture smartphone*/
@media screen and (max-width: 767px)
{
	
	.boxs-sidebar, .first-box-side, .box-fin-sidebar, #hider-sidebar, #sidebar
	{
		width: 100%;
		max-width: 768px;
	}
	
	#a-big-logo
	{
		width:65%;
	}
	
	#hider-sidebar
	{
 		padding-right: 0;
	}
	
	.boxs-sidebar
	{
		height: 85px;
	}
	
	.tx-sidebar
	{
		font-size: 1.8rem;
	}
	
	.pictos-sidebar
	{
		width: 60px;
	}
	
	.lil-border-sidebar
	{
		margin-left: 80px;
	}
	
	.sidebar-invisible
	{
		margin-left: -769px;
	}
	
	#cont-header-rubriques
	{
		width:0%;
		visibility:hidden;
	}
	
	#cont-adherer, #cont-searchbar
	{
		display: none;
	}
	
	#cont-affranchi-logo
	{
		width: 100%;
	}
	
}


@media screen and (max-width: 480px)
{

	/*pour que la sidebar n'aille pas trop loin*/
	.sidebar-invisible
	{
		margin-left: -480px;
	}
	
	#cont-connexion
	{
		padding-left: 0%;
	}
}