/*
 * jQuery FlexSlider v2.0
 * http://www.woothemes.com/flexslider/
 *
 * Copyright 2012 WooThemes
 * Free to use under the GPLv2 license.
 * http://www.gnu.org/licenses/gpl-2.0.html
 *
 * Contributing author: Tyler Smith (@mbmufffin)
 */

 
/* Browser Resets */
.flex-container a:active, .flexslider a:active, .flex-container a:focus, .flexslider a:focus {
	outline: none;
}
.slides, .flex-control-nav, .flex-direction-nav {
	margin: 0;
	padding: 0;
	list-style: none;
}
/* FlexSlider Necessary Styles
*********************************/ 
.flexslider {
	padding: 0;
	overflow: hidden;
	background: #E3E6EB;
}
.flexslider .slides > li {
	display: none;
	-webkit-backface-visibility: hidden;
	width: 100%;
	height: 100%;
	max-width: 100%;
	display: table;
	vertical-align: middle;
} /* Hide the slides before the JS is loaded. Avoids image jumping */
.flexslider .slides img {
	width: 100%;
	display: block;
}
#lifestyle .flexslider .slides img.title, #apartments .flexslider .slides img.title, #interiors .flexslider .slides img.title {
	float: none;
	margin: 0 auto;
	padding: 50px 0 0 0;
	height: auto;
}
.flexslider .slides > li {
	background: #e3e6eb;
	float: left;
	display: table;
}
.flexslider .allblock {
	width: 100%;
	display: table;
	float: left;
}

.flexslider .slides > li h2 {
	width: 100%;
	float: left;
	text-align: center;
	color: #585642;
	font-family: 'CircularStdMedium';
	font-size: 23px;
	font-weight: normal;
	margin: 0 auto;
	padding: 28px 0;
	text-align: center;
	background: #fff;
}

#lifestyle .flexslider .leftside p {
	max-width: 345px;
}

.flexslider .leftside img.distance {
	padding: 0 15px;
	width:100%;
}
.flexslider .slides > li .rightimg {
	background-size: cover!important;
	float: left;
	position: relative;
	width: 100%;
	height: 600px;
}
.flexslider .slides > li .rightimg span {
	position: absolute;
	bottom: 0;
	padding: 10px;
	background: rgba(0,0,0,0.6);
	width: 100%;
	left: 0;
	font-size: 13px;
}
#location .flexslider .slides > li .rightimg {

}
.flex-pauseplay span {
	text-transform: capitalize;
}
/* Clearfix for the .slides element */
.slides:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}
html[xmlns] .slides {
	display: block;
}
* html .slides {
	height: 1%;
}
/* No JavaScript Fallback */
/* If you are not using another script, such as Modernizr, make sure you
 * include js that eliminates this class on page load */
.no-js .slides > li:first-child {
	display: block;
}
/* FlexSlider Default Theme
*********************************/
.flexslider {
	margin: 0;
	position: relative;
	zoom: 1;
	color: #fff;
    float:right;
    width:75%;
}
.flex-viewport {
	-webkit-transition: all 1s ease;
	-moz-transition: all 1s ease;
	transition: all 1s ease;
}
.loading .flex-viewport {
	max-height: 300px;
}
.flexslider .slides {
	zoom: 1;
}
#apartments .flexslider .slides {
	background: #d6d6d6;
}
#content .flexslider.h_project p {
}
.carousel li {
	margin-right: 5px
}
.flexslider .slides img#link_ex, #interiors .flexslider .slides img#link_ex {
	width: auto;
	height: auto;
}
#linkholder .flexslider .flex-direction-nav, #linkholder .flexslider .flex-control-nav, #page-location .flex-direction-nav, #page-location .flex-control-nav {
	display: none;
}
/* Direction Nav */
.flex-direction-nav {
*height: 0;
}
.flex-direction-nav a {
	width: 40px;
	height: 40px;
	margin: -20px 0 0;
	display: block;
	position: absolute;
	top: 50%;
	z-index: 10;
	cursor: pointer;
	text-indent: -9999px;
	-webkit-transition: all .3s ease;
}
#location .flex-direction-nav
{
	display:none;
}
.flex-direction-nav .flex-next {
	background-position: 100% 0;
	background: url(/Images/btns/next.png) no-repeat 0 0;
	right: 15px;
}
.flexslider.apt .flex-direction-nav .flex-next {
	background: none;
}
.flex-direction-nav .flex-prev {
	background: url(/Images/btns/prev.png) no-repeat 0 0;
	left: 2%;
}
.flexslider:hover .flex-next {
	opacity: 1;
}
.flexslider:hover .flex-prev {
	opacity: 1;
}
.flexslider:hover .flex-next:hover, .flexslider:hover .flex-prev:hover {
	opacity: 1;
}
.flex-direction-nav .flex-disabled {
	opacity: .3!important;
	filter: alpha(opacity=30);
	cursor: default;
}
/* Control Nav */


.flex-control-nav {
	width: 100%;
	position: absolute;
	bottom: 10px;
	text-align: center;
	margin: 0 0 10px;
}
.flex-control-nav li {
	margin: 0 3px;
	display: inline-block;
	zoom: 1;
*display: inline;
}
.flex-control-paging li a {
	width: 14px;
	height: 14px;
	display: block;
	background: rgba(255,255,255,0.7);
	color: #fff;
	border-radius: 20px;
	cursor: pointer;
	text-indent: -9999px;
}
.flex-control-paging li a:hover {
	background: #fff;
	color: #fff;
	border: 1px solid #fff;
}
.flex-control-paging li a.flex-active {
	background: #fff!important;
	cursor: default;
	color: #fff;
}
.flex-control-thumbs {
	margin: 0;
	position: absolute;
	z-index: 100;
	overflow: hidden;
	bottom: 0;
	background: rgba(0,0,0,0.9);
	padding: 10px 0 10px 10px;
	width: 530px;
	right: 0;
}
.flex-control-thumbs li {
	width: 25%;
	float: left;
	margin: 0;
}
.flex-control-thumbs img {
	width: 120px;
	display: block;
	opacity: .7;
	cursor: pointer;
}
.flex-control-thumbs img:hover {
	opacity: 1;
}
.flex-control-thumbs .flex-active {
	opacity: 1;
	cursor: default;
}



@media screen and (max-width: 860px) {
.flex-direction-nav .flex-prev {
	opacity: 1;
}
.flex-direction-nav .flex-next {
	opacity: 1;
}
}

@media screen and (max-width: 980px) {
.flexslider {
	margin: 0;
	float:left;
	width:100%;
}
.flexslider .slides > li .rightimg
{
	height:65vw;
}
.flexslider .slides > li,.leftside img
{
	width:100%;
	max-width:100%;
}
#location .flexslider {
	margin: 0;
}

.flexslider .slides
{
	clear:both;
}
#lifestyle .flexslider .slides img.title, #apartments .flexslider .slides img.title, #interiors .flexslider .slides img.title {
	padding: 0;
}
.flexslider .slides .leftside p {
	max-width: 100%;
	font-size: 14px;
}
.flex-direction-nav .flex-prev {
	left: 2%;
}
}

@media screen and (max-width: 540px) {
.flexslider .slides > li h2 {
	padding: 28px 10px;
}
.leftside p {
	padding: 0 30px 15px;
}
}
