/*------------------------------------*\
    
    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 {
	position: relative;
}

.wysiwyg__read-more .read-more__content {
	overflow: initial;
	overflow-y: clip;
	overflow-x: revert;
}

.read-more__wrapper {
	display: inline;
}

.read-more__content--double-image-text {
	-webkit-line-clamp: 6;
}


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

.expand {
    position: relative;
    display: block;
    color: #393E40;
    font-size: 16px;
    padding: 0 0 0 0;
    border: none;
	margin: 30px 0 30px;
    background: none;
    font-weight: 700;
    text-decoration: underline;
}

.product-item-detail-content .read-more__content {
    -webkit-line-clamp: 7;
}

.product-item-detail-content .expand {
    color: #0A7F01;
    text-decoration: none;
}

.expand--less,
.fx-untruncated .expand--more {
	display: none;
}

.fx-untruncated .expand--less {
	display: inline;
}

.read-more__box {
	/* max-height: 500px; */
}

.read-more__box.fx-untruncated {
	max-height: 100% !important;
}

@media (min-width: 768px) {
    .product-item-detail-content .read-more__content {
        -webkit-line-clamp: 4;
    }
}

@media (min-width: 1200px) {
    .product-item-detail-content .read-more__content {
        -webkit-line-clamp: 3 !important;
    }

    .product-item-detail__with-slider .product-item-detail-content .read-more__content {
        -webkit-line-clamp: 4 !important;
        margin-bottom: 26px;
    }

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

    .expand:hover {
        background: transparent;
        color: #000;
    }
}