fieldset.fre-form {
    background-image: none;
    background-color: rgba(0, 0, 0, 0.0);
    margin-bottom: 0px;
    padding: 0px 0px;
    border: 0px solid #DADADA;
}

div.fre-result-title h3  {
font-size: 24px;
}

div.fre-result-title h4  {
font-size: 20px;
}
span.fre-new-link a:visited,
span.fre-new-link a:link  {
    /*border: 1px solid #000000;*/
    color: #fff;
    padding: 5px 10px;
    background: #37455c;
}
span.fre-prev-link a:link,
span.fre-next-link a:link,
span.fre-prev-link a:visited,
span.fre-next-link a:visited,
span.fre-prev-link a:hover,
span.fre-next-link a:hover {
    color: #fff;
    background: #37455c;
    border: 1px solid #000000;
    padding: 5px 10px;
}
div.fre-office-agent {
    width: 100%;
    height: 350px;
    float: left;
    text-align: center;
    border: 0px solid #FFF !important;
    margin: 10px 1%;
}
div.fre-listing-image a.fre-property-images img {
    max-height: 150px;
    max-width: 175px;
}

div.fre-listing-image {
    height: 160px;
    width: 180px;
}

#fre-agent-listing-select a[href], #fre-ourlisting-select a[href] {
    background: #37455c;
    color: #fff;
}


/********************* new api code css additions *******************/

h2 {
	font-weight: 600;
	margin-bottom: 1rem;
}
a {
    color: #800024;
}
.nowrap {
    white-space: nowrap;
}

div#fre-container {
    margin: 0;
}
div#fre-search-nav {
    margin-top: 10px;
    margin-bottom: 30px;
}
div#fre-search-nav a:hover {
	text-decoration: none;
}
span.fre-prev-link, span.fre-next-link {
	margin: 20px 0 0;
}
div#fre-container label {
	display: block;
	text-transform: uppercase;
	font-weight: 500;
	font-size: .9em;
	margin-bottom: 4px;
	width: auto;
        color: #FFF;
/* 	white-space: nowrap; */
}
div#fre-container input[type="checkbox"] + label {
    display: inline;
    text-transform: none;
}
div#fre-container .class-form {
	display: none;
}
div.fre-radio-buttons {
    overflow: unset;
    width: auto;
}
.fre-onlyvirtual label {
	text-transform: inherit;
	font-size: .8em;
	display: inline;
}

.tt-suggestions p {
	margin-bottom: 1px;
}

.fre-control input[type="checkbox"] {
    display: none;
}
.fre-control input[type="checkbox"] + label {
    padding-left: 0;
}
.fre-control input[type="checkbox"] + label::before {
    content: "";
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
    margin-bottom: 4px;
    width: 14px;
    height: 14px;
    border-radius: 2px;
    border: 1px solid rgba(0, 0, 0, 0.15);
}
.fre-control input[type="checkbox"]:checked + label::before {
    content: "\2713";
    color: #333333;
    font-size: 14px;
	line-height: 11px;
	font-weight: bold;
}

.fre-control input[type="radio"] {
    display: none;
}
.fre-control input[type="radio"] + label {
    padding-left: 0;
}
.fre-control input[type="radio"] + label::before {
    content: "";
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
    margin-bottom: 4px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.15);
}
.fre-control input[type="radio"]:checked + label::before {
    padding: 3px;
    background-color: #333333;
    background-clip: content-box;
}


#main-content fieldset.fre-form .container {
	padding: 0;
}
fieldset.fre-form select,
fieldset.fre-form input[type="text"] {
	display: block;
	width: 100% !important;
	max-width: 100%;
	background: #F7F7FA;
	border:1px solid #DDD;
	font-weight: 600;
	padding: 8px;
	color: #777;
}
fieldset.fre-form input[type="text"] {
	padding: 8px 12px;
}
fieldset.fre-form select:focus,
fieldset.fre-form input[type="text"]:focus {
	color: #3e3e3e;
}
input#mls-number {
	width: inherit;
}
/*
fieldset.fre-form div {
	margin-bottom: 30px;
	padding: 0 5px;
}
*/
fieldset.fre-form .fre-control {
    margin-bottom: 30px;
    padding: 0;
}
input.text, input.title, input[type="email"], input[type="password"], input[type="tel"], input[type="text"], select, textarea {
	background: #FAF7F7;
	border: 1px solid #DDD;
	font-weight: 600;
}
div.fre-controls {
	margin-right: 0;
}
/*div.fre-controls input#submit {
	border-radius: 0;
	border-color: transparent;
	display: block;
	width: 100%;
	max-width: 300px;
	margin: 0 auto;
	text-transform: uppercase;
	font-weight: 600;
}*/

div.fre-controls input#submit {
    background-color: #37455c;
    background-image: linear-gradient(to bottom, #37455c, #37455c);
    background-repeat: repeat-x;
    border-color: #375d9c;
    border-radius: 6px;
    font-size: 15px;
    padding: 8px 8px;
    border: 1px solid #000000;
    color: #fff;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
}


#fre-listingsList, #fre-listingsGrid {
	display: none;
}
#fre-listingsList.active, #fre-listingsGrid.active {
	display: block;
}

#fre-listingsList .fre-result {
	padding-bottom: 0;
}

#fre-listingsList .fre-result-title h4, #fre-listingsList .fre-result-title h3 {
    display: inline;
}
#fre-listingsList .fre-result-title h3 {
	margin-left: 10px;
}
#fre-listingsList .fre-result .fre-propMain {
	padding: 15px 15px 35px 15px;
}
#fre-listingsList .fre-propImg {
    height: 100%;
    max-height: none;
}
#fre-listingsList .fre-result. .fre-mls {
	right: 15px;
}
#fre-listingsList .fre-result. .fre-propertyType {
	left: 15px;
}
#fre-listingsList .fre-result .fre-features {
	justify-content: start;
}
#fre-listingsList .fre-result .btn {
	padding: 5px 15px;
	display: inline-block;
}


.fre-result {
    box-shadow: 0 0 5px #aaa;
    background: #fff;
    height: 100%;
    padding-bottom: 35px;
    position: relative;
    border-radius: 3px;
}
.fre-result .fre-propImg {
    height: 35vw;
    max-height: 200px;
    background: no-repeat center center / cover;
    display: block;
}


#fre-listingsGrid .fre-result .fre-propImg {
    border-radius: 3px;
    border-bottom-right-radius: 0px;
    border-bottom-left-radius: 0px;
}
#fre-listingsList .fre-result .fre-propImg {
    border-radius: 3px;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
}


@media only screen and (min-width: 768px) {
	.fre-result .fre-propImg {
		height: 20vw;
	}
}
@media only screen and (min-width: 992px) {
	.fre-result .fre-propImg {
		height: 15vw;
	}
}


div#fre-search-new {
	text-align: center;
}
.viewOptions {
    margin-top: 15px;
    text-align: center;
}
.viewOptions button > img {
  height: 14px;
}
.viewOptions button {
  line-height: 1;
  font-size: 14px;
  opacity: .5;
  text-transform: uppercase;
  padding: .5rem .8rem;
}
.viewOptions button.active {
	opacity: 1;
}
.viewOptions .showGrid, .viewOptions .showList {
	font-weight: 600;
}
div#fre-container .viewOptions img {
	vertical-align: top;
	margin-right: 3px;
}


.fre-result .fre-propMain {
	padding: 15px 15px 5px 15px;
}
.fre-result .fre-result-title h3 {
    font-size: 18px;
    padding: 0;
    margin-bottom: 5px;
}
.fre-result .fre-result-title h4 {
    font-size: 23px;
    padding: 0;
    margin-bottom: 5px;
}
.fre-result .fre-result-details {
    margin: 0;
    font-size: 15px;
}
.fre-result .fre-result-details p {
    line-height: 1.2;
}
.fre-result a.iframe-contact {
    background-color: #800024;
    background-image: linear-gradient(to bottom, #800024, #6B0D27);
    background-repeat: repeat-x;
    border-color: #6B0D27;
    border-radius: 6px;
    font-size: 15px;
    padding: 8px 8px;
    border: 1px solid #000000;
    color: #fff;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    text-decoration: none;
    margin: 2px 0;
	display: inline-block;
}
.fre-result a.iframe-contact:hover {
    background-color: #6B0D27;
    background-image: none;
    border: 1px solid #6B0D27;
    color: #fff;
    padding: 8px 8px;
}
.fre-result .fre-result-agent-info {
    margin: 0;
    padding: 0;
    font-size: 80%;
}

.fre-result .fre-listing-bottom-notes {
	position: absolute;
	left: 0;
	bottom: 8px;
    font-size: 70%;
    color: #777;
    width: 100%;
    height: 15px;
}
.fre-result .fre-mls {
    position: absolute;
    top: 0;
    right: 10px;
}
.fre-result .fre-propertyType {
    position: absolute;
    top: 0;
    left: 10px;
}
.fre-result .fre-virtual-url {
    text-align: center;
}
#fre-listingsGrid .fre-result .fre-virtual-url > a,
#fre-listingsList .fre-result .fre-virtual-url > a {
    font-weight: bold;
}
#fre-listingsList .fre-image .fre-virtual-url,
#fre-listingsGrid .fre-result .fre-virtual-url-icon {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}
#fre-listingsList .fre-image .fre-virtual-url img,
#fre-listingsGrid .fre-result .fre-virtual-url-icon img {
    width: 75px;
    opacity: .85;
    transition: opacity .4s;
}
#fre-listingsList .fre-image .fre-virtual-url img:hover,
#fre-listingsGrid .fre-result .fre-virtual-url-icon img:hover {
   opacity: 1;
}
.fre-result .fre-features {
    font-size: 1em;
    display: flex;
    margin-top: 10px;
    margin-bottom: 10px;
    color: #777;
    justify-content: center;
}
.fre-result .fre-features > div {
    flex: 1;
    text-align: center;
    line-height: 1.1;
    border-left: 1px solid #a9a9a9;
    max-width: 80px;
}
.fre-result .fre-features > div:first-child {
    border-left: none;
}
.fre-result .listingIcon {
	height: 16px;
}
.frelazybg {
	opacity: 0;
	transition: opacity 1s;
}
.frelazybg.freloaded {
	opacity: 1;
}



div#fre-listing-details ul {
	padding: 0;
	height: 100%;
}
#slider {
	margin: 0;
	border-radius: 0;
}
#slider ul li {
    background: no-repeat center top / contain;
    height: 100%;
    cursor: pointer;
}
div#fre-listing-agent {
	border-top: none;
}
div#fre-listing-agent-image img {
	max-width: 100%;
}
#fre-listing-controls {
    margin-top: 22px;
}
div#fre-listing-details.fre-cust-cren div#fre-remarks {
	float: none;
	width: auto;
}
div#fre-listing-details p {
	padding: 0;
}
div#fre-container a.btn {
    font-size: 18px;
    background-color: #37455c;
    background-image: linear-gradient(to bottom, #37455c, #37455c);
    background-repeat: repeat-x;
    border-radius: 3px;
    padding: 8px 8px;
    border: 1px solid #375d9c;
    color: #fff;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    width: auto;
    display: block;
    font-weight: bold;
    text-align: center;
    margin: 5px 0;
    white-space: pre-wrap;
}
div#fre-container a.btn:hover, div#fre-container a.btn:focus {
	opacity: .9;
}
div#fre-container img {
	vertical-align: text-bottom;
}

.fre-heading-1 {
    line-height: 1.2;
    font-size: 1.8rem;
    font-weight: bold;
}
.fre-heading-2 {
    line-height: 1.2;
    font-size: 1.6rem;
}
.fre-heading-3 {
    font-weight: 600;
    color: #999;
    font-size: 0.95rem;
    line-height: 1;
}
.fre-heading-4 {
    font-weight: 600;
    font-size: 1.4rem;
    line-height: 1.3;
    margin-top: 12px;
}

.fre-features {
	font-size: 1.2rem;
	margin-bottom: 20px;
}

div#fre-container ul.list-dash {
    list-style: none;
}
div#fre-container ul.list-dash li::before {
    content: "-";
    margin-right: 5px;
}
.details-row {
	margin-top: 2rem;
}
#fre-details a {
	font-weight: 600;
}
.contact-agent {
	margin-top: 20px;
}


#cboxCurrent {
    left: 50%;
    width: 200px;
    margin-left: -100px;
    text-align: center;
}