/*
Theme Name: GeneratePress Child
Theme URI: https://generatepress.com
Author: Tom Usborne
Author URI: https://tomusborne.com
Description: GeneratePress is a lightweight WordPress theme built with a focus on speed and usability. Performance is important to us, which is why a fresh GeneratePress install adds less than 10kb (gzipped) to your page size. We take full advantage of the block editor (Gutenberg), which gives you more control over creating your content. If you use page builders, GeneratePress is the right theme for you. It is completely compatible with all major page builders, including Beaver Builder and Elementor. Thanks to our emphasis on WordPress coding standards, we can boast full compatibility with all well-coded plugins, including WooCommerce. GeneratePress is fully responsive, uses valid HTML/CSS, and is translated into over 25 languages by our amazing community of users. A few of our many features include 60+ color controls, powerful dynamic typography, 5 navigation locations, 5 sidebar layouts, dropdown menus (click or hover), and 9 widget areas. Learn more and check out our powerful premium version at https://generatepress.com
Version: 3.5.1
Requires at least: 6.1
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: generatepress
Template:	generatepress
Tags: two-columns, three-columns, one-column, right-sidebar, left-sidebar, footer-widgets, blog, e-commerce, flexible-header, full-width-template, buddypress, custom-header, custom-background, custom-menu, custom-colors, sticky-post, threaded-comments, translation-ready, rtl-language-support, featured-images, theme-options

GeneratePress, Copyright 2014-2024 EDGE22 Studios LTD.
GeneratePress is distributed under the terms of the GNU GPL

GeneratePress is based on Underscores http://underscores.me/, (C) 2012-2024 Automattic, Inc.

Actual CSS can be found in /assets/css/ folder.
*/

.main-title a, .main-title a:hover {
    color: #800080;
}

.site-branding-container .site-logo {
    margin-right: 0.5em;
}
.main-title {
    font-size: 18px;
}

.es-col-5 {
    flex: auto; 
	max-width: none;
}

.copyright {
	font-weight:bold;
}

h1 {
	text-transform: capitalize;
}
h2 {
	font-size:160%;
	color:#000000;
}
h3 {
  text-transform: capitalize;
	font-weight:normal;
	margin-top:1.5em;
	font-size:20px;
	color:#800080;
	font-weight:bold;
}
.entry-content h2 {
	margin-top: 2.5em;
	font-weight:bold;
}
h2.property-title.heading-font {
	margin-top: unset;          /* Removes the margin */
    background-color: unset;   /* Resets the background color */
    padding: unset;            /* Removes the padding */
    border-top: unset;         /* Removes the top border */
    border-bottom: unset;      /* Removes the bottom border */
    text-transform: unset;     /* Resets text transformation */
    text-align: unset;         /* Resets text alignment */
	font-size:160%;
	color:#000000;
}
.es-property-section .es-property-section__title:after {
    content: none; /* Hides the pseudo-element */
}
.es-property-section .es-property-section__title {
    text-align:center;
	font-weight:bold;
}
.entry-title {
    margin-bottom: 0;
    font-size: 200%;
    margin-top: 0;
	font-weight:bold;
}

.wp-block-pullquote {
    margin: 0;
	padding:0;
}

.wp-block-pullquote blockquote {
	color:#000000;
    padding: 0;
	padding:2em 0 1em 1em;
    font-size: 80%;
    font-style: italic;
    margin:1em 0 2em;
    position: relative;
		border-left: 15px solid rgba(0, 0, 0, .05);
}

.wp-block-image {
    margin-bottom: 2em;
}

.lotterycodex-form-container input {
 width:100%;
}

.lottery-form__checkbox-label input {
	width: auto;
}

.main-navigation .main-nav ul li a {
    padding-left: 10px;
    padding-right: 10px;
	font-weight:bold;
}

.menu-item-has-children .dropdown-menu-toggle {
    padding-right: 10px;
    padding-left: 2px;
}

ol.footnotes li {
    margin-bottom: 15px;
}

.entry-meta {
    line-height: 2;
	font-size:95%;
}

.wp-block-list li {
	margin-bottom:16px;
}

.entry-content p a {
	text-decoration: underline;
}

aside a {
	text-decoration: none;
}

#topsearchbox {
    padding-bottom: 1.5em;
    padding-top: 1.5em;
	font-size:90%;
	margin-bottom:0;
}
/* Make the top search box sticky */
#topsearchbox {
    position: sticky;
    top: 0;
    z-index: 10; /* Ensures it stays above other elements */
    background-color: #f7f8fa; /* Adjust if you want a different background color */
    transition: background-color 0.3s ease-in-out;
}
#topsearchbox form {
	width:100%;
}
#topsearchbox .search-field {
  border:1px solid #ccc;
  background-color:white;
  width:90%;
  box-sizing: border-box;
  padding: 0.5em;
  white-space: nowrap;          /* keep it all on one line */
  overflow-x: auto;             /* allow horizontal scrolling */
  margin-left:1em;
}
#topsearchbox .search-submit {
  padding: 0.4em 0.8em;
}

.nav-previous {
	padding: 10px;
    font-size: 120%;
    border: 1px solid gray;
    margin-bottom: 10px;
    margin-top: 40px;
    background-color: #f0f0f0;
}

.nav-next {
    padding: 10px;
    font-size: 120%;
    border: 1px solid gray;
    margin-bottom: 10px;
	background-color: #f0f0f0;
}

.post-navigation {
	margin-top: 30px;
}

.button-link {
    display: inline-block;
    padding: 10px 20px;
    background-color: #0073e6;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.button-link:hover {
    background-color: #005bb5;
}

.lotterycodex-invitation {
	background: #F28C28;
	padding: 20px;
	text-align: center;
	border-radius: 8px;
	width: 100%;
}

#endOfArticlePopup {
	display:none;
}
.popup-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 1000;
}
.popup-content {
	background: #fff;
	padding: 20px;
	text-align: center;
	border-radius: 8px;
	max-width: 500px;
	width: 90%;
	font-size:100%;
}

a.generate-back-to-top {
    margin-bottom: 80px;
}

/* unvisited link */
.inside-article a:link {
  color: black;
}

/* visited link */
.inside-article a:visited {
  color:#a40000;
}

/* mouse over link */
.inside-article a:hover {
  color: #860189;
  text-decoration:underline;
}

/* selected link */
.inside-article a:active {
  color: blue;
	text-decoration:italic;
}


/* unvisited link */
.widget-area a:link {
  color: black;
}

/* visited link */
.widget-area a:visited {
  color:#a40000;
}

/* mouse over link */
.widget-area a:hover {
  color: #860189;
  text-decoration:underline;
}

/* selected link */
.widget-area a:active {
	text-decoration:italic;
}

.footer-widgets a:link {
  color: blue;
}
/* visited link */
.footer-widgets a:visited {
  color:#a40000;
}
/* mouse over link */
.footer-widgets a:hover {
  color: #860189;
}
/* selected link */
.footer-widgets a:active {
	text-decoration:italic;
}



.entry-content [class^=es-] a:not(.es-btn):not(.page-numbers):not(.es-leave-border), [class^=es-] a:not(.es-btn):not(.page-numbers):not(.es-leave-border) {
    text-decoration: underline;
}

.es-listings-filter .es-total {
    color: #610042;
}
.es-listings-filter .es-field__sort label .es-field__label {
    color: #000;
}
.es-single .es-address {
    color: #610042;
}

.comment-content {
	padding:0;
}

/* request form on agent's profile page */
.es-terms-text {
    background-color: #fff;
    padding: 5px 20px;
    width: 100%;
}


.scriptlesssocialsharing .button.reddit {
    color: #fff;
}
.scriptlesssocialsharing .button.telegram {
    color: #fff;
}
.scriptlesssocialsharing .button.email {
    color: #fff;
}
.scriptlesssocialsharing .button.linkedin {
    color: #fff;
}
.scriptlesssocialsharing .button.pinterest {
    color: #fff;
}
.scriptlesssocialsharing .button.facebook {
    color: #fff;
}
.scriptlesssocialsharing .button.twitter {
    color: #fff;
}

.inside-article .es-badges .es-badge a:link {
    color: #fff !important;
    text-decoration: auto !important;
}
.inside-article .es-badges .es-badge a:visited {
    color: #fff !important;
    text-decoration: auto !important;
}
.es-listing__image .es-badges .es-badge a:link {
    color: #fff !important;
    text-decoration: auto !important;
}
.es-listing__image .es-badges .es-badge a:visited {
    color: #fff !important;
    text-decoration: auto !important;
}

.custom-agent-remindbox {
    background-color: #f9f9f9;
    padding: 15px;
    margin-top: 10px;
    border: 1px solid #ddd;
}

.es-badges-on-single {
	clear:both;
	width:100%;
	margin:0;
	margin-bottom:30px;
}

.es-badges-on-single .es-badge {
	margin:3px 2px;
	color:#fff;
}
.es-badges-on-single .es-badge a:link, .es-badges-on-single .es-badge a:visited {
	color:#fff;
	text-decoration:none !important;
}



.social-menu {
    display: flex;
    justify-content: left;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.social-menu a {
    display: inline-block;
    width: 24px;
    height: 24px;
}
.social-menu svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
    transition: fill 0.3s;
}
.social-menu svg:hover {
    fill: #0077b5;
}


.recent-posts-with-img {
  list-style: none;
  margin: 0;
  padding: 0;
}
.recent-posts-with-img .recent-post-item {
  margin-bottom: 2.5em;
}
.recent-post-thumb img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: .5em;
}
.recent-post-title {
  margin: 0;
  font-size: 1em;
  font-weight:bold;
}

.site-header {
	background-color:transparent;
}

.yarpp-related-widget li {
	margin-bottom:1em;
}

.wp-block-image figcaption {
	max-width:100% !important;
}

.main-navigation, .main-navigation ul ul {
    background-color:transparent;
}

.widget ul li {
    font-size: 0.9em;
    font-weight: bold;
	margin-bottom: 1.5em;
}

.tags-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25em;            /* space between tags */
}

.tags-links a {
  /* optional styling for each tag */
  padding: 0.7em 0.8em;
  background: #f5f5f5;
  border-radius: 3px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.8em;
}

/* Container */
#advanced-fulltext-search {
  display: grid;
  gap: 1rem;
}

/* Labels */
#advanced-fulltext-search label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #333333;
  margin-bottom: 0.25rem;
}

/* Selects & Text Input */
#advanced-fulltext-search select,
#advanced-fulltext-search input[type="text"] {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #fafafa;
  font-size: 1rem;
  transition: border-color 0.2s ease;
}

#advanced-fulltext-search select:focus,
#advanced-fulltext-search input[type="text"]:focus {
  outline: none;
  border-color: #0073aa;
  background-color: #fff;
}

/* Button */
#advanced-fulltext-search button {
  grid-column: 1 / -1;
  padding: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  background-color: #0073aa;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

#advanced-fulltext-search button:hover {
  background-color: #005177;
}

.join-btn {
  display: inline-block;
  padding: 0.5em 1em;
  background-color: black;
  text-decoration: none;
  border-radius: 4px;
}

.author-profile {
    display: flex;
    align-items: center;
    background: #eee;
    padding: 1.5em;
    border-radius: 12px;
    margin-top: 3em;
    flex-wrap: wrap;
}

.author-avatar img {
    border-radius: 50%;
}

.author-name {
    margin: 0 0 0.3em 0;
    font-size: 1.1em;
    font-weight: 600;
    color: black;
}

.author-bio {
    color: black;
    font-size: 0.95em;
}


.property-summary {
  background: #f9f9f9;
  border-radius: 12px;
  margin-bottom:2em;
  overflow-x: auto;
}

.property-summary table {
  width: 100%;
	border:0;
  border-collapse: collapse;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1em;
  margin: 0 0 0;
}

.property-summary table th {
  text-align: left;
  background-color: #efefef;
  color: #333;
  padding: 0.75em 1em;
  width: 25%;
  vertical-align: top;
  font-weight: 600;
	border:0;
  border-bottom: 1px solid #ccc;
}

.property-summary table td {
  padding: 0.75em 1em;
	border:0;
  border-bottom: 1px solid #ccc;
  color: #555;
  line-height: 1.6;
}

.property-summary table tr:last-child td,
.property-summary table tr:last-child th {
  border-bottom: none;
}

.property-summary table strong {
  color: #222;
  font-weight: 700;
}

@media (max-width: 600px) {
  .property-summary table th,
  .property-summary table td {
    display: block;
    width: 100%;
    padding: 0.5em;
	border-bottom:none;
  }

  .property-summary table tr {
    margin-bottom: 1em;
    display: block;
  }

  .property-summary table th {
    background: #f0f0f0;
  }
}


/* Responsive tweaks */
@media (max-width: 600px) {
  #advanced-fulltext-search {
    grid-template-columns: 1fr;
  }
}


@media only screen and (max-width: 1015px) {
	#topsearchbox .search-field {
	  width:80%;
	}
}
@media only screen and (max-width: 530px) {
	#topsearchbox .search-field {
	  width:75%;
	}
}
@media only screen and (max-width: 425px) {
	#topsearchbox .search-field {
	  width:70%;
	}
}
@media only screen and (max-width: 360px) {
	#topsearchbox .search-field {
	  width:60%;
	}
}