/*------------------------------------*\
    
    Hide/Show Text Area - Global styling for all hide/show text

    This method is CSS heavy and light on JS, which is important for good SEO and CWV results
    Find the code snippet here: https://webfxcodelibrary.webpagefxstage.com/#intermediate_cssshowhidetext

\*------------------------------------*/

/* if you are having issues with clamping in safari, see this fix: https://app.getguru.com/card/c48ay5ri/CSS-lineclamp-in-latest-Safari- */

.read-more__content {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	text-overflow: ellipsis;
	overflow: hidden;
	position: relative;
}

.read-more__content::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 50px;
    background: linear-gradient(to bottom,  rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%); 
}

.read-more__content.is-expanded::before {
    display: none;
}

.read-more__wrapper {
	display: inline;
}

.read-more__content {
	-webkit-line-clamp: 5;
}

.read-more__content.is-expanded {
	-webkit-line-clamp: inherit !important;
}

.expand {
    position: relative;
    display: inline-block;
    color: #0062AB;
    text-transform: capitalize;
    font-size: 16px;
    padding: 0 20px 0 0;
    border: none;
	margin: 6px 0 10px;
    background: none;
    font-weight: 700;
    text-decoration: none;
}

.expand::after {
    content: "\e91b";
    font-family: 'central-florida-vein';
    position: absolute;
    right: 0;
    top: 3px;
    font-size: 14px;
    color: #0062AB;
    font-weight: normal;
    transform: rotate(90deg);
}

.expand.is-expanded::after {
	transform: rotate(-90deg);
}



@media (min-width: 768px) {
	
	.read-more__content {
		-webkit-line-clamp: inherit !important;
	}

    .read-more__content::before {
        display: none;
    }
}
