/*--------------------------------------------------------------*/
/*--------------------------------------------------------------*/
.athemestc-toc {
	--athemestc-toc-background: #f0f4f8;
	--athemestc-toc-border: #dfe7f0;
	--athemestc-toc-box-point-background: #c2cff8;
	--athemestc-toc-box-small-border-radius: 100%;
	--athemestc-toc-color: #131a2b;
	--athemestc-toc-color-active: #4769d8;
	--athemestc-toc-ol-line-height: 1.5;
	--athemestc-toc-ol-font-size: 0.875rem;
	--athemestc-toc-ol-ol-font-size: 0.75rem;
}

/*--------------------------------------------------------------*/
.athemestc-toc {
	background: var(--athemestc-toc-background);
	padding: 40px;
}

.athemestc-toc:not(:last-child) {
	margin-bottom: 1.5rem;
}

.athemestc-toc:not(:first-child) {
	margin-top: 1.5rem;
}

.athemestc-toc-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 0 !important;
	margin-bottom: 1.5rem !important;
}

.athemestc-toc > ol:not(:first-child) {
	margin-top: 1.5rem;
}

.athemestc-toc > ol:not(:last-child) {
	margin-bottom: 1.5rem;
}

.athemestc-toc > ol:last-child {
	margin-bottom: 0;
}

.athemestc-toc ol {
	color: var(--athemestc-toc-color);
	line-height: var(--athemestc-toc-ol-line-height);
	font-size: var(--athemestc-toc-ol-font-size);
	counter-reset: ol;
}

.athemestc-toc ol,
.editor-styles-wrapper .athemestc-toc ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

.athemestc-toc ol li:not(:first-child) {
	margin-top: 0.5rem;
}

.athemestc-toc ol > li {
	position: relative;
}

.athemestc-toc > ol > li:not(:first-child) {
	border-top: 1px solid var(--athemestc-toc-border);
	padding-top: 0.75rem;
	margin-top: 0.75rem;
}

.athemestc-toc-none > ol > li > a {
	color: var(--athemestc-toc-color);
	font-size: var(--athemestc-toc-ol-font-size);
}

.athemestc-toc-none > ol > li > a span {
	text-decoration: underline;
}

.athemestc-toc-none > ol > li > a:hover span {
	text-decoration: none;
}

.athemestc-toc-none > ol > li > a:hover {
	color: var(--athemestc-toc-color-active);
}

.athemestc-toc-none > ol > li > ol > li {
	padding-left: 1rem;
}

.athemestc-toc-none > ol > li > ol > li > a:before {
	left: 0;
}

.athemestc-toc-arrows > ol > li > a {
	color: var(--athemestc-toc-color);
	font-size: var(--athemestc-toc-ol-font-size);
}

.athemestc-toc-arrows > ol > li > a span {
	text-decoration: underline;
}

.athemestc-toc-arrows > ol > li > a:hover span {
	text-decoration: none;
}

.athemestc-toc-arrows > ol > li > a:hover {
	color: var(--athemestc-toc-color-active);
}

.athemestc-toc-arrows > ol > li > a:before {
	position: relative;
	top: 0;
	content: '';
	background-image: url("data:image/svg+xml,%3Csvg enable-background='new 0 0 20 20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m16.2 9-6.1-6.1 1.4-1.4 8.5 8.5-.7.7-7.8 7.8-1.4-1.4 6.1-6.1h-16.2v-2z' fill='%23131a2b'/%3E%3C/svg%3E");
	background-size: contain;
	background-position: center center;
	background-repeat: no-repeat;
	line-height: 1;
	border-radius: 100%;
	display: inline-block;
	text-align: center;
	width: 12px;
	height: 12px;
	margin-right: 1.25rem;
	color: #FFFFFF;
	transition: 0.25s;
}

.athemestc-toc-arrows > ol > li > a:hover:before {
	background-image: url("data:image/svg+xml,%3Csvg enable-background='new 0 0 20 20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m16.2 9-6.1-6.1 1.4-1.4 8.5 8.5-.7.7-7.8 7.8-1.4-1.4 6.1-6.1h-16.2v-2z' fill='%234769d8'/%3E%3C/svg%3E");
}

.athemestc-toc-arrows > ol > li > ol > li {
	padding-left: 3rem;
}

.athemestc-toc-arrows > ol > li > ol > li > a:before {
	left: 2rem;
}

.athemestc-toc-numbers > ol > li > a {
	color: var(--athemestc-toc-color);
	font-size: var(--athemestc-toc-ol-font-size);
}

.athemestc-toc-numbers > ol > li > a span {
	text-decoration: underline;
}

.athemestc-toc-numbers > ol > li > a:hover span {
	text-decoration: none;
}

.athemestc-toc-numbers > ol > li > a:hover {
	color: var(--athemestc-toc-color-active);
}

.athemestc-toc-numbers > ol > li > a:before {
	position: relative;
	top: -1px;
	content: counter(ol);
	counter-increment: ol;
	background: var(--athemestc-toc-box-point-background);
	line-height: 1;
	border-radius: 100%;
	width: 1.5rem;
	display: inline-flex;
	text-align: center;
	font-size: .75rem;
	height: 1.5rem;
	justify-content: center;
	align-items: center;
	margin-right: .5rem;
	color: #FFFFFF;
	font-weight: 700;
	transition: 0.25s;
	text-decoration: none;
}

.athemestc-toc-numbers > ol > li > a:hover:before {
	background: var(--athemestc-toc-color-active);
}

.athemestc-toc-numbers > ol > li > ol > li {
	padding-left: 3rem;
}

.athemestc-toc-numbers > ol > li > ol > li > a:before {
	left: 2rem;
}

.athemestc-toc ol ol {
	list-style: none;
	margin-top: 0.5rem;
	margin-bottom: 0.5rem;
	margin-left: 0;
	padding-left: 0;
}

.athemestc-toc ol ol > li:not(:first-child) {
	margin-top: 0.25rem;
}

.athemestc-toc ol ol > li {
	position: relative;
	padding-left: 2.5rem;
}

.athemestc-toc ol ol > li > a {
	color: var(--athemestc-toc-color);
	font-size: var(--athemestc-toc-ol-ol-font-size);
	text-decoration: underline;
}

.athemestc-toc ol ol > li > a:hover {
	color: var(--athemestc-toc-color-active);
	text-decoration: none;
}

.athemestc-toc ol ol > li > a:before {
	transition: 0.25s;
	background: var(--athemestc-toc-box-point-background);
	display: flex;
	align-items: center;
	justify-content: center;
	position: absolute;
	line-height: 1;
	content: '';
	width: 0.25rem;
	height: 0.25rem;
	margin-top: 0.6666666667rem;
	top: 0;
	left: 1.5rem;
	border-radius: var(--athemestc-toc-box-small-border-radius);
	transition: 0.25s;
}

.athemestc-toc ol ol > li > a:hover:before {
	background: #4769d8;
}
