#prenotazioni button{
	width:98%;
	height:12rem;
}
#prenotazioni .prenota{
	color:#000;
	border:#b3b3b3 0.1rem solid;
	cursor:pointer;
	background-color:#009933;
	color:#fff;
	width:98%;
	margin:0 auto;
}

#prenotazioni .pieno{
	cursor:default;
	color:#fff;
	background:rgba(204,0,0,0.4);
}

#prenotazioni .pieno::after{
	content:"posti esauriti";
}

#prenotazioni .bright{
	display:block;
	background-color:#fff;
}

#prenotazioni .bright .num_iscritti{
	display:block;
	background-color:#fff;
	color:#333;
}

#prenotazioni .bright::before{
	display:block;
	color:#006600;
	content:"confermi la prenotazione?";
}
#prenotazioni .full{
	border:#cfcfcf 0.1rem solid;
	background-color:#000;
	color:#666;
	width:98%;
	margin:0 auto;
}

#prenotazioni .inactive{
	background-color:#ebebeb;
	color:#ccc;
}

#prenotazioni .margini{
	margin:0.4rem 0;
	padding:1.5rem 0;
}
#prenotazioni .num_iscritti{
	font-size:1rem;
	display:block;
	/*padding-top:.5rem;*/
	color:#fff;
	font-weight:bold;
}


#prenotazioni {
	background-color: #fff;
	background-image: url(../images/reformer2.jpg);
	background-repeat: no-repeat;
	background-position: center;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	background-size: cover;
	position: relative;
	padding: 15rem 0 15rem;
	color:#000;
}
#prenotazioni_online {
	background-color: #19191b;
	background-image: url(../images/goodlift2.jpg);
	background-repeat: no-repeat;
	background-position: center;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	background-size: cover;
	position: relative;
	padding: 15rem 0 15rem;
	color:#fff;
}

#prenotazioni .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.7);
}


#prenotazioni span {
  color: #ff9900;
}

#prenotazioni span > a{
  color: #fff;
  font-size:2.5rem;
  font-weight:bold;
}

#prenotazioni h3 {
font-family: "sansation", sans-serif;
  font-size: 2.5rem;
  line-height: 1.667;
  color: #000;
  text-transform: uppercase;
  letter-spacing: .3rem;
  position: relative;
  margin-top: 2rem;
}


#prenotazioni .lead {
  font-family: "sansation", _sans;
  font-size: 1.5rem;
  line-height: 1.8;
  color: #999;
  margin-top: 2rem;
}

.red{
	font-size: 2rem;
	line-height: 1.8;
	color: #cc0000;
	margin-top: 2rem;
}
.green{
	font-size: 2rem;
	line-height: 1.8;
	color: #00ff00;
	margin-top: 2rem;
}
p.testo{
	display:inline;
	margin:1rem;
	padding:0;
	color:#fff;
	font-size:1.5rem;
	line-height:1.5rem;
}

p.avviso{
	background:rgba(255,255,255,1);
	margin:0;
	padding:1rem;
	color:#333;
	font-size:1rem;
	line-height:1.5rem;
	border:0.2rem #cc0000 solid;
}
.btn-pers{
  display: inline-block;
 font-family: Sansation, sans-serif;
  font-size: 1.4rem;
  text-transform: uppercase;
  /*letter-spacing: .3rem;
  height: 3rem;*/
  /*line-height: 5.4rem;*/
  padding: 0.2rem 1rem;
  /*margin: 0 .3rem 1.2rem 0;*/
  margin:0;
 background: #666;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  border: none;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.btn-pers:hover,
.btn-pers:focus {
  background: #990000;
  color: #fff;
  outline: 0;
}
.btn_sette{
	display:block;
	font-family:Sansation, _sans;
	font-size:1.2rem;
	color:#fff;
	background:none;
	padding:0.2rem;
	margin:1rem 0;
}
/* Stili di base per oscuramento della finestra   */
.overlayM {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 10;
    display: none;
/* livello di oscuramento  */
    background-color: rgba(0, 0, 0, 0.65);
    position: fixed; /* posizionamento fisso */
    cursor: default; /* tipo del cursore */
}
/* attivare livello di oscuramento */
.overlayM:target {
    display: block;
}
/* stili di finestre pop-up */
.popup {
    top: -100%;
    right: 0;
    left: 50%;
    font-size: 2rem;
    z-index: 9999999;
    margin: 0;
    width: 85%;
    min-width: 320px;
    max-width: 600px;

/* posizionamento fisso allo scorrimento della pagina  */
    position: fixed;
    padding: 15px;
    border: 1px solid #383838;
    background: #fefefe;
/* arrotondamento dei angoli  */
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    border-radius: 4px;
    /*font: 14px/18px 'Tahoma', Arial, sans-serif;*/
/* ombra esetrna */
        box-shadow: 0 15px 20px rgba(0,0,0,.22),0 19px 60px rgba(0,0,0,.3);
       transform: translate(-50%, -500%);
    transition: transform 0.6s ease-out;
}
/* attivare finestra modale, viene utilizato pseudo-classe:target*/
.overlayM:target+.popup {
    transform: translate(-50%, 0);
    top: 10%;
}
/* formare il bottone di chiusura  */
.close {
    top: -10px;
    right: -10px;
    width: 20px;
    height: 20px;
    position: absolute;
    padding: 0;
    border: 2px solid #ccc;
    border-radius: 15px;
    background-color: rgba(61, 61, 61, 0.8);
    box-shadow: 0px 0px 10px #000;
    text-align: center;
    text-decoration: none;
    font: 13px/20px 'Tahoma', Arial, sans-serif;
    font-weight: bold;
    transition: all ease .8s;
}
.close:before {
    color: rgba(255, 255, 255, 0.9);
    content: "X";
    text-shadow: 0 -1px rgba(0, 0, 0, 0.9);
    font-size: 12px;
}
.close:hover {
    background-color: rgba(252, 20, 0, 0.8);
    -webkit-transform: rotate(360deg);    
}
/* immagine al interno della afinestra */
.popup img {
    width: 95%;
    height: auto;
	margin:0 auto;
}
/* miniatura a destra/sinistra  */
.pic-left, 
.pic-right {
    width: 25%;
    height: auto;
}
.pic-left {
    float: left;
    margin: 5px 15px 5px 0;
}
.pic-right {
    float: right;
    margin: 5px 0 5px 15px;
}
/* elemento media, frame  */
.popup embed, 
.popup iframe {
    top: 0;
    right: 0;
    bottom: 0; 
    left: 0; 
    display:block;
    margin: auto;
    min-width: 320px;
    max-width: 600px;
    width: 100%;
}
.popup h2 { /* titolo 2 */
    margin: 0;
    color: #000;
    padding: 5px 0px 10px;
    text-align: left;
    text-shadow: 1px 1px 3px #adadad;
    font-weight: 500;
    font-size: 1.4em;
    font-family: 'Tahoma', Arial, sans-serif;
    line-height: 1.3;
}
/* paragrafi*/
.popup p {margin: 0; padding: 5px 0}

/* ===================================================================
 *  14. testimonials - (_layout.scss)
 *
 * ------------------------------------------------------------------- */
#testimonials {
  background: #000;
  padding: 12rem 0 7.8rem;
  text-align: center;
}
#testimonials h2 {
  font-size: 1.8rem;
  line-height: 1.667;
  color: #8a9597;
  text-transform: uppercase;
  letter-spacing: .3rem;
  position: relative;
  margin-bottom: 4.2rem;
}

#testimonials .flex-container {
  width: 80%;
  max-width: 900px;
  margin: 0 auto;
}

#testimonial-slider {
  margin: 0 0 3rem 0;
  position: relative;
}
#testimonial-slider .slides {
  padding-bottom: 3rem;
}
#testimonial-slider p {
  font-family: "Sansation", serif;
  font-size: 3rem;
  line-height: 1.8;
  color: #ebebeb;
}
#testimonial-slider p::before, #testimonial-slider p::after {
  display: inline-block;
  font-family: "Sansation", serif;
  font-size: 3.6rem;
  line-height: 1;
}
#testimonial-slider p::before {
  content: '\201C';
}
#testimonial-slider p::after {
  content: '\201D';
}
#testimonial-slider .testimonial-author {
  margin-top: 4.2rem;
}
#testimonial-slider .testimonial-author img {
  width: 7.4rem;
  height: 7.4rem;
  margin: 0 auto 1.2rem auto;
  display: block;
  border-radius: 50%;
  vertical-align: middle;
}
#testimonial-slider .testimonial-author .author-info {
  display: inline-block;
  vertical-align: middle;
  text-align: center;
  font-family: "Sansation", sans-serif;
  font-size: 2rem;
  margin-top: .9rem;
  margin-bottom: 3rem;
  color: #fff;
}
#testimonial-slider .testimonial-author .author-info span {
  display: block;
  font-family: "Sansation", sans-serif;
  font-size: 1.6rem;
  line-height: 1.313;
  letter-spacing: 0;
  text-transform: none;
  color: rgba(0, 0, 0, 0.5);
  margin-top: .3rem;
}

/* control nav */
#testimonials .flex-control-nav {
  width: 100%;
  text-align: center;
  display: block;
  position: absolute;
  bottom: -1.5rem;
}
#testimonials .flex-control-nav li {
  margin: 0 6px;
  display: inline-block;
  zoom: 1;
}

#testimonials .flex-control-paging li a {
  width: 9px;
  height: 9px;
  background-color: #959595;
  display: block;
  cursor: pointer;
  border-radius: 50%;
  font: 0/0 a;
  text-shadow: none;
  color: transparent;
}
#testimonials .flex-control-paging li a:hover {
  background-color: #555555;
}
#testimonials .flex-control-paging li a.flex-active {
  background-color: #000000;
}

#goodlab {
  background: #000;
  padding: 12rem 0 7.8rem;
  text-align: center;
}
#goodlab h2 {
  font-size: 1.8rem;
  line-height: 1.667;
  color: #8a9597;
  text-transform: uppercase;
  letter-spacing: .3rem;
  position: relative;
  margin-bottom: 4.2rem;



/* ------------------------------------------------------------------- 
 * responsive:
 * testimonials
 * ------------------------------------------------------------------- */
@media only screen and (max-width: 1024px) {
  #testimonial-slider p {
    font-size: 2.8rem;
  }
}
@media only screen and (max-width: 768px) {
  #testimonials h2 {
    font-size: 1.7rem;
  }

  #testimonial-slider p {
    font-size: 2.5rem;
  }
  #testimonial-slider .testimonial-author img {
    width: 6.6rem;
    height: 6.6rem;
  }
  #testimonial-slider .testimonial-author .author-info {
    font-size: 1.8rem;
  }
  #testimonial-slider .testimonial-author .author-info span {
    font-size: 1.5rem;
  }
}
@media only screen and (max-width: 600px) {
  #testimonials .flex-container {
    width: 90%;
  }

  #testimonial-slider p {
    font-size: 2.2rem;
  }
}
@media only screen and (max-width: 500px) {
  #testimonials h2 {
    font-size: 1.5rem;
  }
}
@media only screen and (max-width: 400px) {
  #testimonials .flex-container {
    width: 100%;
  }

  #testimonial-slider p {
    font-size: 2rem;
  }
}
/* ===================================================================
 *  13. events - (_layout.scss)
 *
 * ------------------------------------------------------------------- */
#events {
  /*background: #000;*/
  /*min-height: 800px;*/
  position: relative;
  padding: 0;
}
#events .intro-wrap {
  padding: 15rem 0 21rem;
  background: #111111;
}
#events .section-intro h3 {
  color: rgba(242, 242, 242, 0.5);
}
#events .section-intro h1 {
  color: #FFFFFF;
}
#events .section-intro .lead {
  color: rgba(242, 242, 242, 0.4);
}
#events .portfolio-content {
  margin-top: -22.2rem;
}
#events .bricks-wrapper:before, 
#events .bricks-wrapper:after {
  content: "";
  display: table;
}
#events .bricks-wrapper:after {
  clear: both;
}
#events .bricks-wrapper .brick {
  float: left;
  width: 50%;
  padding: 0;
  margin: 0;
}
#events .bricks-wrapper .brick:nth-child(2n+1) {
  clear: both;
}
.events-blur{
	opacity:0.7;
	border:gray 0.1rem solid;
}

.events-blur:hover{
	opacity:1;
}

/* ------------------------------------------------------------------- 
 * responsive:
 * portfolio
 * ------------------------------------------------------------------- */
@media only screen and (max-width: 768px) {
  #events .intro-wrap {
    padding: 12rem 0 21rem;
	float: none;
    width: 100%;
  }
}