/* Smartphones (portrait) ----------- */
@media only screen and (max-width : 578px) {
	input[type="text"]{
		-webkit-appearance:none;
		-moz-appearance:none;
	}
	.wrapper {
		margin-top:0;
		margin-bottom:0;
		padding-top:10px;
		padding-bottom:0px;
	}
	header {
		padding-top:0;
	}
	.container{
		width:275px;
		/*padding:0 5px;*/
	}
	.container:after {
		content:"";
		display:block;
		clear:both;
		height:0;
		line-height:0;
	}
	.content {
		width: 100%;
		padding-top:97px;
		margin-top:0;
	}
	a, a:hover {
		line-height: 15px;
	}
	.header-top {
		padding-bottom:12px;
		overflow: hidden;
		height:30px;
	}
	#page-login .header-top {
		height:90px;
	}
	.header-top:after {
		content:"";
		clear:both;
		display:block;
		height:0;
		font-size:0;
		line-height:0;
	}
	.logo {
		margin-left:-38px;
		width:77px;
		height:30px;
		position:absolute;
		left:50%;
		top:10px;
	}
	.logo a,
	.logo img {
		display:block;
		height:30px;
		width:81px;
	}
	.social-link {
		/*position: initial;*/
		text-align: center;
		margin-top: 14px;/*19*/
		/*float:right;*/
		/*margin-right:10px;*/
		right:0;
	}
	.social-link a {
		display:block;
		float:left;
		margin-right:5px;
		height:23px;
		width:23px;
		margin-left:0;
	}
	.social-link a[href="/"] {
		margin-right:0;
	}
	.social-link a span {
		margin-left:0;
		-webkit-background-size:23px 23px !important;
		-moz-background-size:23px 23px !important;
		-ie-background-size:23px 23px !important;
		-o-background-size:23px 23px !important;
		background-size:23px 23px !important;
	}
	.social-link a span.mail-icon {
		/*background-image:url(/images/mail-icon-small.png);*/
		background-image:url(/images/icon_control1_mobile_email.jpg);
		height:23px;
		width:23px;
	}
	.social-link a:hover span.mail-icon {
		background-image:url(/images/icon_control2_mobile_email.jpg);
	}
	.social-link a span.phone-icon {
		/*background-image:url(/images/phone-icon-small.png);*/
		background-image:url(/images/icon_control1_mobile_call.jpg);
		height:23px;
		width:23px;
	}
	.social-link a:hover span.phone-icon {
		background-image:url(/images/icon_control2_mobile_call.jpg);
	}
	.social-link a span.btn-icon {
		/*background-image:url(/images/icon3-small.png);*/
		background-image:url(/images/icon_control1_mobile_dash.jpg);
		height:23px;
		width:23px;
	}
	.social-link a:hover span.btn-icon {
		background-image:url(/images/icon_control2_mobile_dash.jpg);
	}
	.header-btm {
		/*margin:0 5px;*/
		padding-bottom:10px;
		padding-top:10px;
	}
	.header-btm> form{
		/*margin-left: -19px;	*/
	}
	@-moz-document url-prefix() {
		.header-btm> form{
			/*margin-left: -12px;	*/
		}
	}
	.header-btm input[type="text"] {
		float: left;
		font-size: 10px;
		margin-left: 0;
		margin-right: 0;
		padding: 6px 14px 5px;
		width: 111px;
	}
	.header-btm input[type="submit"] {
		padding: 7px 14px;	
		font-size:8px;
		font-weight:bold;
	}
	#search_submit {
		padding:0 !important;
		line-height:25px;
		text-align:center;
		width:40px;
		display:block;
		float:right;
		background:white;
		border:1px solid #e5e5e5;
		font-size:8px;
		font-weight:bold;
		margin-right:0px;
		color:white;
		background:#e5e5e5;
	}
	#search_submit:hover {
		background:#b7b7b7;
		color:white;
	}
	#search_go {
		display:block;
		position:absolute !important;
		top:2px !important;
		left:118px !important;
		margin:0 !important;
	}
	.home-icons article {
		margin: 0 20px 19px 16px;
		width: 35%;
	}
	.home-icons {
		width: 80%;
		padding-bottom:0;
	}
	.home-icons a {
		display:block;
	}
	.home-icons a img {
		margin-bottom:8px;
	}
	.home-icons h1 {
		font-size:9px;
	}
	.greyRound-btn {
		margin:0 auto;
		width:182px !important;
		position:relative;
		left:3px;
	}
	footer .grey a {
		font-size:9px;
		font-weight:bold;
		padding:10px 0;
	}
	.log-box {
		padding: 25px 20px;
		width: 93%;
		margin-bottom: -33px;
	}
	.log-box .log-box {
		width:100%;	
	}
	.log-box p, .log-box a {
		font-size: 9px;
		line-height: 12px;
	}
	.log-box .Logbox-content {
		width: 96%;
		margin-top: 7px;
		padding: 19px 14px;
		margin-bottom: 0;
	}
	.Logbox-content h5{
		padding-bottom: 9px;	
	}
	.log-box img {
		width: 100%;
		margin-bottom: 13px;
	}
	#mainwrapper {
		width: 100%;
		margin:0 auto;
		padding-bottom: 0;
	}
	#mainwrapper .property-list-box:nth-of-type(2n){
		margin-right:0;	
	}
	.property-dtl {
		width: 88%;
		padding: 8px 6px;
	}
	@-moz-document url-prefix() {
		.property-dtl {
			width: 87%;
			padding: 8px 6px;
		}
	}
	.property-slider {
		margin-top:12px;
		margin-bottom:12px;
	}
	.property-heading h1 {
		font-size: 11px;
	}
	.property-heading .city {
		font-size: 9px;
	}
	#floorplan {
		padding-top:8px;
	}
	#video .detail-caption {
		margin-bottom:25px;
	}
	#local {
		padding-top:5px;
	}
	.property-heading p.propertyPrice {
		font-size: 24px;
		line-height: 34px;
	}
	.property-heading {
		padding: 19px 22px 11px 22px;
	}
	.property-slider #bx-pager a img {
		width: 65px;
		height: 49px;
	}
	.red-btn {
		width: 31.2%;
		height: 35px;
		margin: 0px 7px 6px 0;
	}
	.whiteRound-btn a {
		padding: 10px 0 !important;
		line-height: 15px !important;
		font-size: 10px !important;
	}
	.content .whiteRound-btn:nth-of-type(3){
		margin-right:0 !important;	
	}
	.property-center-text p {
		font-size: 11px;
		line-height: 19px;
	}
	.red-btn2 a {
		font-size: 12px;
	}
	#alert_div .red-btn2 {
		margin-bottom:8px;
	}
	.full-red-btn a {
		font-size: 16px !important;
	}
	form.property-alert p {
		padding: 6px 15px 2px 15px;
		text-align: left;
		margin-bottom: 12px;
	}
	form.property-alert .styled-select {
		width: 93px;
	}
	form.property-alert .dropdown {
		background: url(../images/vertical.png) 170px no-repeat;
		padding: 3px 15px 5px 15px;
	}
	form.property-alert select {
		font-size: 10px;
		height: 34px;
		width: 107px;
		font-weight:bold;
	}
	form.property-alert .styled-select {
		background: url(../images/dropdown-arrow.png) no-repeat right 14px;
	}
	@-moz-document url-prefix() { 
		form.property-alert .styled-select {
			background: url(../images/dropdown-arrow.png) no-repeat right 10px;
		}
	}
	form.property-alert .select2 {
		margin-left: 23px;
	}
	form.property-alert .dropdown2 .select2 {
		margin-left: 21px;
		width: 93px !important;
	}
	form.property-alert .dropdown2 .styled-select {
		width: 77px;
	}
	form.property-alert .dropdown3 .styled-select {
		width: 55%;
	}
	.vedio img{
		width:100%;
	}
	.reasons10 {
		margin-left: 63px;
		margin-top: 35px;
		width:212px;
	}	
	.map-description ul {
		margin-left: 0px;
		margin:0 auto;
		/*width:220px;*/
		width:186px;
	}
	.map-description ul li {
		font-size: 9px !important;
		margin: 4px;
	}
	.map-description ul li img {
		margin-right: 6px;
		width: 12px;
		margin-top: 5px;
	}
	#map .map-description, #page-map .map-description {
		width:100%;
		margin-bottom:0;
		padding-bottom:0;
	}
	#page-map .map-description {
		width:260px;
		margin:0 auto;
	}

	#page-map .map-description ul li {
		margin: 3px;
	}
	#page-map .map-description ul li img {
		margin-top: 1px;
	}
	#map .map-description ul, #page-map .map-description ul {
		width:100%;
	}
	#page-map .map-description ul {
		/*width:260px;*/
		width:210px;
		margin:0 auto;
	}
	#frm_email {
		width: 100%;
		padding: 18px 0px;
		border-top:0;
	}
	footer {
		position:fixed;
		bottom:0;
		left:0;
		width:100%;
		/*background: none repeat scroll 0 0 rgba(255, 255, 255, 0.95);*/
		/*border-top: 1px solid #F2F2F2;*/
		height: 56px;
		padding:19px 0 0 0;
		z-index: 999;
	}
	footer .blue {
		width:90%;
		margin:0 auto;
	}
	footer .blue a {
		font-size:14px !important;
		font-weight:bold;
	}

	iframe {
		height:auto !important;
		width:100% !important;
	}
	#hidden-footer {
		width: 98%;
		margin-left: 3px;
		padding: 25px 0 0px 0;
	}
	.footer_error  {
		color: #C60024 !important;
		/*float: left;*/
		float:none;
		border:1px solid 	#C60024 !important;
		font-size:14px !important;
	}
	#send_email {
		font-size:14px !important;
	}
	.footer_error a,.footer_error a:hover{
	  color:#FFF;	
		font-size:18px !important;
	}
	#btn_div{width:275px !important;}
	.content .red-btn2line a {
		padding: 5px 0 12px 0 !important;
	line-height: 13px !important;
	}
	.red-btn-half {
		width: 48% !important;
	}
	.email-properties-button a {
		padding:10px 0 !important;
	}
	.email-properties-button {
		margin:0 auto !important;
		height:auto !important;
	}
	form.property-alert .dropdown .styled-select:nth-of-type(1){
		margin-left: 30px;
		width: 81px;	
	}
	form.property-alert .dropdown > .styled-select {
		left: 0px;
	}

	form.property-alert .styled-select {
		margin-left: 16px;
		width: 77px;
	}
	form.property-alert .dropdown2 .styled-select:nth-of-type(1){
		margin-left:9px;
		width:76px !important;	
	}
	form.property-alert .dropdown2 .styled-select {
		margin-left: 18px;
	width: 78px !important;
	}
	.red-btn2:hover a {
		font-size: 12px;
		line-height: 15px;
	}
	.red-btn:hover a {
		line-height: 15px;
	}
	footer input,
	#hidden-footer input {
		height: auto;
		line-height: 0;
		width: 100%;
		padding: 10px 0px;
		-webkit-border-radius:21px;
		-khtml-border-radius:21px;
		-moz-border-radius:21px;
		-ms-border-radius:21px;
		-o-border-radius:21px;
		border-radius:21px;
		font-size:11px;
		color:#b7b7b7 !important;
	}
	footer input[type="text"],
	#hidden-footer input[type="text"] {
		color:#b7b7b7 !important;
	}
	footer a.send, #hidden-footer a.send,
	footer a.cancel, #hidden-footer a.cancel {
		line-height: 35px;
		height: 35px;
	}
	h2 {
		width: 100%;
		font-size:18px;
		line-height: 26px;
	}
	h3 {
		font-size:10px;
		letter-spacing: -0.5px;
	}
	.full-red-btn {
		width: 99.5% !important;
	}
	.red-btn2 a{
		padding:9px 0 !important;	
	}
	#alert-footer {
		margin-left: -139px;
		width: 278px;
	}
	.property-list-box {
		margin: 0 29px 5px 0px;
		width: 123px;
		min-height: 180px;
	}
	#mainwrapper .property-list-boxnth-of-type(2n){
		margin-left:0;	
	}
	#btns_div {
		bottom: -30px;
		padding: 11px 0px 14px 0;
		z-index: 999;
	}
	@-moz-document url-prefix() { 
		#btns_div {
			padding: 16px 0px;
		}
	}
	#btns_div .container {
		width:275px;
	}
	#seller_btn_div{
		width: 275px;
		padding: 15px 0 7px !important;
		margin-left:-137px;
	}
	.property-center-text img{
		width:100%	
	}
	form.property-alert input[type="password"], form.property-alert input[type="text"]  {
		width: 68%;
		font-size: 11px;
		color: #D2D2D2 !important;
		font-weight: bold;
	}
	footer form, #hidden-footer form {
		width:88%;
	}
	footer .label, #hidden-footer .label {
		height:32px;
	}
	.property-dtl h1 a {
		font-size: 9px;
		line-height: 12px;
		display: block;
		height: 26px;
		overflow-y: hidden;
	}
	.property-dtl p.propertyPrice {
		line-height:16px;
		font-size:12px;
	}
	.property-dtl p.propertyPrice a {
		font-size:14px;
		line-height:16px;
		display:block;
	}
	.property-dtl .city a {
		font-size:7px;
		font-weight:bold;
	}
	.reasons10 li {
		font-size:50px;
		margin-bottom:18px;
		padding-left:0;
	}
	.reasons10 li p {
		font-size: 11px;
		line-height: 18px;
	}
	.reasons10 li span.index {
		left:-63px;
	}
	.property-alert {
		margin-top:-40px;
	}

	footer .label span,
	#hidden-footer .label span {
		height:					33px;
		line-height:			33px;
		font-size:11px;
		top:1px !important;
	}
	form.property-alert .dropdown label, form.property-alert .dropdown3 label {
		top: -3px;
	}
	@-moz-document url-prefix() { 
		form.property-alert .dropdown label, form.property-alert .dropdown3 label {
			top: -14px;
		}
	}
	form.property-alert input[type="password"] {
		margin-left: 6px;	
	}
	.touchcarousel .touchcarousel-container {
		width:697px !important;	
	}
	#page-log .touchcarousel .touchcarousel-container {
		width:2077px !important;
	}
	.header-btm nav {
		
		height:auto;	
	}
	.header-btm nav a {
		font-size:9px;	
	}
	.GoBtn {
	  font-size: 9px !important;
	  height: 24px !important;
	 /* left: -65px !important;*/
	 /*left:-62px !important;;*/
	  padding: 0 !important;
	  position: relative !important;
	  /*top: 2px;*/
	  top: 1px !important;;
	}
	.property-list-box .thumb .fixMailIcon {
		width: 36px !important;
		height:36px !important;
		right: 4px;
		top: 4px;
	}
	#mainwrapper .box img {
		width: 100%;
		height: 86px;
		border-radius: 3px;
	}
	#mainwrapper .box .caption span.fader {
		background: url(/images/icon_pic_tick2.png) no-repeat scroll center center rgba(0, 0, 0, 0);
		height: 36px !important;
		top: 4px;
		width: 36px !important;
		right: 4px;
		-webkit-background-size:36px 36px !important;
		-moz-background-size:36px 36px !important;
		-ie-background-size:36px 36px !important;
		-o-background-size:36px 36px !important;
		background-size:36px 36px !important;
	}
	#seller_btn_div .red-btn-half:nth-of-type(2){
		margin-right:0;	
	}
	.property-alert{
		text-align:center;
		width:275px;
	}
	input[type="submit"], #search_submit {
		padding: 10px 52px 10px 50px;
		margin-left: 0;
		-webkit-appearance:none;
		-moz-appearance:none;
		-webkit-border-radius:none;
		-khtml-border-radius:none;
		-moz-border-radius:none;
		-ms-border-radius:none;
		-o-border-radius:none;
		border-radius:none;
	}
	#btns_div{
		/*border-top: 1px solid #F2F2F2;	*/
	}
	.property-center-text {
		width: 100% !important;
	}
	#description {
		padding-top: 14px !important;
	}
	#video {
		padding-top:14px;
	}
	form.property-alert label {
		font-size: 9px;
	}
	.detail-caption {
		margin:0 0 20px 0;
		font-size:11px;
	}
	.property-dtl .city {
		line-height:9px;
	}
	.option-all {
		margin-left:13px !important
	}
	.option-sold {
		margin-right:0 !important;
	}
	form.property-alert input[type="text"].passkey {
		font-size:11px;
		text-align: center;
		color:black !important;
		font-weight:bold;
		width:100% !important;
		margin:0 !important;
	}
	form.property-alert input[type="text"].passkey::-moz-placeholder {
		color: #000000 !important;
		opacity: 1;
	}
	#login-content {
		padding-top:130px;
	}
	#login-button {
		font-weight:bold;
		width:100%;
	}
	/*#page-login .logo {
		display:block;
		margin:0 auto;
		position:relative;
		width:101px;
		left:0;
		width:100%;
		height:40px;
		margin-top:40px;
	}
	#page-login .logo a {
		height:40px;
		width:101px;
		display:block;
		margin:0 auto;
	}
	#page-login .logo img {
		height:40px;
		width:101px;
		display:block;
		margin:0 auto;
	}*/
	#email_error {
		margin-left:0;
	}
	.passkey-p {
		margin-bottom:6px !important;
	}
	#page-map .option-all {
		margin-left: 11px !important;
	}
	#romma_app:hover {
		border:1px solid #81CA2A;
		background:#81CA2A;
	}
	#romma_app a:hover {
		color:white;
		background:#81CA2A;
	}
	.login, .logout {
		position:absolute;
		left: 0px;
		top: 14px;
		height:23px;
		width:23x;
	}
	.login a, .logout a {
		display:block;
		overflow:hidden;
		height:23px;
		width:23px;
		background:url(/images/icon_control1_mobile_passkey.jpg) scroll no-repeat left top transparent;
		font-size:0;
		line-height:0;
		text-indent:-27px;
		-webkit-background-size:23px 23px;
		-moz-background-size:23px 23px;
		-ie-background-size:23px 23px;
		-o-background-size:23px 23px;
		background-size:23px 23px;
	}
	.login a:hover, .logout a:hover {
		background-image:url(/images/icon_control2_mobile_passkey.jpg);
		font-size:0;
	}
	.Logbox-img {
		float:left;
		width:35%;
		margin-right:10px;
	}
	#properties-filter {
		margin:0 auto;
		width:270px;
	}
	.log-title {
		font-size:8px;
	}
	.logbox-prop-desc h5 {
		font-size:9px;

	}
	.logbox-prop-desc p, .log-box-search-parameters p {
		line-height:12px !important;
	}
	.log-box {
		overflow:hidden;
		padding:1px 20px;
		margin-bottom: 0px;
	}
	.log-box-viewed-property {
		margin-bottom:0;
		margin-top:0px;
	}
	form.property-alert .styled-select {
		background:url(../images/arrow_drop_mobile.jpg) scroll no-repeat right center;
	}
	.property-header-btm {
		width:275px;
	}
	#btns_div .red-btn {
		width:83px;
		height:35px;
	}
	#alert_div {
		width: 275px;
	}
	.vedio {
		margin: 0 auto 27px;
		width: 275px;
	}
	#page-log .touchcarousel {
		width:275px !important;
	}
	#frm_head {
		width:182px;
	}
	form.property-alert .dropdown > .select2 {
		width:77px !important;
	}
#hidden-footer .doubled-up{
	overflow:				hidden;
	height:					30px;
	border:					1px solid #b2b2b2;
	-webkit-border-radius:	21px;
	-khtml-border-radius:	21px;
	-moz-border-radius:		21px;
	-ms-border-radius:		21px;
	-o-border-radius:		21px;
	border-radius:			21px;
}
#hidden-footer .doubled-up b {
	height:					22px;
	line-height:			22px;
	color:					black;
	font-size:				8px;
	display:				block;
	width:					70px;
	text-align:				left;
	position:				relative;
	top:					4px;
	left:					0;
	float:					left;
	font-weight:			normal;
	text-indent:			20px;
	border-right:			1px solid #b2b2b2;
}
#hidden-footer .doubled-up #to_name,
#hidden-footer .doubled-up #from_name {
	float:					left;
	border:					0;
	border-right:			1px solid #b2b2b2;
	top:					4px;
	height:					22px;
	line-height:			22px;
	width:					95px;
	-webkit-border-radius:	0;
	-khtml-border-radius:	0;
	-moz-border-radius:		0;
	-ms-border-radius:		0;
	-o-border-radius:		0;
	border-radius:			0;
	padding:				0;
}
#hidden-footer .doubled-up #to_email,
#hidden-footer .doubled-up #from_email {
	float:					left;
	border:					0;
	top:					4px;
	height:					22px;
	line-height:			22px;
	width:					95px;
	-webkit-border-radius:	0;
	-khtml-border-radius:	0;
	-moz-border-radius:		0;
	-ms-border-radius:		0;
	-o-border-radius:		0;
	border-radius:			0;
	padding:				0;
}
#hidden-footer .doubled-up #to_name::-webkit-placeholder,
#hidden-footer .doubled-up #to_email::-webkit-placeholder,
#hidden-footer .doubled-up #from_name::-webkit-placeholder,
#hidden-footer .doubled-up #from_email::-webkit-placeholder {
	font-size:				11px;
	-webkit-opacity:		1;
	-khtml-opacity:			1;
	opacity:				1;
	color:					#B7B7B7 !important;
	font-family:			Arial,Helvetica,sans-serif;
}
#hidden-footer .doubled-up #to_name::-moz-placeholder,
#hidden-footer .doubled-up #to_email::-moz-placeholder,
#hidden-footer .doubled-up #from_name::-moz-placeholder,
#hidden-footer .doubled-up #from_email::-moz-placeholder {
	font-size:				11px;
	-moz-opacity:			1;
	opacity:				1;
	color:					#B7B7B7 !important;
	font-family:			Arial,Helvetica,sans-serif;
}
}
/* Desktops and laptops ----------- */
@media only screen and (min-width : 1224px) {

}

@media screen and (device-aspect-ratio: 40/71) {
	.header-btm input[type="text"] {
		/*margin-left:27px;
		width:176px;*/
		/*margin-left:12px;
		width:184px;*/
	}
	#search_go {
		/*left:208px !important;*/
	}
	.red-btn {
		/*margin-right:7px;*/
	}
}