/* ==|== primary styles =====================================================
   Author: Pim Linders
   ========================================================================== */

/* Override some defaults */
html, body {
	background-color: #eee;
}
body {
	padding-top: 40px; /* 40px to make the container go all the way to the bottom of the topbar */
}
.container > footer p {
	text-align: center; /* center align it with the container */
}
.container {
	width: 820px; /* downsize our container to make the content feel a bit tighter and more cohesive. NOTE: this removes two full columns from the grid, meaning you only go to 14 columns and not 16. */
}

/* The white background content wrapper */
.container > .content {
	background-color: #fff;
	padding: 20px;
	margin: 0 -20px; /* negative indent the amount of the padding to maintain the grid system */
	-webkit-border-radius: 0 0 6px 6px;
	-moz-border-radius: 0 0 6px 6px;
	border-radius: 0 0 6px 6px;
	-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.15);
	-moz-box-shadow: 0 1px 2px rgba(0,0,0,.15);
	box-shadow: 0 1px 2px rgba(0,0,0,.15);
}

/* Page header tweaks */
.page-header {
	background-color: #f5f5f5;
	padding: 20px 20px 10px;
	margin: -20px -20px 20px;
}

/* Give a quick and non-cross-browser friendly divider */
.content .donate {
    margin-left: 0;
    padding-left: 19px;
    width: 260px;
}
.content .twitter {
	width: 230px;
}
.content .twitter h3 {
	background: url("../img/twitter.png") no-repeat scroll right 2px transparent;
}
.content .span9 {
    padding-right: 19px;
}
.topbar .btn {
	border: 0;
}
.nav {
	padding: 0px;
}
.topbar .brand {
	background: url(../img/palms.png) no-repeat 20px 2px;
}
.topbar h3 a, .topbar .brand {
    padding: 10px 56px 10px 62px;
    position: relative;
}
/* sort controls */
.sort {
	padding: 0;
    width: 578px;
}
.sort form {
    float: right;
    margin: 0;
    padding: 10px;
}
/* stars */
.rating {
	background: url(../img/stars.png) no-repeat 0 0px;
    display: block;
    height: 13px;
    margin: auto;
    text-indent: -3000px;
    white-space: nowrap;
}
.stars-1 {
	background-position: 0 -1px;
    width: 14px;
}
.stars-15 {
	background-position: 0 -16px;
    width: 34px;
}
.stars-2 {
	background-position: 0 -31px;
    width: 32px;
}
.stars-25 {
	background-position: 0 -46px;
    width: 52px;
}
.stars-3 {
	background-position: 0 -61px;
    width: 50px;
}
.stars-35 {
	background-position: 0 -76px;
    width: 70px;
}
.stars-4 {
	background-position: 0 -91px;
    width: 68px;
}
.stars-45 {
	background-position: 0 -106px;
    width: 88px;
}
.stars-5 {
	background-position: 0 -121px;
    width: 86px;
}
.donate {
	margin-bottom: 9px;
}
.donate .support-msg {
	margin: 4px 0 11px;
}
.container .results {
	padding: 10px 20px 20px 20px;
}
.results .form-stacked {
    padding-left: 0px;
}
.results .form-stacked .actions{
	margin-left: 0px;
}
.brand .label {
    line-height: 11px;
    position: absolute;
    right: 19px;
    top: 6px;
}
/* result */
.stars-price {
	background-color: #f5f5f5;
	border: 1px solid #eee;
	border: 1px solid rgba(0, 0, 0, 0.05);
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
	-moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
	margin-bottom: 20px;
    padding: 11px 0;
}
.stars-price p {
    color: #808080;
    font-size: 10px;
    margin: 0;
    padding-top: 2px;
    text-align: center;
}
.result {
   	border-bottom: 1px solid #EEEEEE;
    margin-bottom: 20px;
    padding-bottom: 20px;
}
.result .left {
    float: left;
    margin-right: 14px;
    width: 103px;
}
.result .left h5 {
    line-height: 14px;
    margin-top: 6px;
    text-align: center;
}
.result .right h4 {
	line-height: 27px;
    margin-bottom: 1px;
}
.result .right {
    float: left;
    width: 463px;
}
.result .action-btns {
	padding-top: 4px;
}
.result .action-btns button {
	margin-right: 4px;
}
/* jquery UI */
#price-range {
    border: medium none;
    box-shadow: none;
    color: #000000;
    padding: 4px 0;
}
#slider-range {
	margin-bottom: 6px;
}
.has-amenity-filter, .has-price-filter, .has-rating-filter, .has-neighborhood-filter {
	display: none;
}
.state, .city {
	display: none;
}
.loading {
	background: url(../img/loader.gif) no-repeat 0px 0px;
	height: 32px;
	margin: auto;
	width: 55px;
}
.hotels {
	margin-top: 18px;
}
.hotels table {
	margin-bottom: 0px;
}
.hotels .alert-message {
	margin-bottom: 0px;
}
.server-error{ 
	margin-bottom: 0;
    margin-top: 19px;
}
.topbar .btn {
	margin: 5px 0 0;
}
.form-stacked fieldset, .form-stacked {
	margin-bottom: 0px;
}
form .error{
	background-color: #fce6e6;
	border-color: #b94a48;
}
#preloader {
	display: none;
}
.modal-body p {
	font-size: 14px;
}
.clear-filter {
	font-weight: normal;
    float: right;
}
.error-help {
	color: #B94A48;
}
#stars-wrapper .error-help {
	float: left;
    padding-top: 5px;
}
/* IE7 fix */
.container > .content {
	width: 820px;
}
.ie7 .clear-filter {
	font-weight: normal;
    position: absolute;
    top: 4px;
    right: 0px;
}
.ie7 .neighborhood-filters{
	position: relative;
}

/* ==|== non-semantic helper classes ========================================
   Please define your styles before this section.
   ========================================================================== */

/* For image replacement */
.ir { display: block; border: 0; text-indent: -999em; overflow: hidden; background-color: transparent; background-repeat: no-repeat; text-align: left; direction: ltr; *line-height: 0; }
.ir br { display: none; }

/* Hide from both screenreaders and browsers: h5bp.com/u */
.hidden { display: none !important; visibility: hidden; }

/* Hide only visually, but have it available for screenreaders: h5bp.com/v */
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }

/* Extends the .visuallyhidden class to allow the element to be focusable when navigated to via the keyboard: h5bp.com/p */
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }

/* Hide visually and from screenreaders, but maintain layout */
.invisible { visibility: hidden; }

/* Contain floats: h5bp.com/q */
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { *zoom: 1; }


