/*----------------------------   Owl Carousel Styles    ----------------------------------------------------*/

/* clearfix */
.owl-carousel .owl-wrapper:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}
/* display none until init */
.owl-carousel {
	display: none;
	position: relative;
	width: 100%;
	margin: 0px;
	-ms-touch-action: pan-y;
}
#owl-demo-portfolio .item {
	text-align: center;
	margin: 0;
	padding: 0;
	max-height: 400px;
	z-index: 61;
}
.owl-carousel .owl-wrapper {
	display: none;
	position: relative;
	-webkit-transform: translate3d(0px, 0px, 0px);
}
.owl-carousel .owl-wrapper-outer {
	overflow: hidden;
	position: relative;
	width: 100%;
}
.owl-carousel .owl-wrapper-outer.autoHeight {
	-webkit-transition: height 500ms ease-in-out;
	-moz-transition: height 500ms ease-in-out;
	-ms-transition: height 500ms ease-in-out;
	-o-transition: height 500ms ease-in-out;
	transition: height 500ms ease-in-out;
}
.owl-carousel .owl-item {
	float: left;
}
.owl-item .item img {
	position: relative;
	z-index: 200;
	width: 100%;
	margin: 0 auto;
	display: block;
}
.owl-item .item .mask {
	height: 100%;
	left: 0;
	position: absolute;
	right: 0;
	text-align: left;
	top: 0;
	transition: all 0.3s ease 0s;
	width: 95%;
	margin: 0 auto;
	display: block;
	z-index: 201;
	padding: 20px;
	background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.27) 66%, rgba(0,0,0,0.35) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.27) 66%, rgba(0,0,0,0.35) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.27) 66%, rgba(0,0,0,0.35) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
 filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#59000000', GradientType=0 ); /* IE6-9 */
}
.owl-item .item .mask .solid-col {
	background: rgba(228, 60, 92, 0.80);
	height: 100%;
	left: 0;
	position: absolute;
	right: 0;
	text-align: left;
	top: 0;
	transition: all 0.3s ease 0s;
	width: 100%;
	margin: 0 auto;
	display: block;
	z-index: 201;
	padding: 20px;
	box-shadow: 0 -300px 300px -300px rgba(0, 0, 0, 0.8) inset;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
	filter: alpha(opacity=0);
	-moz-opacity: 0;
	-khtml-opacity: 0;
	opacity: 0;
}
.owl-item .item:hover .mask .solid-col {
	box-shadow: 0 -300px 300px -300px rgba(0, 0, 0, 0) inset;
	cursor: pointer;
	transition: all 0.3s ease 0s;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
	filter: alpha(opacity=100);
	-moz-opacity: 1;
	-khtml-opacity: 1;
	opacity: 1;
}
.item .mask .plus {
	height: 100%;
	left: 0;
	position: absolute;
	right: 0;
	text-align: left;
	top: 0;
	transition: all 0.5s ease 0s;
	width: 100%;
	margin: 0 auto;
	display: block;
	z-index: 202;
	background: url(../img/plus.png) center center no-repeat;
}
.owl-item .item .mask p {
	color: #fff;
	font-size: 14px;
	font-weight: 400;
	margin: 0 0 6px;
	transition: all 0.5s ease 0s;
}
.owl-item .item .text-content {
	display: table-cell;
	vertical-align: bottom;
	position: absolute;
	bottom: 0;
	padding-bottom: 20px;
	z-index: 1000;
	text-align: left;
	padding-left: 30px;
}
.owl-item .item .text-content h3 {
	color: #fff;
	font-size: 24px;
	font-weight: 700;
}
.owl-item .item .text-content p {
	color: #ffffff;
}
.owl-controls .owl-pagination {
	z-index: 502;
	position: relative;
	text-align:center;
}
.owl-controls .owl-page {
	cursor: pointer;
}
.owl-controls .owl-buttons div {
	cursor: pointer;
	display: inline-block;
}
.owl-controls .owl-buttons {
	display: block;
	width: 100%;
	position: relative;
	top: -34px;
	z-index: 500;
}
.owl-controls .owl-buttons .owl-prev:before {
	font-family: FontAwesome;
	position: relative;
	z-index: 666;
	display: none;
	color: #606a70;
	left: -20px;
	content: "\f104";
	font-family: FontAwesome;
	font-size: 34px;
}
.owl-controls .owl-buttons .owl-next {
	text-align: right;
	float: right;
	display: none;
}
.owl-controls .owl-buttons .owl-next:before {
	color: #606a70;
	content: "\f105"!important;
	font-family: FontAwesome;
	font-size: 34px;
	position: relative;
	right: -20px;
	display: none;
}
.owl-carousel .owl-controls {
	position: absolute;
	/*top: -68px;*/
	right: 25px;
}
.owl-controls {
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
/* fix */
.owl-carousel .owl-wrapper, .owl-carousel .owl-item {
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	-ms-backface-visibility: hidden;
	-webkit-transform: translate3d(0, 0, 0);
	-moz-transform: translate3d(0, 0, 0);
	-ms-transform: translate3d(0, 0, 0);
}

/* Demo Slides */

#owl-example .item {
	padding: 30px 0px;
	margin: 10px;
	color: #FFF;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	text-align: center;
}
#owl-example .item img {
	width: auto;
	margin: 0 auto;
	display: block;
}
theme .owl-controls.clickable .owl-buttons div:hover {
	filter: Alpha(Opacity=100);/*IE7 fix*/
	opacity: 1;
	text-decoration: none;
}
/* Styling Bullets*/
.owl-theme .owl-controls .owl-page {
	display: inline-block;
	zoom: 1;
 *display: inline;/*IE7 life-saver */
}
.owl-theme .owl-controls .owl-page span {
	display: block;
	width: 15px;
	height: 15px;
	margin: 0 2px;
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	border-radius: 20px;
	background: #606a70;
}
.owl-theme .owl-controls .owl-page.active span, .owl-theme .owl-controls.clickable .owl-page:hover span {
	background-color: #eee;
	/*transform: scale(1.3);*/
}
/* If PaginationNumbers is true */
.owl-theme .owl-controls .owl-page span.owl-numbers {
	height: auto;
	width: auto;
	color: #FFF;
	padding: 2px 10px;
	font-size: 12px;
	-webkit-border-radius: 30px;
	-moz-border-radius: 30px;
	border-radius: 30px;
}


/* TESTIMONIAL */

#owl-demo-testimonial .owl-controls.clickable .owl-page:hover span{
	background-color: #eee;
}
#owl-demo-testimonial .owl-controls.clickable .owl-page.active:hover span{
	background-color: #2D96D4;
}

#owl-demo-testimonial .owl-item .item{
	padding-left: 15px;
	padding-right: 15px;
}
#owl-demo-testimonial .owl-controls {
	position: relative;
	top: 25px;
	text-align: center;
	right: 0;
}
#owl-demo-testimonial .owl-controls .owl-page span {
	width: 18px;
	height: 18px;
}
#owl-demo-testimonial .owl-buttons {
	display: none;
}
#owl-demo-testimonial .owl-page.active span, #owl-demo-testimonial.clickable .owl-page:hover span {
	background: #2D96D4;
	border-color: #2D96D4;
	transform: scale(1);
}
#owl-demo-testimonial .owl-page span {
	background: #FFF;
	border: 1px solid #ddd;
	border-top-left-radius: 18px;
    border-bottom-left-radius: 18px;
}
#owl-demo-testimonial .owl-item .testimonial-text {
	text-align: center;
	margin-bottom: 10px;
}
#owl-demo-testimonial .owl-item .testimonial-text p {
	color: #999;
	font-style: italic;
	font-weight: 400;
	font-size: 14px;
	line-height: 24px;
}
#owl-demo-testimonial .owl-item .testimonial-text h4 {
	color: #333;
	font-weight: 400;
	font-size: 14px;
	line-height: 24px;
	text-transform: uppercase;
	margin: 20px 0 0;
}
#owl-demo-testimonial .owl-item .testimonial-text span {
	color: #666;
	font-size: 14px;
	line-height: 24px;
}





/* Custom OWL Casa */

.owl-item .item{
	padding-left: 0px;
	padding-right: 0px;
}

.owl-buttons {
	display: none;
}

.owl-page span {
	background: #FFF;
	border: 1px solid #ddd;
	border-top-left-radius: 18px;
    border-bottom-left-radius: 18px;
}
.owl-item .casa-text {
	text-align: center;
	margin-bottom: 10px;
}
.owl-item .casa-text p {
	color: #999;
	font-style: italic;
	font-weight: 400;
	font-size: 14px;
	line-height: 24px;
}
.owl-item .casa-text h4 {
	color: #333;
	font-weight: 400;
	font-size: 14px;
	line-height: 24px;
	text-transform: uppercase;
	margin: 20px 0 0;
}
.owl-item .casa-text span {
	color: #666;
	font-size: 14px;
	line-height: 24px;
}



/*CONTROLS*/
/*.owl-controls.clickable .owl-page:hover span{
	background-color: #eee;
}
.owl-controls.clickable .owl-page.active:hover span{
	background-color: #32A557;
}*/
.owl-theme .owl-controls .owl-page span {
	display: block;
	width: 15px;
	height: 15px;
	margin: 0 2px;
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	border-radius: 20px;
	background: #FFF;
}
.owl-theme .owl-controls .owl-page.active span, .owl-theme .owl-controls.clickable .owl-page:hover span {
	background-color: #32A557;
	/*transform: scale(1.3);*/
}

.owl-controls {
	position: relative;
	margin-top: -30px;
	text-align: center;
	right: 0;
}
.owl-controls .owl-page span {
	width: 18px;
	height: 18px;
}

.img-casa .owl-page.active span, #owl-demo-casa.clickable .owl-page:hover span {
	background-color: #32A557;
	border-color: #32A557;
	transform: scale(1);
}
