body {
    max-width:100%;
}
img {
    max-width: 100%;
    height:auto;
}
iframe, video {
    max-width: 100%;
}
.video iframe {
    max-width: 90%;
}
.innerWrapper, #innerContent {
    max-width:100%;
    position:relative;
}
.menu-button {
    display:none;
}
.mobileonly {
    display:none;
}
.fancybox-wrap{
    max-width:90%;
}
.fancybox-inner {
    width:auto !important;
/*    max-width:100%;*/
}
.mobileshare {
	display:none;
}
.table {
	display:table;
	table-layout:fixed;
}
.dynamic table {
	table-layout:fixed;
}
.button {
	-webkit-appearance:none;
}
/* Tablets only */
@media (min-width : 670px) and (max-width : 1024px) {
	body {
		font-size:14px;
		background-size:contain;
	}
    .innerWrapper {
        text-align:center;
    }
	h1 {
		font-size:32px;
	}
	h2 {
		font-size:26px;
	}
	h3 {
		font-size:20px;
	}
	h4 {
		font-size:18px;
	}
	h5 {
		font-size:18px;
		background-color:#1d8087;
		color:#ffffff;
	}
	table.stacktable {
		table-layout:fixed;
	}
	#header {
		height:auto;
		background-size:cover;
	}
	.headerRight {
		padding-right:0px;
		padding-top:0px;
	}
	.headerContainer {
		padding-bottom:0px;
	}
	.headerContainer .logo {
		width:60%;;
		padding-top:2%;
	}
	.headerContainer .logo .divider {
		padding-top:7%;
	}
	.headerContainer .headerPhone {
		padding-top:5%;
	}
	.headerPhone .topline, .headerPhone a {
		font-size:25px;
	}
	.headerPhone a {
		color:#ffffff;
		text-decoration:none;
	}
	#footer .footerTop{
	}
	.footerBottom {
		font-size:11px;
	}
	.footerBottom .innerPadding {
		padding:0;
	}
	.footerBottom h3 {
		white-space:nowrap;
	}
	#homeBanner {
	}
	.bodyleft, #header .leftSide, .footerLogo {
		width:30%;
		min-width:30%;
		max-width:30%;
	}
	.footerLogo {
		padding-right:20px;
	}
	#nav2 {
		padding:0;
	}
	#nav2 li.top>div {
		white-space:nowrap;
	}
	#nav2 li.top {
		padding-right:5px;
	}
    #menu a{
        font-size:15px;
    }
	#menu .nav {
		position:relative;
	}
    #menu li ul.sub {
		top:3px;
	}
    .nav, .navon {
        padding:0px 15px;
    }
	#nav2 ul.sub:last-child {
		left:auto;
		right:0;
	}
	.tagline {
		font-size:24px;
		top:0;
	}
	#contactTab {
		height:35px;
		line-height:35px;
		font-size:15px;
	}
	#newsletterBox input[type=text], #newsletterBox .selectboxit-text {
		font-size:10px;
		padding-bottom:2px;
		padding-top:1px;
	}
	#newsletterBox .selectboxit-container span {
		height:20px;
		line-height:20px;
	}
	
	#newsletterBox .button {
		margin-right:0;
		margin-top:0;
		font-size:9px;
		width:35%;
		padding-left:7px;
	}
	.featureContainer {
		padding:10px 5px 10px 10px;
		border-top:1px solid #000;
		border-left:1px solid #000;
	}
	.bannerBox {
		right:40px;
		bottom:30px;
	}
	.homefinder {
		position:relative;
		top:-10px;
		width:auto;
		bottom:auto;
	}
	.homefinder select, .homefinder span.customStyleSelectBox {
		width:135px;
	}
	.homefinder .rangedisplay {
		max-width:none !important;
		position:absolute;
		font-size:10px;
		left:auto;
		width:auto;
		margin-left:5px;
	}
	.homefinder .selectboxit-container .selectboxit, .homefinder .slider{
		max-width:135px !important;
	}
	 .homefinder .pricerange.rangebox {
		width:160px;
	}
	.homefinder .selectboxit-container .selectboxit {
		margin-right:7px;
	}
	.bodymid .innerPages {
		position:relative;
	}
	.bodymid .share {
		position:static;
	}
	.addthis_floating_style {
/*		top:40px;
		position:absolute;*/
		z-index:450;
	}
}
/* mobile + iPad */
@media (max-width : 1020px) {
	#innerContent {
		max-width:100%;
	}
	.homefinder .heading {
		font-size:15px;
	}
	.homebox .readmore {
		right:auto;
		top:auto;
		position:static;
	}
	.builderReps .builder {
		float:none;
		display:inline-block;
		width:100%;
	}
	ul.galleryGrid {
		max-width:100%;
	}
	.newsSidebar {
		display:none;
	}	
}
/* Small Tablet + Mobile */
@media (max-width : 669px) {  
	#homeBanner .bannerBox {
		display:none;
	}
	header .logo {
		background:url('/images/logo_mobile.png');
		width:170px;
		height:85px;
		margin-left:15px;
	}
	header .innerContent {
		display:block;
		width:100%;
	}
	header .subhead {
		background:none;
		position:absolute;
		width:100%;
		top:0px;
		right:0px;
		height:auto;
	}
	header .subhead .table {
		display:block;
	}
	header .tagline {
		display:none;
	}
    .menu-button {
		position:absolute;
        text-align:right;
        height:20px;
		left:15px;
        display: block;
        margin-top:5px;
        font-weight:bold;
        text-transform:uppercase;
        padding:13px 0px;
    }
    .menu-button img {
        position:relative;
        margin-right:20px;
		top:10%;
        cursor: pointer;
		position:relative;
		z-index:1500;
    }
	#menu {
        background:#f3795e;
        position: absolute;
        height: 100%;
        top: 0;
        left: -252px;
        max-width: 250px;
        width: 100%;
        z-index: 2000;
		padding:10px 0px;
		display:block;
		font-family:Futura, "Century Gothic", AppleGothic, sans-serif;
    }
    #menu li {   
        float:none;
        display:block;
        width:100%;
        padding:0;
		margin-bottom:0px;
		border-bottom:1px solid #000;
    }
    .nav, .navon, #menu li.top{
        float:none;
        display:block;
        padding:0;
    }
	#menu li.top a {
		color:#ffffff;
	}
	#menu a {
		font-size:13px;
		font-weight:normal;
	}
	#menu li:hover a {
	}
	#menu .icon {
		z-index:2500;
		text-align:center;
		width:40px;
		height:100%;
		display:block;
		position:absolute;
		right:0px;
		top:0px;
	}
	#menu .expanded .icon:after {
		content:"-";
		display:block;
		padding:15px 0px;
	}
	#menu .collapsed .icon:after {
		content:"+";
		display:block;
		padding:15px 0px;
	}
	.nav a, .navon a {
		text-align:left;
	}
    #menu .divider {
        display:none;
    }
    #menu li a, #menu .sub li a{ 
		padding:15px 15px;
        display:block;
        width:auto;
        height:100%;
		font-weight:normal;
    }
	#menu .innerWrapper {
		padding:0px;
	}
    #menu li ul.sub {
        top:0px;
		left:0px;
        display:none;
        position:relative;
        width:100%;
        padding:0;
		margin:0;
		float:none;
    }
#menu .sub li:last-child {
	margin-bottom:0;
}
	#menu ul.sub li:hover a, #menu li:hover ul.sub li:hover a {
		
	}
	#menu li:hover ul.sub {
		display:block;
	}
    #menu li:hover ul.sub li{
        background:none;
    }
    #menu li:hover ul.sub li:hover ul.sub {
        display:none;
    }
	#menu .sub li a, #menu li:hover ul.sub li a {
        border-bottom:none;
	}

	#menu li.expanded {
/*		border:1px solid transparent;*/
	}
	#menu li.collapsed ul.sub {
		display:none !important;
		position:static !important;
	}
	#menu li.expanded ul.sub {
		display:block !important;
		position:static !important;
		margin-top:0px !important;
		top:0px !important;
	}
	#menu li.expanded ul.sub li a { 
        float:none;
		color:inherit;
    }
    .nav, .navon {
        z-index:5;
    }
	.contentWrapper {
		padding:0px 30px;
	}
	.bodymid .innerPages {
		padding:10px 20px;
	}
	.bodyleft, .bodymid {
		display:block;
		width:auto;
	}
	.featureContainer, .translate {
		display:none;
	}
	#header .leftSide {
		width:23%;
	}
	#header {
		padding-bottom:12px;
	}
	.mobileshare {
		display:block;
		margin-bottom:10px;	
		text-align:center;
	}
	.mobileshare .addthis_toolbox {
		display:inline-block;
	}
	/* ------------------------- */

	.homefinder {
		position:static;
	}
	.homefinder table, .homefinder td, .homefinder tbody, .homefinder tr {
		display:block;
	}
	.homefinder td:last-child {
		text-align:center;
	}
	.homefinder .heading {
		display:block;
		padding:5px;
		font-size:14px;
	}
	.homefinder .selectboxit-container, .homefinder .selectboxit-container .selectboxit, .homefinder .slider, .homefinder .rangedisplay, .homefinder .selectboxit-container .selectboxit-options {
		width:100% !important;
		max-width:100% !important;
	}
	.homefinder .selectboxit-text {
		max-width:100% !important;
	}
	#footer {
		margin-top:0px !important;
	}
	.footerTop .table, .footerTop table {
		width:auto;
		text-align:center;
		margin:0px auto;
	}
	.footerTop * {
		text-align:center;
	}
	.footerTop .sitemap {
		display:none;
	}
	.footerBottom {
		padding-bottom:20px;
	}
	.footerBottom .table, .footerBottom .tablecell {
		display:block;
		width:auto;
		padding:0;
	}
	.footerLogo {
		float:none;
	}
	.footerBottom .innerPadding {
		padding:0;
	}
	.footerBottom .nowrap {
		white-space:normal;
	}
	.footerBottom h3 {
		padding-bottom:10px;
	}
	#newsletterBox input, #newsletterBox select {
		height:25px;
	}
	#newsletterBox .button {
		margin-top:6px;
	}
	/* Home Search & Result pages */
	.homesearch .buttonContainer {
		width:100%;
		position:relative;
		text-align:center;
	}
	.homesearch .buttonContainer * {
		float:none !important;
		text-align:center;
	}
	.homesearch .buttonContainer .button {
		float:none;
		text-align:center;
		margin:10px auto !important;
	}
	.homesearchbutton input.button {
		padding:10px 65px;
		-webkit-appearance:none;
	}
	.homesearch .button.lighter {
		float:none;
		margin:5px auto;
	}
	.houston_home .bodymid .innerPages {
		padding:0;
	}
	.houston_home h1 {
		text-align:center;
	}
	.results th {
		display:none;
	}
	.results table {
		display:block;
	}
	.results tr {
		display:table;
		width:100%;
		margin-bottom:10px;
		background:#f8f4e7;
	}
	.results td {
		display:block;
		text-align:left;
		background:#f8f4e7;
		padding:0px 0px 0px 0px;
	}
	.results td, .results td a{
	}
	.results td:first-child {
		display:table-cell;
		width:50%;
	}
	.results td:nth-child(2) {
		padding-top:10px;
	}
	.results .price, .results .sqft, .results .pricesqft a, .results .sqft b {
		display:inline-block;
		white-space:nowrap;
		color:#000 !important;
		font-weight:normal !important;
		font-style:normal;
	}
	.results td:first-child:after {
		content:"";
		clear:both;
	}
	.results .sqft:before {
		content:" | ";
	}
	.results .sqft .mobileonly {
		display:inline !important;
	}
	.results .address .line1 a{
		font-style:italic;
		color:#000 !important;
		font-variant:normal;
		font-weight:normal;
	}
	.results .bdetailed, .results .lottype {
		display:none;
	}
	.results .bname {
		text-transform:uppercase;
		font-variant:normal;
	}
	.results .details {
		display:none;
	}
	.results .line3, .results .line3 a {
		font-weight:normal;
		font-size:12px;
	}
	.results .homePhoto img {
		width:100%;
	}
	.results .homePhoto {
		float:none;
		text-align:center;
		width:auto;
	}
	.homedetail .heading {
		width:100px;
/*		clear:left;*/
	}
	.homedetail .heading.col2 {
		width:70px;
	}
	.homedetail .value.second {
		width:13px;
	}
	.homedetail {
	}
	.homedetail h1 {
		padding-left:20px;
		padding-right:20px;
		font-weight:bold;
		font-size:24px;
	}
	.bodymid .homedetail .share {
		padding-left:20px;
	}
	.homedetail .buildername {
		text-transform:uppercase;
		font-variant:normal;
	}
	.homedetail .detailbox {
		background:none;
		padding:10px 0px;
	}
	.homedetail .detailbox * {
		color:#000;
	}
	.homedetail .collapsible .handle {
		text-transform:uppercase;
		background:#b6bd00;
	}
	.homedetail .collapsible .handle a {
		color:#e2dac5;
		position:static;
	}
	.homedetail .photo, .homedetail .homephoto {
		margin:0 auto;
		max-width:100%;
		padding:0;
		float:none;
		width:auto;
		text-align:center;
	}
	.homedetail .table > div {
		display:block;
	}
	.homedetail .buttonWrapper {
		width:100%;
		display:none;
	}
	.homedetail .floorplanPop.button {
		float:none;
		position:relative;
	}
	.homedetail .homeSlideShow.button {
		float:none;
	}
	.houston_home .homefinderMobile {
		display:none;
	}
	.homedetail .collapsible {
		margin:5px 0px;
	}
	.homedetail .collapsible .content {
		padding:10px;
		position:relative;
	}
	.homedetail .collapsible img {
		-webkit-box-shadow: 3px 7px 7px 0px rgba(50, 50, 50, 0.76);
		-moz-box-shadow:    3px 7px 7px 0px rgba(50, 50, 50, 0.76);
		box-shadow:         3px 7px 7px 0px rgba(50, 50, 50, 0.76);		
		margin-bottom:10px;
	}
	.homecontact .customform input[type=text], .homecontact .button, .homecontact .customform textarea {
		width: 90% !important;
	}
	.customform {
		margin:0 !important;
	}
	.homes .customform {
		margin:0px auto !important;
		width:80%;
	}
	.homes .customform label {
		margin-top:5px;
	}
	.homecontact {
		width:100%;
	}
	.homedetail .homecontact .heading, .homecontact .footer {
		display:none;
	}
	.homedetail #slideshow {
		box-shadow:none;
		-webkit-box-shadow:none;
		-moz-box-shadow:none;
	}
	.homedetail .details {
		display:block;
		padding:0px 20px;
	}
	.homedetail .heading, .homedetail .value, .homedetail .neighborhood, .homedetail .amenities.value *, .homedetail .detailbox {
		letter-spacing:normal;
		float:none;
		font-weight:normal;
		width:auto;
		display:inline-block;
		font-size:13px;
		text-transform:none;
	}
	.homedetail .price.value, .homedetail .sqft.value {
		font-weight:normal;
		font-style:normal;
		font-size:13px;
	}
	.homedetail .description {
		padding-top:10px;
	}
	.homedetail .description .heading {
		display:block;
		font-weight:normal;
		font-style:italic;
		text-transform:capitalize;
		float:none;
	}
	.homedetail .value, .homedetail .description .heading {
		font-size:13px;
	}
	.homedetail .amenities p {
		margin-top:2px;
	}
	.homedetail .builderReps .header {
		background:none;
		color:#6f3502;
		font-size:20px;
		font-weight:normal;
		text-transform:uppercase;
		width:auto;
	}
	.homedetail .builderReps .photo {
		display:none;
	}
	.homedetail .builderReps .repinfo {
		padding:0px 20px;
	}
	.homedetail .builderReps h4 {
		color:#000;
		text-transform:none;
		font-size:17px;
	}
	.homecontact h1 {
		font-size:18px;
		color:#6f3502;
	}
	.homecontact {
		background:none;
		border:none;
	}
	.homecontact .content, .homecontact .content div  {
		margin-top:0px;
		color:#000;
	}
	.homecontact .introtext, .homecontact .content .highlight, .homecontact ul li {
		color:#000 !important;
	}
	.homecontact .introtext {
		background:none;
	}
	.homecontact .customform {
		color:#000;
	}
	.homecontact .customform input[type=text], .homecontact textarea {
		background:#d4cbb1;
		border:none;
		padding:10px 5px;
		color:rgba(0,0,0,.6);
	}
	
	.homecontact .button {
		padding:15px 0px;
	}
	.collapsible .handle {
		cursor:pointer;
		padding:15px 15px;
		background:rgba(0,0,0,.5);
		color: rgba(255,255,255,.8);
		position:relative;
	}
	.collapsible .handle a{
		color:#fff;
		text-decoration:none;
		display:block;
	}
	.collapsed .content {
		display:none;
	}
	.collapsible .handle .icon {
		position:absolute;
		top:0;
		right:10px;
		font-weight:bold;
		cursor:pointer;
		font-size:30px;
		display:inline-block;
		height:100%;
		line-height:50px;
	}
	.collapsible.expanded .handle .icon:after {
		content:"-";
	}
	.collapsible.collapsed .handle .icon:after {
		content:"+";
		display:inline-block;
		height:100%;
	}
	/* --------------------------------------------- */
	/* Builder page */
	.builder h1 {
		background-color:#1f2728;
		color:rgba(255,255,255,1);
		font-weight:bold;
		padding:12px 22px;
		font-size:14px;
		margin-bottom:5px !important;
	}
	.p_home-builders .bodymid .innerPages, .p_home-search-results .bodymid .innerPages, .p_houston_home .bodymid .innerPages {
		padding:0;
	}
	.p_home-builders .dynamic, .p_home-search-results .dynamic {
		padding:10px 20px 0px 20px;
	}
	.p_home-search-results .mobileonly .customform {
		padding-left:20px;
		text-transform:uppercase;
	}
	.p_home-builders #content_builders_bottom {
		padding:0px 15px;
	}
	.p_home-search-results .mobileonly .customform .selectboxit {
		width:200px !important;
	}
	.builder h3.handle {
		background:#766661;
		background-size:cover;
		font-size:20px;
		color:#e2dac5;
	    font-family:"garamond-premier-pro-display", serif;
	}
	.builderRow .builderPhoto, .builderRow .details {
		display:block;
		width:100%;
		text-align:center;
		padding:0px;
	}
	.builder .builderRow {
		float:none;
		height:auto;
		margin:10px 0px;
	}
	.builder .builderRow .mobileBox {
		margin-top:3px;
		text-align:left;
	}
	.innerPages .mobileBox, .mobileBox, .mobileBox p, .mobileBox div, .mobileBox * {
		color:#fff;
	}
	.innerPages .mobileBox .builderButton {
		text-decoration:none;
		font-size:14px;
		font-weight:bold;
		background:rgba(255,255,255,.7);
		height:auto;
		letter-spacing:normal;
		text-align:center;
	}
	.innerPages .mobileBox .builderButton a {
		color:#587330;
	}
	.builderRow .mobileBox .reps {
		font-size:19px;
	    font-family:"garamond-premier-pro-display", serif;
		text-transform:uppercase;
		text-align:left;
	}
	div.builderButton {
		padding:5px 20px;
	}
	.builder .builderRow .photo {
		height:auto;
	}
	.builderRow .builderPhoto {
		margin-bottom:20px;
	}
	.builderRow h2 {
		text-align:center;
		text-decoration:none;
		text-transform:none;
		font-weight:bold;
	}
	.builderRow .moreinfo {
		margin-top:10px;
	}
	.builderRow .content {
		text-align:left;
		padding:15px;
		background:url('/images/background_mobilebox.jpg');
		color:#fff;
	}
	.builderButton {
		height:auto;
		border:0px;
	}
	.builderRow .content .builderButton a {
		color:#6d9100;
	}
	.builderRow .content * {
		color:#fff;
	}
	.builderRow .content a {
		color:#000;
	}
	.builderRow .content h1 {
		background:none;
		font-size:20px;
		padding:10px 0px;
	}
	.builderRow .content .phone, .builderRow .content .phone a{
		color:#ffffff;
		text-decoration:none;
	}
	.builderRow .moreinfo.handle {
		background:#b6bd00;
		text-transform:uppercase;
		text-align:left;
		font-weight:bold;
	}
	div.builderButton {
		font-size:10px;
	}
	/* --------------------------------------------- */
	.newsBody td, .newsBody table, .newsBody tr, .newsBody tbody, .newsdate.container{
		display:block;
		width:auto;
		clear:both;
	}
	.newsdate.container {
	}
	.newsBody {
		float:none;
		width:auto;
		padding:0px 25px;
	}
	.newsText {
		padding-top:10px;
		padding-right:0;
	}
	.newsNav {
		display:none;
	}
	.jcarousel-container-horizontal {
		width:80%;
		margin:0px auto;
	}
	ul.innernav li {
		font-size:12px;
	}
	ul.innernav li img {
		width:40px;
	}

	table.collapsible, table.collapsible td, td.collapsible {
		display:block;
		width:auto !important;
	}
	.collapsible td {
		border:none !important;
	}
	#footer, .footerBottom, .footerLogo {
		display:block;
		width:auto;
		text-align:center;
	}
	.footerLogo {
		border-right:none;
	}
	#sidenav_below, .sideBox_bottom {
		text-align:center !important;
		position:static;
		margin:0px;
		padding-bottom:10px;
	}
	.sideBox_bottom { 
		width:100%;
	}
	.bodyleft {
		z-index:1;
	}
	.bodyleft div, .bodyleft p {
		text-align:center !important;
	}
	.bodyleft .press * {
		text-align:left !important;
	}
	.bodymid .share {
		float:none;
		width:auto;
		margin-top:0;
		margin-bottom:10px;
	}
	.featureBox.newsletter {
		padding-right:0;
		background:none;
		display:block;
		width:auto;
	}
	.homefinderMobile {
		border-bottom:20px solid #000000;
	}
	#newsletterBox, .homefinderMobile, .mobileBox {
		background:url('/images/background_mobilebox.jpg') repeat-y center center;
		background-size: cover;
		padding:15px 10px;
	}
	#newsletterBox h3, .homefinderMobile h1 {
		color:#ffffff;
		text-transform:uppercase;
		font-size:25px;
		text-align:left;
		padding-left:5px;
	}
	#newsletterBox form > div {
		margin-left:0px !important;
		text-align:center;
	}
	#newsletterBox .button, .homefinderMobile .button {
		float:none;
		display:block;
		width:99%;
		padding:12px 7px;
		margin:0px auto;
		margin-top:15px;
	}
	#newsletterBox .button {
		width:auto;
	}
	#newsletterBox input.firstinput, #newsletterBox input[type=text] {
		width:95%;
		background:rgba(0,0,0,.5);
		padding:6px 5px;
		margin-bottom:10px;
	}
	#newsletterBox .selectBox {
		width:93.5%;
		display:inline-block;
	}
	#newsletterBox .selectboxit {
		width:100% !important;
		background:rgba(0,0,0,.3);
		text-align:left;
	}
	.homefinderMobile {
		padding-bottom:30px;
	}
	.homefinderMobile .option {
		background:rgba(0,0,0,.3);
		margin:5px 0px;
		color:#fff;
		padding:15px 15px;
	}
	.homefinderMobile .option input {
		-webkit-appearance:none;
		background:rgba(255,255,255,.3);
		display:inline-block;
		width:30px;
		height:30px;
		border-radius:30px;
		float:right;
		outline:none;
		position:relative;
		top:-10px;
	}
	.homefinderMobile .option input:checked:after {
		content:"\2713";
		color:#fff;
		display:block;
		text-align:center;
		font-size:24px;
	}
	.homefinderMobile .collapsible {
		margin-bottom:10px;
	}
	.innerBox .bodyleft {
		display:block;
	}
	#homeBanner #sliderNav {
		display:none;
	}
	.selectboxit-container, .p_contact .customform input[type=text] {
		max-width:80%;
	}
	.bodyleft .press h2, .bodyleft .presslinks {
		padding-left: 20px;
	}
	.contactcomplete {
		width:100%;
	}
	.contactcomplete form {
		padding:0px 10px;
	}
	.contactcomplete input, .contactcomplete select, .contactcomplete textarea {
		max-width:90%;
	}
	.contactcomplete select, .contactcomplete .inputbox {
		float:none !important;
	}
	.contactcomplete select {
		-webkit-appearance:none;
	}
	textarea {
		max-width:100%;
	}
	.dynamic img {
		float:none !important;
		display:block;
		margin:5px auto !important;
		width:auto;
	}
    .dynamic table:not(.noCollapse), .dynamic table:not(.noCollapse) tr, .dynamic table:not(.noCollapse) td, .dynamic table:not(.noCollapse) tbody, #footer table:not(.noCollapse) td {
        width:auto !important;
        height:auto !important;
	 	display:block;
    }
    video {
    	height:auto;
    }
}
/* not mobile */
@media (min-width : 670px) {
}
