/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/

/* Contact form 7 Styling */
.wpcf7 label {
	color: var(--heading-color);
	font-weight: 600;
}
.two-col-wrapper p {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap:  var(--space-m);
	margin-bottom: var(--space-l);
}
.two-col-wrapper label {
	display: flex !important;
	flex-direction: column !important;
	gap: var(--space-xs);
}
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea,
.wpcf7 select
{
    background-color: #fff;
	border-color: var(--heading-color);
	color: var(--body-color);
}
/* Header nav background added on individual blog pages */
.header-opaque {
	background: rgba(0,0,0,1) !important;
}
body.single-post.category-blog #brx-header a.bricks-button {
	color: var(--primary) !important;
}
body.wp-singular #brx-header {
	background-color: rgba(0, 0, 0, 1) !important;
}
/* Remove accessibility yellow outline on blank modal links */
a:link[href="#"], a:visited[href="#"] {
  outline: none !important;
}
p:where(:only-of-type), li:not(nav li, nav a), blockquote {
	text-wrap: wrap;
}
h1, h2, h3, h4, h5, h6 {
  text-wrap: wrap !important;
}
.hs-button {
	font-weight: 700;
  line-height: 1.2;
  font-size: 16px;
  border: 2px solid var(--action);
  border-radius: 15px;
  transition: 0.3s all ease-in-out;
  cursor: pointer;
  padding-top: var(--space-xs);
  padding-right: var(--space-s);
  padding-bottom: var(--space-xs);
  padding-left: var(--space-s);
	border-radius: 1rem;
}
input.hs-input, textarea.hs-input, select.hs-input {
	
}
.input {
	border: none;
	margin: 0;
	padding: 0;
}
.input input, 
.input select,
.wsf-form .wsf-field-wrapper .wsf-field {
	border: none !important;
  	border-bottom: 1px solid var(--primary) !important;
	box-shadow: none !important;
	padding: .5em  !important;
	font-size: 1em !important;
	margin-bottom:.5em !important;
	border-radius: 0 !important;	
	font-family: "Montserrat" !important;
	height: auto !important;
}
/* HubSpot Input Field Styles */
input[type="text"].hs-input,
textarea.hs-input,
select.hs-input,
{
  width: 100%;
  padding: 1.5em  !important;
  box-sizing: border-box;
  font-size: 16px;
	border: none !important;
  border-bottom: 1px solid #ccc !important;
  outline: none;
  background-color: transparent; 
	box-shadow: none;
	font-family: "Montserrat" !important;
}
input[type="text"].hs-input::placeholder,
textarea.hs-input::placeholder,
select.hs-input::placeholder,
::placeholder
{
  color: rgb(67, 64, 79) !important;
}
fieldset.form-columns-1 .hs-input {
	width: 100%!important;
}
fieldset.form-columns-2 div:first-child {
	padding-right: 1em !important;
}
/* Label Styles */
label {
  display: block;
  margin-bottom: 1em;
  font-weight: bold;
}

/* Dropdown Styles */
select.hs-input {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M7 10l5 5 5-5z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 30px;
}

/* Radio Button Styles */
.radio-group {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.radio-group input[type="radio"] {
  margin-right: 10px;
}
/* Submit Button Styles */
input[type="submit"].hs-input,
.actions input.hs-button,
.wsf-form .wsf-field-wrapper .wsf-button {
	margin-top: 1rem;
  background-color: var(--action);
  color: var(--bricks-text-dark)   !important;
  border: 2px solid var(--action)  !important;
  padding-top: var(--space-xs) !important;
  padding-right: var(--space-s) !important;
  padding-bottom: var(--space-xs) !important;
  padding-left: var(--space-s) !important;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
	font-size: 1em !important;
  transition: background-color 0.3s ease !important;
	border-radius: 1rem !important;
	text-shadow: none  !important;
	box-shadow: none  !important;
	font-family: "Montserrat" !important;
	font-size: 16px !important;
}
textarea.hs-input {
	width: 95% !important;
	box-shadow: none!important;;
  border: 1px solid var(--primary)!important;;
  font-family: "Montserrat"!important;;
  font-size: 16px!important;;
}

input[type="submit"].hs-input:hover,
.actions input.hs-button:hover, 
.wsf-form .wsf-field-wrapper .wsf-button:hover {
  background-color: white !important;
	border: 2px solid var(--action) !important;
	color: var(--bricks-text-dark)   !important;
}
ul.hs-error-msgs label,
ul.hs-error-msgs{
	font-size: .9em;
	color: var(--primary) !important;
	margin-top:0 !important;
	font-weight:800!important;
	font-family: "Montserrat" !important;
}
.hs-form fieldset {
	max-width: 100% !important;
	width: 100%;
}
.input, input:not([type="submit"]), select, textarea {
	line-height: 1.5em;
}
.hs_vst_casl_opt_in,
.hs_gdpr {
	font-size: 0.8em;
	margin-top: 1rem;
}
.hs_vst_casl_opt_in ul.inputs-list,
.hs_gdpr ul.inputs-list{
	list-style: none;
	padding-left: 0;
}
.hs-form-booleancheckbox input.hs-input {
  width: fit-content !important;
	margin-right: 0.5em;
}
.card-6__text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: calc(1.5em * 3); /* Adjust line-height as needed */
  line-height: 1.5; /* Adjust line-height as needed */
}
.skip-link {
	color: var(--primary) !important;
}
.hs-form .hs-form-field label:not(.hs-error-msg),
label.wsf-label {
	color: var(--primary) !important;
}
input placeholder {
	color: #000; 
}
.brxe-post-content a {
	border-bottom: 1px solid var(--primary);
}
h1 {
  word-wrap: break-word;
}
.hs-form input:not([type="image"]), .hs-form textarea, .hs-form textarea.hs-input {
	box-sizing: border-box !important;
}
.brxe-9ea3ae {
	width: 100% !important;
}
.brxe-post-content .wp-block-media-text__content {
	padding-left: 0;
}
.wsf-form button.wsf-button.wsf-button-primary {
	background: var(--action) !important;
}
/* Strange padding fix */
main > section:first-of-type {
    padding-top: 120px !important;
}
@media screen and (max-width: 782px) {
	.two-col-wrapper p {
		display: grid;
		grid-template-columns: 1fr;
		gap:  var(--space-m);
		margin-bottom: var(--space-l);
	}
	body.single-post h1 {
		font-size: 40px !important;
	}
}