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

@media only screen and (max-width: 1440px) {
    .hp-mtt-inner.left {
        margin-left: calc(calc(-100vw + 1170px) / 2);
    }

    .hp-mtt-inner.right {
        margin-right: calc(calc(-100vw + 1170px) / 2);
    }

    .hp-mtt-inner .section-title h2 span:after {
        width: calc(calc(calc(100% - 124px) + 75px) + 15px);
        right: calc(-75px - 15px);
    }

    .footer-top-inner.right {
        /*margin-right: calc(calc(-100vw + 1170px) / 2);*/
    }
}

@media only screen and (max-width: 1366px) {
    .fixed-smi {
        right: 15px;
    }

    .fixed-smi-inner a {
        font-size: 15px;
        width: 35px;
        height: 35px;
    }
}

@media only screen and (max-width: 1280px) {
    .footer-top-inner.left {
        margin-left: calc(calc(-100vw + 1170px) / 2);
    }

    /* IP COMMUNITIES MAP START */
    .ip-communities-map-subtitle {
        font-size: 30px;
    }

    /* IP COMMUNITIES MAP END */
}


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

@media only screen and (max-width: 1199px) {
    .header-logo {
        max-width: 190px;
    }

    .header-navigation {
        margin-top: 0;
    }
    .header-nav li a{
        font-size: 13px;
    }
    .section-button-inner {
        font-size: 13px !important;
        letter-spacing: 0.07em !important;
    }

    .listings-title h1 span {
        font-size: 22px;
    }

    .listings-title h1 strong {
        font-size: 50px;
    }

    .header-nav>li {
        padding: 0 0;
        margin: 0 11px;
    }

    .slideshow-tagline-inner h1,
    .slideshow-tagline-inner h2 {
        font-size: 56px;
    }

    .slideshow-tagline-inner h2 span {
        font-size: 24px;
    }

    .section-title h2,
    #content .entry-title,
    #content .archive-title {
        font-size: 80px;
    }

    .ai-modern-testimonials-heading .entry-title {
        font-size: 55px !important;
    }

    article#content .section-title h2 span {
        font-size: 24px;
    }

    .hp-mtt-inner.left {
        margin-left: calc(calc(-100vw + 970px) / 2);
    }

    .hp-mtt-inner.right {
        margin-right: calc(calc(-100vw + 970px) / 2);
    }

    .fp-info.hover {
        padding: 40px 25px;
    }

    .pp-items {
        padding: 0;
    }

    .hp-ct-bottom-inner {
        padding: 88px 30px 80px;
    }

    .footer-top-inner.left {
        margin: 0 0 58px !important;
    }

    .footer-top-inner.right {
        /*margin: 0 !important;*/
    }

    .footer-top-inner.title h2 {
        font-size: 68px;
    }

    #content .content-title h2 span {
        font-size: 25px;
    }

    #content .content-title h2 strong {
        font-size: 63px;
    }

    /* IP COMMUNITIES MAP START */
    .ip-communities-map-subtitle {
        font-size: 25px;
    }

    /* IP COMMUNITIES MAP END */
    .fp-details div {
        margin-right: 15px;
    }

    .fp-details div span {
        font-size: 12px;
        letter-spacing: 0.00em;
    }

    .section-button a {
        width: 210px;
    }

    .ai-modern-testimonials-heading .entry-title:after {}
}


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

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

    #pojo-a11y-toolbar {
        display: none;
    }

    #hp-slideshow-tagline {
        padding-top: 52px;
    }


    .page-template-template-pinnacle-residences .slideshow-tagline .container {
        padding: 0 15px;
    }

    .page-template-template-pinnacle-residences .slideshow-tagline-inner p {
        font-size: 3vw;
    }

    /* .page-template-template-pinnacle-residences .slideshow-tagline-inner h2 {
		font-size: 6vw;
	}
    .page-template-template-pinnacle-residences .slideshow-tagline-inner h2 span {
		font-size: 6vw;
		font-weight: 400;
		letter-spacing: 0;
		text-transform: capitalize;
		font-family: 'Arcon';
		line-height: 7vw;
	} */
    .listings-title h1:before {
        display: none;
    }

    .listings-title h1 {
        text-align: center;
    }

    /* 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%;
    }

    .container {
        width: 100%;
    }

    .section-title {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .section-title h2,
    #content .entry-title,
    #content .archive-title,
    .ai-modern-testimonials-heading .entry-title,
    #content .ip-communities-map-wrap .section-title h2,
    .single-aios-communities #content .ip-comm-details-content-outer-wrap .section-title h2 {
        font-size: 50px !important;
        width: auto;
    }

    article#content .section-title h2 span {
        font-size: 18px;
        margin-bottom: 0;
    }

    .page-template-template-sellers .section-title h2 span {
        letter-spacing: 0.015em !important;
    }

    .section-title h2 span:after {
        display: none;
    }

    .section-content p {
        text-align: center;
    }

    .section-button {
        justify-content: center !important;
    }

    .header {
        position: relative;
    }

    .header-inner {
        justify-content: center;
    }

    .header-logo-inner:before {
        display: none;
    }

    .header-logo-inner img {
        display: none;
    }

    .header-logo-inner img.mobile-logo {
        display: block !important;
        width: 160px;
        /*width: 100px;*/
    }

    .header {
        padding: 15px 0;
        margin-top: 52px;
        opacity: 1 !important;
    }

    .header-navigation,
    .fixed-header {
        display: none;
    }

    .fixed-smi {
        /*display: none;*/
        transform: translateY(0);
        top: auto;
        bottom: 0;
        right: 0;
        left: 0;
        background: #fff;
        padding: 15px 0;
        border-top: 1px solid #ebe5e5;
    }

    .fixed-smi-inner {
        display: flex;
        flex-flow: row wrap;
        align-items: center;
        justify-content: center;
    }

    .fixed-smi-inner a {
        display: inline-flex;
        margin-right: 7px;
        margin-bottom: 0;
    }

    .fixed-smi-inner a:last-child {
        margin-right: 0;
    }

    .hp-slideshow:after {
        display: none;
    }

    #hp-fp {
        background-color: #fff;
        position: relative;
    }

    .slideshow-tagline-inner h1,
    .slideshow-tagline-inner h2 {
        font-size: 60px;
        line-height: 85px;
    }

    .slideshow-tagline-inner h2 span {
        font-size: 18px;
        line-height: 30px;
    }

    .hp-fp-inner .section-title-button {
        flex-flow: column;
        align-items: center;
    }

    .hp-fp-inner .section-title {
        margin-bottom: 30px;
    }

    .fp-items .slick-slide:not(.lessfour)>div>.fp-item:first-child,
    .fp-items .slick-slide:not(.lessfour)>div:last-child>.fp-item:last-child,
    .fp-items .slick-slide:not(.lessfour)>div>.fp-item:last-child,
    .fp-items .slick-slide:not(.lessfour)>div:last-child>.fp-item:first-child {
        width: 100% !important;
    }

    .hp-mtt-inner.left {
        margin-left: 0;
        margin-right: 0;
    }

    .hp-mtt-inner.right {
        margin-top: 0;
        margin-left: 0;
        margin-right: 0;
    }

    #hp-pp {
        padding: 50px 0;
    }

    .pp-items {
        flex-flow: row wrap;
    }

    .pp-item {
        width: 50%;
        margin-bottom: 30px;
    }

    .hp-ct-bottom-inner {
        margin-left: 0;
    }

    .ct-slide-inner p {
        text-align: center;
    }

    .ct-slide-inner span {
        margin-left: 0;
        text-align: center;
    }

    .ct-slide-inner span:before {
        display: none;
    }

    .ct-slides .slick-dots {
        justify-content: center;
    }

    .hp-ct-bottom-inner .section-button {
        position: relative;
        margin-top: 30px;
    }

    #hp-fuos {
        padding-bottom: 30px;
    }

    .hp-fuos {
        /*padding-top: 152px;*/
        padding-top: 55px;
    }

    .hp-fuos-bottom-inner {
        margin-bottom: 50px;
    }

    .hp-fuos:before {
        background-image: url('images/fuos-bg.jpg');
    }

    .footer-top-inner.left {
        padding-top: 0;
    }

    .footer-contact-inner {
        flex-flow: column;
        justify-content: center;
        align-items: center;
    }

    .footer-contact-inner a {
        margin-bottom: 15px;
        padding-left: 0;
        display: flex;
        flex-flow: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .footer-contact-inner a i {
        position: relative;
        top: auto !important;
        margin-right: 10px;
        margin-bottom: 5px;
    }

    .footer-contact-inner a br {
        display: none;
    }

    /*.footer-logo {
        margin-bottom: 0;
    }*/
    .footer-navigation {
        margin-bottom: 15px;
    }

    .footer-nav {
        flex-flow: column;
    }

    /* Styled GIT Form */
    .styled-git-form {
        padding-left: 15px;
        padding-right: 15px;
    }

    .styled-git-form .git-form-col {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }

    /* #Styled GIT Form */
    .git-form-col .wpcf7-list-item {
        margin: 0 0 0 30px;
    }

    .git-form .wpcf7-not-valid-tip {
        left: 5%;
    }

    .git-form .wpcf7-response-output {
        display: none;
    }

    .custom-cf7-validation-popup {
        position: fixed;
        z-index: 9999;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.7);
        display: flex;
        align-items: center;
        justify-content: center;
        color: #ffff;
        border: none !important;
        padding: 10px !important;
        text-align: center;
        opacity: 0;
        pointer-events: none;
    }

    .post-page-testimonials .custom-cf7-validation-popup {
        display: none;
    }

    /* CONTACT */
    .page-template-template-contact-us #content .entry-title {
        padding: 0 20px;
    }

    .footer-top-inner.right {
        padding: 75px 25px 40px;
    }

    .header-navigation {
        margin-top: 0;
    }

    .ai-modern-testimonials-heading .entry-title:after {
        display: none;
    }

    #content .content-title h2:before {
        display: none;
    }

    /* IP COMMUNITIES MAP START */
    .ip-communities-map-left {
        width: 100%;
        max-width: 100%;
        padding: 50px 0;
        position: relative;
        text-align: center;
        pointer-events: auto !important;
    }

    .ip-communities-map-right {
        width: 100%;
        margin-right: 0;
        text-align: center;
    }

    .ip-communities-map-subtitle {
        position: relative;
        top: auto;
        left: auto;
        margin-bottom: 15px;
    }

    /* IP COMMUNITIES MAP END */

    .hp-slideshow .cycloneslider-template-responsive .cycloneslider-slide canvas,
    .hp-slideshow .cycloneslider-canvas {
        height: 100vh !important;
    }

    .hp-fp .section-title h2 span {
        color: #999;
    }

    .hp-fp .section-title {
        text-align: center;
    }

    .hp-mtt-inner .section-title {
        text-align: center;
    }

    #hp-pp:before {
        background-attachment: scroll;
    }

    #hp-ct .section-title span {
        color: #999;
    }


    .hp-ct-bottom:before {
        background-attachment: scroll;
    }

    .ct-slide-inner span {
        margin-bottom: 0 !important;
    }

    .hp-fuos .section-title {
        margin-bottom: 30px;
        text-align: center;
    }

    #hp-ct {
        /*padding: 100px 0 70px;*/
        padding: 0 0 70px;
    }

    span.bold-on-mobile {
        font-weight: 700;
    }

    .amh-navigation .amh-menu li ul a {
        font-size: 16.5px !important;
    }

    .home .header {
        display: none !important;
    }

    .hp-pp .section-title h2 span {
        color: #999;
    }

    #hp-pp::after {
        opacity: .90;
    }

    .hp-ct .section-title {
        text-align: center;
    }

    .page-id-110 #content .entry-title.entry-custom-title {
        position: relative;
        z-index: 1;
        display: block;
        font-family: 'Montserrat', sans-serif;
        font-size: 22px !important;
        font-weight: 700;
        letter-spacing: 0.3em;
        color: #163a22;
        text-transform: uppercase;
        position: relative;
        text-align: center;
    }

    .page-id-110 #content .entry-title.entry-custom-title span {
        display: block;
    }

    .ai-modern-testimonials-results-content-quote::before {
        /*letter-spacing: .150em;*/
        letter-spacing: .080em;
    }

    .footer-top:before {
        background-attachment: scroll;
    }

    #post-110 .entry-title::after {
        display: none;
    }

    .pd-cta .pd-cta-single a span {
        text-transform: lowercase !important;
    }

    .single-aios-listings .pd-vap {
        display: none !important;
    }

    .single-aios-listings .prop-info {
        max-width: 100%;
    }

    .single-aios-listings .prop-info {
        text-align: left;
    }

    .prop-details {
        justify-content: flex-start !important;
    }

    .prop-details div {
        width: auto !important;
        margin: 5px !important;
        display: inline-block;
    }

    .prop-info {
        max-width: 100% !important;
        text-align: center;
    }

    .page-id-0 button#read-more {
        text-transform: lowercase !important;
    }

    .single-aios-communities #content .ip-comm-details-stats li strong {
        color: #153921;
        font-weight: 700;
    }

    .page-id-507 #content .entry-title,
    .page-id-509 #content .entry-title {
        text-align: center;
    }

    .page-id-44 .ip-banner canvas {
        min-height: 139px;
    }

    .ai-modern-testimonials-heading .entry-title {
        text-align: center !important;
    }

    .site-save {
        text-align: center;
    }

    .footer-bottom {
        padding: 48px 0 110px;
    }

    .pd-exl .pd-exl-title strong,
    .page-id-0 .pd-exl .pd-exl-title strong,
    .pd-exl .pd-exl-title span,
    .page-id-0 .pd-exl .pd-exl-title span {
        letter-spacing: 0.1em;
        font-size: 25px;
    }

    #agents-single .agents-img {
        max-width: 400px;
        margin: 0 auto;
    }

    .hp-ona-inner {
        flex-flow: column;
        align-items: center;
    }

    .ona-info {
        margin: 26px 0 0;
        padding: 33px 50px 61px 50px;
        text-align: center;
    }

    .hp-ona-inner>div {
        width: 100%;
    }

    .ona-photo {
        margin: 0 auto;
    }

    .ona-info {
        margin: 26px auto 0;
        padding-left: 5%;
        padding-right: 5%;
    }

    .ona-info>span span {
        min-width: auto;
        margin: 0 10px 0 0;
    }

    .hp-ona-inner .section-title.desktop {
        display: none;
    }

    .hp-ona-inner .section-title.mobile {
        display: block !important;
        margin: 0 0 50px;
        text-align: center;
    }

    .hp-slideshow .cycloneslider-template-video .canvas-holder,
    .hp-slideshow .cycloneslider-template-video .cycloneslider-slides,
    .hp-slideshow .cycloneslider-template-video .cycloneslider-slide canvas {
        height: calc(100vh - (52px + 66px)) !important;
    }

    #agents-single .agents-contact li.agents-contact-half {
        display: flex;
        justify-content: center;
    }

    body #agents-single ul.agents-contact li>div {
        width: auto;
    }
}


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

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


    .slideshow-tagline-inner h1,
    .slideshow-tagline-inner h2 {
        font-size: 30px;
        line-height: 1.2;
    }

    .slideshow-tagline-inner h2 span em img,
    .slideshow-tagline-inner span em img {
        max-width: 250px;
    }

    .fp-photo canvas {
        min-height: 200px;
    }

    .ip-banner .container {
        width: 100%;
    }

    .git-form-col .wpcf7-field-label {
        width: 100% !important;
        margin-bottom: 10px;
    }

    .git-form-col .wpcf7-list-item {
        margin: 0 0 0 20px;
    }

    .git-form-row.col-custom {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }

    .git-form-row.col-custom .git-form-col:first-child,
    .git-form-row.col-custom .git-form-col:nth-child(2),
    .git-form-row.col-custom .git-form-col:nth-child(3),
    .git-form-row.col-custom .git-form-col:nth-child(4) {
        width: 50%;
    }

    .git-form-row.col-2 .git-form-col label[for="git-form-view-type"] {
        margin-top: 0;
    }

    .footer-top-inner.title h2 {
        /*font-size: 56px;*/
        font-size: 53px;
        padding: 0 10px;
    }

    .fp-price span {
        font-size: 25px;
    }

    .fp-address span {
        font-size: 14px;
    }

    .fp-info {
        padding: 7px 20px;
    }

    .fp-details div {
        margin-right: 5px;
    }

    .fp-details div span {
        font-size: 8px;
    }

    .fp-info.hover {
        padding: 15px;
    }

    .site-save-content {
        left: 0;
        transform: translateX(-21px);
    }

    .listings-popup .col-md-6.col-xs-6.col-sm-6 {
        width: 100%;
        margin-bottom: 15px;
    }

    body .aiosp-container.aiosp-inline-holder.aiosp-ref-\#git-ty .aiosp-content.aios-popup-body {
        padding: 30px 15px;
    }
}

@media only screen and (max-width: 575px) {
    .git-form-col .wpcf7-list-item {
        display: block;
        margin: 5px 0 0 0 !important;
    }
}

/* Galaxy S5(portrait) | iPod Touch(landscape) | iPod Touch(portrait) */

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

    .section-title h2,
    #content .entry-title,
    #content .archive-title,
    .ai-modern-testimonials-heading .entry-title,
    #content .ip-communities-map-wrap .section-title h2,
    .single-aios-communities #content .ip-comm-details-content-outer-wrap .section-title h2 {
        font-size: 40px !important;
    }

    .slideshow-tagline-inner h1,
    .slideshow-tagline-inner h2 {
        /*font-size: 34px;*/
    }

    .slideshow-tagline-inner h2 span {
        line-height: 1.5;
        font-size: 11px;
        margin-top: 25px;
    }

    .slideshow-tagline-inner h2 span em,
    .slideshow-tagline-inner span em {
        flex-flow: column;
        align-items: center;
        margin-top: 15px;
    }

    .slideshow-tagline-inner h2 span em img,
    .slideshow-tagline-inner span em img {
        margin: 5px 0 0;
    }

    .hp-mtt-inner.right {
        padding: 50px 30px;
    }

    .pp-item {
        width: 100%;
    }

    .hp-ct-bottom-inner {
        padding: 50px 30px;
    }

    .ig-item {
        width: 50%;
    }

    .ig-item:nth-child(4) {
        margin-bottom: 30px;
    }

    .footer-top-inner.right {
        padding: 50px 30px;
    }

    .git-form-row {
        flex-flow: column;
    }

    .git-form-col {
        width: 100% !important;
    }

    .footer-top-inner.title h2 {
        font-size: 37px;
    }

    /*#content .ip-communities-map-wrap .section-title h2 {
        font-size: 70px !important;
    }*/

    .fp-price span {
        font-size: 20px;
    }

    .fp-price {
        margin-bottom: 3px;
    }

    .fp-address span {
        font-size: 12px;
    }

    .fp-desc p {
        font-size: 10px;
        line-height: 14px;
    }

    .fp-button {
        margin-top: 4px;
    }

    .fp-info.hover .fp-details {
        margin-bottom: 13px;
    }

    /*    .slideshow-tagline-inner h1,
.slideshow-tagline-inner h2 {
        line-height: 50px;
    }*/

    .prop-item a:hover .prop-info {
        opacity: 1 !important;
        transform: scale(1) !important;
    }

    .prop-details div {
        justify-content: center !important;
    }

    .prop-details {
        justify-content: center !important;
    }

    .slideshow-tagline-inner h1,
    .slideshow-tagline-inner h2 {
        font-size: 23px;
    }
}