#DSContents {
    margin: 0;
	float:left;
    padding: 0 10px;
    width: 1120px;	
}



#primaryContent {
    clear: left;
    float: left;
    font-size: 12px;
    width: 800px;
	border: #000000 solid 0px;
}

#secondaryContent {
    
    float: left;
    font-size: 12px;
    width: 299px;
	margin-left:15px;
	border: #000000 solid 0px;
}
.p_desc{
	float:left;
	width:100%;
}

.p_desc h2{ 
	color: #5E5E5E;
    float: left;
    font-size: 20px;
    font-weight: bold;
    margin: 15px 0 15px;
    width: 100%;
}

.p_desc p {
 	color: #5E5E5E;
    float: left;
    font-size: 14px;
    line-height: 20px;
    margin: 0;
    width: 100%;
}

#features { float:left; width:100%; margin:20px 0 20px 0; color:#5E5E5E;}

.featureListWrapper {
    float: left;
    margin-right: 18px;
    width: 325px;
}
.featureList {
   width: 300px;
 float:left;
 margin-bottom:5px;
}
.featureList ul:first-child {
    padding-top: 0;
}
.featureList li span {
    font-weight: bold;
}

.featureListWrapper ul { list-style: none outside none;}

.featureList li {
    line-height: 17px;
}
.feature_header { font-size:16px; font-weight:bold; margin-bottom:5px;}
.featureList span {
    font-weight: bold;
 font-size:14px;
}


#favoriteLinksInner {
    background: none repeat scroll 0 0 #FFFFFF;
    border: 1px solid #CCCCCC;
    padding: 10px 10px;
    position: relative;
}


.horizontalLinkList {
    overflow: hidden;
}
.linkList, .linkList li {
    list-style: none outside none;
    margin: 0;
    padding: 0;
}
#favoriteLinksInner ul, ol {
    list-style: none outside none;
}
#favoriteLinksInner ul, ol {
    margin: 0;
    padding: 0;
}

#favoriteLinks li {
    float: left;
    margin: 0 0 5px;
    width: 50%;
}



#favoriteLinks li.print a {
    background-position: 0 -86px;
	
}


#favoriteLinks a {
    background: url("../../img/theme1/sprite_bg.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
    float: left;
    font-size: 11px;
    line-height: 20px;
    padding: 0 0 0 22px;
	cursor:pointer;
	text-decoration:none;
	color:#5E5E5E;
}

#favoriteLinks a:hover
{
	color:#BA281A;
}

#favoriteLinks li.directions a {
    background-position: 0 -110px;
}

#favoriteLinks li.email a {
    background-position: 0 -157px;
}

#favoriteLinks li.twitter a {
    background-position: 0 -133px;
}

#facebookLike {
    background: url("../../img/theme1/dashed_dotted.gif") repeat-x scroll 0 0 rgba(0, 0, 0, 0);
    clear: both;   
    margin-top: 10px;   
}
#favoriteLinks .facebooke a{ background:none; padding:0; padding-left:3px;}


#secondaryContent .stackItem {
    clear: both;
    margin-bottom: 8px;
	margin-top:37px;
}



.listing-map-tabs .tab {
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    background-color: #FFFFFF;
    border: 1px solid #CCCCCC;
    border-image: none;
    border-width: 1px 1px 0;
    float: left;
    font-size: 12px;
    margin-right: 3px;
    position: relative;
    top: 1px;
}

.listing-map-tabs .tab a {
    background: url("../../img/theme1/map_ico.png") no-repeat scroll 7px 4px rgba(0, 0, 0, 0);
    color: #666666;
    float: left;
    font-size: 12px;
    padding: 4px 7px 2px 22px;
	text-decoration:none;
}

.listing-map-tabs .enlargeStreetView a {
    background: url("../../img/theme1/map_str.png") no-repeat scroll 4px -18px rgba(0, 0, 0, 0);
}
.listing-map-contents {
    border: 1px solid #CCCCCC;
    clear: both;
    padding: 7px;
}
.listing-map-contents img{ border: 1px solid #CCCCCC;}

#photoViewer {
    float:left;
    width: 100%;
	
	background: url("../../img/theme1/photoviewer-gradient.png") repeat-x scroll 0 100% rgba(0, 0, 0, 0);
}

#photoViewer.large {
    
}


.cont_tab
{
	-moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    background-color: #FFFFFF;
    border: 1px solid #CCCCCC;
    border-image: none;
    border-width: 1px 1px 0;
    float: left;
    font-size: 14px;
    margin-right: 5px;
    position: relative;
	font-weight:bold;
    top: 1px;
	padding:10px;
	color:#666666;
	background-color:#F4F4F5;
	cursor:pointer;
}

.cont_tab a { text-decoration:none; color:#5e5e5e}

.tab_desc_box
{
	border: 1px solid #CCCCCC;
    clear: both;
    padding: 7px;
	float:left;
	min-height:450px;
	background:#FFFFFF;
}

.tab_desc_box_in 
{
	float:left;
	width:785px;

}

.tab_pd
{
	padding-left:20px;
	 background: url("../../img/theme1/de_icon.png") no-repeat 0px 0px;
}
.tab_vie
{
	padding-left:20px;
	 background: url("../../img/theme1/video-icon.png") no-repeat 0px 0px;
}

.tab_file
{
	padding-left:20px;
	 background: url("../../img/theme1/downloads-icon.png") no-repeat 0px 0px;
}

.tab_active{ background-color:#FFFFFF}


/*Other lisitng*/

.view-listing-featuredlist {
    background-color: #FFFFFF;
    margin: 5px 0 9px;
	float:left;
	width:1115px;
}
.base-box-border {
    border-radius: 4px;
}
.base-box-shadow {
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.view-listing-featuredlist .headerBar {
   /* background: linear-gradient(#000, #999) repeat scroll 0 0 #333;*/
    border-radius: 4px 4px 0 0;
    cursor: pointer;
    /*margin-top: 1px;*/
    position: relative;
	
	
	background: #617BA0;
	background: -moz-linear-gradient(#000,#999);
	background: -ms-linear-gradient(#000,#999);
	background: -webkit-linear-gradient(#000,#999);
	background: -o-linear-gradient(#000,#999);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#000,endColorstr=#999);
	-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#FF617Ba0,endColorstr=#FF204375)";
	
	background: linear-gradient(#000,#999);
	background-color: #999;
}
.view-listing-featuredlist .headerBar .title {
    color: #FFFFFF;
    font-size: 0.9em;
    font-weight: bold;
    margin-left: 12px;
    padding: 8px 0;
}

.view-listing-featuredlist .results-body {
    padding: 8px 0;
	float:left;
	width:100%;
}


.results-list {
    padding: 0;
}
.results-body ul {
    list-style: none outside none;
}
.results-bodyw ul {
    margin-left: 0;
    padding: 0 0 0 40px;
}

.results-list .listing {
    background: none repeat scroll 0 0 #F8F8F8;
    border-bottom: 1px solid #DDDDDD;
    cursor: pointer;
    margin: 0;
	margin-bottom:10px;
	padding:10px 0 10px 0;
   /* position: relative;*/
    transition: box-shadow 400ms ease 0s;
	float:left;
	width:100%;
}

.results-list .listing:hover
{
	background: none repeat scroll 0 0 #FFFFFF;
    box-shadow: 0 0 50px 0 rgba(0, 0, 0, 0.3);
    transition: box-shadow 400ms ease 0s;
    z-index: 50;
}

.results-body .photo {
    margin:5px;
	margin-left:20px;
	float:left;
	border: 3px solid #FFFFFF;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.4);
	position:relative;
	width:150px;
	min-height:80px;
	
}
.results-body .info { float:left;}

.listing .info .key-data {
    display: inline-block;
    
    min-height: 100px;
    padding: 10px 0 0 10px;
    vertical-align: top;
    width: 115px;
}

.key-data h3 { margin-top:0; font-size:18px}

.listing .info .price {

    text-align: left;
    width: 115px;
	color:#307ec4;
	font-size:14px;
	font-weight:bold;
	margin-bottom:10px;
}

.dat_main { float:left; width:100%; margin-top:5px;}

.beds {
    border-right: 1px solid #808080;
   
	text-align:center;
	color:#5E5E5E;
	font-size:12px;
	width:45%;
	float:left;
}

.baths {
    border-right: 0px solid #808080;
   
	text-align:center;
	color:#5E5E5E;
	font-size:12px;
	width:45%;
	float:left;
}

.beds_no{
color: #5E5E5E;
    font-size: 18px;
    font-weight: 200;
    line-height: 24px;
}

.beds div {
    color: #5E5E5E;
    font-size: 18px;
    font-weight: 200;
    line-height: 24px;
    margin-bottom: -4px;
    text-align: center;
}

.desc_listing 
{
	float:left;
	width:800px;
	margin-top:3px;
	margin-bottom:5px;
}

.desc_btns 
{
	float:right;
	width:500px;
	margin-top:3px;
	margin-bottom:5px;
	text-align:right;
}

.desc_listing h2 {
 color:#307ec4;
 margin-bottom:5px;
 text-decoration:none;
 }
 
 .results-list .listing a{ text-decoration:none;}
 
.list_attachment
{
	margin:20px;
} 
.list_attachment li { list-style:none; margin-bottom:5px}
.list_attachment a{ color:#5E5E5E; font-size:14px; text-decoration:none; background:url(../../img/theme1/pdf.gif) no-repeat; padding-left:25px;}

.list_attachment a:hover{ text-decoration:underline;}

.btn_print
{
	background-color:#22B0D8; font-weight:bold; color:#5E5E5E; font-family:Arial, Helvetica, sans-serif; width:100px; height:30px
}
 
 
.terms-conditions_ad
{
	float:left;
	max-width:700px;
	margin:18px;
	color:#5e5e5e;
	font-size:14px;
	line-height:25px;
}

.btn_agree
{
  background-color:#CCCCCC;
  color:#666666;
  padding:10px 30px 10px 30px;
  font-size:16px;
  border-radius:20px;
  margin-right:10px;
}

.btnset
{
 margin-top:30px;
 text-align:center;
}

.video_listing { width:100%; height:400px;}
 
.search_top_bar { width:1100px; padding:0 10px 0 10px; float:left; margin-top:20px;} 

.box_sign { float:right; color:#5e5e5e;}
.box_sign_left { float:left; color:#5e5e5e;}

.an_sign { text-decoration:none; color:#307ec4 !important; font-size:14px; font-weight:bold;}
 
 .an_sign:hover { text-decoration:underline; color:#307ec4;}
 
 
.sea_main{ color:#5e5e5e}
.sea_head { background-color:#CCCCCC; }
.sea_main_td { padding:5px !important; border-bottom:#999999 solid 1px;  text-align:left; font-weight:bold;}
.sea_in_td { padding:5px !important; padding-bottom:20px !important;  border-bottom:#999999 solid 1px; text-align:left; }
 
 .tabs_cus{ float:left; width:110px;
 	border-radius: 4px 4px 0 0;
    cursor: pointer;
    /*margin-top: 1px;*/
    position: relative;
	background: #617BA0;
	background: -moz-linear-gradient(#000,#999);
	background: -ms-linear-gradient(#000,#999);
	background: -webkit-linear-gradient(#000,#999);
	background: -o-linear-gradient(#000,#999);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#000,endColorstr=#999);
	-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#FF617Ba0,endColorstr=#FF204375)";	
	background: linear-gradient(#000,#999);
	background-color: #999;
	padding:8px;
	margin:0 10px 0 0;
	color:#FFFFFF;
	font-size:12px;
	font-weight:bold;
	text-align:center;
 }

 .tabs_cus_active{ float:left; width:110px;
 	border-radius: 4px 4px 0 0;
    cursor: pointer;
    /*margin-top: 1px;*/
    position: relative;
	background: #617BA0;
	background: -moz-linear-gradient(#000,#999);
	background: -ms-linear-gradient(#000,#999);
	background: -webkit-linear-gradient(#000,#999);
	background: -o-linear-gradient(#000,#999);
	background:gray;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#000,endColorstr=#999);
	-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#FF617Ba0,endColorstr=#FF204375)";	
	/*background: linear-gradient(#000,#C6CED2);*/
	background:gray;
	background-color: #999;
	padding:8px;
	margin:0 10px 0 0;
	color:#FFFFFF;
	font-size:12px;
	font-weight:bold;
	text-align:center;
 }
 
 .tab_total_count { color:#5e5e5e; float:right; width:200px; text-align:right; font-size:14px; font-weight:bold;}
  .tab_save_search { color:#5e5e5e; float:left; width:200px; text-align:left; font-size:14px; font-weight:bold; padding-top:8px; margin-left:10px;}
 
 .frm_fields_box{ width:100%; float:left; color:#5e5e5e; margin-bottom:5px;}
 .frm_fields_box label { width:100px; float:left; padding:12px; text-align:right;}
 .frm_fld_input{ padding:8px; width:186px; color:#5e5e5e;}
 .frm_fld_input_sel{ padding:8px; width:100px; color:#5e5e5e;}
 .frm_fld_input_sel_med{ padding:8px; width:204px; color:#5e5e5e;}
 .frm_fld_btn{ padding:8px; background-color:#f2f2f2; font-size:14px; font-weight:bold; color:#5e5e5e; width:150px;}
 .frm_fld_btn2{  padding: 15px 14px; background-color:rgb(255, 153, 0); font-size:21px; font-weight:bold; color:#FFFFFF; 
 		  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset;
		 border-radius:6px; width:150px;}
 .frm_fld_btn2:hover {background-color: #d68100 !important;}
 
 .tab_box_main{float:left; width:1100px;}
 
 #signup_form { width:840px; height:500px;}
 #signin_form { width:840px; height:500px;}
 #forgot_password_form{ width:840px; height:500px;}
 
 .cus_width { width:135px;}
 .confirmpage_left{ width:55%; float:left;}
 .confirmpage_right{ width:45%; float:left;}
 .confirmpage_right img{ width:475px;}
 
 /* ########## terms and conditions agree button css start */
.agree_btns {
    background-color: #cccccc;
    border-radius: 20px;
    color: #666666;
    font-size: 16px;
    margin-right: 10px;
    padding: 10px 30px;
 	border:none;
 	font-weight:bold;
	cursor:pointer;
	margin-top:5px;
}
.agree_btns:hover{ color: #000099;}

/* ########## terms and conditions agree button css end */
 
 /************************************************************************************
smaller than 320 by 480
*************************************************************************************/
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px), (min-width: 768px) and (max-width: 800px) {
#DSContents { width:100% !important; padding:0; margin-top:20px;} 
#primaryContent{ width:100%;}

.tab_desc_box { width:98%; padding:3px; min-height:auto;}

.cont_tab { padding:10px; font-size:12px; }
.tab_pd, .tab_vie, .tab_file { padding-left:0; background:none;}
.tab_desc_box_in { width:100%;}
.featureListWrapper { width:100%; margin:0;}
.video_listing { width:100%; height:400px;}

#secondaryContent { width:100%; margin-left:0;}

.view-listing-featuredlist { width:100%;}
.results-body .photo { margin:5px;}
.desc_listing { width:60% !important; margin-left:5px;}
#photoViewer { display:none;}
.search_top_bar { width:98% !important;}

.tab_box_main {width:98%;}
#signup_form { width:700px;}
#signin_form { width:700px;}
#forgot_password_form { width:700px;}
.confirmpage_left, .confirmpage_right{ width:100%;}
.confirmpage_right img{ width:100%;}

.m_hme_srch { width:90% !important;}
}

@media screen and (min-width:375px) and (max-width:736px) and (orientation: landscape){
#DSContents { width:100% !important; padding:0; margin-top:20px;} 
#primaryContent{ width:100%;}

.tab_desc_box { width:98%; padding:3px; min-height:auto;}

.cont_tab { padding:10px; font-size:12px; }
.tab_pd, .tab_vie, .tab_file { padding-left:0; background:none;}
.tab_desc_box_in { width:100%;}
.featureListWrapper { width:100%; margin:0;}
.video_listing { width:100%; height:400px;}

#secondaryContent { width:100%; margin-left:0;}

.view-listing-featuredlist { width:100%;}
.results-body .photo { margin:5px;}
/*.desc_listing { width:60% !important; margin-left:5px;}*/
#photoViewer { display:none;}
.search_top_bar { width:98% !important;}

.tab_box_main {width:98%;}
#signup_form { width:700px;}
#signin_form { width:700px;}
#forgot_password_form { width:700px;}
.confirmpage_left, .confirmpage_right{ width:100%;}
.confirmpage_right img{ width:100%;}

.m_hme_srch { width:90% !important;}

}

@media screen and (min-width: 320px) and (max-width: 480px) {
#DSContents { width:100% !important; padding:0; margin-top:20px;} 
#primaryContent{ width:100%;}
.input_box_for_mls_no{ width:100% !important;}
.key_div{ width:100% !important; padding-left:0 !important; padding-right:0 !important; }
#refine_search_frm { width:100% !important;}

.tab_desc_box { width:98%; padding:3px; min-height:auto;}

.cont_tab { padding:10px; font-size:12px; }
.tab_pd, .tab_vie, .tab_file { padding-left:0; background:none;}
.tab_desc_box_in { width:100%;}
.featureListWrapper { width:100%; margin:0;}
.video_listing { width:100%; height:325px;}
/*#favoriteLinks {display:none;}*/
#secondaryContent { width:100%; margin-left:0;}

.view-listing-featuredlist { width:100%;}
.results-body .photo { margin:5px;}
.desc_listing { width:97%  !important; margin-left:5px;}
#photoViewer { display:none;}
.confirmpage_left, .confirmpage_right{ width:100%;}
.confirmpage_right img{ width:100%;}
/*.btnset { text-align:left;}*/
.search_top_bar { width:95%;}
.tab_box_main { width:100%;}

#signin_form{ width:100%;}
#forgot_password_form{ width:100%;}
.content_text { font-size:12px !important;}
#form-position-signin label { width:auto !important;}
.get_started{ width:100%;}
#form-position-signin input[type="text"], input.text { width:100%;}
.desc_btns{ width:100% !important; text-align:left;}

#signup_form { width:92%;}
.signup_ulli{ display:none;}
#form-position-signup label{ width:100% !important; text-align:left !important;}
#form-position-signup input[type="text"], input.text {width:90% !important;}

#reinfo_form{ width:100% !important;}
#form-position-reinfo label{ width:100% !important; text-align:left !important;}
#form-position-reinfo input[type="text"], input.text{width:90% !important;}
#reinfo_comments_request { width:100% !important; height:100px !important;}

#savesearch_form { width:100% !important;}
#form-position-savesearch label{ width:100% !important; text-align:left !important;}
#form-position-savesearch input[type="text"], input.text{width:90% !important;}
.m_hme_srch { width:90% !important;}

.div_33{ width:100% !important; }
.div_34{ width:100% !important; }
.div_25{ width:100% !important;}
.m_hme_fltr_param{ width:100% !important;} 
.div_med{ width:100%; float:left; text-align:left;} 
.m_hme_fltr {  width:100% !important;}
.m_hme_fltr_con{ width:100% !important;} 

}

@media screen and (min-width: 480px) and (max-width: 580px) {
#DSContents { width:100% !important; padding:0; margin-top:20px;} 
#primaryContent{ width:100%;}
.input_box_for_mls_no{ width:100% !important;}
.tab_desc_box { width:98%; padding:3px; min-height:auto;}
.key_div{ width:100% !important; padding-left:0 !important; padding-right:0 !important; }
#refine_search_frm { width:100% !important;}

.cont_tab { padding:10px; font-size:12px; }
.tab_pd, .tab_vie, .tab_file { padding-left:0; background:none;}
.tab_desc_box_in { width:100%;}
.featureListWrapper { width:100%; margin:0;}
.video_listing { width:100%; height:325px;}
/*#favoriteLinks {display:none;}*/
#secondaryContent { width:100%; margin-left:0;}

.view-listing-featuredlist { width:100%;}
.results-body .photo { margin:5px;}
.desc_listing { width:97% !important; margin-left:5px;}
#photoViewer { display:none;}
.confirmpage_left, .confirmpage_right{ width:100%;}
.confirmpage_right img{ width:100%;}
/*.btnset { text-align:left;}*/
.search_top_bar { width:100%;}
.tab_box_main { width:100%;}

#signin_form{ width:100%;}
#forgot_password_form{ width:100%;}
.content_text { font-size:12px !important;}
#form-position-signin label { width:auto !important;}
.get_started{ width:100%;}
#form-position-signin input[type="text"], input.text { width:100%;}
.desc_btns{ width:100% !important; text-align:left;}

#signup_form { width:100%;}
.signup_ulli{ display:none;}
#form-position-signup label{ width:100% !important; text-align:left !important;}
#form-position-signup input[type="text"], input.text {width:90% !important;}

#reinfo_form{ width:100% !important;}
#form-position-reinfo label{ width:100% !important; text-align:left !important;}
#form-position-reinfo input[type="text"], input.text{width:90% !important;}
#reinfo_comments_request { width:100% !important; height:100px !important;}

#savesearch_form { width:100% !important;}
#form-position-savesearch label{ width:100% !important; text-align:left !important;}
#form-position-savesearch input[type="text"], input.text{width:90% !important;}
.m_hme_srch { width:90% !important;}

.div_33{ width:100% !important; }
.div_34{ width:100% !important; }
.div_25{ width:100% !important;}
.m_hme_fltr_param{ width:100% !important;}
.div_med{ width:100%; float:left; text-align:left;} 
.m_hme_fltr {  width:100% !important;}
.m_hme_fltr_con{ width:100% !important;}

}

/* Large view iphone*/
@media screen and (device-aspect-ratio: 40/71) and (orientation : landscape) {
	#form-position-signin label{  width:40% !important;}
}




 