
a {
  color: #ffffff;
  text-decoration: none;
}
a:hover,
a:focus {
  color: #ffffff;
  text-decoration: none;
}





h2,
h5{
  margin: 10px 0;
  font-family: 'BebasNeueRegular', sans-serif;
  font-weight: normal;
  line-height: 20px;
  color: inherit;
  text-rendering: optimizelegibility;
}

h2 small,
h5 small{
  font-weight: normal;
  line-height: 1;
  color: #999999;
}

h2 {
  font-size: 36px;
  color:#00A19A;
}

h5 {
  font-size: 16px;
}

h2 small {
  font-size: 20px;
}

.fade {
  opacity: 0;
  -webkit-transition: opacity 0.15s linear;
  -moz-transition: opacity 0.15s linear;
  -o-transition: opacity 0.15s linear;
  transition: opacity 0.15s linear;
}

.fade.in {
  opacity: 1;
}

.close {
  float: right;
  font-size: 20px;
  font-weight: bold;
  line-height: 20px;
  color: #000000;
  text-shadow: 0 1px 0 #ffffff;
  opacity: 0.2;
  filter: alpha(opacity=20);
}

.close:hover,
.close:focus {
  color: #000000;
  text-decoration: none;
  cursor: pointer;
  opacity: 0.4;
  filter: alpha(opacity=40);
}

button.close {
  padding: 0;
  cursor: pointer;
  background: transparent;
  border: 0;
  -webkit-appearance: none;
}
/*--MODAL---*/
.modal-backdrop {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1040;
  background-color: #000000;
}
.modal-backdrop.fade {
  opacity: 0;
}
.modal-backdrop,
.modal-backdrop.fade.in {
  opacity: 0.7;
  filter: alpha(opacity=80);
}




.modal {
  position: fixed;
  top: 10%;
  left: 50%;
  z-index: 1050;
  width: 560px;
  margin-left: -280px;
  /*--colore di sfondo e opacità--*/
  background-color:rgba(0,0,0,0.2);
  /*----------------------------*/
  border: 1px solid #999;
  border: 1px solid rgba(0, 0, 0, 0.3);
  *border: 1px solid #999;
  /* IE6-7 */

  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
  -webkit-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
  box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
  -webkit-background-clip: padding-box;
  -moz-background-clip: padding-box;
  background-clip: padding-box;
  outline: none;
}





.modal ul li{
	color:#339966;
	float:none!important;
	list-style:square!important;
	text-align:left;
	display:list-item!important;
	margin-left:20px;
}


/*imposta la distanza MARGINE ALTO del riquadro lightbox quando è nascosta. IMPORTANTE,
(deve stare fuori dalla pagina altrimenti interferisce con i componenti della pagina)*/
.modal.fade {
  -webkit-transition: opacity .3s linear, top .3s ease-out;
  -moz-transition: opacity .3s linear, top .3s ease-out;
  -o-transition: opacity .3s linear, top .3s ease-out;
  transition: opacity .3s linear, top .3s ease-out;
  top: -70%;
}/*-------------------------*/


/*imposta la distanza MARGINE ALTO del riquadro lightbox*/
.modal.fade.in {
  top: 15%;
}
/*-------------------*/
.modal-header {
  padding: 9px 15px;
  border-bottom: 1px solid #eee;
}
.modal-header .close {
  margin-top: 2px;
}
.modal-header h3 {
  margin: 0;
  line-height: 30px;
}
/*il padding imposta lo spessore del bordo della lightbox rispetto alla foto*/
.modal-body {
  background-image:url(../img/eff_vetro.png);
  background-repeat:no-repeat;
  position: relative;
  overflow-y: auto;
  max-height: 400px;
  padding: 20px;
}
/*il padding imposta lo spessore del bordo della lightbox rispetto alla foto*/


.modal-form {
  margin-bottom: 0px;
}
.modal-footer {
  padding: 14px 15px 15px;
  margin-bottom: 0;
  text-align: right;
  background-color: #f5f5f5;
  border-top: 1px solid #ddd;
  -webkit-border-radius: 0 0 6px 6px;
  -moz-border-radius: 0 0 6px 6px;
  border-radius: 0 0 6px 6px;
  -webkit-box-shadow: inset 0 1px 0 #ffffff;
  -moz-box-shadow: inset 0 1px 0 #ffffff;
  box-shadow: inset 0 1px 0 #ffffff;
  *zoom: 1;
}
.modal-footer:before,
.modal-footer:after {
  display: table;
  content: "";
  line-height: 0;
}
.modal-footer:after {
  clear: both;
}
.modal-footer .btn + .btn {
  margin-left: 5px;
  margin-bottom: 0;
}
.modal-footer .btn-group .btn + .btn {
  margin-left: -1px;
}
.modal-footer .btn-block + .btn-block {
  margin-left: 0;
}
.modal {
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
  width: 700px;
  margin-left: -350px;
}
.modal .modal-footer {
  background: #00A19A;
  border: 0;
  padding: 5px 0;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
}
.modal button.close {
  width: 50px;
  height: 50px;
  font-size: 30px;
  opacity: 0.2;
  box-shadow: 0 0 1px 100px #000 inset;
  color: #ffffff;
  background-color:rgba(0,0,0,0.5);
  /*background: #339966;*/
  -webkit-transition: all 0.3s ease-out;
  -moz-transition: all 0.3s ease-out;
  -o-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
  position: absolute;
  /*IMPOSTA il bordo del bottone di chiusura del lightbox*/
  right: 20px;
  top: 20px;
  /*IMPOSTA il bordo del bottone di chiusura del lightbox*/
  z-index: 9;
}
.modal button.close:hover {
  opacity: 1;
  box-shadow: 0 0 1px 0px rgba(255, 255, 255, 0.3) inset;
}
.modal .modal-body {
  max-height: 650px;
  overflow-y: auto;
}
.modal .modal-body > p {
  text-align: left;
}
.modal .carousel-indicators {
  left: 0;
  bottom: 8px;
  top: auto;
}
.modal .carousel-indicators li {
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
}
.modal .carousel-indicators li.active {
  -webkit-transform: scale(1.3);
  -moz-transform: scale(1.3);
  -ms-transform: scale(1.3);
  -o-transform: scale(1.3);
  transform: scale(1.3);
}
.modal .carousel-caption {
  padding: 12px;
}
.modal .carousel-control {
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
  background-color:rgba(0,0,0,0.2);
  border: none;
  opacity: 1;
  font-size: 60px;
  bottom: 0;
  top: auto;
  left: auto;
  width: 50px;
  height: 50px;
  right: 50px;
  line-height: 38px;
}
.modal .carousel-control:hover {
	 -webkit-transition: all 0.3s ease-out;
  -moz-transition: all 0.3s ease-out;
  -o-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
  background-color:rgba(0,0,0,0.5);
}
.modal .carousel-control:hover {
  opacity: 1;
}
.modal .carousel-control.right {
  bottom: 0;
  right: 0;
  background-color:rgba(0,0,0,0.2);
}
.modal .carousel-control.right:hover {
	 -webkit-transition: all 0.3s ease-out;
  -moz-transition: all 0.3s ease-out;
  -o-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
  background-color:rgba(0,0,0,0.5);
}
/*---MODAL---*/
/*---IMG---*/
img {
  /* Responsive images (ensure images don't scale beyond their parents) */

  max-width: 100%;
  /* Part 1: Set a maxium relative to the parent */

  width: auto\9;
  /* IE7-8 need help adjusting responsive images */

  height: auto;
  /* Part 2: Scale the height according to the width, otherwise you get stretching */

  vertical-align: middle;
  border: 0;
  -ms-interpolation-mode: bicubic;
}
/*---IMG---*/
/*---CARUSEL---*/
.carousel {
  position: relative;
  margin-bottom:0px;
  line-height: 1;
}
.carousel-inner {
  overflow: hidden;
  width: 100%;
  position: relative;
}
.carousel-inner > .item {
  display: none;
  position: relative;
  -webkit-transition: 0.6s ease-in-out left;
  -moz-transition: 0.6s ease-in-out left;
  -o-transition: 0.6s ease-in-out left;
  transition: 0.6s ease-in-out left;
}
.carousel-inner > .item > img,
.carousel-inner > .item > a > img {
  display: block;
  line-height: 1;
}
.carousel-inner > .active,
.carousel-inner > .next,
.carousel-inner > .prev {
  display: block;
}
.carousel-inner > .active {
  left: 0;
}
.carousel-inner > .next,
.carousel-inner > .prev {
  position: absolute;
  top: 0;
  width: 100%;
}
.carousel-inner > .next {
  left: 100%;
}
.carousel-inner > .prev {
  left: -100%;
}
.carousel-inner > .next.left,
.carousel-inner > .prev.right {
  left: 0;
}
.carousel-inner > .active.left {
  left: -100%;
}
.carousel-inner > .active.right {
  left: 100%;
}
/*STILE PULSANTI SCORRIMENTO FOTO LIGHTBOX*/
.carousel-control {
  position: absolute;
  top: 50%;
  left: 10px;
  width: 30px;
  height: 30px;
  font-size: 60px;
  font-weight: 100;
  line-height: 25px;
  color: #ffffff;
  text-align: center;
  /*background: #1D71B8;*/
  border: 3px solid #ffffff;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
  opacity: 0.5;
  filter: alpha(opacity=50);
  margin-top:-15px;
}
.carousel-control.right {
  left: auto;
  right: 10px;
}
.carousel-control:hover,
.carousel-control:focus {
  color: #ffffff;
  text-decoration: none;
  opacity: 0.5;
  filter: alpha(opacity=90);
}
.carousel-indicators {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 5;
  margin: 0;
  list-style: none;
}
.carousel-indicators li {
  display: block;
  float: left;
  width: 10px;
  height: 10px;
  margin-left: 5px;
  text-indent: -999px;
  background-color: #ccc;
  background-color: rgba(255, 255, 255, 0.25);
  border-radius: 5px;
}
.carousel-indicators .active {
  background-color: #fff;
}
.carousel-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 15px;
  background: #333333;
  background: rgba(0, 0, 0, 0.75);
}
.carousel-caption h4,
.carousel-caption p {
  color: #ffffff;
  line-height: 20px;
}
.carousel-caption h4 {
  margin: 0 0 5px;
}
.carousel-caption p {
  margin-bottom: 0;
}
/*STILE PULSANTI SCORRIMENTO FOTO LIGHTBOX*/
/*---CARUSEL---*/
