/*
Theme Name: The BASE Theme - Divi Child Theme
Version: 1.0
Description: A customized Divi Child Theme
Author:
Author URI: https://micawebdesign.com
Template: Divi
*/

/*collpse and set the height of the toggle text*/

.the-base-toggle-blurb .et_pb_blurb_description {
	max-height: 200px;
	transition: max-height 0.3s ease-out;
	overflow: hidden;
}


/*add gradient to the collapsed text*/

.the-base-toggle-blurb .et_pb_blurb_description:after {
	content: "";
	display: inline-block;
	position: absolute;
	pointer-events: none;
	height: 100px;
	width: 100%;
	left: 0;
	right: 0;
	bottom: 0;
	background-image: linear-gradient(0deg, #fff 10%, transparent);
}


/*style the expand text link*/

.the-base-toggle-blurb .the-base-blurb-expand-button {
	padding: 0.5em;
	text-align: left;
	color: #C12A24!important;
	font-weight: 500;
}


/*change the curor to a pointed when hovering over the expand text link*/

.the-base-toggle-blurb .the-base-blurb-expand-button span {
	cursor: pointer;
}


/*define the font family for the toggle icon*/

.the-base-toggle-blurb .the-base-blurb-expand-button .the-base-blurb-toggle-icon {
	font-family: ETMODULES, "sans-serif";
}


/*set the max height and transition of the expanded toggle*/

.the-base-toggle-blurb .the-base-blurb-toggle-expanded {
	max-height: 2000px;
	transition: max-height 0.3s ease-in;
}


/*hide the gradient when the toggle is expanded*/

.the-base-toggle-blurb .the-base-blurb-toggle-expanded.et_pb_blurb_description:after {
	background: none;
}
