/*******************************************************
 *
 * Markets
 *
 *******************************************************/
 #inner-page-wrapper {
    margin-bottom: 0;
    z-index: auto;
}

#inner-page-wrapper > .container {
    padding: 0;
    width: 100%;
}

.textwidget .ip-banner {
    display: none;
}

.ip-container #scroll-down {
    display: block;
}

.ip-container #scroll-down.nav-active-section-ip-banner {
    top: 30vh;
}

.ip-container .fn-container {
    margin-top: -40px;
    padding-top: 224px;
}

#ip-mkt {
    font-size: 0;
    letter-spacing: normal;
    line-height: 1;
}

.ip-mkt-container, .ip-mkt-section {
    display: block;
    position: relative;
}

.ip-mkt-bg {
    top: 0;
    z-index: 1;
    background: transparent;
}

.ip-mkt-bg canvas {
    background-position: bottom center;
    height: auto;
}

/* .ip-mkt-bg:before {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 80%;
    pointer-events: none;
    z-index: 1;
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(255,255,255,1)),color-stop(19%, rgba(255,255,255,1)),to(rgba(255,255,255,0)));
    background: -o-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(255,255,255,1) 19%,rgba(255,255,255,0) 100%);
    background: linear-gradient(to bottom, rgba(255,255,255,1) 0%,rgba(255,255,255,1) 19%,rgba(255,255,255,0) 100%);
} */
.ip-mkt-top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between
}

.ip-mkt-search-filters form {
    display: flex;
    margin-bottom: 10px;
}

.ip-mkt-search-filters select {
    font-size: 16px;
    color: #8e8e8e;
    width: 140px;
    /* height: 45px; */
    text-align: center;
    text-transform: uppercase;
    margin: 0 5px;
}

.ip-mkt-search-filters select option {
    color: #767676;
}

html.safari-true .ip-mkt-search-filters select {
    padding-left: 10px;
}

.ip-mkt-search-filters button {
    width: 190px;
    margin-left: 15px;
}

/* 
@media(min-width:1920px) {
    .ip-mkt-search-filters button {
        width: 240px;
    }    
} */
.ip-mkt-main {
    position: relative;
    z-index: 3;
    max-width: 83.125vw;
    margin: 0 auto;
}

.ip-mkt-main .global-title {
    padding: 0 20px;
}

.ip-mkt-ml-container .global-accent-logo {
    z-index: 5;
    top: 3%;
    right: -9%;
    left: auto;
}

.ip-mkt-ml-content strong {
    font-size: 18px;
    line-height: 1.778;
    letter-spacing: 0.050em;
    color: #222222;
    display: block;
    margin-bottom: 20px;
    font-weight: 700;
}

.ip-mkt-ml-content p {
    font-size: 16px;
    line-height: 1.75;
    letter-spacing: 0.050em;
    color: #222222;
    display: block;
}

.ip-mkt-ml-content h3 {
    font-size: 30px;
    line-height: 1.267;
    font-weight: 800;
    color: #222222;
    display: block;
    margin-top: 40px;
}

.ip-mkt-ml-content h3 span {
    color: var(--secondary-color);
}

.ip-mkt-ml-content-container .global-title {
    margin-bottom: 25px;
}

.ip-mkt-ml-content p:not(:last-child) {
    margin-bottom: 25px;
}

.ip-mkt-ml-img {
    -webkit-box-shadow: 0px 20px 30px 0px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 20px 30px 0px rgba(0, 0, 0, 0.2);
}

.ip-mkt-ml-img img {
    max-width: 100%;
    height: auto;
    width: 100%;
}

.ip-mkt-ml-monogram-logo {
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    left: -77px;
    z-index: 5;
    width: 154px;
    height: 154px;
    border-radius: 50%;
    background-color: var( --secondary-color);
}

.ip-mkt-ml-monogram-logo :before {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 8px solid #fff;
    border-radius: 50%;
    margin: -8px;
}

.ip-mkt-ml-monogram-logo a {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    position: relative;
    width: 100%;
    height: 100%;
}

.ip-mkt-ml-monogram-logo a img {
    max-width: 100%;
    height: auto;
}

/* Market Listings */
.ml-container, .ml-main, .ml-slide, .ml-item a, .ml-price, .ml-address, .ml-details {
    display: block;
    position: relative;
}

.ml-container {
    padding: 40px 0 35px;
    font-size: 0;
}

.ml-container .global-accent-logo {
    left: auto;
    right: 20%;
    top: 7%;
}

.ml-main-title {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    position: relative;
    margin-bottom: 39px;
}

.ml-main-title .global-title, .ml-btn {
    display: inline-block;
    vertical-align: middle;
    position: relative;
}

.ml-btn {
    width: 225px;
    max-width: 100%;
}

.ml-btn a {
    width: 100%;
}

.ml-item {
    display: inline-block;
    vertical-align: middle;
    width: calc(100% / 3);
    position: relative;
    padding: 15px;
}

.ml-slide {
    /* margin: 0 -46.54% 0 -15px; */
}

.ml-slide .slick-track {
    padding: 25px 0;
}

.ml-logo {
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 5;
    -webkit-transition: all var(--default-transition);
    -o-transition: all var(--default-transition);
    transition: all var(--default-transition);
    opacity: 0;
    visibility: hidden;
}

.ml-logo img {
    max-width: 150px;
    height: auto;
    opacity: .30;
}

.ml-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 0 40px 40px;
    z-index: 5;
}

.ml-price span {
    font-size: 28px;
    letter-spacing: 0.050em;
    line-height: 1;
    color: #fff;
    font-weight: 800;
    padding: 15px 25px 15px 0;
    position: relative;
    margin-bottom: 20px;
    display: inline-block;
}

.ml-address h2 {
    font-size: 18px;
    line-height: 1;
    letter-spacing: 0.050em;
    color: #fff;
    text-transform: uppercase;
    font-weight: 800;
}

.ml-address h2 span {
    display: block;
    font-size: 13px;
    letter-spacing: 0.100em;
    line-height: 1;
    color: #fff;
    margin-top: 5px;
    font-weight: 400;
}

.ml-details span {
    display: inline-block;
    vertical-align: middle;
    font-size: 14px;
    line-height: 1;
    letter-spacing: 0.100em;
    color: #fff;
    text-transform: uppercase;
}

.ml-details span em[class*="ai-icon-"] {
    margin-right: 10px;
}

.ml-details span em.ai-icon-bed {
    background-image: url(../../images/ai-icon-bed.png);
    width: 22px;
    height: 18px;
}

.ml-details span em.ai-icon-bath {
    background-image: url(../../images/ai-icon-bath.png);
    width: 22px;
    height: 20px;
}

.ml-details span em.ai-icon-size {
    background-image: url(../../images/ai-icon-size.png);
    width: 22px;
    height: 22px;
}

.ml-details span:not(:last-child) {
    margin-right: 28px;
}

.ml-details {
    margin-top: 0;
    opacity: 0;
    visibility: hidden;
    height: 0;
    -webkit-transition: all var(--default-transition);
    -o-transition: all var(--default-transition);
    transition: all var(--default-transition);
}

.ml-price span:before {
    position: absolute;
    content: '';
    top: 0;
    right: -40px;
    width: calc(100% + 80px);
    height: 100%;
    pointer-events: none;
    z-index: -1;
    background: -webkit-gradient(linear, left top, right top, color-stop(35%, rgba(169,24,34,1)),color-stop(96%, rgba(250,241,241,0)),to(rgba(255,255,255,0)));
    background: -o-linear-gradient(left, rgba(169,24,34,1) 35%,rgba(250,241,241,0) 96%,rgba(255,255,255,0) 100%);
    background: linear-gradient(to right, rgba(169,24,34,1) 35%,rgba(250,241,241,0) 96%,rgba(255,255,255,0) 100%);
}

.ml-img:before {
    position: absolute;
    content: '';
    bottom: 0;
    left: 0;
    width: 100%;
    height: 69%;
    pointer-events: none;
    z-index: 2;
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(0,0,0,0)),to(rgba(0,0,0,0.65)));
    background: -o-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 100%);
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 100%);
}

.ml-item a {
    overflow: hidden;
}

.ml-item a:hover .ml-details {
    margin-top: 20px;
    opacity: 1;
    visibility: visible;
    height: 18px;
}

.ml-item a:hover .ml-logo {
    opacity: 1;
    visibility: visible;
}

.ml-item a:hover .ml-img img {
    -webkit-filter: grayscale(1);
    filter: grayscale(1);
}

.ml-item a:hover {
    -webkit-box-shadow: 9px -2px 20px 0px rgba(0, 0, 0, 0.45);
    box-shadow: 9px -2px 20px 0px rgba(0, 0, 0, 0.45);
}

.ml-slide-btn {
    position: absolute;
    bottom: -3%;
    right: 4.8%;
    z-index: 10;
}

.ml-slide-btn button {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 142px;
    height: 142px;
    border: 2px solid #fff;
    background-color: transparent;
    border-radius: 50%;
    padding: 0;
    -webkit-box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.2);
    -webkit-transition: all var(--default-transition);
    -o-transition: all var(--default-transition);
    transition: all var(--default-transition);
}

.ml-slide-btn button:hover {
    background-color: var(--secondary-color);
    opacity: 1!important;
}

.ml-slide-btn button em.ai-icon-arrow-right {
    background-image: url(../../assets/images/ai-icon-arrow-right.png);
    width: 18px;
    height: 28px;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    z-index: 1;
}

.ml-pagination {
    margin-top: 65px;
}

.ml-pagination-item {
    vertical-align: middle;
    width: 45px;
    height: 45px;
    line-height: 45px;
    display: inline-block;
    margin: 0 15px;
    font-size: 20px;
    color: #222;
    transition: all .5s;
}

.ml-pagination-item.current, .ml-pagination-item:hover {
    background: var(--secondary-color);
    color: #fff;
}

.ml-pagination-p, .ml-pagination-n {
    font-size: 0;
    vertical-align: middle;
    width: 68px;
    height: 68px;
    border: 1px #bfbfbf solid;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    color: var(--secondary-color);
    margin: 0 20px
}

:is(.ml-pagination-p, .ml-pagination-n) i {
    font-size: 18px;
    font-weight: 700;
}

:is(.ml-pagination-p, .ml-pagination-n):hover {
    background: var(--secondary-color);
    color: #fff;
}

.error-mess {
    position: relative;
    z-index: 10;
    margin: auto;
    text-align: center;
    padding: 20px;
    font-size: 36px;
    line-height: 1;
    color: var(--secondary-color);
    font-weight: 800;
    display: block;
}

body .listings-poweredby {
    font-size: 14px!important;
    padding-top: 25px!important;
}

.fn-content-desc {
    padding-top: 30px;
}
.fn-content-desc p {
    font-size: 16px;
    line-height: 1.75;
    letter-spacing: 0.05em;
    color: rgb(34, 34, 34);
}
.ip-mkt-main {
    padding-bottom: 90px;
}

/*******************************************************
 *
 * Mobile styles and other media queries
 *
 *******************************************************/
@media only screen and (min-width: 992px) {
    .ip-container .fn-container {
        margin-top: -2.500vw;
        padding-top: 14.000vw;
    }

    .ip-mkt-search-filters form {
        margin-bottom: 0.625vw;
    }

    .ip-mkt-search-filters select {
        font-size: 1vw;
        width: 8.750vw;
        margin: 0 0.313vw;
    }

    .ip-mkt-search-filters button {
        width: 11.875vw;
        margin-left: 0.938vw;
    }

    .ip-mkt-main .global-title {
        padding: 0 1.250vw;
    }

    .ip-mkt-ml-content strong {
        font-size: 1.125vw;
        margin-bottom: 1.250vw;
        font-weight: 700;
    }

    .ip-mkt-ml-content p {
        font-size: 1vw;
    }

    .ip-mkt-ml-content h3 {
        font-size: 1.875vw;
        margin-top: 2.500vw;
    }

    .ip-mkt-ml-content-container .global-title {
        margin-bottom: 1.563vw;
    }

    .ip-mkt-ml-content p:not(:last-child) {
        margin-bottom: 1.563vw;
    }

    .ip-mkt-ml-img img {
        max-width: 100%;
        height: auto;
        width: 100%;
    }

    .ip-mkt-ml-monogram-logo {
        left: -4.813vw;
        width: 9.625vw;
        height: 9.625vw;
    }

    .ip-mkt-ml-monogram-logo :before {
        border: 0.500vw solid #fff;
        margin: -0.500vw;
    }

    .ip-mkt-ml-monogram-logo a img {
        max-width: 100%;
        height: auto;
    }

    /* Our Story */
    .ip-mkt-ml-container {
        padding: 5.750vw 0 0;
    }

    .error-mess {
        padding: 1.250vw;
        font-size: 2.250vw;
    }

    .ip-mkt-ml-content-container {
        padding: 1.250vw 7.187vw 0 0;
    }

    .ip-mkt-ml-row:nth-child(odd) .ip-mkt-ml-content-container {
        padding: 1.250vw 0 0 7.187vw;
    }

    .ip-mkt-ml-content strong {
        font-size: 1.125vw;
        margin-bottom: 1.250vw;
    }

    .ip-mkt-ml-content p {
        font-size: 1vw;
    }

    .ip-mkt-ml-content h3 {
        font-size: 1.875vw;
        margin-top: 2.500vw;
    }

    .ip-mkt-ml-content-container .global-title {
        margin-bottom: 1.563vw;
    }

    .ip-mkt-ml-content p:not(:last-child) {
        margin-bottom: 1.563vw;
    }

    .ip-mkt-ml-img img {
        max-width: 100%;
        height: auto;
        width: 100%;
    }

    .ip-mkt-ml-monogram-logo {
        left: -4.813vw;
        width: 9.625vw;
        height: 9.625vw;
    }

    .ip-mkt-ml-monogram-logo :before {
        border: 0.500vw solid #fff;
        margin: -0.500vw;
    }

    .ip-mkt-ml-monogram-logo a img {
        width: 5.375vw;
        height: 3.063vw;
    }

    .ml-container {
        padding: 2.500vw 0 2.188vw;
    }

    .ml-main-title {
        margin-bottom: 2.438vw;
    }

    .ml-btn {
        width: 14.063vw;
        max-width: 100%;
    }

    .ml-item {
        padding: 0.938vw;
    }

    .ml-slide .slick-track {
        padding: 1.563vw 0;
    }

    .ml-logo img {
        max-width: 9.375vw;
        height: auto;
        opacity: .30;
    }

    .ml-info {
        padding: 0 2.500vw 2.500vw;
    }

    .ml-price span {
        font-size: 1.750vw;
        padding: 0.938vw 1.563vw 0.938vw 0;
        margin-bottom: 1.250vw;
    }

    .ml-address h2 {
        font-size: 1.125vw;
    }

    .ml-address h2 span {
        font-size: 0.813vw;
        margin-top: 0.313vw;
    }

    .ml-details span {
        font-size: 0.875vw;
    }

    .ml-details span em[class*="ai-icon-"] {
        margin-right: 0.625vw;
    }

    .ml-details span em.ai-icon-bed {
        width: 1.375vw;
        height: 1.125vw;
    }

    .ml-details span em.ai-icon-bath {
        width: 1.375vw;
        height: 1.250vw;
    }

    .ml-details span em.ai-icon-size {
        width: 1.375vw;
        height: 1.375vw;
    }

    .ml-details span:not(:last-child) {
        margin-right: 1.750vw;
    }

    .ml-price span:before {
        right: -2.500vw;
        width: calc(100% + 5vw);
    }

    .ml-item a:hover .ml-details {
        margin-top: 1.250vw;
        height: 1.125vw;
    }

    .ml-slide-btn button {
        width: 8.875vw;
        height: 8.875vw;
        border: 0.125vw solid #fff;
    }

    .ml-slide-btn button em.ai-icon-arrow-right {
        width: 1.125vw;
        height: 1.750vw;
    }

    .ml-pagination {
        margin-top: 4.063vw;
    }

    .ml-pagination-item {
        width: 2.813vw;
        height: 2.813vw;
        line-height: 2.813vw;
        margin: 0 0.938vw;
        font-size: 1.250vw;
    }

    .ml-pagination-p, .ml-pagination-n {
        width: 4.250vw;
        height: 4.250vw;
        margin: 0 1.250vw
    }

    :is(.ml-pagination-p, .ml-pagination-n) i {
        font-size: 1.125vw;
    }

    .error-mess {
        padding: 1.250vw;
        font-size: 2.250vw;
    }

    body .listings-poweredby {
        font-size: 0.875vw!important;
        padding-top: 1.563vw !important;
    }
    
}

@media(max-width: 1440px) {
    .ip-mkt-top .global-title h2 span {
        font-size: 4vw;
    }
}

@media(max-width: 1366px) {
    .ip-mkt-top .global-title h2 span {
        font-size: 3.5vw;
    }
}

/* iPad(landscape) | iPad(landscape) | Galaxy Tab 4 (landscape) | Galaxy Tab 3 (landscape) */
@media only screen and (max-width: 1199px) {
    .ip-mkt-of-content {
        margin-right: -11%;
    }
}

/* iPad(portrait) | Galaxy Tab 4(portrait)  */
@media only screen and (max-width: 991px) {
    .ip-mkt-ml-content-container {
        padding: 0;
        text-align: center;
        margin-bottom: 40px;
    }

    .ip-mkt-ml-col {
        display: block;
        width: 100%!important;
    }

    .ip-mkt-ml-content h3 {
        font-size: 24px;
        margin-top: 20px;
    }

    .ip-mkt-ml-content p:not(:last-child) {
        margin-bottom: 20px;
    }

    .ip-mkt-ml-content p {
        font-size: 15px;
        line-height: 1.7;
    }

    .ip-mkt-ml-content strong {
        font-size: 16px;
        line-height: 1.7;
    }

    .ip-mkt-ml-main {
        width: 100%;
        max-width: 520px;
        margin: 0 auto;
    }

    .ip-mkt-ml-container {
        padding: 45px 15px;
    }

    .ip-mkt-ml-monogram-logo {
        display: none;
    }

    .ip-container #scroll-down {
        display: none;
    }

    .ip-mkt-ml-img img {
        height: 350px;
        -o-object-fit: cover;
        object-fit: cover;
        -o-object-position: top center;
        object-position: top center;
    }

    .ip-mkt-bg canvas {
        opacity: .20;
    }

    .ip-mkt-ml-row {
        display: block;
    }

    .ip-mkt-top {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .ip-mkt-main .global-title {
        text-align: center;
        margin-bottom: 30px;
    }

    .ip-mkt-search-filters form {
        flex-wrap: wrap;
        justify-content: center;
    }

    .ip-mkt-search-filters select {
        width: calc(25% - 10px);
        height: 45px;
    }

    .ip-mkt-search-filters button {
        margin-top: 30px;
        margin-left: 0;
    }

    .ml-item {
        width: 50%;
        padding: 10px;
    }

    .ml-info {
        padding: 0 20px 30px;
    }

    .ip-mkt-main {
        max-width: 100%;
    }

    .ml-details span:not(:last-child) {
        margin-right: 10px;
    }

    .ml-details span {
        letter-spacing: 0.050em;
        font-size: 12px;
    }

    .ml-item a:hover .ml-details {
        margin-top: 20px;
        height: auto;
    }

    .ml-details span em[class*="ai-icon-"] {
        margin-right: 5px;
        width: 20px;
        height: 15px;
    }

    .ml-address h2 {
        font-size: 16px;
    }

    .ml-address h2 span {
        letter-spacing: 0.050em;
    }

    .ip-container .fn-container {
        padding-top: 0;
        margin-top: 0;
    }
}

/* Galaxy Tab 3(portrait) | Galaxy S5(landscape) */
@media only screen and (max-width: 767px) {
    .ml-item {
        width: 100%;
        max-width: 420px;
        display: block;
        margin: 0 auto;
    }

    .ml-pagination-p, .ml-pagination-n {
        margin: 0 10px
    }

    .ml-pagination-item {
        margin: 0 10px;
    }

    .ml-pagination-item {
        display: none;
    }

    .ip-mkt-search-filters select {
        width: 100%;
        margin: 5px 0;
    }

    .ml-details span:not(:last-child) {
        margin: 0 0 9px;
    }

    .ml-details span {
        display: block;
        font-size: 13px;
        letter-spacing: normal;
    }


    .ml-item:not(:last-child) {
        margin-bottom: 15px;
    }

    .ml-item {
        padding: 0;
    }

    .ml-item a:hover .ml-details {
        margin-top: 15px;
    }
    
    .ml-info {
        padding: 0 15px 20px;
    }
    
    .ml-logo img {
        max-width: 120px;
    }

    .ml-price span {
    font-size: 22px;
    padding: 10px 20px 10px 0;
    margin-bottom: 12px;
}
}

/* Galaxy S5(portrait) | iPod Touch(landscape) | iPod Touch(portrait) */
@media only screen and (max-width: 480px) {
    .ml-address h2 {
        letter-spacing: normal;
    }
    
    .ml-address h2 span {
        font-size: 12px;
    }
}


@media only screen and (max-width: 360px) {
    .ip-banner .global-title h1 span {
        font-size: 30px;
    }
}
