/*------------------------------------*\
    
    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;
	-webkit-line-clamp: 4;
	min-height: 106px;
}

.read-more__wrapper {
	display: block;
}

.read-more__wrapper > * {
	display: inline;
}

.read-more__content.is-expanded .read-more__wrapper > * {
	display: block;
}

@media( min-width:768px ) {
	.read-more__content {
		-webkit-line-clamp: 23;
		min-height: auto;
	}
}

.read-more__content.is-expanded {
	-webkit-line-clamp: inherit !important;
}

.read-more__box {
	padding-bottom: 15px;
}

.expand {
	padding-right: 18px;
	font-size: 13px;
    font-weight: normal;
	color: #01916D;
	display: inline-block;
	position: relative;
	margin-top: 20px;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-family: 'clarimo_ud_pedemibold';
	border: none;
}

.expand:hover {
	background: transparent;
}

.expand::after {
    content: "\e904";
	font-family: 'icomoon';
    position: absolute;
	font-size: 10px;
	line-height: 1em;
    right: 0;
    top: 6px;
	font-weight: normal;
}

.read-more__content::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
	height: 100px;
	background: linear-gradient(to bottom,  rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%); 
}

.bg-gray .read-more__content::before {
    background: linear-gradient(to bottom,  rgba(244,244,244,0) 0%,rgba(244,244,244,1) 100%);
}

.bg-dark-gray .read-more__content::before {
	background: linear-gradient(to bottom,  rgba(240,240,240,0) 0%,rgba(240,240,240,1) 100%); 
}

.read-more__content.is-expanded::before {
	display: none;
}
.expand.is-expanded::after {
    content: "\e907";
}

@media (min-width: 768px) {
	.read-more__content {
		/* -webkit-line-clamp: 12; */
		-webkit-line-clamp: 5;
	}
	
}

@media (min-width: 1600px) {
	.expand {
		font-size: 16px;
	}
	
	.expand::after {
		top: 9px;
	}
}


