/* Custom properties */
:root {
  --primary-color: #f2cb27;
  --secondary-color: #1a1c4a;
  --round-border: 1rem;
}

/************************************* Foundation *************************************/
.grid-container {
    max-width: 75rem;
}
[type=color], 
[type=date], 
[type=datetime-local], 
[type=datetime], 
[type=email], 
[type=month], 
[type=number], 
[type=password], 
[type=search], 
[type=tel], 
[type=text], 
[type=time], 
[type=url], 
[type=week], 
select,
textarea{
	font-size: 14px;
	background-color: #f5f5f5;
	color: #999;
	border: solid 1px #e5e5e5;
	box-shadow: none;
	border-radius: 0;
}
aside [type=color], 
aside [type=date], 
aside [type=datetime-local], 
aside [type=datetime], 
aside [type=email], 
aside [type=month], 
aside [type=number], 
aside [type=password], 
aside [type=search], 
aside [type=tel], 
aside [type=text], 
aside [type=time], 
aside [type=url], 
aside [type=week], 
aside select,
aside textarea{
	background: #fff;
}
textarea{
	color: #cacaca;
}
textarea:focus{
	color: inherit;
}
.show-for-sr, .show-on-focus{
	right: 0;
}
.wpcf7 br{
	display: none
}
.button{
	background: var(--primary-color)
}
.button:hover,
.button:focus{
	background: var(--secondary-color);
}
.button.register{
	margin: 10px 0; 
	font-size: 0.875rem;
	font-weight: bold;
	border-radius: var(--round-border);
	padding: 7px 29px;
}
.button.register:hover{
	animation-name: pulse;
	animation-duration: 1s;
	animation-fill-mode: both;
}
/************************************* FontAwsome *************************************/
.fa-ul {
	margin-left: 0;
	padding-left: 0;
	margin-right: 2rem;
    padding-right: 0;
}
.fa-ul>li{
	padding-right: 1rem;
	margin-bottom: .75rem;
}
.fa-li {
	left: auto;
    right: -2em;
    width: auto;
    line-height: 1;
    border: solid 1px #898989;
    padding: 5px;
}
/************************************* General style *************************************/
* {
    unicode-bidi: embed;
}
body{
	background: #f5f5f5;
	color: #989898;
}
body, p{
  font-family: 'Droid Arabic Naskh', serif;
}

h1,h2,h3,h4,h5,h6,
#main_nav,
#mobile_navigation,
.button,
.unit-link{
  font-family: 'Droid Arabic Kufi', sans-serif;
}
.phone-number{
	direction: ltr;
}
a,a:focus{
	color: var(--secondary-color)
}
a:hover{
	color:var(--primary-color)
}
/************************************* Header *************************************/
.main-header-holder{
	position: relative;
	z-index: 3
}
.main-header-holder:before,
.main-header-holder:after {
    position: absolute;
    content: "";
    z-index: -3;
    height: 50px;
    width: 100%;
}
.main-header-holder:before{
	top: 0;
	background: var(--primary-color)
}
.main-header-holder:after{
	top: 50px;
	background: rgba(0,0,0,.5);
}

.main-header-holder .hotline{
	padding-right: 30px;
	border-right: solid 1px rgba(0,0,0,.17)
}
.main-header-holder .hotline img{
	margin: 7.5px 0;
	max-height: 35px;
}
#mobile_navigation{
	display: none;
    position: absolute;
    width: 100%;
    padding: 1rem 0;
    z-index: 3;
    background: var(--secondary-color);
}
#mobile_navigation a{
	color: #fff;
}
.menu-burger {
    position: relative;
    width: 40px;
    height: 40px;
    margin: 41px 0 0;
    border-radius: 0;
}
.menu-burger .burger {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 2px;
    background: #fff;
    display: block;
    z-index: 5;
    margin: -1px 0 0 -15px;
    -webkit-transform-origin: center;
    transform-origin: center;
    transition: all 277ms ease-in-out;
}
.menu-burger .burger:first-child {
    transform: translateY(-7px);
}
.menu-burger .burger:last-child {
    transform: translateY(7px);
}
.menu-burger.loc .burger {
    transform: translateY(0);
}
.menu-burger.loc .burger:first-child {
    transform: rotate(-45deg);
}
.menu-burger.loc .burger:nth-child(2) {
    opacity: 0;
}
.menu-burger.loc .burger:last-child {
    transform: rotate(45deg);
}
.social-share{
	margin: 1rem 0;
}
.social ul,
.social-share ul{
	margin: 0;
	line-height: 0;
}
.social li {
	border: solid 1px transparent;
	border-radius: 50%;
	padding: .3rem .2rem;
    margin-right: .2rem;
    background: rgba(0,0,0,.5);
    transition: all .2s;
}
.social-share li:not(:first-child) {
	border: solid 1px transparent;
	border-radius: 50%;
	padding: .3rem .2rem;
    margin-right: .2rem;
    background: rgba(0,0,0,.5);
	transition: all .2s;
	max-width: 27.58px;
}
.social a,
.social-share a{
	color: #fff
}
.social li:hover,
.social-share li:hover{
	background: transparent;
}
.facebook:hover{border-color: #3b5998;}
.facebook a:hover{color: #3b5998}
.twitter:hover{border-color: #1da1f2;}
.twitter a:hover{color: #1da1f2}
.google-plus:hover{border-color: #dd4b39;}
.google-plus a:hover{color: #dd4b39}
.youtube:hover{border-color: #ff0000;}
.youtube a:hover{color: #ff0000}
.instagram:hover{border-color: #833ab4;}
.instagram a:hover{color: #833ab4}
.linkedin:hover{border-color: #0077b5}
.linkedin a:hover{color: #0077b5}

.facebook-messenger:hover{border-color: #0084ff;}
.facebook-messenger a:hover{color: #0084ff}
.whatsapp:hover{border-color: #25d366;}
.whatsapp a:hover{color: #25d366}
.envelope:hover{border-color: var(--secondary-color);}
.envelope a:hover{color:var(--secondary-color)}
#logo{
	background: #fff;
	padding: 1rem 0;
	text-align: right;
}
#logo img{
	max-height: 90px;
}
#main_nav{
	margin-top: calc(14px/2);
	font-size: 0.875rem;
	font-weight: bold;
}
#main_nav a{
	color: #fff;
}
#main_nav a:hover,
#main_nav li.current-menu-item a{
	opacity: .5;
}
.dropdown.menu>li.is-dropdown-submenu-parent>a::after{
	border-color: var(--primary-color) transparent transparent;
}
.is-dropdown-submenu{
	background: rgba(0,0,0,.5);
}
/************************************* Slide door & search button *************************************/
#slide_door{display:none;}
#search_button{
	position: fixed;
	left: 0;
	top: 205px;
	border-radius: 0;
	font-size: 125%;
	z-index: 5;
}
.close-button, .close-button.medium{
	left: 1rem;
	right: auto
}
/************************************* Home slider *************************************/
#slider{
	position: relative;
	z-index: 2;
}
/* #slider .slide{
	background-size: cover;
	position: relative;
	height: calc( 100vh - 172px );
}
#slider .caption{
	background: rgba(0, 0, 0, 0.35);
	padding: 1.5rem;
	color: #fff;
	text-align: center;
	position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    max-width: 100%;
}
#slider .caption h1{
	color: var(--primary-color);
	font-weight: bold;
	font-size: 1.5rem;
}
#slider .caption p{
	font-size: 100%;
} */
/************************************* Internal page heads *************************************/

#page_head {
    background-size: cover;
    background-position: center;
	background-color: var(--primary-color);
    height: 180px;
	position: relative;
	overflow: hidden;
	z-index: -4;
}
#page_head h1,
#page_head h3{
	font-weight: bold;
    color: #fff;
    position: relative;
	text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.75);
	text-align: center;
    z-index: 5;
} 
#page_head h1 {
    padding-top: 70px;
}
#page_head h3{
    padding-top: 25px;
}
#page_head h1:after{
	content: '';
	width: 30px;
	height: 3px;
	background: #fff;
	position: absolute;
	bottom: -1rem;
	left: 50%;
	transform: translateX(-50%);
}
#page_head:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 130px;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,1) 100%);
    z-index: 4;
}
/************************************* Search *************************************/
#search{
	background: #fff;
	padding: 50px 20px;
}
/************************************* Content *************************************/

#content{
	padding: 75px 0;
	background: url('../img/shape.svg') bottom left no-repeat;
}
#content h3,
#content h4{
	position: relative;
	color: var(--secondary-color);
	font-weight: 400;
	margin-bottom: 3rem;
}
#content h3:after,
#content h4:after{
	content: '';
	width: 30px;
	height: 3px;
	background: var(--primary-color);
	position: absolute;
	bottom: -1rem;
	right: 0;
}
#content .card{
	border-radius: .375rem;
	border: none;
	background: #fff;
	color: #989898;
	box-shadow: 0px 2px 0px rgba(0,0,0,0.1);
	transition: all .3s ease;
}
#content .card:hover{
	box-shadow: 0px 0px 1px 0px rgba(0, 0, 0, 0.1);
}
#content .card figure {
	position: relative;
    overflow: hidden;
	backface-visibility: hidden;
} 
#content .card figure img {
	transform: scale(1.1);
	transition: all 277ms ease-in-out;
	min-width: 100%;
}
#content .card:hover figure img {
    transform: scale(1);
}
.sold {
    position: absolute;
    z-index: 999;
    left: -50px;
    top: -10px;
    background: red;
    color: #fff;
    padding: 15px 50px 10px;
    transform: rotate(-45deg);
}
#content .card-divider{
	background: #fff;
}
#content .card h5{
	color: var(--secondary-color);
	position: relative;
}
#content .card h5:before{
	content: '';
	position: absolute;
	right: -1rem;
	top: 50%;
	transform: translateY(-50%);
	width: 4px;
	height: 25px;
	background: var(--secondary-color);
}
#content .city_name .card-section{
	background: var(--secondary-color);
	padding: 50px 1rem;
}
#content .city_name a{
	color: var(--primary-color);
}
#content .city_name h4{
	font-weight: bold;
	margin: 0;
}
#content .city_name h4:after{
	display: none
}
#content .prospective-map{
	margin-bottom: 2rem
}
#content .prospective{
    border-radius: .375rem .375rem 0 0;
}
body.single-projects .acf-map{
	border-radius: 0 0 .375rem .375rem;
}
.card-divider.unit-type{
	padding: 0 1rem;
}
.unit-link{
	text-align: left;
}
.unit-link a{
	padding-top: .5rem;
	color: #9a9a9a;
}
.unit-icons,
.unit-link a{
	border-top: solid 1px #eee;
}
.unit-icons img{
	max-height: 32px;
	margin-bottom: .8rem
}
.indigobg{
	margin: 3.75rem 0;
	position: relative;
	z-index: 2;
}
.indigobg:before{
	position: absolute;
	top: 3.75rem;
	content: '';
	width: 100%;
	height: calc(100% - 6.5rem);
	background: var(--secondary-color) url(../img/shapeblue.svg) no-repeat left center;
	z-index: -1
}
.indigobg .container{
	background: #fff;
	padding: 72px 20px;
	box-shadow: 0px 15px 20px 0px rgba(0, 0, 0, 0.1); 
}
.indigobg h4{
	color: var(--secondary-color);
	margin-bottom: 1.75rem;
}
.acf-map{
	height: 100%;
	min-height: 235px;
	width:100%;
}
article.post-item,
article.post-item img{
	margin-bottom: 1rem;
}
article.post-item .button{
	margin-top: 1rem;
}
/************************************* Counter *************************************/
#counter{
	background: var(--secondary-color) url(../img/shapeblue.svg) no-repeat left center;
	/* background-image: url(../img/counterbg.jpg); */
	background-size: cover;
	padding: 35px 0;
	color: #fff;	
}
#counter h2{
	font-weight: bold;
	position: relative;
}
#counter h2:after{
	content: '';
	width: 30px;
	height: 3px;
	background: var(--primary-color);
	position: absolute;
	bottom: -.2rem;
	left: 50%;
	transform: translateX(-50%);
}
/************************************* Home content *************************************/
#home-content{
	margin-bottom: 75px;
}
.form-container{
	position: relative;
	padding: 90px 40px;
	background: #fff;
	box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.1); 	
}
.form-container:before{
	content: '';
	position: absolute;
	right: 0;
	top:-10px ;
	width: 100%;
	height: 10px;
	background: var(--primary-color)
}
.form-container h4{
	margin-bottom: .8rem;
	color: var(--primary-color)
}
/************************************* Timeline *************************************/
.timeline {
	margin: 30px auto;
	position: relative;
	transition: all 0.25s ease-in;
	width: 100%;
}
.timeline::before {
	background: linear-gradient(to bottom, rgba(152,152,152,1) 0%,rgba(245,245,245,1) 100%);
	content: '';
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
	width: 2px;
}
.timeline-card{
	position: relative;
	overflow: visible
}
.timeline-card .card-section{
	padding: 0 1rem;
}
.timeline-card .card-section img{
	margin-bottom: 1rem;
}
.timeline-card h5:before{
	display:none
}
.timeline-card:before{
	position: absolute;
    content: "";
    width: 20px;
    height: 20px;
    transform: rotate(45deg);
	background: white;
	top: 5px;
	box-shadow: 0px 0px 1px 0px rgba(0, 0, 0, 0.1);
    z-index: -1;
}
.timeline-item:nth-child(odd) .timeline-card:before{
    right: calc( 100% - 14px );
}
.timeline-item:nth-child(even) .timeline-card:before{
	left: calc( 100% - 14px );
}
/************************************* Footer *************************************/

#main_foot{
	position: relative;
	background: var(--secondary-color);
	padding: .8rem 0;
	font-size: 14px;
	color: #fff;
	text-align: center;
	z-index: 3
}
#main_foot p{
	font-size: 12px;
}
#main_foot img{
	max-height: 35px;
}
#main_foot a{
	color: #fff;
}
/************************************* Animate Itemas on Start *************************************/
.animated {
  visibility: hidden;
}
.visible {
  visibility: visible;
}
/************************************* WordPress Core *************************************/
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}
.gallery {
	margin-bottom: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-caption {
	display: block;
}


/* Text meant only for screen readers. */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
        white-space: nowrap;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000; /* Above WP toolbar. */
}



/* Small only */
@media screen and (max-width: 39.9375em) {
	.logo-holder{
		background: #fff;
		box-shadow: 0 5px 19px -5px rgba(0,0,0,.17);
	}
	.burger-holder{
		text-align: left;
	}
}

/* Medium and up */
@media screen and (min-width: 40em) {
	.main-header-holder .hotline img{
		max-height: 35px;
	}
	#logo{
		border-radius: 0 0 var(--round-border) var(--round-border);
		box-shadow: 0 20px 19px -5px rgba(0,0,0,.17); 
		border: solid 1px rgba(0,0,0,.07);
		padding: 1rem 1.5rem;
		margin-top: -50px;
		text-align: center;
	}
	#page_head,
	#slider {
		margin-top: -84px;
	}
	.is-dropdown-submenu{
		min-width: 170px;
	}
	#content .prospective {
		border-radius: 0 .375rem .375rem 0;
	}
	body.single-projects .acf-map {
		border-radius: .375rem 0 0 .375rem;
	}
	/* #slider,
	#slider .slide{
		height: calc( 100vh - 50px )
	} */
	.indigobg .container{
		padding: 72px 100px;
	}
	.timeline::before{
		left: 50%;
	}
	.timeline-item:nth-child(even) .grid-x{
		justify-content: flex-end;
	}
	#content .card figure img {
		max-height: 140px;
	}
	#main_foot{
		text-align: right;
	}
	#main_foot p{
		margin: 0
	}
	#main_foot .hotline{
		text-align: left;
	}
}

/* Medium only */
@media screen and (min-width: 40em) and (max-width: 63.9375em) {
	.menu .button, .menu a{
		padding: .7rem .45rem;
	}
	#page_head, #slider {
	    margin-top: -74px;
	}
	/* #slider .caption{
		transform: translate(-50%, -30%);
	} */
	#search .cell{
		padding-right: .9375rem;
		padding-left: .9375rem;
	}
}

/* Large and up */
@media screen and (min-width: 64em) {
	#logo img{
		max-height: 100px;
	}
	/* #slider .caption{
		width: 700px
	}
	#slider .caption h1{
		font-size: 3rem;
	}
	#slider .caption p{
		font-size: 125%;
	} */
	#page_head {
		height: 350px;	
	}
	#page_head h1 {
		padding-top: 150px;
	}
	#page_head:after {
		height: 200px;
	}
	#search{
		margin-left: 50%;
		padding: 0;
		bottom: 90px;
		border-radius: var(--round-border);
		position: absolute;
		z-index: 2;
		max-width: 60rem;
		overflow: hidden;
		transform: translateX(-50%);
	}
	#search *{
		margin: 0;
	}
	#search [type=number], 
	#search select{
		position: relative;
		background-color: #fff;
		border: none;
		border-right: solid 1px #d4d4d4;
	}
	#search .button{
		border-radius: 0;
	}
	#slide_door{
		display:block;
		float:left;
		height:500px;
		padding:0;
		width:400px;
		z-index:99999;
		position:fixed;
		left:-400px;
		top:205px;
		transition:all linear 0.5s;
	}
	#slide_door .icon{
		background: var(--primary-color);
		position:absolute;
		right:-45px;
		font-size: 1.5rem;
		color: #fff;
		top:0;
		padding: 7px 14.5px;
		border-radius: 0 var(--round-border) var(--round-border) 0;
	}
	#slide_door .icon svg{
		animation-name: shake;
		animation-duration: 1.5s;
		animation-fill-mode: both;
	}
	#slide_door .door_container{
		background: var(--primary-color);
		border:solid 3px var(--primary-color);
		position:relative;
		display:block;
	}
	#slide_door:hover{
		cursor:pointer;
		left:0 !important;
	}
}

/* Large only */
@media screen and (min-width: 64em) and (max-width: 74.9375em) {}