header, #top{
	height:calc(138px + 42px);
}
#header-content{
	height:138px;
}

header{	
	position: fixed;
	top: 0;
	left: 0;
	z-index: 10000;
	width: 100%;
	background: white;
	transition:all 0.3s;
	font-size:15px;
	border-bottom:2px solid #f76f00;
	/*font-size:.85vw;
	font-size:calc(.45vw + 6px);*/
}
.header-small header,
.header-small #header-content,
.header-small #top{
	height:52px;
}
.header-small #header-contact{
	display:none;
}

#logoHome{
	display:block;
	height:100%;
	width:22%;
	background-image:url("../img/logo.svg");
	background-position: 50% 45%;
	background-size:100%;
	background-repeat:no-repeat;
	float:left;
	transition:all 0.3s;
	margin-right: 16px;
	margin-left: 60px;
	position: relative;
	overflow: hidden;
}
.header-small #logoHome{
	background-size:50%;
}

#back-portail{
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 80%;
	line-height: 1.5;
	text-align: center;
    color: #dedede;
    font-size: 160%;
	transition:all 0.2s;
}
#logoHome:hover #back-portail{
    color: #bebebe;
	transform: scale(1.5);
}
.header-small #back-portail{
    bottom: 0;
    left: 0;
	width: 20%;
	line-height: 2;
    height: 100%;
}

/* HEADER CONTACT */

#header-contact {
	float:right;
	margin-right:30px;
	position: relative;
}
#header-contact-1, #header-contact-2, #header-contact-3, #header-contact-4{
	background-image:url("../img/fond-tel.svg");
	background-position: 50% 50%;
	background-size:100%;
	background-repeat:no-repeat;
	float:left;
	display:table;
	height:42px;
	width:195px;
	margin:0;
	position: relative;
	z-index:10000;
	text-align:center;
}
#header-contact-1,
#header-contact-2,
#header-contact-4{
	padding-left:22px;
}
#header-contact-3{
	background-image:url("../img/logo-socoda-2021.svg");
	background-size:contain;
	width: 50px;
	height: 63px;
	position: absolute;
	right: -60px;
}
#header-contact-4{
	background-image:url("../../img/logo-quincaillerie.svg");
}
#header-contact-1 a,
#header-contact-2 a,
#header-contact-3 a,
#header-contact-4 a{
	display:table-cell;	
	vertical-align:middle;
	height: 38px;
	color:white;
	padding:0;
	font-size:85%;
	font-style:italic;
}
#header-contact a:hover,
#header-contact-2:hover a
#header-contact-3:hover a,
#header-contact-4:hover a{
	color:#444;
}
#header-contact .fas{
	padding-right:0px;
	font-size:125%;
	transform:scale(1.4);
	color:#4b4b4b;
}
#header-contact .header-contact-tel{
	font-size:100%;
	letter-spacing:1px;
	padding-left:12px;
	font-weight:900;
	font-style: normal;
	text-align:left;
	line-height:1.1;
}

#header-contact .header-contact-tel span{
	font-size:90%;
	letter-spacing:0px;
	font-weight:400;
	display:block;
}

@media only screen 
  and (min-width: 1024px) 
  and (max-height: 1366px) 
  and (orientation: portrait) 
  and (-webkit-min-device-pixel-ratio: 1.5) {
	#logoHome {
		width: 20%;
		margin-left: 40px;
	}
	nav {
		width: 74% !important;
	}
	#header-contact-3{
		display: none;
	}
}

@media (max-width: 1023px) {
	header,
	#header-content,
	#top{
		height:85px;
	}
	.header-small header,
	.header-small #header-content,
	.header-small #top{
		height:40px;
	}
	#logoHome{
		width: 50%;
		float: none;
		margin: 5px auto;
		background-size: contain;
		height: 75px;
		background-position: center;
		overflow: initial;
	}
	.header-small #logoHome{
		background-size: contain;
		height: 80%;
	}
	#header-contact{
		display:none;
	}
	.header-small #back-portail,
	#back-portail{
		color: #bebebe;
		transform: scale(1.5);
		right: -35%;
		left: unset;
		width: 20%;
		line-height: 3;
		height: 100%;
	}
	.header-small #back-portail{
		line-height: 1.2;
	}
}