/* Toggle Extension BBcode */
h2.trigger {
	--toggle-icon-size: 20px;
	--toggle-icon-left: 18px;
	position: relative;
	padding: 10px 16px 10px 52px;
	margin: 0 auto;
	min-height: 46px;
	line-height: 1.25;
	width: 100%;
	max-width: 500px;
	box-sizing: border-box;
	border-radius: 4px;
	background: linear-gradient(to bottom, #5f819a 0%, #3f6178 100%);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 1px 1px rgba(0, 0, 0, 0.2);
	font-size: 1.65em;
	font-weight: normal;
	cursor: pointer;
}

h2.trigger::before {
	content: "";
	position: absolute;
	left: var(--toggle-icon-left);
	top: 50%;
	transform: translateY(-50%);
	width: var(--toggle-icon-size);
	height: var(--toggle-icon-size);
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.18);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

h2.trigger::after {
	content: "";
	position: absolute;
	left: var(--toggle-icon-left);
	top: 50%;
	width: var(--toggle-icon-size);
	height: var(--toggle-icon-size);
	transform: translateY(-50%);
	background:
		linear-gradient(#fff 0 0) center / 10px 2px no-repeat,
		linear-gradient(#fff 0 0) center / 2px 10px no-repeat;
	transition: background-size 0.2s ease;
}

h2.trigger a:hover {
	color: #dfe9f2;
}

h2.trigger a {
	color: #fff;
	text-decoration: none;
	display: block;
	line-height: inherit;
	overflow-wrap: break-word;
}

h2.active {
	background: linear-gradient(to bottom, #3f6178 0%, #5f819a 100%);
}

h2.active::after {
	background-size: 10px 2px, 2px 0;
}

.toggle_container {
	margin: 0 auto;
	border: 1px solid #d6d6d6;
	background: #f0f0f0;
	overflow: hidden;
	font-size: 1.2em;
	width: 100%;
	max-width: 490px;
	box-sizing: border-box;
	clear: both;
}

.toggle_container .block {
	padding: 20px;
}

.toggle_container .block img {
	max-width: 100%;
	height: auto;
}

@media (max-width: 576px) {
	h2.trigger {
		--toggle-icon-size: 16px;
		--toggle-icon-left: 14px;
		padding: 15px 12px 9px 40px;
		font-size: 1.1em;
		line-height: 1.3;
	}

	.toggle_container {
		font-size: 0.95em;
	}

	.toggle_container .block {
		padding: 12px;
	}
}

@media (max-width: 380px) {
	h2.trigger {
		padding-left: 36px;
		font-size: 1em;
	}
}
