@import "frontend/variables";
@import "frontend/framework";
@import "frontend/widget_docs";
@import "frontend/single-&-docs_widget";

/** === Doc search form result === **/
.doc_banner_text .banner_search_form {
	transition: all 0.4s;
}

.doc_banner_text .banner_search_form {
	margin-top: 45px;
}

.doc_banner_text .banner_search_form {
	position: relative;
}

.eazydocs-breadcrumb-root-title li.breadcrumb-item {
	color: rgb(119 122 175) !important;
	background: rgb(245 245 250);
	width: 100%;
	padding: 5px 15px !important;
}

ol.eazydocs-search-wrapper .breadcrumb .breadcrumb-item:first-child {
	display: none;
}

.has_drop #ezd_searchInput {
	+ .spinner {
		right: 130px;
	}

	&::-webkit-search-cancel-button {
		right: 130px;
		position: absolute;
	}
}

.elementor-widget-ezd_search_form {
	.header_search_form_info.search_form_wrap .search_submit_btn > i {
		color: #fff;
	}
	input#ezd_searchInput {
		padding-left: 25px;
		border-radius: 5px;
		color: var(--black_800);
		@media (min-width: 991px) {
			min-width: 450px;
		}

		&::placeholder {
			color: var(--black_400);
		}

		~ .spinner {
			right: 60px;
		}

		&::-webkit-search-cancel-button {
			padding-right: 80px;
		}
	}

	.ezd-left {
		input#ezd_searchInput {
			~ .spinner {
				right: 20px;
			}

			&::-webkit-search-cancel-button {
				padding-right: 40px;
			}
		}

		.search_submit_btn {
			left: 0;
			right: auto;
		}
	}

	.ezd_search_keywords {
		text-align: left;
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		font-weight: 500;
		justify-content: center;
		margin-top: 10px;

		span {
			font-size: 14px;
			color: #fff;
			margin-right: 10px;
		}

		ul {
			margin-bottom: 0;
			margin-left: 0;

			li {
				display: inline-block;
				margin-right: 7px;
			}
		}
	}
}

.header_search_form_info {
	input[type="search"] {
		padding-right: 0 !important;
		margin: 0;
	}
}

/** Search Form End **/

/*============== recommended_topic_area css  ===========*/
.recommended_topic_inner {
	position: relative;
	z-index: 1;
	padding: 100px 0;
	.recommended_item {
		.ct-heading-text {
			margin-bottom: 25px;
		}
	}
}

.doc_shap_one,
.doc_round {
	position: absolute;
	z-index: -1;
}

.doc_round {
	border-radius: 50%;

	&.one {
		width: 260px;
		height: 260px;
		background: #f9bf44;
		bottom: 120px;
		left: 120px;
	}

	&.two {
		background: #5e44ff;
		width: 100px;
		height: 100px;
		top: 160px;
		right: 70px;
	}
}

.doc_shap_one {
	left: 50%;
	transform: translateX(-50%);
	top: 0;
}

.doc_title {
	margin-bottom: 76px;

	h2 {
		font-size: 34px;
		font-weight: 700;
		color: var(--black_800);
		margin-bottom: 15px;
		margin-top: 0;
	}

	p {
		font-size: 16px;
		line-height: 26px;
		margin-bottom: 0;
	}
}

.recommended_item {
	border-radius: 20px;
	box-shadow: 0 30px 50px 0 rgba(2, 2, 48, 0.06);
	padding: 40px 25px 35px 35px;
	margin-bottom: 30px;
	background: #fff;

	img {
		margin-bottom: 15px;
		max-width: 44px;
	}

	h3 {
		font-size: 18px;
		color: var(--black_700);
		font-weight: 700;
		line-height: 26px;
		margin-bottom: 25px;
		margin-top: 0;
		transition: color 0.2s linear;

		&:hover {
			color: var(--ezd_brand_color);
		}
	}

	ul {
		margin-left: 0;
		margin-bottom: 0;
		padding-left: 0;
		li {
			padding-left: 20px;
			margin-left: 0;
			position: relative;
			font-size: 15px;
			line-height: 18px;

			&:before {
				content: "\35";
				font-family: eleganticons;
				position: absolute;
				left: -5px;
				width: auto;
				font-size: 18px;
				color: var(--ezd_brand_color);
				top: -2px;
			}

			a {
				color: var(--p_color);

				&:hover {
					color: var(--ezd_brand_color);
				}
			}

			& + li {
				margin-top: 20px;
			}
		}
	}
}

.question_text {
	font-size: 16px;
	line-height: 24px;
	color: var(--ezd_brand_color);
	font-weight: 500;
	margin-top: 35px;
	display: inline-block;

	&:hover {
		color: var(--ezd_brand_color);
	}
}

/* Topic List Area css
  ============================================================================================ */
.topic_list_item {
	border-radius: 10px;
	margin-bottom: 30px;
	padding: 36px 36px 38px;
	border: 1px solid #e5eff5;
	transition: all 300ms linear 0s;
	box-shadow: 0 2px 3px rgba(3, 27, 78, 0.05);

	img {
		padding-right: 15px;
		max-width: 40px;
		height: auto;
		max-height: 40px;
	}

	.topic-title {
		display: flex;
		justify-content: space-between;

		h4 {
			font-size: 20px;
			margin-bottom: 25px;
			display: flex;
			width: 100%;
			margin-top: 0;
			color: var(--black_700);
		}
	}

	.count {
		color: var(--p_color);
		font-size: 14px;
		font-weight: 400;
		word-break: break-all;
	}

	ul {
		li {
			margin-bottom: 10px;

			a {
				i {
					padding-right: 12px;
				}

				color: var(--p_color);
				font-size: 16px;

				&:hover {
					color: var(--ezd_brand_color);
				}
			}

			&:last-child {
				margin-bottom: 0;
			}
		}
	}

	.text_btn {
		margin-top: 36px;
		display: inline-block;
		font-size: 16px;
		gap: 5px;
		align-items: center;
		color: #1d2746;
	}

	&:hover {
		box-shadow: 0 16px 40px 0 rgba(10, 50, 102, 0.1);
		border-color: #fff;
	}
}

.h_content_items{
	&.box-item.collapse-wrap {
		display: none;
	}
	a{
		text-decoration: none !important;
	}
}

.h_item {
	background: #fff;
	padding: 30px 20px 22px;
	box-sizing: border-box;
	margin-bottom: 30px;
	box-shadow: 0 1px 3px rgba(29, 56, 70, 0.16);
	border-radius: 5px;
	text-align: center;

	img {
		max-width: 38px;
		margin: auto;
		margin-bottom: 19.48px;
	}

	svg {
		display: block;
		margin: 0 auto;
		width: 100%;
	}

	h4 {
		font-style: normal;
		font-size: 17px;
		line-height: 20px;
		font-weight: bold;
		text-align: center;
		text-transform: capitalize;
		margin-bottom: 13px;
		margin-top: 0;
		color: var(--black_700);

		&:hover {
			color: var(--ezd_brand_color);
		}
	}

	p {
		font-size: 16px;
		font-style: normal;
		font-weight: normal;
		line-height: 1.375;
		text-align: center;
		padding: 0 22.5px;
		text-transform: capitalize;
		margin-bottom: 0;
		color: var(--black_500);
	}

	&:hover {
		box-shadow: 0 14px 25px rgba(29, 56, 70, 0.06);
	}
}

.more {
	margin-top: 30px;

	a {
		background: #fff;
		box-shadow: 0 1px 1px rgba(29, 56, 70, 0.16);
		border-radius: 5px;
		color: #1d3846;
		font-style: normal;
		font-weight: 500;
		text-transform: capitalize;
		text-align: center;
		line-height: 50px;
		margin: 0 auto;
		display: inline-block;
		font-size: 16px;
		padding: 0 51px;
		width: 220px;

		ion-icon {
			position: relative;
			top: 4.8px;
			margin-right: 13px;
			font-size: 20px;
		}

		span {
			display: inline-block;

			& + span {
				display: none;
			}
		}

		&.active {
			span {
				display: none;

				& + span {
					display: inline-block;
				}
			}
		}

		&:hover {
			background: rgb(76 76 241 / 20%);
		}
	}
}

.docs-single-5-wrap {
	.section5-section-title {
		h6 {
			margin-top: 15px;
		}
	}

	.section5-article {
		.docs-single5-nav-wrap {
			margin: 0 0 15px;

			&:last-child {
				margin: 0 0 0;
			}

			li {
				margin: 0;
			}
		}
	}
}

.ezd-masonry-columns {
	display: flex;
	box-sizing: border-box;
	gap: 25px;
	 > * {
	flex: 1;
  }
}
.ezd-mobile-column {
	@media (max-width: 881px) {
		grid-template-columns: repeat(2, 1fr);
	}
}

.ezd-mobile-column {
	@media (max-width: 540px) {
		grid-template-columns: repeat(1, 1fr);
	}
}