/*------------------------------------*\
    
    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 p {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	text-overflow: ellipsis;
	overflow: hidden;
	position: relative;
	-webkit-line-clamp: 15;    
}

.read-more__wrapper {
	display: inline;
}

.image-text__half .read-more__content p {
    -webkit-line-clamp: 15;    
}

.tab-content-wrap .read-more__content p {
    -webkit-line-clamp: 1;
    display: none;
}


.tab-content-wrap .read-more__content.is-expanded p {
    -webkit-line-clamp: 1;
    display: block;
}

.wysiwyg-read-more .read-more__content p {
	-webkit-line-clamp: 15;
}

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

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

.read-more__box {
	padding-bottom: 25px;
}

.expand {
	padding-right: 18px;
	font-size: 16px;
	text-transform: uppercase;
    font-weight: 500;
	color: var(--bg-dark-blue-green) !important;
	display: inline-block;
	border-bottom: 3px solid var(--bg-dark-blue-green);
	position: relative;
	padding-bottom: 2px;
	margin-bottom: 10px;
}

.expand::after {
    content: "";
    position: absolute;
    right: 0;
    top: 9px;
    width: 9px;
	height: 1px;
	background: var(--bg-dark-blue-green);
}

.expand::before {
    content: "";
    position: absolute;
    right: 4px;
    top: 5px;
    width: 1px;
	height: 9px;
	background: #003467;
}

.expand.is-expanded::before {
    display: none;
}


.tab-content-wrap .read-more__content::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 55px;
    background: white; 
}



.read-more__content::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
	height: 106px;
	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;
}


@media (min-width: 768px) {
	.read-more__content::before,
	.wysiwyg-read-more .read-more__content::before {
		display: none;
	}

	.read-more__content,
	.wysiwyg-read-more .read-more__content p {
		-webkit-line-clamp: inherit;
	}

    .tab-content-wrap .read-more__content p {
        display: block;
    }

    .tab-content-wrap .read-more__content {        
        display: block;
    }
}

