/*******************************************************
 *
 * Mobile styles and other media queries
 *
 *******************************************************/

@media only screen and (min-width: 1900px) {
    .lc-new .listings-lc-item-img canvas {
        max-height: unset;
    }
}

@media only screen and (min-width: 1601px) {
    .custom-community-template-default.single .ip-image.custom-banner canvas {
        background-size: 100% auto;
        height: auto;
    }
    .custom-community-template-default.single .comm-content-text {
        max-width: 1555px;
    }
    .ip-image canvas {
        background-size: 100% !important
    }
}

@media only screen and (min-width: 1600px) {
    .page-template-comm-toronto .ip-image canvas {
        height: auto;
    }
    .custom-community-template-default .page-border {
        left: -36px;
        top: 10px;
    }
    .footer-details {
        background-size: auto 100%;
    }
}

@media only screen and (min-width: 1500px) {
    .hp-news .news-photo {
        height: 100%;
    }
    .page-template-template-listings .listings-wrap .listings-item a canvas {
        height: auto;
    }
}

@media only screen and (max-width: 1500px) {
    body .navigation {
        width: 57%;
    }
    body .hdr-contact-wrap {
        width: 24%;
    }
    body .hdr-contact-wrap em.ai-mobile-phone {
        font-size: 20px;
    }
    body .hdr-contact-wrap .hdr-contact {
        width: 65%;
    }
    body .hdr-contact-wrap .hdr-burger {
        width: 34%;
    }
    body .cycloneslider-template-video video {
        top: 0;
        transform: none;
        left: 0;
        width: 100%;
    }
    body #nav li {
        margin: 0 18px;
    }
    body .fixed-header .navigation {
        width: 58.74%;
    }
    body .fixed-header .hdr-contact-wrap {
        width: 20.63%;
    }
    .fixed-header #nav2 li a {
        padding: 30px 0px;
    }
    em.ai-mobile-phone {
        /*font-size: 18px;*/
    }
    .hdr-contact-wrap .hdr-contact a.asis-mailto-obfuscated-email {
        margin-left: 8px;
    }
    /* .hdr-contact-wrap em.ai-mobile-phone {
    font-size: 16px;
    } */
        /* 	body #nav2 li {
    	margin: 0 5px;
    } */
    .fixed-menu .container {
        width: 990px;
    }
    #nav li {
        margin: 0 10px;
    }
    #nav3 li {
        margin: 0 28px;
    }
    .hp-map .map-right {
        top: 75px;
    }
}

@media only screen and (max-width: 1480px) {
    .custom-community-template-default .page-border {
        left: 10px;
        top: 0px;
    }
    .footer-details {
        background-size: cover;
    }
    body #nav li {
        margin: 0 14px;
    }
}

@media only screen and (max-width: 1400px) {
    .hp-video .vid-agent-photo {
        margin: 0;
    }
    .hp-video .vid-agent-photo .custom-design.right {
        right: -40px;
    }
    .hp-video .video-wrap {
        /*max-width: 550px;*/
        margin: 0 auto;
    }
    .hp-welcome .welcome-photo .photo-wrap {
        margin-right: 0;
    }
    .fixed-menu:before {
        right: 120px;
    }
    .fixed-menu .container {
        width: calc(100% - 120px);
        padding: 0 5%;
        margin-left: 0;
    }
    .fixed-menu .burger-close {
        right: 32px;
    }
    .fixed-menu .contact-wrap {
        padding-right: 0;
    }
    #nav li {
        margin: 0 12px;
    }
    #nav li:first-child .sub-menu {
        text-align: left;
        padding-left: 50px;
    }
    #nav3 li {
        margin: 0 35px;
    }
    .hdr-contact-wrap .hdr-burger {
        width: 30%;
    }
    .hp-map li {
        padding-bottom: 20px;
        margin-bottom: 20px;
    }
    .hp-map .map-right {
        right: 10px;
    }
    .mlss-d-filter-field-sort button.ai-font-arrow-b-d {
        right: 0;
    }
    .mlss-d-filter-field-sort span {
        font-size: 14px;
    }
    .mlss-d-filter-field-sort span i {
        font-size: 16px;
    }
    body #nav li {
        margin: 0 10px;
    }
}

@media only screen and (max-width: 1366px) {
    .hp-fp .fp-wrap .slick-slide a .fp-details {
        padding-bottom: 35%;
    }
    .hdr-contact-wrap .hdr-contact {
        padding-right: 15px;
    }
    .listings-lc-banner .title-wrap {
        left: 0;
    }
    .floating-tab {
        top: 93%;
    }
    .listings-condos-banner .title-wrap,
    .listings-loft-banner .title-wrap {
        left: 25px;
    }
}

@media only screen and (max-width: 1300px) {
    body .hdr-contact-wrap em.ai-mobile-phone {
        font-size: 18px;
    }
    body #nav li {
        margin: 0 8px;
    }
    .hp-map li {
        padding-bottom: 17px;
        margin-bottom: 17px;
    }
    .page-template-template-blog .ip-image .page-title {
        left: 0;
    }
    #nav li a, #nav2 li a, #nav3 li a {
        font-size: 15px;
    }

    .fixed-header #nav2 li a{
        font-size: 15px;
    }

}


/* iPad(landscape) | iPad(landscape) | Galaxy Tab 4 (landscape) | Galaxy Tab 3 (landscape) */

@media only screen and (max-width: 1199px) {

    body .navigation {
        width: 51%;
    }
    body .hdr-contact-wrap {
        width: 31%;
    }
    .fixed-header .hdr-contact-wrap .hdr-contact {
        padding-right: 15px;
    }
    .fixed-header .hdr-contact-wrap em.ai-mobile-phone {
        font-size: 14px;
    }
    .fixed-header .hdr-contact-wrap .hdr-contact a.asis-mailto-obfuscated-email {
        font-size: 12px;
    }
    .hp-video .vid-col {
        vertical-align: bottom;
    }
    .hp-welcome p {
        line-height: 24px;
        font-size: 15px;
    }
    .hp-welcome .welcome-photo .photo-wrap .custom-design.left {
        top: 150px;
    }
    .hp-video .vid-agent-photo .custom-design.right {
        right: 0;
        bottom: 100px;
        width: calc(100% - 80px);
    }
    .hp-video .vid-agent-photo .custom-design.left {
        width: calc(100% - 80px);
    }
    .hdr-contact-wrap .hdr-contact a.asis-mailto-obfuscated-email .hdr-logo {
        width: 15%;
    }
    .hdr-contact-wrap {
        width: 23%;
    }
    .fixed-header .hdr-logo {
        width: 18.63%;
    }
    .fixed-header .hdr-contact-wrap {
        width: 26.63%;
    }
    .navigation {
        width: 51%;
    }
    .fixed-header .navigation {
        width: 51.74%;
    }
    body #nav li {
        margin: 0 5px;
    }
    #nav2 li {
        margin: 0 12px;
    }
    #nav3 li {
        margin: 0 20px;
    }
    #nav3 li.no-left {
        margin-left: 25px;
    }
    #nav3 li li:last-child {
        margin-right: 0;
    }
    #nav li a,
    #nav2 li a {
        font-size: 14px;
    }
    #nav3 li a {
        font-size: 18px;
    }
    #nav3 .sub-menu a {
        font-size: 15px;
        font-weight: 300;
        padding: 9px 8px;
    }
    .hp-welcome .welcome-text .text-wrap {
        /*padding-left: 5%;*/
    }
    .hp-welcome h1 {
        font-size: 59px;
    }
    .hp-cta .cta-img .cta-text {
        font-size: 14px;
    }
    .hp-cta .cta-img .cta-text span {
        font-size: 16px;
    }
    .hp-cta .cta-img .cta-arrow {
        right: 8px;
    }
    .hp-map h2 {
        margin: 18px 0 30px;
        font-size: 40px;
    }
    .hp-map li {
        margin-bottom: 13px;
        padding-bottom: 13px;
    }
    .hp-map li a {
        font-size: 14px;
    }
    .hp-fp .fp-wrap .slick-slide a .fp-details {
        bottom: -25%;
    }
    .fp-wrap .slick-slide a .fp-details .fp-view-det {
        margin-top: 20%;
    }
    .fp-wrap .slick-slide a .fp-details span {
        font-size: 16px;
    }
    .fixed-menu .container {
        padding: 0 3%;
    }
    #nav3 .sub-menu {
        width: 150px;
        margin-left: -75px;
    }
    .fixed-menu .burger-close {
        right: 25px;
    }
    .hp-news .news-photo {
        height: 103.05%;
    }
    .footer-details .f-center .f-contact {
        padding-left: 5%;
    }
    .comm-content-text {
        float: none;
    }
    .comm-content-text {
        float: none;
        width: 100%;
        padding-right: 0;
    }
    .content-text-left {
        max-width: 100%;
        width: 100%;
        float: none;
        padding: 0 15px;
    }
    .comm-image-area {
        float: none;
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }
    .comm-cta-list a span {
        font-size: 14px;
        letter-spacing: 1px;
    }
    /*** custom blog template ***/
    .blog-custom .right-wrap .categories-title {
        font-size: 34px;
    }
    .page-border {
        left: 0;
    }
    .mlss-d-filter {
        padding: 18px 15px 15px;
    }
    .mlss-d-filter-field-btn {
        padding-right: 10px;
    }
    .mlss-d-filter-field-sort span {
        padding-right: 3%;
    }
    .mlss-d-filter-field-sort button {
        font-size: 27px;
    }
    .mlss-d-item-details {
        left: 5%;
        right: 5%;
    }
    .listings-lc-banner .title-wrap,
    .listings-condos-banner .title-wrap,
    .listings-loft-banner .title-wrap {
        left: 20px;
    }
    .ccntct-info-inner {
        width: calc(100% + (100vw - 940px) / 2);
        padding-right: calc((100vw - 940px) / 2)
    }
    .ccntct-info-name {
        padding-left: 30px;
    }
    .ccntct-info-phone,
    .ccntct-info-email,
    .ccntct-info-address {
        padding-left: 30px;
        font: 400 19px/36px 'Barlow', sans-serif;
    }
    .ccntct-info-inner:after {
        width: 243px;
    }
    .page-template-template-contact-page .ip-image canvas {
        background: url(images/bg-contact-page.jpg) fixed top center/165% auto no-repeat;
    }
    .mcrp-right:before {
        display: none;
    }
    .mcrp-img {
        margin-left: 0;
        margin-right: 0;
    }
    .mcrp-3-text {
        margin-right: calc((940px - 100vw) / 2);
        padding-right: calc((100vw - 940px) / 2);
    }
    .mcrp-3-image-inner {
        left: calc((940px - 100vw) / 2);
    }
    .cbuy-agent {
        margin-left: calc((940px - 100vw) / 2);
        padding-left: 5px;
    }
    .cbuy-video {
        margin-left: 0;
        margin-right: 0;
    }
    .cbuy-video-frame-1 {
        right: calc((940px - 100vw) / 2);
    }
    .csell-text {
        padding: 0 30px;
    }
    .csell-agent {
        padding-left: 40px;
    }
    .csell-agent-box:after {
        right: 4.2%;
    }
    .csell-text a.cbuy-btn {
        font-size: 17px;
    }
    .csell-video:before {
        left: calc((940px - 100vw) / 2);
    }
    .csell-image-box:before {
        right: calc((940px - 100vw) / 2);
    }
    .csell-div-4-inner {
        padding-left: 40px;
    }
    #content .csell-div-left h3 {
        font-size: 19px;
    }
    .lc-new .listings-lc-item-details {
        left: 10.5%;
    }

    .ld-cta a {
        font-size: 17px;
    }
    .ld-btn-wrap a {
        margin-right: 30px;
    }
    .ld-bnb-wrap {
        margin-left: 0;
        padding: 25px 15px 28px 15px;
    }
    .ld-type {
        margin-right: 15px;
    }
    .ld-bnb span {
        font-size: 29px;
        margin: 0 20px;
    }
    #content .ld-tab-btn ul {
        padding-left: 35px;
    }
    .lc-tab-content .container > div {
        padding: 58px 85px 75px 35px;
    }


    .side-cta a .cta-text span {
        font-size: 17px;
    }
    .listings-lc-filter {
        width: 520px;
    }
    .floating-tab {
        top: 95%;
    }
    .floating-tab ul li a {
        font-size: 14px;
    }
    .comm-list a .comm-center-holder .comm-text strong {
        font-size: 20px;
    }
    .comm-list a .comm-center-holder .comm-text p {
        font-size: 15px;
        min-height: 50px;
    }
    .comm-list a:nth-child(10) .comm-text,
    .comm-list a:nth-child(13) .comm-text {
        bottom: -187px;
    }
    .comm-list a:nth-child(14) .comm-text {
        bottom: -164px;
    }
    .comm-list a:hover .comm-center-holder .comm-text {
        bottom: -25px;
    }

    #content .csell-flow-around .cbuy-list.csell-list > li:nth-child(2) {
        padding-left: 68px;
    }

    .page-id-112 span.wpcf7-list-item-label {
        font-size: 14px;
    }

    .footer-details {
        background-size: cover;
    }

    #idx-custom-form .aidefcf-cl2.price-box input {
        max-width: 90px !important;
    }

    .comm-details-wrapp {
        margin-top: 50px;
    }
}


/* iPad(portrait) | Galaxy Tab 4(portrait)  */

@media only screen and (max-width: 991px) {

    /*
    .ccntct-git-field.ccntct-git-field-lg.neighborhood .wpcf7-list-item {
    width: 50%;

}
*/
    .home .aiosp-wrap .aiosp-container .aios-popup-body,
    .page-template-template-meet-casey-ragan .aiosp-wrap .aiosp-container .aios-popup-body,
    .page-template-template-buyers .aiosp-wrap .aiosp-container .aios-popup-body,
    .page-template-template-sellers .aiosp-wrap .aiosp-container .aios-popup-body,
    .single-custom-community .aiosp-wrap .aiosp-container .aios-popup-body {
        line-height: 0;
        width: 100%;
        max-width: 900px;
    }

    .aiosp-ready #video-hp-iframe,
    .aiosp-ready #mcrp-video-iframe,
    .aiosp-ready #cbuy-video-iframe,
    .aiosp-ready #csell-video-iframe,
    .aiosp-ready #comm-video-iframe {
        width: 100%;
        height: 0;
        overflow: hidden;
        padding-top: 56.25%;
        display: block;
    }

    .aiosp-ready #video-hp-iframe iframe,
    .aiosp-ready #mcrp-video-iframe iframe,
    .aiosp-ready #cbuy-video-iframe iframe,
    .aiosp-ready #csell-video-iframe iframe,
    .aiosp-ready #comm-video-iframe iframe {
            position: absolute;
            display: block;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
        }

    a.my-readmore.blog-main {
        margin-top: 10px;
    }
    .hp-welcome .welcome-photo .photo-wrap {
        max-width: 320px;
        margin: 0 auto;
    }
    .hp-welcome .welcome-photo .wc-agent-bg {
        width: 110% !important;
        left: -5%;
        height: calc(91% - 0px);
    }
    .hp-welcome .welcome-photo .wc-agent-bg:after {
        width: 110%;
        left: -5%;
    }
    .welcome-content {
        max-height: 100%;
    }
    .hp-video .vid-col {
        display: block;
    }
    .hp-video .video-wrap {
        max-width: 100%;
        margin: 0 auto;
    }
    .hp-video .vid-agent-photo {
        max-width: 320px;
        margin: 0 auto;
        position: relative;
    }
    .hp-video .vid-agent-photo .custom-design.right {
        bottom: 100px;
        right: -15px;
    }
    .hp-video .video-wrap {
        max-width: 640px;
        margin: 0 auto;
    }
    .hp-video .video-wrap .video-frame > iframe,
    .hp-video .video-wrap .video-frame > video {
        border-color: transparent;
    }
    .video-wrap .custom-design.left,
    .video-wrap .custom-design.right {
        display: none;
    }
    .hp-video span.news-line {
        display: none;
    }
    .hp-video .video-wrap .video-desc {
        width: 100%;
        text-align: center;
        padding: 30px 0;
    }
    .hp-welcome .welcome-photo .photo-wrap .custom-design.left {
        top: 100px;
    }
    .hp-welcome .welcome-photo .photo-wrap .custom-design.right {
        bottom: 200px;
    }
    #cd-vertical-nav {
        display: none;
    }
    .fixed-menu {
        padding-top: 61px;
        background: transparent;
        pointer-events: none;
    }
    .fixed-menu .container {
        padding: 0 22px;
        width: 100%;
    }
    .fixed-menu .burger-close {
        top: 4px;
    }
    .fixed-menu:before {
        display: none;
    }
    .fixed-menu .fixed-content {
        background: rgba(0, 0, 0, .9);
        height: 100%;
        overflow: auto;
        padding-bottom: 80px;
        pointer-events: initial;
    }
    .fixed-menu .hdr-logo {
        display: none;
    }
    .fixed-menu .contact-wrap {
        display: none;
    }
    .fixed-menu .navigation {
        text-align: left;
        padding-top: 0;
    }
    #nav3 li {
        width: 100%;
        display: block;
        margin: 0;
    }
    #nav3 li a {
        font-size: 20px;
        font-weight: 700;
        padding-bottom: 0;
        display: inline-block;
    }
    #nav3 li a:before {
        bottom: -3px;
    }
    #nav3 .sub-menu a {
        font-family: 'Barlow Semi Condensed', sans-serif;
        font-size: 17px;
        font-weight: 400;
        padding: 6px 0;
    }
    #nav3 li.no-left {
        margin-left: 0;
    }
    #nav3 li:last-child {
        margin-right: 0;
    }
    #nav3 .sub-menu {
        width: 100%;
        margin-left: 0;
        display: block;
        position: relative;
        left: 0;
        padding-top: 10px;
    }
    .menu-button-b {
        height: 22px;
        font-size: 0;
    }
    .fixed-header .hdr-contact-wrap .hdr-contact {
        display: none;
    }
    header.header {
        display: none;
    }
    .fixed-header {
        top: 0;
        padding: 0 7px;
        height: 61px;
        position: fixed;
        transform: none;
    }
    .fixed-header .container {
        width: 100%;
    }
    .fixed-header .hdr-logo {
        width: 175px;
        padding-top: 15px;
    }
    .fixed-header .navigation {
        display: none;
    }
    .fixed-header .hdr-contact-wrap {
        width: 50px;
        padding-top: 20px;
        float: right;
    }
    .hdr-contact-wrap .hdr-burger {
        width: 35px;
    }
    .hp-slide {
        margin-top: 61px;
    }
    .hp-slide .slide-scroll,
    .hp-slide:before {
        display: none;
    }
    .hp-welcome .container {
        background: #fff;
        width: 100%;
    }
    .hp-welcome .welcome-text:before {
        display: none;
    }
    .hp-welcome .welcome-photo,
    .hp-welcome .welcome-photo .photo-wrap {
        float: none;
    }
    .hp-welcome .welcome-photo {
        padding-top: 20px;
    }
    .hp-welcome .welcome-text {
        padding: 40px 15px;
    }
    .hp-welcome .welcome-text .text-wrap {
        padding: 0 3%;
    }
    .hp-welcome .welcome-photo .photo-wrap img {
        margin: 0 auto;
        max-width: 315px;
    }
    .hp-cta {
        padding: 40px 0;
    }
    .hp-cta a {
        margin-bottom: 45px;
    }
    .hp-cta .cta-img .cta-text {
        font-size: 17px;
    }
    .hp-cta .cta-img .cta-text span {
        font-size: 20px;
    }
    .first-title {
        font-size: 15px;
        letter-spacing: 5px;
        text-align: center !important;
    }
    .section-title {
        letter-spacing: 2px !important;
        margin-top: 0 !important;
        line-height: 26px;
        margin-bottom: 30px !important;
        text-align: center !important;
    }
    .section-title:before {
        top: 65%;
    }
    .section-title span {
        font-size: 30px;
        font-family: 'Barlow Semi Condensed', sans-serif;
        font-weight: 500;
        padding: 0 10px 0 17px;
    }
    .hp-map .map-inner .container .map-l-inner {
        position: relative;
        left: 0;
    }
    .hp-map li a {
        font-size: 17px;
    }
    .hp-map a.map-more {
        position: relative;
        bottom: 0;
    }
    .hp-map .map-right {
        display: none;
    }
    .fp-wrap .slick-slide a .fp-details .fp-view-det {
        margin-top: 50%;
    }
    .hp-video .section-title span {
        letter-spacing: 8px;
        padding: 0 13px 0 20px;
    }
    .hp-news {
        padding: 40px 0;
    }
    .hp-news .news-wrap .news-det-wrap {
        width: 100%;
        max-width: 100%;
        margin-top: 13%;
        display: inline-block;
    }
    .hp-news .news-photo {
        position: relative;
        width: 100%;
        margin: 20px auto 0;
        max-width: 450px;
    }
    .hp-news .news-wrap .news-line {
        display: none;
    }
    .hp-news .first-title,
    .hp-news .section-title {
        text-align: center;
    }
    .hp-news .section-title,
    .footer .footer-form .section-title {
        font-size: 30px;
        font-family: 'Barlow Semi Condensed', sans-serif;
        font-weight: 500;
        letter-spacing: 9px !important;
        line-height: 38px;
        display: block;
        margin-top: 0;
    }
    .footer .footer-form .section-title {
        letter-spacing: 0 !important;
    }
    .hp-news .section-title span,
    .footer .footer-form .section-title span {
        display: inline-block;
        position: relative;
        background: #fff;
        padding: 0 10px 0 17px;
    }
    .footer .footer-form .section-title span {
        padding: 0 10px;
    }
    .hp-news .section-title:after,
    .footer .footer-form .section-title:after {
        position: absolute;
        content: '';
        left: 0;
        width: 100%;
        top: 54%;
        height: 2px;
        background: #d2b66c;
        z-index: 0;
    }
    .footer .footer-form .section-title:before {
        display: none;
    }
    .hp-news .news-details .news-title {
        text-align: center;
        font-size: 14px;
        font-weight: 700;
        line-height: 18px;
        letter-spacing: 0;
    }
    .hp-news .news-details p {
        text-align: center;
    }
    .hp-news .news-details a {
        width: 148px;
        height: 50px;
        line-height: 45px;
        margin: 40px auto 0;
    }
    .footer .footer-form {
        background: transparent;
        padding: 0 0 40px;
    }
    .footer-details .f-left {
        width: 30%;
    }
    .footer-details .f-center {
        width: 70%;
    }
    .footer-details .f-center .f-smi {
        width: 25%;
    }
    .footer-details .f-center .f-contact {
        width: 75%;
        padding-left: 13%;
    }
    .footer-details .f-right {
        width: 100%;
        display: block;
    }
    .footer-details .f-right img {
        margin: 0 auto;
    }
    .footer .copyright {
        padding: 25px 0;
    }
    /* The following are used on inner pages. Please edit carefully. */
    .inner {
        width: 100%;
    }
    #content-sidebar,
    #content-full {
        width: 100%;
    }
    .outer {
        width: 100%;
        min-width: 100%;
    }
    #content-sidebar #content {
        width: 100%;
    }
    .comm-list a {
        width: 49%;
        padding: 2px 2px;
    }
    .comm-list a:first-child {
        padding-left: 7px;
    }
    /*.comm-list a:nth-child(11) {
            margin-left: 0px;
        }*/
    .comm-cta-list a {
        width: 100%;
        margin: 10px auto;
        display: block;
    }
    .comm-cta-list a span {
        font-size: 16px;
        letter-spacing: 2px;
    }
    /*** custom blog template ***/
    .page-template-template-blog .ip-image canvas,
    .page-template-template-blog-details .ip-image canvas {
        height: 300px;
    }
    .page-template-template-blog .ip-image .page-title .title-wrap {
        padding: 90px 0 100px 0;
    }
    /*** listings template ***/
    .page-template-template-listings p#breadcrumbs {
        max-width: 100%;
    }
    .page-template-template-listings .listings-top .listings-search {
        position: relative;
        text-align: right;
        float: right;
        padding: 0 15px;
        max-width: calc(100% - 45px);
        margin: 20px 0;
        right: 0;
    }
    .page-template-template-listings .listings-buttons a {
        margin: 0 auto 15px;
    }
    .page-template-template-listings .ip-image .page-title {
        left: 0;
    }
    .page-template-comm-toronto h1.entry-title {
        line-height: 1;
    }
    /*.page-template-comm-toronto .ip-image canvas {
		height: auto;
	}*/
    .comm-image-area img {
        margin: 0 !important;
        width: 100%;
    }
    .aiosp-wrap.ppop-mls-search-wrapper {
        position: fixed !important;
        top: 0 !important;
        height: 100% !important;
    }
    .ppop-mls-search-wrapper .aiosp-container {
        overflow-y: scroll;
    }
    .ppop-mls-search-wrapper .aiosp-close {
        top: 4px;
        right: 23px;
    }
    .ppop-mls-search-body {
        padding: 150px 0;
    }
    #ppop-mls-search-input {
        margin: 0;
    }
    .ppop-mls-search-links {
        text-align: left;
    }
    .ppop-mls-search-links h2 {
        margin-bottom: 20px;
    }
    .mlss-d-map,
    .mlss-d-list {
        width: 100%;
        display: block;
    }
    .mlss-d-filter-field {
        display: block;
        margin-bottom: 15px;
    }
    .mlss-d-filter-field-lg,
    .mlss-d-filter-field-sort,
    .mlss-d-filter-field-btn,
    .mlss-d-filter-field-range {
        width: 100%;
        padding: 0 5px;
    }
    .mlss-d-filter-field-sm {
        width: 50%;
        padding: 0 5px;
        display: inline-block !important;
    }
    .mlss-d-filter-field-sort {
        text-align: center;
    }
    .mlss-d-filter-field-sort span {
        width: auto;
        display: inline;
    }
    .mlss-d-filter-field-sort span i {
        margin-right: 10px;
    }
    .mlss-d-filter-field-sort button {
        width: 27px;
    }
    .mlss-d-list {
        /*height: auto;*/
        padding: 25px 15px;
    }
    .mlss-d-map canvas {
        height: 460px;
    }
    /*.listings-lc-banner canvas {
		height: auto;
	}

	.listings-lc-banner .page-title {
		bottom: 5px;
	}
		.listings-lc-banner span.line-before {
		    top: -80px;
		    left: 23px;
		    height: 60px;
		}
		.listings-lc-banner span.line-after {
			height: 60px;
			margin-top: 28px;
			left: 54px;
		}
*/
    .listings-lc-filter {
        position: relative;
        width: 100%;
        bottom: 0;
        margin-bottom: 6px;
    }
    .listings-lc {
        margin-top: 30px;
    }
    .listings-lc-btn a {
        margin: 0 auto 30px;
    }
    .listings-lc-item {
        width: 50%;
    }
    .custom-home-valuation-wrap {
        min-height: auto;
    }
    .chv-page.chv-page-1 {
        padding: 110px 15px 70px;
    }
    .chv-page.chv-page-2 {
        padding: 130px 15px 70px;
    }
    .page-template-template-home-valuation .footer .footer-form {
        padding: 40px 0;
    }
    .ccntct-git {
        padding: 47px 0 72px;
    }
    .ccntct-right {
        padding-left: 15px;
    }
    .ccntct-info {
        margin-top: 0;
    }
    .ccntct-info-inner {
        width: 100%;
        padding: 140px 0;
    }
    .ccntct-info-inner:before {
        top: 40px;
        left: 40px;
    }
    .ccntct-info-inner:after {
        left: initial;
        right: 40px;
        bottom: 40px;
    }
    .ccntct-info-inner:before,
    .ccntct-info-inner:after {
        max-width: 70%;
    }
    .ccntct-info-name,
    .ccntct-info-phone,
    .ccntct-info-email,
    .ccntct-info-address,
    .ccntct-info-smi {
        padding: 0;
        text-align: center;
    }
    .ccntct-info-item {
        display: inline-block;
    }
    .ccntct-info-smi a {
        margin: 0 8px;
    }
    .page-template-template-contact-page .ip-image canvas {
        background: url(images/bg-contact-page.jpg) fixed top center/100% auto no-repeat;
    }
    .luminosity-building {
        display: none !important;
    }
    .mcrp-1 {
        margin-bottom: 0;
    }
    .mcrp-left {
        padding-top: 0;
        padding-bottom: 50px;
    }
    .mcrp-left:before {
        left: 0;
        right: 0;
    }
    .mcrp-img {
        margin-top: 40px;
        text-align: center;
    }
    .mcrp-emphasis {
        padding: 10px 13px 8px;
    }
    .mcrp-text-content {
        padding-left: 15px;
        padding-right: 15px;
    }
    .mcrp-video {
        padding: 50px 0 0;
    }
    .mcrp-3 {
        padding: 50px 0 167px;
    }
    .mcrp-3-image-inner {
        left: 0;
        right: 0;
        position: relative;
        text-align: center;
    }
    .mcrp-3-image img.mcrp-3-image-agent {
        position: relative;
        top: 0;
        right: 0;
    }
    .mcrp-3-image img:not(.mcrp-3-image-agent) {
        position: absolute;
        left: 0;
        right: 0;
        top: 80px;
        display: none;
    }
    .mcrp-3-text {
        margin-right: 0;
        padding-right: 0;
        margin-left: 0;
        padding-left: 0;
    }
    .mcrp-3-text .mcrp-text-content {
        padding: 3px 15px 9px;
    }
    .mcrp-3-text .mcrp-emphasis {
        padding: 1px 13px 9px;
    }
    .mcrp-bg-4 {
        padding-top: 150px;
    }
    .mcrp-bg-5 {
        margin-bottom: 30px;
        padding-top: 30px;
    }
    .mcrp-bg-5 .mcrp5-img {
        position: relative;
        display: block;
        right: 0;
        margin: 0 auto;
    }
    .mcrp-bg-5 ul {
        padding-right: 25%;
    }
    .mcrp-bg-5 li {
        margin-top: 0;
        margin-bottom: 20px;
    }
    .cbuy-text {
        padding: 0;
    }
    .cbuy-video {
        margin-top: 50px;
    }
    .cbuy-video-frame-1 {
        display: none;
    }
    .cbuy-video a:after {
        top: 15%;
        left: 15%;
        right: -15px;
    }
    .cbuy-div-3 {
        padding: 50px 0 80px;
    }
    .cbuy-agent {
        margin-left: 0;
        padding-left: 0;
        margin-right: 0;
        display: block;
        margin: 0 auto 50px;
    }
    .cbuy-agent-box:after {
        top: 6%;
        left: -15%;
        bottom: 13%;
        right: 12%;
    }
    .cbuy-agent-box:before {
        top: 20%;
    }
    .csell-agent {
        margin-top: 30px;
        padding-left: 0;
    }
    .csell-agent-box {
        text-align: center;
    }
    .csell-flow-item {
        display: block;
        margin: 0 auto 30px;
    }
    .csell-video {
        padding-top: 0;
        margin: 0 auto;
        display: block;
    }
    .csell-video:before,
    .csell-image-box:before {
        display: none;
    }
    #content .csell-flow-around .cbuy-list.csell-list li {
        padding-left: 68px;
    }
    .csell-image {
        padding-left: 0;
        margin-bottom: 30px;
    }
    .csell-image-box {
        text-align: center;
        padding-top: 0;
    }
    #content .csell-home-staging-list .cbuy-list:first-child,
    #content .csell-home-staging-list .cbuy-list:last-child {
        width: 100%;
        padding-left: 0;
    }
    #content .csell-home-staging-list .cbuy-list:last-child {
        margin-top: 0;
    }
    .csell-photo:nth-child(5n + 1) {
        width: 100%;
        height: 280px;
    }
    .csell-photo:nth-child(5n + 2),
    .csell-photo:nth-child(5n + 5) {
        width: 40%;
        height: 280px;
    }
    .csell-photo:nth-child(5n + 3),
    .csell-photo:nth-child(5n + 4) {
        width: 60%;
        height: 280px;
    }
    .csell-div-4 .col-md-6:first-child {
        margin-bottom: 60px;
    }
    .csell-div-4-inner {
        padding-left: 0;
    }
    .csell-agent-2-box {
        text-align: center;
        margin-bottom: 30px;
    }
    #content .csell-div-left h3,
    .csell-div-right {
        text-align: center;
    }
    .csell-gallery {
        padding-bottom: 100px;
    }
    #csell-photos-pop h2 {
        padding: 30px 0;
    }
    #csell-photos-pop {
        padding: 0 30px 30px;
    }
    #csell-photos-pop button.slick-prev {
        left: -22px;
    }
    #csell-photos-pop button.slick-next {
        right: -22px;
    }
    .lc-new .listing-sorter {
        position: relative;
        right: 0;
        top: 0px;
        margin-bottom: 30px;
    }
    /*.page-template-template-listings-condos-new .listings-lc-banner h1.entry-title {
        font: 300 38px/1 'Barlow Semi Condensed', sans-serif;
    }*/
    .ld-bnb {
        margin-top: 30px;
    }
    .ld-cta span.line-after {
        display: none;
    }
    .ld-tab-btn ul {
        padding-left: 0px;
    }
    .ld-tab-btn ul li button {
        font-size: 16px;
        padding: 14px 20px;
    }
    .lc-tab-content {
        padding: 0px;
    }
    .ld-desc-wrap {
        padding-left: 0px;
        margin-right: 0;
    }
    .ld-desc,
    .ld-cta {
        width: 100%;
    }
    .ld-cta a {
        display: block;
        width: 100%;
        max-width: 360px;
        margin: 10px auto;
    }
    .ld-bnb-wrap {
        padding-right: 0px;
        text-align: left;
    }
    .comm-image-area {
        margin-bottom: 30px;
    }
    .content-text-left {
        display: inline-block;
        padding: 0;
    }
    .comm-content-text {
        padding-left: 0;
    }
    .side-cta a .cta-text span {
        font-size: 20px;
    }
    .custom-community-template-default #breadcrumbs {
        padding: 0 15px;
    }
    .listings-lc-banner .title-wrap,
    .listings-condos-banner .title-wrap,
    .listings-loft-banner .title-wrap {
        margin-left: 30px;
        left: 0;
    }
    .listings-lc-wrap #content p#breadcrumbs {
        padding-left: 30px;
    }
    .page-template-template-blog-details .blog-custom .left-wrap {
        padding: 0;
    }
    .post .entry-content img {
        max-width: 100%;
        height: auto;
    }
    .custom-community-template-default #inner-page-wrapper {
        padding-top: 95px;
    }
    /*.ip-image canvas {
    	background-size: auto 100% !important;
    }*/
    .mlss-d-map #ihf-map-canvas {
        margin: 0 auto;
        display: block;
        width: 500px !important;
        max-width: 100% !important;
        display: none;
    }
    .listings-lc-container .floating-tab {
        display: none;
    }
    .comm-list a:hover img {
        -webkit-transform: scale(1);
        -moz-transform: scale(1);
        -o-transform: scale(1);
        transform: scale(1);
    }
    .comm-list a:hover .comm-inner:before {
        opacity: 0;
    }
    .comm-list a:first-child .comm-text,
    .comm-list a:nth-child(5) .comm-text,
    .comm-list a:nth-child(6) .comm-text,
    .comm-list a:nth-child(7) .comm-text,
    .comm-list a:nth-child(8) .comm-text,
    .comm-list a:nth-child(9) .comm-text {
        bottom: -164px;
    }
    .comm-list a:nth-child(10) .comm-text,
    .comm-list a:nth-child(13) .comm-text {
        bottom: -164px;
    }
    .comm-list a:nth-child(14) .comm-text {
        bottom: -140px;
    }
    .page-id-365 .comm-list a:nth-child(14) .comm-text {
        bottom: -164px;
    }
    .comm-list a:hover .comm-center-holder .comm-text {
        /*bottom: -144px;*/
        bottom: -25px;
    }
    .comm-list a:hover .comm-center-holder .comm-text:before {
        height: 76px;
        top: -53px;
    }

    /* Listing Details */
    .ld-slide-item canvas {
        height: auto;
        min-height: 350px;
    }
    .ld-info-wrap {
        margin-top: 20px;
    }
    .ld-add {
        padding: 0;
        text-align: center;
    }
    .ld-add span.line-before,
    .ld-add span.line-after {
        display: none;
    }
    #content .ld-add h2 {
        color: #d2b66c;
        margin: 15px 0;
    }
    .ld-btn-wrap {

    }
    .ld-bnb-wrap {

    }
    .ld-type {
        margin-right: 0;
        width: 100%;
    }
    #content .ld-tab-btn ul {
        padding-left: 0;
    }
    .lc-tab-content .container > div {
        padding: 58px 0 75px;
    }
    .ld-slide-item canvas {
        background-size: cover;
    }

    .listings-details-wrap {
        margin-top: 0 !important;
    }

    .ld-img-slide-wrap {
        min-height: 520px;
        padding-top: 100px;
    }

    .custom-community-template-default #inner-page-wrapper {
        margin-left: 0;
        margin-right: 0;
    }

    /* landing page footer */

    .landing-f-form .form-title {
        width: 100%;
        text-align: center;
        margin-bottom: 30px;
    }

    .landing-f-form .form-wrap {
        width: 100%;
        display: block;
        max-width: 500px;
        margin: 0 auto;
    }

        .landing-f-form .form-wrap .form-col,
        .landing-f-form .form-wrap .form-col.wide {
            width: 100%;
            margin: 0 0 10px;
        }

        .landing-f-form .form-wrap input[type="submit"] {
            width: 150px;
            display: block;
            margin: 0 auto;
        }
}

/* Galaxy Tab 3(portrait) | Galaxy S5(landscape) */

@media only screen and (max-width: 767px) {
    .comm-list a {
        float: none;
        display: block;
        padding: 2px 2px !important;
    }
    .ccntct-git-field.ccntct-git-field-lg.neighborhood .wpcf7-list-item {
        width: 100%;
    }
    .comm-list a .comm-center-holder .comm-text {
        bottom: -125px;
    }
    .comm-list a:hover .comm-center-holder .comm-text {
        bottom: -25px;
    }
    .f-smi-mobile {
        display: inline-block !important;
        width: 100%;
        vertical-align: middle;
        text-align: center;
    }
    .f-smi-mobile a {
        font-size: 26px;
        width: 46px;
        height: 46px;
        line-height: 46px;
        text-align: center;
        color: #d2b66c;
        text-decoration: none;
        border: 1px solid #d2b66c;
        margin: 4px 7px 8px;
        border-radius: 50%;
        display: inline-block;
    }
    .f-smi-mobile a:hover {
        color: #fff;
        background: #114477;
        border-color: #114477;
    }
    .hp-welcome {
        padding: 0;
    }
    .hp-welcome h1 {
        font-size: 8vw;
    }
    .hp-welcome .welcome-line {
        width: 40%;
    }
    .hp-cta a {
        margin-bottom: 50px;
    }
    .hp-cta .cta-img {
        width: 100%;
        max-width: 240px;
        margin: 0 auto;
    }
    .hp-cta .cta-img canvas,
    .hp-cta .cta-img .hover-bg canvas {
        max-width: 240px;
    }
    .hp-map h2 {
        font-size: 30px;
        font-family: 'Barlow Semi Condensed', sans-serif;
        font-weight: 500;
        letter-spacing: .1px;
        margin-top: 0;
        line-height: 36px;
    }
    .hp-map .map-small {
        font-size: 15px;
        letter-spacing: 6px;
    }
    .hp-map .map-line {
        width: calc(100% - 100px);
    }
    .hp-map .map-left ul {
        display: block;
        width: 100%;
        max-width: 290px;
        margin: 0 auto;
    }
    .hp-map li {
        text-align: center;
        padding-right: 0;
        padding-left: 0;
    }
    .hp-map li:after {
        width: 100%;
    }
    .hp-map li a span {
        display: none;
    }
    .hp-map li a:hover,
    .hp-map li a.active {
        transform: translateX(0);
    }
    .hp-map a.map-more,
    .footer .footer-form input[type="submit"] {
        width: 148px;
        height: 50px;
        line-height: 45px;
        margin: 40px auto 0;
    }
    .hp-news .news-photo:after {
        right: 15px;
        top: 15px;
    }
    .footer .footer-form .form-col,
    .footer .footer-form .form-col.wide,
    .footer .footer-form .form-col.middle {
        width: 100%;
        display: block;
        margin: 0 0 10px;
    }
    .footer-details {
        padding-top: 40px;
    }
    .footer-details .f-left,
    .footer-details .f-center {
        width: 100%;
        display: block;
    }
    .footer-details .f-left {
        text-align: center;
        padding-bottom: 15px;
        margin-bottom: 10px;
        padding-right: 0;
    }
    .footer-details .f-left:after {
        bottom: 0;
        top: auto;
        width: 100%;
        height: 2px;
    }
    .footer-details .f-center .f-contact {
        width: 100%;
        padding: 0;
        text-align: center;
    }
    .footer-details .f-left:after {
        display: none;
    }
    .footer-details .f-center .f-contact em.ai-mobile-phone {
        display: block;
    }
    .footer-details .f-center .f-smi {
        width: 100%;
        display: inline-block;
        text-align: center;
        margin: 30px 0 20px;
    }
    .footer-details .f-center .f-smi a {
        float: none;
        display: inline-block;
        color: #d2b66c;
        margin: 0 5px;
    }
    .footer .copyright {
        padding-bottom: 80px;
    }
    .footer-details .f-right {
        margin-top: 15px;
    }
    #main-wrapper .f-smi {
        display: none !important;
        position: fixed;
        left: 0;
        bottom: 0;
        width: 100%;
        background: #114477;
        z-index: 3000;
        padding: 10px 0;
        text-align: center;
    }
    #main-wrapper .f-smi a {
        font-size: 26px;
        width: 46px;
        height: 46px;
        line-height: 46px;
        text-align: center;
        color: #d2b66c;
        text-decoration: none;
        border: 1px solid #d2b66c;
        margin: 4px 0 8px;
        border-radius: 50%;
        display: inline-block;
        margin: 0 5px;
    }
    #main-wrapper .f-smi a:hover {
        color: #fff;
        background: #114477;
        border-color: #114477;
    }
    .page-border h1.entry-title {
        font-size: 40px;
    }
    .comm-title {
        font-size: 36px !important;
    }
    .blog-custom .left-wrap .blog-list .blog-item .blog-img {
        width: 100%;
        max-width: 500px;
        display: block;
        margin: 0 auto;
    }
    .blog-custom .left-wrap .blog-list .blog-item .blog-details {
        padding: 30px 0 0 0;
        width: 100%;
        text-align: center;
    }
    .blog-custom .left-wrap .blog-list .blog-item .blog-details a {
        margin: 40px auto 0;
    }
    /*** listings template ***/
    .page-template-template-listings .listings-tab {
        display: none;
    }
    .page-template-template-listings .listings-top .listings-search {
        max-width: 100%;
    }
    .page-template-template-listings .listings-top .search-wrap {
        width: calc(100% - 235px);
    }
    .page-template-template-listings .listings-top .list-sort {
        margin-left: 25px;
        width: 210px;
    }
    .page-template-template-listings .listings-wrap .listings-item {
        width: 100%;
        padding: 3px 0;
    }
    .page-border {
        margin-bottom: 20px;
    }
    .comm-list a {
        width: 100%;
    }
    .comm-image-area img {
        margin: 0 !important;
        width: 100%;
    }
    #ppop-mls-search-input {
        font-size: 50px;
    }
    .mlss-d-map canvas {
        height: 360px;
    }
    .listings-lc-wrap {
        padding-top: 70px;
    }
    .listings-lc-list {
        margin: 0;
        padding: 0 3px;
    }
    .listings-lc-item {
        max-width: 100%;
        width: 360px;
        display: block;
        margin: 0 auto;
    }
    .ld-img-slide-wrap{
        /*min-height: 360px;*/
    }
    /*.listings-lc-banner {
		padding-top: 62px;
	}

	.listings-lc-banner canvas {
		display: none;
	}

	.listings-lc-banner .page-title {
		position: relative;
		bottom: 0;
	}

		.listings-lc-banner h1.entry-title {
			font-size: 40px;
		}
		.listings-lc-banner span.line-after, .listings-lc-banner span.line-before {
			position: relative;
			display: block;
			top: 0;
			bottom: 0;
			max-width: calc(90% - 20px);
		}*/
    .listings-loft-banner span.line-after,
    .listings-condos-banner span.line-after,
    .listings-lc-banner span.line-after {
        margin-bottom: 10px;
        margin-top: 27px;
    }
    .listings-loft-banner span.line-before,
    .listings-condos-banner span.line-before,
    .listings-lc-banner span.line-before {
        margin-bottom: 21px;
        margin-top: 10px;
    }
    #content .chv-title {
        font: 300 40px/1 'Barlow Semi Condensed', sans-serif;
    }
    #content .chv-page.chv-page-2 .chv-title {
        font: 300 30px/1 'Barlow Semi Condensed', sans-serif;
    }
    #hire-us-wrap .hire-us-image {
        width: 100%;
        margin-top: 45px;
    }
    #hire-us-wrap .hire-us-form {
        width: 100%;
        margin-left: 0;
        padding: 0 25px;
    }
    .page-template-template-contact-page .listings-lc-banner h1.entry-title {
        /*color: #114477;*/
    }
    .mcrp-contact {
        padding: 38px 15px;
    }
    .mcrp-contact-item {
        font-size: 19px;
    }
    .cbuy-form .ccntct-git-field-xs:nth-child(even),
    .cbuy-form .ccntct-git-field-xs:nth-child(odd) {
        width: 50%;
    }
    .ccntct-git-field-xs:nth-child(odd) {
        padding-right: 0;
    }
    .ccntct-git-field-xs:nth-child(odd) + .ccntct-git-field-xs:nth-child(even),
    .cbuy-form .ccntct-git-field-xs:nth-child(odd) + .ccntct-git-field-xs:nth-child(even) {
        width: 100%;
        padding: 0;
    }
    #content .cbuy-form h2.cbuy-title {
        overflow: hidden;
    }
    .page-template-template-buyers .ip-image.listings-lc-banner.custom-title-background,
    .custom-title-background.listings-lc-banner {
        background: #fff;
    }
    /*.page-template-template-buyers .listings-lc-banner h1.entry-title,
		.custom-title-background.listings-lc-banner h1.entry-title {
			color: #114477;
		}

    .page-template-template-listings-condos-new .listings-lc-banner canvas {
        min-height: 285px;
    }

    .page-template-template-listings-condos-new .listings-lc-banner .page-title {
        bottom: -55px;
    }*/
    .page-template-template-listings-condos-new .listings-lc-wrap {
        padding-top: 80px;
    }
    .lc-new .listings-lc-item {
        width: 100%;
    }
    .lc-new #listing-search {
        min-width: 235px;
    }
    .page-template-template-listings-details .listings-lc-banner {
        height: 255px;
    }
    .listings-details-wrap {
        margin-top: 30px;
    }
    .ld-col {
        width: 100%;
        padding-right: 0;
    }
    .hp-fp .fp-arrow {
        width: 45px;
        height: 100px;
    }
    /* .comm-list a:nth-child(13) .comm-center-holder .comm-text {
        bottom: -144px;
    }*/
    .comm-list a:first-child {
        padding: 2px 2px !important;
    }

    #content .ld-add h2 {
        font-size: 40px;
    }

    .mobile_link a{
        pointer-events: auto;
    }
}

@media only screen and (max-width: 661px) {
    .comm-list a .comm-center-holder .comm-text,
    .page-id-365 .comm-list a:nth-child(14) .comm-text {
        bottom: -144px;
    }
}

@media only screen and (max-width: 599px) {
    .hp-fp .fp-wrap .fp-row {
        margin: 2px 0 0;
    }
    .hp-fp .fp-wrap .slick-slide {
        padding: 0;
    }
}

@media only screen and (max-width: 575px) and (orientation: portrait) {
    .fctc-body{
        display:none !important;
    }
    .floating-click-to-call.active .fctc-mobile {
        display: flex;
    }
}

@media only screen and (max-width: 991px) and (orientation: landscape) {
    .fctc-body{
        display:none !important;
    }
    .floating-click-to-call.active .fctc-mobile {
        display: flex;
    }
}

/* Galaxy S5(portrait) | iPod Touch(landscape) | iPod Touch(portrait) */
@media only screen and (max-width: 480px) {
    div#ihf-walkscore-tab-content{
        width: 100%;
        overflow: auto;
    }
    .page-template-template-contact-page .ip-image canvas {
        background-position: -855px 55px;
    }
    .listing-info-item {
        font-size: 12px;
    }
    body .hp-welcome h1 {
        font-size: 35px;
    }
    .home #main-wrapper section .container {
        padding: 0 22px;
    }
    .hp-welcome .welcome-photo a {
        display: none;
    }
    .hp-welcome .welcome-small {
        font-size: 15px;
        letter-spacing: 6px;
    }
    .hp-welcome h1 {
        font-size: 40px;
        letter-spacing: 0;
        margin-top: 0;
        line-height: 38px;
    }
    .hp-welcome .welcome-photo .photo-wrap img {
        max-width: 100%;
    }
    .hp-welcome .welcome-text .text-wrap {
        padding: 0;
    }
    .hp-welcome .welcome-line {
        width: calc(100% - 116px);
    }
    .hp-fp .fp-arrow,
    .fixed-menu:before {
        display: none;
    }
    .hp-welcome .sub-text,
    .hp-welcome p {
        font-size: 14px;
        line-height: 20px;
    }
    .hp-welcome .sub-text {
        margin-top: 20px;
    }
    .hp-welcome a.welcome-more {
        width: 148px;
        height: 50px;
        line-height: 45px;
        margin: 25px auto 0;
    }
    .hp-fp {
        padding: 20px 0;
    }
    .hp-fp .fp-wrap .fp-row {
        margin: 2px 0;
    }
    .hp-fp .fp-wrap .slick-slide {
        padding: 0;
    }
    .hp-fp .fp-wrap .slick-slide a .fp-details {
        bottom: -32%;
    }
    .section-title:before,
    .footer .footer-form .section-title:after {
        left: 22px;
        width: calc(100% - 44px);
        top: 60%;
    }
    .hp-news .section-title:after {
        width: calc(100% - 44px);
        left: 22px;
    }
    .footer-details .f-center .f-contact {
        font-size: 14px;
    }
    .footer-details .f-center .f-contact h2 {
        font-size: 38px;
    }
    .footer-details {
        background: url('images/footer-bg-mobile.jpg') no-repeat;
        background-size: 100%;
        background-position: bottom left;
    }
    .comm-list a {
        width: 100%;
    }
    .page-template-template-blog .ip-image .page-title .title-wrap .line-before,
    .page-template-template-blog .ip-image .page-title .title-wrap .line-after,
    .page-template-template-listings .ip-image .page-title .title-wrap .line-before,
    .page-template-template-listings .ip-image .page-title .title-wrap .line-after {
        width: 200px;
    }
    .page-template-template-listings .listings-top .search-wrap {
        width: 100%;
    }
    .page-template-template-listings .listings-top .list-sort {
        width: 100%;
        margin-left: 0;
        border-left: 0;
        margin-top: 10px;
    }
    .comm-list a .comm-center-holder .comm-text,
    .comm-list a .comm-center-holder .comm-tag {
        padding-left: 15px;
        padding-right: 15px;
    }
    .comm-list a .comm-center-holder .comm-tag em {
        margin-bottom: 6px;
    }
    .comm-list a .comm-center-holder .comm-text strong {
        font-size: 20px;
    }
    .comm-image-area img {
        margin: 0 !important;
        width: 100%;
    }
    .ppop-mls-search-neighborhoods-cell a h3 {
        font-size: 12px;
    }
    .mlss-d-item {
        width: 100%;
        display: block;
        margin: 0 auto;
    }
    .listings-lc-filter-field-last {
        width: 100% !important;
        text-align: center;
        padding-top: 0;
    }
    .listings-lc-filter-field-sort span:before {
        display: none;
    }
    .listings-lc-filter-field-sm {
        width: 50%;
    }
    .listings-lc-filter-field-range {
        width: 100%;
    }
    .ccntct-git-field-sm {
        width: 100%;
    }
    .ccntct-git-field-sm:nth-child(odd),
    .ccntct-git-field-sm:nth-child(even) {
        padding: 0;
    }
    #content .csell-title-4 {
        font-size: 38px;
    }
    .csell-photo:nth-child(5n + 2),
    .csell-photo:nth-child(5n + 5),
    .csell-photo:nth-child(5n + 3),
    .csell-photo:nth-child(5n + 4) {
        width: 50%;
        height: 180px;
    }
    .csell-photo:nth-child(5n + 1) {
        height: 180px;
    }
    #csell-photos-pop h2 {
        font-size: 20px;
    }
    #content .csell-div-right a.csell-btn-a i {
        margin-left: 15px;
    }
    .csell-div-right a.csell-btn-a {
        padding: 16px 20px;
    }
    .floating-tab {
        display: none;
    }
    .lc-new .d-inline-block {
        margin-right: 0px;
    }
    .ld-form .form-wrap form .form-col {
        width: 100%;
    }
    .ld-img-slide button,
    .ld-add span.line-before {
        display: none !important;
    }
    .ld-tab-btn ul li {
        display: block;
    }
    .ld-tab-btn ul li button {
        display: block;
        width: 100%;
    }
    .ld-bnb span small {
        font-size: 10px !important;
    }
    .ld-bnb span {
        font-size: 20px;
    }
    .ld-img-slide {
        padding: 0px;
    }
    .hp-news .news-photo {
        position: relative;
        width: 100%;
        margin: 20px auto 0;
        max-width: 300px;
    }
    .comm-title:before {
        width: 130px;
        left: auto;
        right: -15px;
    }
    #content .entry-title,
    #content .archive-title {
        font-size: 28px;
    }
    .listings-lc-banner .title-wrap,
    .listings-condos-banner .title-wrap,
    .listings-loft-banner .title-wrap {
        margin-left: 0;
    }
    .listings-lc-banner span.line-after,
    .listings-loft-banner span.line-after,
    .listings-condos-banner span.line-after,
    .listings-lc-banner span.line-before,
    .listings-loft-banner span.line-before,
    .listings-condos-banner span.line-before,
    .page_title_line_left,
    .page_title_line_right {
        width: 200px;
    }
    .listings-lc-banner h1.entry-title,
    .listings-loft-banner h1.entry-title,
    .listings-condos-banner h1.entry-title {
        font-size: 42px;
    }
    .page-template-template-blog-details #content .blog-custom .left-wrap .entry-title {
        font-size: 32px;
        line-height: 1;
    }
    .page-template-template-blog-details .left-wrap a.blog-btn {
        display: block;
        margin: 5px 0;
    }
    .listings-lc-wrap #content p#breadcrumbs {
        padding-left: 0;
    }
    .page-template-template-hire-us-casey .listings-lc-wrap #content p#breadcrumbs {
        padding: 0 15px;
        margin-left: 0;
    }
    .page-template-comm-toronto .title-comm {
        font-size: 32px;
    }
    .page_title_line_right {
        left: 90px;
    }
    .page-template-template-listings-condos-new .listings-lc-filter-field.listings-lc-filter-field-md {
        width: 100%;
    }
    .hp-fp .fp-wrap .slick-slide a .fp-details {
        left: 55px;
        padding-right: 15px;
        width: calc(100% - 110px);
    }
    .fp-wrap .slick-slide a .fp-view-det {
        left: 75px;
    }
    .comm-cta-list {
        padding: 0 15px;
    }
    .comm-list a .comm-center-holder .comm-text {
        bottom: -144px;
    }
    .comm-list a .comm-center-holder .comm-text {
        bottom: -144px;
    }
/*
    .comm-list a:nth-child(13) .comm-center-holder .comm-text,
    .comm-list a:nth-child(10) .comm-center-holder .comm-text {
        bottom: -164px;
    }
    .comm-list a:nth-child(14) .comm-center-holder .comm-text {
        bottom: -125px;
    }
*/
    .comm-list a:hover .comm-center-holder .comm-text {
        bottom: -25px;
    }

    .listings-lc-filter-field.listings-lc-filter-field-md {
        width: 100% !important;
    }

    .comm-list a .comm-center-holder .comm-text em.r-more {
        margin-top: 15px !important;
    }

    .ip-container .comm-list a .comm-center-holder .comm-text p {
        margin: 10px 0 !important;
    }

    #content .ld-add h2 {
        font-size: 30px;
    }

    .custom-community-template-default .page-border {
        left: 0;
    }

    .blog-custom .left-wrap .blog-pagination .fast-back,
    .blog-custom .left-wrap .blog-pagination .fast-forward,
    .blog-custom .left-wrap .blog-pagination .prev-page,
    .blog-custom .left-wrap .blog-pagination .next-page {
        margin: 0;
    }

    .page-template-template-listings-details #ihf-main-container .modal-title {
        font-size: 35px;
    }
}

@media only screen and (max-width: 767px) and (orientation: landscape) {
    .comm-list {
        text-align: center;
    }
    .comm-list a {
            width: 100%;
    display: block;
    max-width: 450px;
    margin: auto;
    }
    .comm-list a .comm-center-holder .comm-text {
        bottom: -150px;
    }
    .comm-list a:hover .comm-center-holder .comm-text {
        bottom: -15px;
    }
    .comm-list a .comm-center-holder .comm-text p {
        font-size: 14px;
            min-height: 46px;
    }

}

#ihf-main-container .ihf-grid-result.col-xs-3 {
    display: none;
}

#ihf-main-container .col-xs-4 {
    display: none;
}
#ihf-main-container .btn-group.pull-right {
    display: none !important;
}

div#ihf-board-disclaimers {
    display: none;
}

.ihf-link-back.ihf-powered-by {
    display: none;
}

.entry.entry-content.ihf_content {
    margin-top: -70px;
}

.mlss-d-body p {
    font-size: 43px;
    padding-left: 31px;
}

@media print {
    .page-id-0 .header,
    .page-id-0 .fixed-header,
	.page-id-0 .sidebar,
	.page-id-0 .footer,
    .page-id-0 #breadcrumbs,
    .page-id-0 .ld-btn-wrap,
    .page-id-0 .ld-btn-wrap,
    .page-id-0 .ld-cta,
    .page-id-0 .ld-tab-btn,
    .page-id-0 .listings-lc-btn.container,
    .page-id-0 .ld-form,
    .page-id-0 .ld-map,
    .page-id-0 .ld-img-slide.slick-initialized.slick-slider {
        display: none;
    }
    .page-id-0 .ld-info-wrap {
        margin-top: -482px;
    }
    .page-id-0 .lc-tab-content .container > div {
        padding: 0;
    }
    .page-id-0 .ld-img-slide button {
        color: #fff;
    }
    .page-id-0 .ld-add span.line-before, .ld-add span.line-after {
        display: none;
    }
	.page-id-0 #content-sidebar #content {
		width: 100% !important;
    }
}
