/* Göteborgs Rör Teknik AB */

/* ==========================================================================
Generellt
========================================================================== */
:root {
	/* 	Colors */
	--primary-color: 222, 99, 50;

	--black-color: 17, 17, 17;
	--gray-dark-color: 58, 58, 58;
	--gray-color: 130, 130, 130;
	--gray-light-color: 248, 248, 248;
	--white-color: 255, 255, 255;

	/* 	Layout  */
	--col-padding: 3rem;
	--menu-height: 8rem;
	--menu-height-scrolled: 8rem;
	--section-width: 130rem;

	/* 	Typography */
	--base-size: 1.8rem;

	/* 	Mobile nav */
	--activate-mobile-menu: 980;
	--mobile-menu-height: 6rem;
	--mobile-menu-bg: var(--white-color);
	--menu-color: var(--black-color);
}

@media only screen and (max-width: 580px) {
	:root {
		--base-size: 1.5rem;
	}
}

/* Layout
========================================================================== */
.section-block {
	padding: 10rem 5rem;
}

/* Paddings */
.pb-0 .section-block,
.pb-0:not(.section-wrapper) {
	padding-bottom: 0;
}

/* Margins */
.mb-3 {
	margin-bottom: 3rem;
}

@media only screen and (max-width: 1024px) {
	.section-block {
		padding: 8rem 3rem;
	}
}

@media only screen and (max-width: 580px) {
	.section-block {
		padding: 5rem 2rem;
	}
}

/* Text och typsnitt
========================================================================== */
body {
	font-family: 'Public Sans', sans-serif;
}

/* Rubriker */
.text-label {
	padding-bottom: 1em;
	font-size: 1.6rem;
	font-weight: 300;
	text-transform: uppercase;
	letter-spacing: 0.3rem;
}

.section-title {
	padding-bottom: .5em;
	font-size: 5rem;
	font-weight: 600;
	line-height: 1.2;
	text-transform: uppercase;
	font-family: 'Poppins', sans-serif;
}

.small-title {
	padding-bottom: .3em;
	font-size: 2.5rem;
	font-weight: 400;
	line-height: 1.4;
	font-family: 'Poppins', sans-serif;
}

/* Brodtext och lankar */
p,
li {
	color: rgb(var(--gray-dark-color));
	font-weight: 300;
}

a {
	text-decoration: none;
	font-weight: 300;
}

a:hover {
	color: rgb(var(--primary-color));
}

/* Ovriga klasser */
.text-bold {
	font-weight: 700;
}

.text-center {
	text-align: center;
}

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

	/* Rubriker */
	.section-title {
		font-size: 3.8rem;
	}

	.small-title {
		font-size: 2.2rem;
	}
}

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

	/* Rubriker */
	.section-title {
		font-size: 2.5rem;
	}

	.small-title {
		font-size: 2rem;
	}

	.text-label {
		font-size: 1.2rem;
	}
}

/* Knappar och speciella lankar
========================================================================== */
.btn-wrapper {
	margin-top: 2rem;
}

.btn-wrapper.center {
	text-align: center;
}

/* Knappar */
.btn,
.ContactSubmit {
	min-width: 15rem;
	padding: 1.8rem 3rem;
	margin: 5px;
	font-size: 1.4rem;
	font-weight: 400;
	border-radius: 0.3rem;
	letter-spacing: 0.2rem;
	text-align: center;
	text-decoration: none;
	transition: all .4s ease;
	text-transform: uppercase;
}

.btn-primary-filled,
.ContactSubmit {
	color: rgb(var(--white-color));
	border: 1px solid rgb(var(--primary-color));
	background-color: rgb(var(--primary-color));
}

.btn-primary-filled:hover,
.ContactSubmit:hover {
	color: rgb(var(--primary-color));
	border: 1px solid rgb(var(--primary-color));
	background-color: transparent;
}

/* Farger
========================================================================== */
/* Bakgrunder */
.bg-primary {
	background-color: rgb(var(--primary-color));
}

.bg-gray {
	background-color: rgb(var(--gray-color));
}

.bg-gray-light {
	background-color: rgb(var(--gray-light-color));
}

/* Gradient */
.gradient-white-primary {
	background-image: linear-gradient(to bottom, rgb(var(--white-color)) 50%, rgb(var(--primary-color)) 50%);
}

/* Text */
.text-primary {
	color: rgb(var(--primary-color));
}

.text-white {
	color: rgb(var(--white-color));
}

/* Grafiska element
========================================================================== */

/* Line seperator */
.primary-line::after {
	content: "";
	display: block;
	width: 8rem;
	padding-top: 1.8rem;
	border-bottom: 0.2rem solid rgb(var(--primary-color));
}

.white-line::after {
	content: "";
	display: block;
	width: 15%;
	padding-top: 1.8rem;
	border-bottom: 0.2rem solid rgb(var(--white-color));
}

/* Bakgrundsbilder och videos
========================================================================== */
.bg-image {
	position: relative;
	overflow: hidden;
}

.bg-image-wrapper {
	z-index: -1;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* Cards
========================================================================== */
.cards-wrapper {
	display: flex;
	flex-wrap: wrap;
}

/* Bredder */
.cards-wrapper.w-33 .card-item {
	width: calc((100% / 3) - 2rem);
	margin: 1rem;
}

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

	/* Bredder */
	.cards-wrapper.w-33 .card-item {
		width: calc((100% / 2) - 2rem);
		margin: 1rem;
	}
}

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

	/* Bredder */
	.cards-wrapper.w-33 .card-item {
		width: 100%;
		margin: 1rem 0;
	}
}

/* Header / Navigation
========================================================================== */
header:not(.scrolled) {
	border-color: transparent;
	background-color: transparent;
}

header.scrolled {
	border-bottom: 1px solid rgb(var(--gray-light-color));
}

/* Logo */
.header-logo {
	flex: 1 1 0px;
}

/* Nav */
.TemplateMenu a {
	font-weight: 400;
	font-size: 1.4rem;
	text-transform: uppercase;
	letter-spacing: 0.2rem;
	color: rgb(var(--black-color));
}

header:not(.scrolled, .mobile-menu) .TemplateMenu>li:not(.active)>a:not(:hover) {
	color: rgb(var(--white-color));
}

/* Mobilmeny */
.mobile-menu:not(.scrolled, .active-menu) {
	--menu-color: var(--white-color);
}

.mobile-menu .TemplateMenu li {
	padding: 0 2rem;
	text-align: center;
}

/* ==========================================================================
Startsida
========================================================================== */

/* Top-section
========================================================================== */
.top-section {
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: calc(90vh - var(--menu-height));
	margin-top: calc(var(--menu-height) * -1);
	background-color: rgb(var(--black-color), .5);
}

.top-section .section-block {
	width: 100%;
}

.top-section .section-title {
	font-size: 5rem;
	font-weight: 300;
	text-transform: none;
	padding-bottom: 2rem;
	letter-spacing: 0.2rem;
}

.top-section .small-title {
	letter-spacing: 0.8rem;
	font-weight: 300;
	text-transform: uppercase;
}

.top-section .btn-primary-filled:hover {
	color: rgb(var(--white-color));
	border: 1px solid rgb(var(--white-color));
}

@media only screen and (max-width: 1200px) {
	.top-section .section-title {
		font-size: 4.5rem;
	}
}

@media only screen and (max-width: 580px) {
	.top-section {
		min-height: calc(100vh - var(--menu-height));
	}

	.top-section .section-title {
		font-size: 3rem;
	}
}

/* Om oss
========================================================================== */
.intro-img-wrapper {
	margin-top: -20rem;
	position: relative;
	z-index: 4;
}

.intro-img-wrapper img {
	display: block;
	width: 100%;
	height: 70rem;
	object-fit: cover;
	object-position: 85% center;
}

.sigill-wrapper img {
	max-width: 10rem;
}

@media only screen and (max-width: 980px) {
	.intro-img-wrapper {
		margin-top: 3rem;
	}

	.intro-img-wrapper img {
		max-height: 30rem;
	}

	.sigill-wrapper {
		text-align: center;
	}
}

/* Partners
========================================================================== */
.logos .slick-list {
	padding: 1.25rem 0;
}

.logos .card-item {
	margin: 1.5rem;
	background-color: rgba(var(--white-color));
	border: 1px solid rgba(var(--gray-light-color));
	box-shadow: 0 6px 10px rgba(var(--black-color), .1);
}

.logos .card-item img {
	display: block;
	width: 80%;
	max-height: 15rem;
	object-fit: contain;
	margin: 1.5rem auto;
}

/* Service
========================================================================== */
.service-wrapper .card-body {
	height: 100%;
	padding: 8rem 4rem;
	background-color: rgba(var(--black-color), .5);
	transition: .2s ease-in-out;
}

.service-wrapper .small-title {
	font-size: 3rem;
	text-transform: uppercase;
	padding-bottom: 1.5rem;
}

@media only screen and (max-width: 580px) {
	.service-wrapper .card-body {
		padding: 5rem 2.5rem;
	}

	.service-wrapper .small-title {
		font-size: 2rem;
	}
}

/* Kontakt
========================================================================== */
.section-contact .section-block-wrapper {
	background-color: rgba(var(--white-color));
	padding: 7rem;
	box-shadow: 0 1rem 3rem rgba(var(--black-color), .1);
	max-width: 120rem;
}

.section-contact i {
	margin-right: 0.5rem;
}

/* Formular */
.ContactForm p {
	display: none;
}

.ContactForm input[type="text"],
.ContactForm input[type="email"],
.ContactForm input[type="tel"],
.ContactForm textarea {
	border-radius: 0.2rem;
	border-color: transparent;
}

.ContactForm input[type="text"]:not(.illegal),
.ContactForm input[type="email"]:not(.illegal),
.ContactForm input[type="tel"]:not(.illegal),
.ContactForm textarea:not(.illegal) {
	background-color: rgb(var(--gray-light-color));
}

@media only screen and (max-width: 580px) {
	.section-contact .section-block-wrapper {
		padding: 2rem;
	}

	.section-contact .section-title {
		font-size: 2.5rem;
	}
}

/* ==========================================================================
Footer
========================================================================== */
.footer {
	padding: 0 5rem;
	background-color: rgb(var(--primary-color));
}

.footer-container {
	border-top: 0.1rem solid rgb(var(--white-color));
	max-width: 120rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 2rem 0;
}

.footer p,
.footer a {
	font-size: 1.6rem;
	text-decoration: none;
	color: rgb(var(--white-color));
	font-weight: 300;
}

.footer a:hover {
	text-decoration: underline;
}

/* WebbEss Stamp  */
.footer .webbess-stamp {
	display: flex;
	align-items: center;
	text-decoration: none;
}

.webbess-stamp img {
	width: 2.5rem;
	margin-left: 1rem;
	filter: invert();
}