/*
Theme Name: Purneill
Theme URI: 
Author: Dave
Author URI: 
Description: it's about a wedding innit?
Requires at least: 6.7
Tested up to: 6.7
Requires PHP: 7.2
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: purneill
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news

/*
 * Link styles
 * https://github.com/WordPress/gutenberg/issues/42319
 */

/*
 * Link styles
 * https://github.com/WordPress/gutenberg/issues/42319
 */
a {
	text-decoration-thickness: 1px !important;
	text-underline-offset: 0.1em;
}

/* Focus styles */
:where(.wp-site-blocks *:focus) {
	outline-width: 2px;
	outline-style: solid;
}

/* Increase the bottom margin on submenus, so that the outline is visible. */
.wp-block-navigation
	.wp-block-navigation-submenu
	.wp-block-navigation-item:not(:last-child) {
	margin-bottom: 3px;
}

/* Increase the outline offset on the parent menu items, so that the outline does not touch the text. */
.wp-block-navigation
	.wp-block-navigation-item
	.wp-block-navigation-item__content {
	outline-offset: 4px;
}

/* Remove outline offset from the submenus, otherwise the outline is visible outside the submenu container. */
.wp-block-navigation
	.wp-block-navigation-item
	ul.wp-block-navigation__submenu-container
	.wp-block-navigation-item__content {
	outline-offset: 0;
}

/*
 * Progressive enhancement to reduce widows and orphans
 * https://github.com/WordPress/gutenberg/issues/55190
 */
h1,
h2,
h3,
h4,
h5,
h6,
blockquote,
caption,
figcaption,
p {
	text-wrap: pretty;
}

/*
 * Change the position of the more block on the front, by making it a block level element.
 * https://github.com/WordPress/gutenberg/issues/65934
*/
.more-link {
	display: block;
}

/* my stuff on down */

/* subtle text-shadow on h1's */
h1 {
	text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
}
h2 {
	color: var(--wp--preset--color--accent-3);
}
/* header nav styling */
header nav button:active,
header nav button:focus,
header nav a:active,
header nav a:focus {
	outline-style: none !important;
}
header nav svg:not(.wp-block-navigation__submenu-icon svg) {
	transform: scale(1.5) !important;
}
.wp-block-navigation__responsive-container-open {
	position: relative;
	padding-top: 20px;
	padding-right: 20px;
}
/* styling mobile nav modal */
header nav .wp-block-navigation__responsive-container {
	justify-content: center;
}
header
	nav
	.has-modal-open
	ul.wp-block-navigation__submenu-container.wp-block-navigation-submenu {
	padding-bottom: 50px !important;
}
header
	nav
	.wp-block-navigation__responsive-container
	.wp-block-navigation__responsive-container-close {
	position: fixed;
	top: 20px;
	right: 20px;
}
/* fixing janky google map embeds */
.google-map {
	position: relative;
	padding-bottom: 50%; // This is the aspect ratio
	height: 0;
	overflow: hidden;
}
.google-map iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100% !important;
	height: 100% !important;
}
/* main page template styling */
.page-main-content-group .entry-content .wp-block-group:first-child {
	/* margin-top: clamp(1%, 19% - 81px, 10%) !important; */
	margin-top: clamp(175px, 40%, 470px) !important;
	margin-bottom: clamp(-65px, -5vw, -30px) !important;
	/* min-height: clamp(280px, 70vw - 10px, 500px); */
	/* margin-top: 200px !important; */
	z-index: 5;
}
.error404 .page-main-content-group .entry-content {
	display: flow-root;
}
.page-main-content-group .error-message,
.page-main-content-group .carousel-slider .wp-block-cover {
	/* min-height: 500px; */
	min-height: clamp(240px, 70vw - 10px, 950px);
	/* margin: 0px 200px; */
}

footer {
	z-index: -1;
}
.footer-logo-group {
	height: 200px;
	min-height: clamp(240px, 45vw, 600px);
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	/* background: url(./assets/images/bottom.png);
	background-repeat: no-repeat;
	background-position: left bottom;
	background-size: contain; */
}

/* contact form 7 styling */
.wpcf7 form label {
	display: inline-block;
}
.wpcf7 form .wp-block-columns {
	/* justify-content: center; */
	/* align-items: center; */
}
.wpcf7 form p:not(.has-text-align-center) {
	margin-bottom: 0.5rem;
	text-align: left !important;
}
@media (max-width: 782px) {
	/* .wpcf7 form p:not(.has-text-align-center) {
		text-align: center !important;
	} */
	.wpcf7 form p.submit-button {
		text-align: center !important;
	}
	.wpcf7 form .submit-button .wp-block-button__link {
		margin-left: 48px;
	}
	.wpcf7 form p.submit-button > span.wpcf7-spinner {
		margin-right: 0px !important;
	}
}
.wpcf7 form ::-webkit-input-placeholder {
	color: #b7bbbb;
	font-size: 1.1rem !important;
}
.wpcf7 form ::-moz-placeholder {
	color: #b7bbbb;
	font-size: 1.1rem !important;
}
.wpcf7 form :-ms-input-placeholder {
	color: #b7bbbb;
	font-size: 1.1rem !important;
}
.wpcf7 form ::-ms-input-placeholder {
	color: #b7bbbb;
	font-size: 1.1rem !important;
}
.wpcf7 form ::placeholder {
	color: #b7bbbb;
	font-size: 1.1rem !important;
}
.wpcf7 form .wpcf7-form-control-wrap .wpcf7-not-valid-tip {
	font-size: 0.8em !important;
}
.wpcf7
	form
	.wpcf7-form-control-wrap
	input:not([type="checkbox"]):not(.wpcf7-not-valid-tip),
.wpcf7 form .wpcf7-form-control-wrap textarea:not(.wpcf7-not-valid-tip) {
	width: 97%;
}
.wpcf7
	form
	.wpcf7-form-control-wrap
	.wpcf7
	form
	.wpcf7-form-control-wrap
	select:not(.wpcf7-not-valid-tip) {
	width: 100%;
}
.wpcf7
	form
	.wpcf7-form-control-wrap
	input:not([type="checkbox"]):not(.wpcf7-not-valid-tip),
.wpcf7 form .wpcf7-form-control-wrap select:not(.wpcf7-not-valid-tip),
.wpcf7 form .wpcf7-form-control-wrap textarea:not(.wpcf7-not-valid-tip) {
	background-color: var(--wp--preset--color--accent-5);
	border: 2px solid var(--wp--preset--color--contrast);
	border-radius: 0.375rem !important;
	padding: 7px;
}
.wpcf7 form .wpcf7-form-control-wrap *:hover {
	border-color: var(--wp--preset--color--accent-2);
	outline: none !important;
}
.wpcf7 form .wpcf7-form-control-wrap *:focus {
	border-color: var(--wp--preset--color--accent-3);
	outline: none !important;
}
.wpcf7 form .wpcf7-select:hover {
	cursor: pointer;
}
.wpcf7 form .wpcf7-select {
	display: inline-block;
	text-align: center;
	height: calc(1.2em + 0.75rem + 2px);
	padding: 0.375rem 0px;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.2;
	color: #495057;
	vertical-align: middle;
	background: #fff
		url("data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%274%27 height=%275%27 viewBox=%270 0 4 5%27%3e%3cpath fill=%27%23343a40%27 d=%27M2 0L0 2h4zm0 5L0 3h4z%27/%3e%3c/svg%3e")
		right 0.75rem center/8px 10px no-repeat;
	appearance: none;
	width: 100%;
}

.wpcf7 form .wpcf7-list-item {
	display: block;
}
.wpcf7 form .submit-button .wp-block-button__link {
	border-radius: 9999px;
	box-shadow: none;
	padding: calc(0.667em + 2px) calc(1.333em + 2px);
	text-decoration: none;
	text-align: center !important;
}
.wpcf7 form .wpcf7-response-output {
	border-width: 0 0 0 4px !important;
	display: inline-block;
	margin-bottom: 15px;
	padding-left: 17px;
}
.wpcf7 form .wpcf7-response-output {
	color: var(--wp--preset--color--contrast-2);
	font-weight: 500;
	letter-spacing: 2px;
	line-height: 1.4;
}
.wpcf7 form .subheading {
	color: var(--wp--preset--color--accent-3);
	font-size: var(--wp--preset--font-size--medium);
	/* font-weight: 500; */
	/* letter-spacing: 2px; */
	/* line-height: 1.4; */
	/* text-transform: uppercase; */
}
.uacf7_conditional {
	display: inline;
}

/* end of form styling */
