/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* blockquote style */
blockquote{
	margin: 40px;
    border-left: 3px solid var(--e-global-color-secondary, #BB0011);
	background-color: var(--e-global-color-bdbdb0a, #F5F5F6);
    padding: 30px 30px 10px 30px;
    font-family: 'Inter';
    font-style: normal;
	font-weight:300;
}



/* stack post widgets images on mobile */
@media (max-width: 768px) {
  .elementor-posts-container .elementor-post {
    display: flex;
    flex-direction: column; /* Stack items vertically */
    align-items: flex-start; /* Align content to the left */
  }

  .elementor-posts-container .elementor-post .elementor-post__thumbnail {
    order: -1; /* Move the image to the top */
    margin-bottom: 15px; /* Add some spacing below the image */
  }

  .elementor-posts-container .elementor-post .elementor-post__text {
    order: 0; /* Ensure text appears below the image */
  }
}


/* Rent Calculator Page */
.red-title-underline {
    max-width: 80%;
    padding: 0 0 15px;
    margin: 50px auto 25px;
    border-bottom: 3px solid #ee2436;
    display: inline-block;
}

/* Bottom footer hover underline */
.ag-bottom-footer .elementor-item:hover {
    text-decoration: underline!important;
}

/* Expandable lists in footer */
.expandable-list {
  list-style: none;
  padding: 0;
  display: grid;
  font-size: var(--font-size-body);
  max-width: 900px;
  margin: 0 auto;
  grid-template-columns: repeat(3, 280px); /* Fixed width for each column */
  column-gap: 30px; /* Space between columns */
}

/* Hide all items after the fifth row */
.expandable-list li:nth-child(n+16) {
  display: none;
}

/* When expanded, show all items */
.expandable-list.expanded li {
  display: block;
}

.expandable-list li {
  padding-bottom: 5px; /* Smaller space between items if needed */
}

.expandable-list li a {
  display: block;
  padding: 8px 0;
  text-decoration: none;
  color: #3d6f99;
  font-size: 15px;
  font-weight: bold;
  text-align: left;
}

.expandable-list li a:hover {
  color: #528dbf;
  text-decoration: underline;
}

.footer-view-more {
  font-size: var(--font-size-body);
  padding-top: var(--space-3x);
  padding-bottom: var(--space-6x);
}
/* View more/less links */
button.footer-view-more{
    background-color:transparent;
	border: none;
    color: #3d6f99;
    font-size: 15px;
    font-weight: 900;
    padding: 0;
}
button.footer-view-more:hover{
	color: #3d6f99;
	text-decoration:underline;
}

/* Responsive styles for mobile */
@media (max-width: 768px) {
  .expandable-list {
    grid-template-columns: 1fr; /* Single column layout */
    column-gap: 0; /* Remove gaps */
  }

  .expandable-list li a {
    font-size: 14px; /* Adjust font size if needed */
    text-align: left;
  }
  
  button.footer-view-more {
    font-size: 14px; /* Adjust button size for smaller screens */
  }
}

/* Footer links */

button.footer-view-more, button.footer-view-more:focus, button.footer-view-more:focus{
 	background-color:white!important;
}

.footer-link {
    color: white;
    text-decoration: underline!important;
   
}

.footer-link:hover {
    color: #e5e5e8;
}

.footer-button a:hover {
    text-decoration: underline!important;
}