

/****بداية اعدادات اثبثاق الفورم ****/
.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  overflow-y: auto;
}


.popup {
  position: fixed;
  overflow-y: auto;
  padding: 20px;
  border-radius: 5px;
  max-width: 90%;
  max-height: 90vh;
  transition: all 0.3s ease-out;
  opacity: 0;
  transform: scale(0.8);
}

.popup.show {
  opacity: 1;
  transform: scale(1);
}
/* تخصيص شريط التمرير */
.popup::-webkit-scrollbar {
  width: 10px;
}

.popup::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.popup::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 10px;
}

.popup::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.close-btn {
  position: fixed; /* تغيير من sticky إلى absolute */
  /*top: 10px;*/
  top: 4px;
  right: 4px;
  background-color: #ff4d4d;
  color: white;
  border: none;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1; /* ضمان أن الزر يظهر فوق المحتوى */
}

form {
  display: flex;
  flex-direction: column;
}


#openPopupBtn {
  position: fixed;
  right: -100px; /* Start off-screen */
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  background-color: #2e4281;
  color: white;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  font-size: 16px;
  border: none;
  border-radius: 5px 5px 0 0;
  cursor: pointer;
  transition: right 0.3s ease-out;
  z-index: 1000;
}

#openPopupBtn:hover {
  right: -80px; /* Slide out a bit on hover */
  background-color: #4e67b8;
}

body.button-visible #openPopupBtn {
  right: -80px; /* Final position when visible */
}

/* New floating button styles */
#floatingOpenPopupBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #2e4281;
  color: white;
  padding: 15px 25px;
  text-align: center;
  text-decoration: none;
  font-size: 16px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  z-index: 1000;
  transition: background-color 0.3s ease;
}

#floatingOpenPopupBtn:hover {
  background-color: #4e67b8;
}
#popupContainer{
  margin-top: -169px;
  margin-right: -20px;
}




  /* Alert Styles */

  /*
  .alert {
    padding: 10px;
    background-color: #f44336;
    color: white;
    margin-bottom: 10px;
    display: none;
    
    animation: fadeOut 8s forwards;
  }


  
  

  .success-message {
    
    padding: 10px;
    background-color: #4CAF50;
    color: white;
    
    margin-bottom: 10px;
    display: none;
    animation: fadeOut 8s forwards;

    
    
  }

  
  @keyframes fadeOut {
    0% {
      opacity: 1;
    }
    90% {
      opacity: 1;
    }
    100% {
      opacity: 0;
    }
  }
    /***********************end check-box******************************/
	  
	

	  



	  .image {
		width: 300px;
		height: 300px;
		object-fit: cover;
		border-radius: 38px 18px 40px 0;
		position: relative;
		top: -60px; /* زيادة المسافة إلى 60 بكسل */
		left: center;
		border: 4px solid #2E4281;
		box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
		padding: 5px;
		background-color: #f2f2f2;
		margin-bottom: -40px; 
	  }


	  .text-excerpt {
		max-width: 400px !important; /* عرض الكرت الصغير */
		
		
		display: -webkit-box;
		-webkit-box-orient: vertical;
		overflow: hidden;
		text-overflow: ellipsis;
		cursor: pointer;
	  }
	  

	  .text-full {
		overflow: visible;
		text-overflow: initial;
		white-space: normal;
		max-width: none;
		
		cursor: pointer;
	  }
	  
	  .text-full:after {
		content: none;
	  }
	  

    /* Grid Layout */
    .requestcontainer {
        display: grid;
        grid-template-columns: repeat(2, 10fr);
        grid-gap: 20px;
        padding: 20px;
    }

    /* Individual Fields */
    .field {
        display: flex;
        flex-direction: column;
        position: relative;
        z-index: 2;
    }

    .field label {
        font-weight: bold;
        margin-bottom: 5px;
    }

    .field input {
        padding: 10px;
        border: 1px solid #ccc;
        border-radius: 4px;
    }

    /* Responsive Adjustments */
    @media (max-width: 768px) {
        .requestcontainer {
            grid-template-columns: 1fr;
        }
    }
    .logomain { 
        
  max-width: 200px;
  height: auto;
      }
      

  
    .shadow-bottom {
        box-shadow: 0 3px 5px rgba(0,0,0,0.2);
        position: relative;
        z-index: 10;
        
    justify-content: center;
    align-items: center;
    }
    .align{
        
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    }
    .request{
        background-color: #c6d0f0;
        max-width: 1000px;
        position: sticky;
        
        margin: 150px auto;
    }
.backgtopform{
  width: auto;
  background-color: #2E4281;  
  border-color: #2E4281; /* لون الحدود أسود */
  border-style: solid; /* نمط الحدود */
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3); /* ظل أكثر عمقًا */
  border-top-right-radius: 40px; /* زاوية مقطوشة */
  border-top-left-radius: 10px; /* زاوية مقطوشة */
  
  padding-left: 3px;

}
.fontbackgtopform{
    
    color: #f3f4f7;
    margin: 0;
    font-size: 100%;
    
    padding-top: 10px;
    padding-left: 0px;
    
    
  text-align: left;
}
.sendformo {
    font-size: 15px;
    font-weight: bold;
    color: #ffffff !important;
    width: 100%;
    height: 60px;
    text-align: center;
    border: none;
    margin-top: 1px;    
    background-color: #2E4281; /* لون الخلفية */
    padding: 6px 15px; /* المسافة الداخلية */
    text-transform: uppercase; /* تحويل النص إلى أحرف كبيرة */
    transition: background-color 0.3s ease; /* انتقال لون الخلفية */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); /* إضافة ظل */
    cursor: pointer; /* تغيير مؤشر الماوس */
    
    }

    .check-form{
      display:grid;
      
    }

.form1{
    
 
    padding-top: 10px;
    padding-left: 10px;
    font-size: 16px;
    color: #999;
    font-style: italic;
}

  .imguptitle{
    
  padding-left: 700px;
  
  height:80px; 
  
  vertical-align: middle;

  }
  #new-form {
    background: transparent url(/media/images/demolish.jpg) ;
}



/***********************************************************************/


.demolishdescription{
  width: auto;
  background-color: #fff;
  height: auto;
  

}


.demolishdescription h2{
  text-align: center;
}
/*
.demolishdescription p{
  text-align: center;
}
*/


.col-lg-6.d-flex.flex-column.align-items-start {
  justify-content: center;
}



.carousel-item img {
  height: 50vh;
  object-fit: cover;
}




.col-lg-6 {
  flex: 0 0 50%;
  max-width: 50%;
}




p {
  margin-bottom: 30px;
}
/*
.btn-primary {
  justify-content: center;
  background-color: #2E4281;
  border-color: steelblue;
  color: #fff;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 4px;
  cursor: pointer;
  margin-left: 50%;
}
*/



/**********************************************************************/
.form-group {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
  }
  
  .form-check-label {
  /*  display: ruby;*/
    align-items: center;
    font-size: 0.875rem;
    color: #495057;
    margin-left: 10px;
    cursor: pointer;
  }
    
  .form-check-label a{
    text-decoration: none;
  }
  
  .form-check-input {
    position: relative;
    margin-right: 0.5rem;
    width: 1.25rem;
    height: 1.25rem;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  }
  
  .form-check-input:checked {
    background-color: #007bff;
    border-color: #007bff;
  }
  
  .form-check-input:focus {
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
  }