figure > img {
  display: block !important;
  margin-left: auto !important;
  margin-right: auto !important;
  object-fit: cover;
}

figure {
  margin: 0;
  padding: 0;
  position: relative;
  display: block;
  overflow: hidden;
  font-family: 'Open Sans', sans-serif;
  text-align: center !important;
}

figure:hover figcaption {
  -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
  filter: alpha(opacity=100);
  opacity: 1;
  top: 0;
}

figcaption {
  -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
  filter: alpha(opacity=0);
  opacity: 0;
  position: absolute;
  height: 100%;
  width: 100%;
  background: rgba(0, 130, 186, 0.95);
  color: #fff;
}

figcaption p {
  padding: 10px;
  margin-bottom: 0;
  margin-top: 10px;
  position: relative;
  left: 100%;
  font-size: 13px;
  color: white;
  width: 95%;
  line-height: 21px;
}

figure:hover p {
  left: 10px;
}

#myCarousel2 > .carousel-indicators {
  position: absolute;
  bottom: -10px;
}

#myCarousel2 {
  margin-top: 5px;
  min-height: 300px;
  min-width: 100%;
}
#myCarousel2 img {
  min-height: 400px;
  max-height: 400px;
  min-width: 40%;
  max-width: 57.523%;
}
#myCarousel2 > .carousel-indicators > li {
  border-radius: 5px; /*Modificado*/
  min-width: 50px;
  height: 7px;
  background-color: #9f9f9f;
  border: 0;
  margin-right: 5px;
  margin-left: 5px;
  box-shadow: 0 0 3px 1px rgba(0, 0, 0, 0.22);
}
#myCarousel2 > .carousel-indicators > li:hover {
  border-radius: 5px; /*Modificado*/
  min-width: 50px;
  height: 7px;
  background-color: #7a7a7a;
  border: 0;
  margin-right: 5px;
  margin-left: 5px;
  box-shadow: 0 0 5px 2px rgba(0, 0, 0, 1);
}
#myCarousel2 > .carousel-indicators > .active {
  background-color: #7a7a7a; /*Modificado*/
}
#myCarousel2 .carousel-caption {
  color: white;

  /*xright: 58%;*/
  text-align: center;
  align-items: center;
  max-width: 42.477%;
  left: 57.523%;
  top: 1px;
  right: 0;
  xtransform: translateY(-50%);
  xbottom: initial;
  background: rgba(0, 0, 0, 0.015);
  padding: 10px;
  padding-right: 5%;
  padding-left: 5%;
  height: 100%;
}
#myCarousel2 .carousel-caption p h2 {
  position: absolute;
  top: 50%;
  transform: translate(0, -50%);
  padding-right: 5%;
  /*text-shadow: none;*/
}
#myCarousel2 .carousel-caption p {
  color: #2b2b2b;
  text-shadow: none;
}

.carousel-inner > .carousel-item {
  -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  transform-style: preserve-3d;
}

/* Editado 26/09/2019 */
/* Configura la imagen */
#myCarousel2 > .carousel-inner > .carousel-item > a > img,
#myCarousel2 > .carousel-inner > .carousel-item > img {
  object-fit: cover;
  width: 60%;
}
/* Al deslizar la imagen, muestra el tamaño original de la imagen*/
/*.carousel-inner>.item>a>img:hover,*/
/*.carousel-inner>.item>img:hover*/
/*{object-fit: contain;}*/

/* Modifica el color de las flechas deslizante */
.carousel-control-next-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='gray' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E");
}

.carousel-control-prev-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='gray' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E");
}
.carousel.slide > .carousel-control-prev,
.carousel.slide > .carousel-control-next
{
  width: 5%;
}
.carousel.slide > .carousel-control-prev > .carousel-control-prev-icon,
.carousel.slide > .carousel-control-next > .carousel-control-next-icon
{
  background-color: inherit !important;
  color: #7a7a7a;
  font-size: xx-large;
}
.carousel.slide > .carousel-control-prev:hover,
.carousel.slide > .carousel-control-next:hover
{
  background-color: #eaeaea !important;
  color: #9f9f9f;
}
@media only screen and (max-device-width: 640px) {
  #myCarousel2 {
    display: none;
  }
  #withoutCarousel {
    display: inline !important;
  }

  #withoutCarousel2 > a {
    text-align: center !important;
  }
  #withoutCarousel2 > a > img {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
}

.callout {
    padding: 20px;
    margin: 20px 0;
    border: 1px solid #eee;
    border-left-width: 5px;
    border-radius: 3px;
}

.callout:hover {
    border-right: 1px solid #428bca;
    border-top: 1px solid #428bca;
    border-bottom: 1px solid #428bca;
}
.callout h4 {
    margin-top: 0;
    margin-bottom: 5px;
}
.callout p:last-child {
    margin-bottom: 0;
}
.callout code {
    border-radius: 3px;
}
.callout + .bs-callout {
    margin-top: -5px;
}

.callout-default {
    border-left-color: #777;
}
.callout-default h4 {
    color: #777;
}

.callout-primary {
    border-left-color: #428bca;
}
.callout-primary h4 {
    color: #428bca;
}

.callout-success {
    border-left-color: #5cb85c;
}
.callout-success h4 {
    color: #5cb85c;
}

.callout-danger {
    border-left-color: #d9534f;
}
.callout-danger h4 {
    color: #d9534f;
}

.callout-warning {
    border-left-color: #f0ad4e;
}
.callout-warning h4 {
    color: #f0ad4e;
}

.callout-info {
    border-left-color: #5bc0de;
}
.callout-info h4 {
    color: #5bc0de;
}

.callout-bdc {
    border-left-color: #29527a;
}
.callout-bdc h4 {
    color: #29527a;
}
