/*
 * Full Background Responsive Slider v2.0 based on:
 *
 * jQuery FlexSlider v2.0
 * http://www.woothemes.com/flexslider/
 *
 *
 * Author: Firaux Massimo
 * http://www.technoweb.it/ 
 */
 

.animate {
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}
.flexslider, .flex-viewport	{
	width:100%;
	height:600px!important;
	margin:0;
	padding:0;
}
.flexslider .slides {
	height:100%!important;
}
.flexslider .slides li {
	width:100%;
	height:100%!important;
	margin:0;
	padding:0;
	-webkit-background-size: cover!important;
	-moz-background-size: cover!important;
	-o-background-size: cover!important;
	background-size: cover!important;
}
.flex-control-nav {
	bottom: 25%;
}
.flex-direction-nav {
	display:block;
}	

.flex-caption {
	position: relative;
	margin-top:180px;
	width:800px;
	margin-left:auto;
	margin-right:auto;
	text-shadow:1px 1px 1px #000;
}
.flex-caption-left {
	width:160px;
	height:160px;
	padding: 10px;
	margin-bottom:5px;
	box-sizing: border-box;
	background-color:#fdbf01;
	color: #fff;
	font-family: 'Open Sans', sans-serif;
	text-align:center;
	font-weight:700;
}
.flex-caption-right {
	position:relative;
	width:640px;
	height:210px;
	top:-165px;
	padding: 0px 10px 10px 10px;
	box-sizing: border-box;
	float:left;
	/*background-color:RGBA(0, 255, 255, 1);*/
	color: #fff;
	font-family: 'Open Sans', sans-serif;
}
.flex-property-type {
	font-size: 24px;
	text-transform: uppercase;
}	
.flex-property-price {
	font-size: 24px;
	padding-top:15px;
	line-height:30px;
}	
.flex-button {
	height:45px;
	width:160px;
	float:left;
	background-color:#0eaaa6;
	transition-property: background-color;
	transition-duration: 0.5s;
	box-sizing: border-box;
}	
.flex-button p {
	color: #FFF;
	font-family: 'Open Sans', sans-serif;
	font-size: 13px !important;
	font-weight:700;
	text-align:center;
	line-height: 45px;
	height:40px !important;
	display:block !important;
}
.flex-button:hover {
	background-color: #64d5d3
}
.flex-caption h1 {
	margin-top:10px;
	margin-bottom:0px;
	padding-top:0px;
	font-size: 40px;
	font-weight: 700;
	text-transform: uppercase;
	color: #fff;
	overflow:hidden;
	white-space:nowrap;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}
.flex-caption h2 {
	margin-top: 0;
	padding-top:0px;
	font-size: 18px;
	font-weight: 700;
	text-transform: uppercase;
	overflow:hidden;
	white-space:nowrap;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
    margin-bottom: 0;
}
.flex-caption p	{
	margin:0;
	font-size: 16px;
	color:#fff;
	overflow:hidden;
}


/*==========================================================*/
/*	Media Queries											*/
/*==========================================================*/

/* Step 2. - 940 px (monitor piccolo) ======================*/
@media (max-width: 1169px) {

}
 
/* Step 3. - 725 px (Tablet horiz) =========================*/
@media (max-width: 939px) {
.flex-caption {
	width:600px;
}
.flex-caption-left {
	width:160px;
}
.flex-caption-right {
	width:440px;
}
.flex-caption h1 {
	font-size: 36px;
}
.flex-caption h2 {
	font-size: 16px;
}
.flex-caption p	{
	font-size: 14px;
}
.flex-property-type {
	font-size: 20px;
}	
.flex-property-price {
	font-size: 20px;
}	
}
 
/* Step 4. - 500 px (Tablet Vert) ==========================*/
@media (max-width: 724px) {
.flexslider, .flex-viewport	{
	height:420px!important;
}
.flex-control-nav {
	bottom: 6%;
}
.flex-caption {
	width:90%;
	margin-top:120px;
}
.flex-caption-left {
	width:30%;
}
.flex-caption-right {
	width:70%;
	overflow:hidden;
}
.flex-caption h1 {
	font-size: 22px;
}
.flex-caption h2 {
	font-size: 14px;
}
.flex-caption p	{
	font-size: 12px;
}
.flex-property-type {
	font-size: 16px;
}	
.flex-property-price {
	font-size: 16px;
}
.flex-button {
	width:30%;
}		
}

/* Step 5. - Fluido (Smartphones) ==========================*/
@media (max-width: 499px) {
.flex-caption-left {
	width:100%;
	height:auto;
	float:left;
}
.flex-caption-right {
	width:100%;
	top:-65px;
	height:auto;
}
.flex-property-type {
	width:100%;
	float:left;
}	
.flex-property-price {
	float:left;
	padding-top:0;
	width:100%;
}
.flex-caption p	{
	display:none;
}
.flex-button {
	position:relative;
	top:85px;
	margin-left:35%;
	margin-right:35%;
}	
.flex-caption h1 {
	margin-top:30px;
	text-align:center;
}
.flex-caption h2 {
	text-align:center;
}
}
