@font-face {
    font-family: 'Catamaran';
    src: url('../fonts/Catamaran/Catamaran-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Catamaran';
    src: url('../fonts/Catamaran/Catamaran-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}
@font-face {
    font-family: 'Eurostile';
    src: url('../fonts/eurostile.woff');
    /* src: url('../fonts/Eurostile.ttf'); */
	/* src: url('../fonts/Eurostile-Demi.woff') format('woff'); */
    font-weight: normal;
    font-style: normal;
	font-size: 16pt;
}
/* @font-face {
    font-family: 'Eurostile-Demi';
    src: url('../fonts/Eurostile-Demi.woff') format('woff');
    font-weight: normal;
    font-style: normal;
} */
/* @font-face {
    font-family: 'Eurostile-ExtendedTwo';
    src: url('../fonts/Eurostile-ExtendedTwo.woff') format('woff');
    font-weight: normal;
    font-style: normal;
} */

:root
{
	--color-primary: rgb(40,160,220);
	--color-primary-light: rgb(150,200,250);
	--color-primary-dark: rgb(30,90,165);
	--color-gray-dark: rgb(100,100,100);
}

body {
	font-family: 'Catamaran';
}

.h1, h1 {
	font-size: clamp(2.5rem,10vw,3.2rem);
}
.h3, h3 {
	font-size: clamp(1.7rem,7vw,2.2rem);
}
.h5, h5 {
	font-size: clamp(1.3rem,5vw,1.55rem);
}


input[type="text"]:not(.form-control), 
input[type="email"]:not(.form-control), 
input[type="url"]:not(.form-control), 
input[type="date"]:not(.form-control), 
input[type="password"]:not(.form-control), 
input[type="search"]:not(.form-control), 
input[type="tel"]:not(.form-control), 
input[type="number"]:not(.form-control), 
select:not(.form-select):not(.form-control) {
	border-radius: 0;
	border: 1px solid var(--color-gray-dark);
	padding: 5px 12px;
}
input[type="submit"] {
	background: transparent;
	border: 2px solid #b8b8b8;
	padding: 6px 16px;
	color: var(--color-gray-dark);
	font-family: Catamaran;
}

#sp-header {
	box-shadow: 0 0;
}
.logo-image {
	height: auto !important;
	max-width: 280px;
}
.offcanvas-menu .logo-image {
  width: calc(100% - 60px);
}

.sp-megamenu-parent {
	display: none !important;
}
.offcanvas-menu {
	width: 350px;
	max-width: 100%;
}
body.ltr.offcanvs-position-right .offcanvas-menu {
	right: -100%;
}
.offcanvas-menu .offcanvas-inner ul.menu > li {
	padding: 6px 0;
	border-bottom: 1px solid #a7a7a7;
}
.offcanvas-menu .offcanvas-inner ul.menu > li:last-child {
	border: 0;
}

div.mod-languages ul li.lang-active {
	padding: 3px 5px;
	border-radius: 0;
	border: 2px solid #ddd !important;
	background: #fff !important;
}

.burger-icon {
	width: 46px;
}
.burger-icon > span {
  height: 4px;
  background-color: var(--color-primary);
  margin: 8px 0;
  border-radius: 3px;
}
.offcanvas-active .burger-icon > span:nth-child(3), 
#modal-menu-toggler.active .burger-icon > span:nth-child(3) {
	transform: translate(0, -15px) rotate(45deg);
}
.offcanvas-active .burger-icon > span, 
#modal-menu-toggler.active .burger-icon > span {
  background-color: var(--color-primary);
}

.container {
	padding-left: 30px;
	padding-right: 30px;
}

#sp-position-1 {
	display: flex;
	align-items: center;
	padding: 0 !important;
}
#sp-position-1 .row {
	width: 100%;
	margin-left: 0;
}
.row > * {
	padding: 0;
}

#sp-position-1 .header-section {
	min-height: 400px;
}
#sp-position-1 .header-section h1 {
	font-family: 'Eurostile';
	color: #fff;
}

#sp-position-1 .wide-section {
	min-height: 100vh;
}
#sp-position-1 .wide-section.first {
	min-height: calc(100vh - 150px);
}

/* OUTLINE - Border with text inside */
.outline-container {
	display: grid;
	grid-template-columns: 2fr 7fr;
	grid-template-rows: 15vh 30vh 15vh;
}
.outline-container * {
	border-color: white;
	color: white;
	font-family: 'Eurostile';
}
.r1-c1, .r3-c1 {
	grid-column: 1;
}
.r1-c2, .r3-c2 {
	grid-column: 2;
}
.r1-c1, .r1-c2 {
	grid-row: 1;
}
.r2 {
	grid-column: 1 / 3;
	border-right: 8px solid;
	display: flex;
	align-items: center;
}
.r1-c2 {
	border: 8px solid;
	border-bottom: 0;
}
.r3-c2 {
	border: 8px solid;
	border-top: 0;
}


.cards-row {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 50px;
	padding: 100px 0;
}

.custom-card {
	background: #fff;
	padding: 40px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-self: center;
	text-align: center;
	width: 100%;
	min-height: 250px;
}
.custom-card .title {
	font-family: 'Eurostile';
	padding: 25px 0;
}
.custom-card.style-1 .title {
	color: var(--color-primary);
}
.custom-card.style-2 .title {
	color: var(--color-primary-dark);
	text-transform: uppercase;
}
.custom-card .text {
	font-family: Catamaran;
	color: var(--color-gray-dark);
}


.imageover-container {
	display: grid;
	padding: 80px 0;
}
.imageover-container * {
	/* transition: all .5s ease; */

}
.imageover-container .bordered-box {
	border: 8px solid #fff !important;
	z-index: 20;
}

.imageover-container .content {
	grid-row: 2;
	padding: 0 80px;
	display: grid;
	color: #fff;
	z-index: 21;
}
.imageover-container.go-bnt-right .go-btn {
	grid-column: 2;
}

.imageover-container .content .text, 
.imageover-container .content .go-btn {
	grid-column: 1;
}

.imageover-container.center-content .content {
	align-self: center;
}
.imageover-container .text {
	font-family: Catamaran;
	font-size: 1.1em;
}
.imageover-container .text a {
	color: #fff;
}
.imageover-container .text a h1 {
	font-family: 'Eurostile' !important;
	text-transform: none;
	font-size: 3.2rem;
}
.imageover-container .text h1 {
	font-family: 'Eurostile';
	margin-bottom: 30px;
}
.imageover-container .text p {
	margin-bottom: 5px;
}
.imageover-container .image {
	z-index: 21;
}
.imageover-container .image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	/* max-height: 540px; */
}
.imageover-container.go-btn-right .go-btn {
	grid-column: 2;
	align-self: center;
	justify-self: center;
}

.imageover-container .content h1 {
	font-family: 'Eurostile';
	text-transform: uppercase;
	font-size: 1.5rem;
}

.imageover-container .content.dark .text h1 {
	color: var(--color-primary-dark);
}
.imageover-container .content.dark p {
	color: var(--color-gray-dark);
}


/* RAPID CONTACT */
.contact-us {
	background: #fff;
	padding: 40px;

	display: grid;
	gap: 24px;
	grid-template-columns: 1fr 1fr;
}
.contact-us .title {
	font-family: 'Eurostile';
	color: var(--color-primary);

	grid-column: 1;
}
.contact-us .form {
	grid-column: 1;
	color: var(--color-gray-dark);
}
.contact-us .form .form-field {
	display: grid;
	grid-template-columns: 1fr 2fr;
	margin-bottom: 8px;
}
.form-field label {
	font-family: Catamaran;
	align-self: center;
}
.contact-us .form .privacy-field {
	display: flex;
	gap: 12px;
	margin-top: 24px;
	font-size: 0.8em;
}
.contact-us .form .submit {
	display: flex;
	justify-content: end;
}

.contact-us .message {
	grid-column: 2;
	color: var(--color-primary);
	grid-row: 1 / 3;
	justify-self: center;
	align-self: center;
	margin-left: 36px;
}
.contact-us .message h1 {
	font-family: 'Eurostile';
	margin: 30px 0;
}
.contact-us .message p {
	font-family: Catamaran;
}

.contacts .mod-custom {
	background: #fff;
	width: fit-content;
	margin: auto;
	padding: 60px 40px;
}
.contacts h1 {
	font-family: 'Eurostile';
	color: var(--color-primary);
}
.contacts h3 {
	font-family: Catamaran;
	color: var(--color-primary);
}
.contacts p {
	font-family: Catamaran;
	margin-bottom: 6px;
	color: var(--color-gray-dark);
}
.map {
	width: calc(50vw - 15px);
	height: 100vh;
	overflow: hidden !important;
}
#sppb-addon-1669221254578 .sppb-addon-openstreetmap {
	height: 100vh !important;
}

#sp-footer,
#sp-bottom {
	background: #fff;
}
#sp-bottom {
	padding: 30px 0;
}
#sp-bottom .sp-module {
	margin-bottom: 0 !important;
}

.bottom-row {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 35px;
}
.bottom-row .info {
	display: flex;
	color: var(--color-gray-dark);
	gap: 12px;
	align-items: center;
}
.bottom-row .info .icon img {
	max-width: 48px;
}
.bottom-row .info .content {
	line-height: 16pt;
}
.bottom-row .info .title {
	color: var(--color-gray-dark);
	font-size: 1.1em;
}
.bottom-row .info .text {
	color: var(--color-gray-dark);
}
.bottom-row .info p {
	margin-bottom: 0;
}

/* ARTICLES */
.article-details {
	padding-bottom: 48px;
}

.article-details .article-header h1, 
.article-details .article-header h2 {
	font-family: 'Eurostile';
}
.article-details .article-header h1 {
	font-size: 2.5rem;
}
.article-details h1 {
	font-size: 2.2rem;
}
.article-details h2 {
	font-size: 1.9rem;
}

#sp-footer {
	background-image: linear-gradient(180deg, #e5e5e5 0%, #ffffff 30%);
	padding: 10px 0;
	color: #a2a2a2 !important;
}

.ivass {
	padding-top: 20px;
}

#sp-footer a:hover, 
#sp-footer a:active, 
#sp-footer a:focus, 
#sp-bottom a:hover, 
#sp-bottom a:active, 
#sp-bottom a:focus {
	color: #454545;
}

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

	.cards-row {
		grid-template-columns: repeat(2, 1fr);
	}

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

		#sp-header {
			height: 100px;
			display: flex;
			flex-direction: column;
			justify-content: center;
		}

		#sp-position-1 .header-section {
			/* height: 200px; */
		}

		#sp-position-1 .wide-section.first {
			min-height: calc(100vh - 100px);
		}

		.contact-us {
			grid-template-columns: 1fr;
		}
		.contact-us .message {
			grid-row: 3;
			grid-column: 1;
		}

		.imageover-container {
			grid-template-columns: 1fr !important;
			grid-template-rows: auto 1fr !important;
		}
		.imageover-container .bordered-box {
			grid-row: 1 / 3 !important;
			grid-column: 1 / 3 !important;
		}
		.imageover-container .image {
			grid-row: 1 !important;
			grid-column: 1 !important;
			padding: 20px;
		}
		.imageover-container .image img {
			max-height: 540px;
		}
		.imageover-container .content {
			grid-row: 2 !important;
			grid-column: 1 !important;
			padding: 20px;
			padding-top: 0;

			text-align: left !important;
		}
		.imageover-container .text a h1 {
			padding-bottom: 10px;
		}
		.imageover-container .go-btn {
			grid-column: 2 !important;
			align-self: center;
			justify-self: center;
		}

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

			#sp-header .logo {
				width: 200px;
			}

			.burger-icon {
				width: 32px;
			}
			.burger-icon span {
				margin: 6px 0;
			}
			.offcanvas-active .burger-icon > span:nth-child(3), 
			#modal-menu-toggler.active .burger-icon > span:nth-child(3) {
				transform: translate(0, -12px) rotate(45deg);
			}

			.cards-row {
				grid-template-columns: 1fr;
			}

			.custom-card {
				padding: 30px 20px;
			}

			.contacts {
				padding-bottom: 0;
			}
			.contacts .mod-custom {
				width: auto;
			}

			#sppb-addon-1669221254578 .sppb-addon-openstreetmap {
				height: 400px !important;
			}

			#section-id-1669209961289 {
				min-height: auto !important;
			}

			.map {  
				width: 100vw;
				margin-left: calc((510px - 100vw) / 2);
				height: 400px !important;
				padding-top: 0;
			}
			.imageover-container .image img {
				max-height: 390px;
			}

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

				body {
					/* font-size: 0.8rem; */
				}

				.logo-image {
					max-width: 100%;
				}
				
				.cards-row {
					gap: 15px;
				}
				.custom-card {
					width: 100%;
				}

				.imageover-container .text a h1 {
					padding-bottom: 0;
				}
				
				.imageover-container .go-btn {
					display: none;
				}
				.imageover-container .image img {
					max-height: 70vw;
				}

				.map {
					width: 100vw;
					margin-left: -15px;
				}
			}
		}
	}
}