/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/* BEGIN BUTTON STYLING */
a.wp-block-file__button,
a.wp-block-button__link {
	color: white !important; /**/
	background-color: var(--e-global-color-primary); /**/
	text-transform: normal;	/**/
	font-weight: bold; 	/**/
	font-size: 1em; /**/
	font-weight: 500 !important;
	padding: 0.6em 2em;
	line-height: 1;
	border-radius: 20px; /**/
	margin: 0 7px 14px 7px;
}
a.wp-block-file__button:hover,
a.wp-block-button__link:hover {
	color: white; /**/
	background-color: var(--e-global-color-primary); /**/
}
.wp-block-file {
  margin-bottom: 3em;
}
a.wp-block-file__button {
	text-decoration:none;
}
/* GRAVITY FORMS SUBMIT BUTTON */
[type=button], [type=submit], button {
	border: 0px;
}
/* END BUTTON STYLING */

/* BEGIN WORDPRESS BLOCK STYLING */
/* Allow WP text color to override elementor */
body[class*='elementor-kit-'] .has-text-color a {
  color: inherit;
}
.wp-block-separator {
	border: none;
	border-bottom: 2px solid var(--e-global-color-primary); /**/
	max-width: 75%; /**/
	margin: 30px auto 30px auto !important;
	text-align: center;
}
.wp-block-file a:not(a.wp-block-file__button),
.elementor-widget-theme-post-content p a,
.elementor-widget-theme-post-content ul a,
.elementor-widget-theme-post-content ol a,
.elementor-widget-theme-post-content table a {
	/* This is optional if you want to manually color links */
	color: var(--e-global-color-primary); /**/
	text-decoration: underline !important;
}
ul, ol {
	margin-bottom: 15px;
}
ul ul, ol ol, ul ol, ol ul {
	margin: 0px;
}
.elementor-widget-theme-post-content ul li,
.elementor-widget-theme-post-content ol li {
	padding-bottom: 5px;
}
.wp-block-quote {
	font-style: italic;
	background-color: #efefef;
	padding: 15px;
	border-radius: 5px;
}
.wp-block-quote cite {
	font-size: .9em;
	font-style: normal;
}
.col-same-height .wp-block-column .wp-block-group {
	width: 100%;
}
/* Fix centering images with Hello Elementor */
.wp-block-image .aligncenter, .wp-block-image .alignleft, .wp-block-image .alignright, .wp-block-image.aligncenter, .wp-block-image.alignleft, .wp-block-image.alignright {
  display: table;
}
/* *** */
/* YOUTUBE EMBED BLOCK SETS 16:9 ASPECT RATIO */
.youtubeWrapper,
.wp-block-embed-youtube .wp-block-embed__wrapper {
	position: relative;
	padding-bottom: 56.25%;
}
.youtubeWrapper iframe,
iframe[src*=youtube] {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
/* END WORDPRESS BLOCK STYLING */

/* BEGIN CUSTOM CLASSES FOR STYLING GUTENBERG ELEMENTS */
.narrow600 {
	max-width: 600px;
	margin: auto;
}
.narrow900 {
	max-width: 900px;
	margin: auto;
}
.padding20 {
	padding: 20px;
}
.underline-links a {
	text-decoration: underline;
}
.col-same-height {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-self: stretch;
	width: 100%;
}
/* END CUSTOM CLASSEZ FOR STYLING GUTENBERG ELEMENTS */

/* Change order of Projects Gallery */
search button.e-filter-item[data-filter="commercial"] { order:4; }
search button.e-filter-item[data-filter="log-homes"] { order:3; }
search button.e-filter-item[data-filter="outdoor-living"] { order:2; }
search button.e-filter-item[data-filter="timberframe"] { order:1; }