/*!
Theme Name: doubleAengraving
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.9
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: doubleaengraving
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

doubleAengraving is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
	margin: 0 !important;
	scroll-behavior: smooth;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
	scroll-behavior: smooth;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
	text-decoration: none;
	text-align: center;
	display: block;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-size: clamp(1.2rem, 1.1543rem + 0.2286vw, 1.4rem);
	line-height: 1.5rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
	/* margin-bottom: 1.5em; */
}

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

blockquote {
	margin: 0 1.5em;
}

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: #FEFEFE !important;
	font-size: 100%;
	font-size: clamp(1.2rem, 1.1543rem + 0.2286vw, 1.4rem);
	line-height: 1.5rem;
	font-family: "Luxurious Roman", serif;
	font-weight: 400;
	font-style: normal;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

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

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

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

figure {
	margin: 1em 0;
}

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

/* Links
--------------------------------------------- */


a:hover,
a:focus,
a:active {
	color: none;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	background-color: #353535;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1.2;
	border: none;
}

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: 2px solid black;
	border-radius: 8px;
	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%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
	display: block;
	width: 100%;
	position: relative;
}

.main-navigation ul {
	display: none;
	list-style: none;
	color: #fefefe;
	margin: 0;
	padding-left: 0;
	padding-top: 1.5rem;
	padding-bottom: 1.5rem;
}

@media screen and (min-width: 1030px) {
	.main-navigation ul {
		padding: 0;
	}

}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover>ul,
.main-navigation ul ul li.focus>ul {
	display: block;
	left: auto;
}

.main-navigation ul ul a {
	display: block;
	padding: 2rem;

}

.main-navigation ul li:hover>ul,
.main-navigation ul li.focus>ul {
	left: auto;
}

.main-navigation li {
	position: relative;
	font-family: "Arvo", serif;
	font-size: clamp(1.2rem, 1.1543rem + 0.2286vw, 1.4rem);
	line-height: 1.5rem;
	color: #fefefe;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 1030px) {

	.menu-toggle {
		display: none;
	}

	/* this is minor bug-fixing, if the header is open and screen reaches 768px, this
	 will make sure it still closes the header and displays horizontally */
	.main-navigation ul,
	.main-navigation.toggled ul {
		display: flex;
	}


}

.site-main.container{
	max-width: 1200px;
	margin: 0 auto;
}

.site-main.container a{
	display: inline;
}

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

.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
--------------------------------------------- */
.sticky {
	display: block;
}

.post,
.page {
	margin: 0em;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

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

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

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

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

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

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.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;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.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;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

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

.alignright {

	/*rtl:ignore*/
	float: right;

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

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




/* This CSS is written by Benisha */

.inner-container {
	padding: 0 1rem;
}

.form {
	font-size: clamp(1.2rem, 1.1543rem + 0.2286vw, 1.4rem) !important;
	line-height: 1.5rem !important;
}

.forminator-label {
	font-weight: bold !important;
	font-size: clamp(1.2rem, 1.1543rem + 0.2286vw, 1.4rem) !important;
}

.forminator-ui.forminator-custom-form[data-design=default] .forminator-textarea {
	border-radius: 10px !important;
	border-width: 2px !important;
}

.forminator-ui.forminator-custom-form[data-design=default] .forminator-input {
	border-radius: 7px !important;
	border-width: 2px !important;
}

/**stuff added by jerry because forminator was not being affected by CSS
unless i put !important. this is also styling for the labels adn such */
.forminator-radio {
	font-size: clamp(1.2rem, 1.1543rem + 0.2286vw, 1.4rem) !important;
}

.forminator-ui#forminator-module-167.forminator-design--default select.forminator-select2+.forminator-select .selection .select2-selection--single[role="combobox"] .select2-selection__rendered {
	font-size: clamp(1.2rem, 1.1543rem + 0.2286vw, 1.4rem) !important;
}
.forminator-select-dropdown-container--open .forminator-custom-form-167.forminator-dropdown--default .select2-results .select2-results__options .select2-results__option{
	font-size: clamp(1.2rem, 1.1543rem + 0.2286vw, 1.4rem) !important;

}

.forminator-required {
	color: #ef0808 !important;
}

.forminator-button {
	display: block !important;
	color: #FEFEFE !important;
	border-radius: 8px !important;
	/* padding: 0.75rem 1.2rem !important; */
	width: 75% !important;
	margin-top: 1.5rem !important;
	background-color: #9A0808 !important;
	font-size: clamp(1.2rem, 1.1543rem + 0.2286vw, 1.4rem) !important;
}

/* Typography */
h1 {
	font-family: "Arvo", serif;
	font-weight: 700;
	font-size: clamp(2.2rem, 2.1543rem + 0.2286vw, 2.4rem);
	margin: 0;
	margin-top: 3rem;
	line-height: 3rem;
}

h2 {
	font-family: "Arvo", serif;
	font-weight: 700;
	font-size: clamp(1.8rem, 1.7543rem + 0.2286vw, 2rem);
	line-height: 3rem;
}


h3 {
	font-size: clamp(1.125rem, 0.9523rem + 0.8636vw, 1.6rem);
	line-height: 3rem;
	text-align: center;
	margin: 0;

}

h4 {
	font-size: clamp(1.3rem, 1.2543rem + 0.2286vw, 1.5rem);
	line-height: 3rem;
}

p {
	font-size: clamp(1.2rem, 1.1543rem + 0.2286vw, 1.4rem);
	line-height: 1.5rem;
}

/* Header */

.header-bg-container {
	background-color: #353535;
	position: sticky;
	top: 0;
	z-index: 1;
	color: black;
}


.sticky-header {
	top: 0;
	z-index: 99;
	position: sticky;
	background-color: #353535;
}

.menu-headermenu-container {
	background-color: #353535;
}

@keyframes slideInFromTop {
	0% {
		transform: translateY(-100%);
	}

	100% {
		transform: translateY(0);
	}
}

.main-navigation.toggled .menu-headermenu-container {
	position: absolute;
	top: 0;
	left: 0;
	animation: slideInFromTop 0.5s ease-out forwards;
	transform: translateY(-100%);
	width: 100%;
	padding-top: 50px;

}


.mobile-menu-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0.5rem 1rem;
}

.site-branding img {
	width: 3.5rem;
}

.button svg {
	fill: white;
}

/* Footer */
.footer-bg-container {
	background-color: #353535;
}

.footer-container {
	color: white;
	margin: 0 auto;
	padding: 1rem;
	margin-top: 3rem;
	max-width: 1200px;
	/*added by jerry because the previous max-width caused the footer to have a margin-bottom of 4.5rem */
}



.copyright-development a{
	display: inline;
	color: lightyellow !important

}

.copyright-development a:hover{
	color: yellow !important;
}

.inline a{
	display: inline;
}

.footer-container a{
	color: white;
	text-align: left;
	text-decoration: none;
}

.social-icons {
	display: flex;
	align-items: center;
	gap: 1.5rem;
}

.social-icons svg {
	fill: white;
	width: 2.5rem;
}

/* Landing Page */
/* Banner Area */
.banner-area {
	margin-bottom: 3rem;
}

.banner-container {
	padding: 0 1rem;
	background-color: rgba(0, 0, 0, 0.445);
	background-image: url("imgs/engravingbanner850px.webp");
	background-blend-mode: multiply;
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
	padding-top: 3rem;
	padding-bottom: 3rem;


}

@media screen and (min-width: 850px) {
	.banner-container {
		background-image: url("imgs/engravingerbanner1400px.webp");

	}

	.banner-content {
		padding-top: 3rem;
	}

}

.banner-container h1 {
	color: #FEFEFE;
	margin-top: 0;
	margin-bottom: 1.5rem;
}

.banner-container p {
	color: #FEFEFE;
	margin-bottom: 1.5rem;
}

.banner-area img {
	max-width: 100vw;
}

.call-to-action {
	color: #353535;
	background-color: #fefefe;
	border-radius: 8px;
	padding: 0.75rem 1.2rem;
	width: 75%;
	margin-top: 1.5rem;
}

/* Catalog Section */
.catalog-container {
	padding: 0 1rem;
	margin-bottom: 3rem;
}

.catalog-container .catalog-flex-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-evenly;
	gap: 1rem;
}

.catalog-container .category-card {
	flex: 1 0 46%;
	margin-bottom: 20px;
	box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;
}

.category-image img,
.category-thumb {
	width: 100%;
	display: block;
}

.category-image a {
	display: block;
	margin: 0;
	padding: 0;
}

.category-name {
	background-color: #353535;
	margin-bottom: 0;
}

.category-name a {
	text-decoration: none;
	color: #fefefe;
}

.view-catalog-button {
	color: #FEFEFE;
	background-color: #9A0808;
	border-radius: 8px;
	padding: 0.75rem 1.2rem;
	width: 75%;
}

/* Testimonials Section */
.testimonials-container {
	padding: 0 1rem;
	margin-bottom: 3rem;
}

.view-testimonials-button {
	color: #FEFEFE;
	background-color: #9A0808;
	border-radius: 8px;
	padding: 0.75rem 1.2rem;
	width: 75%;
}

/* About me Section */

.about-me-section {
	padding: 0 1rem;
	margin-bottom: 3rem;
	display: flex;
	flex-direction: column;
}

.allan-anderson-pic-container img {
	border-radius: 60%;
	flex: 1 0 50%;
	margin: 0 auto;
	margin-top: 1.5rem;
}

.about-me-button {
	color: #FEFEFE;
	background-color: #9A0808;
	border-radius: 8px;
	padding: 0.75rem 1.2rem;
	width: 75%;
}

/* Location Section */
.location-container {
	padding: 0 1rem;
	margin-bottom: 3rem;
}


/* Tagline Section */
.tagline-container {
	padding: 0 1rem;
	margin: 0 auto;
}

.tagline-paragraph {
	font-family: "Calligraffitti", cursive;
	font-weight: 700;
	font-size: clamp(1.6rem, 1.5543rem + 0.2286vw, 1.8rem);
	line-height: 3rem;
	font-style: normal;
}

.tagline-button {
	display: block;
	color: #FEFEFE;
	background-color: #9A0808;
	border-radius: 8px;
	padding: 0.75rem 1.2rem;
	width: 75%;
}


/* Write a Review Page */
.write-a-review-content p {
	margin-top: 0;
	margin-bottom: 0;
}

.review-form {
	margin-top: 1.5rem;
}

.glsr-default form.glsr-form label.glsr-label {
	font-size: clamp(1.2rem, 1.1543rem + 0.2286vw, 1.4rem) !important;
	line-height: 1.5rem !important;
	font-weight: bold !important;
	margin-bottom: 0.75rem !important;
}

.glsr-default .glsr-field {
	margin-bottom: 1.5rem;
}

.glsr-default button.glsr-button {
	margin-bottom: 1.5rem;
	display: block;
	color: #FEFEFE;
	background-color: #9A0808;
	border-radius: 8px;
	padding: 0.75rem 1.2rem;
	width: 100%;
}

.glsr-default form.glsr-form textarea.glsr-textarea {
	border-radius: 10px !important;
	border-width: 2px !important;
}

.glsr-default form.glsr-form input.glsr-input {
	border-radius: 7px !important;
	border-width: 2px !important;
}

/* Single Product Page */

/*renamed -produt to product-card for clarity: jerry */
.product-card {
	box-shadow: 0 4px 7px rgba(0, 0, 0, 0.3);
	border-radius: 8px;
	margin-bottom: 3rem;
}

.product-content h1 {
	margin-bottom: 1.5rem;
}

.product-content h2 {
	margin-top: 0;
	padding: 0 1rem;
}

.product-content p {
	padding: 0 1rem;
	margin-top: 0;
	margin-bottom: 0;
	padding-bottom: 1.5rem;
}

.product-content img {
	margin-bottom: 1.5rem;
}

.request-button {
	margin-top: 1.5rem;
}

.write-review-button,
.back-home-button {
	margin-top: 1.5rem;
}


.request-button a,
.catalog-button a,
.make-a-request-btn,
.write-review-button,
.back-home-button {
	margin-bottom: 1.5rem;
	display: block;
	color: #FEFEFE;
	background-color: #9A0808;
	border-radius: 8px;
	padding: 0.75rem 1.2rem;
	width: 100%;
}

/* Testimonials */
.inner-container {
	padding: 0 1rem;
}

.glsr-reviews,
.glsr-reviews-wrap {
	display: flex !important;
	flex-direction: column;
	justify-content: stretch;
	/* align-items: start; commented out for now, makes short-reviews not fit the container and it doesnt look ideal */
	gap: 1.5rem !important;
	margin-bottom: 1.5rem;
}

.glsr-review {
	margin-top: 1.5rem;
	padding-top: 2rem;
	padding-bottom: 2rem;
	/* display: flex;
	flex-direction: column;
	- commented out by jerry, necessary for rating & name to be on same line 
	 */
}

/* This container is relative used for positioning the decor on top of the testimonials content*/
/* .content-testimonials{
	position: relative;
    width: 100%;
	 - commented out by jerry, not used
} */

/* This is the container for the decor itself and it is used as a background image and positioned absolute. */
.testimonials-decor .glsr-review::before {
	content: "";
	position: absolute;
	top: -20px;
	/* Adjust the top position as needed */
	left: 0;
	width: 100%;
	height: 100px;
	background-image: url('imgs/testimonial-decor.svg');
	background-size: 2rem;
	background-repeat: no-repeat;
	background-position: center top;
	z-index: 0;
}

.page-numbers.current,
.page-numbers {
	display: none;
}

.page-numbers.next,
.page-numbers.prev {
	display: block;
	background-color: #666;
	color: #fefefe;
	border-radius: 8px;
	padding: 0.75rem 1.2rem;
	width: 100%;
	margin-bottom: 2rem;
}

.category-pages{
	width: 100%;
}

.category-pages .nav-links{
	display: block;
	background-color: #666;
	color: #fefefe;
	border-radius: 8px;
	padding: 0.75rem 1.2rem;
	width: 100%;
	margin-bottom: 2rem;
}

.nav-links a{
	color: white;
}

.nav-links a:visited{
	color: white;
}

.nav-links{
	display: flex;
	gap: 10px;
}

.glsr-default .glsr-review-author {
	font-style: italic;
	margin-top: auto;
	align-self: flex-end;
}

/* About Me Page */
.about-flex-container {
	display: flex;
	flex-direction: column;

}

.about-flex-container img {
	border-radius: 60%;
	margin: 0 auto;
	margin-top: 1.5rem;
}

/* Specific Category Page */

.product-flex-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	gap: 1rem;
	margin-top: 1.5rem;
}

.product-flex-container .product-card {
	flex: 0 0 46%;
	box-shadow: 0 4px 7px rgba(0, 0, 0, 0.3);
	border-radius: 8px;
	margin-bottom: 1.5rem;
}

.product-flex-container .product-image img {
	flex: 1 0 100%;
	border-top-left-radius: 8px;
	border-top-right-radius: 8px;
}

.product-flex-container .product-title p {
	font-size: clamp(1.3rem, 1.2636rem + 0.1818vw, 1.4rem);
	line-height: 1.5rem;
	font-weight: bold;
	text-align: center;
	margin: 0;
	padding-top: 1.5rem;
	padding-left: 1rem;
	padding-right: 1rem;
	margin-bottom: 1.5rem;
}

/* Contact Information Page */
.contact-info {
	margin-bottom: 1.5rem;
}

/* Catalog Page */
.swiper-wrapper {
	z-index: 0;
}

.catalog-carousel {
	margin-top: 3rem;
}

.catalog-content h1 {
	padding: 0 1rem;
}

.catalog-content p {
	margin-top: 0;
}

.catalog-content .catalog-flex-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	gap: 1rem;
	margin-left: 0.35rem;
}

.catalog-content .category-card {
	flex: 0 0 47%;
}

.contact-flex .location-card-link{
	height: 3px;
}

.location-card-link {
	background-color: #F2F2F2;
	border-radius: 20px;
	width: 80%;
	max-width: 360px;
	min-height: 290px;
	position: relative;
	text-decoration: none;
	box-shadow: 0 4px 7px rgba(0, 0, 0, 0.3);
    	transition: transform 0.3s ease; /* Add this line */
}

.location-card-link:hover {
    transform: scale(1.05); /* Add this line */
}

.location-card {
	text-decoration: none;
	color: black;
	margin-top: 3rem;
}

.map-icon {
	height: 60px;
	width: auto;
	position: absolute;
	top: -20px;
	right: -20px;
	z-index: 0;
}

.location-card-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 2rem;
}
.wpcp-carousel-content-wrapper{
	max-width: 1120px
}

/* - changed min-width to 780px for tablets, i think its better at this view - jerry */
@media screen and (min-width: 780px) {

	/* Landing Page */

	/* Catalog Section */
	.catalog-container .category-card {
		flex: 0 0 23%;
	}

	/* About Me Section */
	.about-me-flex-container {
		display: flex;
		gap: 1rem;
		justify-content: space-evenly;
	}

	.allan-anderson-pic-container img {
		flex: 1 0 75%;
	}

	.about-me-content {
		flex: 1 0 50%;
	}

	.about-me-button {
		width: 66%;
	}


	/* Products Page */

	.make-a-request-btn {
		width: 33%;
	}

	.category-pages .nav-links{
		width: 33%;
	}

	.product-flex-container .product-card {
		flex: 0 0 22%;
	}

	.specific-product-archive .category-description {
		padding-right: 30%;
	}

	/* Catalog Page */

	.catalog-content {
		margin-top: 3rem;
	}

	.catalog-content .category-card {
		flex: 0 0 30%;
	}

	.call-to-action,
	.view-catalog-button,
	.view-testimonials-button,
	.tagline-button {
		width: 33%;
	}

	.forminator-button{
		width: 33% !important;
	}
}

@media screen and (min-width: 860px) {
	/* Landing Page */

	/* Location Section */
	.location-container {
	/*	display: flex;
		justify-content: space-evenly;
		gap: 1rem; */
	}

	.location-card-container {
		justify-content: start;
	}

	

	.location {
		max-width: 50%;
		margin-top: 3rem;
	}

	.contact-flex .location-card-container{
	justify-content: start;
   	 flex: 1 0 35%;
    	order: 2;
    	margin-left: 3rem;

	}

	.page-numbers.next,
	.page-numbers.prev {
		width: 33%;
	}



}

@media screen and (min-width: 1200px) {

	/* Landing Page */
	.banner-content,
	.catalog-container,
	.testimonials-container,
	.about-me-section,
	.location-container,
	.tagline-container,
	.catalog-content .catalog-carousel,
	.catalog-content .inner-container,
	.specific-product-archive .inner-container,
	.catalog-content h1 {
		max-width: 1200px;
		margin: 0 auto;
		margin-bottom: 4.5rem;
	}

	.catalog-content h1 {
		margin-bottom: 2rem;
	}

	.catalog-container .catalog-flex-container {
		flex-wrap: nowrap;
		justify-content: space-evenly;
		align-items: center;
	}

	.catalog-container .category-card {
		flex: 0 0 23%;
	}

	.tagline-container {
		text-align: center;
		margin-top: 0;
	}

	.tagline-button {
		margin: 0 auto;
	}

	.location-container {
		margin-bottom: 0;
	}

	/* Custom Request Page */
	.custom-request-content {
		max-width: 1200px;
		margin: 0 auto;
	}

	.custom-request-flex-container {
		display: flex;
		gap: 1rem;
		justify-content: space-evenly;
		align-items: start;
	}

	.custom-request-flex-container section {
		flex: 1 0 48%;
	}

	.custom-request-flex-container section:nth-child(2) {
		margin-top: 1.5rem;
	}

	/* Catalog Page */

	.catalog-content .catalog-flex-container {
		flex-wrap: wrap;
		justify-content: unset;
	}

	.catalog-content .category-card {
		flex: 0 0 22%;
	}

}




/** CSS written by Jerry */

/*temporary max-width wrapper for my pages, we could use this for all pages
but i'll leave it for now until we discuss it*/
.temp-wrapper {
	max-width: 1200px;
	margin: 0 auto;
}

/*back to top button*/

.top {
	margin-top: 1rem;
	color: white;
	text-decoration: none;
	text-align: left;
}

.category-card,
.specific-product-archive .product-card {
	transition: transform 0.3s ease-in-out;
  }
  
  .category-card:hover,
  .specific-product-archive 	.product-card:hover {
	transform: scale(1.1);
  }


.top:before {

	transform: translateY(20%) rotate(-45deg);

}

/* end of back to top button */


/* 404 margin */
.err-content {
	margin-bottom: 10rem;

}

/* end of 404 margin */

#reviews .page-numbers .next {
	display: none;
}

/*for hoverstate of all buttons on pages */
.view-catalog-button:hover,
.about-me-button:hover,
.make-a-request-btn:hover,
.view-testimonials-button:hover,
.about-me-button:hover,
.tagline-button:hover,
.write-review-button:hover,
.back-home-button:hover,
.catalog-button a:hover,
.request-button a:hover,
.forminator-button:hover,
.glsr-default button.glsr-button:hover{
	background-color: #ca0400 !important;
}


/* START of testimonial card related css  */

/* .glsr-reviews,
.glsr-reviews-wrap {
   display: flex !important;
   flex-wrap: nowrap;
   flex-direction: column;
   -- not used, deletable
} */


/* testimonials decoration container basically, so quote icon is placed correctly*/
.testimonials-decor .glsr-review {
	background-color: #F2F2F2;
	box-shadow: 0 4px 7px rgba(0, 0, 0, 0.3);
	border-radius: 8px;
	padding: 1rem;
	position: relative;
}

/* this puts space between the star rating & author */
.glsr-default .glsr-review {
	justify-content: space-between;
	align-content: center;
}

/* add a dash to author name */
.glsr-review-author::before {
	content: "— ";
}

/*adds padding to the review content, use this for spacing the content from the card itself */
.glsr-review-content {
	padding: 1rem;
}

@media screen and (min-width: 960px) {

	/* if you want to make this target all reviews, remove .testimonials-section 
	from all the code here. then the landing page and testimonials will have the same
	layout at desktop view. */
	.glsr-reviews {
		flex-direction: row;


	}

	/* this flex makes the cards stay the same size regardless of content
	31% is needed to fit without making the user scroll */
	.glsr-review {
		flex: 1 0 31%;
	}

	/* this flex forces the star rating and author to be on same line regardless
	of size */
	.glsr-review-rating,
	.glsr-review-author {
		flex: 1 0 41%;


	}

	.glsr-review-content {
		flex: 1 0 100%;
		margin-bottom: 20px;
	}

	.flex-btn-container {
		display: flex;
	}

	.flex-btn-container .write-review-button,
	.back-home-button {
		width: 33%;
		text-align: center;
		margin-right: 10px;
		text-decoration: none;

	}


}


/* END of testimonials related css */

/* START of about me section related CSS */

@media screen and (min-width: 860px) {

	/* media query for when the page will go desktop view */
	.about-flex-container {
		flex-direction: row-reverse;
		align-items: center;
	}


}

/** END of about me section related CSS */

/* START of contact info page related CSS */

.location {
	max-width: 800px;

	height: 100%;
}



@media screen and (min-width: 860px) {

	/* media query for when the page will go desktop view */

	.contact-flex {
		display: flex;
		flex-wrap: wrap;
	}

	.contact-info {
		flex: 1 0 100%;
	}

	.contact-form {
		flex: 0 1 51%;
	}

	.location {
		/* flex: 1 1 20%;
		margin-left: 2rem;
		order: 2;
		height: 600px; */
	}
}

/* END of contact info page related CSS */

/* START of product details related CSS */

/* this is to force small/uneven ratios to be square */	
.category-image img{
	aspect-ratio: 1/1 !important;
}

/*provides some spacing on the h1 inside product details. this is because
i had to take the h1 outside of the section to make the flexbox work */
.single-product-entry h1 {

	margin-bottom: 1rem;
}

.single-product-entry .product-card {
	flex: 1 0 50%;
}

.product-content .request-button {
	width: 77%;

}

.product-content .catalog-button {
	width: 77%;
}

.single-product-entry .product-description {}

@media screen and (min-width: 760px) {

	/* media query for when the page will go desktop view */
	.single-product-entry .product-content {
		display: flex;
		flex-wrap: wrap;
	}

	.single-product-entry h1 {
		flex: 1 0 100%;
	}

	.single-product-entry>.product-card {
		flex: 1 1 50%;
	}

	.product-description {
		flex: 1 0 50%;
		padding-left: 4rem;
	}

}

/** END of product details related CSS */



/** START of Write a review related CSS */



.write-a-review-main .glsr-default button.glsr-button {
	width: 77%;
	display: block !important;

}

@media screen and (min-width: 768px) {
	.write-a-review-main {
		display: flex;


	}


}

/** END of write a review related CSS */



/* for some reason on my own page, the link text is not white so i need to manually change it with this CSS
ignore otherwise */
header a {
	color: white;
	text-align: left;
}

a:visited {
	color: none;
}




/* nav menu */


/* commented since wasn't suppose to be what i work on */
.nav-menu a {

	padding: 1rem 1rem;

}

@media screen and (min-width: 1030px) {

	/* commented for now since i wasnt suppose to work on this
	this is desktop nav menu, implements spacing, alignment, and max-width  */
	.main-navigation {
		display: flex;
		justify-content: space-between;
		align-items: center;
		height: 90px;
		max-width: 1200px;
		margin: 0 auto;
		flex-direction: row-reverse;
	}
}

/* end of nav menu section */
