/*
Theme Name:     Averly Child
Description:    Averly Child Theme
Author:         Developer
Template:       averly

(optional values you can add: Theme URI, Author URI, Version, License, License URI, Tags, Text Domain)
*/

:root {
  --green: #B9BF33;
  --white: #ffffff;
  --button: #000000;
  --blue: #17235F;
}

.description-contents {
    font-size: 1rem;
    line-height: 2rem;
}

.material-symbols-outlined {
  font-variation-settings:
  'FILL' 0,
  'wght' 400,
  'GRAD' 0,
  'opsz' 24
}

span.material-symbols-outlined {
    color: var(--green);
}
.propertyhive ul.properties li.first {
    clear: none !important; 
} 

.propertyhive ul.properties li {
	width: 23.8% !important;
	margin: 20px 0.5% 0 !important;
}

.home .propertyhive ul.properties li {
	max-width: 300px !important;
	/*min-height: 592px !important;*/
}

.home .propertyhive ul.properties li .thumbnail img {
	height: 200px;
	width: auto !important;
}
.home .propertyhive ul.properties li .summary {
	display: none;
	/*min-height: 260px;*/
}
.home .propertyhive ul.properties li:nth-child(4n+1) {
	clear: left !important;
}
.home .properties .thumbnail a {
	display: block !important;
}
.propertyhive-pagination2 ul.page-numbers li {
	margin-right: 2px;
}
.propertyhive-pagination2 ul.page-numbers li a.prev.page-numbers {
	display: none !important;
}

#tns1 > .tns-item {
    width: calc(8%) !important;
    padding-right: 0px !important;
	margin-right: 20px !important;
}

.propertyhive .tns-controls button {
    margin: 0 5px;
    border: 2px solid var(--green);
    border-radius: 20px;
    height: 42px;
    margin-top: 20px;
    width: 10%;
    background: var(--green);
    color: #fff;
    font-size: 1em;
    text-transform: uppercase;
    font-weight: 600;
    cursor: pointer;
}

 @media screen and (max-width:1024px) {
/*.propertyhive ul.properties li {
	width: 48% !important;
	text-align: center;
}*/
.propertyhive ul.properties li:nth-child(2n+1) {
	clear: left !important;
}
.propertyhive ul.properties li {
	min-height: inherit !important;
}
}
@media screen and (max-width:990px) {
.propertyhive ul.properties li .summary {
	min-height: auto;
}
/*
	.propertyhive ul.properties li {
	width: 100% !important;
	text-align:left;
	}*/

}



/* styles added June 2022 for re-working of existing searchfilter */

.eltd-light-header .eltd-menu-area .eltd-light-logo {
	margin-top: 25px;
}



.propertyhive ul.properties li .thumbnail {
	min-height: 210px;
	min-width: 100%;
	background-color: white;
}

.propertyhive ul.properties li .details h3 {
	min-height: 100px;
}

.propertyhive ul.properties li .details {
  float:none !important;
  width: 90%;
  background-color: white;
  margin: auto;
  display: flex;
  flex-direction: column;
  /*height: 480px;*/
  margin-bottom: 1rem;
}

.propertyhive ul.properties li {
    float: left !important;
    margin: 0;
		/*width: 100% !important;*/
    padding-top: 0px;
    padding-bottom: 0px;
    border-bottom: 0px;
		margin-bottom: 1rem !important;
    /* clear: both; */
}

.actions a.button {
    background-color: #243259;
    color: #ffffff;
    width: auto;
    display: inline-block;
    padding: 5px 15px;
    margin-bottom: 10px;
    font-size: 15px;
    clear: both;
    border: solid 1px #e2e2e2;
    margin-top: 15px;
    text-decoration: none;
}
.actions a.button:hover {
    background-color: var(--green);
    color: #ffffff;
    text-decoration: none;
}

ul.properties li {
    background-color: white;
}

.summary {
    min-height: 240px;
	/*padding: 1rem;*/
}

.eltd-content-inner p.propertyhive-result-count {
	width: 100%;
}

@media screen and (min-width: 526px) {
/*.property_meta {
	display: inline-block;
	width: 80%;
	margin-top: -10px;
}

.property_meta ul {
    display: flex;
}

.property_meta span {
    border: 1px solid #efefef;
    color: #243259;
    font-size: 14px;
    padding: 0px;
    background: #f9f9f9;
    margin-right: 5px;
    float: left;
    width: 100%;
}

.property_meta ul li {
    display: block;
    text-align: center;
    border: 1px dashed #ddd;
    width: 100%;
}*/
/*
	.propertyhive ul.properties {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr;
	column-gap: 1rem;
*/
}
}

@media screen and (max-width: 525px) {
		.eltd-top-bar {
    display: none;
}


	.home a.eltd-btn.eltd-btn-large.eltd-btn-solid {
    width: 100%;
    text-align: center;
}

	.property.type-property {
    width: 100% !important;
}
/*	.property_meta {
    margin-top: 0px;
    width: 100%;
    display: inline-block;
}
	.property_meta ul li {
    list-style: none;
    width: 100%;
    display: inline-block;
    border: 1px dotted #ddd;
    margin-bottom: 5px;
}
	.property_meta span {
		width: 40%;
	}*/

}


	.propertyhive ul.properties li .thumbnail img {
    margin: 0 auto!important;
    width: 100%!important;
}

.propertyhive .tns-controls button {
		width: 40%;
}

.eltd-vertical-align-containers.eltd-30-30-30 {
    display: none;
}

.eltd-page-header, .eltd-top-bar {
    display: none;
}

}

@media screen and (min-width: 526px){
	.propertyhive ul.properties li .thumbnail img {
    min-height: 210px;
    max-height: 210px;
    overflow: hidden;
}
}

li.eltd-blog-list-item.eltd-blog-list-masonry-item {
    background-color: white;
}

.eltd-blog-list-holder>ul .eltd-blog-list-item .eltd-item-title {
    width: 100% !important;
}

.home-blog-area .eltd-item-text-holder {
    padding: 0rem 1rem 2rem 1rem;
}

/* styling for form toggle radio options */
@media screen and (min-width: 526px){
	.property-search-form {
	  display: flex;
		flex-direction: row;
	}
}

@media screen and (max-width: 525px){
	.property-search-form {
	  display: flex;
		flex-direction: column;
    gap: 2rem;
	}

  .prop_search_row .clearfix.eltd-section-inner {
    width: 95%;
}
  .prop_search_row .clearfix.eltd-section-inner .wpb_wrapper {
    max-width: 100%;
}
  .prop_search_row .clearfix.eltd-section-inner .wpb_wrapper form.property-search-form.property-search-form-shortcode.clear {
  max-width: 85%;
}

  li.menu-item a {
      padding: 1rem !important;
    }
  li.deposit:after {
    text-align: left;
  }

  .eltd-title.eltd-has-responsive-background .eltd-title-holder .eltd-container {
    background-color: #0000006b;
  }
  .eltd-title .eltd-title-holder h1.eltd-title-size-medium {
    font-size: 40px !important;
}
}
.property-search-form .control {
	padding: 0px;
	width: auto;
}
.property-search-form .control-department input {
  position: absolute !important;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  width: 1px;
}

.property-search-form .control-department label {
  font-size: 1em;
	font-weight: 600;
	text-transform: uppercase;
	color: var(--green);
  text-align: center;
  padding: 0.5em 2em;
  border: 2px solid var(--green);
}

.property-search-form .control-department label:hover {
  cursor: pointer;
}

.property-search-form .control-department input#department_residential-sales:checked + label {
  background-color: var(--green) !important;
  color: white;
}

.property-search-form .control-department input#department_residential-lettings:checked + label {
  background-color: var(--green) !important;
  color: white;
}

.property-search-form .control-department label:first-of-type {
  border-radius: 25px 0 0 25px;
}

.property-search-form .control-department label:last-of-type {
  border-radius: 0 25px 25px 0;
}
.control.sales-only, .control.lettings-only, .beds-selects {
	margin-top: -10px;
}
.sales-selects, .lets-selects {
    display: flex;
    flex-direction: row;
    gap: 0px;
    flex-basis: fit-content;
		border: 2px dotted var(--green);
    padding: 5px;
}
.sales-selects select, .lets-selects select, .beds-selects select {
    border: 0px;
    padding: 5px;
    font-size: 1rem;
    width: 100%;
		background: transparent;
		color: gray;
}

.sales-selects:before, .lets-selects:before  {
    content: '£ ';
    font-size: 2rem;
    color: var(--green);
}

.beds-selects {
    display: flex;
    flex-direction: row;
    gap: 0px;
    flex-basis: fit-content;
		border: 2px dotted var(--green);
    padding: 5px;
		max-height: 29px;
}

.beds-selects:before {
		content: '';
		font-size: 2rem;
		color: var(--green);
}

.control.control-minimum_bedrooms, .control.control-maximum_bedrooms {
    max-height: 30px !important;
}

.control.control-property_type {
		border: 2px dotted var(--green);
		padding: 5px;
		max-height: 29px;
		margin-top: -10px;
}

.control.control-property_type select {
	border: 0px;
	padding: 5px;
	font-size: 1rem;
	width: 100%;
	background: transparent;
	color: gray;
}

.control.control-location {
  border: 2px dotted var(--green);
  padding: 5px;
  max-height: 29px;
  margin-top: -10px;
}

.control.control-location select {
	border: 0px;
	padding: 5px;
	font-size: 1rem;
	width: 100%;
	background: transparent;
	color: gray;
}
.property-search-submit {
	text-align: center;
}
.property-search-submit input[type="submit"] {
    border: 2px solid var(--green);
    border-radius: 20px;
    height: 42px;
    margin-top: -10px;
    width: 70%;
    background: var(--green);
    color: white;
    font-size: 1em;
    text-transform: uppercase;
    font-weight: 600;
		cursor: pointer;
}

.price {
    font-size: 1.2rem;
    margin: 1rem 0px;
}
ul#menu-terms-conds {
    display: flex;
    gap: 2rem;
    text-align: center;
    flex-basis: auto;
    justify-content: space-between;
}

.eltd-mobile-header .eltd-mobile-menu-opener {
    float: left;
    position: relative;
    z-index: 2;
    height: 100%;
    margin-left: 2rem;
    font-size: 2rem;
}

i.eltd-icon-font-awesome.fa.fa-bars {
    color: white;
}

h1.page-title {
    font-family: 'Playfair Display';
    margin: 0px;
}

.property-archive-top {
  margin: 3rem 0px;
}

.about-us-cols .clearfix.eltd-full-section-inner {
    display: flex;
    gap: 1rem;
}

.about-us.wpb_column.vc_column_container.vc_col-sm-4 {
    border: 1px solid lightgray;
}

.about-us .wpb_text_column.wpb_content_element {
    padding: 2rem;
}


/* End of June 2022 styles */


.eltd-drop-down .second .inner ul li:nth-child(odd) {
    background-color: #545454 !important;
}


/*December 2023*/
/* updates to search form to include checkbox for sold and let*/
.control.control-include-sold-stc {
    grid-area: 2/4/3/5;
}

.property-search-submit {
    grid-area: 2/5/3/6;
}