.dsidx-error
{
    margin-left: 20px;
    margin-right: 20px;
    padding: 5px;
    border: 1px solid #FF0000;
}
.dsidx-search-widget h3 {
    margin: 0 auto;
    text-align: center;
    font-size: 16px;
    line-height: 18px;
}
.dsidx-widget
{
    text-align: left;
}
.dsidx-search-widget {
    max-width: 400px;
    margin: 0 auto;
}
.dsidx-search-widget label {
    display: inline-block;
    width: 20%;
    padding: 5px;
    clear: both;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.dsidx-search-widget input[type=text], .dsidx-search-widget select {
    display: inline-block;
    width: 80% !important;
    padding: 5px;
    margin: 3px 0;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.dsidx-search-widget input.dsidx-price {
    width: 39% !important;
}
.dsidx-search-widget #idx-q-PriceMax,
.dsidx-search-widget input.dsidx-beds,
.dsidx-search-widget input.dsidx-baths,
.dsidx-search-widget input.dsidx-improvedsqft,
.dsidx-search-widget input.dsidx-mlsnumber {
    float: right;
}
.dsidx-widget.dsidx-search-widget .dsidx-search-button {
    padding-top: 6px;
    text-align:center;
}
.dsidx-search-widget .dsidx-search-button {
    font-size: 12px;
}
.dsidx-search-widget .dsidx-search-button img {
    vertical-align:-3px;
    border: 0;
}
.dsidx-search-widget .dsidx-search-widget-propertyTypes, .dsidx-search-widget .idx-q-Location-Filter {
    width: 100% !important;
}
.dsidx-widget.dsidx-search-widget .dsidx-search-button {
    padding-top: 6px;
    text-align:center;
    margin: 0 auto;
    background: none;
    clear: both;
}
.dsidx-search-widget .dsidx-search-button .submit {
    font-size: 12px;
    float: none;
    margin: 15px auto 0;
    padding: 5px;
    text-align: center;
}
.dsidx-search-widget #idx-search-invalid-msg {
    display: none;
}

/* This adds the loading icon back to the autocomplete, so people know it's actually doing something */
.ui-autocomplete-loading {
    background-image: url('images/ui-anim_basic_16x16.gif')!important;
    background-position: 98% 50%!important;
    background-repeat: no-repeat!important;
    border-width: 1px;
    border-color: initial;
    border-style: solid;
}

/** Attempt to hide author info etc. on IDX pages **/
body.dsidx .post-info, body.dsidx .post-meta, body.dsidx .post-info, body.dsidx .entry-meta, .ds-idx-listings-page .post-info, .ds-idx-listings-page .post-meta, .ds-idx-listings-page .post-info, .ds-idx-listings-page .entry-meta{
    display: none;
}

/* Fix for images not scaling property in JuiceBox */
.jb-dt-main-frame img {
    max-width: 100%!important;
}

#wpadminbar #wp-admin-bar-dsIDXPageEdit>.ab-item:before {
  content: "\f464";
  top: 2px;
}

.dsidx-standalone-disclaimer > p:last-child {
    display: none;
}

.dsidx-standalone-disclaimer {
    max-width: 80%;
    margin: 10px auto 0;
    font-style: italic;
    font-size: 14px;
    line-height: 15px;
}

.jb-idx-thumb img {
  position: initial!important;
  max-width: 60px!important;
  max-height: 60px!important;
}

.dsidx-ui-widget.dsidx-dialog .ui-dialog-titlebar {
    padding: 0;
    margin: 0;
    height: 31px;
}

.ui-dialog .ui-dialog-title {
  padding: 6px 7px;
}

/* This is to make the quick search dropbox the same size as everything else
And to show beds/baths in Horizontal layouts, with some layout fixes*/
div.dsidx-resp-horizontal .dsidx-resp-area input[type="text"],
div.dsidx-resp-horizontal .dsidx-resp-area select,
div.dsidx-resp-horizontal .dsidx-resp-area-submit input[type="submit"] {
     height: 36px;
     margin: 0;
     padding: 0 10px;
}
div.dsidx-resp-horizontal .dsidx-resp-area-submit {
     width: 13%;
     min-width: 70px;
}
div.dsidx-resp-horizontal .dsidx-resp-search-form fieldset {
     width: 100%;
     margin: auto;
}
div.dsidx-resp-horizontal .dsidx-resp-type-area {
     width: 20%;
}
div.dsidx-resp-horizontal .dsidx-resp-location-area {
     width: 25%;
}
div.dsidx-resp-horizontal .dsidx-resp-area-half.dsidx-quick-resp-price-area {
     width: 10%!important;
}
div.dsidx-resp-horizontal .dsidx-resp-area-half.dsidx-quick-resp-min-baths-area {
     display: inline-block;
}
@media (max-width: 679px) {
	div.dsidx-resp-horizontal .dsidx-resp-area-half.dsidx-quick-resp-price-area {
		float: left !important;
		width: 50% !important;
	}
}
/* end shortcode search size */

/* ### This is to try and get shortcode into a grid view ### */
ol.dsidx-grid-shortcode.dsidx-results {
    display: flex;
    flex-wrap: wrap;
}
ol.dsidx-grid-shortcode.dsidx-results li.dsidx-prop-summary {
    padding: 5px 0 0 10px;
    margin: 0 auto 16px!important;
    border: 1px solid #dedede;
    box-shadow: 0 0 7px rgba(5, 5, 5, 0.1);
    display: flex;
    flex-direction: column;
    align-self: flex-start;
    align-items: flex-start;
    width: 100%;
    max-width: 275px!important;
    min-width: 270px;
    min-height: 450px!important;
}
ol.dsidx-grid-shortcode.dsidx-results li.dsidx-prop-summary:hover {
  box-shadow: 0 0 10px rgba(5, 5, 5, 0.3);
}
ol.dsidx-grid-shortcode.dsidx-results .dsidx-prop-title {
    display: flex;
    align-self: center;
    margin-left: 0!important;
}
ol.dsidx-grid-shortcode.dsidx-results div.dsidx-prop-features > div:nth-child(-n+5) {
    text-transform: capitalize;
}
ol.dsidx-grid-shortcode.dsidx-results div.dsidx-prop-features > div:last-child {
	text-transform: none;
}
ol.dsidx-grid-shortcode.dsidx-results .dsidx-prop-features {
	width: 95%;
  padding-bottom: 25px; /* This is to make sure the MLS icon doesn't overlap text */
}
ol.dsidx-grid-shortcode.dsidx-results li.dsidx-prop-summary > div:nth-child(2) { /* this applies to the <div> that contains the image, to center it */
    width: 100%!important;
    margin-left: -5px!important;
}
/* This fixes the registration dialog not being the correct width in some themes */
.dsidx-ui-widget.dsidx-dialog .ui-widget-content {
    min-width: 94%!important;
}
.ui-dialog .ui-dialog-content {
    padding: .5em 3%;
}

.ui-widget-overlay {
    background: black;
    opacity: .25;
}

/* Adjusting the 'Listing' profile dialog to be consistent */
.dsidx .dsidx-profile-item, .dsidx-profile-item {
    padding: 10px 10px;
    max-width: 350px;
    width: 100%!important;
}

.dsidx-profile-item-inner ul {
    margin: auto;
}

/* This fixes/ improves the layout of the Log in and Registration dialogs */
.ui-dialog.ui-widget.ui-widget-content.ui-corner-all.ui-front.dsidx-dialog.dsidx-ui-widget {
    height: auto;
    width: 500px!important;
    display: block;
}
.dsidx-auth-row {
    display: flex;
}
.dsidx-auth-col {
    float: left;
    width: 45%;
    margin: 0;
    margin-top: 6px;
}
#dsidx-login-email, #dsidx-login-password {
    width: 90%;
    display: block;
    margin: 0;
    font-size: 1em;
    font-weight: 400;
    box-shadow: unset;
    padding: 4px 5px;
    border-left: solid 1px #abadb3;
    border-bottom: solid 1px #abadb3;
    border-top: solid 1px #c8c9cc;
    border-right: solid 1px #c8c9cc;
}
.dsidx-ui-widget.dsidx-dialog label.checkbox {
    display: block;
    margin: 9px auto;
    text-align: center;
}
.dsidx-ui-widget.dsidx-dialog .dsidx-auth-buttons {
    margin: 0;
}
#dsidx-login-submit {
    display: block;
    margin: auto;
    width: 50%;
}
.loginBtn--facebook, .loginBtn--google {
    width: 135px;
    margin: auto;
    display: block;
    box-sizing: border-box;
    position: relative;
    padding: 0 15px 0 40px;
    border: none;
    text-align: left;
    line-height: 34px;
    white-space: nowrap;
    border-radius: .2em;
    color: #FFF;
}
.loginBtn--facebook:before, .loginBtn--google:before {
    content: "";
    box-sizing: border-box;
    position: absolute;
    top: 0;
    left: 0;
    width: 34px;
    height: 100%;
}
.loginBtn--facebook {
    background-color: #4C69BA;
    background-image: linear-gradient(#4C69BA, #3B55A0);
    text-shadow: 0 -1px 0 #354C8C;
}
.loginBtn--facebook:before {
    border-right: #364e92 1px solid;
    background: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/14082/icon_facebook.png) 6px 6px no-repeat;
}
.loginBtn--google {
   /* These colors below should both probably be tweaked */
    background-color: #db3236;
    background-image: linear-gradient(#ef4340, #cf202a);
    text-shadow: 0 -1px 0 #af0014;
}
.loginBtn--google:before {
    border-right: #BB3F30 1px solid;
    background: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/14082/icon_google.png) 6px 6px no-repeat;
}
.ui-dialog.ui-widget.ui-widget-content.ui-corner-all.ui-front.dsidx-dialog.dsidx-ui-widget {
    max-height: 400px;
}
#dsidx-register-submit {
    display: block;
    margin: auto;
    width: 50%;
}
.dsidx-auth-separator {
    position: absolute;
    left: 50%;
    top: 35%;
    z-index: 601;
    transform: translate(-50%, -50%);
    background-color: #f1f1f1;
    border: 1px solid #c8c9cc;
    border-radius: 50%;
    padding: 5px 6px;
    display: inherit;
}
.dsidx-auth-separator-left {
    width: 5%;
    float: left;
    min-width: 5%;
    min-height: 100%;
    display: block;
    border-right: 1px solid #c8c9cc;
}
.dsidx-auth-separator-right {
    width: 5%;
    float: left;
    min-width: 5%;
    min-height: 100%;
    display: block;
    border-left: 1px solid #c8c9cc;
}
.dsidx-ui-widget.dsidx-dialog input.text {
    width: 90%;
    display: block;
    margin: 0;
    font-size: 1em;
    font-weight: 400;
    color: #666;
    box-shadow: unset;
    padding: 4px 5px;
    border-left: solid 1px #abadb3;
    border-bottom: solid 1px #abadb3;
    border-top: solid 1px #c8c9cc;
    border-right: solid 1px #c8c9cc;
}
.dsidx-auth-col input:-ms-input-placeholder {
	color: #c8c9cc;
}
.dsidx-auth-col input::-ms-input-placeholder {
	color: #c8c9cc;
}
.dsidx-auth-col input::placeholder {
    color: #c8c9cc;
}
.ui-dialog.ui-widget.ui-widget-content.ui-corner-all.ui-front.dsidx-dialog.dsidx-ui-widget.dsidx-register-dialog {
    max-height: 675px;
}
.dsidx-auth-register-sso {
    margin-top: -15px;
    position: absolute;
    top: 50%;
    left: 75%;
    transform: translate(-50%, -50%);
}
.dsidx-auth-sso-separator {
    clear: both;
    padding: 15% 0;
}
@media screen and (max-width: 600px) {
    .ui-dialog.ui-widget.ui-widget-content.ui-corner-all.ui-front.dsidx-dialog.dsidx-ui-widget {
        height: auto;
		width: 70%!important;
		min-width: 230px!important;
        display: block;
        max-height: unset;
   }
   .dsidx-ui-widget.dsidx-dialog input.text {
		margin: auto;
   }
    .dsidx-auth-row {
        display: block;
        overflow: auto;
   }
    .dsidx-auth-separator-left, .dsidx-auth-separator-right, .dsidx-auth-separator {
        display:none;
   }
    .dsidx-auth-col {
        float: left;
        width: 100%;
        margin: 0;
        margin-top: 6px;
   }
    .dsidx-auth-col form::after {
        content: "- OR -";
        text-align: center;
        border-bottom: 1px solid #c8c9cc;
        width: 100%;
        display: inline-block;
   }
    .dsidx-auth-register-sso {
        margin-top: unset;
        position: unset;
        top: unset;
        left: unset;
        transform: unset;
   }
    .dsidx-auth-sso-separator {
        clear: both;
        padding: 5% 0;
   }
}

/* CSS for the custom map area */
.dsidx-results #dsidx-map-custom
{
	display: none;
	width: 100%;
	height: 400px;
	margin: 10px 0;
	border: 1px solid #ccc;
	overflow: hidden;
}
.dsidx-results.dsidx-results-map #dsidx-map-custom
{
	display: block;
}
.dsidx-details #dsidx-map-custom
{
	display: block;
	width: 100%;
	height: 400px;
	margin: auto;
	border: 1px solid #f3f3f3;
	overflow: hidden;
}
/* End custom map area */

/* Adjusting Pro search field */
#dsidx-top-search #dsidx-search-form span.indicator {
    margin: 0 5px;
}
#dsidx-top-search input.dsidx-small {
    width: 75px;
}
/* End Pro search field */