body{
    background: #fdd09e;   
    margin: 0;
    display: grid;
    min-height: 100vh;
    grid-template-rows: auto 1fr auto; 

}

.about {
    /* background-color: #fff; */
    padding-top: 0px;
    position: relative;
    z-index: 1; /* sección base */
}

/* Cuerpo de Quienes Somos */
.about .titlepage {
    text-align: left;
    margin-top: 15px; 
    padding-bottom: 0;
    margin-right: -0px;
    position: relative;
    z-index: 2; /* texto por encima de la imagen */
}

.about .titlepage h2 {
    margin-bottom: 15px;
    color: #733d30;
}

.about .titlepage p {
    font-weight: 500;
    text-align: left;
    color: #000000;
    font-size: 22px;
    line-height: 31px;
    /* padding-bottom: 35px; */
}

/* Cuerpo Imagen */
.about_img {
    /*padding-left: 30px;  40px 30px 45px 30px; */
    /* position: relative; */
    /* z-index: 0;  imagen al fondo;*/
   /* margin-top: 15px; */

/*    margin-right: -20px; */
    /* position: relative;
    z-index: 2;  texto por encima de la imagen */


    display: flex;
    align-items: center;  /* Alinea verticalmente */ 
    height: 100%;   /* Altura necesaria */   
}

.about_img figure {
    margin: 0;
    position: relative;
}

.about_img figure img {
    width: 100%;
    position: relative;
    z-index: 0; /* ya no se impone sobre el cabezal */
}


.gallery {
    margin-top: 0px;
    padding-top: 0px;
     /* background-color: #eae7e7; */
    background-color: #fdd09e;
    padding-bottom: 50px;
}

.gallery .titlepage {
     text-align: center;
}

.gallery .titlepage h2 {
    margin-bottom: 15px;
    color: #733d30;
}

/* Cuerpo de Mision y Vision */
.gallery .titlepage p {
    display: block;
    font-weight: 500;
    text-align: left;
    color: #000000;
    font-size: 22px;
    line-height: 31px;
    padding-bottom: 35px;
}


/* Menu y Submenus */
.navbar-nav{
    background: #fdd09e;
    color: #ffffff;
    margin: 0;
}

.nav-item{
    padding: 5px 10px;
    background-color: #e84833;
    border-color: #fdd09e;
    color: #fff;
    border-style: solid;
    text-align: center;
    border-radius: 10px 35px 0px 15px;
}

.nav-link{
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: small;
}

nav ul li:hover{
      background-color: #40772f;
      color: #fff;
}

.dropdown-menu{
    background: #e84833;
    margin: 0;
    border-radius: 10px 35px 0px 15px;
}

.dropdown-item{
    padding: 5px 10px;
    background-color: #e84833;
    border-color: #fdd09e;
    border-style: solid;
    color: #fff;
    border-radius: 10px 35px 0px 15px;
}

.dropdown-item:hover{
    background-color: #40772f;
    color: #fff;

}


/* Carrusel */
.carousel-item{
    background-size: cover;
    background-position: top;
    background-position-x: center;
    background-attachment: fixed;
}

.carousel-caption h5{
     background: #40772f;
}


/* pie de página */
.footer {
     background: #40772f;
     margin-top: 10px;
     padding-top: 10px;
     text-align: center;
}

.footer h3 {
     font-weight: 700;
     font-size: 20px;
     line-height: 23px;
     text-align: left;
     color: #fff;
     padding: 20px;
     display: table;
     text-transform: uppercase;
}

.variat {
     color: #fff;
     text-align: left;
     font-size: 17px;
     font-weight: 400;
     line-height: 17px;
}

ul.social_icon {
     padding-bottom: 14px;
     width: 100%;
     text-align: center;
}

ul.social_icon li {
     display: inline-block;
}

ul.social_icon li a {
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: 20px;
     border-radius: 30px;
     margin: 0 3px;
     color: #202020;
     background: #fff;
     width: 35px;
     height: 35px;
     flex-wrap: wrap;
}

ul.social_icon li a:hover {
     color: #fff;
     background: #40772f;
}

.pad_roght2 {
     font-weight: 700;
     padding-right: 10px;
}
/* 
.copyright {
     margin: 0;
     padding: 6px;
     background-color: #fdd09e;
}

.copyright p {
     color: #000;
     font-size: 18px;
     font-weight: 900;
     line-height: 22px;
     margin: 0;
     text-align: center;
     font-weight: normal;
} 
*/
