.photo-gallery-container {
  position: relative;
  background: #000;
}

.photo-gallery-container.gallery-two-columns {
  padding: 15px 25px 0;
}

@media(min-width: 992px) {
  .photo-gallery-container.gallery-two-columns {
    margin: 0 0 25px -25px;
  }
  .photo-gallery-container.gallery-three-columns {
    margin: 0 -25px 25px;
  }
}

.photo-gallery-container .photo-gallery {
  padding: 25px;
  background: #000;
}

.photo-gallery-container.item-sidebar .photo-gallery {
  padding: 0;
}

.photo-gallery-container .photo-gallery-active {
  margin: 0;
}
.photo-gallery-container .photo-gallery-caption {
  background: #000;
  background: rgba(0, 0, 0, 0.75);
  font-size: 0.75em;
  color: #fff;
  line-height: 2em;
}
.photo-gallery-container .photo-gallery-slider:after {
  content: " ";
  display: block;
  clear: both;
  float: none;
}
.photo-gallery-container .photo-gallery-title {
  color: #ff9c00;
  position: relative;
  padding: 0 1.5em;
  font-size: 1.563em;
  line-height: 1.3em;
  margin: 1em 0;
}

@media(min-width:768px) and (max-width: 991px) {
  .photo-gallery-container .photo-gallery-title {
    padding: 0 1.8em;
  }
}
.photo-gallery-container .photo-gallery-title:before {
  content: "\e060";
  font-family: 'Glyphicons Halflings';
  position: absolute;
  top: 14px;
  left: 0;
  font-size: 0.7em;
}
.photo-gallery-container .photo-gallery-title a {
  color: inherit;
}
.photo-gallery-container .photo-gallery-title .content {
  float: left;
}
.photo-gallery-container .photo-gallery-title .photo-gallery-counter {
  padding-left: 1.5em;
  position: absolute;
  top: 0;
  right: 0;
}
.photo-gallery-container .photo-gallery-title:hover {
  color: #cc7d00;
}
.photo-gallery-container .photo-gallery-counter {
  padding-left: 1.5em;
  color: #fff;
  position: relative;
  font-size: 0.667em;
}
.photo-gallery-container .photo-gallery-counter:before {
  content: "\e046";
  position: absolute;
  font-family: 'Glyphicons Halflings';
  line-height: 1em;
  top: 3px;
  left: -3px;
  padding: 5px;
  border-radius: 100%;
}
.photo-gallery-container .photo-gallery-counter:hover:before {
  -webkit-animation: cameraflash 150ms 1;
  animation: cameraflash 150ms 1;
}
.photo-gallery-container .photo-gallery-item {
  float: left;
  background: #000;
  border-bottom: 3px solid transparent;
  width: 122px;
  height: 71px;
  overflow: hidden;
}
.photo-gallery-container .photo-gallery-item img {
  opacity: 0.5;
  transition: all 250ms ease;
}
.photo-gallery-container .photo-gallery-item:hover img {
  opacity: 0.75;
}
.photo-gallery-container .photo-gallery-item.active {
  border-bottom: 3px solid #ff9c00;
}
.photo-gallery-container .photo-gallery-item.active img {
  opacity: 1;
}
[data-gallery] .slide-container {
  position: relative;
  transition: height 500ms ease;
  text-align: left;
}
[data-gallery] .gallery-selector-slider {
  overflow: hidden;
  position: relative;
}
[data-gallery] .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  z-index: 0;
  transition: opacity 500ms ease;
}
[data-gallery] .slide.active {
  opacity: 1;
  z-index: 1;
}
[data-gallery] .slide.media {
  margin: 0;
}
[data-gallery] .thumbnails-wrapper {
  overflow: hidden;
  position: relative;
}
[data-gallery] .thumbnails {
  position: relative;
  transition: left 250ms ease;
}
[data-gallery] .controller {
  padding: 0 15px;
  display: table;
  background: #333;
  background: rgba(0, 0, 0, 0.5);
  position: absolute;
  z-index: 2;
  color: #fff;
  font-size: 1.25em;
  font-weight: 400;
  top: 180px;
  height: 60px;
}
[data-gallery] .controller:hover {
  background: #000;
  background: rgba(0, 0, 0, 0.75);
}
[data-gallery] .controller .icon-container {
  display: table-cell;
  vertical-align: middle;
}
.photo-gallery-container.item-sidebar .glyphicon, .photo-gallery-container.gallery-two-columns .glyphicon {
  font-size: 0.7em;
}
[data-gallery] .controller.prev {
  left: 0;
}
[data-gallery] .controller.next {
  right: 0;
}
[data-gallery] .gallery-selector .controller.full {
  top: 0px;
  height: 126px;
  padding: 0 3px;
  background: #3b3b3b;
}
[data-gallery] .gallery-selector .controller.full:hover {
  background: #222222;
}
[data-gallery] .clear-me {
  opacity: 1;
  transition: opacity 500ms ease;
}
[data-gallery].clear-viewport .clear-me {
  opacity: 0;
}
[data-gallery].clear-viewport-full .clear-me-full {
  display: none;
}
[data-gallery] .gallery-selector {
  width: 20%;
  background: #111;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  overflow: hidden;
}
[data-gallery] .gallery-selector-item {
  margin-bottom: 20px;
  cursor: pointer;
  padding: 0 15px;
}
[data-gallery] .photo-gallery-selector-title {
  position: relative;
  font-size: 15px;
  text-transform: uppercase;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: #ff9c00;
  color: #fff;
  line-height: 55px;
  text-align: center;
  padding: 0 10px;
  margin: 0 0 25px;
}
[data-gallery] .photo-gallery-selector-title:after {
  content: "\e114";
  position: absolute;
  font-family: 'Glyphicons Halflings';
  color: #fff;
  line-height: 25px;
  height: 25px;
  width: 25px;
  bottom: -0.75em;
  left: 84px;
  background: #ff9c00;
  border-radius: 100%;
}
[data-gallery] .gallery-selector-media {
  text-align: center;
  margin-bottom: 7px;
  height: 74px;
  width: 100%;
  overflow: hidden;
}
[data-gallery] .gallery-selector-media img {
  position: static;
  width: 100%;
  height: auto;
}
[data-gallery] .gallery-title {
  color: #fff;
  font-size: 11px;
  text-transform: uppercase;
  text-align: center;
  margin: 0;
  line-height: 1.2em;
  max-height: 2.4em;
  overflow: hidden;
}
[data-gallery].has-gallery-selector {
  padding-left: 0;
  padding-top: 0;
  position: relative;
}
[data-gallery].has-gallery-selector .gallery-area {
  width: 80%;
  padding-left: 25px;
  padding-top: 25px;
  margin-left: 20%;
}
[data-gallery].has-gallery-selector:after {
  content: " ";
  display: block;
  float: none;
  clear: both;
}
[data-gallery][data-gallery-size="medium"] .controller {
  top: 135px;
}

@media (max-width: 767px) {
  [data-gallery][data-gallery-size="medium"] .controller {
    top: 50px;
  }
}
[data-gallery][data-gallery-size="small"] {
  padding-bottom: 0;
}
[data-gallery][data-gallery-size="small"] .controller {
  top: 50px;
}
[data-gallery][data-gallery-size="small"] .thumbnails .item {
  width: 90px;
}
[data-gallery][data-gallery-size="small"] .gallery-area {
  padding-bottom: 25px;
}
[data-gallery][data-gallery-size="small"] .photo-gallery-title {
  padding: 0;
  font-size: 1.125em;
  line-height: 1.2em;
  max-height: 2.4em;
  overflow: hidden;
  color: #fff;
  margin: 0 0 1em;
}
[data-gallery][data-gallery-size="small"] .photo-gallery-title:before {
  display: none;
}
[data-gallery] .gallery-selector-wrapper {
  position: relative;
  transition: all 500ms ease;
}
[data-gallery][data-gallery-position="horizontal"] {
  padding-right: 0;
}
[data-gallery][data-gallery-position="horizontal"] .gallery-selector {
  position: relative;
  min-width: 100%;
  background: #3b3b3b;
}
[data-gallery][data-gallery-position="horizontal"] .gallery-selector-item {
  float: left;
  width: 152px;
  margin: 0;
  padding-top: 13px;
  padding-bottom: 13px;
}
[data-gallery][data-gallery-position="horizontal"] .gallery-selector-media {
  border: 0;
  margin: 0;
}
[data-gallery][data-gallery-position="horizontal"] .gallery-area {
  width: 100%;
  padding: 0;
  margin-left: 0;
}
.gallery-three-columns .photo-gallery-title {
  margin: 0 0 1em;
}
[data-gallery][data-gallery-position="vertical"] .gallery-selector-slider {
  position: absolute;
  top: 65px;
  bottom: 25px;
}
[data-gallery][data-gallery-position="vertical"] .gallery-selector .controller.full {
  top: auto;
  bottom: auto;
  height: auto;
  width: 100%;
  padding: 0;
  text-align: center;
  line-height: 1em;
  background: #111;
}
[data-gallery][data-gallery-position="vertical"] .gallery-selector .controller.prev {
  top: 25px;
}
[data-gallery][data-gallery-position="vertical"] .gallery-selector .controller.prev:before {
  content: "\e113";
  font-family: 'Glyphicons Halflings';
}
[data-gallery][data-gallery-position="vertical"] .gallery-selector .controller.next {
  bottom: 10px;
}
[data-gallery][data-gallery-position="vertical"] .gallery-selector .controller.next:before {
  content: "\e114";
  font-family: 'Glyphicons Halflings';
}

@media (max-width: 767px) {
  [data-gallery][data-gallery-position="vertical"] {
    padding-right: 0;
    padding-bottom: 0;
    padding-left: 0;
  }
  [data-gallery][data-gallery-position="vertical"] .gallery-selector {
    min-width: 100%;
    position: relative;
    background: #3b3b3b;
  }
  [data-gallery][data-gallery-position="vertical"] .gallery-selector-item {
    float: left;
    width: 152px;
    margin: 0;
    padding-top: 13px;
    padding-bottom: 13px;
  }
  [data-gallery][data-gallery-position="vertical"] .photo-gallery-title {
    font-size: 1.1em;
  }
  [data-gallery][data-gallery-position="vertical"] .gallery-selector-media {
    border: 0;
    margin: 0;
  }
  [data-gallery][data-gallery-position="vertical"] .gallery-area {
    width: 100%;
    padding: 10px;
    margin-left: 0;
  }
  [data-gallery][data-gallery-position="vertical"] .photo-gallery-selector-title {
    display: none;
  }
  [data-gallery][data-gallery-position="vertical"] .controller {
    top: 30px;
  }
}
[data-gallery].hide-gallery-selector .gallery-selector {
  display: none;
}
[data-gallery].hide-gallery-selector[data-gallery-position="horizontal"] .gallery-area {
  padding-left: 0;
  padding-top: 0;
}

.galeriamultimedia-doscolumnas.hide-gallery-selector {
  padding: 0;
}

@media(max-width:767px) {
  .galeriamultimedia-doscolumnas.hide-gallery-selector {
    padding: 0 0 25px;
  }
}

/* BACKGROUND CHANGES */

.galeria-video.cat-verde{background:#4f9157;}
.galeria-video.cat-azul{background:#346492;}
.galeria-video.cat-gris{background:#6d7b8c;}
.galeria-video.cat-cyan{background:#1474cf;}
.galeria-video.cat-celeste{background:#9ed0ff;}
.galeria-video.cat-magenta{background:#c61278;}
.galeria-video.cat-naranja{background:#e37b57;}
.galeria-video.cat-violeta{background:#78419a;}
.galeria-video.cat-violeta ul li .position{background:#55326b;}
.galeria-video.cat-marron{background:#b09a6e;}
.galeria-video.cat-amarillo{background:#cbbb61;}
.galeria-video.cat-rojo{background:#bb3d41;}

.photo-gallery-container.with-color .photo-gallery {background:transparent;}
.photo-gallery-container.with-color .photo-gallery-title { color: #fff;}
.photo-gallery-container.with-color .photo-gallery-title:hover { color: #fff;}
.photo-gallery-container.with-color .photo-gallery-title:hover:before { color: #fff;}
.photo-gallery-container.with-color .photo-gallery-title:before { color: #fff;}
.photo-gallery-container.with-color .photo-gallery-caption {background:transparent;}


.photo-gallery-container.cat-verde {background:#4f9157;}
.photo-gallery-container.cat-verde .gallery-selector {background:#25662d;}
.photo-gallery-container.cat-verde .gallery-selector .controller {background:#034d0c;}
.photo-gallery-container.cat-verde .gallery-selector .controller.full {background:#034d0c;}
.photo-gallery-container.cat-verde .gallery-selector .controller:hover {background:#002905;}
.photo-gallery-container.cat-verde .gallery-selector .controller.full:hover {background:#002905;}
.photo-gallery-container.cat-verde .photo-gallery-item.active {border-bottom: #25662d}

.photo-gallery-container.cat-azul {background:#346492;}
.photo-gallery-container.cat-azul .gallery-selector {background:#204467;}
.photo-gallery-container.cat-azul .gallery-selector .controller {background:#0d355a;}
.photo-gallery-container.cat-azul .gallery-selector .controller.full {background:#0d355a;}
.photo-gallery-container.cat-azul .gallery-selector .controller:hover {background:#041f38;}
.photo-gallery-container.cat-azul .gallery-selector .controller.full:hover {background:#041f38;}
.photo-gallery-container.cat-azul .photo-gallery-item.active {border-bottom: #204467}

.photo-gallery-container.cat-azul {background:#346492;}
.photo-gallery-container.cat-azul .gallery-selector {background:#204467;}
.photo-gallery-container.cat-azul .gallery-selector .controller {background:#0d355a;}
.photo-gallery-container.cat-azul .gallery-selector .controller.full {background:#0d355a;}
.photo-gallery-container.cat-azul .gallery-selector .controller:hover {background:#041f38;}
.photo-gallery-container.cat-azul .gallery-selector .controller.full:hover {background:#041f38;}
.photo-gallery-container.cat-azul .photo-gallery-item.active {border-bottom: #204467}

.photo-gallery-container.cat-gris {background:#6d7b8c;}
.photo-gallery-container.cat-gris .gallery-selector {background:#4f5863;}
.photo-gallery-container.cat-gris .gallery-selector .controller {background:#2a2d32;}
.photo-gallery-container.cat-gris .gallery-selector .controller.full {background:#2a2d32;}
.photo-gallery-container.cat-gris .gallery-selector .controller:hover {background:#101011;}
.photo-gallery-container.cat-gris .gallery-selector .controller.full:hover {background:#101011;}
.photo-gallery-container.cat-gris .photo-gallery-item.active {border-bottom: #4f5863}

.photo-gallery-container.cat-cyan {background:#1474cf;}
.photo-gallery-container.cat-cyan .gallery-selector {background:#1e588e;}
.photo-gallery-container.cat-cyan .gallery-selector .controller {background:#0b3760;}
.photo-gallery-container.cat-cyan .gallery-selector .controller.full {background:#0b3760;}
.photo-gallery-container.cat-cyan .gallery-selector .controller:hover {background:#03172b;}
.photo-gallery-container.cat-cyan .gallery-selector .controller.full:hover {background:#03172b;}
.photo-gallery-container.cat-cyan .photo-gallery-item.active {border-bottom: #1e588e}

.photo-gallery-container.cat-celeste {background:#9ed0ff;}
.photo-gallery-container.cat-celeste .gallery-selector {background:#3d8cd6;}
.photo-gallery-container.cat-celeste .gallery-selector .controller {background:#0d5ca7;}
.photo-gallery-container.cat-celeste .gallery-selector .controller.full {background:#0d5ca7;}
.photo-gallery-container.cat-celeste .gallery-selector .controller:hover {background:#043664;}
.photo-gallery-container.cat-celeste .gallery-selector .controller.full:hover {background:#043664;}
.photo-gallery-container.cat-celeste .photo-gallery-item.active {border-bottom: #3d8cd6}
.photo-gallery-container.cat-celeste.with-color .photo-gallery {background:transparent;}
.photo-gallery-container.cat-celeste.with-color .photo-gallery-title { color: #000;}
.photo-gallery-container.cat-celeste.with-color .photo-gallery-title:hover { color: #000;}
.photo-gallery-container.cat-celeste.with-color .photo-gallery-title:hover:before { color: #000;}
.photo-gallery-container.cat-celeste.with-color .photo-gallery-title:before { color: #000;}
.photo-gallery-container.cat-celeste.with-color .photo-gallery-caption {background:transparent;}
.photo-gallery-container.cat-celeste.with-color .photo-gallery-counter {color: #000;}

.photo-gallery-container.cat-magenta {background:#c61278;}
.photo-gallery-container.cat-magenta .gallery-selector {background:#960658;}
.photo-gallery-container.cat-magenta .gallery-selector .controller {background:#770043;}
.photo-gallery-container.cat-magenta .gallery-selector .controller.full {background:#770043;}
.photo-gallery-container.cat-magenta .gallery-selector .controller:hover {background:#420025;}
.photo-gallery-container.cat-magenta .gallery-selector .controller.full:hover {background:#420025;}
.photo-gallery-container.cat-magenta .photo-gallery-item.active {border-bottom: #960658}

.photo-gallery-container.cat-naranja {background:#e37b57;}
.photo-gallery-container.cat-naranja .gallery-selector {background:#c65129;}
.photo-gallery-container.cat-naranja .gallery-selector .controller {background:#9f3410;}
.photo-gallery-container.cat-naranja .gallery-selector .controller.full {background:#9f3410;}
.photo-gallery-container.cat-naranja .gallery-selector .controller:hover {background:#5d1b04;}
.photo-gallery-container.cat-naranja .gallery-selector .controller.full:hover {background:#5d1b04;}
.photo-gallery-container.cat-naranja .photo-gallery-item.active {border-bottom: #c65129}

.photo-gallery-container.cat-violeta {background:#78419a;}
.photo-gallery-container.cat-violeta .gallery-selector {background:#5b237e;}
.photo-gallery-container.cat-violeta .gallery-selector .controller {background:#2f0449;}
.photo-gallery-container.cat-violeta .gallery-selector .controller.full {background:#2f0449;}
.photo-gallery-container.cat-violeta .gallery-selector .controller:hover {background:#0c0014;}
.photo-gallery-container.cat-violeta .gallery-selector .controller.full:hover {background:#0c0014;}
.photo-gallery-container.cat-violeta .photo-gallery-item.active {border-bottom: #5b237e}

.photo-gallery-container.cat-marron {background:#b09a6e;}
.photo-gallery-container.cat-marron .gallery-selector {background:#937843;}
.photo-gallery-container.cat-marron .gallery-selector .controller {background:#67490e;}
.photo-gallery-container.cat-marron .gallery-selector .controller.full {background:#67490e;}
.photo-gallery-container.cat-marron .gallery-selector .controller:hover {background:#362502;}
.photo-gallery-container.cat-marron .gallery-selector .controller.full:hover {background:#362502;}
.photo-gallery-container.cat-marron .photo-gallery-item.active {border-bottom: #937843}

.photo-gallery-container.cat-rojo {background:#bb3d41;}
.photo-gallery-container.cat-rojo .gallery-selector {background:#88161a;}
.photo-gallery-container.cat-rojo .gallery-selector .controller {background:#570407;}
.photo-gallery-container.cat-rojo .gallery-selector .controller.full {background:#570407;}
.photo-gallery-container.cat-rojo .gallery-selector .controller:hover {background:#260102;}
.photo-gallery-container.cat-rojo .gallery-selector .controller.full:hover {background:#260102;}
.photo-gallery-container.cat-rojo .photo-gallery-item.active {border-bottom: #88161a}

.photo-gallery-container.cat-amarillo {background:#cbbb61;}
.photo-gallery-container.cat-amarillo .gallery-selector {background:#a3912f;}
.photo-gallery-container.cat-amarillo .gallery-selector .controller {background:#7c6b0f;}
.photo-gallery-container.cat-amarillo .gallery-selector .controller.full {background:#7c6b0f;}
.photo-gallery-container.cat-amarillo .gallery-selector .controller:hover {background:#524605;}
.photo-gallery-container.cat-amarillo .gallery-selector .controller.full:hover {background:#524605;}
.photo-gallery-container.cat-amarillo .photo-gallery-item.active {border-bottom: #a3912f}