  

/**
 * BxSlider v4.1.2 - Fully loaded, responsive content slider
 * http://bxslider.com
 *
 * Written by: Steven Wanderski, 2014
 * http://stevenwanderski.com
 * (while drinking Belgian ales and listening to jazz)
 *
 * CEO and founder of bxCreative, LTD
 * http://bxcreative.com
 */


/** RESET AND LAYOUT
===================================*/

.bxslider {
	list-style-type: none;
	margin: 0px;
	padding: 0px;
	max-height: 450px;
    overflow: hidden;
}

.bx-wrapper {
	position: relative;
	margin: 0 auto 0px auto;
	padding: 0;
	*zoom: 1;
}

.bx-wrapper img {
	display: block;
}

/** THEME
===================================*/

.bx-wrapper .bx-viewport {
	/*fix other elements on the page moving (on Chrome)*/
	-webkit-transform: translatez(0);
	-moz-transform: translatez(0);
    	-ms-transform: translatez(0);
    	-o-transform: translatez(0);
    	transform: translatez(0);
}

.bx-wrapper .bx-pager,
.bx-wrapper .bx-controls-auto {
	position: absolute;
	bottom: 38px;
	width: 100%;
}

/* LOADER */

.bx-wrapper .bx-loading {
	min-height: 50px;
	height: 100%;
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2000;
}

/* PAGER */

.bx-wrapper .bx-pager {
    text-align: center;
    font-size: .85em;
    position: relative;
    width: 290px;
    margin: 0px auto 0px auto;
    font-family: Arial;
    font-weight: bold;
    color: #666;
    padding: 12px 0px 6px 0px;
    background: url(./images/transparent-bg.png);
	border-radius: 5px;
}

.bx-wrapper .bx-pager .bx-pager-item,
.bx-wrapper .bx-controls-auto .bx-controls-auto-item {
	display: inline-block;
	*zoom: 1;
	*display: inline;
}

.bx-wrapper .bx-pager.bx-default-pager a {
	background: #FFFFFF;
	text-indent: -9999px;
	display: block;
	width: 20px;
	height: 20px;
	margin: 0px 7px 0px 7px;
	outline: 0;
	padding: 2px;
	border: 2px solid #ffffff;
	border-radius:100%;
}

.bx-wrapper .bx-pager.bx-default-pager a:hover,
.bx-wrapper .bx-pager.bx-default-pager a.active {
	background: ;
}

/* DIRECTION CONTROLS (NEXT / PREV) */
.bx-wrapper .bx-controls-direction {
	margin-top:10px;
}
.bx-wrapper .bx-prev {
    background: url(./images/controls.png) no-repeat 0 -32px;
	position:relative;
	top:80px; left:-40px;
}

.bx-wrapper .bx-next {
    background: url(./images/controls.png) no-repeat -43px -32px;
	position:relative;
	top:80px; right:-40px;		
}

.bx-wrapper .bx-prev:hover {
	background-position: 0 0;
}

.bx-wrapper .bx-next:hover {
	background-position: -43px 0;
}

.bx-wrapper .bx-controls-direction a {
    position: absolute;
    margin-top: 0px;
    outline: 0;
    width: 32px;
    height: 32px;
    text-indent: -9999px;
    z-index: 9999;
}

.bx-wrapper .bx-controls-direction a.disabled {

}

/* AUTO CONTROLS (START / STOP) */
.bx-wrapper .bx-controls-auto {
	display: none;
}
.bx-wrapper .bx-controls-auto {
	text-align: center;
}

.bx-wrapper .bx-controls-auto .bx-start {
	display: block;
	text-indent: -9999px;
	width: 10px;
	height: 11px;
	outline: 0;
	background: url(./images/controls.png) -86px -11px no-repeat;
	margin: 0 3px;
}

.bx-wrapper .bx-controls-auto .bx-start:hover,
.bx-wrapper .bx-controls-auto .bx-start.active {
	background-position: -86px 0;
}

.bx-wrapper .bx-controls-auto .bx-stop {
	display: block;
	text-indent: -9999px;
	width: 9px;
	height: 11px;
	outline: 0;
	background: url(./images/controls.png) -86px -44px no-repeat;
	margin: 0 3px;
}

.bx-wrapper .bx-controls-auto .bx-stop:hover,
.bx-wrapper .bx-controls-auto .bx-stop.active {
	background-position: -86px -33px;
}

/* PAGER WITH AUTO-CONTROLS HYBRID LAYOUT */

.bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-pager {
	text-align: left;
	width: 80%;
}

.bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-controls-auto {
	right: 0;
	width: 35px;
}

/* IMAGE CAPTIONS */

.bx-wrapper .bx-caption {
	position: absolute;
	bottom: 0;
	left: 0;
	background: #666\9;
	background: rgba(80, 80, 80, 0.75);
	width: 100%;
}

.bx-wrapper .bx-caption span {
	color: #fff;
	font-family: Arial;
	display: block;
	font-size: .85em;
	padding: 10px;
}

/****************** PERSONALIZZAZIONI *********************/
#main-slider{
	z-index: 777;
}

#main-slider  .carousel-content {
  margin-top: 85px;
  background-color: #FFFFFF;
  padding: 15px;
  font-size: 0.9em;
  border-radius: 5px;
}

#main-slider  .titoloContSlider {
	display: block;
	font-family: 'Titillium Web', sans-serif;
	font-size: 1.4em;
	font-weight:600;
	color: ;
    line-height: 1.4;	
}

#main-slider .descContSlider {
	display: block;
	margin-top: 15px;
}

#main-slider  .slide-margin{
  margin-top: 0px;
}

#main-slider  .item {
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: cover;
  left: 0 !important;
  top: 0;
  position: absolute;
  width: 100%;
  display: block !important;
  height: 28rem;
  position: relative;
}
#main-slider  .btn-slide {
  padding: 8px 20px;
  border-radius: 0px;
  margin-top: 25px;
  display: inline-block;
  background: #0E3F74;
  color: #FFFFFF;
}
#main-slider a:hover {
	color: #FFFFFF;
}

#sliderPiani {
	margin-bottom: 20px;
	padding-bottom:15px;
	background: #F4F4F2;
}

#sliderPiani .bx-pager-item{
	display:none;
}

#sliderPiani .bx-pager{
	display:none;
}

#sliderPiani .bx-wrapper .bx-controls-direction{
    display: block;
    border: 1px solid #B2372E;
    width: 60px;
    height: 35px;
    margin-left: 251px;
}

.slidContTitle {
    font-size: 1.2em;
    line-height: 1.5;
    color: #B2372D;
    margin-bottom: 5px;
    padding: 0px 10px 0px 10px;
    font-weight: 600;
}

.slidContTitle a{
	color:#B2372D;
}

.slidContTitle a:hover{
	text-decoration: underline;
}

.slidContDesc{
	margin: 0px 10px;
    line-height: 1.4;
    color: #000000;
    font-weight: 300;
    /*min-height: 230px;*/
}

.img-slider {
	max-height: 165px;
    overflow: hidden;
    margin: 5px 15px 10px 15px;
	float: left;
}

