/* Hacks go here */
.form-actions .form-item-terms-conditions{
	margin-top: 0;
}
.js .enquiry-form .form-actions .terms-conditions.reveal{
	margin-bottom: 1.5em;
}
.enquiry-form .form-item-terms-conditions .description{
	padding: 0 0 0 1.5em;
}
/* .js .enquiry-form .form-actions .form-actions__wrapper{
	margin-top: 1.5em;
} */
/*.menu a:active, .menu span:active, .menu a:focus, .menu span:focus, .menu a.active, .menu span.active, .menu a.is-active, .menu span.is-active{
	background: transparent;
	color: #924799 !important;
}*/
@media only screen and (min-width: 48em){
	.js .form-actions .terms-conditions.reveal{
		max-width: 55%;
	}
/* 	.js .enquiry-form .form-actions .form-actions__wrapper{
		position: absolute;
		width: 11em;
		top: 0;
		right: 0;
		margin-top: .4em;
	} */
/* 	.form-actions .form-actions__wrapper input{
		max-width: 100%;
	} */
}
@media only screen and (min-width: 78.1875em){	
/* 	.form-actions .form-actions__wrapper{
		right: 10.3em;
	} */
}

@media (min-width: 1em) and (max-width: 78.1865em){	
	
	.js .property-details .form-item-district-place-selector label{
		margin-left: 0;
	}
}

@media only screen and (min-width: 48em) {
/* .js .enquiry-form .form-actions .form-actions__wrapper {
    position: absolute;
    width: 11em;
    top: 0;
    right: 0;
    margin-top: .4em;
} */
}

.js .terms-conditions {
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease-out;
    font-size: .75em;
}

.js .terms-conditions.reveal {
    max-height: 17em;
    overflow-y: scroll;
    transition: max-height .25s ease-in;
}

@media screen and (min-width: 78.125em) {
.enquiry-form .form-item-terms-conditions .description {
    padding: .5em 0 .5em 1.5em;
    margin-left: 0;
}
}

.d-section--grid-of-services {
  clear: both;
}

/* Livechat */

#livechat-compact-container {
	display: block;
}

/* Personal details preamble */
.enquiry-form .description {
  max-width: 100%;
}

.contact_details_list {
  background-image: url(../img/contact-details-01.png);
  background-repeat: no-repeat;
  background-position: left 6px;
  padding-left: 100px;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #a4a4a4;
}
.contact_details_block{
  display: none;
  max-width: 85%;
  margin-bottom: 1em;
  padding-bottom: 1em;
  border-bottom: 1px solid #a4a4a4;
}
p.contact_details_content {
  color: #787878;
  font-size: 1.25em;
  margin-bottom: 0;
  line-height: 22px;
}
.contact_detail_star_review_img{
  background: url(../img/five_stars.png) no-repeat left bottom;
  width: 10em;
  color: #787878;
  font-size: 1.25em;
  height: 3.25em;
  margin-bottom: 0;
}
.contact_detail_star_review_logo{
  background: url(../img/reviews_logo.png) no-repeat;
  height: 1.75em;
  margin-top: 0.75em;
  background-size: auto 100%;
}

.contact_details_list li {
  color: #787878;
  font-size: 1.25em;
  margin: 0;
  line-height: 22px;
}

.contact_details_highlight {
  font-size: 1.15em;
  line-height: 1.25;
  margin-bottom: 15px;
  padding-bottom: .5em;
  color: #999;
  padding-left: 3.5em;
  background: url(../img/local_hack.png) no-repeat;
}

.contact_details_highlight span{
	color: #7DB925;
	font-weight: bold;
}

@media only screen and (min-width: 48em){
.contact_details_highlight{
  margin-bottom: 0;
  padding-right: .5em;
  position: absolute;
  border-bottom: none;
  left: 62%;
  margin-top: 1em !important;
  max-width: 16.25em;
  z-index: 450;
}
}
@media only screen and (max-width: 47.9999em){
.contact_details_highlight{
	padding-left: 3em;
	background-size: 2.5em;
}
}
@media only screen and (max-width: 26.249em){
.contact_details_highlight{
	background-position: 0 .5em;
}
}
@media only screen and (max-width: 78.125em){
p.contact_details_content {
  font-size: 1.125em;
}
.contact_detail_star_review_img{
  font-size: 1.125em;
}
}

@media only screen and (min-width: 64em){
.contact_details_list {
  max-width: 85% !important;
}
}


/* Cookie policy changes */
.js-cookie-law {
  background: rgba(0,0,0,0.6);
}

.js-cookie-law__title {
  text-transform: uppercase;
  font-size: 14px;
  margin-bottom: 5px;
  color: white;
}

.js-cookie-law p {
  font-size: 12px;
  color: white;
}

.js-cookie-law a {
  color: #d0d0d0;
}

.js-cookie-law__close-link {
  width: 30px;
  height: 30px;
  top: 7px;
  right: 7px;
}

.js-cookie-law__close-icon {
  width: 30px;
  height: 30px;
  background-position: -58px -11px;
}

#livechat-compact-container {
  display: none;
}

.showlivechat #livechat-compact-container {
  display: block;
}

.js-cookie-law__wrapper {
    margin: 12px 40px 12px 12px;
}

@media only screen and (min-width: 48em){
.js-cookie-law {
  width: 50%;
}

#livechat-compact-container {
  display: block;
}
}

@media only screen and (min-width: 64em){
.js-cookie-law {
  width: 30%;
}

}


/* "Type of property" radio button adjustment */

.form-type-radio.form-item-res-comm label {
	background: #dbdcde;
    padding: 0.75em 0;
    text-align: center;
    margin-bottom: 1em;
    font-size: 1em;
    color: #9e9f9f;
    display: block;
    border: white 1px solid;
    width: 100%;
}

.form-type-radio.form-item-res-comm {
	display: inline-block;
	min-width: 25%;
}

.form-item-res-comm .form-radios {
	margin: 1em 0;
}

.form-item-res-comm .field-suffix {
	position: absolute;
}

.form-item-res-comm .field-suffix button.tooltip {
	top: -8.35em;
	left: 7em;
}

.form-type-radio.form-item-res-comm input {
	display: none;
}

.form-type-radio.form-item-res-comm label:hover {
	border: white 1px solid;
    outline: #662a7b 1px solid;
    color: black;
}

.form-type-radio.form-item-res-comm input:checked + label {
	background: #662a7b;
    font-weight: bold;
	color: white;
}

.form-radios.property-details__radios {
	clear: both;
}



@media screen and (max-width: 850px) {
	.form-type-radio.form-item-res-comm {
		display: block;
	}
	.form-item-res-comm .field-suffix button.tooltip {
		top: -11.75em;
	}
	.form-type-radio.form-item-res-comm label {
		max-width: 56%;
		margin-bottom: 0.5em;
	}
}

@media screen and (max-width: 768px) {
	.form-type-radio.form-item-res-comm label {
		max-width: 80%;
	}
}

/* Inline Form Error style adjustment */

.enquiry-form .form-item__error {
	padding: 6px;
	position: relative;
	top: 0;
	max-width: 280px;
}

/* margin adjustment */

@media screen and (min-width: 65.3125em) and (max-width: 1185px) {
	.main__wrapper {
		margin-top: 3em;
	}
}

/* Changing tooltips from hover to click */

.tooltip:hover:after {
	visibility: hidden;
}

.tooltip.is-active:after {
	visibility: visible;
	content: attr(data-tooltip);
    border: 1px solid #fc0;
    padding: 3px 6px;
    background: #fffea1;
    font-size: 12px;
    position: absolute;
    margin-left: 1em;
    min-width: 8em;

}

.tooltip.is-active span[aria-hidden] {
	opacity: .6;
    transition: opacity .1s ease-in-out;
    -moz-transition: opacity .1s ease-in-out;
    -webkit-transition: opacity .1s ease-in-out;
}

/* Form styling fixes */

@media screen and (min-width: 78.1875em) {
	.form-item-title .field-suffix button.tooltip {
		left: 6em;
		top: -5.15em;
	}
}

/* Fix nested fieldsets on enquiry form */
fieldset fieldset {
  padding: 0;
  width: 100%;
  border: none;
}

@media screen and (min-width: 0.0625em) {
.logo__link {
   width: 19.25em;
}
}

.section-directory-of-members .enquiry-results ol li {
  background-color: transparent;
  padding: 0;
}

.get-agent__info {
    display: inline-block;
    padding: 10px 10px 10px 10px;
    border-width: 2px;
    border-style: solid;
    border-color: #9c4ca3;
}

.get-agent__info p {
    margin-top: 0;
}

.url-textfield {
    display: none !important;
}
