/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

.sec-overlay {
    overflow: hidden;
    position: relative;
}
.sec-overlay .section-bg.fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.sec-overlay .section-bg.fill img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.sec-overlay::before {
    content: '';
    position: absolute;
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    height: 75%;
    background: linear-gradient(180deg, rgba(27, 22, 28, 0) 0%, rgba(27, 22, 28, 1) 100%);
    z-index: 1;
    pointer-events: none;
}
.sec-overlay .section-content {
    position: relative;
    z-index: 2;
}


.cust-btn {
    padding-top: 2px;
    padding-bottom: 2px;
    padding-left: 30px;
    padding-right: 30px;
}

@media (max-width: 768px) {
    .cust-btn {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (max-width: 480px) {
    .cust-btn {
        padding-left: 15px;
        padding-right: 15px;
    }
}


.cust-wht-btn {
	
	color: #000000 !important;
	padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 20px;
    padding-right: 20px;
}

.footer-copy {
  color: #808080;
  font-size: 18px;
  padding: 5px 0;
  display: inline-block;
}

@media (max-width: 768px) {
  .footer-copy {
    font-size: 16px;
    padding: 8px 0;
  }
}

.img-box .box-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  pointer-events: none;
  z-index: 1;
}

.img-box .box-image {
  position: relative;
}

.img-box .box-text {
  position: relative;
  z-index: 2;
}

/* Remove default WPML styles and reset */
.wpml-ls-statics-shortcode_actions,
.wpml-ls-legacy-list-horizontal {
    margin: 0 !important;
    padding: 0 !important;
    background: none !important;
    border: none !important;
}

.wpml-ls-legacy-list-horizontal ul {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    display: flex !important;
    align-items: center !important;
    gap: 0 !important;
}

.wpml-ls-item {
    margin: 0 !important;
    padding: 0 !important;
    background: none !important;
    border: none !important;
    display: flex !important;
    align-items: center !important;
}

/* Language link styling */
.wpml-ls-link {
    color: #000000 !important;
    text-decoration: none !important;
    font-weight: 300 !important;
    font-size: 16px !important;
    padding: 0 4px !important;
    transition: color 0.3s ease !important;
    background: none !important;
    border: none !important;
}

.wpml-ls-link:hover {
    color: #CE2227 !important;
}

.wpml-ls-native {
    color: inherit !important;
}

/* Divider between languages */
.wpml-ls-item:not(.wpml-ls-last-item)::after {
    content: "|";
    color: #000000;
    margin: 0;
    padding: 0 4px;
    font-weight: 300;
    font-size: 18px;
}

/* Current language styling */
.wpml-ls-current-language .wpml-ls-link {
    font-weight: 400 !important;
}

/* Increase all WPForms field heights by 30% */
.wpforms-container input[type="text"],
.wpforms-container input[type="email"],
.wpforms-container input[type="tel"],
.wpforms-container input[type="url"],
.wpforms-container input[type="number"],
.wpforms-container input[type="date"],
.wpforms-container select,
.wpforms-container textarea {
    height: 130% !important;
    min-height: calc(1.3 * 40px); /* Adjusts the base minimum height */
}

/* Specific adjustment for textareas to maintain proper scaling */
.wpforms-container textarea {
    min-height: calc(1.3 * 120px) !important; /* Standard textarea height increased by 30% */
}

/* Custom button styling for all WPForms submit buttons */
.wpforms-container .wpforms-submit {
    background-color: #CE2227 !important;
    border-color: #CE2227 !important;
    min-width: 160px !important;
    height: 50px !important;
    line-height: 50px !important;
    text-align: center !important;
    display: inline-block !important;
    padding: 0 30px !important;
	font-weight: 600 !important;
}

/* Hover state for submit button */
.wpforms-container .wpforms-submit:hover {
    background-color: #a51b1f !important;
    border-color: #a51b1f !important;
}

/* Center the submit button container */
.wpforms-container .wpforms-submit-container {
    text-align: center !important;
}

/* Tablet responsiveness */
@media (max-width: 768px) {
    .wpforms-container .wpforms-submit {
        min-width: 140px !important;
        padding: 0 20px !important;
    }
}

/* Mobile responsiveness */
@media (max-width: 480px) {
    .wpforms-container .wpforms-submit {
        min-width: 120px !important;
        padding: 0 15px !important;
    }
}

/* Add spacing between fields and submit button */
.pe-form .wpforms-submit-container {
  margin-top: 35px !important; /* Adjust the value as needed */
}

.nav-dropdown>li>a {
	
	color: #000000 !important;
 font-size: 16px; }

.nav-dropdown>li>a:hover {
	
	color: #ce2227 !important;
}

/* Buyer Steps CSS */

.buyer-steps-container {
  max-width: 1350px;
  margin: 0 auto;
	padding-left: 40px;
	padding-right: 40px;

}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 60px;
  margin-bottom: 60px;
  position: relative;
}

/* Dashed line connecting icons - only on desktop */
.step-item:not(.step-item-last)::after {
  content: '';
  position: absolute;
  left: 42px;
  top: 84px;
  width: 2px;
  height: calc(100% + 60px);
  border-left: 2px dashed #808080;
  z-index: 0;
}

.step-icon {
  flex-shrink: 0;
  width: 84px;
  height: 84px;
  background-color: #cf2027;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.step-icon img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.step-content {
  flex: 1;
  padding-top: 5px;
}

/* Title Styles */
.step-title {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 26px;
  line-height: 36.4px;
  color: #cf2027;
  margin: 0 0 8px 0;
  text-transform: uppercase;
}

/* Subtitle Styles */
.step-subtitle {
  font-family: 'Raleway', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 25.2px;
  color: #333333;
  margin: 0 0 14px 0;
  text-transform: uppercase;
}

/* Paragraph Styles */
.step-content p {
  font-family: 'Raleway', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 32px;
  color: #54585b;
  margin: 0 0 16px 0;
}

.step-content p:last-child {
  margin-bottom: 0;
}

/* Insider tip styles */
.step-insider {
  font-style: italic;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .buyer-steps-container {
    padding: 30px 15px;
  }

  .step-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    margin-bottom: 50px;
  }

  /* Remove desktop dashed line */
  .step-item:not(.step-item-last)::after {
    display: none;
  }

  .step-icon {
    width: 70px;
    height: 70px;
  }

  .step-icon img {
    max-width: 100%;
    max-height: 100%;
  }

  .step-content {
    padding-top: 0;
  }

  .step-title {
    font-size: 22px;
    line-height: 30.8px;
  }

  .step-subtitle {
    font-size: 16px;
    line-height: 22.4px;
  }

  .step-content p {
    font-size: 15px;
    line-height: 28px;
  }
}

@media (max-width: 480px) {
  .step-icon {
    width: 60px;
    height: 60px;
  }

  .step-icon img {
    max-width: 100%;
    max-height: 100%;
  }

  .step-title {
    font-size: 20px;
    line-height: 28px;
  }

  .step-subtitle {
    font-size: 15px;
    line-height: 21px;
  }

  .step-content p {
    font-size: 14px;
    line-height: 26px;
  }
}

/* Closing Costs Table */
.closing-costs-table {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.cost-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background-color: #ffffff;
}
.cost-row.alt-row {
  background-color: #e8e8e8;
}
.cost-label {
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  font-size: 20px;
  color: #808080;
  flex: 1;
}
.cost-value {
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  font-size: 20px;
  color: #808080;
  text-align: right;
  flex: 1;
}
/* Mobile Responsive */
@media (max-width: 768px) {
  .cost-row {
    padding: 20px 20px;
  }
  
  .cost-label,
  .cost-value {
    font-size: 18px;
  }
}
@media (max-width: 480px) {
  .cost-row {
    padding: 15px 15px;
  }
  
  .cost-label,
  .cost-value {
    font-size: 16px;
  }
}

/* Welcome Tax Calculator */
.tax-calculator {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.tax-header {
  background-color: #000000;
  padding: 20px 40px;
  margin-bottom: 0;
}

.tax-header h2 {
  font-family: 'Raleway', sans-serif;
  font-weight: 400;
  font-size: 20px;
  color: #ffffff;
  margin: 0;
  letter-spacing: 2px;
}

.tax-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background-color: #ffffff;
}

.tax-row.alt-row {
  background-color: #e8e8e8;
}

.tax-label {
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  font-size: 20px;
  color: #808080;
  flex: 1;
}

.tax-value {
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  font-size: 20px;
  color: #808080;
  text-align: right;
  flex: 1;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .tax-header {
    padding: 20px 20px;
  }
  
  .tax-header h2 {
    font-size: 24px;
    letter-spacing: 1px;
  }
  
  .tax-row {
    padding: 20px 20px;
  }
  
  .tax-label,
  .tax-value {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .tax-header {
    padding: 15px 15px;
  }
  
  .tax-header h2 {
    font-size: 20px;
  }
  
  .tax-row {
    padding: 15px 15px;
  }
  
  .tax-label,
  .tax-value {
    font-size: 16px;
  }
}

/* Mortgage Calculator */
.mortgage-calculator {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px;
  border: 1px solid #d0d0d0;
  background-color: #ffffff;
}
.calc-title {
  font-family: 'Raleway', sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: #000000;
  margin: 0 0 40px 0;
}
.calc-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.form-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.form-label {
  font-family: 'Raleway', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 26px;
  color: #54585b;
  min-width: 200px;
  flex-shrink: 0;
}
.form-input {
  flex: 1;
  padding: 15px 20px;
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  font-size: 18px;
  color: #333333;
  border: 1px solid #B0AFAF;
  outline: none;
  box-shadow: none !important; 
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  border-radius: 0 !important;
}
.form-input::placeholder {
  color: #d0d0d0;
  font-weight: 300;
}
.form-input:focus {
  border: 1px solid #B0AFAF;
  box-shadow: none;
  outline: none;
}
.divider {
  width: 100%;
  height: 1px;
  background-color: #B0AFAF;
  margin: 10px 0;
}
.result-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.result-label {
  font-family: 'Raleway', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 26px;
  color: #54585b;
  min-width: 200px;
  flex-shrink: 0;
}
.result-value {
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: #333333;
  flex: 1;
}
/* Mobile Responsive */
@media (max-width: 768px) {
  .mortgage-calculator {
    padding: 25px;
  }
  
  .calc-title {
    font-size: 16px;
    margin-bottom: 30px;
  }
  
  .calc-form {
    gap: 15px;
  }
  
  .form-row,
  .result-row {
    gap: 8px;
  }
  
  .form-label,
  .result-label {
    min-width: 120px;
    font-size: 14px;
  }
  
  .form-input {
    font-size: 14px;
    padding: 10px 12px;
    min-height: 36px;
  }
  
  .form-input::placeholder {
    font-size: 12px;
  }
  
  .result-value {
    font-size: 14px;
  }
}
@media (max-width: 480px) {
  .mortgage-calculator {
    padding: 20px;
  }
  
  .calc-title {
    font-size: 14px;
  }
  
  .calc-form {
    gap: 15px;
  }
  
  .form-row,
  .result-row {
    gap: 8px;
  }
  
  .form-label,
  .result-label {
    min-width: 110px;
    font-size: 13px;
  }
  
  .form-input {
    font-size: 13px;
    padding: 8px 12px;
    min-height: 34px;
  }
  
  .form-input::placeholder {
    font-size: 11px;
  }
  
  .result-value {
    font-size: 13px;
  }
}

/* Property Transfer Tax Calculator */
#calc_two.mortgage-calculator {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px;
  border: 1px solid #d0d0d0;
  background-color: #ffffff;
}

#calc_two .row {
  text-align: left;
  justify-content: flex-start;
}

#calc_two .col {
  text-align: left;
}

#calc_two .calc-title {
  font-family: 'Raleway', sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: #000000;
  margin: 0 0 0 0;
  text-align: left;
}

#calc_two .calc-form {
  display: flex;
  flex-direction: column;
  gap: 5px;
  text-align: left;
}

#calc_two .form-row {
  display: flex;
  flex-direction: column;
  gap: 5px;
  text-align: left;
  align-items: flex-start;
}

#calc_two .form-label {
  font-family: 'Raleway', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 10px;
  color: #54585b;
  text-align: left;
  width: 100%;
}

#calc_two .form-input {
  width: 100%;
  padding: 15px 20px;
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  font-size: 16px;
  color: #333333;
  border: 1px solid #B0AFAF;
  outline: none;
  box-shadow: none !important; 
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  border-radius: 0 !important;
  text-align: left;
}

#calc_two .form-input::placeholder {
  color: #d0d0d0;
  font-weight: 300;
  font-size: 16px;
}

#calc_two .form-input:focus {
  border: 1px solid #B0AFAF;
  box-shadow: none;
  outline: none;
}

#calc_two .divider {
  display: none;
}

#calc_two .result-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
  align-items: flex-start;
}

#calc_two .result-label {
  font-family: 'Raleway', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 26px;
  color: #54585b;
  text-align: left;
  width: 100%;
}

#calc_two .result-value {
  width: 100%;
  padding: 15px 20px;
  font-family: 'Raleway', sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #333333;
  border: 1px solid #B0AFAF;
  background-color: #ffffff;
  min-height: 54px;
  text-align: left;
}

#calc_two .error-message {
  font-family: 'Raleway', sans-serif;
  font-size: 14px;
  margin-top: -15px;
  text-align: left;
}

#calc_two .cust-btn {
  width: 100%;
	  margin-top: 20px;  /* Add this line */

	padding-top: 5px;
	padding-bottom: 5px;
	border-radius: 5px;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #ffffff;
  background-color: #d32f2f;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: background-color 0.3s ease;
}

#calc_two .cust-btn:hover {
  background-color: #b71c1c;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  #calc_two.mortgage-calculator {
    padding: 25px;
  }
  
  #calc_two .calc-title {
    font-size: 16px;
    margin-bottom: 15px;  /* Reduced from 30px to 15px */
  }
  
  #calc_two .calc-form {
    gap: 15px;
  }
  
  #calc_two .form-label,
  #calc_two .result-label {
    font-size: 14px;
  }
  
  #calc_two .form-input {
    font-size: 14px;
    padding: 10px 12px;
  }
  
  #calc_two .result-value {
    font-size: 14px;
    padding: 10px 12px;
    min-height: 40px;
  }
  
  #calc_two .form-input::placeholder {
    font-size: 12px;
  }
  
  #calc_two .cust-btn {
    font-size: 16px;
    padding: 10px 20px;
  }
  
  #calc_two .error-message {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  #calc_two.mortgage-calculator {
    padding: 20px;
  }
  
  #calc_two .calc-title {
    font-size: 14px;
    margin-bottom: 5px;  /* Reduced from default to 15px */
  }
  
  #calc_two .calc-form {
    gap: 15px;
  }
  
  #calc_two .form-label,
  #calc_two .result-label {
    font-size: 13px;
  }
  
  #calc_two .form-input {
    font-size: 13px;
    padding: 8px 12px;
  }
  
  #calc_two .result-value {
    font-size: 13px;
    padding: 8px 12px;
    min-height: 37px;
  }
  
  #calc_two .form-input::placeholder {
    font-size: 11px;
  }
  
  #calc_two .cust-btn {
    font-size: 14px;
    padding: 8px 20px;
  }
  
  #calc_two .error-message {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  #calc_two.mortgage-calculator {
    padding: 20px;
  }
  
  #calc_two .calc-title {
    font-size: 14px;
  }
  
  #calc_two .calc-form {
    gap: 15px;
  }
  
  #calc_two .form-label,
  #calc_two .result-label {
    font-size: 13px;
  }
  
  #calc_two .form-input {
    font-size: 13px;
    padding: 8px 12px;
  }
  
  #calc_two .result-value {
    font-size: 13px;
    padding: 8px 12px;
    min-height: 37px;  /* Keep a min-height to match input field */
  }
  
  #calc_two .form-input::placeholder {
    font-size: 11px;
  }
  
  #calc_two .cust-btn {
    font-size: 14px;
    padding: 8px 20px;
  }
  
  #calc_two .error-message {
    font-size: 12px;
  }
}

/* Icon Grid Layout */
.gb-icon-grid-container {
    max-width: 1350px;
    margin: 0 auto;
    padding: 0;
}

.gb-icon-grid-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px;
}

.gb-icon-grid-item {
    background: white;
    border: 1px solid rgb(128, 128, 128);
    padding: 30px 20px;
    text-align: center;
}

.gb-icon-placeholder {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gb-icon-placeholder img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.gb-icon-grid-item h3 {
    font-size: 18px;
    font-weight: 500;
    color: #333;
    line-height: 1.4;
    margin: 0;
}

/* Tablet - 3 columns */
@media (max-width: 1024px) {
    .gb-icon-grid-row {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile - 2 columns */
@media (max-width: 768px) {
    .gb-icon-grid-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .gb-icon-grid-item {
        padding: 30px 15px;
    }

    .gb-icon-placeholder {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }

    .gb-icon-grid-item h3 {
        font-size: 16px;
    }
}

/* Small mobile - 1 column */
@media (max-width: 480px) {
    .gb-icon-grid-row {
        grid-template-columns: 1fr;
			gap: 30px;
    }
}

/* Change main text size and color */
.article-inner .entry-content p {
    font-size: 18px !important;
    color: #333333 !important;
    line-height: 1.8;
}

/* Apply same styling to divs */
.article-inner .entry-content div {
    font-size: 18px !important;
    color: #333333 !important;
    line-height: 1.8;
}

/* Mobile responsive - Tablets and smaller */
@media screen and (max-width: 768px) {
    .article-inner .entry-content p,
    .article-inner .entry-content div {
        font-size: 16px;
    }
}

/* Mobile responsive - Phones */
@media screen and (max-width: 480px) {
    .article-inner .entry-content p,
    .article-inner .entry-content div {
        font-size: 15px;
    }
}

/* Change heading size and color - ALL heading tags */
.article-inner .entry-content h1,
.article-inner .entry-content h2,
.article-inner .entry-content h3,
.article-inner .entry-content h4,
.article-inner .entry-content h5,
.article-inner .entry-content h6 {
    font-size: 18px !important;
    color: #333333 !important;
    line-height: 1.8;
    font-weight: bold;
}

/* Mobile responsive headings - Tablets and smaller */
@media screen and (max-width: 768px) {
    .article-inner .entry-content h1,
    .article-inner .entry-content h2,
    .article-inner .entry-content h3,
    .article-inner .entry-content h4,
    .article-inner .entry-content h5,
    .article-inner .entry-content h6 {
        font-size: 16px;
    }
}

/* Mobile responsive headings - Phones */
@media screen and (max-width: 480px) {
    .article-inner .entry-content h1,
    .article-inner .entry-content h2,
    .article-inner .entry-content h3,
    .article-inner .entry-content h4,
    .article-inner .entry-content h5,
    .article-inner .entry-content h6 {
        font-size: 15px;
    }
}

/* Change bold text color */
.article-inner .entry-content strong {
    font-size: 18px !important;
    color: #333333 !important;
    line-height: 1.8;
}

/* Change list item text - BOTH numbered and bullet lists */
.article-inner .entry-content ul li,
.article-inner .entry-content ul li p,
.article-inner .entry-content ol li,
.article-inner .entry-content ol li p {
    font-size: 18px !important;
    color: #333333 !important;
    line-height: 1.8;
}

/* Mobile responsive lists - Tablets and smaller */
@media screen and (max-width: 768px) {
    .article-inner .entry-content ul li,
    .article-inner .entry-content ul li p,
    .article-inner .entry-content ol li,
    .article-inner .entry-content ol li p {
        font-size: 16px;
    }
}

/* Mobile responsive lists - Phones */
@media screen and (max-width: 480px) {
    .article-inner .entry-content ul li,
    .article-inner .entry-content ul li p,
    .article-inner .entry-content ol li,
    .article-inner .entry-content ol li p {
        font-size: 15px;
    }
}

/* Remove author name from blog header */
.page-title.blog-featured-title .byline {
    display: none !important;
}