/**
Theme Name: Downgrain Labs
Author: Downgrain Labs
Author URI: https://downgrain.com
Description: Downgrain Labs
Version: 1.0.0
License: UNLICENSED
Text Domain: downgrain-labs
Template: astra
*/

header a:hover {
	color: var(--ast-global-color-1) !important;
}

.elementor-widget-heading h1.elementor-heading-title, h5 {
    line-height: 1.2em !important;
}

/*div#main-hero::before {
    filter: invert(1) !important;
}*/

.elementor-widget.elementor-widget-icon-list .elementor-icon-list-icon {
    background-color: var(--e-global-color-astglobalcolor4);
    border-radius: 50px;
    padding: .75em;
    margin-right: 1em;
}

.elementor-widget.elementor-widget-icon-list .elementor-icon-list-icon svg {
    margin: 0 !important;
}

footer > div, .site-primary-footer-wrap[data-section="section-primary-footer-builder"] {
    background-color: var(--e-global-color-astglobalcolor2) !important;
}

footer .ast-footer-copyright {
    margin-bottom: 15px;
}

footer .ast-footer-social-1-wrap {
    margin-bottom: 7px;
}

.text-gradient h1, .text-gradient h2, .text-gradient h3, .text-gradient h4, .text-gradient h5, .text-gradient h6, strong.text-gradient {
    background: linear-gradient(270deg, #54d97d, #178E79);
    background-clip: text;
    text-fill-color: transparent;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient.reverse h1, .text-gradient.reverse h2, .text-gradient.reverse h3, .text-gradient.reverse h4, .text-gradient.reverse h5, .text-gradient.reverse h6 {
    background: linear-gradient(90deg, #54d97d, #178E79);
    background-clip: text;
}

.elementor-kit-6 button, .elementor-kit-6 input[type="button"], .elementor-kit-6 input[type="submit"], .elementor-kit-6 .elementor-button {
    transition: all .2s linear;
}

.request-access a:hover, .contact-us a:hover {
	cursor: pointer;
}

.request-access-form {
    text-align: center;
}

form input:not([type="button"]):not([type="submit"]), form textarea, form .elementor-field-textual {
    color: var(--e-global-color-astglobalcolor2) !important;
    background-color: var(--e-global-color-astglobalcolor4) !important;
    border-style: none !important;
    border-radius: 8px 8px 8px 8px !important;
    padding: 12px 0px 12px 15px !important;
	font-size: 1rem !important;
    color: #777 !important;
}

.ast-page-builder-template .entry-content[data-ast-blocks-layout] > *:not(.wp-block-group):not(.uagb-is-root-container) > * {
	margin-left: 0;
	margin-right: 0;
	max-width: 100%;
}

.elementor .elementor-post__avatar img {
    box-shadow: inset 0 0 5px 10px #eee !important;
    border: 4px solid #eee;
    box-sizing: content-box;
}

.elementor-card-shadow-yes .elementor-post__card {
    box-shadow: 0 0 40px 0 rgba(0, 0, 0, .05);
}

.elementor.elementor-location-popup h2 {
    padding: 0 .5em;
}

.single-post .elementor-widget-theme-post-content hr {
    margin: 4em 0 !important;
    height: 2px;
    border: none;
    background-color: #eaeaea !important;
}

.single-post table {
    width: auto;
	font-size: .8em;
	line-height: 1.5;
}

.single-post table.mobile-table {
	display: none;
}

.single-post table.float-right {
	float: right;
	margin: 0 0 1em 2em;
}

.single-post table, .single-post table td, .single-post table th {
    border-color: #bbb;
}

.single-post th {
    background-color: #1A615C;
    color: #fff;
}

.single-post table tr.footer td {
    background-color: #f5f5f5;
}

.single-post table td, .single-post table th {
    padding: .75em;
}

.single-post table.numbers-table tr th:last-of-type, .single-post table.numbers-table tr td:last-of-type {
    text-align: right;
}

.single-post .elementor-widget-theme-post-content h2, .single-post .elementor-widget-theme-post-content h3, .single-post .elementor-widget-theme-post-content h4, .single-post .elementor-widget-theme-post-content h5, .single-post .elementor-widget-theme-post-content h6 {
    font-weight: 700;
    margin-bottom: .8em;
}

.single-post .elementor-widget-theme-post-content ul li:not(:first-of-type) {
    margin-top: 1em;
}

@media only screen and (max-width: 921px) {
	
	.ast-mobile-header-content.content-align-flex-start {
		box-shadow: rgba(0, 0, 0, .5) 0 0 10px;
	}

	.ast-builder-menu-mobile .main-navigation .main-header-menu, .ast-builder-menu-mobile .main-navigation .main-header-menu .menu-link, .ast-builder-menu-mobile .main-navigation .main-header-menu .sub-menu {
		background-color: var(--e-global-color-primary);
		color: #fff !important;
		letter-spacing: 1px;
	}
	
	.ast-hfb-header .ast-builder-menu-mobile .main-navigation .menu-item .sub-menu .menu-link, .ast-hfb-header .ast-builder-menu-mobile .main-navigation .menu-item .menu-link, .ast-hfb-header .ast-builder-menu-mobile .main-navigation .menu-item .sub-menu .menu-link, .ast-hfb-header .ast-builder-menu-mobile .main-navigation .menu-item .menu-link, .ast-hfb-header .ast-mobile-header-content .ast-builder-menu-mobile .main-navigation .menu-item .sub-menu .menu-link, .ast-hfb-header .ast-mobile-header-content .ast-builder-menu-mobile .main-navigation .menu-item .menu-link, .ast-hfb-header .ast-mobile-popup-content .ast-builder-menu-mobile .main-navigation .menu-item .sub-menu .menu-link, .ast-hfb-header .ast-mobile-popup-content .ast-builder-menu-mobile .main-navigation .menu-item .menu-link {
		border-color: #fff;
	}
	
	.ast-hfb-header .ast-mobile-header-content .ast-builder-menu-mobile .main-navigation .menu-item:last-of-type .menu-link {
		border-bottom: 0;
	}
	
	[CLASS*="-sticky-header-active"] .ast-header-sticked [data-section="section-header-mobile-trigger"] .ast-button-wrap .ast-mobile-menu-trigger-fill {
		background: var(--ast-global-color-3);
	}
	
}

@media only screen and (max-width: 767px) {
	
	.mobile-hidden {
		display: none;
	}
	
	.elementor-author-box--layout-image-left .elementor-author-box {
		flex-direction: column;
	}
	
	.elementor-author-box__avatar {
		width: 100%;
		text-align: center;
	}
	
	.elementor-author-box__text {
		text-align: center;
	}
	
	img.mobile.alignright {
		margin: 0 0 35px 0 !important;
		float: none;
		display: inline-block;
		width: 100%;
	}
	
	.single-post table.mobile-table {
		display: block;
		width: 100%;
	}
	
	.single-post table.default-table {
		display: none;
	}
	
}