/**
* Theme Name: Astra-child
 * Template: astra
 
 */
  /* تنسيق لوحة الجانب */
   
#map-container {
    display: flex;
    flex-direction: row;
}

#maps {
    flex: 1;
    height: 400px; /* ارتفاع الخريطة يمكن تعديله حسب الحاجة */
    margin-right: 20px; /* تباعد من اليمين */
}

#info-box {
    flex: 1;
    background-color: #f9f9f9; /* لون خلفية معلومات المشروع */
    padding: 20px;
    border: 1px solid #ddd; /* حدود للتباين */
    box-shadow: 0 0 10px rgba(0,0,0,0.1); /* ظل لزيادة التميز */
}

    .content-title {
        font-size: 18px;
        font-weight: bold;
        margin-bottom: 10px;
    }

    .bodyContent {
        font-size: 14px;
    }

    .project-item {
        margin-bottom: 5px;
    }
/* write custom css after this line */
.map-container {
    display: flex;
    width: 100%;
    height: 100vh; /* يمكنك تعديل هذا حسب احتياجاتك */
}

.map {
    width: 70%;
    height: 100%;
}

.project-info {
    width: 30%;
    height: 100%;
    overflow-y: auto; /* لتتمكن من التمرير في حالة كان المحتوى طويلاً */
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background-color: #fff;
}

@font-face {
    font-family: 'Noor';
    src: url('fonts/Noor-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Noor';
    src: url('fonts/Noor-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Noor';
    src: url('fonts/Noor-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

body, button, input, textarea {
font-family: 'Noor', sans-serif !important;
}

a {
    color: #543884;
}

a:focus,input:focus,textarea:focus,button:focus{outline:none}

.ast-single-post .entry-content a, .ast-comment-content a:not(.ast-comment-edit-reply-wrap a) {
    text-decoration: none !important;
}

.wpcf7 input.wpcf7-form-control:not([type=submit]), .wpcf7 textarea.wpcf7-form-control {
    padding: 20px;
    border-radius: 0;
    background-color: #F6F6F6;
	border:none;
}

.wpcf7 form p {
    margin-bottom: 13px;
}


span.wpcf7-spinner {
    display: none;
}

.rtl .wpcf7 input[type="url"], .rtl .wpcf7 input[type="email"], .rtl .wpcf7 input[type="tel"] {
    direction: rtl !important;
}

.wpcf7 input.wpcf7-form-control:not([type=submit])::placeholder, .wpcf7 textarea.wpcf7-form-control::placeholder {
    font-size: 13px !important;
}

.wpcf7 textarea.wpcf7-form-control {
    height: 175px;
}

input#submit {
	color: #FFFFFF !important;
}

article .entry-meta {
    display: none;
}

nav.navigation.post-navigation {
    display: none;
}

#maps{
    width: 100%;
    height: 500px;
}



.infoBox {
    overflow: inherit !important;
    position: relative;
    border: 0;
    box-shadow: none;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
    background-color: #fff;
    color: #333;
    font-size: 18px;
    line-height: 33px;
    width: 250px !important;
    font-family: "GE_SS_Two", sans-serif;
    padding: 5px;
    border-radius: 5px;
    -webkit-box-shadow: 5px -1px 15px 5px rgba(196, 196, 196, 0.5);
    box-shadow: 5px -1px 15px 5px rgba(196, 196, 196, 0.5);
}

.infoBox>img {
    z-index: 5;
    padding: 3px 3px 0 0;
    width: auto !important
}

.infoBox:after,
.marker-content:after {
    content: ' ';
    height: 0;
    position: absolute;
    top: inherit;
    right: inherit;
    left: 50%;
    width: 0
}

.infoBox:after {
    border: solid transparent;
    bottom: -50px;
    border-width: 22px;
    border-top-color: #fff;
    -moz-transform: translate(-50%, 0);
    z-index: 0;
    -o-transform: translate(-50%, 0);
    -ms-transform: translate(-50%, 0);
    -webkit-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
    display: none;
}

.marker-content {
    background-color: #fff;
    padding: 10px;
    text-align: right;
}

.content-title{
    font-family: 'Noor';
}

.bodyContent {
    font-size: 13px;
    color: #9b9b9b;
    line-height: 20px;
}

.bodyContent p.project-item{
    color: #154593;
    border-top: 1px dashed #eee;
    margin-top: 5px;
    padding-top: 5px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 0;
    font-family: 'Noor';
}
.bodyContent p.project-item span{
    color: #555;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.bodyContent p.project-item a{
    background-color: #154593;
    width: 100%;
    text-align: center;
    border-radius: 5px;
    padding: 10px 0;
    color: #fff !important;
}
.bodyContent p.project-item a:hover{
    background-color: #40b9e4;
}
.bodyContent p {
    margin-bottom: 0;
}

.marker-content:after {
    border: solid transparent;
    bottom: -40px;
    z-index: 2;
    border-width: 20px;
    border-top-color: #fff;
    -moz-transform: translate(-50%, 0);
    -o-transform: translate(-50%, 0);
    -ms-transform: translate(-50%, 0);
    -webkit-transform: translate(-50%, 0);
    transform: translate(-50%, 0)
}