/*------------------------------------------------------max-width -992------------------------------*/

@media screen and (max-width: 992px) {
	/*layout*/
	table {
		border-spacing: 0 8px;

		tbody {
			tr {
				border-radius: 0;
				border: 1px solid #CDD5DF;
				border-radius: 12px;
				background: #FFFFFF !important;
				box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);

				td {
					border: none !important;
					padding: 8px 12px;
					border-radius: 0 !important;
					background: transparent !important;

					&:before {
						min-width: unset;
					}
				}

				&:nth-child(even) {
					background: #FAFAFA !important;
				}
			}
		}
	}


	.toggle-menu {
		display: flex;
		position: static;
		border: 2px solid;
		background: transparent;
		color: #888F99;
	}

	.mobile-header-action {
		display: flex;

	}

	.header-top-mobile-title {
		display: flex;
	}

	.header-top-title {
		display: none;
	}

	.header-top-inner-phone {
		a {
			gap: 8px;

			i {
				display: flex;
			}

			&:nth-child(2) {
				background: linear-gradient(135deg, #F49062 0%, #FD371F 100%);
				color: #FFFFFF;
			}

			&:nth-child(3) {
				display: none;
			}

			&:nth-child(4) {
				display: flex;
			}
		}
	}

	.header-logo {
		flex-direction: row;
		flex-wrap: wrap;
		gap: 12px;
		justify-content: space-between;
		align-items: center;
	}

	.logo {
		width: auto;
		margin: 0;

		> a {
			width: 60px;
			height: auto;
		}
	}

	.header-menu {
		z-index: 999999;

		> a {
			display: none;
		}

	}

	.search-box {
		display: none;
		margin-bottom: 12px;
	}

	.temp-wrapper {
		padding: 20px;
	}

	.floating-buttons {
		bottom: 0;
		right: 0;
		left: 0;
		flex-direction: row;
		gap: 0;
		box-shadow: 0px -3px 2px 0px #0A0D1226;

		> a {
			flex: 1;
			border-radius: 0;
		}
	}

	.menu-container > li > a > img {
		display: none;
	}

	/*index*/
	.index-services-inner {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
	}

	.index-stories {
		padding: 20px;
	}

	.index-services {
		padding-top: 8px;
	}

	.top-section-title {
		padding: 16px;
		gap: 4px;

		> h2 {
			font-size: 24px;
			line-height: 40px;
		}

		> h3 {
			font-size: 16px;
			line-height: 24px;
		}

		> p {
			text-align: right;

			&:before {
				display: none;
			}
		}
	}

	.index-banner-links {
		gap: 12px;

		> a {
			font-size: 12px;
			text-align: center;

			i {
				display: none;
			}
		}

	}

	.page-container {
		border: none;
	}

	.index-services-inner {
		padding: 24px 0 0;

		.index-services-item-wrapper {
			.index-service-item {
				justify-content: center;

				.index-service-item-img {
					margin-bottom: 12px;
					width: auto;
					height: auto;
				}

				> h4 {
					justify-content: center;

					> i {
						display: none;
					}
				}
			}
		}
	}

	.home-features {
		padding-block: 36px;
	}

	.features-inner {
		padding: 0 20px;
	}

	.section-head {
		margin-bottom: 30px;
		width: 100%;

		> p {
			font-size: 14px;
		}
	}

	.features-boxes {
		grid-template-columns: repeat(1, 1fr);
		gap: 24px;
	}

	.feature-box {
		border: 1px solid #CDD5DF;
		border-radius: 12px;
		padding: 8px;
		gap: 4px;

		> img {
			margin-bottom: 8px;
		}
	}

	.faq-item {
		padding: 12px;
	}

	.faq-question {

		h3 {
			font-size: 14px;
		}
	}

	.index-news, .index-article-wrapper, .carpet-services-section {
		padding: 30px 20px;
	}

	.footer-top-box {
		flex-direction: column;
		text-align: center;
		padding: 16px;
		gap: 8px;
	}

	footer {
		padding-bottom: 30px;

		> .container {
			> .col-xs-12 {
				padding: 0;
				border-bottom: 1px solid #323438;
				margin-bottom: 12px;

				&:last-of-type {
					border: none;
				}
			}
		}
	}

	.copyright {
		p {
			display: inline-block;
			text-align: center;
		}
	}

	.footer-top-inner {
		justify-content: center;
		gap: 8px;
	}

	/*===================== about*/
	.contact-items {
		grid-template-columns: repeat(1, 1fr);
	}

	.contact-item {
		border: 1px solid #CDD5DF;
		border-radius: 12px;
		padding: 16px;
	}

	/*//sim list*/
	.sim-list {
		flex-direction: column;
	}

	.sim-list-filter {
		width: 100%;
		position: fixed;
		inset: 0;
		z-index: 99999999;
		background: #FFFFFF;
		overflow-y: auto;
		display: none;

		.advance-search.temp-advance-search {
			padding: 0;
			height: 100%;
		}

		.advance-search-inner {
			border: none;
			border-radius: 0;
			box-shadow: none;
			background: #FFFFFF;
			height: 100%;

			h4 {
				display: none;
			}

			.advance-search-item {
				border: none;
				padding: 12px 0;
				margin: 0;
				gap: 4px;
				border-bottom: 1px solid #e1f0ff;
				border-radius: 0;


				&.advance-search-item-price {
					flex-direction: row;
					gap: 16px;
					border:none;

					.half-width {
						width: auto;
						flex: 1;
						display: flex;
						flex-direction: column;
						gap: 4px;
					}
				}
			}

			.form-input-wrapper {
				width: 100%;
			}
		}
	}

	.sim-list-items {
		width: 100%;
	}

	.advance-search-top {
		display: flex;

		> form {
			display: none;
		}

		> span {
			display: flex;
			justify-content: center;
			align-items: center;
			gap: 8px;
			padding: 4px 12px;
			border: 2px solid #CDD5DF;
			border-radius: 48px;
			font-weight: 500;
			background: #F8FAFC;
			user-select: none;
		}

	}

	.form-number-builder {
		transform: none;
		border: 1px solid #CDD5DF;
		border-radius: 8px;
		background: #FFFFFF;
		padding: 8px;

		> label {
			display: block;
		}
	}

	.mobile-search-top {
		display: flex;
		flex-direction: column;
		gap: 6px;

		.advance-search-item {
			width: 100%;
			border: none;
			padding: 8px 0;
			gap: 4px;
		}
	}

	.filter-form {
		display: flex;
		flex-direction: column;
		height: 100%;
		overflow-y: auto;
		justify-content: flex-start;
		width: 100%;

		> h3 {
			display: flex;
			font-size: 16px;
			font-weight: 700;
			padding: 8px 16px;
			border-radius: 12px;
			align-items: center;
			gap: 8px;
			background: #01455f;
			color: #ffffff;
			border-radius: 12px;
			margin-bottom: 20px;
		}

		.form-number-builder {
			display: flex;
			border: none;
			padding: 0 0 12px;
			border-bottom: 1px solid #e1f0ff;
			border-radius: 0;
		}

		&.filter-form-simple-search {
			.form-number-builder {
				display: flex;
			}

			.advanced-filters {
				display: flex;
			}
		}
	}

	.number-builder-input {
		min-width: 20px;
	}

	.page-title {
		padding: 20px;
		margin-bottom: 20px;

		> h1 {
			font-size: 20px;
		}
	}

	.close-filter {
		display: flex;
	}

	.filter-form-actions {
		flex-direction: row;
		gap: 12px;
		margin-top: auto;

		> button, span {
			flex: 1;
		}
	}

	.advanced-filters {
		flex-grow: 1;
		gap:0;
	}

	.sim-detail-links {
		grid-template-columns: 1fr;
	}

	.sim-detail-row {
		padding: 12px;
	}

	.festival-wrapper {
		flex-direction: column-reverse;
	}

	.number-builder-btn {
		display: none;
	}

	.page-title {
		> span {
			font-size: 70px;
			font-weight: 800;
			left: 10px;
		}
	}

	/*html content*/
	.html-content {
		table {

			tbody {
			}

			thead {
			}

			th {
			}

			tr {
				display: table-row;
				box-shadow: none;
			}

			td {
				display: table-cell;

				&:before {
					display: none;
				}
			}
		}
	}

	.sim-detail-modal {
		> i {

			left: 8px;
			top: 8px;
			transform: none;
		}
	}

	.news-list-wrapper {
		grid-template-columns: 1fr;
	}

	/*.input-box input, .input-box textarea, .input-box select {*/
	/*	border-radius: 48px;*/
	/*}*/

	#stories {
		justify-content: flex-start;
		padding-top: 16px;

		.story {
			> .item-link {
			> .item-preview {
			width: 60px;
			height: 60px;
			min-width: 60px;
			min-height: 60px;
		}
		}
		}

	}

	#zuck-modal-content .story-viewer .head .left > .back {
		position: static;
		text-align: inherit;
	}

	.modal-wrapper.options-modal-wrapper {
		width: 100%;
		height: 100%;

		.modal-inner {
			max-height: 100vh;
			width: 100%;
			height: 100%;
		}

		.options-modal {
			height: 100%;

			> h4 {
				display: flex;
			}
		}
	}

	.option-modal-items {
		max-height: 100%;
	}

	.form-label-wrapper-new {
		> span {
			font-size: 16px;
		}
	}
	.whatsapp-btn {
		img {
			height: 26px;
		}
	}

	.carpet-services-nav{
		transition: .2s ease;
		display: flex;
		flex-direction: row;
		flex-wrap: nowrap;
		justify-content: flex-start;
		flex-grow:1;
		display: flex;
		gap: 12px;
		overflow-x: auto;
	//scroll-snap-type: x proximity;
		scroll-behavior: smooth;
		cursor: grab;
		direction: rtl;
		/* hide scrollbar */
		scrollbar-width: none;        // Firefox
	-ms-overflow-style: none;     // IE

	&::-webkit-scrollbar {
		display: none;                // Chrome/Safari
	}
		>*{
			white-space: nowrap;
			scroll-snap-align: start;
		}
	}
	.index-promotion-boxes {
		grid-template-columns: 1fr;
		.index-promotion{
			flex-direction: column !important;
			&:before, &:after {
				width: 200% !important;
				top: -200px !important;
			}
			&:after{
				top: auto !important;
				bottom: -120px !important;
			}

			>img{
				display: none !important;
			}
			.index-promotion-title{
				color: #fff !important;
				text-shadow: 0px 1px 3px #0000009e !important;
			}
			.index-promotion-inner{
				>p{
					background: rgb(255 255 255 / 24%) !important;
					border: 1px solid rgb(255 255 255 / 62%) !important;
					padding: 8px !important;
					box-shadow: 0 0 6px -1px #00000024 !important;
				}
				>span{
					width: auto !important;
					transform: none !important;
				}
				.index-promotion-img{
					display: flex !important;
				}
			}
		}
	}
}

/*-------------------------------------------------------max-width-767---------------------------------*/

@media screen and (max-width: 768px) {

}
