/*
Theme Name: Divi Child Theme
Description: Divi Child Theme
Author:  David Tierney
Author URI:  http://designsbytierney.com
Template: Divi
Version:  1.0.2
*/

 
/* =Theme customizations
------------------------------------------------------- */

body {
	letter-spacing: 1px;
}

span.mobile_menu_bar:before {
	color: #ffffff;
}

#et-info-email:before {
	content: '';
}

.et_fixed_nav.et_show_nav #page-container {
	padding: 0 !important;
}

.et_fixed_nav #main-header,
.et_fixed_nav #top-header {
	width: 90vw;
	left: 50%;
	transform: translateX(-50%);
}

.et_fixed_nav #main-header {
	box-shadow: 0 0 20px rgba(165, 34, 36, .4) !important;
}

#et_top_search {
	display: none;
}

.et_mobile_menu {
	border-top-color: #a52224;
}

@media (max-width: 768px) {
	.et_menu_container {
		width: 100%;
	}
}

.widget-row {
	display: flex;
	flex-direction: row;
	align-content: center;
	margin-bottom: 1.4em;
}

.widget-row svg {
	width: 28px;
}

.footer-widget:last-child .widget-row svg {
	width: 200px;
}

.widget-row p {
	margin-left: 10px;
}

.widget-row-bottom {
	margin-left: 38px;
}

.widget-row-right {
	flex-direction: column;
	justify-content: center;
}

.widget-row-right li {
	padding: 0 !important;
}

.widget-row-right ul li:before {
	border-width: 0 !important;
}

.et_pb_gutters3 .footer-widget {
	margin-bottom: 0;
}

@media (min-width: 980px) {
	#footer-widgets {
		display: flex;
	}
	.widget-row-right img {
		width: 100%;
	}
	.et_pb_gutters3.et_pb_footer_columns3 .footer-widget {
		margin-right: 2.5%;
		width: 20%;
	}
	.et_pb_gutters3.et_pb_footer_columns3 .footer-widget:nth-child(2) {
		width: 60%;
	}
	.et_pb_gutters3.et_pb_footer_columns3 .footer-widget:nth-child(3) {
		width: 15%;
		margin-right: 0;
	}
	#menu-main li {
		margin-bottom: 22px;
	}
}

@media (max-width: 480px) {
	.widget-row-right img {
		width: 200px;
		margin: auto;
	}
	.footer-widget:last-child {
		display: flex;
		justify-content:center;
	}
	.et_pb_section_video_bg {
		z-index: 1;
	}
}


/*  CTA  */

.cta-wrapper {
	display: flex;
	justify-content: center;
}

.cta {
	display: flex;
	padding: 10px 45px;
	text-decoration: none;
	font-size: 30px;
	line-height: 40px;
	color: white;
	background: #a52224;
	transition: 1s;
	box-shadow: 6px 6px 0 #531328;
	transform: skewX(-15deg);
}

.cta:focus {
	outline: none;
}

.cta:hover {
	transition: 0.5s;
	box-shadow: 10px 10px 0 #da5666;
}

.cta span:nth-child(2) {
	transition: 0.5s;
	margin-right: 0px;
}

.cta:hover span:nth-child(2) {
	transition: 0.5s;
	margin-right: 45px;
}

.cta span {
	transform: skewX(15deg)
}

.cta span:nth-child(2) {
	width: 20px;
	margin-left: 30px;
	position: relative;
	top: 0;
}

@media (max-width: 480px) {
	.cta {
		font-size: 17px !important;
	}
}


/**************SVG****************/

path.one {
	transition: 0.4s;
	transform: translateX(-60%);
	opacity: 0;
}

path.two {
	transition: 0.5s;
	transform: translateX(-30%);
	opacity: 0;
}

path.three {
	transform: translateX(53%);
}

path.three { /**temp remove .cta:hover**/
	animation: color_anim 1s infinite 0.2s;
}

.cta:hover path.one {
	transform: translateX(0%);
	animation: color_anim 1s infinite 0.6s;
	opacity: 1;
}

.cta:hover path.two {
	transform: translateX(0%);
	animation: color_anim 1s infinite 0.4s;
	opacity: 1;
}


/* SVG animations */

@keyframes color_anim {
	0% {
		fill: white;
	}
	50% {
		fill: #da5666;
	}
	100% {
		fill: white;
	}
}

.et_pb_button {
	border: none;
	color: #fff !important;
	padding: 0.3em 1.6em !important;
}

.onl {
	background: url(https://www.lapayuca.nl/wp-content/uploads/2020/03/ic_onl_40_.png) no-repeat 1.6em 50%;
}

.bel {
	background: url(https://www.lapayuca.nl/wp-content/uploads/2020/01/ic_bel_40@2x.png) no-repeat 1.4em 50%;
}

.wsa {
	background: url(https://www.lapayuca.nl/wp-content/uploads/2020/01/ic_wsa_40@2x.png) no-repeat 1.4em 50%;
}

.with-icon {
	padding-left: 3.2em !important;
	background-size: 20px;
}

.et_pb_button:before {
	position: absolute;
	content: "";
	width: 100%;
	height: 100%;
	background: #a52224;
	top: 0;
	left: 0;
	opacity: 1;
	display: block;
	margin: auto;
	transform: skewX(-15deg);
	z-index: -1;
	box-shadow: 6px 6px 0 #531328;
}

@media (min-width: 769px) {
	#top-menu-nav .menu-item-object-custom a:before {
		top: -10px;
		padding-left: 8px;
		padding-right: 8px;
		left: -8px;
		position: absolute;
		content: "";
		width: 100%;
		height: 100%;
		background: #a52224;
		opacity: 1;
		display: block;
		margin: auto;
		transform: skewX(-15deg);
		z-index: -1;
		box-shadow: 6px 6px 0 #531328;
	}
}

.et_pb_button:after {
	display: none;
}

.et_pb_button:hover {
	padding: 0.3em 1.6em !important;
	border: none !important;
}

.with-icon:hover {
	padding: .3em 1.6em .3em 3.2em !important;
}

.et_pb_button:hover:before {
	box-shadow: 1px 1px 0 #531328;
}


/**NEWSLETTER**/

.et_pb_newsletter .et_pb_newsletter_fields {
	flex-wrap: nowrap;
}

.et_pb_newsletter_button_wrap {
	margin-left: 40px;
}

@media (max-width:480px) {
	.et_pb_newsletter .et_pb_newsletter_fields {
		flex-wrap: wrap;
	}
	.et_pb_newsletter_button_wrap {
		margin-left: 0;
	}
}

/**Gallery Home**/

.gallery {
	grid-column: span 4;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-auto-rows: 1fr;
	grid-gap: 27px;
	margin: auto;
}

.gallery .image {
	display: block;
	width: 100%;
	height: 100%;
	-o-object-fit: cover;
	object-fit: cover;
	-webkit-transition-property: opacity, -webkit-transform;
	transition-property: opacity, -webkit-transform;
	transition-property: transform, opacity;
	transition-property: transform, opacity, -webkit-transform;
	-webkit-transition-duration: 500ms;
	transition-duration: 500ms;
	-webkit-transition-timing-function: ease-out;
	transition-timing-function: ease-out;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
}

.image-holder {
	position: relative;
	overflow: hidden;
	margin: 0;
	transition: transform 0.35s;
}

.image-2a {
	grid-column: 1 / 2;
	grid-row: 1 / 3;
}

.image-2b {
	grid-column: 2 / 3;
	grid-row: 1 / 2;
}

.image-2c {
	grid-column: 2 / 4;
	grid-row: 2 / 3;
}

.image-2d {
	grid-column: 3 / 5;
	grid-row: 1 / 2;
}

.image-2e {
	grid-column: 4 / 5;
	grid-row: 2 / 4;
}

.image-2f {
	grid-column: 1 / 2;
	grid-row: 3 / 4;
}

.image-2g {
	grid-column: 2 / 3;
	grid-row: 3 / 4;
}

.image-2h {
	grid-column: 3 / 4;
	grid-row: 3 / 4;
}

.gallery:before {
	content: '';
	width: 0;
	padding-bottom: 100%;
	grid-row: 1 / 1;
	grid-column: 1 / 1;
}

@media (max-width: 481px) {
	.gallery {
		grid-gap: 20px;
	}
	.image-2a,
	.image-2b,
	.image-2c,
	.image-2d,
	.image-2e,
	.image-2f,
	.image-2g,
	.image-2h,
	.image-2i,
	.image-2j,
	.image-2k,
	.image-2l {
		grid-column: 1 / 5;
	}
	.image-2a {
		grid-row: 1 / 5;
		grid-column: 1 / 3;
	}
	.image-2b {
		grid-row: 1 / 3;
		grid-column: 3 / 5;
	}
	.image-2c {
		grid-row: 3 / 5;
		grid-column: 3 / 5;
	}
	.image-2d {
		grid-row: 5 / 7;
	}
	.image-2e {
		grid-row: 7 / 11;
	}
	.image-2f {
		grid-row: 11 / 13;
		grid-column: 1 / 3;
	}
	.image-2g {
		grid-row: 11 / 13;
		grid-column: 3 / 5;
	}
	.image-2h {
		grid-row: 13 / 15;
	}
}