/**
 * Theme Name: Techbridge Girls (Astra Child)
 * Author: MIGHTYminnow
 * Author URI: https://mightyminnow.com
 * Description: This Astra child theme includes all MIGHTYminnow common fixes, features and customizations for sites using Astra + Elementor.
 * Version: 1.0.0
 * License: GNU General Public License v2 or later
 * License URI: http://www.gnu.org/licenses/gpl-2.0.html
 * Text Domain: tbgirls
 * Template: astra
 */

/**
 * Astra & Elementor Layout Alignment
 *
 * Align title and content for Astra and Elementor pages.
 */
.entry-header,
.entry-content{
	padding-right: 10px;
	padding-left: 10px;
}
.elementor-page .entry-content{
	padding-right: 0;
	padding-left: 0;
}
#main > .page{
	padding-right: 0;
	padding-left: 0;
}

/**
 * Stretched Sections
 *
 * Fix left/right padding alignment of stretched sections (on Astra no-sidebar layout only).
 */
.ast-no-sidebar .elementor-section-stretched{
	padding: 0 20px;
}
.elementor-section-stretched > .elementor-container{
	margin-left: 20px;
	margin-right: 20px;
}
@media( min-width: 1180px ) {
	.elementor-section-stretched > .elementor-container{
		margin-left: auto;
		margin-right: auto;
	}	
}

/* map hotspot links */
.e-hotspot a{
	color: #fff;
	font-weight: bold;
	text-decoration: underline;
}

/**
 * Non-Elementor Pages
 */
.entry-content > p:last-child{
	margin-bottom: 1.75em;
}

/**
 * Non-Elementor Pages
 */
#main > article{
	padding-top: 10px;
	padding-bottom: 10px;
}
.elementor-page #main > article{
	padding-top: 0;
	padding-bottom: 0;
}

/**
 * Homepage Map
 */

/** Remove horizontal scrollbar. */
.elementor-element-987187e {
	padding-left: 15px;
	padding-right: 15px;
}

/**
 * REVSLIDER
 */
@media( max-width: 480px ) {
	.grey-box{
		box-shadow: rgb(174 205 63) 10px -10px 0px 0px;
	}
}

/**
 * Double List Sections
 */
@media( max-width: 767px ) {
	.double-list-section ul{
		margin-bottom: 0;
	}
	.double-list-section .elementor-column:nth-child(2) .elementor-widget-wrap{
		padding-bottom: 0;
	}
	.double-list-section .elementor-column:nth-child(3) .elementor-widget-wrap{
		padding-top: 0;
	}	
}

/**
 * What We Do
 */

/**
 * Program Cards
 */
@media( min-width: 768px ) {
	.program-cards > * > * > .elementor-widget-wrap{
		align-content: stretch;
	}
	.program-cards > * > * > * > .elementor-section{
		display: flex;
	}
	.program-cards > * > * > .elementor-widget-wrap .elementor-widget-wrap{
		display: flex;
		flex-direction: column;
	}
	.program-cards > * > * > .elementor-widget-wrap .elementor-widget-wrap .elementor-widget-text-editor{
		flex-grow: 2;
	}
}
