/**
 * Collapse Quote
 * An extension for the phpBB Forum Software package.
 *
 * @copyright (c) 2022, Thorsten Ahlers
 * @license GNU General Public License, version 2 (GPL-2.0)
 *
 */

.imcger-quote {
	position: relative;
}

.imcger-quote-text {
	transition: 0.5s ease height;
}

.imcger-quote-shadow {
	display: none;
	position: absolute;
	width: 100%;
	bottom: 0px;
}

/* Bottom shadow (when textTop = true) */
.imcger-quote-shadow-bottom {
	background-image: linear-gradient(
		rgba(255, 255, 255, 0),
		rgba(255, 255, 255, 0.8) 70%,
		rgb(255, 255, 255)
	);
}

.dark .imcger-quote-shadow-bottom {
	background-image: linear-gradient(
		rgba(27, 34, 52, 0),
		rgba(27, 34, 52, 0.8) 70%,
		rgb(27, 34, 52)
	);
}

/* Top shadow (when textTop = false) */
.imcger-quote-shadow-top {
	background-image: linear-gradient(
		rgb(255, 255, 255) 20%,
		rgba(255, 255, 255, 0.8) 50%,
		rgba(255, 255, 255, 0)
	);
}

.dark .imcger-quote-shadow-top {
	background-image: linear-gradient(
		rgb(27, 34, 52) 20%,
		rgba(27, 34, 52, 0.8) 50%,
		rgba(27, 34, 52, 0)
	);
}

.imcger-quote-togglebutton {
	font-weight: bold;
	cursor: pointer;
	display: none;
	position: relative;
	text-align: center;
	z-index: 1;
	width: calc(100% + 32px);
	padding: 8px !important;
}

.dark .imcger-quote-togglebutton {
	color: #ffffff !important;
	background-color: #1b2234 !important;
}

.content blockquote cite,
.content .uncited::before {
	position: relative;
	z-index: 1;
}


.content blockquote {
	border-width: 1px;
	overflow: hidden;
}
