/* Arabic RTL Version CSS */

.custom-font-size-1 {
	font-size: 0.6em;
}

@media (min-width: 1200px) {
	.custom-big-font-size-1 {
		font-size: 6.9rem !important;
	}
}

@media (min-width: 1600px) {
	.custom-big-font-size-1 {
		font-size: 8.5rem !important;
	}
}

/* RTL: Change border from left to right */
.custom-blockquote-style-1 {
	border-left-width: 0;
	border-right-width: 12px;
	border-right-color: #f3f3f3;
}

.custom-bg-color-grey-1 {
	background-color: #5a6267;
}

.custom-border-color-grey-1 {
	border-color: #404040 !important;
}

@media (max-width: 991px) {
	.custom-ws-mobile-wrap {
		white-space: normal !important;
	}
}

.custom-box-shadow-1 {
	box-shadow: 0 0px 40px 0px rgba(187, 187, 187, 0.3);
}

/*
* Text Background - RTL Version
*/
@media (min-width: 992px) {
	.custom-text-background {
		background-repeat: no-repeat;
		background-size: 100%;
		/* RTL: Change position from left (20%) to right (80%) */
		background-position: 80% 30%;
		-webkit-background-clip: text;
		-webkit-text-fill-color: transparent;
	}
}

@media (max-width: 991px) {
	.custom-text-background {
		background-image: none !important;
	}
}

/*
* Text Highlight - RTL Version
*/
.custom-highlight-text-1 {
	position: relative;
}

.custom-highlight-text-1:before {
	content: '';
	position: absolute;
	bottom: 5px;
	/* RTL: Change from left to right */
	right: 0;
	left: auto;
	width: 100%;
	border-bottom: 7px solid #d20d0d;
	opacity: 0.2;
	z-index: 0;
}

/*
* Buttons - RTL Version
*/
.custom-btn-style-1 {
	position: relative;
	transition: ease transform 300ms;
}

.custom-btn-style-1 > span {
	position: relative;
	z-index: 1;
}

.custom-btn-style-1:before {
	content: '';
	position: absolute;
	top: 0;
	/* RTL: Change from left to right */
	right: 0;
	left: auto;
	width: 100%;
	height: 100%;
	background: inherit;
	opacity: 0.7;
	border-radius: inherit;
	/* RTL: Reverse transform direction */
	transform: translate3d(-5px, 5px, 0);
	transition: ease transform 300ms;
	z-index: 0;
}

.custom-btn-style-1:hover {
	/* RTL: Reverse transform direction */
	transform: translate3d(-2.5px, 2.5px, 0);
}

.custom-btn-style-1:hover:before {
	transform: translate3d(0, 0, 0);
}

/*
* Crooked Line
*/
.custom-crooked-line {
	display: inline-block;
	width: 77px;
	overflow: hidden;
}

/*
* Custom Link Effects - RTL Version
*/
@keyframes crookedLineAnimRTL {
	from {
		transform: translate3d(0, 0, 0);
	}
	to {
		/* RTL: Reverse animation direction */
		transform: translate3d(48%, 0, 0);
	}
}

.custom-link-hover-effects .custom-view-more svg {
	transition: ease transform 300ms;
}

.custom-link-hover-effects:hover .custom-crooked-line svg {
	animation-name: crookedLineAnimRTL;
	animation-duration: 2s;
	animation-iteration-count: infinite;
	animation-timing-function: linear;
}

.custom-link-hover-effects:hover .custom-view-more svg {
	/* RTL: Reverse transform direction */
	transform: translate3d(-7px, 0, 0);
}

.custom-link-hover-effects:hover .custom-date-style-1 {
	/* RTL: Reverse transform direction */
	transform: translate3d(-2.5px, 2.5px, 0);
}

.custom-link-hover-effects:hover .custom-date-style-1:before {
	transform: translate3d(0, 0, 0);
}

/*
* Header - RTL Version
*/
.custom-header-top-nav-background {
	position: relative;
}

.custom-header-top-nav-background:before {
	content: '';
	position: absolute;
	top: 0;
	/* RTL: Change from right to left */
	left: 0;
	right: auto;
	width: 100vw;
	height: 100%;
	background: var(--grey-500);
	/* RTL: Reverse skew direction */
	transform: skewX(25deg);
	z-index: 1;
}

.custom-header-top-nav-background:after {
	content: '';
	position: absolute;
	top: 7px;
	/* RTL: Change from right to left */
	left: -7px;
	right: auto;
	width: 100vw;
	height: 100%;
	background: var(--grey-500);
	/* RTL: Reverse skew direction */
	transform: skewX(25deg);
	z-index: 0;
}

@media (min-width: 992px) {
	#header .header-nav-main nav > ul > li > a {
		padding: 0px 1.2rem !important;
		font-size: 16px;
	}
}

/*
* Carousel
*/
.custom-carousel-box-shadow-1 {
	position: relative;
}

.custom-carousel-box-shadow-1:before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 65%;
	height: 0px;
	box-shadow: 0 40px 40px 120px rgba(0, 0, 0, 0.03);
	transform: translate3d(-50%, -50%, 0);
	z-index: 0;
}

.custom-dots-style-1 .owl-dots,
.custom-dots-style-2 .owl-dots {
	margin-top: 30px !important;
}

.custom-dots-style-1 .owl-dots .owl-dot > span,
.custom-dots-style-2 .owl-dots .owl-dot > span {
	background: #9e9e9e !important;
	transition: ease all 300ms;
}

.custom-dots-style-1 .owl-dots .owl-dot.active > span,
.custom-dots-style-2 .owl-dots .owl-dot.active > span {
	background: #3e3e3e !important;
	width: 18px;
}

@media (max-width: 991px) {
	.custom-dots-style-2 .owl-dots {
		transform: translate3d(0, -50px, 0);
	}
}

.custom-carousel-vertical-center-items .owl-stage {
	display: flex;
	align-items: center;
}

.custom-nav-style-1 .owl-nav {
	left: 50%;
	width: 105%;
	transform: translate3d(-50%, -50%, 0);
}

.owl-carousel.carousel-center-active-item .owl-item {
	opacity: 0.4;
}

/*
* Tabs
*/
.custom-tabs-style-1 .nav-tabs {
	border-bottom: 1px solid #f1f1f1 !important;
	margin-bottom: 35px !important;
}

.custom-tabs-style-1 .nav-tabs > li {
	margin-bottom: 0 !important;
}

.custom-tabs-style-1 .nav-tabs > li .nav-link {
	border-bottom-width: 1px !important;
}

.custom-tabs-style-1 .nav-tabs > li .nav-link.active {
	border-bottom-width: 2px !important;
}

/*
* Accordion - RTL Version
*/
.custom-accordion-style-1 > .card {
	border: 1px solid transparent !important;
	transition: ease border-color 300ms;
}

.custom-accordion-style-1 > .card .card-header a {
	position: relative;
	padding: 23px 30px;
	background-color: #F7F7F7;
	transition: ease background-color 300ms, ease color 300ms;
}

.custom-accordion-style-1 > .card .card-header a:after {
	content: '+';
	position: absolute;
	top: 50%;
	/* RTL: Change from right to left */
	left: 25px;
	right: auto;
	font-size: inherit;
	font-weight: inherit;
	transform: translate3d(0, -50%, 0) rotate(45deg);
	transform-origin: 50% 50%;
	transition: ease transform 300ms;
}

.custom-accordion-style-1 > .card .card-header a.collapsed:after {
	transform: translate3d(0, -50%, 0) rotate(0deg);
}

.custom-accordion-style-1 > .card .card-header + .collapse.show,
.custom-accordion-style-1 > .card .card-header + .collapsing {
	border: 1px solid #efefef;
	border-top: 0;
}

.custom-accordion-style-1 > .card + .card {
	margin-top: 17px;
}

/*
* Read More
*/
.custom-read-more-style-1 .readmore-overlay {
	background: linear-gradient(rgba(2, 0, 36, 0) 0%, white 60%) !important;
}

/*
* Blog Post Date - RTL Version
*/
.custom-date-style-1 {
	position: relative;
	transition: ease transform 300ms;
}

.custom-date-style-1:before {
	content: '';
	position: absolute;
	top: 0;
	/* RTL: Change from left to right */
	right: 0;
	left: auto;
	width: 100%;
	height: 100%;
	background: inherit;
	opacity: 0.7;
	/* RTL: Reverse transform direction */
	transform: translate3d(-5px, 5px, 0);
	transition: ease transform 300ms;
	z-index: 0;
}

/*
* Footer
*/
#footer p, #footer li, #footer a:not(.btn):not(.no-footer-css), #footer span {
	color: #999;
}

#footer .footer-copyright p {
	color: #999;
}

/* Skin - RTL Version */
/*
* Text Highlight
*/
.custom-highlight-text-1:before {
	border-bottom-color: var(--primary);
}

/*
* Header
*/
.custom-header-top-nav-background {
	position: relative;
}

.custom-header-top-nav-background:before {
	background: var(--primary);
}

.custom-header-top-nav-background:after {
	background: var(--primary--300);
}

/*
* Accordion
*/
.custom-accordion-style-1 > .card .card-header a:not(.collapsed) {
	background-color: var(--primary);
	color: var(--primary-inverse) !important;
}

.custom-accordion-style-1 > .card:hover .card-header a.collapsed {
	color: var(--primary) !important;
}

/* Additional RTL-specific fixes */
body[dir="rtl"], .rtl {
	direction: rtl;
	text-align: right;
}





/* RTL Top header fix */
.rtl .custom-header-top-nav-background {
	float: right !important;
	padding-right: 0 !important;
	padding-left: 1.25rem;
}

/* RTL spacing fix for "Need Help" section */
.rtl .header-nav-top .d-flex.ms-3 {
	margin-left: 0 !important;
	margin-right: 1rem !important;
}