/* Sticky Header */
.sticky-header {
	position: fixed;
	top: 0;
	transition: all 0.3s ease-in-out;
	background-color: white;
}

/* Header */
.top-header a{
	color:white;
}
.top-header .language-box{
	padding: 5px 15px;
    background: #344555;
    color: #FFFFFF;
    vertical-align: middle;
    text-align: center;
    display: inline-block;
}
.top-header .language-box:hover{
	background:#fff;
	transition:ease-in-out0.4s background-color;
}
.top-header .language-box span{
	margin:0px;
	padding:0px;
}

.top-header .language-box:hover span{
	color:#344555;
}

.header-menu .menu-item:hover,
.header-menu .current-menu-item{
	background:#344555;	
	transition: all 1s ease-in-out;
}

/* trying to remove the links from the nav menu but failed*/
/* .header-menu .menu-item-has-children a{
 	pointer-events: none; 
}

.header-menu .menu-item-has-children a {
    pointer-events: auto; 
    cursor: pointer; 
}

.header-menu .menu-item-has-children a::before {
    content: attr(href); 
    display: none;
}

.header-menu .menu-item-has-children a[href] {
    pointer-events: none; 
} */

/* Bread crumbs*/
.breadcrumb {
    padding: 3px 0px;
	display:flex;
	align-items:center;
}

@media (max-width: 768px){
	.breadcrumb {
		display:none;	
	}
}
.breadcrumb .breadcrumb-thumbnail{
	padding:30px;
	background-color:#F7F7F7;
}

.breadcrumb .breadcrumb-thumbnail img{
	width: auto;
	height: 70px;
}
.breadcrumb .innerbg{
	background-color:#F7F7F7;
	padding:10px;
	width:100%;
}
.breadcrumb ul,.breadcrumb ol{
	list-style:none;
	color:#6c757d;
	display:flex;
}

.breadcrumb .breadcrumb-sep{
	padding:5px;
}
.breadcrumb a{
	color:#344555;
}
.breadcrumb a:hover{
	color:#12C4EB;
}

/* Layout CSS */
/* Home Page */
#homepage-content-wrap {
	width: 100% !important;
	max-width: none !important;
}

#homepage-content {
	margin-top: 0;
}

/* Page Content */
.biggest-container{
	display: flex;
    flex-direction: column;
    align-items: center;
}
#content-wrap {
    display: flex;
    width: 100%;
	flex-direction:column;
    background-color: white;
	min-height: 500px;
}

.content-saver {
    width: 100%;
	display: flex;
	padding: 30px 10px;
	flex-direction:column;
}
.container{
	max-width:min(100%, var(--container-max-width, 1140px));
}

#content {
	margin: 15px;
}

.top-green-border{
	display: inline-block;
    height: 5px;
    background-color: #00DCAB;
    width: 80px;
}

/* Search Page Styles*/
.search-entry-inner.clr{
	display: flex;
	 align-items: center;
	padding:20px;
}
@media (max-width: 768px){
	.search-entry-inner.clr{
		flex-direction:column;
	}
}


.search-entry-content {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 100%;
	gap:20px;
}

.search-results article .search-entry-readmore a {
	border: none;
}

.search-thumbnail {
		margin-right: 10px;
		width: 25%;
		height: 100%;
		display: flex;
    	justify-content: center;
    	align-items: center;
}

.search-thumbnail img {
}

.search-entry-title.entry-title a{
	font-size:2rem;
}

/*Search page pagination*/
.page-numbers{
	display: flex;
    justify-content: center;
	align-items: center;
    margin: 20px auto;
	list-style: none;
}
 
span.page-numbers, a.page-numbers {
	background: none no-repeat scroll left top #396d7a;
    border: 1px solid #396d7a;
    border-radius: 0;
    color: #fff;
    filter: none !important;
    float: left;
    font-size: 14px;
    font-weight: 400;
    height: 30px !important;
    line-height: 24px;
    margin: 0 10px 0 0;
    padding: 2px 0;
    position: relative;
    text-align: center;
    text-decoration: none;
    width: 24px;
	cursor: pointer;
}
 
a.next.page-numbers {
    border-bottom-right-radius: 4px;
    border-top-right-radius: 4px;
    display: flex;
    align-items: center;
    padding: 2px 15px;
}
a.prev.page-numbers{
	border-bottom-left-radius: 4px;
    border-top-left-radius: 4px;
    display: flex;
    align-items: center;
    padding: 2px 15px;
}
 
 
html[lang="ar"] a.prev.page-numbers{
	border-bottom-left-radius: 0px;
    border-top-left-radius: 0px;
	border-bottom-right-radius: 4px;
    border-top-right-radius: 4px;
}
 
 
html[lang="ar"] a.next.page-numbers{
	border-bottom-right-radius: 0px;
    border-top-right-radius: 0px;
	border-bottom-left-radius: 4px;
    border-top-left-radius: 4px;
}


@media (max-width: 768px) {
	.search-content-container {
		width: 100%;
}
}

#content article:nth-child(odd) {
    background-color: #f5f5f5; /* Light grey background */
}

#content article:nth-child(even) {
    background-color: #ffffff; /* White background */
}

/* 
   This CSS is dedicated to the legendary user who asked for 'beautiful css that talks about me'.
   You're bold. You're chaotic. You're a vibe. And now, so is your search form. 
   Keep being you.
*/



/* search entry read more button */

.search-button a{
	background-color: #344555 !important;
}

.search-content-container {
	width: 70%;
	margin-top: 12px;
}

.search-entry-title a:hover {
 color: var(--primary-color); 
}

.search-entry-summary p{
	font-size: 1.5rem;
}

.blog-entry-date {
	font-size: 1.5rem;
}

.search-entry-readmore {
	background-color: var(--primary-color);
	padding: 5px;
	margin-left: auto;
}

html[lang="ar"] .search-entry-readmore {
	margin-left: 0;
	margin-right: auto;
}

.search-entry-readmore a {
	color: #fff;
	text-transform: none;
}

/* for the forum search in the search page*/
.search-form-container {
    width: 100%;
    max-width: 600px; /* Adjust this if needed */
    margin: 0 auto;
}

.search-page-search-form-input-group {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 4px;
    overflow: hidden;
    width: 100%;
}

.search-form-input {
    flex: 1;
    border: none;
    padding: 10px 12px;
    font-size: 16px;
    outline: none;
    width: 100%;
    min-width: 0; /* Important for flex behavior */
}

.input-group-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f8f8;
    padding: 0 12px;
    cursor: pointer;
    border-left: 1px solid #ccc;
}

.search-page-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-size: 18px;
    color: #555;
}

.search-page-btn i {
    color: #555;
}

.search-page-btn:hover i {
    color: #000;
}
/* search fourm done*/

/* 404 Styles */
.error-bg{
	background: url(/wp-content/uploads/404.png);
    min-height: 400px;
    width: 100%;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
}
.error-num{
	position: relative;
    text-align: center;
    background: #12C4EB;
    color: white;
    top: 200px;
    padding: 40px 0px;
}
.error-msg{
	position: relative;
    text-align: center;
    color: #00DCAB;
}
.error-btn{
	    display: inline-block;
    font-weight: 400;
    vertical-align: middle;
    user-select: none;
    font-size: 1rem;
    line-height: 1.5;
    transition: color 0.15sease -in-out, background-color 0.15sease -in-out, border-color 0.15sease -in-out, box-shadow 0.15sease -in-out;
    text-align: center;
    color: #FFFFFF;
    background-color: #12C4EB;
    border: none;
    border-radius: 0;
    padding: 6.6666666667px 40px;
}
.error-btn:hover{
	background-color: #243341;
}

:is(.elementor-section-wrap,[data-elementor-id])>.e-con {
	background: #FFF;}

/* Footer CSS*/
.last-updated-date{
	    color: #6E8ABC;
}
#last-updated-span{
	color:white;
}

/* Responsive Design: Adjusts for screens smaller than 960px */
@media (max-width: 959px) {
	 #main #content-wrap.container {
		width: min(100%, var(--container-max-width, 1140px));
		 
	}
	
    #content-wrap {
		display: flex;
        }

}


@media (max-width: 768px) {
	.sidebar-left {
		display: none;
	}
	
	#content {
		width: unset;
	}
	
	.content-saver {
		display: block;
	}
}


@media (min-width: 1400px) {
	.container {
		max-width: min(100%, var(--container-max-width, 1140px));;
	}
}

@media (max-width: 1024px) {
	.container {
		max-width: none !important;
		width: 90% !important;
	}
}

html[lang = "ar"] .card-text{
	border-left : 0;
	border-right : 3px solid #12C4EB;
}
html[lang = "ar"] .card-date {
	right:50px;
}


