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

/* Custom */
@media only screen and (max-width: 1400px) {
    .cycloneslider-slide.cycloneslider-slide-image .slider-photo-credit {
        bottom: 85px;
    }

    .blog-area .blog-wrap h3 {
        font-size: 40px;
    }

    .testimonials-area h3 {
        font-size: 40px;
    }

    .blog-area .blog-wrap p {
        font-size: 14px;
    }

    .testimonials-area p {
        font-size: 14px;
    }
}

/* iPad(landscape) | iPad(landscape) | Galaxy Tab 4 (landscape) | Galaxy Tab 3 (landscape) */
@media only screen and (max-width: 1199px) {

    #featured-properties .qc-form .long-form {
        width: 14.5%;
    }

    #featured-properties .qc-form .short-form {
        width: 10.51%;
    }

    .header .header-left .navigation > div > ul > li > a {
        padding: 0 5px;
        font-size: 11px;
    }

    .fixed-header .header-left .navigation ul > li > a {
        padding: 0 6px;
    }

    ul li.six, ul li div.area {
        width: 9%;
    }
    ul li.sold-hidden, ul li div.sold-hidden {
        width: 38%;
    }
    ul li.one, ul li div.prop-img{
        width: 23%;
    }

    .fixed-header .header-right {
        padding-top: 20px;
    }

    .fixed-header .navigation li .sub-menu li a {
        padding: 10px;
    }
	.header .header-left .contact-info .eaddress{
		margin-right: 5px;
	}
	.header .header-right {
		padding-top: 29px;
	}
}

/* iPad(portrait) | Galaxy Tab 4(portrait)  */
@media only screen and (max-width: 991px) {

    .qc-form div .sprite{
        display: none;
    }



    #hero-wrapper .hero {
        display: none;
    }
    
    #hero-wrapper .qc-bttn a, #hero-wrapper .qc-bttn input {
        height: 44px;
        line-height: 44px;
        font-size: 13px;
    }
    
	.testti-lists{
		padding: 20px 30px 0;
	}
    .amh-header-buttons{
        background-color: #004181 !important;
    }
    
    .amh-header-buttons.amh-3a .amh-center{
        color: #fff;
    }

    .cycloneslider-slide.cycloneslider-slide-image .slider-photo-credit {
        bottom: 15px;
    }

    .fixed-header {
        display: none;
    }

    .header {
        position: relative;
        padding-bottom: 20px;
    }

    .header .header-right {
        padding-top: 85px;
        padding-bottom: 12px;
    }

    .header .header-right a img {
        max-width: 267px;
        margin: 0 auto;
    }

    .header .header-left {
        display: none;
    }

    #featured-properties .qc-form .qc-icon {
        transform: rotate(0);
        display: inline-block;
        text-align: center;
        padding: 15px 0;
        margin: 0;
        width: 100%;
    }

    #featured-properties .quick-search .qc-form {        
        padding: 2%;
    }

    #featured-properties .qc-form .short-form,
	#featured-properties .qc-form .long-form {
        width: 49%;
		margin: 0 .5%;
    }

    #featured-properties .qc-form select {
		margin-bottom: 5px;
		padding: 12px 5px;
		font-size: 13px;
		height: auto;
    }

    #featured-properties .qc-bttn {
        width: 100%;
        margin-left: 0;
    }

    #featured-properties .qc-bttn a, #featured-properties .qc-bttn input {
        width: 99%;
        margin: 0 .5%;
        margin-bottom: 5px;
    }

    #cta .cta-list {
        width: 50%;
    }

    #sale-communties-wrap .recent-sales .rcs-lists {
        width: 49.6%;
    }

    .blog-area {
        width: 100%;
    }

    .testimonials-area {
        width: 100%;
    }

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

    .sidebar {
        margin-top: 50px;
    }

    .amh-header-buttons .amh-navigation-trigger, .amh-header-buttons .amh-header-right-btn {
        color: #fff;
    }

    .amh-header-buttons.amh-1a .amh-center .amh-phone-text, .amh-header-buttons.amh-1a .amh-center .amh-phone-text a {
        color: #003879 !important;
    }

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

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

    .amh-navigation .amh-menu li.open .sub-menu li a {
        color: #ffff !important;
        background-color: #232323;
    }

    .cycloneslider-template-video .cycloneslider-slides{
        height: 100% !important;
    }

    .cycloneslider-template-video .cycloneslider-volume.off{
        display: none;
    }
}

/* Galaxy Tab 3(portrait) | Galaxy S5(landscape) */
@media only screen and (max-width: 767px) {
    .cycloneslider-slide.cycloneslider-slide-image .slider-photo-credit{
        width: 55px !important;
    }
    .agent-holder .attachment-agent-image {
        width: 100%;
    }

    .agent-holder .agent-contacts {
        width: 100%;
    }
	
	#inner-page-wrapper #content .IDX-showcaseCell{
		
	}
	
	#inner-page-wrapper #content .IDX-showcaseCityStateZip span{
		    white-space: unset;
	}
}

@media only screen and (max-width: 600px) {
    #content ul li div.prop-img,
    #content ul li div.prop-add, #content ul li div.list-price, #content ul li div.beds, #content ul li div.baths, #content ul li div.area, #content ul li div.sold-date{
        width: 100%;
    }
}
/* Galaxy S5(portrait) | iPod Touch(landscape) | iPod Touch(portrait) */
@media only screen and (max-width: 480px) {
    .floating-nav-left,
    .floating-nav-right {
        display: none;
    }

    #cta .cta-list {
        width: 100%;
        max-width: 285px;
        float: none;
        margin: 0 auto;
        margin-bottom: 25px;
    }

    #sale-communties-wrap .recent-sales .rcs-lists {
        width: 100%;
        margin-left: 0;
    }

    #footerwrapper .footer-cont .smi {
        margin-left: 0;
        margin-top: 25px;
    }

    .blog-area,
    .testimonials-area {
        padding: 0 15px;
    }

    #sale-communties-wrap .recent-sales h2 {
        padding-top: 20px;
        padding-bottom: 65px;
    }

    #footerwrapper .footer-cont .cont-info .phonnumber,
    #footerwrapper .footer-cont .cont-info .eaddress{
        display: block;
    }

    #footerwrapper .footer-cont .cont-info .eaddress{
        margin-left: 0;
    }
	.blog-view-all{
		padding: 0 0 10%;
	}
}
 
