/*
 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
*/
/***DEFAULTS***/
a:where(:not(.wp-element-button)) {
	text-decoration: none !important;
}
/***PAGES***/
.hero h1 {
  text-shadow: 0 0 15px  rgba(0,0,0,0.8)
}
body.page-template-block-editor .hero h1 {
	max-width: 62%;
	line-height: 1.1 !important;
}
/***BLOCKS***/
#brx-content.wordpress.block-editor {
	font-size: 20px;
	color: #6d6e71 !important;
	font-family: "oscine";
	width: 900px;
	padding-top: 6rem;
	padding-bottom: 8rem;
}
:where(.wp-block-columns.is-layout-flex) {
	gap: 4em;
}
.block-editor :where(p),
.block-editor :where(h1, h2, h3, h4, h5, h6) {
	margin: 0 0 1.5rem;
}
.block-editor ul {
	margin-top: 0;
	padding-left: 1.8rem;
}
/*.block-editor :where(a) {
	text-decoration: underline;
}*/
.wp-block-details {
	position: relative;
	transition: all 300ms ease;
}
.block-editor a {
	color: #55A646;
}
.wp-block-details summary {
	border-bottom: solid 2px #0083BF;
	position: relative;
	padding: 12px 0;
	line-height: 1.5;
}
.wp-block-details summary::marker {
	content: '';
}
.wp-block-details summary::after {
	content: '\f054';
	font-family: 'Font Awesome 6 Solid';
	font-size: 14px;
	line-height: 1;
	position: absolute;
	right: 2%;
	top: calc(50% - 7px);
}
.wp-block-details[open] {
	padding-bottom: 20px;
}
.wp-block-details[open] summary {
	margin-bottom: 30px;
}
.wp-block-table.is-style-stripes tr:not(:last-child) {
	border-bottom: solid 2px #B3B5B8;
}
.wp-block-table.is-style-stripes td:nth-child(1),
.wp-block-table.is-style-stripes td:nth-child(2) {
	border-right: solid 2px #B3B5B8;
}
/*.wp-block-image {
	width: auto;
}
.wp-block-image.alignright {
	margin-left: 1em;
}*/
/***FORMS***/
.gform_wrapper.gravity-theme .gfield_label {
	color: #6D6E71;
}
.gform_wrapper.gravity-theme .gfield input,
.gform_wrapper.gravity-theme .gfield textarea, 
.gform_wrapper.gravity-theme .gfield select {
	border-color: #8F8F8F;
}
.gform_wrapper.gravity-theme .gform_footer input.gform_button  {
	border: none;
	padding: 0.8em 1.5em;
	font-size: 18px;
	background: #0083BF;
	color: #FFF;
	transition: all 300ms ease;
}
.gform_wrapper.gravity-theme .gform_footer input.gform_button:hover {
	opacity: 0.8;
}
/***HELPERS***/
.list-none {
	list-style: none;
	padding-left: 0;
}
.wp-caption {
	padding: 0;
	border: none;
}
figcaption {
	color: #363636;
	line-height: 1.3;
	text-align: left;
	font-size: 14px;
	margin: 0.5em 0 1em;
}
.has-atc-green-background-color {
	background-color: #55A646 !important;
}
.has-atc-green-color,
.has-atc-green-color a {
	color: #55A646 !important;
}
.has-atc-blue-background-color {
	background-color: #0083BF !important;
}
.has-atc-blue-color,
.has-atc-blue-color a {
	color: #0083BF !important;
}
.has-atc-orange-background-color {
	background-color: #F36F2D !important;
}
.has-atc-orange-color,
.has-atc-orange-color a {
	color: #F36F2D !important;
}
.anchors a {
	text-decoration: none;
}
/***MEDIA QUERIES***/
@media (max-width: 991px) {
	#brx-content.wordpress.block-editor {
		width: 90%;
	}
}

/*@media screen and (max-width: 767px) {
    .wp-block-table {
		width:100%;
	}
    .wp-block-table thead {
		display: none;
	}
    .wp-block-table tr:nth-of-type(2n) {
		background-color: inherit;
	}
    .wp-block-table tr td:first-child {
		background: #f0f0f0; 
		font-weight: bold;
	}
    .wp-block-table tbody td {
		display: block;
		text-align: center;
	}
    .wp-block-table tbody td:before { 
        content: attr(data-th); 
        display: block;
        text-align: center;  
    }
}*/

@media (max-width: 479px) {
	body.page-template-block-editor .hero h1 {
		max-width: 100%;
	}
}