/* global colours*/

:root {
    --primary-color: #396d7a;
    --secondary-color: #c39d31;
}
html{
	font-size:10px;
}

/* global fonts */
body {
	font-family: 'OpenSansRegular', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
	color: #636465;
}

html[lang="ar"] body {
	font-family: 'Droid Arabic Kufi', 'Exo 2', Tahoma, Arial, Helvetica, sans-serif;
}


h1, h2, h3, h4, h5, h6 {
	font-family: 'OpenSansRegular', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
	margin-bottom:0px;
}

html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="ar"] h4,
html[lang="ar"] h5,
html[lang="ar"] h6 {
    font-family: 'Droid Arabic Kufi', 'Exo 2', Tahoma, Arial, Helvetica, sans-serif;
}

p {
	font-family: 'OpenSansRegular', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
	font-weight: normal;
	font-size: 1.5rem;
	margin:0px;
	color: #515151;
	line-height: 1.6;
}

html[lang="ar"] p {
	font-family: 'Droid Arabic Kufi', 'Exo 2', Tahoma, Arial, Helvetica, sans-serif;
}

li {
    font-family: 'OpenSansRegular', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
	color: #414141;
	font-weight: normal;
	font-size: 1.5rem;
}


html[lang="ar"] li{
	font-family: 'Droid Arabic Kufi', 'Exo 2', Tahoma, Arial, Helvetica, sans-serif;
}


html[lang="ar"] a {
	font-family: 'Droid Arabic Kufi', 'Exo 2', Tahoma, Arial, Helvetica, sans-serif;
}

span {
	font-family: 'OpenSansRegular', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
	font-size: 1.5rem;
}

html[lang="ar"] span {
	font-family: 'Droid Arabic Kufi', 'Exo 2', Tahoma, Arial, Helvetica, sans-serif;
}

h1 {
	font-size: 2.0rem;
	font-weight: 600;
}

h2 {
	font-size: 1.8rem;
	font-weight: 600;
	color:var(--primary-color);
}

h3 {
	font-size: 1.6rem;
	font-weight: 600;
		color:var(--primary-color);
}

h4 {
	font-size: 1.4rem;
	font-weight: 600;
}

h5 {
	font-size: 1.2rem;
	font-weight: 600;
}

h6 {
	font-size: 1.0rem;
	font-weight: 600;
}

/* Links CSS */

a {
	font-family: 'OpenSansRegular', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
	text-decoration: none !important;
}

.FooterLink a{
    color:white;
}
.FooterLink a:hover{
    text-decoration: underline;
}

.pages-list p{
	line-height:1.6;
	font-size:1rem;
	margin-bottom:10px;
}
.pages-list a{
	color: #187193;
}
.pages-list a:hover{
    text-decoration: underline;
    color: #085572;
}
/* End of Links CSS */

/* logo style in homepage */
.homePageLeftLogo {
    background: transparent url('/wp-content/uploads/leftlogo.png') no-repeat left top scroll;
    width: 61px;
    height: 205px;
    display: block;
}

html[lang="ar"] .homePageLeftLogo {
	background: transparent url('/wp-content/uploads/leftlogo-arabic.png') 
}

.homepage-float-left {
    position: absolute;
    left: 0;
    margin-top: 100px;
    z-index: 9;
}

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


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

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

/* Bread crumbs Styles*/
.breadcrumb {
    padding: 3px 10px;
    background-color: var(--primary-color);
	color:white;
	display:flex;
	justify-content:center;
}

.site-breadcrumbs{
	position:unset;
	margin-top:auto;
	color:white;
	font-size:1.3rem;
	float: right;
}

.site-breadcrumbs ol {
	list-style: none;
	display: flex;
}

.site-breadcrumbs a {
	color: #fff;
	margin: 0 5px;
}

.breadcrumb-sep {
	color: white;
}

/* Header Title Image */
.biggest-container {
	width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
	clear: both;
    background: transparent url(/wp-content/uploads/container_bg.jpg) no-repeat left top scroll;
    background-size: cover;
}

.background-div {
    background: transparent url(/wp-content/uploads/inner-banner.jpg) no-repeat center center;
    background-size: cover; 
    width: 100%;
    display: flex;
    justify-content: center; 
    height: 110px;
    align-items: center;
    border-bottom: 4px solid #187093;
    position: relative;
}

.inner-main-title {
    background: #fff;
    border-top: 4px solid #c39d31;
    position: absolute;
    bottom: -4px;
    left: 0px;
    width: fit-content;
		min-width: 250px;
    text-align: center;
}

html[lang="ar"] .inner-main-title {
    text-align: right;
		right: 0;
}

@media (max-width: 768px) {
	.inner-main-title {
		min-width: 100px;
	}
	
	.page-heading h2{
		font-size: 1.6rem;
	}
}

.page-heading {
  	background: linear-gradient(to bottom, #fffbf4 0%, #fefdf0 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fffbf4', endColorstr='#fefdf0',GradientType=0 );
	color: #2d4e62;
	margin-bottom: 15px;
	padding: 20px 15px;
	text-align: left;
	font-weight: 300;
}

html[lang="ar"] .page-heading {
	text-align: right;
}

.page-heading h1 {
	font-size: 32px;
	font-weight: 300;
}

@media only screen and (min-width: 320px) and (max-width: 767px) {
    .page-heading h1 {
        font-size: 26px;
    }
}

/* Page Content */
#content-wrap {
    display: flex;
/*     width: 100%; */
	flex-direction:row;
	min-height: 500px;
	padding-top: 20px;
}

.content-saver {
    width: 100%;
	display: flex;
	flex-direction: column;
	padding: 30px 15px;
	padding-top: 0;
}

.sidebar-left {
	padding-right: 20px;
	min-width: 250px;
}

html[lang="ar"] .sidebar-left {
	padding-right: 0;
	padding-left: 20px;
}

#content {
	background: #fff;
    padding: 20px 15px;
    border: 1px solid #efecde;
}

/* Responsive Design: Adjusts for screens smaller than 960px */
@media (max-width: 959px) {
	 #main #content-wrap.container {
		width: 90% !important;
	}
	
    #content-wrap {
		display: flex;
        flex-direction: row;
    }
}

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

@media (min-width: 992px) {
    .container {
        width: 970px;
    }
}

@media (min-width: 1200px) {
	.container {
		max-width: 1170px;
		width: 1170px;
	}
}


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

/* Single Post CSS */

.news-events-header h3 {
	font-size: 20px;
    color: #396d7a;
    margin: 0;
    font-weight: 700;
}

.news-events-thumbnail img{
	float: left;
	width: 250px;
	height: auto;
	margin-right: 20px;
}

html[lang="ar"] .news-events-thumbnail {
	float: right;
	margin-right: 0;
	margin-left: 20px;
}

@media (max-width: 768px) {
	.news-events-thumbnail {
		width: 100%;
	}
	
	.news-events-thumbnail img {
		width: 100%;
		height: auto;
	}
}

.news-events-date {
	font-size: 20px;
    color: #396d7a;
    margin-top: 0;
	font-weight: 300;
	margin-bottom: 10px;
}

.news-events-hr {
	border-color: #999;
	margin-top: 20px;
    margin-bottom: 20px;
    border: 0;
    border-top: 1px solid #eee;
}

.posts-big-div{
	display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
}

/* End of Single Post CSS */

/* End of Layout CSS */


/* Start of Accordion CSS */

.accordions .accordions-head-title {
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    margin: 0 10px;
    width: 100%;
}


.accordions .accordion-content p {
    border-bottom: 1px dotted #333;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.accordions .accordion-content p:last-child {
	border-bottom: none;
	border-radius: 0;
}

#accordions-1025 .accordions-head:hover {
    outline: none;
    background-image: url(/wp-content/uploads/left-menu-bg.png) !important; 
    background-repeat: no-repeat;
    background-size: cover;
	  border-radius: 0px;

}

#accordions-1025 .ui-state-active {
    border: none;
    background-image: url(/wp-content/uploads/left-menu-bg.png) !important;
    background-size: cover !important;
	color: #FFF;
	border-radius: 0px;
	background-repeat: no-repeat !important;
}
#accordions-1026 .accordions-head:hover {
    outline: none;
    background-image: url(/wp-content/uploads/left-menu-bg-ar.png) !important; 
    background-repeat: no-repeat !important;
    /* object-fit: contain; */
    background-size: cover !important;
}

#accordions-1026 .ui-state-active {
    border-bottom: none;
    background-image: url(/wp-content/uploads/left-menu-bg-ar.png) !important;
	background-repeat: no-repeat !important;
    background-size: cover !important;
	border-radius: 0px;
	color: #FFF;
}
   .accordions .accordions-head-title { background-image: url(/wp-content/uploads/left-menu-theme.png);
    background-size: cover;
    color: #FFF;
    background-repeat: no-repeat;
    background-size: 15px 15px;
    padding-left: 25px;	 
}


 .accordions .accordions-head-title:hover { background-image: url(/wp-content/uploads/left-menu-light.png);
    background-size: cover;
    color: #FFF;
	border-radius: 0px;
    background-repeat: no-repeat;
    background-size: 15px 15px;
    padding-left: 25px;	
}

 html[lang="ar"] .accordions .accordions-head-title:hover { background-image: url(/wp-content/uploads/left-menu-light-ar.png); !important; 
	 border-radius: 0px;
}

 .accordions .accordions-head-title:active { background-image: url(/wp-content/uploads/left-menu-light.png) !important;
    background-size: cover;
    color: #FFFFFF !important;
    background-repeat: no-repeat;
    background-size: 15px 15px;
    padding-left: 25px;		 
}

html[lang="ar"] .accordions .accordions-head-title:active { background-image: url(/wp-content/uploads/left-menu-light-ar.png) !important;
    background-size: cover;
    color: #FFFFFF !important;
    background-repeat: no-repeat;
    background-size: 15px 15px;
    padding-left: 25px;		 
}

html[lang="ar"]  .accordions .accordions-head-title { background-image: url(/wp-content/uploads/left-menu-theme-ar.png);
    background-position: right center;
    background-size: 15px 15px;
    padding-right: 25px;
}

.accordions .accordion-content p::before {
    content: "\f138";
    font-family: "Font Awesome 5 Free";
    font-size: 14px;
    font-weight: 600;
    color: inherit;
    margin-right: 10px;
    margin-left: 10px;
}

html[lang="ar"] .accordions .accordion-content p::before {
    content: "\f137";
    font-family: "Font Awesome 5 Free";
    font-size: 14px;
    font-weight: 600;
    color: inherit;
    margin-right: 10px;
    margin-left: 10px;
}

/* Active or Clicked State */
.accordions .ui-state-active .accordions-head-title, 
.accordions .accordions-head-title:active {
    background-image: url(/wp-content/uploads/left-menu-light.png)!important; /* Remove any background image */
    color: #FFFFFF !important; 
    padding-left: 25px;
	border-bottom: none !important;
}
html[lang="ar"] .accordions .ui-state-active .accordions-head-title, 
.accordions .accordions-head-title:active {
    background-image: url(/wp-content/uploads/left-menu-light-ar.png)!important; /* Remove any background image */
    color: #FFFFFF !important; 
    padding-left: 25px;
	border-bottom: none !important;
}
/* End of Accordion CSS */


/** 404 page CSS **/
.error-page-container {
	display: flex;
	margin: 20px auto;
	line-height: 1.4;
}

.error-page-container h2 {
    color: #0072C6;
	font-size: 30px;
	font-weight: 300;
}

.error-page-container li {
	list-style: none;
}

.error-page-container p {
	line-height: 1.6;
}
/** End of 404 page CSS **/

/** Scrapped page CSS **/

.scrapped-container {
	font-size: 1.5rem;
	color: #343434;
}

.scrapped-container p {
	margin-bottom: 10px;
}

.scrapped-container img {
	font-size: 16px;
}

.scrapped-container a {
	color: #396d7a;
}

.scrapped-container table {
	border-collapse: collapse;
	font-size: 1.5rem;
}

.scrapped-container .ms-rteTableHeaderRow-2 {
	background-color: #444;
    color: #fff;
}

.scrapped-container table td {
	padding: 7px 5px 6px;
}

.ms-rteTableHeaderRow-2 p {
	color: #fff;
	text-align: left;
}

.scrapped-container tr {
	border-top: 1px solid #92c0e0;
    border-bottom: 1px solid #92c0e0;
}

.ms-rtestate-field p, p.ms-rteElement-P {
    margin: 0px 0px 10px 0px;
    line-height: 1.6;
}

#faq .question li a {
    color: #ad7c27;
}

#faq h2 {
    font-size: 20px;
    text-transform: uppercase;
    color: #396d7a;
	font-weight: 300;
	margin-bottom: 10px;
}

#faq ul.list {
    list-style: none;
    margin: 0 0 10px;
    padding: 0;
}

#faq ul.list li {
    padding-left: 10px;
    margin-bottom: 5px;
}

#faq ul.list li:before {
    top: 0;
    color: #ad7c27;
    font-size: 18px;
    content: "\f105";
    font: normal normal normal 16px / 1 FontAwesome;
    left: 0px;
}

html[lang="ar"] #faq ul.list li:before {
	content: "\f104";
}

#faq .answer {
    clear: both;
    padding: 0 0 20px 10px;
    position: relative;
	font-size: 15px;
    color: #343434;
    text-align: justify;
}
/** End of Scrapped page CSS **/


/** Search result page CSS **/

.search-content article {
	min-height: 200px;
	margin-bottom: 20px;
}


.search-entry-inner {
	display: flex;
}

.search-entry-content {
	width: 100%;
}

.search-thumbnail {
	width: 300px;
	min-width: 300px;
	margin-right: 15px;
}

html[lang="ar"] .search-thumbnail {
	margin-left: 15px;
	margin-right: 0;
}

.search-thumbnail img {
	width: 100%;
	height: auto;
}

@media (max-width: 1024px) {
	.search-entry-inner {
		display: block;
	}
	.search-thumbnail {
		width: 100%;
	}
}

@media (max-width: 360px) {
	.search-thumbnail img {
		width: 80%;
	}
}

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

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

.search-entry-readmore {
	float: right;
	font-size: 1.5rem;
}

html[lang="ar"] .search-entry-readmore {
	float: left;
}

/** End of Search result page CSS **/

/* Projects CSS */

.project-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
}
.project-carousel-slide {
    display: none;
    width: 100%;
}
.project-carousel-slide img {
    width: 100%;
	max-width: 800px;
    height: auto;
}
.project-carousel-controls {
	justify-content: center;
	display: flex;
	gap: 10px;
}

html[lang="ar"] .project-carousel-controls {
	flex-direction: row-reverse;
}

.prev-slide, .next-slide {
	direction: ltr;
	height: 24px;
	width: 24px;
	line-height: 24px;
	vertical-align: middle;
	color: #fff;
	background: #396d7a;
	font-size: 12px;
	border-radius: 30px;
	border: none;
}

/* End of Projects CSS */


/*  start of search result style*/

.post-item {
	display: flex;
    align-items: flex-start;
    border-bottom: solid 1px #e5e5e5;
    /* height: 200px; */
    width: 100%;
    margin: 0 0 20px 0;
    padding: 30px 0;
}

.post-thumbnail {
	margin-right: 20px;
    /* width: 25%; */
    float: left;
    position: relative;
    text-align: center;
    cursor: default;
    padding-left: 15px;
	padding-right:0;
    aspect-ratio: 240 / 185;
}

.post-thumbnail img{
    max-height: 185px;
    height: auto;
    width: 100%; 
    aspect-ratio: 240 / 185;
    overflow: hidden;
}

html[lang="ar"] .ajax-post-thumbnail {
	margin-right: 0;
	margin-left: 20px;
	padding-right: 15px;
	padding-left:0;
}

.post-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
	height: 100%;
	padding-right: 15px;
    padding-left: 15px;
}
.post-title a {
    text-decoration: none;
	text-transform: capitalize !important;
	color: #396d7a;
	font-weight: 300;
	font-size: 1.8rem;
}

html[lang="ar"] .ajax-post-title a{
	font-weight: 600;
}

.post-title a:hover{
	text-decoration: underline !important;
}

.post-title {
    margin: 10px 0px !important;
}


.post-content p {
    margin-bottom: 10px !important;
		font-size: 1.5rem;
	text-align: justify;
    color: #515151;
	width: 95%;
}

.post-excerpt {
    margin: 0 0 10px;
		
}

.post-date {
    margin: 0px 0 0 0 !important;
    display: block;
    color: #6E83AA;
	font-weight: 300 !important;
	font-size: 1.5rem;
}


.read-more-button {
	display: flex;
	justify-content: center;
    background: #396d7a;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 14px;
    border: none;
    font-weight: 400;
    padding: 4px 10px !important;
    border-radius: 0;
    white-space: nowrap;
    margin: 10px 0 0 0;
    height: auto;
    min-width: auto;
	max-width: 90px;
    text-shadow: none;
    line-height: 1.42857143;
    
}

.read-more-button a{
	color: white;
	text-decoration: none !important;
	font-size: 1.3rem;
	font-weight: 600;
}

html[lang="ar"] .read-more-button {
	margin-left: 0;
	margin-right: auto;
}




/* Responsive Styles */
@media (max-width: 550px) {

	.oceanwp-pagination .page-numbers .page-numbers{
		width: 15px !important;
	}

}

@media (min-width: 551px) and (max-width: 900px) {

	.oceanwp-pagination .page-numbers .page-numbers{
		width: 25px !important;
	}

}

@media only screen and (max-width: 768px) {
    .post-item {
/*         display: block; */
/* 			justify-self: center !important; */
        height: auto !important;
/*         max-height: none !important; */
/* 				margin:3% !important; */
		
		justify-content: center;
        display: flex;
        align-content: center;
        flex-wrap: wrap;
        flex-direction: column;
    }
    
    .post-thumbnail {
        width: auto;
        margin-bottom: 20px;
        max-height: 285px !important;
/* 				margin-right:0px !important; */

    }
    
    .post-thumbnail img{
/*         width: auto; */
		max-height: 285px !important;
		}

    .post-title {
        margin-bottom: 10px; 
				line-height: 1.2 !important;
				font-size: 22px;
    }
	.post-date {
		 	margin-top: 15px !important;
      margin-bottom: 10px; 	
    }

    .read-more-button {
        display: block;
        margin-bottom: 10px;
        margin-top: 5px !important;
    }
	
}


.oceanwp-pagination .page-numbers .page-numbers {
    color: #1b2431;
    font-weight: 200;
    height: 34px !important;
    width: 40px; 
    background: #fff;
    padding: 2px 7px;
    margin: 0;
    white-space: nowrap;
    text-decoration: none;
    transition: background-color .3s, border-color .3s;
    border: 1px solid #ddd !important;
    float: left;
    position: relative;
}

.oceanwp-pagination .page-numbers .page-numbers:hover {
    background-color: #ddd;
    border-color: #ddd;
    color: #396d7a !important;
    text-decoration: underline !important;
    cursor: pointer;
}

.oceanwp-pagination .page-numbers .current {
    color: #fff;
    background-color: #396d7a !important;
    border-color: #396d7a !important;
    cursor: default;
}

.oceanwp-pagination .page-numbers .current:hover {
    background-color: #ddd !important;
}

.oceanwp-pagination .page-numbers .next, 
.oceanwp-pagination .page-numbers .prev {
    color: #565a56;
    height: 26px !important;
    border-color: #ddd;
    background: none;
    box-shadow: none !important;
    border: 1px solid #ddd !important;
    padding: 6px 15px;
}


.oceanwp-pagination .page-numbers .prev {
	float: left;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.oceanwp-pagination .page-numbers .next {
	float: right;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

html[lang="ar"] .oceanwp-pagination .page-numbers .prev {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
	border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
}

html[lang="ar"] .oceanwp-pagination .page-numbers .next {
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
	border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
}

.oceanwp-pagination .page-numbers .prev:hover,
.oceanwp-pagination .page-numbers .next:hover {
    background-color: #ddd !important;
    border-color: #ddd !important;
    color: #396d7a !important;
    text-decoration: underline;
}

.oceanwp-pagination ul{
	display: flex;
	justify-content: center;
	list-style: none;
	margin: 20px 0;
	padding: 0;
}

.page-numbers a,
.page-numbers span:not(.elementor-screen-only),
.page-links span {
		display: flex;
		align-items: center;
		justify-content: center;
    	white-space: nowrap;
		font-size: 1.2rem !important;
		min-height: 0px;

}


/*  end of search result style*/


.last-updated-date, .total-visitors-shortcode {
	color: white;
}

.total-visitors-shortcode {
	font-size: 13px;
}
