.qia-header {
	position: fixed;
	top: 0;
	z-index: 3;
	display: flex;
	align-items: stretch;
	flex-wrap: nowrap;
	border-bottom: 2px solid color(stable);
	transition: top 0.25s $smooth-ease;
}

.qia-header.scrolled-down {
	top: -87px;
}

@media (min-width: 768px) {
	.qia-header.scrolled-down {
		top: -97px;
	}
}

.qia-header__logo {
	padding: 15px 20px;
	margin: 0;
}

@media (min-width: 768px) {
	.qia-header__logo {
		padding: 12px 20px;
	}
}

@media (min-width: 992px) {
	.qia-header__logo {
		padding: 13px 20px 13px 50px;
	}
}

.qia-header__logo-link {
	display: block;
	width: 120px;
	height: 55px;
}

@media (min-width: 768px) {
	.qia-header__logo-link {
		width: 155px;
		height: 70px;
		margin-right: 30px;
	}
}

.qia-header__logo-link svg {
	width: 100%;
	height: 100%;
}

.qia-header__bar {
	display: flex;
	align-items: stretch;
	width: 100%;
	border-top: 2px solid color(stable);
	border-bottom: 2px solid color(stable);
	height: 70px;
	margin-top: -70px;
	opacity: 0;
	visibility: hidden;
	z-index: 3;
	transition: visibility 0.25s $smooth-ease, opacity 0.25s $smooth-ease,
		margin-top 0.25s $smooth-ease;
}

.qia-header__bar.open + .qia-header__socials {
	opacity: 1;
	visibility: visible;
	margin-top: 0px;
}

@media (min-width: 1101px) {
	.qia-header__bar {
		margin-top: 0px;
		flex: 1;
		border-top-width: 0;
		border-bottom-width: 0;
		height: auto;
		opacity: 1;
		visibility: visible;
	}
}

.qia-header__socials {
	display: flex;
	margin: 0 auto 0 0;
	list-style: none;
	padding: 0 20px;
	align-items: center;
	overflow: hidden;
	max-width: 100vw;
	opacity: 1;
	transition: opacity 0.25s $smooth-ease, max-width 0.25s $smooth-ease,
		padding 0.25s $smooth-ease, border 0.25s $smooth-ease;
}

@media (min-width: 992px) {
	.qia-header__socials {
		padding: 0 35px;
		margin-left: auto;
		margin-right: 0;
		border-right: 2px solid color(stable);
		border-left: 2px solid color(stable);
	}
}

.qia-header__socials li {
	margin: 0 5px;
}

.qia-header__button {
	align-items: center;
	display: flex;
	padding: 0 20px;
	text-decoration: none;
}

@media (min-width: 992px) {
	.qia-header__button {
		padding: 0 40px;
	}
}

.qia-header__button svg {
	margin: 0 0 0 20px;
	transition: transform 0.25s $smooth-ease;
}

.qia-header__button:hover svg {
    transform: translateX(10px);
}


header.cell.c-header {
    flex-wrap: nowrap;
}

nav.qia-navigation ul.menu.horizontal {
    display: flex;
    flex-wrap: nowrap !important;
}

@media only screen and (max-width: 1350px) {
    nav.qia-navigation ul.menu li a {
        font-size: .9rem !important;
    }
}

@media only screen and (max-width: 1350px) {
     nav.qia-navigation ul.menu li {
         padding: 0 10px;
     }
}

@media only screen and (max-width: 1165px) {
	nav.qia-navigation {
		display: none !important;
	}
	nav.navigation {
		display: flex;
		flex-grow: 3;
		width: 100%;
		justify-content: flex-end;
	}
	.qia-header__bar {
		height: auto;
		margin-top: 0;
		opacity: 1;
		visibility: visible;
		flex-shrink: 2;
		padding: 0;
		justify-content: flex-end;
		
	}
	ul.c-header__socials {
		margin: 0;
		justify-content: flex-end;
		padding: 0;
	}
		
}

@media only screen and (min-width: 1166px) {
	.navigation{
		display: none !important;
	}
}