/*
	Theme Name: A W Fire Ltd
	Theme URI: ...
	Description: Custom theme.
	Author: Ultimately Better
	Author URI: https://ultimatelybetter.com/
	Version: 1.1
*/

/* RESETS */
* { margin: 0; padding: 0; }
*, *:before, *:after { box-sizing: border-box; }

/* ELEMENTS */
html { font-size:  62.5%; }
body {}

nav a:link,
a:has(img),
a:has(img):hover {
	background-color: transparent;
	border: 0 none;
}
.has-background > a:hover {
	background-color: transparent;
}

nav li a:hover,
nav li.current-menu-item a {
	border-bottom: 1px solid;
}

ul.wp-block-list {
	list-style: none;
}
ul.wp-block-list li {
	line-height: 1.2;
	margin-top: 1em;
	margin-bottom: 1em;
	padding-left: 2em;
	position: relative;
}
ul.wp-block-list li::before {
	align-items: center;
	background: var(--wp--preset--color--secondary);
	border-radius: 100%;
	color: #fff;
	content: "\2713";
	display: inline-flex;
	height: 18px;
	font-size: 12px;
	font-weight: 700;
	justify-content: center;
	margin-right: 1em;
	padding-top: 1px;
	position: absolute; left: 2px; top: 1px;
	width: 18px;
}

/* MAIN STRUCTURE */
#container {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	overflow: hidden;
	width: 100%;
}

.site-header,
.site-content,
.site-footer { display: block; } /* old IE support */

.site-header {
	flex-shrink: 0;
}

.site-content { flex: 1 0 auto; }

.site-footer {
	flex-shrink: 0;
}
	.site-footer a {
		background-color: transparent;
	}

/* MISC CLASSES */
#gform_submit_button_1 {
	border-radius: 9999px;
	font-family: var(--wp--preset--font-family--lato);
	padding: calc(0.667em + 2px) calc(1.333em + 2px);
	text-transform: uppercase;
}

.wp-block-ultimately-better-carousel-container__buttons {
	position: absolute; top: 50%;
	margin-left: -100px;
	margin-right: -100px;
	transform: translateY(-50%);
	width: calc(100% + 200px);
}
	.wp-block-ultimately-better-carousel-container [data-carousel-buttons] button {
		background: transparent;
		filter: none;
	}

.wp-block-quote cite {
	font-style: normal;
	font-weight: 700;
}

/* RESPONSIVEY STUFF */
@media only screen and (max-width : 1200px) {
	.alignwide {
		padding-left: 10px;
		padding-right: 10px;
	}
	.alignfull > h1,
	.alignfull > p {
		padding-left: 10px;
		padding-right: 10px;
	}
}

@media only screen and (max-width : 781px) {
	/* auto-reorder columns with images when full width on mobile */
	.wp-block-columns:has(.wp-block-column:last-of-type > figure) .wp-block-column:first-of-type {
		order: 2;
	}
	.wp-block-columns:has(.wp-block-column:last-of-type > figure) .wp-block-column:last-of-type {
		order: 1;
	}
}
@media only screen and (max-width : 600px) {
	/* if we display block, nav hides too, so let's faux-hide */
	.site-header .wp-block-group:has(nav) {
		height: 0;
		padding: 0 !important;
		margin: 0;
	}
	.site-header { position: relative; }
		.site-header nav {
			height: 30px;
			color: #fff;
			position: absolute; top: 20px; right: 20px;
			width: 30px;
			z-index: 10;
		}

		.site-header nav .wp-block-navigation__responsive-container .wp-block-navigation__container {
			padding: 1em;
			align-items: flex-start !important;
		}
		.site-header nav .wp-block-navigation__responsive-container .wp-block-navigation-item {
			align-items: flex-start !important;
			font-size: var(--wp--preset--font-size--large) !important;
		}
		.site-header nav .wp-block-navigation__responsive-container .wp-block-navigation-item.current-menu-item a {
			color: var(--wp--preset--color--primary);
		}

	.wp-block-navigation__responsive-container-close {
		top: 20px; right: 20px;
	}
	.site-header .wp-block-group:has(figure) { }
		.site-header .wp-block-group:has(figure) figure {
			position: absolute; top: 10px; left: 10px;
			height: 60px;
			width: 60px;
		}
		.site-header .wp-block-group:has(figure) p:first-of-type {
			margin-top: 50px !important;
		}
		.site-header .wp-block-group:has(figure) p {
			clear: both;
			font-size: 1.2em !important
		}
}