/* Rotängens Lantbruk AB */

@import url('https://unpkg.com/aos@2.3.1/dist/aos.css');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700&display=swap');



@import url("https://use.typekit.net/ewb7cpz.css");
@import url("https://use.typekit.net/xcy7yfj.css");
/* Modal */
@import url('https://cdnjs.cloudflare.com/ajax/libs/jquery-modal/0.9.1/jquery.modal.min.css');

/* ==========================================================================
Generellt 
========================================================================== */
*,
*::before,
*::after {
	box-sizing: border-box;
}

@media only screen and (hover:none) {

	*,
	*::before,
	*::after {
		background-attachment: scroll !important;
		background-position: center center;
	}

}


html {
	font-size: 62.5%;
}


.section-block-wrapper::after {
	display: table;
	clear: both;
	content: '';
}


body {
	background-color: #fff;
	background-position: right center !important;
	overflow-x: hidden !important;
	background-attachment: fixed !important;
	/* 	background-size: contain !important; */
	font-family: 'Open Sans', sans-serif;
	/* background: url(https://media.gettyimages.com/photos/cows-in-the-summer-evening-picture-id504631566?s=2048x2048); */
}


body.isMobile .body-background {
	background-position: center center;
	background-size: cover;
}


/* Video background */
.fullscreen-bg-video {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	overflow: hidden;
	z-index: -100;
}

#bg-video {
	position: absolute;
	top: 50%;
	left: 50%;
	width: auto;
	height: auto;
	min-width: 100%;
	min-height: 100%;
	-webkit-transform: translate(-50%, -50%);
	-moz-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
}


.LayoutPage .section-block,
.SubPage .LayoutPage .section-block {
	padding: 12rem 4rem;
}


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

	.LayoutPage .section-block,
	.SubPage .LayoutPage .section-block {
		padding: 10rem 2rem;
	}
}

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

	.LayoutPage .section-block,
	.SubPage .LayoutPage .section-block {
		padding: 7.5rem 2rem;
	}
}

/* ========================================================================== 
Modal
========================================================================== */
body.modal-open {
	overflow: hidden !important;
}

.modal.gallery-modal {
	z-index: 101;
	position: fixed;
	bottom: -100%;
	left: 50%;
	transform: translateX(-50%);
	transition: .75s ease;
	width: 90vw;
	max-width: 150rem;
	max-height: 85vh !important;
	vertical-align: middle !important;
	overflow: auto;
	border-radius: 0;
	padding: 6rem;
	background: #fff;
	box-shadow: 0px 5px 30px rgba(0, 0, 0, 0.14);
}

.modal.gallery-modal.show {
	bottom: 0;
}

.blocker {
	z-index: 100;
}

.modal.gallery-modal a.close-modal {
	display: none;
}

.modal.gallery-modal a.custom-close-modal {
	position: absolute;
	top: 2rem;
	right: 3rem;
	font-size: 3rem;
}

.modal-columns {
	display: flex;
}



.modal-content img {
	max-width: 100%;
	max-height: 700px;
	margin: 0 auto;
}

.modal-content .gallery-item-info {
	text-align: left;
	margin-top: 0;
	padding-left: 5%;
}


.modal .modal-heading {
	font-size: 2.5rem;
	padding-bottom: 1rem;
	font-weight: 700;
}

.modal .price-item {
	padding: 2rem;
	background-color: #f8f8f8;
	margin-bottom: 3rem;
}

.price-item .price-heading {
	font-size: 2rem;
	padding-bottom: 0;
	font-weight: 700;
}

.modal-content .btn {
	margin-top: 2rem;
}

@media only screen and (max-width: 700px) {
	.modal.gallery-modal {
		padding: 4rem 2rem;
	}
}

/* ==========================================================================
Split Wrapper
========================================================================== */
.section-split .section-block .normaltext-type {
	max-width: none;
}

.section-split .section-block .section-block-wrapper {
	max-width: 160rem;
}

.split-reverse {
	flex-direction: row-reverse;
}

.split-wrapper {
	display: flex;
	flex-wrap: wrap;
	position: relative;
}

.split-wrapper.reverse {
	flex-direction: row-reverse;
}

.split-content {
	width: 50%;
	padding: 6rem 7rem;
	text-align: left;
	display: flex;
}

.split-content .split-text {
	align-self: center;
}

.split-image {
	width: 50%;
	position: relative;
	overflow: hidden;
	box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.21);
}

.split-image img {
	position: absolute;
	transform: translate(-50%, -50%);
	top: 50%;
	left: 50%;
	height: 100%;
	min-width: 100%;
	min-height: 100%;
	max-width: none !important;
}

.split-wrapper.box-shadow {
	box-shadow: 0px 12px 25px rgba(0, 0, 0, 0.15);
}

.split-wrapper.box-shadow .split-image {
	box-shadow: none;
}

@supports (object-fit: cover) {
	.split-image img {
		position: relative;
		transform: none;
		top: auto;
		left: auto;

		object-fit: cover;
		object-position: center;
		height: 100% !important;
		width: 100% !important;
	}

	.split-image-product img {
		object-fit: contain !important;
	}
}

@media screen and (max-width: 1470px) {
	.split-content {
		padding: 8rem 5rem;
	}
}

@media screen and (max-width: 1270px) {
	.split-content .btn {
		display: block;
		margin: 2rem 0 !important;
	}
}

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

	.split-content {
		width: 100%;
		padding: 5rem;
		order: 1;
	}

	.split-image {
		width: 100%;
		padding: 0;
		order: 0;
		max-height: 50rem;
	}
}

@media screen and (max-width: 600px) {
	.split-content {
		padding: 3rem 0 0 0;
	}
}


/* ==========================================================================
Badge
========================================================================== */
/* Badge */
.badge-wrapper {
	position: relative;
}

.badge {
	position: absolute;
	z-index: 2;
	top: 1rem;
	right: 1rem;
	width: 12rem;
}

@media only screen and (max-width: 600px) {
	.badge {
		width: 8rem;
		left: 1rem;
	}
}

/* ==========================================================================
Knappar & länkar (buttons)
========================================================================== */

.btn {
	max-width: 50rem;
	width: auto;
	box-sizing: border-box;
	padding: 1.9rem 4rem;
	border-radius: .6rem;
	text-align: center;
	font-size: 1.2rem;
	letter-spacing: 0.2em;
	line-height: 1.3;
	-webkit-transition: all .4s ease;
	transition: all .4s ease;
	display: inline-block;
	text-transform: uppercase;
	font-weight: 400;
}


.btn {
	background: #f7b900;
	border: 2px solid #f7b900;
	color: #000;
}


.btn:hover {
	background: #e6a203;
	border: 2px solid #e6a203;
	color: #000;
}

.btn-info {
	background: transparent;
	border: 2px solid #000;
	color: #000;
}

.btn-info:hover {
	background: #000;
	border: 2px solid #000;
	color: #fff;
}

.btn-white {
	background: white;
	border: 2px solid white;
	color: #000;
}

.btn-white-border {
	background: transparent;
	border: 2px solid white;
	color: white;
}

.btn-black {
	background: #000;
	border: 2px solid #000;
	color: white;
}

.btn-black:hover {
	background: #000;
	border: 2px solid #fff;
	color: white;
}

.btn-black-border {
	background: transparent !important;
	border: 2px solid #000;
	color: white;
}

.btn-filled-white:hover {
	background: transparent;
	border: 2px solid white;
	color: white;
}

.btn-filled-black:hover {
	background: transparent;
	border: 2px solid #000;
	color: #000;
}

.btn-outlined-white:hover {
	background: white !important;
	border: 2px solid white;
	color: #000;
}

.btn-outlined-black:hover {
	background: #000 !important;
	border: 2px solid #000;
	color: white;
}


.btn-wrapper {
	margin-top: 2rem;
}


@media only screen and (max-width: 600px) {
	.btn {
		display: block;
		width: 100%;
	}

	.btn-wrapper .btn {
		margin: 1.5rem 0;
	}
}

/* Andra knappar & länkar
========================================================================== */
.btn-link {
	color: #fff;
}

.btn-link:hover {
	color: #fff;
}

.btn-link:after {
	font-family: 'Font Awesome 5 Pro';
	font-weight: 700;
	content: '\f061';
	margin-left: 0.8rem;
	text-decoration: none;
	display: inline-block;
	transform: translateX(1rem);
}

.btn-link:after:hover {
	transform: translateX(1.5rem);
}


.mail-icon-before:before {
	font-family: 'Font Awesome 5 Pro';
	font-weight: 300;
	content: '\f0e0';
	margin-right: 0.8rem;
	text-decoration: none;
	display: inline-block;
}

/* ==========================================================================
Bakgrunder % farger
========================================================================== */
.color-primary {
	color: #f7b900;
}


/* ==========================================================================
Text och typsnitt
========================================================================== */
p,
a,
li {
	line-height: 1.8;
	font-size: 1.8rem;
	color: #332b11;
	font-family: 'Open Sans', sans-serif;
	font-weight: 300;
	text-decoration: none;
}

p {
	padding: 0 0 1.2em 0;
}

a:hover {
	text-decoration: underline;
	color: #000;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: inherit;
	font-weight: 300;
	letter-spacing: 0px;
	line-height: 1.4;
	color: #000;
	text-transform: normal;
	text-transform: none;
}

.handwritten {
	font-family: al-fresco, sans-serif;
	font-size: 6rem;
	font-weight: 400;
	padding-bottom: 1rem;
	line-height: 1;
	font-style: normal;
}


h2,
h3,
.subheading {
	font-size: 4rem;
	padding-bottom: 3rem;
	font-weight: 400;
}

.heading {
	font-size: 2rem;
	text-transform: uppercase;
	letter-spacing: .1em;
	padding-bottom: 2rem;
	font-weight: 600;
	color: #197DB1;
	line-height: 1.4;
}

.bold {
	font-weight: 700;
	padding-bottom: 0;
}



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

	h2,
	h3,
	.subheading {
		font-size: 4rem;
	}

	.heading {
		font-size: 1.7rem;
	}
}


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

	h2,
	h3,
	.subheading {
		font-size: 3rem;
	}

	.handwritten {
		font-size: 4.5rem;
	}
}

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

	h2,
	h3,
	.subheading {
		font-size: 2rem;
		font-weight: 700;
		padding-bottom: 1rem;
	}
}

/* lilla "abc"-blocket */
.smalltext-type {
	max-width: none;
}

/* stora "ABC"-blocket */
.normaltext-type {
	max-width: 90rem;
	margin: 0 auto;
	text-align: center;
}

/* ==========================================================================
Header / Navigation
========================================================================== */

/* Header
========================================================================== */
header {
	-webkit-transition: all 500ms linear;
	-moz-transition: all 500ms linear;
	-o-transition: all 500ms linear;
	-ms-transition: all 500ms linear;
	transition: all 500ms linear;
	background-color: transparent;
	box-shadow: none;
}


header.scrolled {
	background-color: #000;
	box-shadow: 0px -2px 10px rgba(0, 0, 0, 0.3);
}

header .container {
	max-width: none;
}

/* @media only screen and (max-width: 1480px) {
	header .container {
		max-width: 130rem;
	}
} */

/* Header logo */
header .header-logo {
	width: 18rem;
	padding: 1rem 2rem;
	box-sizing: border-box;
	position: absolute;
	left: 0;
	opacity: 1;
	-moz-transition: 0.4s ease-in-out;
	-webkit-transition: 0.4s ease-in-out;
	transition: 0.4s ease-in-out;
}

header .header-logo a {
	font-size: 2.8rem;
	line-height: 1;
	text-decoration: none;
	font-weight: 400;
	color: #fff;
}

header.scrolled .header-logo {
	width: 12rem;
	padding: 0.5rem 2rem;
}

@media only screen and (max-width: 1300px) {
	header .header-logo {
		width: 15rem;
	}
}

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

	header .header-logo,
	header.scrolled .header-logo {
		width: 9rem;
		padding: 1rem;
	}
}

/* Navigation
========================================================================== */
nav.mainmenu {
	text-align: right;
}

nav.mainmenu a {
	font-family: inherit;
	font-weight: 300;
	font-size: 1.4rem;
	color: #fff;
	text-transform: none;
	padding: 0 1.8rem;
	margin: 0;
	letter-spacing: 0.5px;
	-webkit-transition: all 500ms linear;
	-moz-transition: all 500ms linear;
	-o-transition: all 500ms linear;
	-ms-transition: all 500ms linear;
	transition: all 500ms linear;

}

header.scrolled nav.mainmenu li a {
	color: #fff;
}

nav.mainmenu li:hover,
nav.mainmenu li.active {
	background-color: transparent;
}



/* Dropdown menu */
nav.mainmenu ul>li.expandable-li:hover {
	background-color: transparent;
}

nav.mainmenu li:hover,
nav.mainmenu li.active {
	background-color: transparent !important;
}

nav.mainmenu ul>li.expandable-li:hover>a {
	/* color: #f7b900; */
	/* padding-bottom: 0; */
}

nav.mainmenu ul>li.expandable-li:hover>a:before {
	display: none;
}

/* nav.mainmenu ul>li.expandable-li:hover>ul>li>a {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
} */


nav.mainmenu ul>li>ul {
	background: #f7f7f7;
	padding: 0;
	box-sizing: border-box;
	box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.22);
	line-height: normal;
	height: auto;
	min-width: 100%;
	width: auto;
	text-align: left;
	z-index: 10;
}


nav.mainmenu ul>li>ul>li {
	padding: 0 1.5rem;
	background: #000;
}

nav.mainmenu ul>li>ul a {
	background: transparent !important;
	text-decoration: none !important;
	white-space: nowrap;
	line-height: 2;
}



nav.mainmenu ul>li>ul>li>a {
	color: #fff !important;
	text-transform: unset;
	letter-spacing: normal;
	padding: 1rem;
}

nav.mainmenu ul>li>ul>li.expandable-li:hover>a {
	padding: 1rem;
}

nav.mainmenu ul>li>ul>li>ul a {
	color: #444 !important;
}

nav.mainmenu ul>li>ul>li>a:before {
	display: none;
}

nav.mainmenu ul>li>ul>li>ul {
	right: 0px;
}

nav.mainmenu ul>li.expandable-li:hover ul {
	background: #222;
}

/* Sub dropdown  */
nav.mainmenu ul>li>ul>li>ul {
	top: 0;
	right: 0px;
}

nav.mainmenu .parent.expandable:after {
	content: '\f0da';
}

/* Hamburgermenu */
@media only screen and (min-width: 1181px) {

	.hamburger {
		display: none;
	}

	.expandable:after {
		font-family: 'Font Awesome 5 Pro';
		font-weight: 700;
		content: '\f0d7';
		margin-left: .8rem;
		text-decoration: none;
		display: inline-block;
		font-size: .8em;
		vertical-align: middle;
	}

	nav.mainmenu a:hover:before,
	nav.mainmenu li.active a:before {
		visibility: visible;
		-webkit-transform: scaleX(1);
		transform: scaleX(1);
	}

	nav.mainmenu a:before {
		background-color: #f7b900;
		visibility: hidden;
		position: absolute;
		content: "";
		height: 2px;
		bottom: 13px;
		width: 50%;
		left: 25%;
		-webkit-transform: scaleX(0);
		transform: scaleX(0);
		-webkit-transition: all 0.3s ease-in-out 0s;
		transition: all 0.3s ease-in-out 0s;
	}

	nav.mainmenu li:hover a,
	nav.mainmenu li.active a {
		color: #f7b900 !important;
	}


	#nav-lankar #dropdown {
		display: none;
		background: #000;
		margin-top: -10px;
		width: auto;
	}

	#nav-lankar:hover #dropdown {
		display: block;
	}

}

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

	/* Hamburger */
	.hamburger {
		position: absolute;
		z-index: 99;
		left: auto;
		right: 2rem;
		top: 1rem;
	}

	.hamburger-inner,
	.hamburger-inner::after,
	.hamburger-inner::before {
		color: #fff;
		background-color: #fff;
	}

	.hamburger--menu .hamburger-inner::after {
		content: 'MENY';
		font-size: 1.1rem;
		letter-spacing: .2em;
		color: #fff;
	}

	.hamburger-inner,
	.hamburger-inner::after,
	.hamburger-inner::before {
		width: 4rem;
	}

	/* .is-clicked .hamburger-inner, 
	.is-clicked .hamburger-inner::after, 
	.is-clicked .hamburger-inner::before {
		color: #000;
		background-color: #000;
	} */

	/* Navigation */
	nav.mainmenu {
		text-align: left;
		display: none;
		position: fixed;
		height: 100%;
		left: auto;
		right: 0;
		width: 100%;
		max-width: 60rem;
		background-color: #111;
		z-index: 8 !important;
		top: 0;
		box-shadow: none;
		overflow-y: scroll;
	}

	nav.mainmenu .Padding {
		margin: 8rem 0 !important;
	}

	nav.mainmenu li {
		text-align: left;
		display: block;
	}

	nav.mainmenu li a {
		margin: unset;
		padding: unset;
		font-size: 1.9rem;
		line-height: 4;
		color: #fff !important;
		text-align: left;
		padding-left: 4rem;
		width: 100%;
	}

	nav.mainmenu li a:hover {
		color: #f7b900 !important;
	}

	nav.mainmenu li a:before,
	#nav-lankar #dropdown a:before {
		display: none;
	}


	#overlay {
		z-index: 7;
		background-color: rgba(0, 0, 0, 0.4);

	}

	nav.mainmenu ul>li.expandable-li:hover>a {
		color: #fff !important
	}

	/* Dropdown */
	nav.mainmenu ul>li>ul {
		background-color: #fff !important;
		width: auto !important;
		border: none;
	}

	nav.mainmenu ul>li>ul {
		display: contents !important;
	}

	nav.mainmenu ul>li>ul>li {
		background-color: transparent;
	}

	nav.mainmenu ul>li>ul>li>a {
		width: 100%;
		padding: 0 0 0 4rem !important;
		line-height: 3;
	}

	nav.mainmenu ul>li>ul>li>a:before {
		display: none;
	}

	nav.mainmenu ul>li.expandable-li:hover>a {
		padding-bottom: 0;
	}

	nav.mainmenu ul.TemplateMenu>li {
		line-height: normal;
		height: auto;
	}

}

/* ==========================================================================
Top-section
========================================================================== */

.certification-wrapper {
	/* position: fixed; */
	position: absolute;
	bottom: 2rem;
	right: 2rem;
	z-index: 2;
	border-radius: 1rem;
	-moz-transition: 0.4s ease-in-out;
	-webkit-transition: 0.4s ease-in-out;
	transition: 0.4s ease-in-out;
	background-color: transparent;
	padding: 1.5rem;
}

.certification {
	width: 13rem;
}

/* .certification-wrapper.scrolled  {
	bottom: 3rem;
} */

.top-section {
	display: flex;
	align-items: center;
	padding-top: 7rem;
	height: auto;
	background-color: rgba(0, 0, 0, 0.6);
	min-height: 100vh;
}

/* Backround Image Slider */
#crossfade {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	z-index: -10;
}

#crossfade div {
	width: 100%;
	height: 100vh;
	position: absolute;
	top: 0px;
	left: 0px;
	color: transparent;
	z-index: -3;
	background-repeat: no-repeat;
	background-position: center center;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-ms-background-size: cover;
	background-size: cover;
}

#crossfade div.active {
	z-index: -1;
}

.page-title-wrap {
	background-color: transparent;
	transform: none;
	position: static;
	max-width: none;
	text-align: left;
	padding: 2rem;
	z-index: 3;
}

.page-title-innerwrap {
	max-width: 90rem;
	padding-left: 5rem;
}

.page-title-wrap .btn {
	margin: 1rem;

}

.page-title-wrap h1,
.page-title-wrap h2 {
	color: #fff;
	padding: 0;
	line-height: 1.4;
	text-shadow: none;
	font-weight: 300;
}



.page-title-wrap h1 {
	font-size: 5rem;
	font-weight: 300;
	text-transform: none;
	text-shadow: 0px 2px 10px rgba(0, 0, 0, 0.17);
	letter-spacing: 0;
}



.page-title-wrap p {
	color: #fff;
	padding-top: 2rem;
	padding-bottom: 0;
	max-width: 60rem;
	font-weight: 300;
	line-height: 1.5;
}

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

	.page-title-wrap h1 {
		font-size: 3.5rem;
	}
}

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

	.page-title-wrap h1 {
		font-size: 3.5rem;
	}

	.page-title-innerwrap {
		max-width: 70rem;
		padding-left: 3rem;
	}
}


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

	.page-title-wrap h1 {
		font-size: 3rem;
	}

	.page-title-innerwrap {
		padding-left: 2rem;
	}
}

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



	.page-title-innerwrap {
		max-width: 70rem;
		padding-left: 0;
	}

	.page-title-wrap {
		padding: 7rem 2rem 15rem;
	}

	.page-title-wrap .btn {
		margin: 0 0 1rem 0;
	}

	.top-section {
		min-height: auto;
	}
}

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

	.page-title-wrap h1 {
		font-size: 2.3rem;
	}
}

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

/* Om oss
========================================================================== */
.LayoutPage .about .section-block-wrapper {
	max-width: none;
}

.LayoutPage .about .section-block {
	padding: 4rem 4rem;
	background-color: #f1e8df;
}

@media only screen and (max-width:600px) {
	.LayoutPage .about .section-block {
		padding: 4rem 2rem;
	}
}

/* Nyheter
========================================================================== */
.LayoutPage .news .section-block-wrapper {
	max-width: none;
}

.LayoutPage .news .section-block {
	padding: 4rem 4rem;
	background-color: #f1e8df;
}

@media only screen and (max-width:600px) {
	.LayoutPage .news .section-block {
		padding: 0 2rem 4rem 2rem;
	}
}

/* Parallax
========================================================================== */
.LayoutPage .services {
	background-image: url('/assets/images/rotangen-kvallsplojning-2000px.jpg');
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
	background-attachment: fixed;
}

.LayoutPage .services .section-block {
	height: auto;
	min-height: 60vh;
	justify-content: center;
	align-items: flex-end;
	display: flex;
	padding: 0;
	margin-bottom: -2rem;
}

.LayoutPage .services .section-block-wrapper {
	justify-content: center;
	width: 100%;
	max-width: 80rem;
	text-align: center;
	padding: 3rem;
	background-color: #f1e8df;
	box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.15);
	border-top-left-radius: .6rem;
	border-top-right-radius: .6rem;
	margin-top: -5rem;
	z-index: 2;
}

.LayoutPage .services .handwritten {
	padding: 1rem 0 0;
	color: #000;
}


/* Tjänster
========================================================================== */


.LayoutPage .services-splits .section-block-wrapper {
	max-width: 160rem;
}

.LayoutPage .services-splits {
	background-color: #f1e8df;
}


.LayoutPage .services-splits .btn:first-child {
	margin-right: 2rem;
}

.services-splits .normaltext-type {
	margin-bottom: 6rem;
	max-width: none;
}

.services-splits .normaltext-type:nth-child(even) {
	background: #111;
}

.services-splits .normaltext-type:nth-child(even) *:not(.btn) {
	color: #fff;
}

.services-splits .normaltext-type:nth-child(even) .split-wrapper {
	flex-direction: row-reverse;
}

@media only screen and (max-width: 600px) {
	.services-splits .split-content {
		padding: 5rem 0;
	}

	.services-splits .normaltext-type:nth-child(even) {
		background-color: transparent;
	}

	.services-splits .normaltext-type:nth-child(even) *:not(.btn) {
		color: inherit;
	}
}


/* Galleri
========================================================================== */
.LayoutPage .gallery .section-block {
	background-color: #000;
}

.LayoutPage .gallery .handwritten {
	color: #fff;
}

.LayoutPage .gallery .section-block-wrapper {
	max-width: 150rem;
}

.LayoutPage .gallery .section-block {
	padding-bottom: 3rem;
}

.references-wrapper {
	display: flex;
	flex-wrap: wrap;
}

.reference-item {
	position: relative;
	display: inline-block;
	width: 23%;
	margin: 1%;
	line-height: 1;
	min-height: 22rem;
	padding: 0;
	box-sizing: border-box;
	overflow: hidden;
	box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.15);
	border-radius: .6rem;
}

.reference-item .references-overlay {
	-moz-transition: 0.2s ease-in-out;
	-webkit-transition: 0.2s ease-in-out;
	transition: 0.2s ease-in-out;
	height: 100%;
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
	cursor: -webkit-zoom-in;
	cursor: zoom-in;
	z-index: 2;
	background: rgba(0, 0, 0, 0.17);
}

.reference-item:hover .references-overlay {
	background: rgba(255, 0, 0, 0.58);
}

.reference-item .reference-text {
	position: absolute;
	bottom: 0;
	top: auto;
	z-index: 1;
	color: #fff;
	padding: 2rem;
	width: 100%;
}

.reference-item .reference-text * {
	color: #fff;
	font-size: 1.6rem;
	text-shadow: 0px 2px 8px rgba(0, 0, 0, 0.3);
}

.reference-item .reference-text h3 {
	font-size: 2.6rem;
	padding-bottom: 0.5rem;
	font-weight: 800;
}

.reference-item img {
	object-fit: cover;
	object-position: center center;
}

@supports (object-fit: cover) {

	.reference-item img {
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		min-width: 100%;
		min-height: 100%;
		width: 100%;
		height: 100% !important;
	}
}

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

	.reference-item {
		width: 31%;
	}
}

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

	.reference-item {
		width: 48%;
	}
}

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

	.reference-item .reference-text h3 {
		font-size: 2rem;
	}

	.LayoutPage .gallery .section-block {
		padding: 8rem 2rem;
	}

	.reference-item {
		width: 100%;
		margin-bottom: 1.5rem;
	}
}

/* FILTER FUNCTION */
.reference-item {
	display: none;
	/* Hidden by default */
}

#filter-btn-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

.btn-filter {
	cursor: pointer;
	/* border: 2px solid #000; */
	border: none;
	color: #fff;
	margin: .5rem;
	padding: 1rem;
	background-color: transparent;
	font-size: 1.3rem;
	font-family: 'Rubik', sans-serif;
	border: 2px solid #f7b900;
	max-width: 50rem;
	width: auto;
	box-sizing: border-box;
	padding: 1.9rem 4rem;
	border-radius: .6rem;
	text-align: center;
	font-size: 1.2rem;
	letter-spacing: 0.2em;
	line-height: 1.3;
	-webkit-transition: all .4s ease;
	transition: all .4s ease;
	display: inline-block;
	text-transform: uppercase;
	font-weight: 400;
}

.btn-filter:first-child {
	background: #f7b900;
	border: 2px solid transparent;
	color: #000;
}

.btn-filter:hover {
	background: #f7b900;
	color: #000;
	border: 2px solid #f7b900;
}

#filter-btn-container .btn.btn-active {
	background-color: #fff;
	border: 2px solid #fff;
	color: #000;
}

/* The "show" class is added to the filtered elements */
.show {
	display: inline-block;
}

.filter-items-container {
	overflow: hidden;
	margin-top: 2rem;
}

@media only screen and (max-width: 696px) {
	#filter-btn-container .btn {
		width: 48%;
		margin: 1%;
		font-size: 1.4rem;
		padding: 1.4rem 2rem;
		text-transform: none;
		letter-spacing: 0;
	}

	#filter-btn-container {
		padding-bottom: 3rem;
	}

}

/* ==========================================================================
Footer
========================================================================== */

.footer {
	background-color: #000;
	padding: 0;
	color: #fff;
	position: relative;
}

.footer .container {
	padding: 7rem 5rem 0;
	max-width: 160rem;
}

.footer p,
.footer a,
.footer li {
	text-align: left;
	font-size: 1.4rem;
	color: #fff;
}

.footer a:hover {
	color: #fff;
}

.footer .btn {
	color: #000 !important;
	text-transform: uppercase;
}

.footer-container {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	flex-wrap: wrap;
	padding: 2rem 0 0;
	position: relative;
}

.footer-logo-wrapper {
	width: 20rem;
	margin: 0 auto 10rem;
}

.footer-logo {
	width: 100%;
}

/* FOOTER MENU */
.footer-nav {
	width: 100%;
	margin-bottom: 5rem;
	padding-left: 2rem;
	text-align: right;
}

.footer-menu-wrapper {
	display: flex;
	list-style-type: none;
	padding-inline-start: 0;
	margin: 0;
}

.footer-menu {
	text-align: left;
	width: 33%;
}




.footer-heading {
	font-size: 1.6rem;
	text-transform: uppercase;
	font-weight: 700;
	letter-spacing: .1em;
	padding-bottom: 2rem;
	color: #fff;
}

/* FOOTER SUBMENU */

.footer-submenu {
	padding-inline-start: 0;
	list-style-type: none;
}

.footer-submenu li {
	text-align: left;
}

.footer-menu:last-child {
	width: 7rem;
	align-self: center;
}

.footer-menu-link {
	font-size: 1.6rem;
	line-height: 2em !important;
}

.footer-menu-link:hover {
	color: #333;
	text-decoration: underline;
}

/* FOOTER SOCIAL LINKS */
.footer .social-list {
	display: flex;
	list-style: none;
	padding: 0;
	margin: 0;
	flex-direction: column;
}

.footer .social {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0;
	width: 3.5rem;
	height: 3.5rem;
	margin-bottom: 1rem;
	padding: 0;
	border-radius: 3rem;
	background-color: #fff;
	border: 1px solid #fff;
	color: #000;
}

.footer .social:hover {
	background-color: transparent;
	color: #ffffff;
	text-decoration: none;
}

.footer .social::before {
	font-family: 'Font Awesome 5 Brands';
	font-weight: 400;
	font-size: 1.5rem;

	position: relative;
	top: 1px;
}

.social-facebook::before {
	content: '\f39e';
}

.social-linkedin::before {
	content: '\f0e1';
}

.social-instagram::before {
	content: '\f16d';
}

.social-youtube::before {
	content: '\f167';
}

/* Footer Bottom */

.footer-bottom {
	border-top: 1px solid #fff;
	margin: 0 auto;
	width: 100%;
	padding: 2rem;
	box-sizing: border-box;
	display: flex;
	flex-wrap: wrap-reverse;
	justify-content: space-between;
	align-items: center;
	flex-direction: row;
	line-height: 1rem;
}

.footer-bottom p {
	font-size: 1.2rem;
	padding: 0;
}

.footer-bottom .info-list {
	padding-inline-start: 0;
	list-style-type: none;
	display: flex;
}

.footer-bottom .info-list li {
	margin-right: 2rem;
	font-size: 1.2rem;
}

/* WebbEss Stamp  */
.webbess-stamp {
	display: flex;
	align-items: center;
	padding: 0;
	font-size: 1.3rem;
	font-weight: normal;
}

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

@media only screen and (min-width: 1351px) {
	.footer-menu:nth-child(2) {
		padding: 0 3rem;
	}
}

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

	.footer-menu:nth-child(1),
	.footer-menu:nth-child(2),
	.footer-menu:nth-child(3),
	.footer-menu:nth-child(4) {
		width: 50%;
		padding: 2rem;
	}



	.footer-container,
	.footer-menu-wrapper {
		flex-wrap: wrap;
	}
}


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

	.footer .container {
		padding: 5rem 2rem 0;
	}



	.footer .container {
		padding: 6rem 2rem 0;
	}

	.footer-menu:nth-child(1),
	.footer-menu:nth-child(2),
	.footer-menu:nth-child(3),
	.footer-menu:nth-child(4) {
		width: 100%;
		margin-bottom: 0;
		padding: 2rem 0;
	}

	.footer-nav {
		padding: 0;
	}

	.footer .social-list {
		flex-direction: row;
	}

	.footer .social {
		margin: 0 0 0 1rem;
	}
}