/*!
Theme Name: Spires Tuning
Theme URI: https://www.spires-st.com/
Author: David John Bennett
Author URI: https://www.davidjohnbennett.com/
Description: Developed with the underscores theme.
Version: 1.0.0
*/

/* Normalize */

html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
}

main {
	display: block;
}

h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

a {
	background-color: transparent;
}

abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

b,
strong {
	font-weight: 500;
}

code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

small {
	font-size: 80%;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

img,
a img {
	border: 0;
	display: block;
	margin: 0;
}

button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

button,
input {
	overflow: visible;
}

button,
select {
	text-transform: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

fieldset {
	padding: 0.35em 0.75em 0.625em;
}

legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

progress {
	vertical-align: baseline;
}

textarea {
	overflow: auto;
}

[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

details {
	display: block;
}

summary {
	display: list-item;
}

template {
	display: none;
}

[hidden] {
	display: none;
}

*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/* Structure */

.admin-bar #masthead {
	top: 32px;
}

@media (max-width: 782px) {

.admin-bar #masthead {
	top: 46px;
}

}

#masthead {
	background: transparent;
	height: 100px;
	padding: 0 20px;
	position: fixed;
	top: 0;
	transition: background 0.4s ease;
	width: 100%;
	z-index: 999;
}

.scrolled #masthead {
	background: #fff;
	height: 80px;
}

#masthead-content {
	margin: 0 auto;
	max-width: 1200px;
	padding: 30px 0;
	transition: padding 0.4s ease;
}

.scrolled #masthead-content {
	padding: 20px 0;
}

.site-title img {
    height: 40px;
    opacity: 0;
	transition: opacity 0.4s ease;
}
    
.scrolled .site-title img {
    height: 40px;
    opacity: 1.0;
}
    
.home #slider {
	background: #333333; /* Dark Grey */
    border-bottom: 10px solid #901636; /* Red */
	width: 100%;
}

#content {
	background: #333333; /* Dark Grey */
	padding: 0 20px;
	width: 100%;
}

#content-content {
	margin: 0 auto;
	max-width: 1200px;
}

#footer {
    background: #901636; /* Red */
    margin: 60px 0 0;
	padding: 0 20px;
	width: 100%;
}

#footer-content {
	margin: 0 auto;
	max-width: 1200px;
	padding: 20px 0 0;
}

/* Typography */

body,
button,
input,
select,
optgroup,
textarea {
	color: #fff;
	font-family: eurostile, sans-serif;
	font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.01em;
	line-height: 1.25em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	color: #fff;
    display: inline-block;
	font-family: eurostile-extended, sans-serif !important;
    font-weight: 500;
    letter-spacing: 0.1em;
	line-height: 1em;
    margin: 0;
    text-transform: uppercase;
}

h1 /* Site Title (Logo) */ {
}

h2.rs-layer /* Site Description (most settings are in the slider itself) */ {
	font-family: eurostile, sans-serif !important;
    letter-spacing: 0.01em !important;
}

.rev-btn /* Slider Button */ {
	font-family: eurostile-extended, sans-serif !important;
    letter-spacing: 0.01em !important;
}

h3 /* Section Headings */ {
    background: #901636; /* Red */
    border-radius: 10px;
    color: #fff;
    font-size: 30px;
    margin: 2em 0;
    padding: 0.25em 0.5em;
}

@media (max-width: 768px) {
    
h3 /* Section Headings */ {
    font-size: 24px;
    margin: 2.5em 0;
    padding: 0.25em 0.5em;
}

}

h4 /* Accordion Headings */ {
	font-family: eurostile, sans-serif !important;
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 0.01em;
    text-align: left;
}

p {
	margin: 0 0 1.25em;
    text-align: left;
}

#footer p,
#footer p a {
    color: #fff;
    font-size: 14px;
}

#footer span.facebook,
#footer span.instagram,
#footer span.twitter {
	background-image: url(images/social-icons.png);
	background-repeat: no-repeat;
	background-size: 105px;
	display: inline-block;
    height: 30px;
	margin: 0 0 20px 20px;
    opacity: 1.0;
	transition: opacity 0.2s ease;
    vertical-align: middle;
    width: 30px;
}

#block-5 p {
    margin: 0;
    text-align: right;
}

#footer span.facebook {
	background-position: 0px 0px;
}

#footer span.instagram {
	background-position: -40px 0px;
}

#footer span.twitter {
	background-position: -80px 0px;
}

#footer span.facebook:hover,
#footer span.instagram:hover,
#footer span.twitter:hover {
    opacity: 0.5;
}

@media (max-width: 600px) {

#footer p,
#block-5 p {
    text-align: center;
}

}


dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
    background: url("images/blockquote.png") no-repeat center center;
    background-size: contain;
    margin: 0;
}

blockquote p {
	color: #fff;
    font-size: 30px;
    font-weight: 500;
    letter-spacing: 0.01em;
    line-height: 1.334em;
    margin: 0;
    padding: 2em;
    text-align: center;
    text-transform: uppercase;
}

@media (max-width: 1160px) {

blockquote .hide {
    display: none;
}
    
}

@media (max-width: 768px) {

blockquote {
    background: none;
}

blockquote p {
    font-size: 24px;
    line-height: 1.25em;
    padding: 1.25em;
}
    
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements */

body {
	background: #333333; /* Dark Grey */
}

hr {
	background-color: #a8a8a8; /* Medium Grey */
	border: 0;
	height: 1px;
	margin-bottom: 1.25em;
}

ul,
ol {
	margin: 0 0 1.25em 1.25em;
    padding: 0;
    text-align: left;
}

ul {
    list-style: square;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.25em;
}

dt {
	font-weight: 500;
}

dd {
	margin: 0 1.25em 1.25em;
}

embed,
iframe,
object {
	max-width: 100%;
}

img {
	height: auto;
	max-width: 100%;
}

figure {
	margin: 1.25em 0;
}

table {
	margin: 0 0 1.25em;
	width: 100%;
}

td {
    padding: 0 10px 0 0;
    text-align: left;
}

/* Links */

a,
a:visited {
	color: #fff;
    text-decoration: none;
	transition: color 0.2s ease;
}

a:hover,
a:focus,
a:active {
	color: #a8a8a8; /* Medium Grey */
    outline: 0;
}

/* Forms */

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/* Navigation */

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.25em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Posts and Pages */

.entry-header,
.entry-footer {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
    text-align: center;
}

/* Comments */

.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets */

.widget-title {
    display: none;
}

/* Media */

.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

.custom-logo-link {
	display: inline-block;
}

/* Captions */

.wp-caption {
	margin-bottom: 1.25em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 1.25em 0;
	text-align: center;
}

/* Galleries */

.gallery {
	margin-bottom: 1.25em;
	display: grid;
	grid-gap: 1.25em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/* Accessibility */

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments */

.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.25em;
	margin-bottom: 1.25em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.25em;
	margin-bottom: 1.25em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

div.alignfull {
    margin-left  : calc( -100vw / 2 + 100% / 2 );
    margin-right : calc( -100vw / 2 + 100% / 2 );
    max-width    : 100vw;
}

div.alignfull > div {
	margin: 0 auto;
	max-width: 1200px;
}

@media (max-width: 1200px) {
    
div.alignfull > div {
    padding: 0 20px;
}

}

/* Blocks */

.wp-block-columns {
    margin: 0;
}

.wp-block-column[style*=flex-basis] {
    margin: 0 auto;
}

.red {
    background: #901636; /* Red */
}

.wp-block-image {
    margin: 0;
}

/* Ninja Forms – This is more in-depth than usual as NF opinionated styles are turned off to remove the slightly naff exclamation marks */

.nf-form-layout {
    margin: 0 0 1.25em;
}

.nf-form-fields-required {
    display: none;
}

.nf-form-content {
    padding: 0 !important;
}

.nf-form-content .nf-field-container {
    margin-bottom: 10px !important;
}

.nf-form-content .ninja-forms-field {
    padding: 5px !important;
}

.nf-form-content textarea.ninja-forms-field {
    border: none;
    height: 120px !important;
}

.nf-form-content input:not([type=button]), .nf-form-content textarea {
    background: #f1f1f1 !important;
    border: none;
    border-radius: 0;
    color: #333333 !important; /* Dark Grey */
}

.nf-form-content input[type=button],
.nf-form-content input[type=submit] {
    background: #901636 !important; /* Red */
    border: none;
    border-radius: 0;
    color: #fff !important;
	cursor: pointer;
	font-family: eurostile-extended, sans-serif !important;
    font-weight: 500;
    line-height: 1.25em;
    padding: 0.25em 0.5em !important;
    text-transform: uppercase !important;
	transition: background 0.2s ease !important;
    width: 100% !important;
}

.nf-form-content input[type=button]:hover,
.nf-form-content input[type=submit]:hover {
    background: #fff !important;
    color: #901636 !important; /* Red */
}

.nf-form-content input.ninja-forms-field {
    height: auto !important;
}

.nf-error-msg,
.nf-response-msg {
    color: #fff !important;
}

.nf-error.field-wrap .nf-field-element:after {
    background: #901636 !important; /* Red */
}

/* Responsive Menu */

button#rmp_menu_trigger-12 {
    cursor: pointer;
    right: 30px !important;
    top: 30px;
	transition: top 0.4s ease;
}

.scrolled button#rmp_menu_trigger-12 {
    top: 20px;
}

.scrolled #rmp-container-12 {
    padding-top: 20px;
}

#rmp-menu-wrap-12 .rmp-menu-item-link {
    letter-spacing: 0.1em !important;
    padding-right: 60px;
    text-transform: uppercase;
}

/* Ultimate Blocks Content Toggle */

.wp-block-ub-content-toggle {
    margin: 0 0 60px;
}

.wp-block-ub-content-toggle-accordion {
    margin: 0;
}

.wp-block-ub-content-toggle-accordion-title-wrap {
    margin: 0 0 10px;
}

.wp-block-ub-content-toggle-accordion-title {
    padding: 10px 10px 10px 0 !important;
}

.wp-block-ub-content-toggle-accordion-title:hover {
    color: #901636 !important; /* Red */
}

.wp-block-ub-content-toggle-accordion-content-wrap {
    padding: 0;
}

#suspension-installation .wp-block-ub-content-toggle-accordion-content-wrap p:last-of-type {
    margin: 0;
}

/* Google Reviews */

.wp-gr.wpac a.wp-google-name,
.wp-gr .wp-more-toggle {
    color: #fff !important;
    font-weight: 700 !important;
}

.wp-gr .grw-slider {
    padding-bottom: 0 !important;
}

.wp-gr .grw-slider .grw-slider-reviews {
    padding: 0 !important;
}



/* New Hero Slider */


.hero {
	position: relative;
	min-height: 100vh;
	min-height: 100svh;
	display: flex;
	align-items: center;
	justify-content: center;
	background-size: cover;
	background-position: center;
	text-align: center;
}
.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(51, 51, 51, 0.5);
}
.hero__inner {
	position: relative;
	padding: 0 16px;
}
.hero__logo {
	display: block;
	width: clamp(240px, 31vw, 400px);
	height: auto;
	margin: 0 auto 20px;
}
.hero .hero__tagline {
	margin: 0;
	color: #fff;
	font-family: eurostile, sans-serif !important;
    letter-spacing: normal;
	font-weight: 500;
	font-size: clamp(18px, 2.4vw, 30px);
	line-height: 1.2;
	text-transform: uppercase;
}
.hero__button {
	position: absolute;
	bottom: 60px;
	left: 50%;
	transform: translateX(-50%);
	background: #901636;
	color: #fff;
	font-family: eurostile-extended, sans-serif;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	padding: 6px 20px;
	text-decoration: none;
}
html { scroll-behavior: smooth; }
#content { scroll-margin-top: 60px; }