/*ACCORDION*/
.conventAccordion {
  position: relative;
  overflow: hidden;
  padding: 0;
  list-style-type: none;
}

.conventAccordion.vertical li {
  width: auto;
  height: auto;
}

.conventAccordion.nested {
  width: auto;
  height: inherit;
  padding: 0 !important;
  border: 0 !important;
}

/*LABELS*/
.CAspine {
  position: relative;
  z-index: 100;
  height: inherit;
  width: 80px;
  line-height: 50px;
  color: #ffffff;
  backface-visibility: hidden;
  font-size: 16px;
  font-weight: normal;
  float: left;
  -webkit-transform: scale3d(1, 1, 1); /* fixes webkit bug */
  -webkit-transition: background 0.5s ease;
  -moz-transition: background 0.5s ease;
  -o-transition: background 0.5s ease;
  -ms-transition: background 0.5s ease;
  transition: background 0.5s ease;
}

.vertical .CAspine {
  height: 50px;
  width: inherit;
  float: top;
}

.CAspineTitle {
  position: absolute;
  height: 80px;
  padding-top: 15px;
  padding-right: 15px;
  text-align: right;
  -webkit-backface-visibility: hidden; /* fixes webkit bug */

  /* CSS3 */ transform: translateX(-100%) rotate(-90deg);
  transform-origin: right top;  /* Opera */
  -o-transform: translateX(-100%) rotate(-90deg);
  -o-transform-origin: right top;  /* Webkit */
  -webkit-transform: translateX(-100%) rotate(-90deg);
  -webkit-transform-origin: right top;  /* Firefox */
  -moz-transform: translateX(-100%) rotate(-90deg);
  -moz-transform-origin: right top;  /* Internet Explorer 9 */
  -ms-transform: translateX(-100%) rotate(-90deg);
  -ms-transform-origin: right top;
}

.vertical .CAspineTitle {
  height: inherit;
  width: inherit;
  left: 50px;
  text-align: left;
  -webkit-backface-visibility: hidden; /* fixes webkit bug */

  /* CSS3 */ transform: translateX(0%) rotate(0deg);
  transform-origin: right top;  /* Opera */
  -o-transform: translateX(0%) rotate(0deg);
  -o-transform-origin: right top;  /* Webkit */
  -webkit-transform: translateX(0%) rotate(0deg);
  -webkit-transform-origin: right top;  /* Firefox */
  -moz-transform: translateX(0%) rotate(0deg);
  -moz-transform-origin: right top;  /* Internet Explorer 9 */
  -ms-transform: translateX(0%) rotate(0deg);
  -ms-transform-origin: right top;
}

.lteIE8 .CAspineTitle {

  /* Internet Explorer <9 */ filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
  cursor: pointer;
}

.CAspine:hover {
  background: #232323;
  color: #fff;
  cursor: pointer;
}

.CAspineNumber {
  display: block;
  position: absolute;
  height: 50px;
  width: inherit;
  bottom: 0;
  font-weight: normal;
  font-size: 1.1em;
  text-align: center;
}

.vertical .CAspineNumber {
  height: inherit;
  width: 50px;
  left: 0;
}

/*SLIDES*/
.CAslide {
  top: 0;
  z-index: 10;
  background: white;
  color: #333;
  display: block;
  height: inherit;
  width: 0px;
  font-size: 16px;
  float: left;
  overflow: hidden;
}

.vertical .CAslide {
  height: 0px;
  width: 100%;
}

.CAslideContent {
  position: relative;
  height: inherit;
}

.vertical .CAslideContent {
  width: inherit;
  padding-top: 5px;
}

/****************************************** Basic */
.conventAccordion.basic li:nth-child(even)> .CAspine {
  background: #212121
}

.conventAccordion.basic li:nth-child(odd)> .CAspine {
  background: #191919
}

.CAspine:hover {
  background: #ed1c24 !important;
}

.CAspine.active {
  background: #ed1c24 !important;
}

/***************************************** Light */
.conventAccordion.light {
  border: 9px solid white;
  border-bottom-width: 8px;
  padding: 5px 5px 6px 0;
  background: #a0a0a0;
  -webkit-box-shadow: -1px -1px 0 #c0c0c0, 1px 1px 0 #c0c0c0, 0 5px 15px rgba(0, 0, 0, 0.4);
  -moz-box-shadow: -1px -1px 0 #c0c0c0, 1px 1px 0 #c0c0c0, 0 5px 15px rgba(0, 0, 0, 0.4);
  -ms-box-shadow: -1px -1px 0 #c0c0c0, 1px 1px 0 #c0c0c0, 0 5px 15px rgba(0, 0, 0, 0.4);
  -o-box-shadow: -1px -1px 0 #c0c0c0, 1px 1px 0 #c0c0c0, 0 5px 15px rgba(0, 0, 0, 0.4);
  box-shadow: -1px -1px 0 #c0c0c0, 1px 1px 0 #c0c0c0, 0 5px 15px rgba(0, 0, 0, 0.4);
}

.conventAccordion.light .CAspine {
  width: 43px;
  margin-left: 5px;
  background: #fcfcfc;
  background: -moz-linear-gradient(top, #fcfcfc 0%, #ededed 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ededed), color-stop(100%, #fcfcfc));
  background: -webkit-linear-gradient(top, #ededed 0%, #fcfcfc 100%);
  background: -o-linear-gradient(top, #ededed 0%, #fcfcfc 100%);
  background: -ms-linear-gradient(top, #ededed 0%, #fcfcfc 100%);
  background: linear-gradient(top, #ededed 0%, #fcfcfc 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ededed', endColorstr='#fcfcfc', GradientType=1);
  -webkit-box-shadow: -1px -1px 0 #909090 inset, 1px 1px 0 #909090 inset;
  -moz-box-shadow: -1px -1px 0 #909090 inset, 1px 1px 0 #909090 inset;
  -o-box-shadow: -1px -1px 0 #909090 inset, 1px 1px 0 #909090 inset;
  box-shadow: -1px -1px 0 #909090 inset, 1px 1px 0 #909090 inset;
  color: #909090;
}

.conventAccordion.light.vertical .CAspine {
  margin-right: 0;
  background: -moz-linear-gradient(left, #fcfcfc 0%, #ededed 100%);
  background: -webkit-gradient(linear, left center, rigth center, color-stop(0%, #fcfcfc), color-stop(100%, #ededed));
  background: -webkit-linear-gradient(left, #fcfcfc 0%, #ededed 100%);
  background: -o-linear-gradient(left, #fcfcfc 0%, #ededed 100%);
  background: -ms-linear-gradient(left, #fcfcfc 0%, #ededed 100%);
  background: linear-gradient(left, #fcfcfc 0%, #ededed 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fcfcfc', endColorstr='#ededed', GradientType=1);
}

.conventAccordion.light .CAspineTitle {
  text-shadow: 0 -1px 0 white;
  padding-right: 20px;
  line-height: 300%
}

.conventAccordion.light .CAspineNumber {
  color: #909090;
  text-shadow: -1px 1px 0 white
}

.conventAccordion.light .active .CAspine {
  background: #ffffff
}

.conventAccordion.light .active.CAspine:after {
  z-index: 98;
  background: #ededed;
  content: '';
  display: block;
  height: 20px;
  width: 20px;
  position: absolute;
  left: 33px;
  top: 25px;
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
  -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";
  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2);
  border-top: 0;
  border-left: 0;
}

.conventAccordion.light.vertical .active.CAspine:after {
  background: #fcfcfc;
  left: 50px;
  top: 37px;
}

.conventAccordion.light .CAslide {
  background: #a0a0a0;
}

.conventAccordion.light .CAslideContent {
}

.accordion-bg-img {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

figure {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0
}

figcaption {
  padding: 10px 15px;
  position: absolute;
  bottom: 20px;
  left: 30px;
  z-index: 3;
  background: black;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  border-radius: 0px
}
