/* Global styles */
.mg-component h2 {
	clear: both;
}

#mg_preview_banner {
	position: fixed;
	top: 10px;
	left: 0;
  right: 0;
}


#mg_preview_banner div {	
	text-align: center;	
	padding: 5px;
	width: 700px;
	margin: auto;
	border: 1px solid #ccc;
	color: white;
	background-color: #F15B4F;
	font-weight: bold;
	opacity: .8;
}


/** default classes for rails which use non-standard capitalization **/

/* The error box */
.fieldWithErrors {
	display: inline;
}

.fieldWithErrors input, .fieldWithErrors textarea {
  border: 1px solid #F23B28;
  padding: 2px;
}


#errorExplanation {
	margin: auto;
	margin-bottom: 20px;
	padding: 15px;
	width: 410px;
	border: 2px solid #F23B28;
	background-color: #FCECEC;
}

#errorExplanation h2 {
	display: none;
}

#errorExplanation p {
	color: red;
	font-size:16px;
	font-weight: bold;
	margin: 0;
	padding: 6px 0 8px 9px;
}

#errorExplanation ul {
	margin: 2px 0 14px 30px;
	padding-left: 30px;
}

#errorExplanation ul li {
	font-size: 13px;
}

div.mg-error-notice {  
	margin: auto;
	margin-top: 50px;
	max-width: 500px;
	border: 1px solid #F23B28;
	padding: 20px 36px 15px 36px;
	background-color: #FFFBB8;
}

div.mg-error-notice h1 {
	width: auto;
	margin: 0;
	color: #000;
	font-size: 22px;
}

.mg-error-notice-title {
	margin-top: 50px;
	margin-left: 111px;
}

/** end default error classes **/

/** Pagination styles **/

.pagination {
  text-align: center;
  
	padding: 15px 2px;
}


.pagination ul {
	margin: 0;
	padding: 0;
	text-align: center; /*Set to "right" to right align pagination interface*/
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;  
  margin: 0 0 0 4px;
}

.pagination li {
	list-style-type: none;
	display: inline;
	padding-bottom: 1px;  
}


.pagination a, .pagination a:visited{
	padding: 2px 5px;
	border: 1px solid #FE580E;
	text-decoration: none; 
  font-weight: bold;
}

.pagination a:hover, .pagination a:active{
	border: 1px solid #ffbb33;
	color: #FFF;
}

.pagination li.currentpage{
	font-weight: bold;
	padding: 2px 5px;
	border: 1px solid #ffbb33;
	background-color: #FE580E;
	color: #FFF;
}


.pagination li.disablepage{
	padding: 2px 5px;
	border: 1px solid #929292;
	color: #929292;
}

.pagination li.nextpage{
	font-weight: bold;
}

* html .pagination li.currentpage, * html .pagination li.disablepage{ /*IE 6 and below. Adjust non linked LIs slightly to account for bugs*/
	margin-right: 5px;
	padding-right: 0;
}



/** Notice class used to provide simple one page message notifications **/
div.mg-notice {
	margin: auto;
	margin-top: 30px;
	max-width: 500px;
	border: 1px solid #E2C822;
	padding: 20px 36px 15px 36px;
	background-color: #FFF9D7;
}

div.mg-notice h1 {
	width: auto;
	margin: 0;
	color: #000;
	font-size: 22px;
}
/** End notice **/


#mg_property_summary .mg-photo, #mg_property_summary .mg-no-photo {
	float: left;
	border: solid 1px #888888;  
}


div.mg-contact-agent {
	margin: auto;
	padding: 20px;
	text-align: center;
	font-size: 18px;
}

/** Footer Menu **/
.mg-footer-menu li{
	font-family: Arial, Helvetica, sans-serif;  
	font-size: 14px;
	margin: 0 0 0 0;
	list-style: none;
	color: #FE580E;
	line-height: 24px;  
} 


#mg_notice_box {
	margin-top: 0;
	margin-bottom: 10px;
}

/** Search form styles **/
div.mg-search-form td {
	height: 25px;
}

div.mg-search-form td.mg-label {
	width: 150px;
}

ul.mg-searchable-amenities {
	list-style: none;
	margin: 0;
	padding: 0;
}
/** End search form styles **/

/* begin show property */
#mg_flash_image_viewer {
  float: left;
}

#mg_property_show {
	width: 800px;
}

#mg_property_show .property-main {
	float: left;
	width: 490px;
}

#mg_property_show .property-sidebar {
	float: left;
	width: 280px;
	margin: 0 10px 0 10px;
	font-size: 14px;
}

#mg_property_show .property-sidebar ul, #mg_property_show .property-sidebar ul li {
	margin: 0;
	padding: 0;	
}

#mg_property_show .property-sidebar label {
	font-weight: bold;
	padding-right: 5px;
}

#mg_property_show .property-sidebar .overview ul, #mg_property_show .property-sidebar .rates ul {
	list-style-type: none;
	padding-right: 5px;
}

#mg_property_show .property-sidebar .amenities ul {
	margin-left: 14px;
	padding: 0;	
	list-style: circle;
}

#mg_property_show .property-sidebar .amenities ul li {
	font-size: 10px;
	float: left;
	width: 120px;
	padding-right: 13px;
}

#mg_property_show .property-sidebar hr {
	margin-top: 15px;	
	margin-bottom: 15px;
	clear: both;
}

#mg_property_show #contact_form_id {
	float: left;
}
/* end show property */

/* begin show property template simple */
#mg_property_show.simple {
	width: 800px;
}

#mg_property_show.simple .property-main {
	float: left;
	width: 780px;
}
#mg_property_show.simple .row {
  padding-top: 10px;
  padding-bottom: 5px;
	border-bottom: 3px solid #ccc;
}

#mg_property_show.simple .row h2 {
  margin: 0;
  padding: 0;
}

#mg_property_show.simple ul, #mg_property_show.simple ul li {
	margin: 0;
	padding: 0;	
  padding-left: 10px;
}

#mg_property_show.simple .overview ul, #mg_property_show.simple .rates ul, #mg_property_show.simple .amenities ul  {
	margin-left: 14px;
	padding: 0;	
	list-style: circle;
  padding-top: 10px;
}

#mg_property_show.simple .rates ul li, #mg_property_show.simple .amenities ul li{
	font-size: 14px;
	float: left;
	width: 160px;
	padding-right: 13px;
}

#mg_property_show.simple .overview-sidebar ul li {
	font-size: 12px;
	float: left;
	width: 250px;
	padding-right: 13px;
}

#mg_property_show.simple .overview-sidebar label {
  font-weight: bold;
}

#mg_property_show.simple .overview-sidebar {
  margin: 10px;
  width: 150px;
  float:left;
}

#mg_property_show.simple hr {
	margin-top: 15px;	
	margin-bottom: 15px;
	clear: both;
}

#mg_property_show.simple #contact_form_id {
	float: left;
}

#mg_property_show.simple #availability_calendar {
  float:left;
  padding: 10px;
  width: 770px;
}
/* end show property template simple */



/* Property Listings */
#mg_properties {
	margin: auto;
	width: 567px;
	padding:2px; 
	margin-left:0px
}

#mg_property_listings {
  width: 100%;
	border:0; 
	margin: 10px 0; 
	border-top: 3px solid #eee; 
	border-bottom: 1px solid #ccc;	
}

#mg_property_listings .property-listing {
	clear: both; 
	border-bottom: 3px solid #eee; 
	border-top: 1px solid #ccc; 
	width: 100%;
}

#mg_property_listings .view-details {
	clear: both;
	text-align: center;
	margin-bottom: 10px;
}

#mg_properties .code {
  display: none;
}

#mg_properties .property-photo {
	float: left;
  display: inline; 
  margin: 10px 10px; 
  text-align: center;
  width: 160px;
  overflow: hidden;
}

#mg_properties .property-photo img {
	max-width: 150px;
  max-height: 130px; 
}

#mg_properties .property-photo a {
	display: block;
  position: relative;
}

.property-description {
  float: left;
  margin: 15px 0 10px 0;
  width: 380px;
}

.property-description h4 {
	margin: -5px 0 0 0; 
	padding: 0; 
	font-size: 14px; 
	font-weight: bold;
	color: #FE580E; 
	float: left;
}
.property-description h5 {
	margin: 0 0 5px 0; padding: 0; 
	font: normal 12px Arial, Helvetica, Verdana, Sans-Serif; 
	color: #555; 
	font-weight: normal; 
	clear: left;
}
.property-description p {
	margin: 0; font-family: Arial, Helvetica, Verdana, Sans-Serif;
	font-size: 14px; 
	line-height: 19px;
}

.property-info {
	margin: 0;
  width: 191px;
  float: left;
  margin-right: 10px;
}

property-price {
	margin: 0; 
	width: 164px;
	float: left; 
	padding-left: 10px; 
	clear: right; 
	position: relative; 
	margin-bottom: 5px;
	font-size: 14px; 
}

.property-price a span {
	padding-top: 5px; position: absolute; display: block; width: 130px;
}
.property-price a:hover {
	background: #fff;
}

.mouse-over {
	background: #e7e7e7;
}
/** End property listings **/

/* Property Listings Simple Template */
#mg_properties .simple {
	margin: auto;
	width: 770px;
	padding:2px; 
	margin-left:0px
}

#mg_property_listings.simple {
	border:0; 
	margin-bottom: 15px; 
}

#mg_property_listings .simple .property-listing {
	clear: both; border-bottom: 2px solid #cccccc; border-top: 2px solid #cccccc; width: 100%;
  margin-left: auto;
  margin-right: auto;
}

#mg_properties .simple .property-description {
	display: block; float: left; margin-top: 15px; margin-bottom: 15px; width: 480px;
}

#mg_properties .simple .property-info {
	margin: 0; width: 260px; float: left; margin-right: 10px;
}

#mg_properties .simple .property-price {
	margin: 0; 
	width: 164px;
	float: right; 
	padding-left: 10px; 
	clear: right; 
	position: relative; 
	margin-bottom: 5px;
	font-size: 14px; 
}

#mg_properties .simple .property-price a span {
	padding-top: 5px; position: absolute; display: block; width: 130px;
}

#mg_properties .simple .property-code {
  text-align: center;
  background-color: #00001a;
  padding: 3px;
}

#mg_properties .simple .property-info ul {
  float: left;
  width: 300px;
  padding: 0;
  margin: 0;
  padding-left: 10px;
}

#mg_properties .simple .property-info li {
  float: left;
  padding-bottom: 5px;
  padding-left: 10px;
  width:140px;
}


#mg_properties .simple .property-code a {
  text-decoration: none;
  color: white;
  font-weight: bold;
}

/** End property listings Simple Template**/

#neighborhoods_tree {
	width: 250px;
	height: 160px;
	border: solid 1px #777;
	font-size: small;	
}


/* begin sidebar calendar */
input.date {
	border: 1px solid #ccc;
  background-color: #eee;
}

#calendar_div {
	border-top: 3px solid #3f3f3f;
}
#calendar_div h5 {
	margin: 0 0 15px 0; padding: 0;
}
#availability_calendar {
	width: 280px; 
  text-align: center;
  clear: both;
}

#availability_calendar .calendar-day {background-color: #e5e5e5; border:2px solid #fff; color:#232323; font-size: 14px; line-height: 10px; width: 35px; height: 25px;}



div.calendar-legend {text-align: center; margin: 5px 0; }
div.calendar-legend span { border: 0px solid #3f3f3f; color:#232323; padding: 5px 10px; margin-right: 5px; font-size: 14px; font-weight: bold; }
div.calendar-legend span.available {background-color:#e5e5e5}
div.calendar-legend span.booked {background-color: #FA4F4F; color: white;}
div.calendar-navigation {width: 100%;}
div.calendar-navigation div.previous {background-color:#e5e5e5; float: left;}
div.calendar-navigation div.next {background-color:#e5e5e5; float:right;}
div.calendar-navigation div a {padding:5px 10px; color:#000000; text-decoration: none;}
#availability_calendar { font-size: 11px; font-family: Arial,Helvetica,sans-serif; text-align: center}
#availability_calendar table { margin: 10px; border-collapse: collapse; font-size-adjust:none; font-stretch:normal; font-style:normal; font-variant:normal; font-weight:normal; line-height:normal; text-align:center; float: left; width: 235px; 
}
#availability_calendar .calendar-header { font-size: 14px; font-weight: bold; }
#availability_calendar .calendar-header, #availability_calendar .calendar-day-header, #availability_calendar .calendar-day-empty {border: none}
#availability_calendar .calendar-day-header { font-size: 12px; font-weight: bold; }

#availability_calendar .today {
  font-weight: bold; 
  background: #ffffff; 
  color: #000;
}

#availability_calendar .booked, #availability_calendar .booked.today {
  background-color: #ff6666; 
  color: #ffffff;
}

.map-container{width: 340px; height: 340px; text-align: center;}
.map-container.wide{width: 780px; height: 340px;}

/* end sidebar calendar */

.photo-container {
  position: relative;  
}

.photo-container a, .photo-container a:hover, .photo-container a:visited {
  text-decoration: none;
}

.property-status-badge {
  background-color: #A5000E;
  color: #eee;
  text-align: center;
  border-bottom: solid 1px #444;
  border-top: solid 1px #444;
  width:100%;
}

.photo-container .property-status-badge {
  position: absolute;
  bottom: 16px;
  left: 0;
  font-size: 14px;
  line-height: 20px;
}

.overview .property-status-badge {
  font-size:18px;
  line-height:26px;
  margin-bottom: 5px;
}

/* featured properties slideshow */
#featured_properties .price {
  float: right;
  font-weight: normal;
}

.jdGallery .slideInfoZone a h2 {
  font-size: 100%;
}

.jdGallery .slideInfoZone a p {
  font-size: 86%;
}