/*
Theme Name: Hills UK Services
Theme URI: 
Author: Skyline Internet
Author URI: 
Description: 
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: hills-uk-services
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: .1em;
}

:root :where(.wp-block-navigation a:where(:not(.wp-element-button)):hover) {
	text-decoration: none !important;
}

/* 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;
}


:root {
	scroll-behavior: smooth;
}

footer {
	margin: 0 !important;
}

/* Contact Form */
form .row {
	width: 100%;
	display: flex;
	flex-direction: row;
	gap: 1em;
}

form .row p {
	display: flex;
	flex-direction: column;
	width: 50%;
	gap: .5em;
}

form p {
	display: flex;
	flex-direction: column;
}

form .row p span input,
form .row p span input:focus-visible,
form p span textarea,
form p span textarea:focus-visible {
	background: none !important;
	outline: none !important;
	border-right: none !important;
	border-left: none !important;
	border-top: none !important;
	color: #fff !important;
	border-bottom: 2px solid #fff !important;
	font-family: var(--wp--preset--font-family--lato) !important;
	font-size: 1em !important;
	width: calc(100% - 1em);
}

form p span textarea {
	height: 150px;
}

form .row p label,
form label {
	font-family: var(--wp--preset--font-family--lato) !important;
	color: #fff !important;
}

form .submit p input {
	width: auto;
	padding: 1em 2.25em;
	margin: auto;
	margin-left: 0 !important;
	background-color: #fff !important;
	border: none;
	color: #000 !important;
	font-family: var(--wp--preset--font-family--charis-sil);
	font-size: 1em;
}

/* Animation */
.aos.animate {
	animation-delay: 0.5s;
}
  
.aos.fade-up {
	opacity: 0;
	transform: translateY(2rem);
}

.aos.fade-right {
	opacity: 0;
	transform: translateX(-2rem);
}

.aos.fade-left {
	opacity: 0;
	transform: translateX(2rem);
}
  
.animate.aos.fade-up {
	animation: fade-up 1s both;
}

.animate.aos.fade-left {
	animation: fade-left 1s both;
}
  
.animate.aos.fade-right {
	animation: fade-right 1s both;
}
  
.animation-delay-1 {
	animation-delay: calc(var(--baseDelay, 0.5s) + 0.25s) !important;
}

.animation-delay-2 {
	animation-delay: calc(var(--baseDelay, 0.5s) + 0.5s) !important;
}

.animation-delay-3 {
	animation-delay: calc(var(--baseDelay, 0.5s) + 0.75s) !important;
}

.animation-delay-4 {
	animation-delay: calc(var(--baseDelay, 0.5s) + 1s) !important;
}

.animation-delay-5 {
	animation-delay: calc(var(--baseDelay, 0.5s) + 1.25s) !important;
}

@keyframes fade-up {
	0% {
	  opacity: 0;
	  transform: translateY(2rem);
	}
  
	to {
	  opacity: 1;
	  transform: translateY(0);
	}
}
  
@keyframes fade-left {
	0% {
	  opacity: 0;
	  transform: translateX(2rem);
	}
  
	to {
	  opacity: 1;
	  transform: translateX(0);
	}
}

@keyframes fade-right {
	0% {
	  opacity: 0;
	  transform: translateX(-2rem);
	}
  
	to {
	  opacity: 1;
	  transform: translateX(0);
	}
}

@media (max-width: 768px) {
	.mb-padding-2 {
		padding-left: 2em !important;
		padding-right: 2em !important;
	}
	
	.mb-flex-col {
		flex-direction: column !important;
	}

	.mb-margin-2 {
		margin-right: 2em !important;
		margin-left: 2em !important;
	}
  }