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

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


    /*Homepage   */
}

@media only screen and (min-width: 1200px) and (max-width: 1400px) {

    .news-list a .text-holder {
        font-size: 12px;
        line-height: 18px;
    }

    .comm-list a .comm-center-holder span {
        font-size: 15px;
        width: 85%;
    }

    /*Homepage   */
    img.btn-yt-cus.home-btn {
        width: 16%;
        top: 27%;
        left: 42%;
    }

}

@media only screen and (max-width: 1280px) {
    .welcome-text .text-in p {
        width: 100%;
        max-width: 433px;
    }
}
    
/* iPad(landscape) | iPad(landscape) | Galaxy Tab 4 (landscape) | Galaxy Tab 3 (landscape) */

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

    #nav li {
        margin: 0 10px;
    }

    #nav > li:last-child a,
    .header.fixed-hdr #nav li:last-child a {
        padding: 10px 20px;
    }

    .top-left {
        font-size: 12px;
    }

    .top-left span {
        margin-left: 10px;
    }

    .slide:after {
        position: absolute;
        content: '';
        left: 0;
        bottom: 0;
        width: 100%;
        height: 1px;
        background: #fff;
    }

    .footer-bottom .bottom-right {
        font-size: 18px;
    }

    .meet-image img.img-three {
        display: block;
    }

    .welcome-wrap .welcome-text {
        padding: 30px 0;
    }

    .welcome-text .text-in p {
        width: 95%;
        max-width: 430px;
    }

    .comm-wrap .comm-next {
        right: 15px;
    }

    .news-list a.testimonials .text-holder span {
        font-size: 11px;
        line-height: 1.4;
    }

    .news-list a.testimonials .text-holder {
        width: 80%;
        padding: 10px;
        left: 10%;
    }

    .news-list a.testimonials .text-holder .test-more {
        margin-top: 10px;
    }

    .news-list a .text-holder span {
        font-size: 12px;
        line-height: 1.4;
    }

    .footer-bottom .bottom-left {
        font-size: 12px;
    }

    .h-logo-sub {
        font-size: 10px;
    }

    form#searchform input[type="text"],
    form#searchform input[type="submit"] {
        height: 30px;
        vertical-align: middle;
    }

    .arrow-wrap {
        display: block;
    }

    .hp-fp .inner-wrap .arrow-wrap .fp-next,
    .hp-fp .inner-wrap .arrow-wrap .fp-prev {
        display: inline-block !important;
    }    

    .hp-fp .inner-wrap .fp-next,
    .hp-fp .inner-wrap .fp-prev,
    .hp-videos .videos-wrap > .videos-prev,
    .hp-videos .videos-wrap > .videos-next {
        display: none !important;
    }

    .hp-news .news-wrap .news-next,
    .hp-news .news-wrap .news-prev {
        display: none !important;
    }

    .comm-wrap > .comm-next,
    .comm-wrap > .comm-prev {
        display: none !important;
    }

    /*Homepage   */
    img.btn-yt-cus.home-btn {
        width: 19%;
        top: 26%;
        left: 40%;
    }
}

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

    .hp-smi {
        top: initial;
        bottom: 0;
        width: 100%;
        background: #000;
    }

    .hp-smi .smi-det,
    .hp-smi .mute-btn {
        display: inline;
        vertical-align: top;
        width: auto;
        padding: 0;
        font-size: 0;
    }

    .hp-smi .smi-det a,
    .hp-smi .smi-det.top em,
    .hp-smi .smi-det.top a {
        display: inline-block;
        vertical-align: middle;
        width: auto;
    }

    .hp-smi .smi-det.top em,
    .hp-smi .smi-det a {
        border-left: 1px solid #1a1a1a;
        border-right: 1px solid #1a1a1a;
        border-top: none;
        border-bottom: 0;
    }

    .hp-smi .mute-btn span,
    .hp-smi .mute-btn .ai-font-mute {
        display: inline-block;
        vertical-align: middle;
        position: relative;
        width: auto;
        border-top: none;
    }

    .hp-smi .smi-det a,
    .hp-smi .smi-det.top em,
    .hp-smi .smi-det.top a,
    .hp-smi .mute-btn span {
        padding: 10px;
        background: #000;
        height: auto;
        width: 11.11%;
        font-size: 18px;
    }

    .hp-smi .mute-btn .ai-font-mute {
        /*display: none;*/
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        background: #000;
    }

    .hp-smi .smi-det.top em a {
        padding: 0;
        display: block;
        margin: 0 auto;
    }

    /*Homepage   */
    img.btn-yt-cus.home-btn {
        width: 19%;
        top: 27%;
        left: 40%;
    }
}

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

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

    .amh-header-buttons {
        background: #232323 !important;
        color: #fff;
    }

    .amh-navigation .amh-menu li:hover > a,
    .amh-navigation .amh-menu li.open > a {
        background: #232323 !important;
    }

    .amh-navigation .amh-menu li ul {
        background: #000 !important;
    }

    .amh-navigation .amh-menu li ul a {
        color: #fff !important;
    }

    .hp-smi .smi-det.top a,
    .hp-smi .smi-det.top em {
        padding: 5px 0;
    }

    header .navigation {
        display: none;
    }

    header.header {
        padding: 75px 0 20px;
        position: relative;
        text-align: center;
    }

    header .logo {
        width: 100%;
    }

    header .logo img {
        margin: 0 auto;
    }

    .slide {
        padding-top: 0;
    }

    .slide:after {
        display: none;
    }

    .slide,
    .slide .slide-logo {
        width: 100%;
        display: block;
    }

    .slide-overlay {
        display: none;
    }

    .slide .slide-logo {
        padding: 20px 15px;
        display: none;
    }

    .slide .slide-logo img {
        margin: 0 auto;
    }

    .slide .slide-video {
        width: 100%;
    }

    .slide-video-mob {
        display: none;
    }

    .slick-arrow {
        display: none !important;
    }

    .hp-fp,
    .hp-videos,
    .hp-news {
        padding: 40px 0;
    }

        .hp-news .news-wrap .news-list .news-img {
            width: 73%;
            margin: 0 auto;
        }

    .hp-smfeed {
        padding: 40px 15px 0;
    }

    .welcome-wrap .welcome-img,
    .welcome-wrap .welcome-text,
    .welcome-text .text-in p {
        display: block;
        width: 100%;
        min-width: 100%;
    }

    .welcome-wrap .welcome-img img {
        width: 100%;
    }

    .welcome-text .text-in {
        width: 90%;
        display: block;
        margin: 0 auto;
        padding: 30px 0;
    }

    .hp-videos .video-title {
        padding: 30px 0;
    }

    .hp-communities {
        padding-bottom: 30px;
    }

    .hp-smfeed .feed-wrap {
        overflow: visible;
    }

    .feed-list .feed-text {
        position: relative;
        left: 0;
        bottom: 0;
        width: 100%;
        height: auto !important;
    }

    .hp-smfeed .feed-wrap .feed-list .feed-list-item {
        width: 100%;
        max-width: 395px;
        margin: 0 auto 20px;
        padding-bottom: 0;
        display: block;
        margin-bottom: 75px;
    }

    .hp-news .news-wrap .news-list {
        margin: 0 -15px;
    }

    .hp-news .news-wrap .news-list a {
        margin: 0 15px;
    }

    .news-list a.testimonials .text-holder {
        font-size: 12px;
    }

    .news-list .blog-hover {
        width: 90px;
        height: 93px;
        background-size: cover;
        margin-top: -46px;
        margin-left: -45px;
    }

    footer {
        padding: 30px 0 60px;
    }

    .top-left,
    .top-right,
    .footer-bottom .bottom-left,
    .footer-bottom .bottom-right {
        width: 100%;
        display: block;
        text-align: center;
    }

    .top-left {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .top-left img {
        margin: 0 auto 15px;
    }

    .top-left > div {
        display: block;
    }

    .top-left span {
        margin-left: 0;
    }

    .bottom-right {
        margin-top: 10px;
    }

    .footer-bottom .bottom-right {
        font-size: 28px;
    }

    /* The following are used on inner pages. Please edit carefully. */
    #inner-page-wrapper {
        padding-top: 0;
    }

    #inner-page-wrapper:before {
        height: 200px;
    }

    .inner {
        width: 100%;
    }

    #content-sidebar,
    #content-full {
        width: 100%;
    }

    .outer {
        width: 100%;
        min-width: 100%;
    }

    #content-sidebar #content {
        width: 100%;
    }

    /*** video page ***/
    .page-id-17 #content iframe {
        height: 315px;
    }

    .video-row .video-frame,
    .video-row .video-desc {
        display: block;
        width: 100%;
    }

    .video-row .video-desc {
        padding: 0;
    }

    /*** meet debra page ***/
    .meet-image img.img-three {
        display: none;
    }

    .meet-text {
        margin-top: 30px;
        float: none;
        display: inline-block;
    }

    .meet-image,
    .meet-text {
        max-width: 100%;
        margin: 0;
        padding: 0 15px;
    }

    .page-template-template-meet-debra .bottom-testimonials {
        padding-bottom: 0;
        margin-bottom: 30px;
    }

    .meet-image,
    .meet-text {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 0 30px;
    }

    #content .ip-logo-icons img {
        max-width: 180px;
        width: 100%;
        display: block;
    }

    .videos-wrap .arrow-wrap,
    .comm-wrap .arrow-wrap,
    .news-wrap .arrow-wrap {
        display: none;
    }

    img.btn-yt-cus.home-btn {
        width: 12%;
        top: 31%;
        left: 44%;
    }

    .hp-smfeed .feed-wrap .feed-list .feed-img img {
        width: 100%;
    }

    .hp-smfeed .feed-wrap .feed-list .feed-img {
        overflow-x: auto;
        height: auto !important;
    }

    .hp-smfeed .feed-wrap .feed-list .feed-img iframe {
        width: 395px !important;
        overflow: auto !important;
    }

    .category-news #content .entry .archive-thumbnail {
        float: none !important;
        display: block !important;
        margin: 0 auto 15px !important;
        max-width: 98% !important;
        width: 100%;
    }
    
    .hp-fp .inner-wrap .textwidget > .fp-next,
    .hp-fp .inner-wrap .textwidget > .fp-prev {
        display: none !important;
    }
    
    #inner-page-wrapper .videos-wrap .videos-list .video-det {
        width: 500px !important;
        max-width: 100% !important;
        display: block !important;
    }

    #content .archive-thumbnail img {
        max-width: 360px;
    }


    .ip-logo-icons .ip-logo-list  {
        width: 46%;
    }

    .footer-top .top-right img {
        display: block;
        width: 100% !important;
        max-width: 300px !important;
        margin: 10px auto;
        padding: 0 3%;
        vertical-align: middle;
        height: auto !important;
    }
}

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

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

    #content .entry-title,
    #content .archive-title {
        font-size: 16px;
    }

    .news-list a .text-holder,
    .news-list a.testimonials .text-holder {
        position: relative;
        width: 100%;
        left: 0;
        margin-top: 0;
    }

    .hp-news .news-wrap .news-list {
        margin: 0 -15px;
    }

    .hp-news .news-wrap .news-list a {
        padding-bottom: 0;
        margin: 0 15px;
    }

    .hp-videos .video-title {
        height: auto !important;
    }

    iframe.yt-feed {
        width: 252px;
        height: 350px;
    }

    #ihf-main-container span.btn.btn-link.ihf-map-search-refine-link {
        padding-left: 0;
    }

    #ihf-main-container .mt-25 > .col-xs-3 {
        padding: 0;
    }

    #ihf-main-container .ihf-grid-result-container .ihf-grid-result-address {
        font-size: 12px;        
    }

    /*#ihf-main-container .ihf-grid-result-container .col-xs-10 {
        width: 100%;
    }*/

    #content .entry p > a[target^="_blank"] {
        word-break: break-all;
    }

    .cl-img li {
        max-width: 320px;
        display: block;
        padding: 0;
        margin: 0 auto;
        margin-bottom: 30px;
    }

    .cl-img li:first-child {
        padding-right: 0;
    }

    .cl-img li:nth-child(2) {
        padding-left: 0;
    }

    #content .post-53 h1.entry-title {
        font-size: 16px;
        text-align: center;
    }

    img.btn-yt-cus.home-btn {
        width: 20%;
        top: 31%;
        left: 40%;
    }

    /*Homepage   */
    img.btn-yt-cus.inner-btn {
        width: 16%;
        top: 25%;
        left: 39%;
    }

    .hp-news .news-wrap .news-list .news-img {
            width: 100%;            
        }

    .ip-logo-icons .ip-logo-list  {
        width: 100%;
    }
}

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

    .hp-smi {
        top: auto;
        bottom: 0;
        font-size: 14px;
    }

    .hp-smi .smi-det span.ai-font-envelope,
    .hp-smi .smi-det span.ai-font-phone {
        font-size: 12px;
    }

    #searchform input#s {
        max-width: 125px;
    }

    .sign-up-register a {
        display: block;
        max-width: 320px;
        margin: 0 auto;
    }

    a.search-listings-neighborhoods {
        display: block;
        margin: 0 auto 20px auto;
        max-width: 280px;
    }

    img.btn-yt-cus.home-btn {
        width: 26%;
        top: 30%;
        left: 37%;
    }

    /*Homepage   */
    img.btn-yt-cus.inner-btn {
        width: 19%;
        top: 25%;
        left: 36%;
    }
}

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

    img.btn-yt-cus {
        width: 35%;
        top: 90px;
        left: -14px;
    }

    img.btn-yt-cus.home-btn {
        width: 36%;
        top: 30%;
        left: 32%;
    }

    /*Homepage   */
    img.btn-yt-cus.inner-btn {
        width: 24%;
        top: 25%;
        left: 33%;
    }
    #ihf-main-container .btn-group > .btn-group {
        text-align: right !important;
        width: 100% !important;
    }

    #ihf-refine-search-button #ihf-refine-search-button > button,
    #ihf-main-container .pull-right .btn-group,
    #ihf-main-container .pull-right .btn-group > button {
        text-align: right !important;
        width: 100%;
        padding-right: 0 !important;
    }

        #ihf-main-container .pull-right.ihf-social-share .btn-group, #ihf-main-container .pull-right .btn-group > button.ihf-share-btn-more {
            width: auto;
        }

    #ihf-main-container .col-xs-6,
    #ihf-main-container > div.ihf-listing-search-results > div:nth-child(5) .col-xs-6 {
        width: 100% !important;
    }

    #ihf-main-container > .ihf-listing-search-results > .row.mb-10.mt-25 > .col-xs-4,
    #ihf-main-container > .ihf-listing-search-results > .row.mb-10.mt-25 > .col-xs-8 {
        width: 50% !important;
    }

    #ihf-refine-search #ihf-refine-search-button,
    #ihf-refine-search + .btn-group button {
        float: right !important;
        width: auto !important;
    }

    #ihf-mini-search-minprice, #ihf-mini-search-maxprice, #ihf-mini-search-beds, #ihf-mini-search-baths {
        width: 100%;
    }

        #ihf-main-container #ihf-mini-search-minprice input[type=text],
        #ihf-main-container #ihf-mini-search-maxprice input[type=text],
        #ihf-mini-search-beds select,
        #ihf-mini-search-baths select
         {
            width: 100%;
        }

    .form-group #ihf_schedshow_pref_date, .form-group #ihf_schedshow_alt_date {
        margin: 5px 0 !important;
    }

}

@media print {
    .header-wrapper,
    .hp-smi,
    #breadcrumbs,
    .hp-git,
    .sign-up-register,
    .menu-main-container,
    header.header,
    .entry-title,
    .yoast-breadcrumbs,
    footer,
    .sidebar,
    .amh-fixed-header-nav,
    .ip-bg {
        display: none;
    }

    #content-sidebar #content {
        width: 100% !important;
    }

    #content-sidebar,
    #content-full {
        margin-top: -122px;
    }
}
