/*
Theme Name: pritisarealty Child
Template: Divi
Version: 1.0.0
Description: Smart. Flexible. Beautiful. Divi Child is the most powerful child theme in our collection.
*/

#logo{
	    max-height: 85% !important;
}

@media only screen and (max-width: 767px) {
  .custom-mobile-two-cols.et_pb_row .et_pb_column {
    width: 50% !important;
    float: left !important;
    clear: none !important;
  }
}

.custom-mobile-two-cols.et_pb_row {
  overflow: hidden;
}

@media (max-width: 767px) {
  .custom-mobile-padding-blurb.et_pb_blurb {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
}

@media (max-width: 980px) {
  .custom-mobile-padding.et_pb_section {
    padding: 0 !important;
  }
}

/* Target the specific Contact Form 7 form */
/* Contact Form Container (transparent background, no shadow) */
#wpcf7-f254-o1 {
  background: transparent; /* transparent background */
  padding: 20px;
  max-width: 450px;
  margin: 0 auto;
  box-shadow: none;
}

/* Input fields - left aligned */
#wpcf7-f254-o1 input[type="text"],
#wpcf7-f254-o1 input[type="tel"] {
  width: 100%;
  margin: 6px 0; /* reduced spacing */
  padding: 12px 14px; /* slightly smaller */
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #f9f9f9;
  font-size: 16px;
  color: #222; /* darker text */
  display: block;
  text-align: left; /* left align */
}

#wpcf7-f254-o1 input[type="text"]:focus,
#wpcf7-f254-o1 input[type="tel"]:focus {
  border-color: #f9c400;
  background: #fff;
  outline: none;
}

/* Submit Button - centered */
#wpcf7-f254-o1 p:last-of-type {
  text-align: center; /* center only button */
  margin-top: 10px; /* reduce top space */
}

#wpcf7-f254-o1 input[type="submit"] {
  background: #f9c400;
  color: #000;
  padding: 12px 32px; /* slightly reduced */
  font-size: 18px;
  font-weight: bold;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
}

#wpcf7-f254-o1 input[type="submit"]:hover {
  background: #ffdb4d;
}

/* popup theme */
/* Popup background with image + overlay */
.pum-theme-229 .pum-container,
.pum-theme-default-theme .pum-container {
    position: relative;
    padding: 18px;
    border-radius: 0;
    border: none;
    box-shadow: 1px 1px 3px 0px rgba(2, 2, 2, 0.23);

    background: url("http://pritisarealty.com/wp-content/uploads/2025/09/backgroundimage.png") no-repeat center center;
    background-size: cover;
    color: #222; /* darker text */
}

/* Overlay layer */
.pum-theme-229 .pum-container::before,
.pum-theme-default-theme .pum-container::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255, 255, 255, 0.5); /* light overlay instead of black */
    z-index: 0;
    border-radius: 0;
}

/* Ensure form content stays above overlay */
.pum-theme-229 .pum-container > *,
.pum-theme-default-theme .pum-container > * {
    position: relative;
    z-index: 1;
}
.pum-theme-229 .pum-content,
.pum-theme-default-theme .pum-content {
    color: #222 !important; /* dark text */
    font-family: inherit;
    font-weight: 400;
    font-style: inherit;
}

/* Remove bottom margin from CF7 paragraph wrappers */
#wpcf7-f254-o1 p {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Make popup background transparent */
.pum-theme-229,
.pum-theme-default-theme {
    background: transparent !important;
    box-shadow: none !important;
}

/* Allow page scroll when popup is open */
html.pum-open,
body.pum-open {
    overflow: auto !important;
    position: static !important;
}

/* Hover state for popup button */
.popup-button:hover {
  color: #ffc107 !important;
  border-color: #ffc107 !important;
}


.divi8_image_carousel .carousel_content img {
    width: 100% !important;
    height: 250px !important;   /* adjust height as needed */
    object-fit: cover !important; /* crops image neatly */
    display: block;
}


.custom-padding-row .et_pb_blurb.et_pb_blurb {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
 }
 
 
 
/* ===== Contact Form 7 – Form instance: wpcf7-f332-p136-o2 ===== */
#wpcf7-f332-p136-o2 { width: 100%; }

/* Layout & spacing – default: single column */
#wpcf7-f332-p136-o2 .wpcf7-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

#wpcf7-f332-p136-o2 .wpcf7-form p {
  margin: 0;
}

#wpcf7-f332-p136-o2 .wpcf7-form label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #111827; /* dark gray */
}

/* Inputs & selects full width */
#wpcf7-f332-p136-o2 .wpcf7-form .wpcf7-form-control {
  width: 100%;
  box-sizing: border-box;
}

/* Field styling */
#wpcf7-f332-p136-o2 input.wpcf7-text,
#wpcf7-f332-p136-o2 input.wpcf7-tel,
#wpcf7-f332-p136-o2 select.wpcf7-select {
  padding: 12px 14px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  background: #fff;
  font-size: 16px;
  line-height: 1.4;
  transition: border-color .2s ease, box-shadow .2s ease;
}

#wpcf7-f332-p136-o2 input.wpcf7-text:focus,
#wpcf7-f332-p136-o2 input.wpcf7-tel:focus,
#wpcf7-f332-p136-o2 select.wpcf7-select:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .15);
}

/* Submit button */
#wpcf7-f332-p136-o2 input.wpcf7-submit {
  width: 100%;
  border: 0;
  border-radius: 9999px; /* pill */
  padding: 12px 18px;
  font-size: 16px;
  font-weight: 700;
  background: #2563eb;
  color: #fff;
  cursor: pointer;
  transition: all .2s ease;
  box-shadow: 0 6px 15px rgba(37, 99, 235, .25);
}

#wpcf7-f332-p136-o2 input.wpcf7-submit:hover {
  filter: brightness(1.05);
}

#wpcf7-f332-p136-o2 input.wpcf7-submit:active {
  transform: translateY(1px);
}

/* Two columns ONLY for desktop/tablet */
@media (min-width: 768px) {
  #wpcf7-f332-p136-o2 .wpcf7-form {
    grid-template-columns: 1fr 1fr;
  }
  /* first two fields side by side */
  #wpcf7-f332-p136-o2 .wpcf7-form > p:nth-of-type(1),
  #wpcf7-f332-p136-o2 .wpcf7-form > p:nth-of-type(2) {
    grid-column: span 1;
  }
  /* requirement + button full width */
  #wpcf7-f332-p136-o2 .wpcf7-form > p:nth-of-type(3),
  #wpcf7-f332-p136-o2 .wpcf7-form > p:nth-of-type(4) {
    grid-column: 1 / -1;
  }
}


 
 
 
 