/*
 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
*/
html {
	overflow-x: hidden;
}
.one-container > * .container {
	background-color: transparent;
}
.widget-area .widget {
	padding: 0;
}
.full-width-content .container.grid-container {
	padding-left: 0;
	padding-right: 0;
}
.navigation-branding,
.site-logo {
	max-width: calc(100% - 5rem);
}

.center {
	text-align: center;
}
.text-right {
	text-align: right;
}
.btn,
a.btn,
.menu-btn a,
body .gform_wrapper .gform_footer input[type=submit] {
	display: inline-block;
	padding: 1.25em 1.75em;
	background: #3581B8;
	color: #FFF;
	border-radius: 0.25rem;
	font-size: 0.875rem;
	font-weight: 500;
	line-height: 1;
	text-transform: uppercase;
	opacity: 1;
	transition: opacity 0.25s;
font-display: swap;
}
.btn:hover,
a.btn:hover,
.menu-btn a:hover,
body .gform_wrapper .gform_footer input[type=submit]:hover {
	opacity: 0.8;
}
.menu-btn {
	margin-left: 1.5rem;
}
.menu-btn a {
	line-height: 1 !important;
	color: #FFF !important;
	background: #3581B8 !important;
}


/*
 * BLOG ARCHIVE
 */
.blog .site-main > article,
.archive .site-main > article {
	margin-bottom: 8rem;
}

.melon-popup {
	display: none;
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background: rgba(51,117,32,0.8);
	color: #FFF;
	z-index: 99999;
}
.melon-popup.active {
	display: block;
}
.melon-popup h2 {
	color: #FFF;
}
.melon-popup a {
	color: #FFF;
}
.melon-popup ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}
.melon-popup ul.menu {
	columns: 2;
}
.melon-popup ul li {
	width: 100%;
	text-align: center;
	font-weight: bold;
}
.melon-popup .melon-popup-toggle {
	position: absolute;
	top: 1rem;
	right: 1rem;
}


.portfolio-laptop-display {
	position: relative;
}
.portfolio-laptop-display img {
	display: block;
	max-width: 100%;
}
.portfolio-laptop-display .screen-display {
	position: absolute;
	top: 15%;
	left: 13.5%;
	width: 72%;
	height: 72.5%;
	background-size: cover;
	background-position: top left;
	border-radius: 4px;
}




@keyframes wave {
	0% {
		transform: translateX(0) translateZ(0) scaleY(1)
	}
	50% {
		transform: translateX(-25%) translateZ(0) scaleY(0.55)
	}
	100% {
		transform: translateX(-50%) translateZ(0) scaleY(1)
	}
}

.wave-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	pointer-events: none;
}
.wave-overlay .wave-wrap  {
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: 4rem;
	overflow: hidden;
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
	z-index: 1;
}
.wave-overlay .wave-wrap .wave {
	position: absolute;
	bottom: -1px;
	width: 200%;
	height: 80px;
	background-image: url('/wp-content/themes/generatepress_child/img/background-wave-100.svg');
	background-repeat: repeat no-repeat;
	background-position: 0 bottom;
	background-size: 50% 40px;
	transform-origin: center bottom;
	animation: wave 21s linear infinite;
}
.wave-overlay .wave-wrap.mid {
	opacity: 0.7;
	z-index: 2;
}
.wave-overlay .wave-wrap.mid .wave {
	background-size: 50% 50px;
	animation: wave 17s linear infinite;
}
.wave-overlay .wave-wrap.top {
	opacity: 0.4;
	z-index: 3;
}
.wave-overlay .wave-wrap.top .wave {
	background-size: 33.333% 40px;
	animation: wave 13s linear infinite;
}

.melon-banner {
	position: relative;
	padding-top: 4rem;
	padding-bottom: 4rem;
	background-attachment: fixed;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}
.melon-banner h1,
.melon-banner a {
    color: #FFF;
}
.melon-banner h1 {
	width: 90%;
	width: calc(100% - 3rem);
	padding-left: 1rem;
	padding-right: 2rem;
	font-weight: 600;
	text-shadow: 0 0 0.25em #666;
}
.melon-banner .banner {
	position: relative;
	width: 90%;
	width: calc(100% - 2rem);
	padding-top: 2rem;
	padding-bottom: 2rem;
	padding-left: 2rem;
	padding-right: 2rem;
	margin-left: -1rem;
    background: linear-gradient(270deg, #539433 5%, #337520);
    color: #FFF;
	transition: background 0.5s;
}
.melon-banner .banner:after {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	left: 100%;
	width: 2rem;
	background: rgba(83,148,51,0.8);
}
.melon-banner .banner .btn {
	background: #06393C;
}


.melon-image-text {
	margin-top: 6rem;
	margin-bottom: 6rem;
}
.melon-image-text .image {
	transition: transform 0.25s;
}
.melon-image-text:hover .image {
	transform: scale(1.1);
}

.melon-icons {
	margin-top: 2rem;
	margin-bottom: 6rem;
}
.melon-icons .icon-item {
	margin-bottom: 4rem;
}
.melon-icons .icon-item .icon {
	width: 100%;
	max-width: 7.5rem;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 2rem;
}
.melon-icons .icon-item .icon img {
	display: block;
	transition: transform 1.25s;
}
.melon-icons .icon-item:hover .icon img {
	transform: rotateX(360deg) rotateY(360deg) rotateZ(360deg) scale(1.1);
}
.melon-icons .icon-item h3 {
	max-width: 15rem;
	margin-left: auto;
	margin-right: auto;
}
@media screen and (min-width: 768px) {
	.melon-icons {
		margin-top: 4rem;
		margin-bottom: 10rem;
	}
	.melon-icons .icon-item {
		margin-bottom: 0;
	}
}


@media screen and (max-width: 767px) {
    .process-arrow img {
        transform: rotate(90deg);
		max-width: 5rem;
    }
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
    .process-arrow.diagonal img {
        transform: rotate(135deg);
    }
}


.melon-form {
	padding-bottom: 6rem;
}
.melon-form,
.melon-form .container {
	background-color: #F7F7F7 !important;
}
.melon-form .content .phone .dashicons-phone {
	background: #549534;
	color: #FFF;
	border-radius: 100%;
}
.melon-form .form {
	position: relative;
	padding: 2rem;
	background: #2C666F;
	color: #FFF;
	border-radius: 1rem;
	overflow: hidden;
	transition: background 1.5s;
}
.melon-form:hover .form {
	background: #337520;
}
.melon-form .form > * {
	position: relative;
	z-index: 1;
}
.melon-form .form:before {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	top: 100%;
	background: rgba(0,0,0,0.25);
	z-index: 0;
	transition: top 0.5s;
}
.melon-form .form:hover:before {
	top: 50%;
}


.cta-form {
	position: relative;
	margin-top: 8rem;
	margin-bottom: 8rem !important;
}
.cta-form:before {
	content: '';
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	left: -5%;
	width: 61.8%;
	padding-top: 61.8%;
	background: #337520;
	border-radius: 100%;
	z-index: 0;
}

.cta-form > * {
	position: relative;
	z-index: 1;
}
.cta-form h3 {
	display: inline-block;
	font-weight: 600;
}
.cta-form h3:after {
	content: '';
	display: block;
	height: 8px;
	width: calc(100% - 2em);
	background: #22B573;
}
.cta-form .form {
	border: 0.5rem solid rgba(34, 181, 115, 0.2);
}
.cta-form .form .form-inner {
	padding: 1rem;
	background: rgba(255, 255, 255, 0.98);
	overflow: hidden;
}
.cta-form .form .gform_wrapper ul li.gfield {
	margin-top: 0;
}
.cta-form .form .gform_wrapper .gform_footer {
	text-align: center;
}
.cta-form .form .gform_wrapper .gform_footer input[type=submit] {
	margin-left: auto;
	margin-right: auto;
}
@media screen and (min-width: 642px) {
	.cta-form .form .form-inner {
		padding: 2rem 0 0 1rem;
	}
}

/* GRAVITY FORMS */
.melon-form .form label,
.melon-form .form .gform_wrapper label.gfield_label,
.melon-form .form .gform_wrapper legend.gfield_label,
.cta-form .form label,
.cta-form .form .gform_wrapper label.gfield_label,
.cta-form .form .gform_wrapper legend.gfield_label {
	font-size: 0.875rem;
	font-weight: 300;
	text-transform: uppercase;
}
.melon-form .form .gform_wrapper .ginput_complex label.gfield_label,
.cta-form .form .gform_wrapper .ginput_complex label.gfield_label{
	font-size: 0.5rem;
}
.melon-form .form .gform_wrapper ul li.gfield,
.cta-form .form .gform_wrapper ul li.gfield {
	margin-top: 0;
}
.melon-form .form .gform_wrapper .gform_footer,
.cta-form .form .gform_wrapper .gform_footer {
	text-align: center;
}
.melon-form .form .gform_wrapper .gform_footer input[type=submit],
.cta-form .form .gform_wrapper .gform_footer input[type=submit] {
	margin-left: auto;
	margin-right: auto;
}
.melon-form .gform_legacy_markup_wrapper .field_sublabel_hidden_label .ginput_complex.ginput_container input[type=text],
.cta-form .gform_legacy_markup_wrapper .field_sublabel_hidden_label .ginput_complex.ginput_container input[type=text] {
	margin-bottom: 0;
}
.melon-form .gform_legacy_markup_wrapper li.hidden_label textarea,
.cta-form .gform_legacy_markup_wrapper li.hidden_label textarea {
	margin-top: 12px;
}



.melon-services {
	margin-top: 8rem;
	padding-bottom: 2rem;
	background-color: #154A50;
	border-top: 3.5rem solid #9DB1AE;
	perspective: 1000px;
}
.melon-services > .container {
	margin-top: -7.5rem;
	background: transparent !important;
}
.melon-services .service-item {
	padding: 2rem;
	margin-bottom: 3rem;
	background: #E7E9E9;
	border-radius: 2rem;
	overflow: hidden;
	box-shadow: 0 0 2rem -1rem #222;
	transition: background 0.25s, transform 0.25s;
}
.melon-services .service-item:hover {
	background: #E0E0E0;
	transform: scale(1.05) translateY(-1rem) rotateX(-5deg);
}
.melon-services .service-item h3 {
	margin-left: -1rem;
	margin-right: -1rem;
	color: #2C666F;
	font-weight: 600;
	transition: letter-spacing 0.25s;
}
.melon-services .service-item:hover h3 {
	/*letter-spacing: 1px;*/
}
.melon-services .service-item h3:after {
	content: '';
	display: block;
	width: 100%;
	max-width: 6rem;
	border-top: 0.125rem solid #549534;
	margin: 1rem auto;
}
.melon-services .service-item a.service-btn {
	display: block;
	margin: 0 -2rem -2rem;
	padding: 1.75rem;
	background: #549534;
	color: #FFF;
	font-weight: bold;
	text-align: center;
	text-transform: uppercase;
	transition: opacity 0.25s, letter-spacing 0.25s;
}
.melon-services .service-item a.service-btn:hover {
	letter-spacing: 1px;
	opacity: 0.9;
}


.melon-post-feed {
	position: relative;
	padding-top: 3.5rem;
	padding-bottom: 3.5rem;
	margin-bottom: 8rem;
	background-color: #154A50;
	border-top: 3.5rem solid #9DB1AE;
}
.melon-post-feed h2 {
	margin-bottom: 3.5rem;
	color: #FFF;
}
.melon-post-feed .post-feed-item {
	margin-bottom: 2rem;
}
.melon-recent-posts .post-feed-item,
.widget .melon-recent-posts .post-feed-item {
	margin-bottom: 4rem;
}
.melon-post-feed .post-feed-item .post-image img,
.melon-recent-posts .post-feed-item .post-image img {
	display: block;
	box-shadow: 0 0 0 0 #000;
	transition: box-shadow 0.2s, transform 0.2s;
}
.melon-post-feed .post-feed-item:hover .post-image img,
.melon-recent-posts .post-feed-item:not(.laptop-display):hover .post-image img {
	transform: scale(1.1);
	box-shadow: 0 0 1rem -0.5rem #000;
}
.melon-post-feed .post-feed-item .post-content,
.melon-recent-posts .post-feed-item .post-content {
	padding: 1rem;
	background-color: #F7F7F7;
}
.melon-post-feed .post-feed-item .post-content {
	min-height: 230px;
}
.melon-recent-posts .post-feed-item.laptop-display .post-content {
	background-color: #FFF;
}
.melon-post-feed .post-feed-item .post-content h3,
.melon-recent-posts .post-feed-item .post-content h6 {
	margin-bottom: 0.25em;
	font-size: 1rem;
	font-weight: bold;
}
.melon-post-feed .post-feed-item .post-content a,
.melon-recent-posts .post-feed-item .post-content a {
	color: #337520;
}
.melon-post-feed .post-feed-item .post-content .post-categories,
.melon-recent-posts .post-feed-item .post-content .post-categories {
	margin-bottom: 1rem;
}
.melon-post-feed .post-feed-item .post-content .post-categories a,
.melon-recent-posts .post-feed-item .post-content .post-categories a {
	display: inline-block;
	margin-right: 1em;
	font-size: 0.75rem;
}
.melon-post-feed .post-feed-item a.share-btn,
.melon-recent-posts .post-feed-item a.share-btn {
	display: none;
	color: #3581B8;
	font-weight: bold;
	text-transform: uppercase;
}
.melon-post-feed .see-more {
	position: absolute;
	bottom: -1.5rem;
	left: 0;
	right: 0;
	text-align: center;
}



.melon-hero-cta {
	padding-top: 6rem;
	padding-bottom: 2rem;
	margin-bottom: 8rem;
	background-attachment: fixed;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}
.melon-hero-cta > .container {
	margin-bottom: -6rem;
}
.melon-hero-cta h1,
.melon-hero-cta a,
.melon-hero-cta .content {
    color: #FFF;
}
.melon-hero-cta h1 {
	padding-left: 1rem;
	font-weight: 600;
	text-shadow: 0 0 0.25em #666;
}
.melon-hero-cta .content {
	padding: 1rem;
	margin-bottom: 3rem;
	/*background: rgba(83,148,51,0.25);*/
	font-weight: 600;
	text-shadow: 0 0 0.25em #666;
}
.melon-hero-cta .melon-reviews {
	padding: 2rem;
	background: #3581B8;
	color: #FFF;
	border-radius: 1rem;
}
.melon-hero-cta .form {
	padding: 2rem;
	background: #337520;
	color: #FFF;
	border-radius: 1rem;
}
.melon-hero-cta .form label,
.melon-hero-cta .form .gform_wrapper label.gfield_label,
.melon-hero-cta .form .gform_wrapper legend.gfield_label {
	font-size: 0.875rem;
	font-weight: 300;
	text-transform: uppercase;
}
.melon-hero-cta .form .gform_wrapper .ginput_complex label.gfield_label{
	font-size: 0.5rem;
}
.melon-hero-cta .form .gform_wrapper ul li.gfield {
	margin-top: 0;
}
.melon-hero-cta .form .gform_wrapper .gform_footer {
	text-align: center;
}
.melon-hero-cta .form .gform_wrapper .gform_footer input[type=submit] {
	margin-left: auto;
	margin-right: auto;
}

/*
 * SHORTCODES
 */
.w3-icon {
	display: inline-block;
	margin: 0.25rem;
	width: 2rem;
	height: 2rem;
	background-color: #FFF;
}

/* W3 Service Page Tie-In (lightweight) */
