/******************************************************* * * 3. Mobile styles * *******************************************************/ @media only screen and (max-width:1340px) {		#nav > li:nth-last-of-type(1) .sub-menu {		right: 0;		left: initial;		transform: inherit;	}	}@media (min-width: 992px) and (max-width: 1199px) { /** Ipad Landscape **/	html {font-size: 14px;}	#main-header .hp-logo a.header-logo {width: 26%;}	#hp-fc .hp-fc-hover h4 {		margin-top: 10px;	}	#hp-fc .hp-fc-hover span {		padding-bottom: 10px;		margin-bottom: 10px;	}}@media (min-width: 768px) and (max-width: 991px) { /** Ipad Portrait **/	#hp-sitemap, #hp-weather {		width: 50%;	}	#hp-weather {		border-right: none;		padding-right: 0px;		padding-bottom: 25px;	}}@media only screen and (max-width: 991px) { /** Ipad Portrait to Itouch portrait **/	#main-header {		position: static !important;		animation: none !important;		transform: none !important;		text-align: center;		padding: 70px 0px 20px; 	}	#main-header .hp-left-header {		float: none;		width: 100%;	}	#hp-qs h3, #hp-qs .hp-qs-form {		width: 100%;	}	#hp-qs h3 {		text-align: center;		background-position: center;	}	#hp-cta .hp-cta-inner {		margin-bottom: 25px;	}	#hp-git h3 {		width: 100%;		float: none;		text-align: center;		margin-bottom: 15px;	}	#hp-git .hp-git-form {		width: 100%;	}	#hp-footer-contact {		width: 100%;		padding-left: 0px;		clear: both;		border-top: 1px solid rgba(255,255,255,0.1);		padding-top: 25px;	}	#hp-footer-contact img.footer-remax {		top: 25px;	}	#hp-fp .hp-fp-slide, #hp-fc .hp-fc-slide {		margin-left: 0px;		margin-right: 0px;		width: calc(100% - 114px);		margin: 0 auto;	}	.sidebar #hp-qs h3 {		background-position: center;	}	#content-sidebar, #content-full,	#content-sidebar #content, #content-full #content,	#content-sidebar .sidebar, #content-full .sidebar {	    width: 100%;	    padding: 0;	}	.page-id-188 .entry a {		overflow-wrap: break-word;		word-wrap: break-word;		-ms-word-break: break-all;		/* This is the dangerous one in WebKit, as it breaks things wherever */		word-break: break-all;		/* Instead use this non-standard one: */		word-break: break-word;		/* Adds a hyphen where the word breaks, if supported (No Blink) */		-ms-hyphens: auto;		-moz-hyphens: auto;		-webkit-hyphens: auto;		hyphens: auto;	}	.amh-header-buttons {		background: #EBEBEB;	}	.amh-navigation .amh-menu li a {		color: white;		background: #0c223f;	}	.amh-navigation .amh-menu .sub-menu li a {		background: #123a6f;	}	.amh-navigation .amh-menu li:hover > a, .amh-navigation .amh-menu li.open > a {		color: #0c223f;		background: white;	}	#hp-qs .qs-search-btn, #hp-qs .qs-adv-search-btn {		font-size: 0.75rem;	}	}@media (max-width: 767px) { /** Itouch portrait and Landscape **/	#hp-qs select, #hp-qs .qs-search-btn,	#hp-qs .qs-adv-search-btn {		width: 100% !important;		margin: 5px 0px !important;	}	#hp-sitemap, #hp-weather {		width: 100%;		padding-bottom: 25px;	}	#hp-weather {		border: none;		border-top: 1px solid rgba(255,255,255,0.1);		padding: 25px 0;	}	#hp-git .hp-contact-textarea-block, 	#hp-git .hp-contact-input-block,	#hp-git .hp-git-form input[type="submit"] {		width: 100% !important;		margin-bottom: 10px;	}	#hp-fp .hp-fp-price {font-size: 1rem;}	#hp-fp .hp-fp-beds-baths, #hp-fp .hp-fp-lot-size {font-size: 0.75rem;}	#hp-fp .hp-fp-address {font-size: 0.875rem;}	#hp-fp .hp-fp-hover .hp-fp-view {		padding: 8px 0px;		max-width: 100%;		height: 30px;		margin-top: 5%;	}	#hp-fc .hp-fc-hover h4 {		margin-top: 10px;		font-size: 1rem;	}	#hp-fc .hp-fc-hover span {		padding-bottom: 10px;		margin-bottom: 10px;	}	#hp-fc .hp-fc-hover p {		font-size: 0.75rem;	}	.hp-test-slide-wrap .hp-testi-controls .slider-prev, 	.hp-test-slide-wrap .hp-testi-controls .slider-next {		width: 20px;	}}@media only screen and (max-width: 991px) {	.hp-slide-hidden-text {		font-size: 13px;	}}@media only screen and (max-width: 520px) {	#main-header .hp-logo img {		min-width: 156px;		display: block;		margin: 0 auto 10px;	}	#main-header .hp-logo a {		border-left: none;		padding: 0;	}	#main-header .hp-logo h1 {		font-size: 1.3rem;	}	#hp-slideshow .cycloneslider-caption img {		margin-bottom: 0;		max-width: 28px;		width: 100%;	}	#hp-slideshow .hp-slide-hidden-text {		font-size: 11px;	}	#hp-testimonials .hp-testi-slide {	    padding: 0;	    width: calc(100% - 80px);	    margin: 0 auto;	}	#hp-slideshow .cycloneslider-caption {		bottom: 0;	}}@media (max-width: 480px) {	.MH-brown, #hp-footer-contact img.footer-remax {		position: static !important;		margin-bottom: 15px;	}	.slideshow-wrapper .slideshow-controls .cycle-prev, .slideshow-wrapper .slideshow-controls .cycle-next {		top: 40%;	}}