/*
Theme Name: Wp custom
Text Domain: GMP Grupp AS
Version: 1.0
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat&family=Shippori+Mincho:wght@400;500;600;700;800&display=swap');

:root {
    --fallback-font: 'Montserrat', sans-serif;
}

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}

body {
	line-height: 1;
	background-color: white;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
/* Prevent horizontal overflow */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}
* {
  box-sizing: border-box;
}

/* Prevent layout from breaking */
img,
iframe,
input,
textarea,
button,
table, {
  max-width: 100%;
  overflow-x: auto;
}


html {
	font-size: 16px;
	scroll-behavior: smooth;
} /*16px*/

body {
  font-family: 'Shippori Mincho', serif;
  font-weight: 400;
  line-height: 1.65;
  color: #333;
}

b, strong {
	font-weight: 800;
}

p {
    margin-bottom: 1.15rem;
    line-height: 2em;
		color:#050505;
}

h1, h2, h3, h4, h5 {
  font-family: 'Shippori Mincho', serif;
  font-weight: 400;
  line-height: 1.15;
}

h1 {
  margin-top: 0;
  font-size: 3.052em;
}

h2 {font-size: 3.998rem;}

h3 {font-size: 2.827rem; font-weight: 800;}

h4 {font-size: 1.563em;}

h5 {font-size: 1.25em;}

.big-text {
	font-size: 3.815em;
	font-weight: 600;
	line-height: 1.4em;
}

time {
	text-transform: uppercase;
}

img {
	width: 100%;
    height: auto;
}
object {
    width: 100%;
}
small, .text_small {font-size: 0.8em;}
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    flex-direction: column;
}
.rl-gallery-link a {
	object-fit: fill;
    display: flex;
    height: 100%;
}
.rl-gallery-link,
.rl-gallery-link .slick-slide {
  width: 100% !important;  /* or 100vw if needed */
  max-width: none !important;
}

.rl-gallery-link img {
  width: 100% !important;
  height: auto !important;
  max-width: none !important;
}

.associated,
.projects {
  max-width: 1512px;
  margin: 6em auto;
}
.wpcf7-form > p {
  display: block !important;
}
.wpcf7-form > p br {
  display: inline !important;
}
label > span {
  display: inline;
  vertical-align: middle;
}
/* BUTTON STYLE */
.button a {
    text-decoration: none;
    color: #fbdb86;
}
.button {
	margin-top: 2em;
	width: 20em;
	 --offset: 10px;
	 --border-size: 2px;
	 display: block;
	 position: relative;
	 padding: 1.5em 3em;
	 appearance: none;
	 border: 0;
	 background: transparent;
	 color: #FBDB86;
	 text-transform: uppercase;
	 letter-spacing: 0.25em;
	 outline: none;
	 cursor: pointer;
	 font-weight: bold;
	 border-radius: 0;
	 box-shadow: inset 0 0 0 var(--border-size) currentcolor;
	 transition: background 0.8s ease;
}

 .button__horizontal, .button__vertical {
	 position: absolute;
	 top: var(--horizontal-offset, 0);
	 right: var(--vertical-offset, 0);
	 bottom: var(--horizontal-offset, 0);
	 left: var(--vertical-offset, 0);
	 transition: transform 0.8s ease;
	 will-change: transform;
}
 .button__horizontal::before, .button__vertical::before {
	 content: '';
	 position: absolute;
	 border: inherit;
}
 .button__horizontal {
	 --vertical-offset: calc(var(--offset) * -1);
	 border-top: var(--border-size) solid currentcolor;
	 border-bottom: var(--border-size) solid currentcolor;
}
 .button__horizontal::before {
	 top: calc(var(--vertical-offset) - var(--border-size));
	 bottom: calc(var(--vertical-offset) - var(--border-size));
	 left: calc(var(--vertical-offset) * -1);
	 right: calc(var(--vertical-offset) * -1);
}
 .button:hover .button__horizontal {
	 transform: scaleX(0);
}
 .button__vertical {
	 --horizontal-offset: calc(var(--offset) * -1);
	 border-left: var(--border-size) solid currentcolor;
	 border-right: var(--border-size) solid currentcolor;
}
 .button__vertical::before {
	 top: calc(var(--horizontal-offset) * -1);
	 bottom: calc(var(--horizontal-offset) * -1);
	 left: calc(var(--horizontal-offset) - var(--border-size));
	 right: calc(var(--horizontal-offset) - var(--border-size));
}
 .button:hover .button__vertical {
	 transform: scaleY(0);
}
/* END BUTTON STYLE*/

/* Overall styles */
header span {
	padding: 1em;
}
.flex {
	display: flex;
}
.regular-container {
	height: 100%;
	width: 100%;
	flex-direction: column;
}
	/* Hero START*/
.hero {
	    height: 100vh;
	    width: 100%;
	    flex-direction: column;
	    background-position: center;
	    background-repeat: no-repeat;
	    background-size: cover;
	    -webkit-background-size: cover;
	    -moz-background-size: cover;
	    -ms-background-size: cover;
		background-attachment: fixed;
	}
	.hero header nav ul li a {
		color:white;
	}
	.logo {
	    width: auto;
	    display: flex;
	    align-items: center;
	    justify-content: center;
	    padding: 0 2em;
	}
	.logo a img {
		height: 10em;
		width: auto;
	}

	header {
	    display: flex;
	    justify-content: space-between;
		padding-top:16px;
	}
	.nav-menu {
	    display: flex;
	}
	nav ul li a {
	    color: white;
	    text-decoration: none;
		font-family: 'Shippori Mincho', serif;
    text-transform: uppercase;
    font-size: 14px;
	}
	nav ul li {
	    padding: 1em 1.2em;
	      font-family: 'Shippori Mincho', serif;
	}

	.info-box {
	    display: flex;
	    max-width: 100%;
	    flex-direction: column;
	    padding:20em;
	}

	.info-box h1{
	    color: white;
	}
	.info-box p {
		color:white;
	}

	/* Position the content inside the overlay */

	.overlay-content {
	  position: relative;
		display: flex;
justify-content: center;
	}

	/* The navigation links inside the overlay */
	.overlay ul li a {
	  /* padding: 8px; */
	  text-decoration: none;
	  /* font-size: 36px; */
	  /* color: #818181; */
	  display: block; /* Display block instead of inline */
	  transition: 0.3s; /* Transition effects on hover (color) */
	}

	/* When you mouse over the navigation links, change their color */
	.overlay a:hover, .overlay a:focus {
	  color: #EAB938;
		border-bottom: 2px solid;
	}

	/* Position the close button (top right corner) */
	.overlay .closebtn {
	  display: none;
	  position: absolute;
	  top: 20px;
	  right: 45px;
	  font-size: 60px;
	}
	span {
	  display: none;
	}
	/* Hero END */

	/* ABOUT START */
.about {
	display: flex;
	flex-direction: column;
	margin: 6em 20em;
	position: relative;
}
.vl {
	border-left: 2px solid #363636;
  height: 155px;
	width: 91px;
transform: translate(50%);
}
.vl-2 {
	border-bottom: 2px solid #363636;
  width: 155px;
	margin:0 1em;
}
.contact .vl {
  border-left: 2px solid #fff;
}
.about-icon img {
	width: auto;
}
.about img {
	height: 6em;
}
.about-info-body {
	padding: 0 4em;
}
.about-pic {
	width: 400px;
	height: 560px;
	width: 400px;
height: 560px;
position: absolute;
left: -12em;
bottom: -12em;
z-index: 1;
}
.about-pic img {
	height: auto;
	width: auto;
}

.about-splash {
	height: auto;
width: auto;
position: absolute;
top: -2.5em;
right: -2.5em;
}
.big-circle {
	width: 46%;
height: auto;
position: absolute;
left: -36em;
top: -10em;
z-index: 5;
}
.big-circle2 {
	width: 46%;
height: auto;
position: absolute;
right: -36em;
top: -20em;
z-index: 5;
}
.big-circle img {
	transform: rotate(51deg)
}
.content img {
	width: 50%;
}
.ants {
	position: relative;
	display: flex;
	    flex-direction: column;
	    align-items: flex-start;

}
.kalle {
	position: relative;
	display: flex;
	    flex-direction: column;
	    align-items: flex-end;

}
.signature-splash {
	position: absolute;
	    top: -3em;
	    z-index: -1;
	    right: -14em;
}
.signature-splash2 {
	position: absolute;
	    top: -3em;
	    z-index: -1;
	    left: -7em;
}
.signature-splash img {
	height: 70%;
	width: 70%;
}
.signature-splash2 img {
	height: 70%;
	width: 70%;
}
	/* ABOUT END */
.horizontal {
	display: flex;
	align-items: center;
	justify-content: center;
}
	/* DIRECTORS START */
.directors {
	background-image: linear-gradient(45deg, #303030, #242424);
	transform: skewY(-3deg);
	height: 800px;
	position: relative;
    overflow: hidden;
}
.content {
	margin: 0 auto;
    width: 35%;
    color: white;
    transform: skewY(3deg);
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 100%;
		flex-direction: column;
}
	/* DIRECTORS END */


.group {
	display: flex;
	position: relative;
    justify-content: space-between;
	align-items:center;
    flex-direction: row;
    width: 100%;
    margin: 8.125em 0;
}
.group > div {
	margin:0 1em;
}
.group-img {
	background-color: #F9F9F9;
	height: 400px;
	width: 670px;
	display: flex;
    align-items: center;
    justify-content: center;
	flex-basis:50%;
}
.projects .group-img {background-color:white;}
.group-img > img {
	width: 60%;
	max-width: 400px;
}
.group-info {
	display: flex;
    flex-direction: column;
    justify-content: center;
    width: 28em;
	flex-basis:30%;
}
.group-circle {
	height: 100vh;
	width: 100%;
	flex-direction: column;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-ms-background-size: cover;
	background-image: url(/assets/big-circle.svg);
			background-attachment: fixed;
}

.row-reverse {
	flex-direction: row-reverse;
}
.right {
	right:-42%;
}
.left {
	left:-38%;
}
.small-circle {
	display:flex;
	position: relative;
    height: 425px;
    align-items: center;
    justify-content: center;
	flex-basis:20%;
}
.small-circle img {
	max-width:20em;
}
.txt {
	position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.txt h1 {
	font-size: 8em;
	font-weight: 900;
	color: #F8F8F8;
}
	/* associated end*/
	.row {
		display: flex;
    align-items: center;
    flex-direction: column;
		width: 100%;
		margin-bottom:4em;
	}
	.column {
		display: flex;
		justify-content: center;
		max-width:1200px;
		margin:0 auto;
	}
	.contact {
		margin: 0 auto;
		padding: 6em 0;
		background-color: #242424;
	}
.contact h2 {
	color:white;
}
	.contact-info {
		display: flex;
		flex-direction: column;
		width: 50%;
	}
.contact-info p {
	color:white;
	margin-bottom:0;
}
.contact-info img {
	height: 5em;
	width: 10em;
}
.contact-form {
	width: 100%;
    background-color: #2E2E2E;
    color: white;
}
.contact-form form {
	padding: 3.5rem;
	padding-bottom: 0;
}
.contact-form label {
	font-weight: 600;
	margin-bottom: 12px;
}
.contact-form textarea {
    resize: none;
}
.contact-form input,
.contact-form textarea {
	margin-top: 0.5rem;
	padding: 15px 20px;
	background-color: transparent; 
	border: 1px solid #fbdb86;
	border-radius: 3px;
    width: 100%;
    box-sizing: border-box;
    transition: 0.3s;
    font-size: 14px;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
}
.contact-form input:focus,
.contact-form textarea:focus {
	outline: 0;
	border: 1px solid black;
	border-radius: 3px;
}
.contact-button {
	position: relative;
	bottom: -25px;
	text-align: -webkit-center;
}
/*.contact-button {
    padding-bottom: 20px;
}*/
/*.contact-button button {
    background-color: #EE7A2A;
    font-weight: 700;
    color: #ffffff;
    font-size: 16px;
    padding: 14px 54px;
    border: 0;
    text-decoration: none;
}*/
/*.contact-button button:hover {
    cursor: pointer;
}
.contact-button button:focus {
    outline: 0;
}*/
/*.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: black;
    font-size: 14px;
    font-family: 'Cabin';
    font-weight: 500;
}*/
.contact-form .invalid input,
.contact-form .invalid textarea {
    border-color: red;
}
/*.contact-form p {
    font-size: 13px;
    color:#e8321d;
    margin: 0;
}*/
/*.message-error {
    position: relative;
    top: -8px;
}*/
.invalid .email-error,
.invalid .sender-error,
.invalid .telephone-error,
.invalid .message-error {
    visibility: visible;
}
.email-error,
.sender-error,
.telephone-error,
.message-error {
	font-weight: 500;
	color: red;
    visibility: hidden;
    font-size: 0.8em;
    margin-bottom: 0;
}
.response-message {
	font-weight: 500;
	font-size: 20px;
	display: none;
	padding: 20px;
	top: 150px;
	text-align: center;
	position: relative;
}
.loader {
    margin: 0 auto;
    top: 160px;
    padding: 10px;
    position: relative;
	transition: 0.4s;
	display: none;
	  border: 6px solid #f3f3f3; /* Light grey */
	  border-top: 6px solid #3498db; /* Blue */
	  border-radius: 50%;
	  width: 20px;
	  height: 20px;
	  animation: spin 0.5s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.button-form {
	display: flex;
justify-content: center;
}
	/* Footer start */
	footer {
	    position: relative;
	    background: #303030;
	    color: #fff;
	    text-align: center;
			overflow-x: hidden;
	}
	footer:before {
	    position: absolute;
	    content:'';
	}
	footer.diagonal {
	    background: #303030;
	}
	.diagonal {
	    z-index: 1;
	    padding: 3em;
	}
	.diagonal:before {
	    -webkit-transform: rotate(-3deg);
	    transform: rotate(-3deg);
	    -webkit-transform-origin: 3% 0;
	    transform-origin: 3% 0;
	    top: 0;
	    left: -25%;
	    z-index: -1;
	    width: 150%;
	    height: 75%;
	    background: inherit;
	}
	.footer-content {
		padding: 2em 0;
	margin: 0 auto;
	font-size: 12px;
	text-align: center;
	}
	.footer-content p{color: white;}
	/* FOOTER END */
/* Form labels */
.wpcf7-form p {
  color: white;
  font-size: 16px;
  margin-bottom: 8px;
}

/* Inputs, Textareas, Selects */
.wpcf7-form input,
.wpcf7-form textarea,
.wpcf7-form select {
  background-color: transparent;
  border: 2px solid #e0c36c; /* gold/yellow tone */
  color: white;
  padding: 10px;
  font-size: 16px;
  width: 100%;
  box-sizing: border-box;
  caret-color: white;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

/* On focus: white border */
.wpcf7-form input:focus,
.wpcf7-form textarea:focus,
.wpcf7-form select:focus {
  border-color: white;
  outline: none;
  background-color: rgba(255, 255, 255, 0.05);
}

/* Placeholder text */
.wpcf7-form ::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

/* Submit button */
.wpcf7-form input[type="submit"] {
  background-color: #e0c36c;
  color: #111;
  border: none;
  padding: 12px 24px;
  font-weight: bold;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.wpcf7-form input[type="submit"]:hover {
  background-color: white;
  color: #000;
}




a,
a:visited,
a:link {
  color: #FBDB86;
  text-decoration: none;
}

a:hover,
a:active {
  color: #fff; /* Optional: on hover/tap */
  text-decoration: underline; /* Optional */
}







	@media only screen  and (min-width : 800px) and (max-device-width : 1281px) {
		.about {
			margin:4em 10em;
		}
		.about-pic {
    height: 504px;
    width: 346px;
    position: absolute;
    left: -8em;
    bottom: -6em;
    z-index: 1;
	}
	.about-pic img {
		height: 100%;
		width: 100%;
	}
	.directors {
		height:700px;
	}
	.big-circle {
		left:-19em;
	}
	.big-circle2 {
		right:-24em;
	}
	.associated {
    margin: 10em 10em;
}
.group {
	width: 100%;
}
	.group-img {
		height: 350px;
width: 450px;
	}
	.group-info {
		z-index: 1;
	}
	.right {
		right:-30%;
	}
	.left {
		left:-30%;
	}
	.contact {
		margin: 0 10em 10em;
	}
}

	@media only screen and (max-width: 815px){
		header {
			align-items: flex-end;
		}
		.logo {
			height: 100%;
		}
	.logo a img {
		width: 100%;
		height: 100%;
	}
  .info-box {
    padding:2em;
		height: 70%;
		justify-content: center;
		flex-direction: column;
  }

	.info-box p {display: none;}
      .overlay a {font-size: 2em}
      .overlay .closebtn {
        top: 15px;
        right: 35px;
        display:block;
        text-decoration: none;
        font-size: 5em;
        color: white;
      }
      span {
        display: block;
      }
      /* The Overlay (background) */
    .overlay {
      /* Height & width depends on how you want to reveal the overlay (see JS below) */
      height: 100%;
      width: 0;
      position: fixed; /* Stay in place */
      z-index: 1; /* Sit on top */
      left: 0;
      top: 0;
      background-color: rgb(48,48,48,0.7); /* Black fallback color */
      overflow-x: hidden; /* Disable horizontal scroll */
      transition: 0.5s; /* 0.5 second transition effect to slide in or slide down the overlay (height or width, depending on reveal) */
			backdrop-filter: blur(6px);
    }
    .overlay-content {
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
		top: 20%; /* 20% from the top */
	 width: 100%; /* 100% width */
	 text-align: center; /* Centered text/links */
	 /* margin-top: 30px; /* 30px top margin to avoid conflict with the close button on smaller screens */
}
.about {
	margin-left: 1em;
	margin-right:1em;
}
.flex {
	flex-direction: column;
}
.about-info-body {
    padding: 0;
}
.about-icon {
	display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.about-info h3 {
	text-align: center;
	margin: 1em;
}
.about-pic {
	position: relative;
	width: 100%;
	left: 0;
	bottom: 0;
	height: 100%;
	z-index: 0;
}
.about-pic img {
	width: 100%;
}
.directors {
	padding: 0 1em;
}
.content {
	width: 100%;
}
.content h2 {
	font-size: 3.499rem;
}
.big-circle {
    width: 100%;
    height: auto;
    position: absolute;
    left: -16em;
    top: -17em;
    z-index: 5;
}
.associated {
    margin: 5em 1em;
	overflow:hidden;
}
.about-icon {
	text-align: center;
}
.vl-2, .vl {
	display: none;
}
.group {
	width: 100%;
	flex-direction: column;
	margin: 2em 0;
}
.small-circle {
	display: none;
}
.group-img {
	width: 100%;
	height:200px;
	padding: 4em 0;
}
.group-info {
	width: 100%;
	margin-top:1em;
}
.button {
	width:100%;
}
.contact {
	padding: 3em 1em 1em 1em;
}
.column {
	flex-direction: column;
}
.contact-info {
	width:100%;
	align-items:center;
}
.contact-form {
	margin-top:3em;
	width: 100%;
}
.contact-form form {
    padding: 1rem;
    padding-bottom: 0;
}
		.projects {
			padding: 1em;
		}
		.splide__list{
			height:250px !important;
		}
		.diagonal {padding:0;}
	.diagonal:before {
    height: 45%;

}
		html, body {
  max-width: 100vw;
  overflow-x: hidden;
}

}




