/*Mobile Menu */
#mobileMenuContainer {
    background: none repeat scroll 0 0 #363636;
    float: left;
    position: fixed;
    width: 170px;
    cursor: pointer;
    margin-left: 5px;
    margin-top: 4px;
}

#mobileNav {
    float: left;
    position: fixed;
    width: 170px;
    cursor: pointer;
    display: none;
}

#mobileNav .dashicons {
    font-size: 30px;
    z-index: 9999;
    color: #fff;
}

#mobileMenuContainer li {
    border-bottom: 1px solid #484848;
    display: block;
    margin: 0 5px;
    position: relative;
}

#mobileMenuContainer ul {
    margin-top: 5px;
    padding: 0 !important;
}

#mobileMenuContainer li a {
    color: #fff;
    display: block;
    font-size: 18px;
    line-height: 1;
    padding: 15px 0;
    text-decoration: none;
    text-transform: uppercase;
}

#mobileMenuContainer li:hover > a, #mobileMenuContainer li a:hover {
    color: #C94B01;
}

#mobileMenuContainer {
    display: none;
}

/* Mobile Menu */

/* Smartphones (portrait) ----------- */

@media only screen and (min-device-width: 320px) and (max-device-width: 480px) and (orientation: portrait) {

    .search_form_bg #tabpage_1 select, .search_form_bg #tabpage_2 select, .subsearch #tabpage_1 select, .subsearch #tabpage_2 select {
        width: 46%;
    }
    /*.headerleft {*/
        /*padding: 4px 20px 0px;*/
    /*}*/

    .header_text {
        font-size: 21px;
        position: relative;
        top: 13px;
    }

    .disclaimer .logo .followus {
        margin-left: -5% !important;
    }

    .bottom_box4 form {
        position: relative;
        top: 0%;
        right: 0%;
    }

    .bottom_box4 input[type="submit"] {
        /*left: 57% !important;*/
    }

    .bottom_box4 .sbe-widget-top-text {
        position: absolute;
        bottom: 0px;
    }

    .headerleft a span.header_text {
        font-size: 25px!important;
        display:block;
        margin-top:15px;
    }
	.headerleft{padding-left:10px;}
    .search_form_bg .submit_wrapper {
        right: -6%;
    }

    .button, .button a {
        font-size: 14px;
    }

    .search_form_bg #tabpage_1, .search_form_bg #tabpage_2, .subsearch #tabpage_1, .subsearch #tabpage_2 {
        height: 74px;
        margin-left: 7px;
    }

    #location-autocomplete-results .yui-ac-content {
        width: 285px
    }

    #location-autocomplete-results .yui-ac-content li {
        font-size: 13px;
        display: block;
    }

    .headerleft .logo {
        width: 80%!important;
        padding-top: 2%;
        padding-left: 0%!important;
    }

    #homepages_usercontent div.entry-content img {
         max-width: 100%!important;
        display:block;
        margin:0 auto!important;
    }

    #latestlings li, .galleryarchives {
        width: 100% !important;
    }

    #latestlings li img, .galleryarchives img {
        width: 100% !important;
    }

    #homelistings_holder .jcarousel-skin-tango .jcarousel-clip-horizontal {
        width: 302px !important;
        margin-top: 40px;
    }

    #homelistings_holder .jcarousel-skin-tango .jcarousel-container-horizontal {
        width: 300px !important;
    }

    #subnavbar {
        display: none;
    }

    .bottom_ownerinfo .holder .leftpanel {
        font-size: 14px !important;
        line-height: 20px !important;
    }

    #homevideo_holder .mini-listing-row {
        visibility: visible !important;
        display: block !important;
    }

    #homevideo_holder .mini-listing-row-video {
        visibility: visible !important;
        display: block !important;
    }

    #homevideo_holder .mini-video .play {
        left: 26% !important;
    }

    #homevideo_holder .mini-video .watchvideo {
        left: 21% !important;
        padding: 5px 29px !important;
    }

    #homevideo_holder .mini-video .play {
        left: 21% !important;
        background-size: 69% auto;
        top: 10% !important;
    }

    #homevideo_holder .mini-video .videostatus {
        height: 17% !important;
        top: 83% !important;
    }

    /*.headerleft {*/
        /*padding: 0% 4% 0% !important;*/
    /*}*/

    .search_form_bg .sr_holder h5 {
        /*font-size: 13px !important;*/
        /*width: 91% !important;*/
        /*margin: 0 auto !important;*/
        /*margin-bottom: 1px !important;*/
        display: none;
    }

    .secondnav li {
        width: 100%;
    }

    #homelistings_holder .viewall a, #homevideo_holder .viewall a, .homepagescommunity .viewall a, .homepagesblog .viewall a {
        padding: 1.9% 6% !important;
        width: auto !important;
    }

    .search_form_bg .sr_holder form input.search, .subsearch .holder form input.search {
        width: 94%;
        margin-left: 3%;
    }

    .mini-listing-row {

        visibility: hidden !important;
        display: none !important;

    }

    .mobile-listing .page_listing > img {
        width: 100% !important;
    }

    .mobile-listing {

        visibility: visible !important;
        display: block !important;

    }

    .mobile-listing .listingstatus {
        top: 199px;
        height: 46px;
        padding: 5% 12% 0%;
    }

    #text-menu {
        top: 10% !important;
        font-size: 25px !important;
    }

    #located {
        margin: 33.5px 0px 0px 10px !important;
    }
    .located {
        margin: 33.5px 0px 0px 10px !important;

    }

    .homepagescommunity li a.linktocomm > label {
        top: -8%;
        margin-left: 1%;
        font-size: 9px;
    }

    .homepagescommunity li a.linktocommpage > label {
        top: -8%;
        margin-left: 2%;
        font-size: 9px;
    }

    .homepagescommunity li a.linktocomm, .homepagescommunity li a.linktocommpage {
        width: 19% !important;
        height: 26px !important;
        line-height: 26px;
		font-size: 11px;
		text-align: center;
    }

    .community_name {
        font-size: 13px;
    }
    .tablet-phone-markets {
        height: 100%!important;
    }
    #homepages_usercontent div.entry-content img {
         max-width: 100%!important;
        display:block;
        margin:0 auto!important;
    }
    img.marketcat {
        max-width: 240px!important;
    }
    .sr_holder h5 {

        font-size: 100%;
    }
    .downloadmarkets .subscribe a, .downloadmarkets .download a {
        display: block;
        height: 120px;
        margin-right: 15%;
        padding-top: 7%;
        text-align: center;
        width: 185px;
    }

    .summarywords p {

        max-height: 100px;
        overflow: hidden;

    }
    .testimonialcom .clientsaying {
        height: 140px;
    }
    .entry-heading{padding-top:10px;}
}

/* Smartphones (landscape) ----------- */

@media only screen and (min-device-width: 320px) and (max-device-width: 480px) and (orientation: landscape) {
    .testimonialcom .clientsaying {
        height: 100%!important;
    }
    .downloadmarkets .subscribe a, .downloadmarkets .download a {
        display: block;
        height: 120px;
        margin-right: 0px;
        padding-top: 8%;
        text-align: center;
        width: 148px;
    }
    .downloadmarkets .download {
        float: left;
        padding-right: 4%;
    }
    .mobile-listing {

        visibility: visible !important;
        display: block !important;

    }

    .disclaimer .logo .followus {
        margin-left: 0%;
    }

    .bottom_box4 input[type="submit"] {
        /*left: 45% !important;*/
    }

    .bottom_box4 .sbe-widget-top-text {
        margin-top: 11%;
    }

    .mini-listing-row {
        visibility: hidden !important;;
        display: none !important;
    }

    #homevideo_holder .mini-listing-row-video {
        visibility: visible !important;
        display: block !important;

    }

    #homevideo_holder .mini-listing-row-video .mini-video {
        height: 217px;
        max-height: 217px;
    }

    .mini-listing {

        visibility: hidden !important;
        display: none !important;

    }

    #homelistings_holder .viewall a, #homevideo_holder .viewall a, .homepagescommunity .viewall a, .homepagesblog .viewall a {
        padding: 2.2% 5.9% !important;
        width: auto;
    }

    .viewall {

        padding-bottom: 31px;
        display: block;
        position: relative;
        top: -25px;

    }

    .listingstatus {
        top: 219px;
        height: 53px;
    }

    .statezipcode {
        padding-top: 0%;
    }

    .holder-p {
        overflow: hidden;
        max-height: 50px;
    }

    .thumbnail {
        position: relative;
        height: 500px !important;
    }

    .page_listing > img {
        height: 272px !important;
        width: 450px !important;
    }

    .search_form_bg #tabpage_1 select, .search_form_bg #tabpage_2 select, .subsearch #tabpage_1 select, .subsearch #tabpage_2 select {
        width: 45%;
    }

    .headerleft a span.header_text {
        font-size: 40px;
    }

    .search_form_bg .submit_wrapper {
        right: -6%;
    }

    .button, .button a {
        font-size: 14px;
    }

    .search_form_bg #tabpage_1, .search_form_bg #tabpage_2, .subsearch #tabpage_1, .subsearch #tabpage_2 {
        height: 74px;
        margin-left: 3px;
    }

    .search_form_bg .sr_holder form input.search, .subsearch .holder form input.search {
        width: 96%;
        margin-left: 9px;
    }

    #location-autocomplete-results .yui-ac-content {
        width: 285px !important;
    }

    #location-autocomplete-results .yui-ac-content li {
        font-size: 13px !important;
        display: block !important;
    }

    .headerleft .logo {
        padding:0px !important;
        width: 61%!important;
        margin-left: 0px !important;
        margin-top: 14px !important;
    }

    #homepages_usercontent div.entry-content img {
        max-width: 100%!important;
        display:block;
        margin:0 auto!important;
    }

    #subnavbar {
        display: none;
    }

    #mobileNav {
        display: block;
    }

    h1, h2 {
        font-size: 20px;
    }

    .bottom_ownerinfo .holder .leftpanel {
        font-size: 14px !important;
        line-height: 20px !important;
    }

    #homevideo_holder .mini-video .watchvideo {
        left: 31% !important;
    }

    #homevideo_holder .mini-video .play {
        left: 28% !important;
        top: 18% !important;
    }

    .search_form_bg .sr_holder h5 {
        /*margin: -0.5% 0px 0.5% 3% !important;*/
        /*font-size: 20px !important;*/
        /*width: 94% !important;*/
        display: none;
    }

    .search_form_bg .submit_wrapper, .subsearch .submit_wrapper {
        margin: 0px -3% 0px 0px !important;
    }

    .secondnav li {
        width: 100%;
    }

    .header_text {
        position: relative;
        top: -15px;
        font-size: 34px;
    }

    .homepagescommunity li a.linktocomm > label {
        top: 0px;
        margin-left: 4px;
        font-size: 13px;
    }

    .homepagescommunity li a.linktocommpage > label {
        top: 0px;
        margin-left: 7px;
        font-size: 13px;
    }

    .homepagescommunity li a.linktocomm, .homepagescommunity li a.linktocommpage {
        width: 70px !important;
        height: 30px !important;
        line-height: 30px;
		font-size: 13px;
		text-align: center;
    }

    .community_name {
        font-size: 13px;
    }
    .tablet-phone-markets {
        height: 100%!important;
    }
    .tablet-phone-markets .marketcat {
        max-width: 380px;
        max-height: 380px;
    }
    #homepages_usercontent div.entry-content img {
        max-width: 100%!important;
        display:block;
        margin:0 auto!important;
    }
    .sr_holder h5 {

        font-size: 100%;
    }

}

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

    #mobileNav {
        display: block;
    }

    .submenu_mobile {
        display: block !important;
    }

    .secondnav {
        display: none;
    }

    .submenu_mobile div.menu li a {
        text-transform: lowercase !important;
    }

    .submenu_mobile div.menu li a:first-letter {
        text-transform: uppercase;
    }


    .page-template-page-contact-php .gform_wrapper .gform_body .gform_fields .gfield:nth-child(1) .ginput_container input {

        width:100%!important;

    }
    .page-template-page-contact-php .gform_wrapper .gform_body .gform_fields .gfield:nth-child(2) .ginput_container input {

        width:100%!important;

    }
    .page-template-page-contact-php .gform_wrapper .gform_body .gform_fields .gfield:nth-child(3) .ginput_container input {

        width:100%!important;

    }


    .page-template-page-contact-php .gform_wrapper .gform_body .gform_fields .gfield:nth-child(1)  {

        width:100%!important;

    }
    .page-template-page-contact-php .gform_wrapper .gform_body .gform_fields .gfield:nth-child(2) {

        width:100%!important;

    }
    .page-template-page-contact-php .gform_wrapper .gform_body .gform_fields .gfield:nth-child(3){

        width:100%!important;
    }
}

@media (max-device-width: 360px) {

    .viewall {

        padding-bottom: 31px;
        display: block;
        position: relative;
        top: -22px;

    }

    #homevideo_holder .mini-video .play {
        left: 19% !important;
        background-size: 169px auto;
        top: 5% !important;
    }

    .homepagescommunity li a.linktocomm > label {
        margin-left: 2% !important;
    }

}
.disclaimer .logo img {
    width: 100%;
}
@media (max-width: 640px) and (orientation: landscape) {

    .mini-listing-row {
        visibility: visible;
        display: block !important;
    }

    .mobile-listing {
        visibility: hidden;
        display: none;
    }

    .listingstatus {
        top: 219px;
        height: 53px;
        padding: 3% 8% 1%;
    }

    .page_listing > img {
        width: 607px !important;
    }

    #homelistings_holder .viewall a, #homevideo_holder .viewall a, .homepagescommunity .viewall a, .homepagesblog .viewall a {
        padding: 2.5% 2%;
        width: auto;
    }

    .viewall {

        padding-bottom: 31px;
        display: block;
        position: relative;
        top: -31px;

    }
    .bottom_box4 input[type="submit"] {
        /*left: 39% !important;*/
    }
    .search_form_bg {
        height: 320px;

    }
    img.marketcat {
        width: 100%;
       height: 100%;
    }
    img.marketcat {
        max-width: 100%;
        max-height: 100%;
    }

}

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

    .mini-listing .info-dl dd {
        float: left;
        padding: 2% 0%;
        border-left: 1px solid #B9B9C9;
    }

    .mini-listing .vr_listing-slideshow-link {
        font-size: 16px;
    }

    .mini-listing .holder-p {
        overflow: hidden;
        display: block;
        max-height: 58px;
    }

    .mini-listing > .pull-left .listingstatus {

        top: 199px !important;
    }

    #homevideo_holder .mini-video .play {
        left: 15% !important;
        background-size: 100% auto;
    }

    #homevideo_holder .mini-video .watchvideo {
        left: 20% !important;
    }

    .disclaimer .logo .followus {
        margin-left: 0% !important;
    }

    .bottom_box4 input[type="submit"] {
        /*left: 63% !important;*/
    }

    .sr_holder h5 {

             font-size: 100%;
         }

}

/*New responsive design*/

/* Desktops and laptops ----------- */

@media only screen
and (min-width: 1224px) {
    .search_form_bg .sr_holder h5 {
       /* margin-left: 15px;*/
    }

    .search_form_bg input[type="submit"], .subsearch input[type="submit"], .search_form_bg input[type="button"], .subsearch input[type="button"] {
        margin-top: 6px;
        padding: 4% 22%;
    }

    .search_form_bg .submit_wrapper, .subsearch .submit_wrapper {
        right: 0%;
    }

    .search_form_bg #tabpage_1, .search_form_bg #tabpage_2, .subsearch #tabpage_1, .subsearch #tabpage_2 {

        /*margin-top: 1px;*/
    }

    #homelistings_holder .jcarousel-skin-tango .jcarousel-next-horizontal {
        right: -6%;
        top: 42%;
    }

    #homelistings_holder .jcarousel-skin-tango .jcarousel-prev-horizontal {
        left: -6%;
        top: 42%;
    }

    #homevideo_holder .jcarousel-skin-tango {

        width: 100%;
    }

    #homevideo_holder .jcarousel-skin-tango .jcarousel-next-horizontal {
        right: -6%;
    }

    #homevideo_holder .jcarousel-skin-tango .jcarousel-prev-horizontal {
        left: -6%;
    }

    #homevideo_holder .watchvideo {
        left: 22%;
    }

    .listingstatus {
        top: 35%;
    }

    .subsearch .holder form li.tabActiveHeader {
        /*margin-top: -0.9px;*/
    }

    .homepagescommunity li a.linktocommpage > label {
        position: relative;
        top: -7px;
        left: 8px;
    }

    .homepagescommunity li a.linktocomm, .homepagescommunity li a.linktocommpage {
        width: 70px!important;
		text-align: center;
    }

    .homepagescommunity li a.linktocomm > label {
        top: 2%;
        margin-left: 1.5%;
        font-size: 14px;
    }

}

/* Tablet (portrait) ----------- */
@media only screen  and (min-device-width: 768px)  and (max-device-width: 1024px) and (orientation: portrait)  and (-webkit-min-device-pixel-ratio: 1) {
	.happy_landing_banner{height:1024px!important;}
}
@media only screen and (min-width: 758px) and (max-width: 1024px) and (max-width: 991px) and (orientation: portrait) {

	 .responsiveSelectContainer {
        /*display: none;*/
		width: 50%;
		margin: 10px auto;
		padding-right:25px;
    }
    .responsiveMenuSelect{
    	border:1px solid #000;
    }

    #respond input[type="text"] {
        width: 98%!important;
    }
    .ui-dialog {
        width: 100%!important;
    }
    .search_form_bg #submit_wrapper, .subsearch #submit_wrapper {
        top: 19.5px !important;
    }
    .page-template-page-contact-php .gform_wrapper .gform_body .gform_fields .gfield:nth-child(1)  {

        width:208px;

    }
    .page-template-page-contact-php .gform_wrapper .gform_body .gform_fields .gfield:nth-child(2) {

        width:208px;

    }
    .page-template-page-contact-php .gform_wrapper .gform_body .gform_fields .gfield:nth-child(3){

        width:211px;

    }
    .vr_listing-archive-photo {

        width: auto!important;
    }
    .maparchives .socialsharedropdown dl dt {
        margin-top: 0px !important;
    }
    .search_form_bg .sr_holder #tabContainer, .subsearch .holder #tabContainer {
        margin-left: 46%;
    }
    #subnavbar a {
        font-size: 12px;
    }

    #subnavbar {
        position: absolute;
        right: 0px;
    }

    .headerleft .logo {
        /*margin: -4px 0px 0px !important;*/
    }

    .headerleft img.logo {
        max-width:90%;
        padding-left: 1%;
        left: 0px;
        padding-top: 3%;
    }

    #mobileNav {
        display: none;
    }

    #subnavbar .menu-header li, div.menu li {
        width: 16%;
    }

    .search_form_bg .submit_wrapper, .subsearch .submit_wrapper {
        right: -1%;
    }
    .navbar-collapse {
        width: 66.66666666666666% !important;
    }

    .search_form_bg .sr_holder form, .subsearch .holder form {
        width: 100%;
    }

    .subsearch {

        width: 100% !important;
    }

    .subsearch {
        height: 177px;
    }

    .search_form_bg .sr_holder h5 {
        margin: -0.5% 1px 0.5% 2%;
    }

    .mini-listing .info-dl {
        top: 196px;
    }

    .homepagescommunity li.space, .homepagesblog li.space {
        margin-left: 0%;
    }

    .homepagescommunity .col-md-3 {
        width: 100%;
    }

    .header_text {
        font-size: 24px;
    }

    .search_form_bg .sr_holder form input.search, .subsearch .holder form input.search {
        margin-left: 10px;
    }

    .homepagescommunity li a.linktocomm > label {
        top: 9px;
    }

    .homepagescommunity li a.linktocommpage > label {
        top: 9px;
    }
    .soliloquy-container .soliloquy-image {

        height: 440px!important;
    }

    .search_form_bg .sr_holder form, .subsearch .holder form {
        width: 100%;
    }
    .subsearch .holder form li {
        padding: 7.1% 8% 15.3% 5.3% !important;
        font-size: 21px;
    }

    .search_form_bg .sr_holder form li {
        padding: 7.1% 8% 15.3% 5.3% !important;
        font-size: 21px;
    }

    #tabs {
        margin-left: 4px;
    }


    .search_form_bg .sr_holder form li, .subsearch .holder form li {
        background-position: 89px 35px;
        /*width: 100px;*/
    }

    .search_form_bg .submit_wrapper, .subsearch .submit_wrapper {
        right: 4%;
        margin: 0;
        width: 23%;
    }

    .search_form_bg input[type="submit"], .subsearch input[type="submit"], .search_form_bg input[type="button"], .subsearch input[type="button"] {
        width: 80%;
        margin-left: 39%;
    }

    .search_form_bg .sr_holder form li.tabActiveHeader, .subsearch .holder form li.tabActiveHeader {
        display: inline-block;
        background: none repeat scroll 0% 0% #F00;
        position: relative;
        top: -2px !important;
    }

    li.tabActiveHeader:first-child .arrow {
        position: absolute;
        z-index: 45545454;
        display: block;
        float: right;
        left: 80.5%;
    }

    li.tabActiveHeader:last-child .arrow {
        position: absolute;
        z-index: 45545454;
        display: block;
        float: right;
        left: 79%;
    }

    .search_form_bg .sr_holder form li.tabActiveHeader .label-tab, .subsearch .holder form li.tabActiveHeader .label-tab {
        display: block;
        position: relative;
        bottom: -2px !important;
    }
    .sr_holder h5 {

        font-size: 100%;
    }
    .secondnav {
        padding-top: 0%;
    }
    .secondnav li a {
        font-size: 13px;
    }
    .header-hgroup {

        margin-top: 153px!important;

    }
}

/* Tablet (landscape) ----------- */
@media only screen
and (min-width: 758px)
and (max-width: 1024px)
and (orientation: landscape) {
    #respond input[type="text"] {
        width: 98%!important;
    }
    .ui-dialog {
        width: 100%!important;
    }
    .page-template-page-contact-php .gform_wrapper .gform_body .gform_fields .gfield:nth-child(1) .ginput_container input {

        width:96%;

    }
    .page-template-page-contact-php .gform_wrapper .gform_body .gform_fields .gfield:nth-child(2) .ginput_container input {

        width:96%;

    }
    .page-template-page-contact-php .gform_wrapper .gform_body .gform_fields .gfield:nth-child(3) .ginput_container input {

        width:97%;

    }




    .page-template-page-contact-php .gform_wrapper .gform_body .gform_fields .gfield:nth-child(1)  {

        width:191px;

    }
    .page-template-page-contact-php .gform_wrapper .gform_body .gform_fields .gfield:nth-child(2) {

        width:189px;

    }
    .page-template-page-contact-php .gform_wrapper .gform_body .gform_fields .gfield:nth-child(3){

        width:192px;

    }
    .vr_listing-archive-photo {
        width: 100%;
        height: auto!important;
        padding: 0px !important;
    }
    .maparchives .socialsharedropdown dl dt {
        margin-top: 0px !important;
    }
    .option-bed {
        left: 22%;
    }
    .search_form_bg .sr_holder #tabContainer, .subsearch .holder #tabContainer {
        margin-left: 50%;
    }
    #subnavbar {
        float: left;
        margin-left: 277px;
        margin-top: -20px;
        max-width: 100%;
        /*overflow: hidden; */
        width: 100%;
    }

    .homepagescommunity li.space, .homepagesblog li.space {
        margin-left: 0% !important;
    }

    .responsiveSelectContainer {
        /*display: none;*/
		width: 50%;
		margin: 10px auto;
		padding-right:25px;
    }
    .responsiveMenuSelect{
    	border:1px solid #000;
    }

    .headerleft .logo {
        margin-top: 4px !important;
    }

    #mobileNav {
        display: none;
    }

    #subnavbar {
        position: absolute!important;
        top: 0px;
        margin-top: 0px!important;
        margin-left: 0px;
        left: 26%!important;
    }

    .header_text {
        font-size: 29px;
    }

    .headerleft img.logo {
        position: absolute;
        top: 0px;
        left: 0px;
        padding-left: 0% !important;
        max-width: 90%!important;
    }

    .navbar-default .container {
        height: 100px;
    }

    .search_form_bg input[type="submit"], .subsearch input[type="submit"], .search_form_bg input[type="button"], .subsearch input[type="button"] {
        padding: 3% 5% !important;
        margin-top: 9px !important;
        margin-left: 38% !important;
        width: 80%;
    }

    .search_form_bg #tabpage_1, .subsearch #tabpage_1 {
        /*margin-left: 5px!important;*/
    }

    .jcarousel-skin-tango {
        width: 1000px;
    }

    #homelistings_holder .jcarousel-skin-tango .jcarousel-container-horizontal {
        width: 91%;
    }

    .homepagescommunity li a.linktocomm > label {
        top: 14px;
    }

    .homepagescommunity li a.linktocommpage > label {
        top: 14px;
    }
    .soliloquy-container .soliloquy-image {

        height: 440px!important;
    }
    .header-hgroup {

        margin-top: 153px!important;

    }
    .jcarousel-skin-tango {
        display: none !important;
    }
    .tablet-phone-markets {
        height: 1100px;
    }
    .search_form_bg .sr_holder form, .subsearch .holder form {
        width: 100%;
    }

    .search_form_bg .sr_holder form li {
        padding: 7.1% 8% 15.3% 6.3% !important;
        font-size: 21px;
        margin-top: 0.5%;
    }

    .subsearch .holder form li.tabActiveHeader {
        margin-top: -8px !important;
        padding: 6% 8% 15.3% 5.3% !important;
    }

    .subsearch .holder form li {
        padding: 7% 8% 15.3% 5.3% !important;
        font-size: 21px;
        margin-top: -1px;
    }

    #tabs {
        margin-left: 4px;
    }


    .subsearch #tabpage_2, .search_form_bg #tabpage_2 {
        left: 56%;
    }

    .search_form_bg .sr_holder form li, .subsearch .holder form li {
        background-position: 107px 45px;
        /*width: 120px;*/
    }

    .search_form_bg .sr_holder form li.tabActiveHeader, .subsearch .holder form li.tabActiveHeader {
        display: inline-block;
        background: none repeat scroll 0% 0% #F00;
        position: relative;
        top: 14px;
    }

    .search_form_bg .submit_wrapper, .subsearch .submit_wrapper {
        right: 4%;
        margin: 0;
        width: 23%;
    }

    .search_form_bg .sr_holder form li.tabActiveHeader .label-tab, .subsearch .holder form li.tabActiveHeader .label-tab {
        display: block;
        position: relative;
        bottom: 4px;
    }

    .search_form_bg #submit_wrapper, .subsearch #submit_wrapper {
        top: 10.5px !important;
    }
    .sr_holder h5 {

        font-size: 100%;
    }
}

/* Tablet  ----------- */
@media only screen
and (min-width: 768px)
and (max-width: 1024px) {

    .single-vr_altos .button{  padding: 2.8% 5%;}

    .search_form_bg input[type="submit"], .search_form_bg input[type="button"] {
        margin-top: 2%;
        margin-left: 45%;
    }

    .search_form_bg .submit_wrapper, .subsearch .submit_wrapper {
        right: 6%;
        margin: 0;
        top: 16.5px !important;
    }

    #homePropertyType {
        display: none !important;
    }

    #located {
        margin: 33.5px 0px 0px 10px !important;
    }

    .search_form_bg .sr_holder h5 {
        margin: -0.5% 1px 0.5% 2% !important;
    }

    .homepagescommunity .col-md-3 {
        width: 100%;
    }

    #homelistings_holder .jcarousel-skin-tango .jcarousel-next-horizontal {
        right: 2%;
    }

    #homelistings_holder .jcarousel-skin-tango .jcarousel-prev-horizontal {
        left: 1%;
    }
    .soliloquy-container .soliloquy-image {

        height: 440px!important;
    }
    .happy_landing_banner {
       background-size:cover!important;
    }
     .responsiveSelectContainer {
        /*display: none;*/
		width: 50%;
		margin: 40px 0;
		float:right;
    }
    .responsiveMenuSelect{
    	border:1px solid #000;
    }
}

/* Large screens ----------- */
@media only screen
and (min-width: 1824px) {
    .search_form_bg input[type="submit"], .search_form_bg input[type="button"], .subsearch input[type="submit"], .subsearch input[type="button"] {
        margin-top: 6px;
        padding: 4% 22%;
    }

    .search_form_bg .sr_holder h5 {
        margin-left: 2%;
    }

    #homelistings_holder .viewall a, #homevideo_holder .viewall a, .homepagescommunity .viewall a, .homepagesblog .viewall a {
        height: 34px;
    }
}

@media only screen
and (min-width : 1224px) {
    .headerleft .logo {
    }
}


@media only screen and (min-width: 1680px) {
    /*.headerleft .logo {*/
        /*left: 0px;*/
        /*padding-left: 220px;*/
    /*}*/
}

@media (min-width: 1025px) {
    /*.headerleft .logo {*/
        /*padding-left: 5%;*/
        /*left: 0px;*/
    /*}*/
    /*.secondnav li a {*/
        /*padding: 35px 24px 18px;*/
    /*}*/
}
@media screen and (-webkit-min-device-pixel-ratio: 0) {
    .search_form_bg input[type="submit"], .search_form_bg input[type="button"], .subsearch input[type="submit"], .subsearch input[type="button"] {
        margin-top: 6px;
        padding: 7px 36px;
    }
}

@media only screen and (min-width: 481px) and (max-width: 540px) {
    .navbar-header {display: block;}
    .mini-listing-row {
        visibility: hidden;
        display: none !important;
    }

    .mobile-listing {
        visibility: visible;
        display: block;
    }

    .listingstatus {
        top: 193px;
        height: 52px;
        padding: 3% 12% 6%;
        width: auto;
    }

    .bottom_box4 input[type="submit"] {
        /*left: 45% !important;*/
    }

    #homevideo_holder .mini-video .play {
        left: 29% !important;
        top: 22% !important;
    }

    #homevideo_holder .mini-video .watchvideo {
        left: 31% !important;
    }

}

@media only screen and (min-width: 1026px) and (max-width: 1150px) {
    .jcarousel-skin-tango {
        width: 1000px;
    }

    #homelistings_holder .jcarousel-skin-tango .jcarousel-container-horizontal {
        width: 90%;
    }

    #subnavbar {
        left: 8%;
    }
}

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

    .homepagescommunity li a.linktocomm > label {
        top: 9px;
        margin-left: 4px;
        font-size: 13px;
    }

    .homepagescommunity li a.linktocommpage > label {
        top: 9px;
        margin-left: 7px;
        font-size: 13px;
    }

    .homepagescommunity li a.linktocomm, .homepagescommunity li a.linktocommpage {
        width: 70px;
        height: 30px;
        line-height: 30px;
		font-size: 13px;
		text-align: center;
    }

    .community_name {
        font-size: 13px;

    }

    .homepagescommunity .col-md-3 {
        width: 100%;
    }

    .homepagescommunity li.space, .homepagesblog li.space {
        margin-left: 0% !important;
    }

    /*.search_form_bg #tabpage_1, .subsearch #tabpage_1 {*/

        /*left: 36%;*/
    /*}*/
}

/* New style search form on mobile*/

@media only screen
and (min-width: 599px)
and (max-width: 800px) {

    .disclaimer .logo img {
        width: 100%;
    }
    .search_form_bg .sr_holder form, .subsearch .holder form {
        width: 100%;
    }

    .subsearch .holder form li {
        padding: 7.1% 8% 15.3% 5.3% !important;
        font-size: 21px;
    }

    .search_form_bg .sr_holder form li {
        padding: 7.1% 8% 15.3% 3.3% !important;
        font-size: 21px;
    }


    .search_form_bg .sr_holder form li, .subsearch .holder form li {
        background-position: 89px 35px;
        width: 30%;
    }

    .search_form_bg .submit_wrapper, .subsearch .submit_wrapper {
        margin: 0;
        margin-right: 8px;
    }

    .search_form_bg input[type="submit"], .subsearch input[type="submit"], .search_form_bg input[type="button"], .subsearch input[type="button"] {
        font-size: 100%;
    }
    #located {

        margin: 33.5px 0px 0px 1% !important;
    }
    .search_form_bg .sr_holder form input.search, .subsearch .holder form input.search {
        width: 35%!important;
    }
    input#located
    {
    	font-size:12px;
    }
    select.search {
        width: 30% !important;
        padding-left: 4px !important;
    }
    .search_form_bg .sr_holder #tabContainer, .subsearch .holder #tabContainer {
        margin-left: 38.5%!important;
    }
}
@media only screen
and (min-width: 599px)
and (max-width: 970px)
and (orientation: landscape)
{
    .associatearcives img {
        width: auto;
        max-width:100%;
    }
    .search_form_bg .sr_holder #tabContainer, .subsearch .holder #tabContainer {
        margin-left: 45.7%!important;
    }
    .search_form_bg .sr_holder form input.search, .subsearch .holder form input.search {
        width: 38%!important;
    }
}
@media only screen
and (max-width: 640px) {
    .associatearcives img {
       width:auto;
       max-width:100%;
    }
    .search_form_bg .form-mobile-tablet  {
        display: none;

    }
    .subsearch .form-mobile-tablet {
        display: none;
    }
.subsearch .form-mobile-tablet {
    padding-top: 20px;
}
    .subsearch .form-mobile-tablet .price-input {
         padding-top: 0px;
    }
    .background-style {
        height: 47% !important;
        z-index: -1;
        top: 0px;
    }

    .form-desktop {
        display: none;
    }

    /*.form-mobile-tablet {*/
        /*display: block;*/
    /*}*/

    .search_form_bg .sr_holder .form-mobile-tablet form input.search, .subsearch .holder .form-mobile-tablet form input.search {
        width: 94% !important;
        margin-left: 3%;
    }

    .search_form_bg {
        height: 100%;
    }

    .search_form_bg .sr_holder form, .subsearch .holder form {
        height: 500px!important;
    }

    select.search {
        width: 94% !important;
        margin-left: 3%;
    }

    .form-mobile-tablet .header-price {
        border: medium none !important;
        color: black !important;
        font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
        padding: 0px !important;
        text-shadow: none !important;
        font-size: 22px;
    }

    .form-mobile-tablet .option-price {
        margin-top: 0px !important;
        margin-left: 0px!important;
    }

    .price-input {
        margin: 20px;
        padding-top: 5px;
    }

    .form-mobile-tablet .option-price .selecter:first-child {
        margin: 0px 0px 2px;
        position: relative;
        float: left;
        max-width: 100%;
        width: 46%;
    }

    .option-price .selecter:last-child {
        height: 34px;
        margin: 0px 0px 16px;
        position: relative;
        max-width: 100%;
        float: left;
        width: 46%;
    }

    .selecter .selecter-element {
        width: 100%;
    }

    .selecter .selecter-options {
        left: 0px;
        width: 100%;
    }

    .input-beds-baths {
        margin: 0px;
        height: 300px;
        padding-left: 10px;
        padding-right: 10px;
    }

    .input-beds-baths .baths {
        float: left;
        width: 47%;
    }

    .input-beds-baths .beds {
        float: left;
        width: 47%;
        margin-right: 6%;
    }

    .option-bed {
        display: block !important;
        background-color: #FCFCFC;
        background-image: linear-gradient(to bottom, #FFF, #F7F7F7);
        border-radius: 0px 0px 4px 4px;
        border-color: #999;
        border-style: solid;
        border-width: 0px 1px 1px;
        bottom: auto;
        margin-left: 0px;
        position: inherit;
        overflow: visible;
        padding: 16px;
        right: auto;
        width: 100%;
        box-shadow: 1px 0px 0px rgba(255, 255, 255, 0.6) inset, 0px 1px 2px rgba(0, 0, 0, 0.35);
        background-repeat: repeat-x;
        height: auto;
    }

    .option-bed > label {
        padding: 2px 4px 2px 6% !important;
    }

    .option-bed input {

        z-index: 0 !important;
    }

    .search_form_bg input[type="submit"], .subsearch input[type="submit"], .search_form_bg input[type="button"], .subsearch input[type="button"] {

        margin-top: 0px !important;
        padding: 6% !important;
    }

    .search_form_bg .submit_wrapper, .subsearch .submit_wrapper {
        position: initial;
        margin: 0px;
        width: 20%;
        margin: 0px auto;

    }

    /* Listing page mobile style */
    .maparchives .rightcontainer {
        width: 97% !important;
    }

    .callbacks img {
        height: 216px !important;
    }

    .callbacks_container {
        width: 100% !important;
    }

    .maparchives .rightcontainer .listingstatus {
        top: 77% !important;
        z-index: 2;
        padding: 2% 9% 3% !important;
        height: 16% !important;
        bottom: 0px;
    }

    .socialsharedropdown {
        margin: -3.5% 0px 4%;
    }

    .maparchives .nextprev {
        display: none;
    }
    .bottom_box4 .sbe-widget-top-text {
        bottom: 0px;
    }
    .soliloquy-container .soliloquy-image {

        height: 100%!important;
    }
    .search_form_bg .sr_holder {
        padding: 40px 0px 0px!important;
    }
}

@media only screen
and (min-device-width: 320px)
and (max-device-width: 568px)
and (orientation: landscape) {
    .sr_holder h5 {
        display: none!important;
    }
    .disclaimer .logo img {
        width: 100%;
    }
    .mc-container {

        width:100%!important;
    }
    .media .pull-left > img {
        width: 70px!important;
        height: 70px!important;
    }

    .maparchives .listing_info dd {
        padding: 1.3% 1%;
    }

    .maparchives .socialsharedropdown dl dt {

        margin-top: 15px !important;
    }

    .homepagescommunity li a.linktocomm > label {
        margin-left: 0.8% !important;
    }

    #homelistings_holder .viewall a, #homevideo_holder .viewall a, .homepagescommunity .viewall a, .homepagesblog .viewall a {
        top: 38px !important;
        float: left;
    }
    .soliloquy-container .soliloquy-image {

        height: 100%!important;
    }
    .search_form_bg .sr_holder {
        padding: 40px 0px 0px!important;
    }
    .soliloquy-viewport {
        height: 100% !important;
    }
    .tablet-phone-markets {
        height: 100%!important;
    }
    #homepages_usercontent div.entry-content img {
        max-width: 100%!important;
        display:block;
        margin:0 auto!important;
    }
}

@media only screen
and (min-device-width: 320px)
and (max-device-width: 568px)
and (orientation: portrait) {
    .disclaimer .logo img {
        width: 100%;
    }
    .mc-container {

        width:100%!important;
    }
    .media .pull-left > img {
        width: 70px!important;
        height: 70px!important;
    }

    .submenu_mobile {
        overflow: hidden;
    }

    #subnavbar .menu-header ul, div.menu ul {
       /* overflow: hidden;*/
        /*max-height: 200px;*/
    }

    .homepagescommunity .col-md-3 {
        height: 36px;
    }

    .homepagescommunity li a.linktocommpage > label {
        top: -44%;
        margin-left: 12.5%;
    }

    .homepagescommunity li a.linktocomm > label {
        top: -14%;
        margin-left: 1% !important;
        font-size: 9px;
    }

    #homelistings_holder .viewall a, #homevideo_holder .viewall a, .homepagescommunity .viewall a, .homepagesblog .viewall a {
        top: 27px !important;
        float: left;
        margin-bottom: 40px!important;
    }
    .bottom_ownerinfo {
        height: 100% !important;
    }

    .disclaimer .info {
        float: none !important;
        margin-top: 0% !important;;
    }
    .soliloquy-container .soliloquy-image {

        height:100%!important;
    }
    .search_form_bg .sr_holder {
        padding: 40px 0px 0px!important;
    }
    .soliloquy-viewport {
        height: 100% !important;
    }
    .tablet-phone-markets {
        height: 100%!important;
    }
    #homepages_usercontent div.entry-content img {
         max-width: 100%!important;
        display:block;
        margin:0 auto!important;
    }
}

@media only screen
and (max-width: 599px) {
    .search-banner-buttons{
        display:block;
    }
    .inside_banner_buttons{
        font-size: 20px;

        width: 100%;

    }
    .inside_banner_buttons a{
        background-color: #918989;
        opacity: 0.9;
        font-family: arial;
        border-radius: 7px !important;
        color: #fff !important;
        display:inline-block;
        font-size: 20px;
        margin: 5px 0;
        padding: 10px 0;
        text-align: center;
        width: 100%;
        text-decoration:none;
    }
    .mobile_call_search{
        margin-bottom: 0;
        margin-left: auto;
        margin-right: auto;
        padding-top: 35px;
        width: 80%;
    }
    .ui-dialog  {
        width: 100%!important;

    }
    .pagesposts img {

           /* width: 100%!important;*/
           display:block;
           margin:0 auto;

    }

    .subsearch {
        height: 100%;
    }

    .search_form_bg .sr_holder form, .subsearch .holder form {
        width: 100%;
    }

    .search_form_bg .sr_holder form li.tabActiveHeader {
        padding: 8.1% 8% 15.3% 5.3% !important;
        margin-top: -8px !important;
    }

    .subsearch .holder form li.tabActiveHeader {
        padding: 7.1% 8% 15.3% 5.3% !important;
        margin-top: -14px !important;
    }

    .subsearch .holder form li {
        padding: 7.1% 8% 15.3% 5.3% !important;
        font-size: 21px;
    }

    .search_form_bg .sr_holder form li {
        padding: 7.1% 8% 15.3% 5.3% !important;
        font-size: 21px;
    }

    #tabs {
        margin-left: 4px;
    }

    .search_form_bg .sr_holder form li, .subsearch .holder form li {
        background-position: 89px 35px;
        width: 100px;
    }

    .search_form_bg .submit_wrapper, .subsearch .submit_wrapper {
        right: 4%;
        margin: 0px auto !important;
        width: 30%;
    }

    .search_form_bg input[type="submit"], .subsearch input[type="submit"], .search_form_bg input[type="button"], .subsearch input[type="button"] {
        width: 100%;
        font-size: 12px;
    }

    .search_form_bg .sr_holder form input.search, .subsearch .holder form input.search {
        width: 43%;
    }

    select.search {
        width: 43%;
    }
    .soliloquy-viewport {
        height: 100% !important;
    }
}

@media only screen
and (min-width: 360px)
and (max-width: 640px)
and (orientation: portrait) {

}
@media only screen
and (min-width: 360px)
and (max-width: 640px)
and (orientation: landscape) {

    .search_form_bg input[type="submit"], .subsearch input[type="submit"], .search_form_bg input[type="button"], .subsearch input[type="button"] {
        width: 100%;
        font-size: 13px;
    }

    .search_form_bg .sr_holder form input.search, .subsearch .holder form input.search {
        width: 40%;
    }

    .search_form_bg .sr_holder form input.search, .subsearch .holder form input.search {
        margin: 16.5px 0px 0px 5px;
    }

    #located {
        margin: 33.1px 0px 0px 7px !important;
        width: 40%;
    }

    .located {
        margin: 33.1px 0px 0px 7px !important;
        width: 40%;

    }
    .soliloquy-container .soliloquy-image {

        height: 100%!important;
    }
    .soliloquy-viewport {
        height: 100% !important;
    }
    .tablet-phone-markets {
        height: 100%!important;
    }
    #homepages_usercontent div.entry-content img {
        max-width: 100%!important;
        display:block;
        margin:0 auto!important;
    }
    .mc-container {

        width:100%!important;
    }
    .search_form_bg .sr_holder #tabContainer, .subsearch .holder #tabContainer {
        margin-left: 44%;
    }

}

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

    .search_form_bg .sr_holder form li.tabActiveHeader, .subsearch .holder form li.tabActiveHeader {
        background: none repeat scroll 0% 0% #F00;
        position: relative;
        top: -7px;
    }

    .search_form_bg .sr_holder form li.tabActiveHeader .label-tab, .subsearch .holder form li.tabActiveHeader .label-tab {
        position: relative;
        bottom: -7px;
        text-align: center;
    }

    li.tabActiveHeader:first-child .arrow {
        position: absolute;
        display: none;
        float: right;
        left: 80.5%;
    }
    .arrow {
        display: none;
    }
    li.tabActiveHeader:last-child .arrow {
        position: absolute;
        display: none;
        float: right;
        left: 79%;
    }
    .tablet-phone-markets {
      height:980px;

    }
}



/* Responsive design form */

@media only screen and (min-width : 768px) and (max-width : 1024px) {
	
	.secondnavwrapper
	{
		max-width
	}

    .page-template-default .gform_wrapper .gform_body .gform_fields .gfield_html:nth-child(1) img

    , .page-template-template-form-page-buyers-php .gform_wrapper .gform_body .gform_fields .gfield_html:nth-child(1) img {
        width: 50%;
    }

    .page-template-default .gform_wrapper .gform_body .gform_fields .gfield:nth-child(1),
    .page-template-template-form-page-buyers-php .gform_wrapper .gform_body .gform_fields .gfield:nth-child(1)

    {
        width: 100%;
        margin-left:0px !important;
    }
    .page-template-default .gform_wrapper .gform_body .gform_fields .gfield:nth-child(2),
    .page-template-template-form-page-buyers-php  .gform_wrapper .gform_body .gform_fields .gfield:nth-child(2)
    {

        width:100%;
        margin-left: 0px!important;

    }
    .page-template-default .gform_wrapper .gform_body .gform_fields .gfield:nth-child(3),
    .page-template-template-form-page-buyers-php  .gform_wrapper .gform_body .gform_fields .gfield:nth-child(3)
    {

        width:100%;
        margin-left: 0px!important;

    }
    .page-template-default .gform_wrapper .gform_body .gform_fields .gfield:nth-child(3) select,
    .page-template-template-form-page-buyers-php  .gform_wrapper .gform_body .gform_fields .gfield:nth-child(3) select
    {

        width:95%!important;
        margin-left: 0px!important;

    }
    .page-template-default .gform_wrapper .gform_body .gform_fields .gfield:nth-child(4),

    .page-template-template-form-page-buyers-php .gform_wrapper .gform_body .gform_fields .gfield:nth-child(4)
    {

        width:100%;
        margin-left: 0px!important;

    }
    .page-template-default .gform_wrapper .gform_body .gform_fields .gfield:nth-child(5),

    .page-template-template-form-page-buyers-php .gform_wrapper .gform_body .gform_fields .gfield:nth-child(5)

    {

        width:100%;
        margin-left:0px!important;

    }
    .page-template-default .gform_wrapper .gform_body .gform_fields .gfield:nth-child(6),

    .page-template-template-form-page-buyers-php .gform_wrapper .gform_body .gform_fields .gfield:nth-child(6)
    {

        width:100%;
        margin-left: 0px!important;

    }
    .page-template-default .gform_wrapper .gform_body .gform_fields .gfield:nth-child(7),
    .page-template-template-form-page-buyers-php .gform_wrapper .gform_body .gform_fields .gfield:nth-child(7)
    {

        width:100%;
        margin-left: 0px!important;

    }
    .page-template-default .gform_wrapper .gform_body .gform_fields .gfield:nth-child(8),
    .page-template-template-form-page-buyers-php .gform_body .gform_fields .gfield:nth-child(8)
    {

        width:100%;
        margin-left:0px!important;

    }
    .page-template-default .gform_footer .gform_button
    {

        margin-left: 75%!important;

    }
    .page-template-default img.alignnone
    {

        width:100%!important;
        margin-left: 0px !important;

    }

}
    @media only screen
    and (min-width : 320px)
    and (max-width : 480px) {
        img.marketcat {
            max-width: 100%!important;
        }
        .gform_wrapper .gform_footer.left_label{
        	    margin-left: 0!important; 
  				width: 100%!important; 
  				clear:both;
        }
        .single-vr_altos .gfield_select {
            width: 100%;
        }
        .single-vr_altos input[type=text] {
            width: 100%;
        }
        .page-template-default .gform_wrapper .gform_body .gform_fields .gfield_html:nth-child(1) img {
            width: 100%;
        }

        .page-template-default .gform_wrapper .gform_body .gform_fields .gfield:nth-child(1) {
            width: 100%;
            margin-left:0px !important;
        }
        .page-template-default .gform_wrapper .gform_body .gform_fields .gfield:nth-child(2) {

            width:100%;
            margin-left: 0px!important;

        }
        .page-template-default .gform_wrapper .gform_body .gform_fields .gfield:nth-child(3) {

            width:100%;
            margin-left: 0px!important;

        }
        .page-template-default .gform_wrapper .gform_body .gform_fields .gfield:nth-child(4) {

            width:100%;
            margin-left: 0px!important;

        }
        .page-template-default .gform_wrapper .gform_body .gform_fields .gfield:nth-child(5) {

            width:100%;
            margin-left:0px!important;

        }
        .page-template-default .gform_wrapper .gform_body .gform_fields .gfield:nth-child(6) {

            width:100%;
            margin-left: 0px!important;

        }
        .page-template-default .gform_wrapper .gform_body .gform_fields .gfield:nth-child(7) {

            width:100%;
            margin-left: 0px!important;

        }
        .page-template-default .gform_wrapper .gform_body .gform_fields .gfield:nth-child(8) {

            width:100%;
            margin-left:0px!important;

        }
        .page-template-default .gform_footer .gform_button {
            padding: 12px !important;
            width: 100% !important;
            margin: 0px auto !important;
            margin-left: 0px !important;
            margin-right: 0px !important;

        }
        .page-template-default img.alignnone {

            width:100%!important;
            margin-left: 0px !important;

        }

    }
@media only screen
and (min-width : 360px)
and (max-width : 640px) {

    .page-template-default .gform_footer .gform_button {
        padding: 12px !important;
        width: 100% !important;
        margin: 0px auto !important;
        margin-left: 0px !important;
        margin-right: 0px !important;

    }
    .page-template-default .gform_wrapper .gform_body .gform_fields .gfield_html:nth-child(1) img {
        width: 100%;
    }

    .page-template-default .gform_wrapper .gform_body .gform_fields .gfield:nth-child(1) {
        width: 100%;
        margin-left:0px !important;
    }
    .page-template-default .gform_wrapper .gform_body .gform_fields .gfield:nth-child(2) {

        width:100%;
        margin-left: 0px!important;

    }
    .page-template-default .gform_wrapper .gform_body .gform_fields .gfield:nth-child(3) {

        width:100%;
        margin-left: 0px!important;

    }
    .page-template-default .gform_wrapper .gform_body .gform_fields .gfield:nth-child(4) {

        width:100%;
        margin-left: 0px!important;

    }
    .page-template-default .gform_wrapper .gform_body .gform_fields .gfield:nth-child(5) {

        width:100%;
        margin-left:0px!important;

    }
    .page-template-default .gform_wrapper .gform_body .gform_fields .gfield:nth-child(6) {

        width:100%;
        margin-left: 0px!important;

    }
    .page-template-default .gform_wrapper .gform_body .gform_fields .gfield:nth-child(7) {

        width:100%;
        margin-left: 0px!important;

    }
    .page-template-default .gform_wrapper .gform_body .gform_fields .gfield:nth-child(8) {

        width:100%;
        margin-left:0px!important;

    }
    .page-template-default .gform_footer .gform_button {

        margin-left: 75%!important;

    }
    .page-template-default img.alignnone {

        width:100%!important;
        margin-left: 0px !important;

    }
    img.marketcat {
        max-width: 100%!important;
    }
    .single-vr_altos .gfield_select {
        width: 100%;
    }
    .single-vr_altos input[type=text] {
        width: 100%;
    }
}
/* IPHONE 6 and 6+ */
@media only screen and (min-device-width: 374px) and (max-device-width: 415px) {
    .page-template-default .gform_footer .gform_button {
        padding: 12px !important;
        width: 100% !important;
        margin: 0px auto !important;
        margin-left: 0px !important;
        margin-right: 0px !important;

    }
    .disclaimer .logo img {
        width: 100%;
    }
  .viewall {  padding-bottom: 31px;
    display: block;
    position: relative;
    top: -22px;
    height: 17px;
}


    img.marketcat {
        max-width: 100%!important;
    }
    .single-vr_altos .gfield_select {
        width: 100%;
    }
    .single-vr_altos input[type=text] {
        width: 100%;
    }
}
@media only screen
and (min-width : 320px)
and (max-width : 480px) {
    .disclaimer .logo img {
        width: 100%;
        margin-bottom:30px;
    }
    .page-template-template-form-page-buyers-php .gform_wrapper .gform_body .gform_fields .gfield_html:nth-child(1) img {
        width: 100%;
    }

    .page-template-template-form-page-buyers-php .gform_wrapper .gform_body .gform_fields .gfield:nth-child(1) {
        width: 100%;
        margin-left:0px !important;
    }
    .page-template-template-form-page-buyers-php .gform_wrapper .gform_body .gform_fields .gfield:nth-child(2) {

        width:100%;
        margin-left: 0px!important;

    }
    .page-template-template-form-page-buyers-php .gform_wrapper .gform_body .gform_fields .gfield:nth-child(3) {

        width:100%;
        margin-left: 0px!important;

    }
    .page-template-template-form-page-buyers-php .gform_wrapper .gform_body .gform_fields .gfield:nth-child(4) {

        width:100%;
        margin-left: 0px!important;

    }
    .page-template-template-form-page-buyers-php.gform_wrapper .gform_body .gform_fields .gfield:nth-child(5) {

        width:100%;
        margin-left:0px!important;

    }
    .page-template-template-form-page-buyers-php .gform_wrapper .gform_body .gform_fields .gfield:nth-child(6) {

        width:100%;
        margin-left: 0px!important;

    }
    .page-template-template-form-page-buyers-php .gform_wrapper .gform_body .gform_fields .gfield:nth-child(7) {

        width:100%;
        margin-left: 0px!important;

    }
    .page-template-template-form-page-buyers-php.gform_wrapper .gform_body .gform_fields .gfield:nth-child(8) {

        width:100%;
        margin-left:0px!important;

    }
    .page-template-template-form-page-buyers-php .gform_footer .gform_button {

        /*margin-left: 16%!important;*/

    }
    .page-template-template-form-page-buyers-php img.alignnone {

        width:100%!important;
        margin-left: 0px !important;

    }
}


/* prettyPhoto styling for small screens  - below 767px width */
@media only screen and (max-width: 767px) {
.pp_pic_holder.pp_default { width: 100%!important; left: 0!important; overflow: hidden; top: 20%!important;position:fixed!important;}
div.pp_default .pp_content_container .pp_left { padding-left: 0!important; }
div.pp_default .pp_content_container .pp_right { padding-right: 0!important; }
.pp_content { width: 100%!important; height: auto!important; }
.pp_fade { width: 100%!important; height: 100%!important; }
a.pp_expand, a.pp_contract, .pp_hoverContainer, .pp_gallery, .pp_top, .pp_bottom { display: none!important; }
#pp_full_res img, #pp_full_res iframe { min-height:250px;width: 100%!important; height: auto!important; }
.pp_details { width: 100%!important; padding-left: 3%; padding-right: 4%; padding-top: 20px; padding-bottom: 20px; background-color: #fff; margin-top: -2px!important; }
a.pp_close { right: 10px!important; top: 10px!important; }
}