
#padre {
  position: relative;    /* para poder posicionar el texto de forma absoluta */
  display: inline-block; /* para que solo ocupe el ancho de la imagen */
}
#padre1 {
 
 width: 40%;
  height: 60% ;

}
#padre2 {
 
 width: 70%;
  height: 20% ;

}
.card-title1 {
  position: absolute;    /* posición absolute con respecto al padre */
  bottom: 0;             /* posicionada en la esquina inferior derecha */
  right: 1rem;
		top: 12.5em;
    left: 13em;
    font-size:1.87vw;
    color: black;

}

.card-title {
  position: absolute;    /* posición absolute con respecto al padre */
  bottom: 0;             /* posicionada en la esquina inferior derecha */
  right: 1rem;
		top: 3.5em;
    left: 6em;
    font-size: 4.5vw;
    color: white;

    font-weight: bold;
}

.contenedor1 {
	max-width: 1900px;
	width: 85%;
	margin: auto;
}


.contenedor1 {
	max-width: 1200px;
	width: 85%;
	margin: auto;
}

/* --- --- CONTENEDOR PRINCIPAL --- --- */

.contenido-principal {
	margin-bottom: 50px;
	display: flex;
	align-items: center;
}

.contenido-principal__imagen {
	vertical-align: top;
	margin-right: 20px;
	width: 50%;
	max-width: 550px;
}

.contenido-principal__contenedor {
	width: 50%;
}

.contenido-principal__titulo {
	font-weight: normal;
	font-size: 28px;
}

.contenido-principal__resumen {
	font-family: 'Open Sans', sans-serif;
	line-height: 30px;
	color: #CFCFCF;
}

/* --- --- CAROUSEL --- --- */
.carousel__contenedor {
	background-color: #cfcfcf;
	position: relative;
}

.carousel__anterior,
.carousel__siguiente {
	position: absolute;
	display:inline-block;
	width: 30px;
	height: 30px;
	border: none;
	top: calc(50% - 35px);
	cursor: pointer;
	line-height: 30px;
	text-align: center;
	background: red;
    
	color: #fff;
	opacity: 20%;
}

.carousel__anterior:hover,
.carousel__siguiente:hover {
	opacity: 100%;
}

.carousel__anterior {
	left: -20px;
}

.carousel__siguiente {
	right: -20px;
}

.carousel__elemento {
  transition: all 300ms ease-in-out;
  z-index: 1;
  width: 80%;
  overflow: hidden;
  position: relative; 
}

.carousel__elemento:before { 
  bottom: 0;
  right: 0;
  border-bottom: 6px solid #ff0054;
  border-right: 6px solid #ff0054;
}

.carousel__elemento:after,
.carousel__elemento:before {
  content: '';
  width: 0;
  height: 0;
  visibility: hidden;
  position: absolute;
  transition: all 800ms ease-in-out;
  border-radius: 8px;
}

.carousel__elemento:after {
  top: 0;
  left: 0;
  border-top: 6px solid #ff0054;
  border-left: 6px solid #ff0054;
}

.carousel__elemento:hover:after,
.carousel__elemento:hover:before {
  width: 100%;
  height: 100%;
  visibility: visible;
}
.carousel__elemento {
	text-align: center; 
    Color:#fff; 
}
.carousel__elemento h4 
 { 
 	   Color:black;

}  
.carousel__elemento p 
 { margin: 24px;
 	   Color:black;
    	text-align: center; 
    	font-size: 14px;
} 
.carousel__indicadores .glider-dot {
flex-wrap: wrap;
	width: 30px;
	height: 4px;
	background: red;
	opacity: .2;
	border-radius: 0;
}
.carousel__elemento{

text-align: center; 
	width: 100%;
	margin: 20px;
	border-radius: 6px;
	overflow: hidden;
	background:white;
	box-shadow: 0px 1px 10px rgba(250,250,250);
	transition: all 400ms ease-out;
	cursor: default;
    border-radius: 25px;

}

.carousel__indicadores .glider-dot:hover {
	opacity: .5;
}

.carousel__indicadores .glider-dot.active {
	opacity: 1;
}

@media screen and (max-width: 800px) {
	body {
		padding: 40px 0;flex-wrap: wrap;
	}

	.contenido-principal {
	flex-wrap: wrap;
	}

	.contenido-principal > * {
		width: 100%;
	}
}


/* --- --- texto de autor  --- --- */

#container-slider  .slider{
 border-radius: 20px;
  background-color: #fff;
  max-width: 1200px;
  width: 100%;
  padding: 40px;
  margin: auto;
}
#container-slider{
    border-radius: 20px;
  font-family: sans-serif;
  text-align: center;
  margin: auto;
  background-color: red;
  max-width: 1200px;
  width: 100%;
  padding: 10px;
  box-sizing: border-box;
}


#container-slider > ul.slider p{
  text-align: center;
  font-size: 20px;
}
#container-slider > ul.slider h1{
  text-align: right;
  font-size: 20px;
}

