/**
Theme Name: Demi
Author: Deveasel
Author URI: https://deveasel.com
Description: Child theme for astra
Version: 0.0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: demi
Template: astra
*/

body.postid-70 .wedocs-single-content .entry-header{
	display: none;
}

.wedocs-single-wrap .wedocs-single-content article .entry-content img{
	padding: 10px;
}

.demi-doc-search-input input{
	pointer-events: none;
	cursor: pointer;
}

.wedocs-sidebar .widget-title,.wedocs-single-search-input{
	display: none;
}

.wedocs-single-wrap .wedocs-sidebar ul.doc-nav-list li a .wedocs-caret {
	display: none;
}

/*  Doc Style */

.wedocs-single-wrap .wedocs-sidebar ul.doc-nav-list {
	margin: 0;
}

.wedocs-single-wrap .wedocs-sidebar ul.doc-nav-list li.wd-state-closed ul.children {
	display: block;
}

.ast-plain-container.ast-no-sidebar #primary {
	margin-top: 0;
	margin-bottom: 0;
}

.wedocs-single-wrap .wedocs-sidebar{
	padding: 64px 24px;
	padding-left: 4px;
	height: calc(100dvh - 94px);
    overflow: auto;
}

.wedocs-single-wrap .wedocs-sidebar ul.doc-nav-list li ul.children {
	margin: 0;
	border: 0;
}

.wedocs-single-wrap .wedocs-sidebar ul.doc-nav-list > li + li {
	margin-top: 32px;
}

.wedocs-single-wrap .wedocs-sidebar ul.doc-nav-list li a {
	padding: 6px;
	font-size: .875rem;
    line-height: 1.25rem;
    font-weight: 400;
	border-radius: 6px;
	color: #4b5563;
}

.wedocs-single-wrap .wedocs-sidebar ul.doc-nav-list > li > a {
	letter-spacing: .05em;
	padding: 0 8px;
	margin-bottom: 12px;
	font-size: .75rem;
    line-height: 1rem;
    font-weight: 700;
	color: #9ca3af;
	pointer-events: none;
    text-transform: uppercase;
}

.wedocs-single-wrap .wedocs-sidebar ul.doc-nav-list > li.current_page_item > a{
	color: #9ca3af;
	background: transparent;
}

.wedocs-single-wrap .wedocs-sidebar ul.doc-nav-list > li > a:before{
	display: none !important;
}

.wedocs-single-wrap .wedocs-sidebar ul.doc-nav-list > li.current_page_parent > a {
	background: transparent;
	color: #9ca3af;
}

.wedocs-single-wrap .wedocs-sidebar ul.doc-nav-list li ul.children a:hover{
	background: #f9fafb;
	color: #111827;
}

.wedocs-single-wrap .wedocs-sidebar ul.doc-nav-list > li.current_page_parent li.current_page_item > a {
	border: 0;
	background: #046bd221;
	color: #2563eb;
	font-weight: 500;
}

.wedocs-single-wrap .wedocs-sidebar ul.doc-nav-list li ul.children li + li {
	margin-top: 4px;
}

.wedocs-single-wrap .wedocs-single-content{
	padding-top: 64px;
	padding-left: 48px;
	padding-bottom: 64px;
}

.single .entry-header {
	margin: 0 0 16px;
}

header.entry-header .entry-title {
	font-size: 2.25rem;
    line-height: 2.5rem;
	font-weight: 700;
	margin: 0;
}

.wedocs-single-wrap .wedocs-single-content article .entry-content > .wp-block-heading {
	margin-top: 0;
	font-weight: 700;
	color: #111827;
	margin-bottom: 24px;
}

.wedocs-single-wrap .wedocs-single-content article .entry-content ul,
.wedocs-single-wrap .wedocs-single-content article .entry-content ol,
.wedocs-single-wrap .wedocs-single-content article .entry-content p {
	color: #4b5563;
}

.wedocs-single-wrap .wedocs-single-content article .entry-content figure,
.wedocs-single-wrap .wedocs-single-content article .entry-content img,
.wp-embed-responsive .entry-content .wp-has-aspect-ratio iframe {
	border-radius: 8px;
}

.wedocs-single-wrap .wedocs-single-content article .entry-content img,
.wedocs-single-wrap .wedocs-single-content article .entry-content figure{
	margin-bottom: 24px;
}

.wedocs-single-wrap .wedocs-single-content article .entry-content figure{
	padding: 10px;
	border: 1px solid #eee;
	background: #F9F9F9;
}

.wedocs-single-wrap .wedocs-single-content article .entry-content figure img {
	padding: 0;
	box-shadow: none;
	border: none;
	border-radius: 8px;
	margin: 0;
}

#ast-scroll-top{
	border-radius: 8px;
}

.entry-content .demi-introduction-option {
	list-style: none;
	padding-left: 0;
	display: flex;
    gap: 16px;
    margin: 0 0 24px;
}

.demi-introduction-option li {
	background-color: #f9fafb;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	padding: 16px;
	width: 100%;
	margin: 0 !important;
	font-size: .875rem;
    line-height: 1.25rem;
}

.wedocs-single-wrap .wedocs-single-content article .entry-content .demi-introduction-option li img {
	margin: 0 0 12px;
	box-shadow: none;
	background-color: #d9e7f9;
	padding: 7px;
    border: 0;
}

.wedocs-single-wrap .wedocs-single-content article .entry-content .demi-introduction-option li strong {
	color: #111827;
	font-weight: 700;
	display: block;
	font-size: 16px;
	line-height: 24px;
	margin: 0 0 4px;
}

.wedocs-single-wrap .wedocs-single-content article .entry-content .demi-introduction-option li:nth-child(2) img {
	background: #fef3c7;
}

.wedocs-single-wrap .wedocs-single-content article .entry-content .demi-introduction-option li:nth-child(3) img {
	background: #d6f9e1;
}

.wedocs-single-wrap .wedocs-single-content ol.wedocs-breadcrumb li:has(i):not(.delimiter){
	display: none;
}

.wedocs-single-wrap .wedocs-single-content article .entry-content pre {
	margin-bottom: 24px;
}
.wedocs-single-wrap .wedocs-single-content article .entry-content #bhcCodeHighlight-1 .bhcCodeHighlight .theme pre .hljs-ln,
.wedocs-single-wrap .wedocs-single-content article .entry-content #bhcCodeHighlight-1 .bhcCodeHighlight .theme pre td {
	border: 0;
}

.wedocs-single-wrap .wedocs-single-content article .entry-content pre{
	border: 0;
	padding: 0;
}

.wedocs-single-wrap .wp-block-bch-code-highlight .bhcCodeHighlight .theme .hljs-ln-code{
	padding: 0;
}

.wedocs-single-wrap .wedocs-single-content article .entry-content #bhcCodeHighlight-1 .bhcCodeHighlight .theme pre td.hljs-ln-numbers {
	padding-right: 0;
	position: sticky;
    left: 0;
	background: #1e1e1e;
}

.wedocs-single-wrap .wedocs-single-content article .entry-content #bhcCodeHighlight-1 .bhcCodeHighlight .theme pre td.hljs-ln-numbers > div{
	border-right: 1px solid #ccc;
	padding-right: 5px;
}

.wedocs-single-wrap .wedocs-single-content article .entry-content .article-child.well {
	display: none;
}

/* Header Search */
.demi-doc-search-input .hfe-search-form__input{
	padding-left: 2.5rem !important;
	height: 38px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='lucide lucide-search absolute left-3 top-1/2 -translate-y-1/2 text-gray-400' aria-hidden='true' data-id='element-735'%3E%3Cpath d='m21 21-4.34-4.34'%3E%3C/path%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3C/svg%3E");
	background-color: #f9fafb !important;
	background-repeat: no-repeat;
    background-position: center left 12px;
}

.hfe-search-button-wrapper .hfe-search-form__container:has(input[type=search]):before{
	content: '⌘';
	width: 24px;
    height: 21px;
    position: absolute;
    right: 40px;
    font-size: 10px;
    background: #fff;
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    top: 50%;
	color: #9ca3af;
    transform: translateY(-50%);
}

.hfe-search-button-wrapper .hfe-search-form__container:has(input[type=search]):after{
	content: 'K';
	width: 24px;
    height: 21px;
    position: absolute;
    right: 12px;
    font-size: 10px;
    background: #fff;
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    top: 50%;
	color: #9ca3af;
    transform: translateY(-50%);
}

.demi-doc-search-input .hfe-search-form__container{
	border: 1px solid #e5e7eb !important;
}

.demi-doc-search-input .hfe-search-form__input::placeholder {
    color: #9ca3af !important;
}

.demi-header-button a{
	padding: 0;
}

#wedocs-single-doc-search-modal .doc-search-container .doc-search-modal .modal-body .doc-search-dropdown-container .doc-search-hits {
	overflow: auto;
}

footer.entry-footer.wedocs-entry-footer .feedback-content .wedocs-feedback-wrap {
	line-height: 36px;
    font-size: 16px;
    display: flex;
}

footer.entry-footer.wedocs-entry-footer .help-content {
    padding: 16px 20px;
}

footer.entry-footer.wedocs-entry-footer .feedback-content .wedocs-feedback-wrap .vote-link-wrap {
    margin-left: auto;
}
.wedocs-single-wrap .wedocs-single-content article footer.entry-footer.wedocs-entry-footer time {
    display: none;
}

.wedocs-single-wrap .wedocs-sidebar.wedocs-hide-mobile {
	display: block !important;
}
#wedocs-single-doc-search-modal .doc-search-container .doc-search-modal .modal-header .doc-search-form .doc-search-field #doc-search-input {
    box-shadow: none;
    padding: 0;
    padding-right: 20px;
}
#wedocs-single-doc-search-modal .doc-search-container .doc-search-modal .modal-header .doc-search-form .doc-search-field .search-clean {
    right: 10px;
}


.wedocs-contact-modal {
	border-radius: 16px;
}

.wedocs-contact-modal .wedocs-modal-header {
	text-align: left;
	padding: 16px;
	box-shadow: inset 0 -1px 0 #ebebeb;
}

.wedocs-contact-modal .wedocs-modal-header h3 {
	font-weight: 500;
	font-size: 16px;
    margin: 0;
	line-height: 1.5;
}

.wedocs-contact-modal .wedocs-modal-body {
	padding: 24px;
}

.wedocs-contact-modal textarea,
.wedocs-contact-modal input[type='email'],
.wedocs-contact-modal input[type='text'] {
	font-size: 14px;
    line-height: 1.5;
    font-weight: 400;
    width: 100%;
    max-width: 100%;
    border: 1px solid #ebebeb;
    outline: none;
    box-shadow: none;
    padding: 8px 14px;
    height: auto;
    min-height: 40px;
    color: #0e0e0f;
    border-radius: 12px;
    background-color: #f7f7f7;
    caret-color: #0e0e0f;
}


.wedocs-contact-modal textarea:hover,
.wedocs-contact-modal input[type='email']:hover,
.wedocs-contact-modal input[type='text']:hover {
	border-color: #cfcfcf;
}

.wedocs-contact-modal textarea:focus,
.wedocs-contact-modal input[type='email']:focus,
.wedocs-contact-modal input[type='text']:focus {
	border-color: var(--ast-global-color-0);
	border-style: solid;
}

.wedocs-contact-modal .wedocs-modal-body .wedocs-form-row label {
	padding-bottom: 8px;
}

.wedocs-contact-modal .wedocs-modal-body .wedocs-form-action input[type="submit"] {
	background-color: var(--ast-global-color-0);
	color: #fff;
	border: 1px solid var(--ast-global-color-0);
	padding: 10px 16px;
	border-radius: 12px;
	font-size: 14px;
	line-height: 1.5;
	font-weight: 500;
}

.wedocs-contact-modal .wedocs-modal-body .wedocs-form-action{
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.wedocs-contact-modal .wedocs-modal-close {
	top: 12px;
	padding: 0;
	right: 16px;
	width: 28px;
	cursor: pointer;
	height: 28px;
	display: flex;
	font-size: 16px;
	box-shadow: none;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	background: #fff;
	color: #0e0e0f;
	border: 1px solid #ebebeb;
}

.wedocs-contact-modal .wedocs-modal-close i{
	font-size: 12px;
    display: block;
}

.wedocs-contact-modal .wedocs-modal-close:hover{
	border-color: #cfcfcf;
	background: #fff;
}

.wedocs-contact-modal .wedocs-modal-body .wedocs-form-row {
	margin-bottom: 16px;
}

footer.entry-footer.wedocs-entry-footer .feedback-content .wedocs-feedback-wrap a.positive {
	background-color: var(--ast-global-color-0);
	border-color: var(--ast-global-color-0);
}

#wedocs-single-doc-search-modal .doc-search-container .doc-search-modal .modal-body .doc-search-dropdown-container .doc-search-hits #doc-search-list .doc-search-hit .doc-search-hit-result .doc-search-hit-container .doc-search-hit-icon {
	flex: none;
}

@media (min-width: 768px) {
	.wedocs-contact-modal textarea,
	.wedocs-contact-modal input[type='email'],
	.wedocs-contact-modal input[type='text'] {
		min-height: 48px;
		padding: 11px 16px;
	}
}
@media (min-width: 769px) {
    .wedocs-single-wrap .wedocs-sidebar {
        position: sticky;
        top: 0;
    }
}
@media (max-width: 921px) {
	.single.single-docs.ast-plain-container {
		background: #fff !important;
	}
	.wedocs-single-wrap .wedocs-single-content article .entry-content ul{
		flex-wrap: wrap;
	}
	
	.wedocs-single-wrap .wedocs-single-content article .entry-content ul li{
		max-width: calc(50% - 8px);
	}
	.demi-doc-search-input {
		width: 320px !important;
	}
}

@media (max-width: 768px) {
	.wedocs-single-wrap .wedocs-sidebar {
	padding: 48px 0 0;
	height: auto;
}
	.wedocs-single-wrap{
		padding: 0 !important;
		flex-direction: column;
	}
	.wedocs-single-wrap .wedocs-sidebar ul.doc-nav-list li.wd-state-closed ul.children, .wedocs-single-wrap .wedocs-sidebar ul.doc-nav-list li ul.children {
        margin: 0;
        border: 0;
        display: flex;
        gap: 10px;
        align-items: center;
        overflow: auto;
    }
	.wedocs-single-wrap .wedocs-sidebar ul.doc-nav-list li ul.children li + li {
		margin-top: 0;
	}
	.wedocs-single-wrap .wedocs-single-content article .entry-content ul li{
		max-width: 100%;
	}
	.wedocs-single-wrap .wedocs-sidebar ul.doc-nav-list li ul.children a {
		white-space: nowrap;
	}
	.wedocs-single-wrap .wedocs-single-content {
		padding: 48px 0 0;
	}
	.ehf-header #masthead:has(.demi-header) {
		position: sticky;
		top: 0;
		z-index: 1;
	}
	.demi-doc-search-input .elementor-widget-container {
		margin: 0 !important;
	}
	.demi-doc-search-input{
		width: auto !important;
	}
	.demi-doc-search-input .hfe-search-form__container{
		width: 30px;
		font-size: 0;
		height: 30px;
		border-radius: 50% !important;
	}
	.hfe-search-button-wrapper .hfe-search-form__container:has(input[type=search]):before,
	.hfe-search-button-wrapper .hfe-search-form__container:has(input[type=search]):after{
		display: none;
	}
	.hfe-search-button-wrapper input[type=search] {
		height: auto;
        font-size: 0 !important;
		background-position: center;
		padding: 0 !important;
	}
	.wedocs-contact-modal {
		width: 300px;
    	margin-left: -150px;
	}
	#wedocs-single-doc-search-modal .doc-search-container .doc-search-modal .modal-body .doc-search-dropdown-container .doc-search-hits #doc-search-list .doc-search-hit .doc-search-hit-result .doc-search-hit-container .doc-search-hit-content-wrapper .wd-docs-navigation {
		flex-wrap: wrap;
		gap: 4px 10px;
	}
}

@media (max-width: 991px) {
	footer.entry-footer.wedocs-entry-footer .feedback-content .wedocs-feedback-wrap {
		flex-wrap: wrap;
	}
	footer.entry-footer.wedocs-entry-footer .feedback-content {
		width: 100%;
	}
	footer.entry-footer.wedocs-entry-footer {
		flex-wrap: wrap;
	}
	footer.entry-footer.wedocs-entry-footer .help-content {
		margin: 0 0 16px;
		width: 100%;
	}
}
@media (max-width: 1024px) {
	footer.entry-footer.wedocs-entry-footer .help-content.wedocs-hide-mobile .wedocs-hide-mobile,
	footer.entry-footer.wedocs-entry-footer .help-content.wedocs-hide-mobile {
		display: block !important;
	}
}