.post-type-archive-docs main,
.single-docs main {
	overflow-x: unset;
}

a.white-text{
color: white;
}

.post-type-archive-docs .container,
.docs-template-default .container,
.page-type-docs-article .container,
.tag .container {
	max-width: 1700px !important;
}

.single-docs .main-content-default,
.post-type-archive-docs .main-content-default,
.archive .main-content-default {
	background-color: var(--medium);
}

.post-type-archive-docs .main-content-default {
	padding: 1rem 0;
}

.documentation-container {
	padding-top: 20px;
}

.documentation-header {
	align-items: center;
	background-color: var(--dark);
	border-radius: 10px 10px 0px 0px;
	display: flex;
	justify-content: space-between;
	padding: 16px 24px;
	flex-wrap: wrap;
	gap: 6px;
	flex-direction: row;
	color: #ffffff ;
}

.documentation-header p{
	margin-top:1rem;
	font-weight: 300;
	font-size: 0.9rem;
}

.documentation-entry-title,
.documentation-header > a {
	color: var(--white);
	font-size: 18px;
	line-height: normal;
	margin: 0;
	text-decoration: none;
}

.tag .documentation-entry-title {
	text-transform: uppercase;
}

.latest-updated-date {
	color: var(--gray-5);
	font-weight: 300;
	opacity: 0.7;
	font-size: 0.95rem;
}



.documentation-content {
	background-color: var(--white);
	border-radius: 0px 0px 10px 10px;
	margin-bottom: var(--max-margin);
	padding: 32px;
}

.single-docs .documentation-content,
.tag .documentation-content {
	margin-bottom: 16px;
}

.documentation-content:not(:last-child) {
	margin-bottom: 16px;
}



/* Reading progress bar */
#readingBar {
	/* Positioning */
	display: block;
	z-index: 999999;
	position: fixed;
	left: 0;
	top: 0;
	/* Dimensions */
	width: 100%;
	height: 4px;
	/* Reset the apperance */
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	/* Get rid of the default border in Firefox/Opera. */
	border: none;
	/* For Firefox/IE10+ */
	background-color: transparent;
	/* For IE10+, color of the progress bar */
	color: #01ff48;
}

#readingBar::-webkit-progress-bar {
	background-color: transparent;
}

#readingBar::-webkit-progress-value {
	background-color: #01ff48;
}

#readingBar::-moz-progress-bar {
	background-color: #01ff48;
}

.reading-progress-container {
	width: 100%;
	z-index: 1000;
	position: fixed;
	top: 0;
	left: 0;
	height: 8px;
	display: block;
}

.reading-progress-bar {
	width: 50%;
	display: block;
	height: inherit;
}

/* Breadcrumbs */
.breadcrumbs {
	padding-top: 18px;
	margin-top: 18px;
}

.breadcrumbs span {
	color: #9e9e9e;
	font-size: 14px;
}

.breadcrumbs span a {
	color: #9e9e9e;
	text-decoration: none;
}

.breadcrumbs .breadcrumb_last {
	color: var(--green);
}



/* Search */
.documentation-search {
	margin-bottom: 1rem;
}

.documentation-search .search-filter-field__input {
	height: 52px !important;
	border-radius: 10px;
}

.documentation-search .search-filter-input-text__input::placeholder {
	font-size: 1rem !important;
}

.documentation-search .search-filter-field__input:hover,
.documentation-search .search-filter-field__input:active,
.documentation-search .search-filter-field__input:focus {
	border: 1px solid #01ff48 !important;
	border-radius: 10px;
	box-shadow: none !important;
}

.search-filter-input-text {
	flex-direction: row-reverse !important;
}


/* Documentation content */

.post-type-archive-docs .entry-content p img:not(.clippy),
.single-docs .entry-content p img:not(.clippy),
.tag-configuration .entry-content p img:not(.clippy) {
	width: auto;
	margin: auto;
	display: block;
	height: auto;
	border-radius: 10px;
}

.documentation-entry-title {
	font-weight: 500;
}

.single-docs .entry-content,
.tag .entry-content {
	margin-top: 40px;
}

.single-docs .entry-content h2,
.tag .entry-content h2 {
	font-weight: 700;
	font-size: 1.8rem;
	margin: 40px 0 10px;
	scroll-margin-top: 100px;
}

.single-docs .entry-content h3,
.tag .entry-content h3 {
	font-size: 1.22rem;
	font-weight: 600;
}

.single-docs .entry-content p,
.tag .entry-content p {
	font-weight: 300;
}

.single-docs .entry-content ul,
.tag .entry-content ul {
	padding-left: 40px;
}

.single-docs .entry-content .is-relative,
.tag .entry-content .is-relative {
	position: relative;
}

.single-docs .entry-content pre,
.tag .entry-content pre {
	text-align: left;
	display: block;
	padding: 1em;
	box-sizing: border-box;
	border: none;
	position: relative;
	background: #3e4b4914;
	color: grey;
	margin: 0 0 10px;
	margin-bottom: 15px;
	font-size: 13px;
	line-height: 1.42857;
	word-break: break-all;
	word-wrap: break-word;
	border-radius: 4px;
	font-family: "Cascadia Code", sans-serif;
}

.single-docs .entry-content .clipboard-btn {
	/* webkit-transition: opacity 0.3s ease-in-out; */
	transition: opacity 0.3s ease-in-out;
	-o-transition: opacity 0.3s ease-in-out;
	transition: opacity 0.3s ease-in-out;
	opacity: 0;
	display: inline-block;
	padding: 2px 6px;
	position: absolute !important;
	right: 4px;
	top: 4px;
	font-size: 20px;
	font-weight: 700;
	line-height: 20px;
	white-space: nowrap;
	vertical-align: middle;
	cursor: pointer;
	background-image: linear-gradient(#fcfcfc, #eeeeee);
	border: 1px solid #d5d5d5;
	border-radius: 3px;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	-webkit-appearance: none;
	appearance: none;
}

.single-docs .entry-content .is-relative:hover .clipboard-btn {
	opacity: 1;
}

.single-docs .entry-content a {
	font-weight: 700;
	color: var(--green);
	text-decoration: none;
}

.single-docs .card-panel {
	padding: 24px;
	padding-left: 40px;
	border-radius: 8px;
	font-weight: 500;
	background: #085330 !important;
	color: var(--white);
	margin: 0.5rem 0 1rem 0;
	position: relative;
	border-right: 7px solid var(--primary);
}

.single-docs span.card-panel {
	display: block;
}

.single-docs .card-panel::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 0;
	height: 0;
	border-radius: 0 0 4px;
	border-width: 16px;
	border-color: var(--dark) #01ff48 #01ff48 var(--dark);
	border-style: solid;
}

.single-docs .entry-content .card-panel::before {
	border-color: #ffffff #01ff48 #01ff48 #ffffff;
}


.commento-root-font * {
	font-family: "Raleway", sans-serif !important;
}

#commento-textarea-root {
	border-radius: 10px;
	resize: none;
	border: 2px solid #01ff48;
}

.commento-root .commento-login .commento-login-text {
	font-weight: 700;
	transition: 0.15s ease;
	position: relative;
	margin-left: auto;
	width: fit-content;
}

.commento-root .commento-login .commento-login-text:after {
	content: "";
	position: absolute;
	width: 100%;
	transform: scaleX(0);
	height: 2px;
	bottom: 12px;
	left: 0;
	background-color: #01ff48;
	transform-origin: bottom right;
	transition: transform 0.25s ease-out;
}

.commento-root .commento-login .commento-login-text:hover::after {
	transform: scaleX(1);
	transform-origin: bottom left;
}

#commento-submit-button-root {
	border-radius: 5px;
	box-shadow: none;
	text-transform: none;
	padding: 6px 12px;
	border: 2px solid #01ff48;
	transition: background-color 0.3s;
	color: var(--black);
}

.commento-root .commento-submit-button {
	background: #01ff48 !important;
}


.single-docs .entry-content p img {
	border-radius: 10px;
	margin: auto;
}

.documentation-items-container.popular {
	grid-gap: 0;
}

.documentation-tags {
	margin: 15px 0 5px 0;
	display: flex;
	flex-wrap: wrap;
	grid-gap: .5rem;
}

.documentation-item .documentation-tags {
	margin-bottom: var(--min-margin);
}

.documentation-tags a:not(.author-link),
.documentation-tags span:not(.author-link) {
	background-color: var(--primary);
	border-radius: 20px;
	color: var(--black);
	font-size: 0.8rem;
	font-weight: 600;
	padding: 3px 8px;
	text-decoration: none;
	text-transform: uppercase;
	transition: .2s ease-out;
}

.documentation-tags span {
	white-space: nowrap;
}

.documentation-tags a:not(.author-link):hover,
.documentation-tags span:not(.author-link):hover {
	background: #02d33e;
	filter: brightness(0.85);
	transition: .2s ease-out;
	cursor: pointer;
}

.documentation-tags .author-link {
	text-decoration: none;
	color: var(--green);
	font-weight: 700;
}


.doc-cards-wrapper {
	margin-top: 40px !important;
}

.doc-cards-wrapper .card-item .doc-cards-link h4 {
	position: relative;
}

.doc-cards-wrapper .card-item .doc-cards-link h4:after {
	content: "";
	position: absolute;
	width: 100%;
	transform: scaleX(0);
	height: 4px;
	bottom: -5px;
	left: 0;
	background-color: #01ff48;
	transform-origin: bottom right;
	transition: transform 0.25s ease-out;
}

.doc-cards-wrapper .card-item .doc-cards-link:hover h4:after {
	transform: scaleX(1);
	transform-origin: bottom left;
}

.documentation-content .card-item a {
	text-decoration: none;
}

.documentation-content .show-all-button {
	display: block;
	text-align: center;
	margin-top: 1.5em;
	font-size: 0.9em;
	font-weight: 700;
	padding: 0.8em 1em;
	border-radius: 10px;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	transition: 0.15s ease;
	color: #01af35;
	text-decoration: none;
}

.documentation-content .show-all-button::after {
	content: "→";
	display: inline-block;
	margin-left: 5px;
	width: 0;
	height: 0;
	color: #01af35;
}

.documentation-content .show-all-button:hover {
	font-weight: 300;
}


/* Documentation Items */
.documentation-items-container {
	display: flex;
	flex-direction: column;
	grid-gap: 32px;
}

.documentation-item {
	background-color: var(--dark);
	border-radius: var(--radius);
	padding: 2rem;
	border-right: 7px solid #01ff48;
}

.documentation-item a {
	text-decoration: none;
}

.documentation-item a h3,
.documentation-item .excerpt {
	color: var(--white);
}

.documentation-item .excerpt {
	margin-bottom: 1rem;
}

.documentation-item a h3 {
	font-size: 1.21rem;
	font-weight: 600px;
	position: relative;
	width: fit-content;
}

.documentation-item a h3:after {
	content: "";
	position: absolute;
	width: 100%;
	transform: scaleX(0);
	height: 4px;
	bottom: -5px;
	left: 0;
	background-color: #01ff48;
	transform-origin: bottom right;
	transition: transform 0.25s ease-out;
}

.documentation-item a:hover h3:after {
	transform: scaleX(1);
	transform-origin: bottom left;
}

.documentation-item.search-result a h3,
.tag .documentation-item a h3 {
	color: var(--green);
}

.documentation-item.search-result a:hover h3,
.tag .documentation-item a:hover h3 {
	color: #008970;
}

span.search-excerpt {
	color: var(--primary) !important;
}

/* Article Series */

.article-series {
	margin-top: 20px;
}

.article-series .article-series-articles {
	border-top: 1px black solid;
	border-bottom: 1px black solid;
	display: block;
}

.article-series.closed .article-series-articles {
	display: none;
}

.article-series-headline-button {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0.6em 1em;
}

.article-series-headline-button .related-toggle {
	transform: rotate(180deg);
	transition: transform 300ms ease;
	border: none;
	padding: 0;
	width: 1.5em;
	height: 1.5em;
	background: none;
}

.article-series.closed .article-series-headline-button .related-toggle {
	transform: rotate(0deg);
	transition: transform 300ms ease;
}

.article-series-headline-button .related-toggle svg line {
	fill: none;
	stroke: var(--primary);
	stroke-linecap: round;
	stroke-width: 3px;
}


.article-series-headline {
	display: flex;
	flex-flow: nowrap row;
	justify-content: space-between;
	align-items: center;
	/* padding: 0.6em 1em; */
	box-sizing: border-box;
	font-size: 1.22em;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	border-radius: 4px;
	font-weight: 700;
}






.article-series-articles ul {
	display: flex;
	flex-flow: wrap row;
	justify-content: flex-start;
	align-items: stretch;
	position: relative;
	margin: 0;
	padding: 0;
	overflow: hidden;
}

.article-series-articles ul li {
	flex: 1;
	min-width: 50%;
	max-width: 50%;
	list-style: none;
	box-shadow: 1px 1px 0 black;
	padding: 1em;
}

.article-series-articles ul li a {
	font-weight: 700;
	transition: 0.15s ease;
	font-size: 0.95rem;
	color: var(--black);
	text-decoration: none;
	position: relative;
}

.article-series-articles ul li a:after {
	content: "";
	position: absolute;
	width: 100%;
	transform: scaleX(0);
	height: 2px;
	bottom: -5px;
	left: 0;
	background-color: #01ff48;
	transform-origin: bottom right;
	transition: transform 0.25s ease-out;

}

.article-series-articles ul li a:hover:after {
	transform: scaleX(1);
	transform-origin: bottom left;
}


/* Documentation menu */

.documentation-menu-container {
	border-radius: 10px;
	background-color: var(--white);
	padding: 15px;
	margin-bottom: 15px;
}

#documentation_menu {
	padding-left: 10px;
}

#menu-documentation {
	list-style: none;
	padding-left: 10px;
}

#menu-documentation .sub-menu {
	list-style: none;
	padding-left: 0;
}

#menu-documentation .sub-menu .menu-item {
	padding-left: 10px;
}

#menu-documentation a {
	text-decoration: none;
	color: var(--black);
	font-size: 0.9rem;
	position: relative;
	font-weight: 200;
}

#menu-documentation .menu-item-has-children {
	margin-bottom: 1rem;
}

#menu-documentation .menu-item-has-children>a {
	font-weight: 700;
	padding-right: 16px;;
}

#menu-documentation .sub-menu .menu-item a:after {
	content: "";
	position: absolute;
	width: 100%;
	transform: scaleX(0);
	height: 2px;
	bottom: -3px;
	left: 0;
	background-color: var(--primary);
	transform-origin: bottom right;
	transition: transform 0.25s ease-out;
}

#menu-documentation .sub-menu .menu-item a:hover:after {
	transform: scaleX(1);
}

#menu-documentation .sub-menu .current-menu-item a {
	color: #008970;
}

#menu-documentation .sub-menu .current-menu-item a:after {
	transform: scaleX(1);
}

#menu-documentation .menu-item-has-children {
	position: relative;
}

#menu-documentation .menu-item-has-children .arrow-down {
	position: absolute;
	right: -3px;
	margin-top: -30px;
	padding: 5px;
	cursor: pointer;
}

#menu-documentation .menu-item-has-children .arrow-down:hover svg>path {
	fill: #01ff48;
}

#menu-documentation .menu-item-has-children.close ul.sub-menu {
	display: none;
}




/* Anchor menu */
.documentation-anchor-menu-container {
	border-radius: 10px;
	background-color: var(--white);
	padding: 24px;
	margin-bottom: 40px;
	max-height: 600px;
	overflow-y: auto;
}

/* For WebKit browsers (Chrome, Edge, Safari) */
.documentation-anchor-menu-container::-webkit-scrollbar {
	width: 7px;
}

.documentation-anchor-menu-container::-webkit-scrollbar-track {
	background: #38604b;
	border-radius: 0 8px 8px 0;
}

.documentation-anchor-menu-container::-webkit-scrollbar-thumb {
	background-color: #01ff48;
	border-radius: 0 8px 8px 0;
	border: 1px solid #01ff48;
}

.anchor-toc-header {
	font-weight: 700;
	margin-bottom: 1rem;
}

.expand-toc {
	display: flex;
	justify-content: space-between;
	cursor: pointer;
}

.expand-arrow {
	display: none;
}

.anchor-menu ul {
	list-style: none;
	padding-left: 0;
}

.anchor-menu ul li {
	padding-bottom: .3rem;
	padding-left: 10px;
	padding: 0.5em 0em 0.5em 1em;
}

.anchor-menu ul li a {
	color: var(--black);
	text-decoration: none;
	font-size: 0.94rem;
	-webkit-font-smoothing: antialiased;
	box-sizing: border-box;
	transition: transform 300ms ease;
	width: fit-content;
	position: relative;
}


.anchor-menu ul li a:after {
	content: "";
	position: absolute;
	width: 100%;
	transform: scaleX(0);
	height: 2px;
	bottom: 0px;
	left: 0;
	background-color: #01ff48;
	transform-origin: bottom right;
	transition: transform 0.25s ease-out;
}

.anchor-menu ul li a:hover:after {
	transform: scaleX(1);
	transform-origin: bottom left;
}

html {
	overflow: unset !important;
}

.documentation-anchor-menu-container-wrapper {
	top: 84px;
	align-self: flex-start;
}

.single-docs .documentation-main-container table {
    width: 100%;
    max-width: 100%;
    margin-bottom: 1rem;
    background-color: transparent;
}

.single-docs .documentation-main-container table thead th {
	vertical-align: bottom;
	padding: .75rem;
}

.single-docs .documentation-main-container table tbody td,
.single-docs .documentation-main-container table tbody th {
	padding: .75rem;
    vertical-align: top;
}

.single-docs .documentation-main-container table tbody tr:nth-of-type(odd) {
	background-color: rgba(0, 0, 0, .05);
}

.anchor-toc-header {
		margin-bottom: 0;
}

.expand-arrow {
	display: block;
	opacity: 1;
	transition: opacity 0.3s ease-in-out;
}

.expand-arrow.flip {
	transform: rotate(180deg);
	transition: transform 0.3s ease-in-out;
}

.anchor-toc {
	transition: grid-template-rows 0.25s ease-in-out;
	display: grid;
	grid-template-rows: 0fr;
}

.documentation-anchor-menu-container.open .anchor-toc {
	grid-template-rows: 1fr;
}

.h2-menu-placeholder {
	overflow: hidden;
}

/** DOCS CARDS **/

.documentation-content .card-item {
  height: 100%;
  padding: 1em;
}

.documentation-content .card-item h4 {
  font-size: 1.2em;
}

.documentation-content .card-item p {
  font-size: 0.9em;
  margin: 0;
}

.documentation-content .card-item img {
  width: 32px;
}

.documentation-content .card-item .card-text-content {
  row-gap: 12px;
  font-weight: 300;
}

.documentation-content pre {
  background-color: oklch(98.5% 0 0) !important;
  border: 1px solid oklch(92.8% 0.006 264.531) !important;
}

@media screen and (max-width:1199px) {
	.docs-menu-container-col-single {
		display: none;
	}
}

@media screen and (max-width:1024px) {
	.single-docs .entry-content .clipboard-btn {
		opacity: 1;
	}

	a {
		word-wrap: break-word;
	}
}


@media screen and (max-width:991px) {
	.single-docs .documentation-menu-container {
		display: none;
	}

	.documentation-content {
		padding: 1rem;
	}

	.single-docs .documentation-container .row {
		display: flex;
		flex-direction: column-reverse;
	}

	.documentation-anchor-menu-container {
		background-color: #f7f7f7;
	}

}

@media screen and (max-width:768px) {
	.documentation-content {
		padding-top: 2em;
		padding-bottom: 2em;
		padding-left: 0.5em;
		padding-right: 0.5em;
	}

	.article-series-articles ul {
		display: block;
	}

	.article-series-articles ul li {
		max-width: 100%;
	}

	.article-series-articles {
		margin: 0 0 2em;
		border: 1px solid #5a6e63;
		border-radius: 0 0 4px 4px;
	}

	.article-series-headline-button {
		padding: 0 16px 0 0;
	}

	.post-type-archive-docs .container,
	.docs-template-default .container,
	.page-type-docs-article .container,
	.tag .container {
		width: 98% !important;
	}

	.post-type-archive-docs .container .row>*,
	.docs-template-default .container .row>*,
	.page-type-docs-article .container .row>*,
	.tag .container .row>* {
		padding: 0 0.45rem;
	}

	.documentation-item a h3 {
		line-height: 1.4rem;
	}

	.single-docs .entry-content h2,
	.tag .entry-content h2 {
		line-height: 1.9rem;
	}
}