/*------------------------------------*\
    
    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;
	margin-bottom: 10px;
}

.read-more__box > p {
	padding: 0;
}

.read-more__wrapper {
	display: inline;
}

@media (max-width: 767px) {
	.read-more__content.is-expanded {
		display: block;
	}
	
	.read-more__content:not(.is-expanded) .read-more__wrapper > * {
		display: inline;
	}
}

.read-more__content {
	-webkit-line-clamp: 8;
	height: 155px;
	overflow: hidden;
}

.technicians__box .read-more__content {
	-webkit-line-clamp: 6;
	height: 155px;
	overflow: hidden;
}

.technicians__box--inner .read-more__content {
	-webkit-line-clamp: 10;
}

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

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

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

.read-more__content p {
    padding: 0;
    margin-bottom: 15px;
}

.wysiwyg .read-more__box > p:last-of-type {
    padding-bottom: 0;
}

.expand {
	padding-right: 18px;
	font-size: 16px;
    font-weight: 700;
	color: #242765;
	display: inline-block;
	border: none;
	position: relative;
	padding-bottom: 0;
	margin-top: 15px;
	background: none;
	text-transform: none;
	border-bottom: 2px solid #242765;
}

.expand::after {
	content: '\e904';
    font-family: 'icomoon';
    position: absolute;
    font-size: 13px;
    right: 0;
    top: 2px;
    color: #242765;
    font-weight: normal;
}

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

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

.expand.is-expanded {
    margin-top: 0;
}

.video-text--blue .expand {
	color: #fff;
	border-color: #fff;
	margin-top: 15px;
}

.video-text--lightblue .expand,
.video-text--gray .expand {
	margin-top: 15px;
}

.video-text--blue .expand::after {
	color: #fff;
}

@media (min-width: 768px) {
	.read-more__content,
	.technicians__box .read-more__content,
	.technicians__box--inner .read-more__content {
		-webkit-line-clamp: inherit;
		height: auto;
	}
	
	.read-more__content.is-expanded {
		-webkit-line-clamp: inherit !important;
	}
}


