/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

.fl-builder-content {
    overflow: clip;
}

@media screen and (max-width:600px) {
    div#wpadminbar {
    top: -46px !important;
}
}

@media screen and (max-width: 768px) {
	body, button, input, select, textarea {
		font-size: 16px;
	}
}

/* =========================================================
   BUTTON PARTICLE EXPLOSION
   ========================================================= */

.dr-particle-layer {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 0;
	z-index: 999999;
	pointer-events: none;
	overflow: visible;
	mix-blend-mode: difference;
}

.dr-particle {
	position: absolute;
	border-radius: 65% 85% 55% 75%;
	pointer-events: none;
	will-change: transform, opacity;
	background: #222
}

/* service cards */

.service-card, .work-card {
    position: relative;
    overflow: hidden;
}
.service-card {
    clip-path: polygon(
        0 0,
        100% 0,
        100% calc(100% - 78px),
        calc(100% - 88px) 100%,
        0 100%
    );
}

.service-card:hover .service-card-inner {
    gap: 10px;
    transition: all .6s ease;
}

.service-card .service-card-inner {
    gap: 0px;
    transition: all .2s .4s ease;
}

.service-card-inner, .work-card-inner {
    position: relative;
	justify-content: flex-end;
}

.service-card .fl-module-rich-text,
.service-card .fl-button-wrap {
    opacity: 0;
    visibility: hidden;
	max-height: 0px;
	transition: max-height .5s ease;
}


.service-card:hover .fl-module-rich-text,
.service-card:hover .fl-button-wrap {
	max-height: 200px;
}







.nates-service-map { width: 100%; height: 100%; min-height: 490px; border-radius: 6px; overflow: hidden; }
.nates-map-marker-wrap { background: none !important; border: 0 !important; }
.nates-map-marker { width: 32px; height: 32px; background: #a4c954; border: 3px solid #fff; border-radius: 50%; box-shadow: 0 2px 8px rgba(0,0,0,.3); }
.nates-map-popup strong, .nates-map-popup span { display: block; }
.nates-map-popup strong { margin-bottom: 4px; }
.nates-service-area-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 40px; }
.nates-service-area-list__heading { margin: 0 0 10px; color: var(--ink);  }
.nates-service-area-list__heading a { color: inherit; }
.nates-service-area-list ul { list-style: none; padding: 0; margin: 0; }
.nates-service-area-list li { margin: 0 0 8px; }
.nates-service-area-list li a { color: inherit; text-decoration: none; }
.nates-service-area-list li a:hover, .nates-service-area-list__heading a:hover { text-decoration: underline; }
@media (max-width: 767px) { .nates-service-area-list { grid-template-columns: 1fr; gap: 24px; } .nates-service-map { min-height: 340px; } }