/*******************************************************
 *
 * 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) {

    .ip-image canvas {
        background-size: 100% !important
    }

    .community-wrap .comm-content-text {
        max-width: 1555px;
    }
}

@media only screen and (min-width: 1600px) {
    .footer-details {
        background-size: auto 100%;
    }

    #ihf-map-canvas{ width: 964px !important}
}

@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: 1920px) {
     #ihf-map-canvas{ width: 964px !important}
}

@media only screen and (max-width: 1500px) {

    body .cycloneslider-template-video video {
        top: 0;
        transform: none;
        left: 0;
        width: 100%;
    }

    .fixed-menu .container {
        width: 990px;
    }

    #nav li {
		margin: 0 20px;
	}

    #nav3 li {
        margin: 0 28px;
    }

    .hp-welcome .welcome-photo .photo-wrap .custom-design.right {
        left: 0;
        width: 104%;
    }

}

@media only screen and (max-width: 1480px) {
    .footer-details {
        background-size: cover;
    }

    #map .hovers div p {
        font-size: 18px;
    }
}

@media only screen and (max-width: 1440px) {

   div#ihf-map-canvas{    width: 700px !important;}

}

@media only screen and (max-width: 1400px) {

    .hp-video .video-wrap {
        margin: 0 auto;
    }

    .hp-video .vid-agent-photo .custom-design.right {
        right: -65px;
    }

    .hp-video .vid-agent-photo {
        width: 120%;
    }

    .hp-welcome .welcome-photo .photo-wrap {
        margin-right: 0;
    }

    .hp-welcome .welcome-photo .photo-wrap img {
        top: -45px;
    }

    .hp-welcome .welcome-photo .photo-wrap .custom-design.right {
        left: 15px;
        width: 103%;
    }

    .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;
    }

    .hp-map li {
        padding-bottom: 20px;
        margin-bottom: 20px;
    }

    .custom-design {
        width: 100%;
    }

    .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;
    }

    .hp-map .map-right {
        /*width: 40.93%;*/
    }
}

@media only screen and (max-width: 1366px) {



.hp-welcome .welcome-photo .photo-wrap .image-holder{
  left: auto;
}


.hp-welcome .welcome-photo .photo-wrap .image-holder img{

    top: -44px;
}


    .hp-fp .fp-wrap .slick-slide a .fp-details {
        padding-bottom: 35%;
    }

    .custom-banner .title-wrap {
        left: 0;
    }

    .listings-lc-banner .title-wrap {
        left: 0;
    }

    .floating-tab {
        top: 93%;
    }

        .floating-tab ul li a {
            font-size: 15px;
        }

    .listings-condos-banner .title-wrap,
    .listings-loft-banner .title-wrap {
        left: 25px;
    }
}

@media only screen and (max-width: 1300px) {
    body #nav li {
        margin: 0 10px;
    }

    .hp-map li {
        padding-bottom: 17px;
        margin-bottom: 17px;
    }


.fixed-header {
    transform: translateY(-300%);
}
	#nav li a {
		font-size: 14px;
	}

}

/* iPad(landscape) | iPad(landscape) | Galaxy Tab 4 (landscape) | Galaxy Tab 3 (landscape) */
@media only screen and (max-width: 1199px) {

    .hp-video .vid-col {
        vertical-align: bottom;
    }

    .hp-video .vid-agent-photo {
        width: 110%;
    }

    .hp-welcome p {
        line-height: 24px;
        font-size: 15px;
    }

    .hp-welcome .welcome-photo .photo-wrap .custom-design.left {
        top: 150px;
    }

    .hp-welcome .welcome-photo .photo-wrap img {
        top: -36px;
    }

    .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);
    }

    .navigation {
        width: calc(78.3% - 275px);
    }

    .hdr-contact-wrap, .fixed-header .hdr-contact-wrap {
        width: 275px;
    }

    body #nav li {
        margin: 0 5px;
    }

    #nav3 li {
        margin: 0 20px;
    }

    #nav3 li.no-left {
        margin-left: 25px;
    }

    #nav3 li li:last-child {
        margin-right: 0;
    }

    #nav li a {
        font-size: 14px;
    }
    #nav3 li a {
        font-size: 18px;
    }

    #nav3 .sub-menu a {
        font-size: 15px;
        padding: 9px 8px;
    }

    #nav2 {
        padding: 0 25px;
    }

    #nav2 li {
        margin: 0 2px;
    }

    #nav2 li a {
        font-size: 12px;
    }

    #nav .sub-menu a, #nav2 .sub-menu a {
        font-size: 13px;
        letter-spacing: 1px;
    }

    .hdr-contact-wrap .hdr-contact {
        font-size: 16px;
    }

    .hdr-contact-wrap .hdr-contact a.asis-mailto-obfuscated-email {
        font-size: 14px;
    }

    .menu-button-b {
        font-size: 15px;
    }

    .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-map .map-right {
        right: 40px;
    }

    .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%;
    }

    .side-cta a .cta-text span {
        font-size: 17px;
    }

    /*** custom contact page ***/

    .custom-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;
    }

    /*** custom about page ***/

    .mcrp-right:before {
        display: none;
    }

    .mcrp-img {
        margin-left: 0;
        margin-right: 0;
        margin-top: 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);
    }

    .mcrp-bg-5 li {
        padding: 0 60px;
    }

    .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 a.cbuy-btn {
        font-size: 17px;
    }

    #content .csell-flow-around .cbuy-list.csell-list > li:nth-child(2) {
        padding-left: 68px;
    }

    .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;
    }

    /*TORONTO NEIGHBOURHOODS*/

    .comm-list a .comm-center-holder .comm-tag {
        padding: 0 10px;
    }

  /*  .comm-list a .comm-center-holder .comm-text {
        bottom: -159px;
    }*/

    .comm-list a .comm-center-holder .comm-text {
        padding: 0 15px 15px;
    }

    .comm-list a .comm-center-holder .comm-tag em {
        font-size: 9px;
    }

    .comm-list a .comm-center-holder .comm-text em.r-more {
        margin-top: 30px;
    }

    .comm-list a:hover .comm-center-holder .comm-text:before {
        top: -20px;
        right: 15px;
    }

    #hire-us-wrap .hire-us-image {
        margin-right: calc((920px - 100vw) / 2);
    }

    #hire-us-wrap .hire-us-form h2 {
        margin-bottom: 15px;
        margin-top: 0;
    }

    /*** custom community details ***/

    .community-wrap .comm-content-text {
        float: none;
    }

    .community-wrap .comm-content-text {
        float: none;
        width: 100%;
        padding-right: 0;
    }

    .community-wrap .content-text-left {
        max-width: 100%;
        width: 100%;
        float: none;
        padding: 0 15px;
    }

    .community-wrap .comm-image-area {
        float: none;
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }

    .comm-fp .fp-wrap .slick-slide a .fp-details {
        bottom: -25%;
    }

    .comm-fp .fp-wrap .slick-slide a .fp-details .fp-view-det {
        margin-top: 20%;
    }

    .comm-fp .fp-wrap .slick-slide a .fp-details span {
        font-size: 16px;
    }

    .community-wrap .comm-cta-list a span {
        font-size: 14px;
        letter-spacing: 1px;
    }

    .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-filter {
        width: 520px;
    }

    .listings-lc-banner .title-wrap,
    .listings-condos-banner .title-wrap,
    .listings-loft-banner .title-wrap {
        left: 20px;
    }

    .lc-new .listings-lc-item-details {
        left: 10.5%;
    }

    .listings-lc-banner span.line-after {
        width: 303px;
    }

    .listings-lc-item-btn {
        margin-bottom: 15px;
    }

    .ip-fp-result-image canvas,
    .ip-luxury-result-image canvas,
    .page-template-template-buyers-page .ip-image canvas,
    .page-template-template-sellers-page .ip-image canvas,
    .page-template-template-comm-toronto .ip-image canvas,
    .page-template-template-meet-casey-ragan .ip-image canvas,
    .page-template-template-meet-casey-ragan .ip-image canvas,
    .page-template-template-contact-page .ip-image canvas,
    .page-template-template-hire-us-casey .ip-image.custom-banner canvas,
    .single-custom-community .ip-image canvas {
        height: 449px;
        background-size: auto 449px !important;
        background-position: top center;
    }

    .page-template-template-blog canvas {
        height: 449px !important;
        background-size: auto 449px !important;
        background-position: top center;
    }

    #ppop-mls-search-input {
        font-size: 50px;
    }

    .hdr-inner {
        padding: 0 15px;
    }

    .hp-news .news-photo:after {
            right: 9.79%;
    }

    .blog-custom .right-wrap .categories-title {
        font-size: 36px;
    }

    .ld-type-wrap {
        margin-bottom: 20px;
    }

    .ip-fp-result-image canvas,
    body.page-id-39863 .ip-fp-result-image canvas,
    .ip-luxury-result-image canvas{
        background-size: cover!important;
    }

}

/* iPad(portrait) | Galaxy Tab 4(portrait)  */
@media only screen and (max-width: 991px) {


.hp-welcome .welcome-photo .photo-wrap .image-holder img{

    top: -55px;
}


    .hide-mobile {
        display: none !important;
    }

    .home .aiosp-wrap .aiosp-container .aios-popup-body {
        line-height: 0;
        width: 100%;
        max-width: 900px;
    }

    .aiosp-ready #video-hp-iframe {
        width: 100%;
        height: 0;
        overflow: hidden;
        padding-top: 56.25%;
        display: block;
    }

    .aiosp-ready #video-hp-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;
    }

    .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;
    }

    .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: 11px 0;
        position: fixed;
        transform: none;
    }

    .fixed-header .container {
        width: 100%;
    }

    .fixed-header .hdr-logo {
        /*width: 175px;*/
        width: 275px !important;
    }

    .fixed-header .navigation {
        display: none;
    }

    .fixed-header .hdr-contact-wrap {
        /*width: calc(100% - 175px);*/
        width: calc(100% - 275px) !important;
    }

    .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;
        /* margin-top: 20px; */
    }

    .hp-welcome .welcome-photo .photo-wrap .custom-design.right {
        width: 95%;
    }

    .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;
        top: -54px;
    }

    .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 .map-small,
    .hp-map h2 {
        padding-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-video .vid-agent-photo .custom-design.left {
        top: 35px;
    }

    .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-details {
        text-align: center;
    }

    .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%;
    }

    /*** custom contact page ***/

    .ccntct-info-logo {
        text-align: center;
        margin-left: 0;
        padding: 0 15px;
    }

    .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;
    }

    /*** custom about page ***/

    .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-img img {
        display: block;
        margin: 0 auto;
    }

    .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 li {
        margin-top: 0;
        margin-bottom: 20px;
        padding: 0 0 0 60px;
    }

    .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-page .aiosp-wrap .aiosp-container .aios-popup-body,
    .page-template-template-sellers-page .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%;
    }

    .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%;
    }

    #content .csell-flow-around .cbuy-list.csell-list li {
        padding-left: 68px;
    }

    #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-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;
    }

    .csell-agent-box img,
    .csell-agent-2 img {
        margin: 0 auto;
        position: relative;
        z-index: 2;
    }

    #content .cbuy-list li h3 br {
        display: none;
    }

    .cbuy-form {
        margin-left: 0;
    }


    /* TORONTO NEIGHBOURHOODS*/

    .comm-list a {
        width: 50%;
        padding: 2px 2px;
    }

    .comm-cta-list a {
        width: 100%;
        margin: 10px auto;
        display: block;
    }

    .comm-cta-list a span {
        font-size: 16px;
        letter-spacing: 2px;
    }

  /*  .comm-list a .comm-center-holder .comm-text {
        bottom: -135px;
    }*/

    .comm-list a .comm-center-holder .comm-text {
        padding: 0 15px 20px;
    }

    .page-template-template-hire-us-casey .col-md-5.float-right {
        float: none;
        margin-top: 50px;
    }

    #hire-us-wrap .hire-us-image {
        margin-right: 0;
        text-align: center;
    }

    /*** custom community details ***/

    .page-template-template-comm-details #inner-page-wrapper {
        margin-left: 0;
        margin-right: 0;
    }

    .community-wrap .comm-content-text {
        padding-left: 0;
    }

    .page-template-template-comm-details #breadcrumbs {
        padding: 125px 15px 0;
    }

    .page-template-template-comm-details #inner-page-wrapper .comm-cta-list a {
        width: 100%;
        margin: 10px auto;
        display: block;
    }

    .comm-fp .fp-wrap .slick-slide a .fp-details {
        bottom: -30%;
        padding-right: 70px;
    }

    .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;
    }

    .mlss-d-map #ihf-map-canvas,
    .mlss-d-map-orig {
        /* margin: 0 auto; */
        /* display: block; */
        /* width: 500px !important; */
        /* max-width: 100% !important; */
        display: none;
    }

    .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;
    }

    .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%;
    }

    .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;
    }

    .listings-lc-container .floating-tab {
        display: none;
    }

    .listings-details-wrap {
        margin-top: 0 !important;
    }

    .fixed-menu .burger-close {
        top: 9px;
        width: 40px;
        height: 40px;
    }

    /*HOME VALUATION*/

    .page-template-template-home-valuation .footer .footer-form {
        padding: 50px 0;
    }

    .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;
    }

    .footer-details {
        background: transparent;
        position: relative;
    }

    .footer-details:after {
        content: '';
        position: absolute;
        z-index: -1;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 321px;
        max-width: 90%;
        height: 166px;
        background: transparent url(images/footer-bg-b.png) no-repeat;
        background-size: 100% auto;
        background-position: bottom center;
    }
	 /* Listing Details */
	 body .ld-bnb-wrap {
		padding-right: 0px;
		text-align: left;
		margin-left:0;
	}
	.ld-cta a {
		margin: 0 auto 16px auto;
	}
	.ld-cta span.line-after {
		display: none;
	}
	.ld-tab-btn ul li button {
		font-size: 16px;
		padding: 14px 20px;
	}
		.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;
    }

    .single-custom-community #inner-page-wrapper .comm-cta-list a {
        width: 100%;
        margin: 10px auto;
        display: block;
    }

    .mlss-d-map-left,
    .mobile .entry.entry-content.ihf_content {
        display: none;
    }

    .mobile .mlss-d-wrap .page {
        height: 0;
    }

    .listings-lc-item a:hover .listings-lc-item-details {
        padding-bottom: 32.4%;

    }

.community-wrap #custom-breadcrumbs {
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 15px;
}

.single-custom-community #inner-page-wrapper .ip-section-title {
    padding: 0 15px;
}

.community-wrap #custom-breadcrumbs {
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 15px;
}

.single-custom-community #inner-page-wrapper .comm-cta-list {
        padding: 0 30px;
}

.ld-form form .wpcf7-response-output {
        margin: 0 15px;
}



}

/* Galaxy Tab 3(portrait) | Galaxy S5(landscape) */
@media only screen and (max-width: 767px) {
	.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-img {
		width: 100%;
		max-width: 500px;
		display: block;
		margin: 0 auto;
	}
	.blog-custom .left-wrap .blog-list .blog-item .blog-details a {
		margin: 40px auto 0;
	}

    .f-smi-mobile {
        display: inline-block !important;
        width: 100%;
        vertical-align: middle;
        text-align: center;
        margin: 10px 0 50px;
    }

    .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;
        min-height: 268px;
    }

    .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;
    }

    .ip-banner .container {
        width: 100%;
    }

    .hp-fp .fp-arrow {
        width: 45px;
        height: 100px;
    }

    /*** custom about page ***/

    .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) + .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-page .ip-image.custom-banner.custom-title-background,
    .custom-title-background.custom-banner {
        background: #fff;
    }

    .ccntct-git-field.ccntct-git-field-lg.neighborhood .wpcf7-list-item {
        width: 100%;
    }

    /*TORONTO NEIGHBORHOODS*/
    .comm-list a {
        width: 100%;
        display: block;
        max-width: 450px;
        margin: auto;
    }

    .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;
    }

    .comm-list a {
        float: none;
        display: block;
        padding: 2px 2px !important;
    }

   /* .comm-list a .comm-center-holder .comm-text {
        bottom: -140px;
    }*/

    .comm-list a:hover .comm-center-holder .comm-text {
        bottom: 0;
    }

    .title-comm {
        font-size: 34.49px;
    }

    #ppop-mls-search-input {
        font-size: 50px;
    }

    .mlss-d-map canvas {
        height: 360px;
    }

    /*** 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-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;
    }

    .page-template-template-buyers .ip-image.listings-lc-banner.custom-title-background,
    .custom-title-background.listings-lc-banner {
        background: #fff;
    }

    .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;
    }

    /*HOME VALUATION*/

    #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;
    }

    .footer-details .f-right img {
        margin: 14px 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;*/
    }
	.ld-col {
        width: 100%;
        padding-right: 0;
    }
	#content .ld-add h2 {
        font-size: 40px;
    }

    .blog-custom .left-wrap{
        text-align: center;
    }

    .cbuy-btn-list a.cbuy-btn {
        margin: 10px auto;
        width: 392px;
        max-width: 100%;
    }

    .no-click-desktop-tablet a[href*="tel:"],
    a.no-click-desktop-tablet {
        pointer-events: auto;
    }



}

@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;
    }


    .ld-tab-btn ul li button {
        font-size: 12px;
    }

}

@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) {

  .hp-welcome .welcome-photo .photo-wrap .image-holder img {
    top: -47px;
}

    .page-template-template-contact-page .ip-image canvas {
        background-position: -855px 55px !important;
    }

    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;
        font-size: 15px;
    }

    .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;
    }

    .ccntct-git-field-sm {
        width: 100%;
    }

    .ccntct-git-field-sm:nth-child(odd),
    .ccntct-git-field-sm:nth-child(even) {
        padding: 0;
    }

    .hp-news .news-photo {
        position: relative;
        width: 100%;
        margin: 20px auto 0;
        max-width: 300px;
    }

    .custom-banner .title-wrap,
    .custom-banner .title-wrap {
        margin-left: 0;
    }

    .custom-banner span.line-after,
    .custom-banner span.line-before {
        width: 200px;
    }

    .custom-banner h1.entry-title {
        font-size: 42px;
    }

    .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;
    }

    .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;
    }

    #content .csell-title-4 {
        font-size: 38px;
    }

    .page-template-template-comm-toronto .custom-banner span.line-after,
    .page-template-template-comm-toronto .custom-banner span.line-before {
        width: 200px !important;
    }

    .page-template-template-comm-toronto .custom-banner .title-wrap {
        left: 0;
    }

    .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%;
    }

    .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;
    }

    .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-template-listings-condos-new .listings-lc-filter-field.listings-lc-filter-field-md {
        width: 100%;
    }

    .listings-lc-filter-field.listings-lc-filter-field-md {
        width: 100% !important;
    }

    .hp-welcome .welcome-photo .photo-wrap {
        max-width: 275px;
    }

    .hp-welcome .welcome-photo .photo-wrap img {
        max-width: 275px;
        top: -47px;
    }

    .hp-welcome .welcome-photo .photo-wrap .custom-design.right {
        bottom: 175px;
    }

    .custom-design.left:before,
    .custom-design.right:before {
        height: 82px;
    }

    .hp-welcome .welcome-text {
        padding-top: 0;
        padding-bottom: 52px;
    }

    .hp-cta {
        padding-bottom: 20px;
    }

    .hp-map {
        padding-bottom: 37px;
    }

    .hp-fp .fp-arrow {
        width: 38px;
    }

    .hp-fp .fp-arrow em, .comm-image-area .fp-arrow em {
        width: 11px;
        height: 22px;
        background-size: 100% 100% !important;
    }

    .hp-video {
        padding-top: 28px;
    }

    .hp-news .news-details p {
        font-size: 14px;
        line-height: 20px;
    }

    .hp-news .news-details .news-title {
        margin-bottom: 11px;
    }

    .hp-news .news-details a {
        font-size: 15px;
    }

    .hp-news .news-details a {
        margin-top: 25px;
    }

    .hp-news {
        padding-bottom: 83px;
    }
	.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;
    }

.ld-btn-wrap {
    text-align: center;
}

.ld-btn-wrap a {
    display: block;
    margin: 10px auto;

}

.fixed-menu {
    padding-top: 60px;
}

}

@media only screen and (max-width: 350px) {
    .hp-welcome .welcome-photo .wc-agent-bg {
        left: 0;
        right: 0;
    }
	    .fixed-header .hdr-logo {
        width: 175px !important;
    }

    .fixed-header .hdr-contact-wrap {
        width: calc(100% - 175px) !important;
    }
}

/* Floating Tab Fix on Smaller Devices [landscape mode only] */
@media only screen and (max-height: 650px) and (orientation: landscape) {
    .floating-tab {
        top: 98%;
    }

    .floating-tab ul li a {
        padding: 8px 15px;
        font-size: 17px;
    }
}

@media only screen and (max-height: 575px) and (orientation: landscape) {
    .floating-tab ul li a {
        padding: 8px 10px;
        font-size: 15px;
    }
}
@media print {
    .header-wrapper,
    .header-bg,
    .header-fixed.ease-transition,
    .aios-mobile-header-wrapper,
    .textwidget,
    .yoast-breadcrumbs,
    .footer-form-wrapper,
    .footer-wrapper,
    footer.footer-wrap,
    .sidebar,
    .ip-banner,
    .ihf-contiguous-links,
    .entry-title,
    .ihf-open-home .panel.panel-default,
    .menu-main-navigation-container,
    .entry.entry-content>a,
    .footer-links,
    p#breadcrumbs,
    .menu,
    .ld-btn-wrap,
    .ld-cta,
    .ld-tab-btn,
    #ihf-map-canvas,
    .ld-form,
    .footer,
    .mls-search-popup,
    .listings-lc-btn,
    .ld-prev,
    .ld-next
    {
        display: none !important;
    }
    #content{
        width: 100% !important;

    }
    div#inner-page-wrapper{
        padding-top: 0px;
    }
    .ld-add span.line-before, .ld-add span.line-after, .ld-type-wrap, .ld-bnb-wrap {
    border: none;
    }
    #inner-page-wrapper{
        margin-top: -320px;
    }
    .ld-bnb-wrap{
         margin-top: -150px;
    }
    .lc-tab-content{
         margin-top: -150px;
    }
}

/*@media only screen and (max-width: 1024px){

    .page-id-29 span.comm-text p{
       min-height: 72px !important;
    }

}

@media only screen and (max-width: 991px) {


    .page-id-29 span.comm-text p{
        height: 48px !important;
        min-height: 48px !important;
    }

}*/
