/*
 Theme Name:   Frits Dijk International 2021
 Theme URI:    https://www.fritsdijk.nl/
 Description:  WordPress theme for Frits Dijk International.
 Author:       Bonkend
 Author URI:   https://bonkend.com/
 Tested up to: 5.7
 Requires PHP: 7.4
 Template:     generatepress
 Text Domain:  fritsdijk
 Domain Path:  /languages
 Version:      1.0.2
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Helpers
# Fonts
# Colours
# Buttons and links
# Gutenberg
# Layout
# Posts
# Header
# Footer
# Navigation
# Sidebar navigation
# Forms
# Widgets
# Miscellaneous elements
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Helpers
--------------------------------------------------------------*/
body {
	overflow-x: hidden;
}
.cc-revoke {
	display: none !important;
}
.grecaptcha-badge {
	visibility: hidden;
}
.pb-0 {
	padding-bottom: 0 !important;
}
.mb-0 {
	margin-bottom: 0 !important;
}
/*--------------------------------------------------------------
# Fonts
--------------------------------------------------------------*/
body {
	font-family: prometo, sans-serif;
	font-weight: 300;
	font-style: normal;
	font-variant-ligatures: none;
}
.footer-widgets .widget-title {
	font-size: 1em;
	font-weight: normal;
	margin-bottom: 0;
}
/*--------------------------------------------------------------
# Colours
--------------------------------------------------------------*/
.has-fd-blue-color {
	color: #27348b !important;
}
.has-fd-red-color {
	color: #e30613 !important;
}
.has-fd-blue-background-color {
	background-color: #27348b !important;
}
.has-fd-red-background-color {
	background-color: #e30613 !important;
}

.inside-footer-widgets,
.footer-widgets .widget-title {
	color: #27348b;
}
.site-info,
button,
a.button,
input[type='button'],
input[type='reset'],
input[type='submit'] {
	background-color: #27348b;
}

/*--------------------------------------------------------------
# Buttons and links
--------------------------------------------------------------*/
a:hover,
a:focus,
a:active {
	text-decoration: underline;
}
.button,
.wp-block-button .wp-block-button__link {
	padding: 10px 18px;
}
.wp-block-button__link {
	border-radius: 0;
	border: 2px solid transparent;
}
/*--------------------------------------------------------------
# Gutenberg
--------------------------------------------------------------*/
/* Block: WordPress Latest Posts */
.wp-block-latest-posts__featured-image img {
	min-height: 150px;
	object-fit: contain;
}
.wp-block-latest-posts.is-grid {
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 2.75em !important;
}

.wp-block-latest-posts.is-grid a {
	font-weight: bold;
	font-size: 18px;
	line-height: 1.2em;
	color: #27348B;
}

.wp-block-latest-posts.is-grid a.read-more {
	font-weight: 400;
	font-size: inherit;
	color: #e30613;
	background: transparent;
	padding: 0;
	padding-top: 20px;
}
/* Block: product group */
.inside-block-product-group a {
	display: block;
	text-align: center;
	color: #fff;
}
.inside-block-product-group a > img {
	height: 200px;
	object-fit: cover;
}
.inside-block-product-group a > h4 {
	color: #ffffff;
	font-weight: 400;
	line-height: 1em;
	padding-top: 5px;
	padding-bottom: 10px;
}
.acf-block-preview .inside-block-product-group {
    pointer-events: none;
}
/* Block: employees */
.employees-grid {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	width: 100%;
	margin-left: -5px;
	margin-right: -5px;
}

.employees-grid .single-employee {
	display: flex;
	flex-direction: column;
	flex-basis: 33.334%;
	padding-left: 5px;
	padding-right: 5px;
}
.employees-grid .single-employee img {
	width: 100%;
	margin-bottom: 10px;
}
.employees-grid .single-employee h4 {
	font-weight: 400;
}
.wp-block-social-links:not(.is-style-logos-only) .wp-block-social-link {
	display: inline-flex;
	background-color: #27348B;
	color: #fff;
}
@media (max-width: 768px) {
	.employees-grid .single-employee {
		flex-basis: 50%;
	}
}
/* Block: timeline */
.inside-block-timeline .timeline-container {
	position: relative;
	max-width: 1200px;
	margin: 0 auto;
}
.inside-block-timeline .timeline-container::after {
	content: '';
	position: absolute;
	width: 3px;
	background-color: #27348B;
	top: 0;
	bottom: 0;
	left: 50%;
	margin-left: -1.5px;
}
.inside-block-timeline .entry {
	padding: 0 40px;
	position: relative;
	display: none; /* Hidden by default */
	width: 50%;
}
/* The circles on the timeline */
.inside-block-timeline .entry::after {
	content: '';
	position: absolute;
	width: 17px;
	height: 17px;
	right: -8.5px;
	background-color: #27348B;
	border: 4px solid #F0F3F8;
	top: 15px;
	border-radius: 50%;
	z-index: 1;
}
.inside-block-timeline .entry:nth-child(odd) {
	left: 0;
}
.inside-block-timeline .entry:nth-child(even) {
	left: 50%;
}
/* Add arrows to the left container (pointing right) */
.inside-block-timeline .entry:nth-child(odd)::before {
	content: ' ';
	height: 0;
	position: absolute;
	top: 22px;
	width: 0;
	z-index: 1;
	right: 30px;
	border: medium solid white;
	border-width: 10px 0 10px 10px;
	border-color: transparent transparent transparent #27348b;
}

/* Add arrows to the right container (pointing left) */
.inside-block-timeline .entry:nth-child(even)::before {
	content: ' ';
	height: 0;
	position: absolute;
	top: 22px;
	width: 0;
	z-index: 1;
	left: 30px;
	border: medium solid #27348b;
	border-width: 10px 10px 10px 0;
	border-color: transparent #27348b transparent transparent;
}

/* Fix the circle for containers on the right side */
.inside-block-timeline .entry:nth-child(even)::after {
	left: -8.5px;
}
.inside-block-timeline .inside-entry {
	padding: 20px 30px;
	background-color: #ffffff;
	border: 1px solid #27348b;
	color: #27348b;
	position: relative;
}
.inside-block-timeline h2 {
	font-size: 18px;
}
@media screen and (max-width: 768px) {
	/* Place the timelime to the left */
	.inside-block-timeline .timeline-container::after {
		left: 31px;
	}

	/* Full-width containers */
	.inside-block-timeline .entry {
		width: 100%;
		padding-top: 10px;
		padding-bottom: 10px;
		padding-left: 70px;
		padding-right: 25px;
	}
	/* Make sure that all arrows are pointing leftwards */
	.inside-block-timeline .entry:nth-child(even)::before,
	.inside-block-timeline .entry:nth-child(odd)::before {
		left: 60px;
		border: medium solid white;
		border-width: 10px 10px 10px 0;
		border-color: transparent #27348b transparent transparent;
	}
	/* Make sure all circles are at the same spot */
	.inside-block-timeline .entry:nth-child(even)::after,
	.inside-block-timeline .entry:nth-child(odd)::after {
		left: 22.5px;
	}
	/* Make all right containers behave like the left ones */
	.inside-block-timeline .entry:nth-child(even) {
		left: 0%;
	}
}
/*--------------------------------------------------------------
# Layout
--------------------------------------------------------------*/
.home.one-container .site-content {
	padding-top: 0;
}
.entry-content > [class*="wp-block-"]:not(:last-child) {
	margin-bottom: 1em;
}
/* Blog */
.blog,
.blog .site-content {
	background: #F0F3F8;
}
.blog article {
	background-color: #ffffff;
}
.blog .entry-content,
.single-post .entry-content,
.single-post .entry-header {
	margin-top: 1em;
}
.one-container.archive .post:not(:last-child),
.one-container.blog .post:not(:last-child) {
	padding: 40px;
}
.blog footer.entry-meta {
	margin-top: 0;
}
.load-more {
	text-align: center;
}

/*--------------------------------------------------------------
# Posts
--------------------------------------------------------------*/
.post-image-aligned-center .featured-image,
.post-image-aligned-center .post-image {
	max-width: unset;
}
.post-image-aligned-center .featured-image img,
.post-image-aligned-center .post-image img {
	width: 100vw;
	object-fit: cover;
	max-height: 500px;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.site-header,
.mobile-header-navigation {
	-webkit-box-shadow: 0px 10px 15px 0px rgba(0, 0, 0, 0.05);
	-moz-box-shadow: 0px 10px 15px 0px rgba(0, 0, 0, 0.05);
	box-shadow: 0px 10px 15px 0px rgba(0, 0, 0, 0.05);
	border-bottom: 4px solid #E30613;
}
.site-header::before,
body:not(.blog) .mobile-header-navigation::before {
	position: absolute;
	content: '';
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	z-index: -1;
	background: linear-gradient(180deg, rgba(0,0,0,0.8) 10%, rgba(0,0,0,0) 100%);
}
/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer-widgets-container {
	padding: 90px 40px;
}
.footer-widgets {
	border-top: 4px solid #e30613;
}
.footer-widgets .widget_media_image {
	max-width: 80%;
}

/* Absolute footer */
@media (min-width: 768px) {
	.copyright-bar {
		display: inline-flex;
		justify-content: space-between;
		width: 100%;
	}
	.copyright-bar ul.menu {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
	}
	.copyright-bar ul.menu > li {
		margin-left: 2em;
	}
}
.copyright-bar {
	text-align: left;
}
.copyright-bar ul.menu {
	list-style: none;
	margin: 0%;
	padding-left: 0;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Sidebar navigation
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
/* General forms */
input[type='text'],
input[type='email'],
input[type='url'],
input[type='password'],
input[type='search'],
input[type='tel'],
input[type='number'],
textarea,
select {
	background-color: #f0f3f8;
	color: #27348b;
}
form .recaptcha-terms {
	font-size: 0.85em;
	opacity: 0.9;
}

/*gform styling*/
.page .gform_wrapper.gravity-theme .gfield_label{
	font-weight: 100;
}
.page .gform_wrapper .nieuwsbrief-input .ginput_container input{
	margin-top: 30px;
	margin-bottom: 10px;
	padding: 10px 15px;
}
.gform_wrapper.gravity-theme #gform_2 .gform_fields{
	grid-row-gap: 0px;
}

/* Mailchimp form */
.footer-widgets .mc4wp-form input[type='email'] {
	width: 100%;
	margin-top: 30px;
}
.footer-widgets .mc4wp-form input[type='checkbox'] {
	margin-right: 10px;
}
.footer-widgets .mc4wp-form-fields > div {
	margin-bottom: 10px;
}
/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
aside#text-6.widget {
	background-color: #27348b;
	color: #ffffff;
}

/*--------------------------------------------------------------
# Miscellaneous elements
--------------------------------------------------------------*/
/* Lity modal */
body .lity {
	background-color: rgba(255, 255, 255, 0.1);
	-webkit-backdrop-filter: blur(2px);
	backdrop-filter: blur(2px);
}
.lity-container .lity-content {
	background-color: #fff;
	padding: 30px 40px 20px;
}
.lity-container .lity-close,
.lity-container .lity-close:hover,
.lity-container .lity-close:focus,
.lity-container .lity-close:active,
.lity-container .lity-close:visited {
	position: absolute;
	z-index: 99;
	color: inherit;
	text-shadow: unset;
}

/* Catalog group */
.wp-block-group.catalog-group > div {
	padding: 0;
}
.wp-block-group.catalog-group p {
	padding-bottom: 1em;
}
/* Page hero */
.page-hero.champion {
	min-height: 600px;
	align-items: flex-end;
	margin-bottom: 0;
}
.page-hero {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	min-height: 400px;
	margin-bottom: 20px;
}
.page-hero .inside-page-hero {
	width: 100%;
	z-index: 2;
}
.page-hero::before {
	position: absolute;
	content: '';
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	z-index: 1;
	background: linear-gradient(0deg, rgba(0,0,0,0.8) 10%, rgba(0,0,0,0) 100%);

}
.page-hero h1 {
	font-size: 4em;
	font-style: italic;
	color: #ffffff;
}
@media (max-width: 768px) {
	.champion .wp-block-column:not(:first-child) {
		display: none;
	}
}
/* CTA block */
body > .cta-block {
	max-width: 960px;
	margin-left: auto;
	margin-right: auto;
}
@media (max-width: 980px) {
	body > .cta-block {
		margin-left: 20px;
		margin-right: 20px;
	}
}
.cta-block {
	background-color: #27348B;
	color: #ffffff;
}
.cta-block .text {
	padding: 40px;
}
.cta-block .wp-block-image,
.cta-block > div:not(.text) {
	margin: 0;
}
.cta-block .wp-block-image img {
	display: block;
	margin: 0;
}
@media (max-width: 768px) {
	.cta-block > div:not(.text) {
		display: none;
	}
}
#menu-absolute-footer li:first-child {
	margin-left: unset;
  }
<div class="menu-absolute-footer-container"><ul id="menu-absolute-footer" class="menu">
<li class="menu-item"><a target="_blank" rel="noopener" href="https://www.linkedin.com/company/frits-dijk-international">LinkedIn</a></li>
<li class="menu-item"><a target="_blank" rel="noopener" href="https://www.facebook.com/Frits-Dijk-102200781971351">Facebook</a></li>
<li class="menu-item"><a target="_blank" rel="noopener" href="https://www.instagram.com/fritsdijkinternational/">Instagram</a></li>
</ul></div>
