/*
Theme Name:     generatepress-child
Description:    Generatepress child theme for Murray Grey NZ
Author:         Pivot Design
Template:       generatepress

(optional values you can add: Theme URI, Author URI, Version, License, License URI, Tags, Text Domain)
*/

/* Text */
h1, h2, h3, h4, h5, h6 {
	font-weight: bold !important;
}
.entry-title {
	/*
	font-size: 40px !important;
	*/
	color: #238561 !important;
}
.footer a {
	color: #ffffff;
}
.footer a:hover {
	text-decoration: underline;
}

#site-navigation {
	display: none !important; /* remove default template menu */
}
.site-content {
	padding-top: 0px !important;
}

/* Elementor posts */
.obfx-grid-container.obfx-grid-style-list .obfx-grid-col-image {
	width: 25% !important;
}
.obfx-grid-container.obfx-grid-style-list .obfx-grid-col-content {
	width: 75% !important;
	padding-left: 30px !important;
}

/* Event Calendar Plugin */
body.admin-bar .datepicker {
	z-index: 100 !important; /* show date picker box above other elements */
}
.tribe-event-title {
	font-weight: bold !important;
}
.tribe-event-image {
	display: none !important; /* hide image on event list shortcode (home page) */
}
.tribe-event-featured .tribe-events-photo-event-wrap {
	background: #238561 !important;
}
h4.tribe-event-title  {
	margin-bottom: 0px !important; /* remove space between event name and date (homepage widget) */
}
.tribe-events-list-widget-events {
	margin-bottom: 10px !important; /* add space between event list items (homepage widget) */
}
.tribe-event-duration {
	font-size: 14px !important; /* reduce font size on event lists(homepage widget) */
}
.tribe-list-widget {
	margin-bottom: 18px !important; /* reduce height below event list (homepage widget) */
}
.tribe-events-widget-link {
	text-indent: 40px; /* move 'view all' link in further */
}

/* Hides the reCAPTCHA on every page */
.grecaptcha-badge {
	display: none !important;
}
/* Shows the reCAPTCHA on the Contact page */
.page-id-10 .grecaptcha-badge {
	display: block !important;
	bottom: 100px !important;
}

/* Fix the menu hiding behind the slider */
.elementor-section.eael-particles-section .elementor-container, .elementor-section .elementor-container {
	z-index: unset !important;
}

h1 {
	color: #238561;
	font-family: "Roboto", Sans-serif;
	font-size: 30px;
	margin: 0 0 1rem 0;
	padding: 0;
}
.wards-list {
	text-align: center;
}
.wards-list ul,
.wards-list li {
	list-style: none;
	margin: 0;
}
.wards-list a {
	border: 1px solid #238561;
	border-radius: 2rem;
	display: block;
	margin-bottom: 0.5rem;
	padding: 0.5rem 1rem;
	transition: 200ms all;
}
.wards-list a:hover {
	background: #238561;
	color: #fff;
}
.members-search-box {
	background: #238561;
	color: #fff;
}
.members-search-box input[type=submit] {
	background: #fff;
	color: #238561;
	font-weight: bold;
	text-transform: uppercase;
}
.members-search-box input[type=submit]:hover {
	background: #000;
	color: #fff;
}

.member-list .name strong {
	opacity: 0.75;
}
.member-list .name h3 {
	color: #238561;
}

body .page-header-image.grid-container,
img {
	max-width: none;
	width: 100%;
}
body .page-header-image.grid-container {
	align-items: center;
	display: flex;
	max-height: 400px;
	overflow: hidden;
}

.entry-header h1,
.entry-header h1.entry-title,
.entry-content h1 {
	color: #238561;
	font-family: "Roboto", Sans-serif;
	font-size: 33px !important;
	margin: 0 0 1rem 0;
	padding: 0;
}
.entry-header h1.entry-title {
	margin-top: 2rem;
}

.elementor-lightbox .elementor-lightbox-image {
	object-fit: contain;
}

.custom-button,
.custom-buttons a {
	border-radius: 5rem;
	border: 1px solid #238561;
	display: block;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 1.5px;
	line-height: 1;
	margin-bottom: 0.5rem;
	padding: 12px 24px;
	text-align: center;
	text-transform: uppercase;
}
.custom-button:hover,
.custom-buttons a:hover {
	background: #238561;
	color: #fff;
	margin-bottom: 0.5rem;
}


.elementor-element-f4d8f02 .elementor-image a img {
	border-radius: 50%;
	padding: 0.4rem 0.4rem 0rem 0.4rem;
	transition: 200ms box-shadow, scale;
}
.elementor-element-f4d8f02 .elementor-image a:hover img {
	box-shadow: 0 0 1.5rem #ccc;
	opacity: 0.25;
	transform: scale(1.025);
}
.elementor-element-f4d8f02 .elementor-image a:hover:after {
	content: "Return to homepage";
	display: block;
	font-style: italic;
	text-align: center;
	position: absolute;
    font-weight: bold;
    font-size: 0.85rem;
    text-align: center;
    text-shadow: 0px 0px 3px #fff;
    top: 50%;
    transform: translateY(-50%);
}


@media (min-width: 500px) {
	.newsletter-post .page-header-image-single {
		float: right;
	}
}

.newsletter-post .page-header-image-single img {
	max-width: 200px;
}
