/**
    #Global
**/

:root {
	--main-bg-color: #fff;
	--main-txt-color: #2d2a26;

	--alt-bg-color: #c10230;
	--alt-txt-color: #ffffff;

	--alt-heading-color: var(--alt-bg-color);

	--main-font-family: 'Poppins', Candara, 'Bitstream Vera Sans', 'DejaVu Sans', 'Bitstream Vera Sans', 'Trebuchet MS',
		Verdana, 'Verdana Ref', sans-serif;
	--main-font-weight: 300;

	--container-width: 1320px;
	--container-padding: calc((100vw - var(--container-width)) / 2 + 12px);
}

html, body {
	overflow-x: hidden;
}

body {
	background-color: var(--main-bg-color);
	color: var(--main-txt-color);
	box-sizing: border-box;
	font-family: var(--main-font-family);
	font-weight: var(--main-font-weight);
	overflow-x: hidden;
}

/**
    #Header
**/

header {
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	padding: 10px 0 10px var(--container-padding);
	background-color: #181615;
	z-index: 14;
}

#logo {
	margin: 5px 0;
	height: 30px;
}

#banner {
	display: flex;
	position: relative;
	margin-top: 40px;
	height: 600px;
	padding-bottom: 75px;
	background-position: center;
	background-size: cover;
	align-items: flex-end;
}

#banner.alt {
	height: 450px;
}

#banner.alt > * {
	display: none;
}

#banner-title {
	position: relative;
	margin-left: var(--container-padding);
	max-width: 315px;
	color: var(--alt-txt-color);
	text-shadow: 0 0 6px #222;
	line-height: 1.15;
	font-size: 1.85rem;
	font-weight: 900;
}

#banner-title::after {
	content: '';
	display: block;
	position: absolute;
	right: 0;
	top: calc(100% + 10px);
	width: 100vw;
	height: 10px;
	background-color: var(--alt-bg-color);
}

/**
    #Content
**/

#intro {
	text-align: justify;
}

#intro-title {
	max-width: 321px;
	color: var(--alt-bg-color);
	text-align: right;
}

#offers-wrapper {
	position: relative;
	margin-top: calc(2rem + 2vw);
	margin-left: var(--container-padding);
}

#offers-shape {
	position: absolute;
	left: 0;
	bottom: calc(100% - 1vw);
	width: 100%;
}

#offers {
	padding: 45px 32px 15px;
	background-color: #e5e5e5;
}

#references {
	padding: 45px 0;
	background-color: var(--alt-bg-color);
	color: var(--alt-txt-color);
	text-align: justify;
	text-align-last: right;
}

.reference-image {
	width: 100px;
	max-width: 100%;
}

#side-text {

}

#side-text-image {
	position: relative;
	width: 100%;
	height: 100%;
	min-height: 250px;
}

#side-text-image img {
	position: absolute;
	left: 0;
	top: 0;
	width: calc(100% + var(--container-padding));
	height: 100%;
	object-fit: cover;
}

#side-text-text {
	padding: 45px 30px 30px 0;
}

#product-gallery {
	margin: 30px 0;
	padding: 30px 0;
	background-color: var(--main-txt-color);
	color: var(--alt-txt-color);
}

.news-item {
	margin-bottom: 2rem;
	padding-top: 2rem;
	border-top: solid 1px rgba(45, 42, 38, 0.25);
}

.news-item p:last-of-type {
	margin-bottom: 0;
}

.text-box {
	background-color: var(--main-txt-color);
	color: var(--alt-txt-color);
}

#gallery {
	display: none;
}

.gallery-item {
	padding: 15px;
	height: 100%;
	border: solid 3px rgba(45, 42, 38, 0.25);
	border-radius: 15px;
}

.gallery-image {
	position: relative;
	width: 100%;
	padding-bottom: 66%;
}

.gallery-image img {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.gallery-text {
	margin-top: 5px;
	font-size: 0.9rem;
	font-weight: 500;
	font-style: italic;
}

.timeline-right-column {
	padding-top: 212px;
}

.timeline-item {
	position: relative;
	display: inline-block;
	width: 300px;
	padding: 15px;
}

.timeline-item::before {
	content: '';
	display: block;
	position: absolute;
	top: calc(15px + 19px);
	width: 19px;
	height: 2px;
	background-color: var(--alt-bg-color);
}

.timeline-item.left::before {
	left: 100%;
}

.timeline-item.right::before {
	right: 100%;
}

.timeline-image {
	position: relative;
	width: 100%;
	height: 200px;
}

.timeline-image img {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
    object-position: bottom;
	object-fit: contain;
}

.timeline-text {
	height: 150px;
	margin-top: 5px;
	font-size: 0.9rem;
	font-weight: 500;
	font-style: italic;
}

.timeline-title {
	font-style: italic;
	margin-bottom: 0;
	color: var(--alt-heading-color);
	line-height: 40px;
	font-size: 1.45rem;
	font-weight: 900;
}

.timeline-line {
	display: block;
	margin: 0 19px;
	width: 2px;
	height: 100%;
	background-color: var(--alt-bg-color);
}

.brands-shape {
	position: relative;
	bottom: -1vw;
	width: 100%;
	fill: var(--main-txt-color);
}

/**
    #Footer
**/

footer {
	color: var(--alt-txt-color);
}

#footer-background-contact,
#footer-background-form {
	position: absolute;
	top: 0;
	width: 100vw;
	height: 100%;
	z-index: -1;
}

#footer-background-contact {
	right: 0;
	background-color: var(--alt-bg-color);
}

#footer-background-form {
	left: 0;
	background-color: var(--main-txt-color);
}

#contact-form input,
#contact-form textarea,
#complaint-form input,
#complaint-form textarea {
	display: block;
	margin: 0 0 1rem;
	width: 100%;
	padding: 8px 12px;
	background-color: var(--main-bg-color);
	color: var(--main-txt-color);
	border: none;
	line-height: 25px;
	font-weight: var(--main-font-weight);
}

#complaint-form input,
#complaint-form textarea {
	border: solid 2px var(--main-txt-color);
}

#contact-form textarea {
	min-height: calc(41px * 2 + 1rem);
}

#complaint-form textarea {
	min-height: calc(45px * 2 + 1rem);
}

#contact-form .link-button,
#complaint-form .link-button {
	padding: 6px 12px;
	line-height: 29px;
}

#legal {
	padding: 10px;
	font-size: 0.9rem;
}

#legal a:not(:first-of-type) {
	margin-left: 0.5rem;
}

#legal a:not(:last-of-type) {
	margin-right: 0.5rem;
}

/**
    #Generic
**/

table {
	max-width: 100%;
	border: solid 1px #ccc;
}

th, td {
	padding: 2px 4px;
	border: solid 1px #ccc;
}

/**
    #Links
**/

a,
a:hover {
	text-decoration: none;
	color: inherit;
}

p a:not(.link-button),
p a:hover:not(.link-button) {
	text-decoration: underline;
}

.link-button {
	display: inline-block;
	margin: 0 0 10px;
	width: auto;
	padding: 4px 10px;
	background-color: var(--alt-bg-color);
	color: var(--alt-txt-color);
	border: solid 2px var(--alt-bg-color);
	text-align: left;
	text-align-last: left;
	font-weight: 600;
	transition-duration: 0.15s;
}

.link-button:hover {
	background-color: var(--alt-txt-color);
	color: var(--alt-bg-color);
}

.link-button.alt {
	background-color: var(--main-txt-color);
	color: var(--alt-txt-color);
	border-color: var(--main-txt-color);
}

.link-button.alt:hover {
	background-color: var(--alt-txt-color);
	color: var(--main-txt-color);
}

.link-image {
	color: var(--main-txt-color);
	font-weight: 600;
}

.link-image-image {
	position: relative;
	margin-bottom: 10px;
	width: 100%;
	padding-bottom: 75%;
	background-position: center;
	background-size: cover;
}

.link-image-image img {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/*
.link-image-image-text {
	display: flex;
	position: absolute;
	--spacing: 5%;
	left: var(--spacing);
	top: var(--spacing);
	width: calc(100% - 2 * var(--spacing));
	height: calc(100% - 2 * var(--spacing));
	background-color: rgba(255, 255, 255, 0.65);
	justify-content: center;
	align-items: center;
	font-size: 1.5rem;
	font-weight: 900;
	color: var(--alt-heading-color);
}
*/

.link-image-image-text {
	position: absolute;
	--spacing: 0;
	left: 0;
	top: 0;
	width: 100%;
	height: auto;
    padding: 6px 0;
	background-color: rgba(255, 255, 255, 0.9);
	color: var(--alt-heading-color);
    text-align: center;
	font-size: 1.5rem;
	font-weight: 900;
}

.link-image-icon {
	float: right;
}

.link-next {
	color: #5f5f5f;
	text-decoration: underline;
	font-size: 0.9rem;
}

/**
    #Headings
**/

h1,
h2 {
	margin-bottom: 1.25rem;
	line-height: 1.15;
	font-size: 1.85rem;
	font-weight: 900;
}

h3 {
	margin-bottom: 0.5rem;
	line-height: 1.15;
	font-size: 1.25rem;
	font-weight: 900;
}

/**
    #Text
**/

.color-alt {
	color: var(--alt-heading-color);
}

/**
    #Navigation
**/

#nav {
	position: relative;
	z-index: 14;
}

#nav > ul {
	display: flex;
	margin: 0;
	padding: 0;
	list-style: none;
	justify-content: flex-end;
}

#nav > ul > li {
	position: relative;
	margin: 0 0 0 15px;
	width: auto;
	line-height: 1;
}

#nav > ul > li > a > span {
	display: block;
}

#nav > ul > li > a,
#nav > ul > li > ul > li > a {
	color: var(--alt-txt-color);
	font-weight: 500;
	transition-duration: 0.15s;
}

#nav > ul > li > a:hover,
#nav > ul > li > ul > li > a:hover  {
	color: var(--alt-bg-color);
}

#nav > ul > li::after {
	content: '';
	display: block;
	position: absolute;
	left: 0;
	top: 100%;
	width: 100%;
	height: 10px;
}

#nav > ul > li > ul {
	display: none;
	position: absolute;
	left: 0;
	top: calc(100% + 10px);
	margin: 0;
	width: auto;
	padding: 5px 15px 10px;
	background-color: #181615;
	white-space: nowrap;
	list-style: none;
}

#nav > ul > li:hover > ul {
	display: block;
}

#nav > ul > li > ul > li {
	display: list-item;
	padding: 4px 0;
}

#nav-button {
	display: none;
}

@media only screen and (max-width: 1399px) {
	:root {
		--container-width: 1140px;
	}
}
@media only screen and (max-width: 1199px) {
	:root {
		--container-width: 960px;
	}
}
@media only screen and (max-width: 991px) {
	:root {
		--container-width: 720px;
	}

	header {
		padding: 10px 0;
	}

	#side-text-image img {
		width: 100%;
	}

	#footer-background-contact,
	#footer-background-form {
		left: -50vw;
		right: auto;
		width: 200vw;
	}

    .link-image-image-text {
    	font-size: 1.1rem;     
    }
}
@media only screen and (max-width: 767px) {
	:root {
		--container-width: 540px;
	}

	#banner {
		height: 400px;
	}

	#logo {
		margin: 10px 0;
		height: 20px;
	}

	#offers-wrapper {
		margin-left: 0;
	}

	#nav {
	}

	#nav > ul,
	#nav > ul > li > ul {
		display: block;
		height: 0;
		text-align: center;
		overflow: hidden;
		transition-duration: 0.5s;
	}

	#nav > ul > li,
	#nav > ul > li > ul > li{
		margin: 0;
		padding: 5px 0;
	}

	#nav > ul > li > a {
	}

	#nav > ul > li > a:hover {
	}

	#nav > ul > li::after {
		display: none;
	}

	#nav > ul > li > ul {
		display: block;
		position: static;
		top: 0;
		width: 100%;
		padding: 0;
		background-color: transparent;
		white-space: normal;
	}

	#nav > ul > li > ul > li {
		display: block;
	}

	#nav-button {
		display: inline-block;
		width: 30px;
		height: 30px;
		background-color: transparent;
		background-image: url(../assets/images/icon-menu.svg);
		background-position: center;
		background-size: cover;
		border: none;
	}

	.timeline-item {
		width: 200px;
	}
}
@media only screen and (max-width: 575px) {
	:root {
		--container-width: 100vw;
	}

	#references {
		text-align-last: left;
	}

	.reference-image {
		margin-bottom: 15px;
	}

	#gallery {
		display: block;
	}

	#timeline {
		display: none;
	}
}

#intro img { max-width: 100%; height: auto !important; }

.link-image-image {
	background-size: 100%;
	background-position: center;
	background-repeat: no-repeat;
	transition: background-size 0.6s ease;
}

.link-image-image:hover {
	background-size: 110%;
}