/* ------------------------------- STATIC VERSION */

.item {
  padding: 10px;
  margin: 10px 0;
  position: relative;
  border: 1px solid #ccc;
  background-color: #fff;
  min-height: 400px;

  -webkit-transition: all .5s ease;
  -moz-transition: all .5s ease;
  -o-transition: all .5s ease;
  -ms-transition: all .5s ease;
  transition: all .5s ease;
}
.item * {
  visibility: hidden;
}
.item:after {
  content: "Loading ...";
  display: block;
  color: #444;
  text-align: center;
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  margin-top: -20px;
}

/* ------------------------------- DYNAMIC VERSION  */

/* MAIN */
.master {
  min-height: 400px;
  position: relative;
  overflow: hidden;
  background-color: #f9f9f9;
  border: 1px solid #444;
  margin: 0 30px;
}
.master .item * {
  visibility: visible;
}
.master .item:after {
  pointer-events: none;
  content: "";
}
.master .item {
  position: relative;
  left: -800px;
  border: 0;
  min-height: auto;
}

/* ------------------------------- BUTTONS */

.master .btn {
  position: absolute;
  top: 50%;
  margin-top: -20px;
  width: 60px;
  height: 60px;
  background-color: rgba(255,255,255,0.75);
  border-radius: 100%;
  border: 5px solid #444;
  z-index: 3;
}
.master .btn:after {
  content: " ";
  position: absolute;
  width: 15px;
  height: 15px;
  border-top: 5px solid #444;
  border-right: 5px solid #444;
  top: 15px;
}
.master .previous {
  left: 5px;
}
.master .previous:after {
  transform: rotate(-135deg);
  left: 19px;
}
.master .next {
  right: 15px;
}
.master .next:after {
  transform: rotate(45deg);
  left: 15px;
}
.master .btn:hover:after {
  border-color: #000;
}



/* ------------------------------- SLIDE CONTENT SELECTED */

/* SELECTED ITEMS */
.master .selectedItem {
  border-bottom: 1px solid #ccc;
  margin: 0;
  min-height: 380px;
  padding: 20px 40px;
  font-size: 16px;
  background-color: transparent;
  position: relative;
  z-index: 1;
}

.master .selectedItem:before {
  content: "";
  position: absolute;
  width: 200%;
  height: 300%;
  top: -50%;
  left: -50%;
  z-index: -1;
  -webkit-transform: rotate(-20deg);
  transform: rotate(-20deg);
  background: url("https://webgate.ec.europa.eu/fpfis/wikis/download/attachments/102999360/opti_009.jpg") top center repeat;
  background-size: 50% auto;
  max-width: 3000px;
}




.master .selectedItem .desc {
  background-color: rgba(0,0,0,.8);
  color: #fff;
  padding: 30px;

  position: absolute;position: absolute;
  bottom: -400px;
  left: 80px;

  -webkit-transition: all 1s ease;
  -moz-transition: all 1s ease;
  -o-transition: all 1s ease;
  -ms-transition: all 1s ease;
  transition: all 1s ease;

  max-width: 600px;

}
.master .animate .desc {
  bottom: 30px;
}
.master .animate {
  opacity: 1;
  left: 0 ;
}

/* ------------------------------- SLIDE BACKGROUND */

/* WEBTOOLS */
.master .selectedItem.webtools .desc {
  background-color: rgba(0,59,85,.9);
}
/* LACO */
.master .selectedItem.laco:before {
  background: url("https://webgate.ec.europa.eu/fpfis/wikis/download/attachments/102999360/opti_laco.jpg") top center repeat;
}
.master .selectedItem.laco .desc {
  background-color: rgba(1,67,149,.9);
  right: 80px;
  left: auto;
  max-width: 500px;
}
/* CHARTS */
.master .selectedItem.charts:before {
  background: url("https://webgate.ec.europa.eu/fpfis/wikis/download/attachments/102999360/opti_charts.png") top center repeat;
  background-size: 40% auto;
}
.master .selectedItem.charts .desc {
  background-color: rgba(70,110,180,.9);
  right: 80px;
  left: auto;
  max-width: 500px;
}
/* BMAP */
.master .selectedItem.bmap:before {
  background: url("https://webgate.ec.europa.eu/fpfis/wikis/download/attachments/102999360/opti_bmap.jpg") top right repeat;
  background-size: 50% auto;
}
.master .selectedItem.bmap .desc {
  background-color: rgba(85,156,88,.9);
  max-width: 500px;
}
.master .selectedItem.bmap a {
  color: #fff;
  background-color: #444;
}

/* WIZARD */
.master .selectedItem.wizard:before {
  background: url("https://webgate.ec.europa.eu/fpfis/wikis/download/attachments/102999360/opti_wizard.jpg") top center repeat;
  background-size: 50% auto;
}
.master .selectedItem.wizard .desc {
  background-color: rgba(1,67,149,.9);
  right: 80px;
  left: auto;
  max-width: 400px;
}
/* SBKM */
.master .selectedItem.sbkm:before {
  background: url("https://webgate.ec.europa.eu/fpfis/wikis/download/attachments/102999360/opti_sbkm.jpg") top center repeat;
  background-size: 25% auto;
}
.master .selectedItem.sbkm .desc {
  background-color: rgba(1,67,149,.9);
}
/* SML */
.master .selectedItem.sml:before {
  background: url("https://webgate.ec.europa.eu/fpfis/wikis/download/attachments/102999360/opti_006.jpg") #fff bottom left repeat;
  background-size: 33% auto;
}
.master .selectedItem.sml .desc {
  background-color: rgba(26,51,58,.8);
}
/* geo */
.master .selectedItem.geo:before {
  background: url("https://webgate.ec.europa.eu/fpfis/wikis/download/attachments/102999360/opti_geo.jpg") #fff center center repeat;
  background-size: 50% auto;
}
.master .selectedItem.geo .desc {
  background-color: rgba(52,102,151,.9);
}

/* ------------------------------- RESPONSIVE */

@media all and (max-width: 720px) {
  .master {
    min-height: 200px;
  }
  .master .selectedItem {
    min-height: 200px;
    padding: 20px;
  }
  .master .selectedItem .desc {
    position: relative;
    left: 0;
    right: 0;
    bottom: auto;
    top: 0;
    max-width: 100%;
    padding-bottom:60px;
  }
  .master .btn {
    top: 75px;
    width: 40px;
    height: 40px;
    top: auto;
    bottom: 40px;
  }
  .master .next {
    right: 40px;
  }
  .master .next:after {
    left: 10px;
  }
  .master .previous {
    left: auto;
    right: 90px;
  }
  .master .previous:after {
    left: 15px;
  }
  .master .btn:after {
    border-color: #000;
    top: 12px;
    width: 10px;
    height: 10px;
  }
}

/* ------------------------------- TO DOC */

[hidden] {
  display: none; /* IE */
}

.off-screen {
  position: absolute;
  left: -9999px;
  top: -9999px;
}

@media print {
  .off-print {
    display: none;
  }
}