/*
Theme Name: Headrick Signs and Graphics
Theme URI: https://headricks.com
Author: Headrick Signs and Graphics
Description: Custom theme matching the Headrick Signs and Graphics website. Black and gold layout with project galleries, videos, and testimonials.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
Text Domain: headrick
*/

@font-face {
	font-family: "Charlesworth";
	src: url("fonts/charlesworth.woff2") format("woff2"),
		url("fonts/charlesworth.woff") format("woff"),
		url("fonts/charlesworth.ttf") format("truetype");
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

html,
body {
	margin: 0;
	padding: 0;
	background-color: #000000;
	font-family: Arial, Helvetica, sans-serif;
	color: #ffffff;
}

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

a {
	text-decoration: none;
}

.skip-link {
	position: absolute;
	left: -999px;
	top: 0;
	background: #c4a23f;
	color: #000000;
	padding: 8px 12px;
	z-index: 10000;
}

.skip-link:focus {
	left: 8px;
	top: 8px;
}

#main_content {
	max-width: 1200px;
	margin: 0 auto;
	box-sizing: border-box;
	color: #ffffff;
}

#main_content h1,
.hsg-text-highlight,
.hsg-category-title,
.hsg-category-sub-title,
.contact-information-block-header,
.testimonial-title,
.video-title {
	font-family: "Charlesworth", Arial, sans-serif;
	font-weight: normal;
}

#main_content h1 {
	color: #c4a23f;
}

.node {
	color: #ffffff;
	text-align: justify;
	font-size: 18px;
	line-height: 1.5;
}

.hsg-text-highlight {
	color: #c4a23f;
}

#anniversary_logo {
	padding: 15px 0 25px;
}

#anniversary_logo img {
	display: block;
	margin: auto;
	max-width: 450px;
	width: 100%;
	height: auto;
}

/* Header */
#header_wrapper {
	margin-top: 25px;
}

#header {
	max-width: 1200px;
	margin: 0 auto;
	box-sizing: border-box;
}

#header h1 {
	margin: 0;
	padding: 0;
	font-weight: normal;
}

#logo img {
	display: block;
	width: 100%;
	max-width: 500px;
	margin: 0 auto;
	padding: 0 15px;
	box-sizing: border-box;
	height: auto;
}

#main_menu_toggle {
	display: none;
	background-color: #c4a23f;
	color: #000000;
	cursor: pointer;
	max-width: 75%;
	width: 100%;
	margin: 25px auto 0;
	box-sizing: border-box;
	font-size: 20px;
	font-family: Arial, Helvetica, sans-serif;
	overflow: hidden;
	border: 1px solid #b37f42;
	font-weight: 300;
	text-align: left;
	appearance: none;
}

#main_menu_toggle_text {
	float: left;
	box-sizing: border-box;
	padding: 10px 15px;
}

#main_menu_toggle_icon {
	float: right;
	box-sizing: border-box;
	border-left: 1px solid #b37f42;
	padding: 10px 15px;
}

#main_menu ul {
	list-style: none;
	margin: 0;
	padding: 30px 0 10px;
	text-align: center;
}

#main_menu ul li {
	list-style: none;
	margin: 0;
	padding: 0 30px;
	display: inline-block;
}

#main_menu ul li a {
	color: #ffffff;
	font-size: 20px;
	font-weight: normal;
	font-family: "Charlesworth", Arial, sans-serif;
	transition: all .2s ease;
}

#main_menu ul li a:hover {
	color: #c4a23f;
}

/* Homepage categories */
#hsg_categories_wrapper {
	margin-top: 15px;
}

#hsg_categories {
	clear: both;
	overflow: hidden;
	display: table;
	width: 100%;
	border-collapse: separate;
	border-spacing: 10px;
	box-sizing: border-box;
}

.hsg-category {
	display: table-cell;
	width: 25%;
	vertical-align: top;
	box-sizing: border-box;
	background-color: #1a1a1a;
	border: 1px solid #525252;
}

.hsg-category-slider ul {
	list-style: none;
	margin: 0;
	padding: 0 0 80%;
	position: relative;
	overflow: hidden;
}

.hsg-category-slider ul li {
	list-style: none;
	margin: 0;
	padding: 0;
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
}

.hsg-category-slider ul li img {
	width: 100%;
	height: auto;
	display: none;
	border-bottom: 1px solid #525252;
}

.hsg-category-slider ul li.is-active img {
	display: block;
}

.hsg-category-title {
	font-size: 24px;
	color: #c4a23f;
	text-align: center;
	padding-top: 8px;
}

.hsg-category-sub-title {
	font-size: 16px;
	color: #c4a23f;
	text-align: center;
	padding-bottom: 10px;
	border-bottom: 1px solid #525252;
}

.hsg-sub-categories {
	padding: 3%;
	border-bottom: 1px solid #525252;
}

.hsg-sub-categories ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.hsg-sub-categories ul li {
	list-style: none;
	padding: 0;
	margin: 0;
}

.hsg-sub-categories ul li a {
	color: #c4a23f;
	transition: all .2s ease;
	font-size: 18px;
}

.hsg-sub-categories ul li a:hover {
	color: #debb54;
}

.hsg-sub-category-space a {
	cursor: default;
}

.hsg-description {
	font-size: 14px;
	padding: 25px 3%;
	text-align: justify;
	color: #ffffff;
	line-height: 1.45;
}

/* Galleries */
#gallery_return_link {
	display: block;
	color: #ffffff;
	margin: 25px 0 15px;
	padding-left: 15px;
	padding-bottom: 20px;
	transition: all .2s linear;
	text-decoration: underline;
}

#gallery_return_link:hover {
	color: #c4a23f;
}

.gallery-slider {
	position: relative;
	min-height: 500px;
	margin-top: 10px;
}

.gallery-slider ul {
	list-style: none;
	margin: 0;
	padding: 0;
	width: 100%;
	min-height: 500px;
	position: relative;
	box-sizing: border-box;
}

.gallery-slider ul li {
	position: absolute;
	list-style: none;
	margin: 0;
	padding: 0;
	width: 100%;
	text-align: center;
	top: 0;
	left: 0;
}

.gallery-slider ul li img {
	display: none;
	width: auto;
	height: auto;
	max-height: 500px;
	max-width: 100%;
	box-sizing: border-box;
	margin: 0 auto;
	border: 5px solid #ffffff;
}

.gallery-slider ul li.is-active img {
	display: inline-block;
}

.gallery-nav {
	width: 50px;
	height: 54px;
	text-align: center;
	color: #000000;
	font-size: 28px;
	line-height: 54px;
	position: absolute;
	background-color: rgba(255, 255, 255, .8);
	top: calc(50% - 27px);
	cursor: pointer;
	border: 0;
	padding: 0;
	z-index: 2;
	font-family: Arial, sans-serif;
}

.gallery-nav.prev {
	left: 15px;
}

.gallery-nav.next {
	right: 15px;
}

.gallery-grid {
	clear: both;
	overflow: hidden;
	list-style: none;
	margin: 0;
	padding: 0;
}

.gallery-grid li {
	float: left;
	width: 25%;
	margin: 0;
	list-style: none;
	box-sizing: border-box;
	padding-left: 1%;
	padding-right: 1%;
	padding-bottom: 15px;
}

.gallery-grid .photo-id {
	color: #ffffff;
	font-size: 16px;
	margin: 0 0 4px;
}

.gallery-grid img {
	width: 100%;
	height: auto;
	cursor: pointer;
	border: 5px solid #ffffff;
	box-sizing: border-box;
	display: block;
}

.gallery-empty {
	color: #ffffff;
	font-size: 18px;
	padding: 10px 15px 30px;
}

#gallery_background_overlay {
	background-color: #000000;
	opacity: .8;
	width: 100%;
	height: 100%;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 9998;
	cursor: pointer;
	display: none;
}

#gallery_light_box {
	background-color: #ffffff;
	position: fixed;
	z-index: 9999;
	box-sizing: border-box;
	display: none;
	max-width: 94vw;
}

#gallery_light_box .caption {
	overflow: hidden;
	clear: both;
	padding: 10px 10px 0;
	font-size: 22px;
	background-color: #ebebeb;
	color: #222222;
	font-family: Arial, Helvetica, sans-serif;
}

#gallery_light_box .caption-title {
	float: left;
	max-width: 85%;
}

#gallery_light_box .caption-exit {
	float: right;
	color: #ba3030;
	cursor: pointer;
	background: none;
	border: 0;
	font-size: 22px;
	line-height: 1;
	padding: 0 4px;
}

#gallery_light_box .caption-exit:hover {
	color: #cf4040;
}

#gallery_light_box img {
	display: block;
	max-height: 78vh;
	max-width: 92vw;
	width: auto;
	height: auto;
	border: 10px solid #ebebeb;
	box-sizing: border-box;
}

/* Testimonials */
.testimonial-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.testimonial-list li {
	list-style: none;
	margin: 0 0 75px;
	padding: 0 5%;
	box-sizing: border-box;
	clear: both;
	overflow: hidden;
}

.testimonial-title {
	font-size: 22px;
	color: #c4a23f;
	text-align: left;
}

.testimonial-quote {
	color: #ffffff;
	text-align: justify;
	font-size: 18px;
	line-height: 1.5;
}

.testimonial-photo {
	float: right;
	margin-left: 25px;
	margin-bottom: 10px;
}

.testimonial-photo img {
	max-width: 400px;
	max-height: 300px;
	width: auto;
	height: auto;
	display: block;
}

/* Videos */
.video-list {
	list-style: none;
	margin: 0;
	padding: 0;
	overflow: hidden;
}

.video-list li {
	list-style: none;
	margin: 1%;
	padding: 15px;
	box-sizing: border-box;
	width: 31.33%;
	float: left;
	background-color: #141414;
	overflow: hidden;
}

.video-list li:nth-child(3n + 1) {
	clear: left;
}

.video-title {
	font-size: 16px;
	color: #c4a23f;
	padding-bottom: 15px;
	text-align: center;
}

.embed-container {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
	max-width: 100%;
}

.embed-container iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* About and contact */
#about_us_photo {
	float: right;
	max-width: 250px;
	margin-top: 8px;
	margin-left: 15px;
	margin-bottom: 10px;
	border: 5px solid #ffffff;
	transition: all .2s ease;
	transform: scale(1);
	display: block;
	box-sizing: border-box;
}

#about_us_photo:hover {
	transform: scale(1.1);
}

#staff_photo {
	display: block;
	margin: 0 auto;
	border: 5px solid #ffffff;
	box-sizing: border-box;
	max-width: 100%;
	height: auto;
}

#contact_information_wrapper {
	margin-top: 50px;
	margin-bottom: 100px;
}

#contact_information {
	max-width: 1200px;
	border-top: 5px solid #c4a23f;
	padding-top: 15px;
	color: #ffffff;
	clear: both;
	overflow: hidden;
}

#contact_information .contact-information-block {
	float: left;
	width: 20%;
	box-sizing: border-box;
	padding-right: 10px;
	line-height: 1.45;
}

.contact-information-block-header {
	color: #c4a23f;
	font-weight: bold;
}

#contact_information .contact-information-block a {
	color: #c4a23f;
	transition: all .2s ease;
}

#contact_information .contact-information-block a:hover {
	color: #debb54;
}

.hsg-form {
	margin-bottom: 40px;
}

.hsg-form label {
	display: block;
	font-size: 20px;
	color: #e7e7e7;
	margin: 14px 0 6px;
}

.hsg-form .required {
	color: #cc2727;
}

.hsg-form input[type="text"],
.hsg-form input[type="email"],
.hsg-form input[type="tel"],
.hsg-form textarea {
	border: 2px solid #c4a23f;
	background-color: #525252;
	color: #ffffff;
	font-size: 22px;
	padding: 5px;
	outline: none;
	box-sizing: border-box;
	width: 100%;
	max-width: 640px;
	font-family: Arial, Helvetica, sans-serif;
}

.hsg-form textarea {
	min-height: 140px;
}

.hsg-form fieldset {
	border: 1px solid #525252;
	margin: 20px 0;
	padding: 10px 15px 15px;
	max-width: 640px;
	box-sizing: border-box;
}

.hsg-form legend {
	font-size: 20px;
	color: #e7e7e7;
	padding: 0 6px;
}

.hsg-form .description {
	font-size: 16px;
	color: #e7e7e7;
	margin-top: 6px;
}

.hsg-form button,
.hsg-form input[type="submit"] {
	background-color: #c4a23f;
	color: #000000;
	cursor: pointer;
	font-size: 20px;
	margin-top: 8px;
	padding: 10px 0;
	min-width: 175px;
	transition: .2s all ease;
	border: none;
	font-family: Arial, Helvetica, sans-serif;
}

.hsg-form button:hover,
.hsg-form input[type="submit"]:hover {
	background-color: #debb54;
}

.hsg-form-note {
	font-size: 18px;
	padding: 12px 14px;
	margin: 0 0 20px;
	max-width: 640px;
	box-sizing: border-box;
}

.hsg-form-note.success {
	background: #1a1a1a;
	border: 1px solid #c4a23f;
	color: #ffffff;
}

.hsg-form-note.error {
	background: #3a1515;
	border: 1px solid #cc2727;
	color: #ffffff;
}

.hsg-hp {
	position: absolute;
	left: -9999px;
	height: 0;
	overflow: hidden;
}

/* Footer */
#footer_wrapper {
	margin-top: 50px;
	background-color: #1a1a1a;
	border-top: 10px solid #c4a23f;
	padding-top: 15px;
}

#footer {
	max-width: 1180px;
	margin: 0 auto;
	clear: both;
	overflow: hidden;
	box-sizing: border-box;
}

#logo_mini img {
	display: block;
	margin: 0 auto;
	width: auto;
	max-width: 300px;
	height: auto;
}

#footer_brochures ul {
	list-style: none;
	padding: 0;
	margin: 25px 0 0;
	clear: both;
	text-align: center;
}

#footer_brochures ul li {
	list-style: none;
	padding: 0 10px;
	margin: 0;
	display: inline-block;
	text-align: center;
	vertical-align: top;
}

#footer_brochures ul li a {
	color: #ffffff;
	display: block;
	font-size: 16px;
}

#footer_brochures ul li a:hover {
	text-decoration: underline;
}

#footer_brochures ul li img {
	display: block;
	transition: all .2s ease;
	transform: scale(1);
	width: auto;
	max-width: none;
	height: auto;
}

#footer_brochures ul li a:hover img {
	transform: scale(1.1);
}

#footer_brochures ul li span {
	display: block;
	padding-top: 10px;
}

#footer_contact_information {
	color: #ffffff;
	text-align: center;
	padding-top: 25px;
	line-height: 1.5;
}

#footer_contact_information a {
	color: #c4a23f;
	transition: all .2s ease;
}

#footer_contact_information a:hover {
	color: #debb54;
}

#footer_affiliates ul {
	list-style: none;
	margin: 25px 0 0;
	padding: 0;
	overflow: hidden;
	text-align: center;
}

#footer_affiliates ul li {
	list-style: none;
	margin: 0 auto 5px;
	padding: 0 10px;
	overflow: hidden;
	box-sizing: border-box;
	display: inline-block;
	text-align: center;
	border-right: 1px solid #ffffff;
}

#footer_affiliates ul li:last-child {
	border-right: none;
}

#footer_affiliates ul li a {
	color: #ffffff;
	font-size: 12px;
}

#footer_affiliates ul li a:hover {
	text-decoration: underline;
}

#copyright_wrapper {
	padding: 25px 15px;
}

#copyright {
	max-width: 1200px;
	margin: 0 auto;
	text-align: center;
	font-style: italic;
	color: #ffffff;
}

@media only screen and (max-width: 1024px) {
	#main_content {
		padding: 15px;
	}

	#main_content h1 {
		font-size: 24px;
	}

	.node,
	.testimonial-quote {
		font-size: 16px;
	}

	#main_menu_toggle {
		display: block;
	}

	#main_menu {
		display: none;
		max-width: 75%;
		box-sizing: border-box;
		margin: 0 auto;
	}

	#main_menu.is-open {
		display: block;
	}

	#main_menu ul {
		padding: 0 0 10px;
	}

	#main_menu ul li {
		display: block;
		padding: 0;
	}

	#main_menu ul li a {
		font-size: 18px;
		display: block;
		width: 100%;
		margin: 0 auto;
		color: #000000;
		background-color: #c4a23f;
		box-sizing: border-box;
		padding: 10px 0;
		border-top: 1px solid #cfbe4b;
		border-bottom: 1px solid #b37f42;
	}

	#main_menu ul li a:hover {
		color: #000000;
		background-color: #cfbe4b;
	}

	#hsg_categories {
		display: block;
	}

	.hsg-category {
		display: block;
		width: 100%;
		margin-bottom: 15px;
	}

	.hsg-sub-categories {
		text-align: center;
	}

	.gallery-grid li {
		width: 50%;
	}

	.testimonial-list li {
		padding: 0;
	}

	.testimonial-photo {
		float: none;
		margin-left: 0;
		width: 100%;
	}

	.testimonial-photo img {
		max-width: 100%;
		max-height: none;
		width: 100%;
		margin: 0 auto 10px;
	}

	.video-list li {
		margin: 0 0 25px;
		width: 100%;
		float: none;
	}

	.video-title {
		font-size: 14px;
	}

	#about_us_photo {
		float: none;
		max-width: 100%;
		margin: 10px auto;
		transition: none;
	}

	#about_us_photo:hover {
		transform: none;
	}

	#contact_information_wrapper {
		margin-bottom: 0;
	}

	#contact_information .contact-information-block {
		float: none;
		width: 100%;
		padding-bottom: 15px;
	}

	#footer {
		padding: 15px;
	}

	#logo_mini img {
		width: 100%;
		max-width: 500px;
	}

	#footer_brochures ul li {
		padding: 0 10px 15px;
	}

	#footer_affiliates ul li {
		display: block;
		border-right: none;
	}

	#footer_affiliates ul li a {
		font-size: 15px;
	}

	#copyright {
		font-size: 12px;
	}
}

@media only screen and (min-width: 1025px) {
	#main_menu {
		display: block !important;
	}
}

@media only screen and (max-width: 600px) {
	#main_menu_toggle,
	#main_menu {
		max-width: 95%;
	}

	.gallery-slider {
		display: none;
	}

	.gallery-grid li {
		width: 100%;
	}

	.gallery-grid img {
		cursor: auto;
	}

	#footer_brochures ul li img {
		max-width: 96px;
	}
}
