.aiosp-container {
    position: relative;
    height: auto;
    min-height: 100%;
}

.aiosp-wrap .aiosp-container .aios-popup-body {
    max-width: 887px;
    width: 90%;
    min-height: auto;
    padding: 55px 20px 60px !important;
    margin: 100px auto;
}

.aiosp-content .listings-popup {
    position: relative;
}

.aiosp-content .listings-popup ::-webkit-input-placeholder {
    /* Chrome/Opera/Safari */
    color: inherit;
    font-family: inherit;
    font-size: inherit;
}

.aiosp-content .listings-popup ::-moz-placeholder {
    /* Firefox 19+ */
    color: inherit;
    font-family: inherit;
    font-size: inherit;
}

.aiosp-content .listings-popup :-ms-input-placeholder {
    /* IE 10+ */
    color: inherit;
    font-family: inherit;
    font-size: inherit;
}

.aiosp-content .listings-popup :-moz-placeholder {
    /* Firefox 18- */
    color: inherit;
    font-family: inherit;
    font-size: inherit;
}

.aiosp-content .listings-popup+.aiosp-close {
    font-size: 40px;
    color: var(--aios-listing-primary-color);
    top: 7px;
    right: 7px;
}

.aiosp-content .listings-popup form {
    width: 100%;
    margin: 0;
    color: #000;
}

.aiosp-content .listings-popup>h2 {
    display: block;
    font-size: 50px;
    font-weight: 700;
    text-transform: uppercase;
    color: #222;
    margin: 0;
    text-align: center;
}

.aiosp-content .listings-popup>h2 span {
    font-size: 25px;
}

.aiosp-content .listings-popup>p {
    display: block;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.533;
    letter-spacing: 0.025em;
    color: #7e7e7e;
    text-align: center;
    margin-top: 20px;
}

.aiosp-content .listings-popup-row {
    margin-left: -8px;
    margin-right: -8px;
}

.aiosp-content .listings-popup-field {
    padding: 8px;
}

.aiosp-content .listings-popup-field.submit {
    padding-top: 42px;
    padding-bottom: 0;
}

.aiosp-content .listings-popup input[type=email],
.aiosp-content .listings-popup input[type=tel],
.aiosp-content .listings-popup input[type=text],
.aiosp-content .listings-popup input[type=date],
.aiosp-content .listings-popup select,
.aiosp-content .listings-popup textarea,
.aiosp-content .listings-popup .form-control {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    display: block;
    width: 100%;
    height: 40px;
    font-size: 15px;
    font-weight: 400;
    border: none;
    border-bottom: 1px solid #a5a5a5;
    border-radius: 0;
    padding: 10px 0 !important;
    color: #636363;
    -webkit-box-shadow: none;
    box-shadow: none;
    background: none;
    outline: none;
}

.aiosp-content .listings-popup textarea {
    height: 65px;
    resize: none;
    margin-top: 15px;
}

.aiosp-content .listings-popup input[type="submit"],
.aiosp-content .listings-popup button[type="submit"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
    border: none;
    border-radius: 0;
    display: block;
    width: 100%;
    max-width: 283px;
    height: 68px;
    margin: 0 auto;
    font-size: 22px;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: var(--aios-listing-primary-color);
    color: #fff;
    -webkit-box-shadow: none;
    box-shadow: none;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;

}

.aiosp-content .listings-popup input[type="submit"]:hover,
.aiosp-content .listings-popup button[type="submit"]:hover {
    background: #515050;
    color: #fff;
}

.aios-mortgage-calculator-standalone form .aios-mortgage-calculator-standalone-mortgage-buttons button {
    font-size: 18px;
    width: 100%;
    border-radius: 0 !important;
    padding: 0px;
}

.aios-mortgage-calculator-standalone form .aios-mortgage-calculator-standalone-mortgage-buttons button {
    width: 100% !important;
    max-width: 100% !important;
    height: 36px !important;
    font-size: 18px !important;
}

.aiosp-content .listings-popup .wpcf7-form-control-wrap {
    display: block;
}

.aiosp-content .listings-popup .ajax-loader {
    position: absolute;
    left: calc(50% - 8px);
    margin: 0;
}

.aiosp-content .listings-popup .wpcf7-response-output {
    text-align: center;
    font-size: 16px;
    width: 90%;
    max-width: 735px;
    margin: 15px auto 0;
}

.aiosp-content .listings-popup h3 {
    display: block;
    width: 90%;
    max-width: 735px;
    margin: 0 auto;
    font-size: 30px;
    font-weight: 400;
    line-height: 1;
    text-transform: uppercase;
}

.listings-popup .row {
    padding: 10px 0 20px;
}

.listings-save-sign-in,
.listings-save-sign-up {
    margin-top: 50px;
}

.aiosp-content .listings-popup-form {
    margin-top: 50px;
}

.aiosp-content .listings-popup-form .form-group {
    display: block;
}

.aiosp-content .listings-popup-form label {
    display: none;
}

.aiosp-content .listings-popup-form .row {
    margin-left: -8px;
    margin-right: -8px;
}

.aiosp-content .listings-popup-form .row [class*=col-] {
    padding: 8px;
}

.aiosp-content .listings-popup-form button[type=submit] {
    margin-top: 42px;
}

.aiosp-content .listings-popup-form .ihf-modal-form-captcha .form-group {
    margin-bottom: 0;
}

.aiosp-content .listings-popup-form .ihf-captcha {
    margin-top: 30px;
}

.aiosp-content .listings-popup-form .ihf-captcha .g-recaptcha>div {
    margin: 0 auto !important;
}

.aiosp-content .listings-popup-form .ihf-modal-form-disclaimer {
    width: 450px;
    max-width: 100%;
    margin: 30px auto 0;
    float: none;
    text-align: center;
}

.aiosp-content .listings-popup-form #ihf-save-listing-form [class*=col-] {
    width: 100%;
}

.aiosp-content .listings-popup-form-response-output {
    display: none;
}

.footer-smi {
    margin-top: 0;
}

.footer-gt-holder {
    display: none;
}

p.modal-listings-paragraph,
.aios-mortgage-calculator-standalone p {
    font-size: 16px;
    text-align: center;
    padding: 20px;
    line-height: 1.9;
}

body.is-gallery-popup-active{
    overflow: hidden;
}

.ip-gpd__map #listings-map {
    position: relative;
    z-index: 1;
    height: 750px;
    width: 100%;
    filter: grayscale(100%);
}


.ip-property-details__gallery-popup {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: #000;
    z-index: 1020;
    display: flex;
    align-items: center;
    justify-content: center
}

.ip-property-details__gallery-popup-close {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: none;
    padding: 0;
    border: 0;
    position: absolute;
    top: 30px;
    right: 14px;
    line-height: 1;
    opacity: 1;
    font-size: 20px;
    color: #fff;
    transition: all var(--default-transition);
    z-index: 9999;
    background: #000;
    padding: 5px;
}

.ip-property-details__gallery-popup-close:hover {
    color: rgba(var(--primary-rgb), 1)
}

.ip-property-details__gallery-popup-main {
    width: 1230px;
    max-width: 100%;
    padding: 0 15px;
    margin: 0 auto
}

.ip-property-details__gallery-popup-main-list:not(.slick-initialized) .ip-property-details__gallery-popup-main-item:nth-child(1)~div {
    display: none
}

.ip-property-details__gallery-popup-main-item img {
    display: block;
    aspect-ratio: 1112/487;
    width: 100%;
    height: auto;
    -o-object-fit: cover;
    object-fit: cover;
    background: #ccc
}

.ip-property-details__gallery-popup-thumb {
    width: 1230px;
    max-width: 100%;
    padding: 0 15px;
    margin: 10px auto 0
}

.ip-property-details__gallery-popup-thumb-list {
    margin: 0 -5px
}

.ip-property-details__gallery-popup-thumb-list:not(.slick-initialized) {
    display: flex
}

.ip-property-details__gallery-popup-thumb-list:not(.slick-initialized) .ip-property-details__gallery-popup-thumb-item {
    width: 16.6666666667%
}

.ip-property-details__gallery-popup-thumb-list:not(.slick-initialized) .ip-property-details__gallery-popup-thumb-item:nth-child(6)~div {
    display: none
}

.ip-property-details__gallery-popup-thumb-item {
    position: relative;
    padding: 0 5px
}

.ip-property-details__gallery-popup-thumb-item:after {
    content: "";
    display: block;
    position: absolute;
    width: calc(100% - 10px);
    height: 100%;
    top: 0;
    left: 5px;
    border: 5px solid rgba(var(--primary-rgb), 1);
    opacity: 0;
    z-index: 10;
    transition: all var(--default-transition)
}

.ip-property-details__gallery-popup-thumb-item img {
    display: block;
    aspect-ratio: 176/105;
    width: 100%;
    height: auto;
    -o-object-fit: cover;
    object-fit: cover;
    background: #ccc
}

.ip-property-details__gallery-popup-thumb-item:hover:after {
    opacity: 1
}

.ip-property-details__gallery-popup-controls {
    position: absolute;
    width: 100%;
    top: 50%;
    left: 0;
    margin-top: -5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px
}

.ip-property-details__gallery-popup-arrow {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: none;
    padding: 0;
    border: 0;
    font-size: 55px;
    color: #fff;
    transition: all var(--default-transition)
}

.ip-property-details__gallery-popup-arrow:hover {
    color: rgba(var(--primary-rgb), 1)
}

.is-gallery-popup-active header {
    opacity: 0;
    pointer-events: none
}