/* Body */

body.privbuy {
    background: #F8F7F4;
    font-size: 16px;
    padding-top: 0 !important;
}

.privbuy-container {
    padding: 0 0 0 0;
}

@media all and (min-width: 1024px) {
    .privbuy-container {
        padding: 3.875rem 0 0;
    }
}

.privbuy-container--results {
    padding-top: 0;
}

.comments-label {
    color: black;
    /*font-size: 0.87rem;*/
    font-family: 'ivyora-display', serif;
    font-weight: 500;
    display: block;
    margin-top: .5rem;
    margin-bottom: .25rem;
}

.grid {
    max-width: 1062px;
}

/* BTN */

.btn {
    background: #AE9161;
    border: 1px solid #AE9161;
    border-radius: 3px;
    cursor: pointer;
    color: white;
    min-width: 170px;
    font-size: 0.875rem;
    font-weight: normal;
    line-height: 1.5em;
    padding: .65em 1.25em;
}

.btn--outline {
    background: transparent;
    color: #AE9161;
}

.btn--outline-white {
    background: transparent;
    border-color: white;
    color: white;
}

.btn:hover {
    background: #987e52;
}

.btn--outline-white:hover {
    background: white;
    color: black;
}
.btn--outline:hover {
    color: white;
}

/* Header */

.privbuy-header-desktop {
    background: #011f0c;
    display: none;
}

.main-header__menuToggle { position: relative; z-index: 25; }
.main-header__menuToggle > div {width: 23px;height: 19px;position: relative;transform: rotate(0deg);transition: .5s ease-in-out;cursor: pointer;}
.main-header__menuToggle > div span {display: block;position: absolute;height: 3px;width: 100%;background: #A49063;border-radius: 0px;opacity: 1;left: 0;transform: rotate(0deg);transition: .25s ease-in-out;}
.main-header__menuToggle > div span:nth-child(1) {top: 0px;}
.main-header__menuToggle > div span:nth-child(2) {top: 8px;}
.main-header__menuToggle > div span:nth-child(3) {top: 16px;}
body.main-menu--open .main-header__menuToggle > div span:nth-child(1) {transform: rotate(45deg);top: 8px;left: 0;}
body.main-menu--open .main-header__menuToggle > div span:nth-child(2) {width: 0%;opacity: 0;}
body.main-menu--open .main-header__menuToggle > div span:nth-child(3) {transform: rotate(-45deg);top: 8px;left: 0;}

body.main-menu--open {
    overflow: hidden;
}

.privbuy-header-mobile {
    background: #011f0c;
    display: flex;
    justify-content: space-between;
    padding: 1rem 1rem 1.5rem;
}

.privbuy-header-mobile > a { color: #AE9161; font-weight: normal; }

    .privbuy-header-mobile nav {
        position: absolute;
        top: 46px;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: calc(100% - 46px);
        background: #AE9161;
        color: white;
        z-index: 20;
        transform: translateX(-100%);
        transition: transform .15s linear;
    }

    .privbuy-header-mobile nav a.logo {
        display: block;
        margin: 1.25rem auto 0;
        width: clamp(200px, 60%, 350px);
    }

    .privbuy-header-mobile nav a.logo img { width: 100%; display: block; }

    .privbuy-header-mobile nav ul {
        margin: 0;
        padding: .5rem 1.25rem 2.125rem;
        list-style-type: none;
        display: flex;
        flex-direction: column;
    }

    .privbuy-header-mobile nav ul li {
        padding: .65rem 0.625rem .65rem;
        border-bottom: 1px solid white;
    }
    .privbuy-header-mobile nav ul li a {
        color: white;
        display: block;
        font-size: 1em;
        font-weight: 400;
        text-decoration: none;
        position: relative;
    }

    .privbuy-header-mobile nav ul li a::after {
        content: "";
        display: block;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='7.347' height='13.693' viewBox='0 0 7.347 13.693'%3E%3Cpath id='Icon_akar-chevron-down-small' data-name='Icon akar-chevron-down-small' d='M0,0,6.14,6.14,12.279,0' transform='translate(0.707 12.986) rotate(-90)' fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='1'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-size: contain;
        width: 7px;
        height: 13px;
        position: absolute;
        top: 50%;
        right: 0;
        transition: all .2s ease;
        transform: translate3d(0,-50%,0);
    }

    body.privbuy .header__touch-trigger { position: relative; z-index: 25; }
    body.privbuy .header__touch-trigger span,
    body.privbuy .header__touch-trigger span::before,
    body.privbuy .header__touch-trigger span::after
    {
        background: #AE9161;
    }

    body.touch-menu-open .header__touch-trigger span,
    body.touch-menu-open .header__touch-trigger span::before,
    body.touch-menu-open .header__touch-trigger span::after {
        background: white;
    }

body.touch-menu-open .privbuy-header-mobile nav {
    transform: translateX(0);
}


@media all and (min-width: 768px) {

    .privbuy-header-mobile { display: none; }

    .privbuy-header-desktop {
        background: #011f0c;
        display: block;
    }

    .privbuy-header-desktop__container {
        padding: 1.5rem 1.25rem;
        display: flex;
        flex-direction: column;
        gap: 3rem;
        justify-content: center;
        align-items: flex-start;
        width: 100%;
        max-width: 1280px;
        margin: 0 auto;
    }

    .privbuy-header-desktop nav {
        display: flex;
        gap: 1.5rem;
        flex: 1 0 auto;
        width: 100%;
    }

    .privbuy-header-desktop nav:last-of-type {
        justify-content: center;
        position: relative;
    }

    .privbuy-header-desktop nav:last-of-type::before {
        content: "";
        display: block;
        height: 1px;
        width: 80%;
        left: 50%;
        position: absolute;
        top: -1.5rem;
        transform: translate3d(-50%,0,0);
        background: #A49063;
        opacity: .5;
    }

    .privbuy-header-desktop nav a {
        display: inline;
        color: #A49063;
        font-weight: 400;
    }
    .privbuy-header-desktop nav a:hover {
        color: white;
        text-decoration: none;
    }

    .privbuy-header-desktop__container {
        flex-direction: row;
        justify-content: space-between;
    }
    .privbuy-header-desktop nav {
        flex: 0 0 auto;
        width: auto;
    }
    .privbuy-header-desktop nav:last-of-type::before { display: none; }
}

.privbuy__logo-box {
    background: #011f0c;
    text-align: center;
    padding: 1rem 1.25rem;
}

.privbuy__logo-box img { width: 100%; height: auto; max-width: 425px; }
.privbuy-login__container .privbuy__logo { width: 100%; max-width: 425px; }

/*
* * Login
*/

.privbuy-login {
    background: #011f0c;
    color: white;
}

.privbuy-login__container {
    max-width: 1062px;
    margin: 0 auto;

    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 4rem 1.25rem;
    gap: 1rem;
}

.privbuy__logo { margin-bottom: 3rem; }

.privbuy-login__container > p {
    max-width: 845px;
    text-align: center;
}

.privbuy-login__container form {
    background: #F8F7F4;
    border: 1px solid #A49063;
    color: black;
    padding: 1.875rem 3rem;
    text-align: center;
    width: 100%;
    max-width: 510px;
    margin-top: 0rem;
    margin-bottom: 2rem;

    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.privbuy-login__container form h2 {
    font-size: 1.5625rem;
    margin: 0 0 1rem;
}

.privbuy-login__container form .form-row {
    display: flex;
    flex-direction: column;
    gap: .25rem;
}

.privbuy-field-error { color: #910000; font-size: 14px; margin-top: 0; }

.privbuy-login__container form .form-row label { text-align: center; }

.privbuy-login__container form p { margin-bottom: 0; }
.privbuy-login__container form p a { font-weight: 400; text-decoration: underline; }

.privbuy-login .btn { align-self: center; justify-self: center; }

/* Dashboard */
.dashboard__intro {
    padding: 2.125rem 2.125rem 0;
}

@media all and (min-width: 1024px) {
    .desktop-bottom-padding {
        padding-bottom: 3rem;
    }
}

/* Panel Box */

.panel-box {
    background: white;
    padding: 2rem 2.125rem;
    margin-bottom: 1.125rem;
    height: 100%;
}

.panel-box:last-of-type {
    margin-bottom: 0;
}

.panel-box.panel-box--gold {
    background: #AE9161;
    color: white;
}

.panel-box .link-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.panel-box .link-list a {
    display: flex;
    flex-direction: column;
    padding: .65rem 2rem .25rem .25rem;

    font-size: 1.25rem;
    font-family: 'ivyora-display', sans-serif;
    font-weight: 500;
    position: relative;
}

.panel-box .link-list a:hover {
    text-decoration: none;
}

.panel-box .link-list a::before,
.panel-box .link-list a::after {
    content: "";
    display: block;
    position: absolute;
    bottom: -1rem;
}

.panel-box .link-list a::before {
    background: white;
    height: 1px;
    left: 0;
    right: 0;
    width: 100%;
}

.panel-box .link-list a::after {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="4" height="4" viewBox="0 0 4 4"><circle id="Ellipse_12" data-name="Ellipse 12" cx="2" cy="2" r="2" fill="%23fff"/></svg>');
    background-repeat: no-repeat;
    background-size: contain;
    height: 5px;
    width: 5px;
    right: 0;
    transform: translateY(1.5px);
}

.panel-box .link-list a:last-of-type::before,
.panel-box .link-list a:last-of-type::after {
    display: none;
}

.panel-box .link-list a svg {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translate3d(0,-50%,0);
}

.panel-box .link-list a span {
    font-family: 'proxima-nova', sans-serif;
    font-weight: normal;
    font-size: 0.875rem;
}

/* Dashboard */

.dashboard__intro {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

@media all and (min-width: 960px) {
    .dashboard__intro {
        align-self: center;
    }
}

/* Criteria */

.criteria-box {
    max-width: 682px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.criteria-box h1 { font-size: 2.5rem; }

.criteria-box input {
    background: white;
    border-color: white;
}

.criteria-box h1 {
    text-align: center;
}

.criteria-box .criteria-location {
    width: 100%;
}

.criteria-box .select-style {
    height: 41px;
}

.criteria-box .mg-desktop-search-drawer__row {
    background: none !important;
    justify-content: flex-start;
    padding: 1rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.criteria-box .mg-desktop-search-drawer__row-label {
    color: black !important;
    font-size: 1em;
    width: 90px;
    flex: 0 0 auto;
}

.criteria-box .mg-filter-block {
    flex-basis: 50%;
}

.criteria-box .mg-desktop-search-drawer__group {
    flex: 0 1 auto;
    /*padding: .5rem 2.25rem .5rem 2.25rem;*/
    padding: .5rem 2.25rem .5rem 0rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.criteria-box .select-style--radius {
    background-position: 95% 50%;
}

@media all and (min-width: 768px) {
    .criteria-box .mg-desktop-search-drawer__row {
        padding: 0;
        flex-direction: row;
        align-items: center;
        gap: 0;
        margin-bottom: 1.25rem;
    }

    .criteria-box .mg-desktop-search-drawer__row:last-of-type {
        margin-bottom: 0;
    }

    .criteria-box .mg-desktop-search-drawer__group {
        flex: 0 1 auto;
        padding: .5rem 2.25rem .5rem 2.25rem;
    }
}

@media all and (min-width: 960px) {

    .criteria-box .select-style--radius {
        background-position: 85% 50%;
    }
}


.criteria-box .mg-desktop-search-drawer__group::before {
    width: 1px;
    height: 65%;
    max-height: 25px;
    background: #222222;
}

@media all and (min-width: 768px) {
    .criteria-box .mg-desktop-search-drawer__group {
        position: relative
    }
    .criteria-box .mg-desktop-search-drawer__group--small {
        padding-right: .75rem;
    }
}

@media (min-width: 768px) {
    .criteria-box .mg-desktop-search-drawer__group::before {
        content: "";
        display: block;
        position: absolute;
        top: 50%;
        left: 0;
        height: 75%;
        width: 1px;
        transform: translate3d(0,-50%,0);
        background: #AAAAAA;
    }
}

.criteria-box .mg-desktop-search-drawer__group .mg-desktop-search-drawer__checkboxes {
    display: flex;
    flex-direction: row;
    gap: .25rem 1rem;
    flex-wrap: wrap;
}


@media all and (min-width: 960px) {
    .criteria-box .mg-desktop-search-drawer__group .mg-desktop-search-drawer__checkboxes {
        grid-template-columns: repeat(3, 1fr);
        gap: .25rem 2rem;
    }
}

.criteria-box .mg-desktop-search-drawer__group .mg-desktop-search-drawer__checkboxes label {
    font-size: 14px;
    color: black;
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: .25rem;
}

.criteria-box textarea {
    border-radius: 5px;
    border: 1px solid white;
    font-family: 'proxima-nova', sans-serif;
    padding: 1rem;
    width: 100%;
    min-height: 10rem;
}

.criteria-small {
    color: black;
    font-size: 12px;
    line-height: 1.4;
    margin-top: .5rem;
}

/* Black Form Actions Box */

.criteria-form-actions {
    background: #011f0c;
    color: white;
    margin: 4.4375rem 0;
    width: 100%;
    padding: 0 1.25rem;
}

.criteria-form-actions__container {
    max-width: 862px;
    margin: 0 auto;
    padding: 2.25rem 0;

    display: flex;
    flex-direction: column;
    gap: 3.5rem;
}

.criteria-form-actions__checkboxes {
    display: flex;
    gap: 1rem;
    flex-direction: column;
}

.criteria-form-actions__checkbox {
    display: flex;
    gap: .5rem;
    align-items: flex-start;
}

.criteria-form-actions__checkbox input {
    transform: translateY(3px);
}

.criteria-form-actions__checkbox span {
    font-size: 14px;
}

.criteria-form-actions__buttons {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

@media all and (min-width: 420px) {
    .criteria-form-actions__container {
        gap: 2rem;
    }

    .criteria-form-actions__buttons {
        flex-direction: row;
        justify-content: center;
        gap: 1.25rem;
    }
}

@media all and (min-width: 768px) {

    .criteria-form-actions__container {
        display: flex;
        flex-direction: row;
        max-width: 844px;
    }

    .criteria-form-actions__buttons { flex-direction: column; }
    .criteria-form-actions__buttons button {
        align-self: center;
    }

    .criteria-form-actions__checkbox span {
        font-size: 15px;
    }
}

/* Selects ? */

/* Hide the real <select> but keep it in the DOM */
.custom-select-wrapper select {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* custom UI */
.custom-select {
    position: relative;
    font-family: sans-serif;
    width: 120px;
    cursor: pointer;
}

.select-label {
    position: absolute;
    top: -4px;
    left: 0;
    font-size: 14px;
    color: #333;
    transition: 0.2s ease;
    pointer-events: none;
}

@media all and (min-width: 1024px) {
    .select-label {
        font-size: 16px;
    }
}

.custom-select.has-value .select-label {
    top: -16px;
}

.select-display {
    /*border: 1px solid #ccc;*/
    padding: 0 0 0 0;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    height: 14px;
    line-height: 1;
    /*background: #fff;*/
}

.custom-select.has-value .select-display {
    transform: translateY(4px);
}

.selected-value {
    color: #011f0c; /* green for selected value */
    font-size: 0.75em;
}

.arrow {
    font-size: 14px;
}

.select-options {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    list-style: none;
    margin: 5px 0 0;
    padding: 0;
    max-height: 200px;
    overflow-y: auto;
    z-index: 10;
    width: 220px;
}

.select-options li {
    padding: 10px;
    transition: background 0.2s;
}

.select-options li:hover {
    background: #f0f0f0;
}

.criteria-box .mg-desktop-search-drawer__group--small .custom-select {
    width: 90px;
}


/* saaerch Filters */

.privbuy-container .mg-search-container--mobile,
.privbuy-container .mg-mobile-search-drawer,
.privbuy-container .mg-mobile-search-drawer .mg-mobile-search-drawer__inner,
.privbuy-container .mg-mobile-search-drawer .mg-mobile-search-drawer__inner::before,
.privbuy-container .custom-styled-select,
.privbuy-container .custom-styled-select__options-list,
.privbuy-container .mg-search-container--desktop {
    background: #011f0c;
}

.privbuy-container .mg-desktop-search {
    padding-top: 0;
}

.privbuy-container--results .mg-block-search-box__fields {
    background: none;
    border: 1px solid #AE9161;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: flex-end;
}

.privbuy-container--results .mg-block-search-box__field-radius .select-style {
    min-width: 112px;
}

.privbuy-container--results .mg-block-search-box__field-radius .select-style select {
    width: 100%;
}

.privbuy .mg-search-container--desktop .mg-desktop-search-drawer {
    background: #ac986b;
}
.privbuy .mg-search-container--desktop .mg-desktop-search-drawer__row:nth-child(2n+1) {
    background: #A49063;
}

.mg-search-container--desktop .mg-desktop-search-drawer__row-label { color: white; }

.mg-desktop-search-drawer__group::before {
    background: #cccccc;
}

.privbuy .mg-desktop-search .select2-results {
    color: black;
}

.mg-search-container--desktop .mg-filter-block label,
.mg-search-container--desktop .mg-desktop-search-drawer__checkboxes label { color: white; }

.mg-search-container--desktop .mg-desktop-search-drawer__hide { color: white; }


@media all and (min-width: 540px) {
    .privbuy-container--results .mg-block-search-box__fields {
        flex-direction: row;
        flex-wrap: nowrap;
    }

    .privbuy-container--results .btn {
        min-width: 140px;
    }
}

.privbuy-container .mg-search-container form {
}

.privbuy-container .mg-search-container--mobile .mg-mobile-search {
    padding-top: 0;
}

/* Search reults */

.privbuy-container--results .mg-active-filters__filters a {
    color: black;
}
.privbuy-container--results .mg-active-filters__title {
    color: black;
}

.privbuy-container--results .mg-active-filters__filters li a::after {
    content: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="9.214" height="9.362" viewBox="0 0 9.214 9.362"><g id="Group_617" data-name="Group 617" transform="translate(-265.643 -332.481)"><line id="Line_171" data-name="Line 171" x1="8.5" y2="8.662" transform="translate(266 332.831)" fill="none" stroke="%23487861" stroke-width="1"/><line id="Line_172" data-name="Line 172" x2="8.5" y2="8.662" transform="translate(266 332.831)" fill="none" stroke="black" stroke-width="1"/></g></svg>');
}

/* Property Card */

.privbuy-container--results .mg-block-property-card__salePriceString {
    color: #AE9161;
}
.privbuy-container--results .mg-block-property-card__address {
    color: black;
    font-weight: 400;
    font-size: 1rem;
}
.privbuy-container--results .mg-block-property-card__rooms {
    color: black;
}

/* Modals */

/**************************\
  Basic Modal Styles
\**************************/

.micromodal {
    display: none;
}

.micromodal.is-open {
    display: block;
}

.modal {
    font-family: -apple-system,BlinkMacSystemFont,avenir next,avenir,helvetica neue,helvetica,ubuntu,roboto,noto,segoe ui,arial,sans-serif;
}

.modal__overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal__container {
    background-color: #011f0c;
    padding: 0;
    max-width: 1280px;
    max-height: 90vh;
    border-radius: 4px;
    overflow-y: auto;
    box-sizing: border-box;
    position: relative;
}

@media all and (min-width: 1024px) {
    .modal__container {
        max-height: 100vh;
    }
}

.modal__header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 20;
}


.modal__close {
    background: #AE9161;
    border: 0;
    color: white;
    height: 2.5rem;
    width: 2.5rem;
    padding: 0;
    cursor: pointer;
}

.modal__header .modal__close:before { content: "\2715"; font-size: 1.5em; }

@media all and (min-width: 1024px) {
    .modal__close {

    }
}

.modal__content {
    margin-top: 0;
    margin-bottom: 2rem;
    line-height: 1.5;
    color: white;
    padding: 3rem 1.8125rem 1.8125rem;
}

@media all and (min-width: 1280px) {
    .modal__content {
        padding: 3.625rem 3.625rem 3.625rem;
    }
}

.modal__btn {
    font-size: .875rem;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: .5rem;
    padding-bottom: .5rem;
    background-color: #e6e6e6;
    color: white;
    border-radius: .25rem;
    border-style: none;
    border-width: 0;
    cursor: pointer;
    -webkit-appearance: button;
    text-transform: none;
    overflow: visible;
    line-height: 1.15;
    margin: 0;
    will-change: transform;
    -moz-osx-font-smoothing: grayscale;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    transition: -webkit-transform .25s ease-out;
    transition: transform .25s ease-out;
    transition: transform .25s ease-out,-webkit-transform .25s ease-out;
}

.modal__btn:focus, .modal__btn:hover {
    -webkit-transform: scale(1.05);
    transform: scale(1.05);
}

.modal__btn-primary {
    background-color: #00449e;
    color: #fff;
}

/**************************\
  Demo Animation Style
\**************************/
@keyframes mmfadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes mmfadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

@keyframes mmslideIn {
    from { transform: translateY(15%); }
    to { transform: translateY(0); }
}

@keyframes mmslideOut {
    from { transform: translateY(0); }
    to { transform: translateY(-10%); }
}

.micromodal-slide {
    display: none;
}

.micromodal-slide.is-open {
    display: block;
}

.micromodal-slide[aria-hidden="false"] .modal__overlay {
    animation: mmfadeIn .3s cubic-bezier(0.0, 0.0, 0.2, 1);
}

.micromodal-slide[aria-hidden="false"] .modal__container {
    animation: mmslideIn .3s cubic-bezier(0, 0, .2, 1);
}

.micromodal-slide[aria-hidden="true"] .modal__overlay {
    animation: mmfadeOut .3s cubic-bezier(0.0, 0.0, 0.2, 1);
}

.micromodal-slide[aria-hidden="true"] .modal__container {
    animation: mmslideOut .3s cubic-bezier(0, 0, .2, 1);
}

.micromodal-slide .modal__container,
.micromodal-slide .modal__overlay {
    will-change: transform;
}

.privbuy-modal-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.privbuy-modal-top {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.privbuy-modal-gallery-container {

}

.privbuy-single-image { width: 100%; }

.privbuy-modal-gallery-container {
    position: relative;
    /*width: 50%;*/
}

.privbuy-modal-gallery-container:before {
    display: block;
    content: "";
    width: 100%;
    padding-top: 67.45562130177515%;
}

.privbuy-modal-gallery-container > .privbuy-modal-slider {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.privbuy-modal-slider__slider-image img {
    width: 100%;
}

.privbuy-modal-content__info {}

.privbuy-modal-content__info {  }
.privbuy-modal-content__desc { width: 100%; }

.privbuy-modal-content .mg-block-property-card__slider {
    display: flex;
    min-height: 320px;
}

.privbuy-modal-gallery-container {

}

.privbuy-modal-slider .slick-list { height: 100%; }
.privbuy-modal-slider .slick-track
{
    display: flex !important;
    height: 100%;
}

.privbuy-modal-slider .slick-slide
{
    height: inherit !important;
}

.privbuy-modal__title {
    display: block;
    font-size: 2.5rem;
    font-family: 'ivyora-display';
}
.privbuy-modal__subtitle {
    display: block;
    font-size: 1.375rem;
}

.privbuy-modal__salePriceString {
    font-weight: 600; display: block;
    margin-bottom: .25rem;
}

.privbuy-modal__price {
    display: block;
    font-size: 1.875rem;
    font-family: 'ivyora-display';
}

.privbuy-modal-content__info .mg-block-property-card__rooms {
    color: white;
}

.privbuy-modal__buttons {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.privbuy-modal__buttons .btn {
    text-align: center;
}

.privbuy-enquire {
    cursor: pointer;
}

.privbuy-enquire:disabled,
.privbuy-enquire.enquirySent {
    opacity: .5;
    cursor: not-allowed;
}

.privbuy-modal__buttons .btn:hover {
    text-decoration: none;
}

.privbuy-modal-slider__slider-control {
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="30.449" height="40.899" viewBox="0 0 30.449 40.899"><defs><filter id="Icon_akar-chevron-down-small" x="0" y="0" width="30.449" height="40.899" filterUnits="userSpaceOnUse"><feOffset input="SourceAlpha"/><feGaussianBlur stdDeviation="3" result="blur"/><feFlood flood-opacity="0.345"/><feComposite operator="in" in2="blur"/><feComposite in="SourceGraphic"/></filter></defs><g transform="matrix(1, 0, 0, 1, 0, 0)" filter="url(%23Icon_akar-chevron-down-small)"><path id="Icon_akar-chevron-down-small-2" data-name="Icon akar-chevron-down-small" d="M9,15,19.035,25.035,29.07,15" transform="translate(35.04 1.41) rotate(90)" fill="none" stroke="%23fff" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"/></g></svg>') center center no-repeat;
    position: absolute;
    top: 50%;
    width: 14px;
    height: 28px;
    z-index: 50;
}

.privbuy-modal-slider__slider-control--prev {
    left: .65rem;
    transform: translate3d(0,-50%,0);
}
.privbuy-modal-slider__slider-control--next {
    right: .65rem;
    transform: translate3d(0,-50%,0) rotate(180deg);
}

.privbuy-modal-content__desc {
    font-size: 0.875rem;
}

@media all and (min-width: 768px) {
    .privbuy-modal-slider__slider-control--prev {
        left: .65rem;
        transform: translate3d(0,-50%,0);
    }
    .privbuy-modal-slider__slider-control--next {
        right: .65rem;
        transform: translate3d(0,-50%,0) rotate(180deg);
    }
}



@media all and (min-width: 500px) {
    .privbuy-modal__buttons {
        flex-direction: row;
        gap: 1.5rem;
    }
}

@media all and (min-width: 960px) {

    .privbuy-modal-gallery-container {
        width: 50%;
    }

    .privbuy-single-image { width: 50%; }

    .privbuy-modal-top {
        flex-direction: row;
        gap: 1.625rem;
        width: 100%;
        align-items: flex-end;
    }

    .privbuy-modal__buttons {
        margin-bottom: 5px;
    }

}

@media all and (min-width: 1280px) {
    .privbuy-modal-top {
        gap: 3rem;
    }

    .mg-block-property-card__rooms {
        margin-top: 1.5rem;
    }

    .privbuy-modal__buttons {
        margin-top: 2.5rem;
        gap: 2.5rem;
    }
}

/* Map stuff */

.privbuy-map {
    margin-top: 2rem;
}
.privbuy-map__map { position: relative; }

.privbuy-map__notice {
    background: #AE9161;
    width: 100%;
    font-size: 0.875rem;
    font-weight: 400;
    padding: .75rem 1.25rem;
    color: white;
    z-index: 9999999;
    text-align: center;
}

.privbuy-map__properties {}

.privbuy-map #resultsMapContainerContainer {
    margin-bottom: 2rem;
}

/* Validaiton forms */

.privbuy-errors {
    background: #ffcccc;
    color: black;
    padding: 1rem .5rem;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.pribuy-map__properties {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 2rem;
}

.privbuy-map__property {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    cursor: pointer;
}

.privbuy-map__property::after {
    content: "";
    display: block;
    background: #AE9161;
    height: 1px;
    width: 100%;
    z-index: 2;
    position: absolute;
    bottom: 0;
}

.privbuy-map__property-thumbnail { flex: 1 0 40%; }
.privbuy-map__property-thumbnail img { width: 100%; height: auto; object-fit: cover; }

.privbuy-map__property-info { flex: 1 0 55%; }

.privbuy-map__property-salePriceString {
    font-size: 0.875rem;
    font-weight: 600;
    color: #555555;
}

.privbuy-map__property-price {
    font-size: 1.8575rem;
    font-family: 'ivyora-display';
    font-weight: 500;
    color: black;
    display: block;
    margin: .25em 0;
}

.privbuy-map__property-address {
    font-size: 0.875rem;
    line-height: 1.5em;
    color: black;
    display: block;
}

@media all and (min-width: 560px) {

    .privbuy-map__property {
        flex-direction: row;
        gap: 1.5rem;
    }

    .privbuy-map__property-salePriceString {
        font-size: 0.875rem;
    }

    .privbuy-map__property-price {
        font-size: 1.8575rem;
    }

    .privbuy-map__property-address {
        font-size: 0.875rem;
    }
}

@media all and (min-width: 960px) {

}

@media all and (min-width: 1280px) {

    .privbuy-map {
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 2.9375rem;
    }

    .privbuy-map__map {
        flex: 1 0 45%;
    }

    .privbuy-map__map .mg-search-results-map {
        max-height: none;
    }

    .privbuy-map__map .mg-search-results-map::before {
        padding-top: 150%;
    }

    .privbuy-map__properties {
        margin-top: 0;
        overflow-y: scroll;
        max-height: 65dvh;
    }

}

.plain-select {
    background-color: #fff;
    border: 1px solid #aaa;
    border-radius: 4px;
    height: 28px;
    width: 100%;
}

.mg-block-search-results__buttons .wp-block-button.is-style-outline .wp-block-button__link:hover {
    box-shadow: inset 0 -3.25em 0 0 rgb(1, 31, 12) !important;
}