/*** SHARED CSS RULES ***/

body {
	font-size: 0.9rem;
	font-family: 'Open Sans', sans-serif;
}

p {
	margin-bottom: 0.5rem;
}

/* Alert */
#alert-container {
	position: fixed;
	top: 0;
	width: 100%;
	font-size: 1rem;
	color: white;
	background: #2196f3;
	padding: 0.5rem;
	z-index: 9999;
	box-shadow: 0 0 4px black;
	text-align: center;
	display: none;
}
#alert-container a {
	color: #eee;
}

@media screen and (min-width: 40em) {
	#alert-container {
		font-size: 1.5rem;
		padding: 1rem;
	}
}

/* Menu */
.vertical.menu li a {
	padding: 1rem;
}

.vertical.menu li:hover {
	background: rgba(128, 128, 128, 0.2);
}

/* Font Awesome */
.fa-1x {
	font-size: 14px !important;
}

/* Text */
.text-muted {
	color: grey;
}

.text-required {
	color: red;
}

.text-1-5x {
	font-size: 1.5rem;
}

.text-2x {
	font-size: 2rem;
}

.text-3x {
	font-size: 3rem;
}

.text-4x {
	font-size: 4rem;
}

.text-5x {
	font-size: 5rem;
}

.text-no-wrap {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.text-uppercase {
	text-transform: uppercase;
}

/* Padding & Margins */
.pad {
	padding: 1rem !important;
}

.pad-half {
	padding: 0.5rem !important;
}

.pad-left {
	padding-left: 1rem !important;
}

.pad-right {
	padding-right: 1rem !important;
}

.pad-sides {
	padding: 1rem !important;
}

.pad-top {
	padding-top: 0.5rem !important;
}

.pad-bottom {
	padding-bottom: 0.5rem !important;
}

.no-margin {
	margin: 0 !important;
}

.no-pad, .no-padding {
	padding: 0 !important;
}

.no-vertical-padding {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

/* Reveal / Modal */
body.is-reveal-open {
	overflow: visible;
}

div.reveal-overlay {
	overflow-y: auto;
}

/* Buttons */
.button.selected {
	background: #da3116 !important;
}

.button.selected:focus {
	background: #da3116 !important;
}

.button.inverse {
	background: #333;
}

.button.google-plus {
	background: #D13326;
	color: white;
}

.button.twitter {
	background: #2F80FF;
	color: white;
}

.button.facebook {
	background: #2B4288;
	color: white;
}

/* Images */
.img-cover {
	background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

.img-contain {
	background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
}

/* Listing image */
.listing-image {
	background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
}

/* Orbit */
.orbit-container {
	height: auto !important;
}

.orbit-container > li {
	height: auto !important;
}

.orbit-container > li .orbit-image {
	background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
}

/* Featured Properties Orbit */
.featured-listings-hp .orbit-container > li .orbit-image {
	background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

/* Property Details Orbit */

.property-details .orbit-bullets {
	overflow: hidden;
	white-space: nowrap;
}

.property-details .orbit-bullets button {
	border-radius: 0;
	background: none;
	border: 1px solid grey;
	width: 6rem;
	height: 4rem;
	margin: 0;
	margin-top: 0.5rem;
	background: transparent;
}

.property-details .orbit-bullets button.is-active {
	border: 1px solid orange;
	background: transparent;
}

.property-details .orbit-bullets .orbit-thumbnail {
	background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
	width: 100%;
}

/* Map */

#map {
	cursor: pointer;
	background: #f3f3f3;
	font-size: 2rem;
	color: #aaaaaa;
	text-align: center;
	padding-top: 14rem;
	box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.05) inset;
	transition: background 0.5s ease;
}

#map:hover {
	background: #e7e7e7;
}


/* Slick Carousel */

.slick-prev, .slick-next {
	z-index: 100;
	font-size: 0;
	line-height: 0;
	position: absolute;
	top: 50%;
	display: block;
	width: 45px;
	height: 45px;
	padding: 0;
	-webkit-transform: translate(0, -50%);
	-ms-transform: translate(0, -50%);
	transform: translate(0, -50%);
	cursor: pointer;
	color: transparent;
	border: none;
	outline: none;
	background: rgba(255,255,255,0.75);
}

.slick-prev {
	left: 0;
}

.slick-next {
	right: 0;
}

.slick-prev:before, .slick-next:before {
	font-size: 20px;
	line-height: 1;
	color: #888888;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.slick-prev:before {
	content: '◀︎';
}

.slick-next:before {
	content: '▶︎';
}

.slick-slide:focus {
	outline: none;
}

.carousel-nav .slick-slide {
	opacity: 0.33;
	padding: 6px 3px;
	transition: opacity .4s ease-out;
}

.carousel-nav .slick-slide.slick-active {
	opacity: 0.5;
}

.carousel-nav .slick-slide.slick-current {
	opacity: 1;
}

/* Panel */
.panel {
	margin: 0 0 1rem;
}

.panel header {
	background: linear-gradient(#444, #222);
	padding: 1rem;
	color: #fff;
}

@media screen and (min-width: 40em) {
	.panel header {
		font-size: 1.2rem;
	}
}

.panel header > h3,
.panel header > h4,
.panel header > h5 {
	margin: 0;
}

.panel > .content {
	padding: 1rem;
	border: 1px solid #222;
	color: #0a0a0a;
	background: #fff;
}

.panel.inverse {
	border: 1px solid #222;
	color: #fff;
	background: #222;
}

.panel.inverse > .content label {
	color: #fff;
}

.panel .content > *:last-child {
	margin-bottom: 0;
}


/* List View */

.list-listing {
	padding: 1rem 0;
	font-size: 0.8rem;
}

.list-listing.featured {
	color: white;
	background: #333;
}

.list-listing-image {
	position: relative;
}

.list-listing-image img {
	width: 100%;
	background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

.list-listing-image img.flash {
	position: absolute;
	width: 100%;
	top: 0px;
	left: 0px;
	z-index: 3;
}

/* Photo View */
.photo-listing {
	background: #fff;
	box-shadow: 0 0 2px rgba(0,0,0,0.25);
	position: relative;
	margin-bottom: 1rem;
}

.photo-listing.featured {
	color: white;
	background: #333;
}

a .photo-listing {
	color: #333;
}

a:hover .photo-listing {
	background: #f8f8f8;
}

a:hover .photo-listing.featured {
	background: #444;
}

.photo-listing img.flash {
	position: absolute;
	width: 100%;
	top: 0px;
	left: 0px;
}

.photo-listing img {
	width: 100%;
	background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

.photo-listing .photo-text {
	padding: 1rem;
}

/* Info Window */
.info-window-listing {
	width: 320px;
}

.info-window-listing .photo-div {
	position: relative;
}

.info-window-listing img {
	background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

.info-window-listing img.flash {
	position: absolute;
	width: 100%;
	top: 0px;
	left: 0px;
}

.info-window-listing a {
	color: #333;
}

/* Place Search */

#places span.count {
	float: right;
	color: #888;
}

/* Place Details */
.place-opening-hours {
	line-height: 1.4;
	color: #8a8a8a;
}

span.stars, span.stars span {
	display: block;
	background: url('../img/stars.png') 0 -16px repeat-x;
	width: 80px;
	height: 16px;
}

span.stars span {
	background-position: 0 0;
}

/* Table */
.table-bordered thead th {
	border: 1px solid #eee;
}

.table-bordered tbody td {
	border: 1px solid #eee;
}

/* Ad */
.mb-3 {
	margin-bottom: 0.5rem;
}

/* Print */
@media print {
	/* Override Foundation */
	a[href]:after {
		content: normal;
	}

	.slick-arrow {
		display: none !important;
	}

	.slick-target img {
		width: 33%;
	}

	.print-flex {
		display: flex;
	}

	.print-text-left {
		text-align: left;
	}

	.slick-list, .slick-list .slick-track {
		height: auto !important;
	}

	.print-1 {	width: 8.33333%;	}
	.print-2 {	width: 16.66667%;	}
	.print-3 {	width: 25%;	}
	.print-4 {	width: 33.33333%;	}
	.print-5 {	width: 41.66667%;	}
	.print-6 {	width: 50%;	}
	.print-7 {	width: 58.33333%;	}
	.print-8 {	width: 66.66667%;	}
	.print-9 {	width: 75%;	}
	.print-10 {	width: 83.33333%;	}
	.print-11 {	width: 91.66667%;	}
	.print-12 {	width: 100%;	}

}
