﻿body {
    background-color: #ffffff;
}

.col-md-12 {
    margin-top: 20px;
}


.pricipalContainer {
    max-width: 1030px;
}

.seccionSostenibilidad .row {
    margin-right: 0px;
    margin-left: 0px;
}

.seccionSostenibilidad .col-md-4 {
    margin-bottom: 15px;
}

.seccionSostenibilidad2 .col-md-4 {
    margin-bottom: 15px;
}

.TituloPrincipal {
    font-size: 34px !important;
    line-height: 42px !important;
    text-align: center !important;
    color: #00693c !important;
    font-weight: 700 !important;
    font-style: inherit;
}

.SubTituloCentro {
    font-size: 24px !important;
    line-height: 22px !important;
    text-align: center !important;
    color: #3C8700 !important;
    font-weight: 500 !important;
    text-transform: none;
    font-style: inherit;
}

.SubTituloIzquierda {
    font-size: 24px !important;
    line-height: 22px !important;
    text-align: left !important;
    color: #3C8700 !important;
    font-weight: 500 !important;
    text-transform: none;
    font-style: inherit;
}

#videoifrBanner {
    width: 100%;
    height: 550px;
}



.Descripcion {
    display: block;
    text-overflow: ellipsis;
    word-wrap: break-word;
    overflow: hidden;
    max-height: 450px;
    text-align: justify;
    font-size: 16px;
    line-height: 24px;
    /* or 150% */
    color: #666666;
    padding-top: 20px;
    max-height: 100%;
}

.jumbotron .container {
    max-width: 1020px !important;
}



.itemImg {
    max-height: 69px;
    max-width: 69px;
    width: 60%;
    display: block;
    position: absolute;
    margin: auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.itemLink {
    font-weight: 700;
    font-size: 21px;
    text-align: center;
    color: #666;
}

.cardItemLink {
    width: 357px;
    height: 150px;
    margin: 20px;
    background: #FFFFFF;
 
}

.cardItemLink2 {
    width: 357px;
    height: 150px;
    background: #FFFFFF;
    border-radius: 8px 8px 4px 4px;
    margin: 0px 70px 30px 110px;
}

.cardItemLink:hover {
    transform: scale(1.02);
    transition-duration: .3s;
    filter: grayscale(50%);
    opacity: .8;
}

.cardItemLinkImage {
    /*width: 237.5px;*/
    height: 120px;
    background: #FFFFFF;
    left: 0;
    right: 0;
    border: 1px solid #C6C6C6;
    box-sizing: border-box;
    position: absolute;
}

.cardItemLinkLink {
    text-decoration: none;
    background: #046A38;
    border-radius: 0px 0px 4px 4px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.cardItemLinkText {
    font-size: 12px;
    line-height: 16px;
    display: flex;
    align-items: center;
    letter-spacing: 0.1px;
    color: #FFFFFF;
    margin: 10px;
    font-weight: 500;
}

    .cardItemLinkText::after {
        content: ">";
        position: absolute;
        right: 5px;
        top: 10px;
        font-weight: 500;
    }


.seccionSostenibilidad2 {
    margin-top: 25px;
    margin-bottom: 25px;
}

.botonCentro1 {
    background: #78BE20;
    border-radius: 4px;
    min-width: 250px;
    color: #ffffff;
    text-transform: none;
}

    .botonCentro1:hover {
        color: #fff;
        background-color: #66a715;
        border-color: #78BE20;
    }

.botonCentro2 {
    background: #046A40;
    border-radius: 4px;
    min-width: 250px;
    color: #ffffff;
    text-transform: none;
}

    .botonCentro2:hover {
        color: #fff;
        background-color: #178457;
        border-color: #046A40;
    }

.justify-content-around {
    -ms-flex-pack: distribute !important;
    justify-content: space-between !important;
}

.TitulosCards {
    font-size: 18px !important;
    line-height: 16px !important;
    text-align: center !important;
    color: #3C8700 !important;
    font-weight: 500 !important;
    text-transform: none;
    font-style: inherit;
}

.ItemElementoEnlaceDivBoton {
    margin-top: 15px;
}

.ItemElementoHr {
    border-bottom: solid #d7d7d7 1px !important;
    margin: 5px 20px 5px 20px;
    width: 95%;
}

.ItemElementoEnlaceTitulo {
    font-size: 18px !important;
    line-height: 16px !important;
    text-align: left !important;
    color: #3C8700 !important;
    font-weight: 500 !important;
    text-transform: none;
    font-style: inherit;
    margin: 15px 0 5px 0;
}

.ItemElementoEnlaceDescripcion {
    font-size: 16px;
    line-height: 19px;
    letter-spacing: 0.13px;
    color: #656565;
    font-weight: 500 !important;
    text-transform: none;
    margin: 15px 0 5px 0;
}

.ItemElementoEnlaceBoton {
    background: #046A40;
    border-radius: 4px;
    min-width: 250px;
    color: #ffffff;
    text-transform: none;
}

    .ItemElementoEnlaceBoton:hover {
        color: #fff;
        background-color: #178457;
        border-color: #046A40;
    }

div.tarjeta-imagen {
    height: 350px;
}

.cardImagen .cardImagen-a {
    position: relative;
    padding: 0;
    border: 0;
}


.cardImagen > div {
    height: 100%;
}



.image img {
    border-radius: 8px 8px 0 0;
}

.cardImagen .cardImagen-a .contentblock {
    /*position: relative;*/
    /*top: -80px;*/
    background: #fff;
    /*margin: 0 20px -80px;*/
    flex: 1 0 auto;
    box-shadow: #ebebeb 0 20px 50px;
    text-align: left;
    padding: 19px;
    max-height: 200px;
    height: 150px;
    overflow: hidden;
    border: 1px solid #C6C6C6;
    box-sizing: border-box;
    border-radius: 0 0 8px 8px;
}

.cardImagen .cardImagen-a .subTitle {
    display: none;
}

.cardImagen .cardImagen-a .mainTitle {
    font-weight: 500;
    font-size: 18px;
    line-height: 21px;
    text-align: center;
    color: #3C8700;
}

.cardImagen .cardImagen-a .description {
    font-size: 16px;
    line-height: 19px;
    text-align: center;
    letter-spacing: 0.13px;
    color: #7B7B7B;
    font-weight: 500;
}

.cardImagen .cardImagen-a .description {
    padding: 0 0 15px;
}

.cardImagen:hover {
    transform: scale(1.02);
    transition-duration: .3s;
    filter: grayscale(50%);
    opacity: .8;
}

.cardImagen-a a:hover {
    text-decoration: none;
}

.flex-container {
    display: flex;
    flex-wrap: wrap;
}

#footer_main {
    background-color: #f0f0f0;
}

 .modal-content {
        margin: 0 -101px;
    }

@media (max-width: 900px) {
    #tituloPadre {
        font-size: 30px;
    }
}

@media (max-width: 980px) {
  
    #diseñoItem1 {
        margin-left: 0px !important;
        margin-right: 0px !important;
    }

    #diseñoItem2 {
        margin-left: 0px !important;
        margin-right: 0px !important;
    }

}

@media (min-width:700px) and (max-width:900px) {
    #modElementoLink {
        padding: 0 60px 0px 0px;
    }
}

@media (max-width:790px) {
    .modal-body iframe {
        margin-top: -17px !important;
        margin-left: -17px !important;
    }

    #gifload {
        margin: 30px 33% !important;
    }
}

@media (min-width:750px) and (max-width:1100px) {

    .modal-dialog, .modal-content {
        width: 700px;
    }

    .modal-dialog {
        margin: auto !important;
    }

    .cardItemLink2 {
        margin: 0px 70px 30px 90px;
    }


    .cardImagen .cardImagen-a .contentblock {
        padding: 10px;
        height: 190px;
    }

    .seccionSostenibilidad .row {
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .cardItemLink {
        margin: 0px 15px 30px 13px;
        width: 210px !important;
    }
    
}

@media (min-width:750px) and (max-width:1300px) {
    .modal-content {
        margin: 0 -101px;
    }
}


@media (min-width:750px) and (max-width:810px) {
    .cardItemLink {
        margin: 0px 15px 30px 4px;
        width: 210px !important;
    }
}


@media (max-width: 616px) {
    #videoifrBanner {
        width: 100%;
        height: 300px;
    }
    .modal-content {
        margin: 0 auto;
    }

    .modal-dialog {
        width: 300px;
        height: 300px;
    }

    .modal-body {
        width: 300px;
        height: 300px !important;
    }

    #gifload {
        margin: 0px 5% !important;
    }

    .modal-body iframe {
        width: 300px;
        height: 302px;
        margin-top: -17px !important;
        margin-left: -16px !important;
    }

    .modal-dialog {
        max-width: 300px !important;
        max-height: 302px !important;
    }

    .modal-header {
        width: 300px !important;
    }

    .modal-body {
        width: 300px !important;
        height: 301px !important;
    }


    .flex-container .col-md-4 {
        margin-bottom: 30px;
    }


    .seccionSostenibilidad .row {
        margin-right: 0px !important;
        margin-left: 0px !important;
    }
}

@media (max-width: 560px) {
 
    .col-lg-12 .cardItemLink {
        margin-left: 0px !important;
        margin-right: 0px !important;
    }

    #cardSec2 {
        width: 225px;
    }
}

@media (min-width: 400px) and (max-width: 600px) {
    .flex-container .col-md-4 {
        margin-bottom: 30px;
    }

    #cardSec2 {
        margin: 0px 20px 30px 20px;
    }

    .cardItemLink {
        margin: 0px 50px 30px 40px;
    }

    .cardItemLink2 {
        margin: 30px !important;
    }

    .cardItemLink2 {
        margin-left: 13% !important;
        margin-right: 0px !important;
    }
}

@media (max-width: 400px) {
    #videoifrBanner {
        width: 100%;
        height: 200px;
    }

    .cardItemLink2 {
        margin-left: 20px !important;
        margin-right: 0px !important;
    }

    .cardItemLink {
        margin-left: 20px !important;
        margin-right: 0px !important;
    }

    .col-lg-12 .cardItemLink {
        margin-left: 0px !important;
        margin-right: 15px !important;
    }
}

@media (max-width: 375px) {

    .cardItemLink {
        margin-left: 10px !important;
        margin-right: 0px !important;
    }

    .cardItemLink2 {
        margin-left: 7px !important;
        margin-right: 0px !important;
    }

    .col-lg-12 .cardItemLink {
        margin-left: -10px !important;
        margin-right: 0px !important;
    }

    #cardSec2 {
        width: 225px;
    }
}

@media (max-width: 325px) {
    .cardItemLink {
        margin-left: 10px !important;
        margin-right: 0px !important;
    }

    .cardItemLink2 {
        margin-left: -20px !important;
        margin-right: 0px !important;
    }

    .col-lg-12 .cardItemLink {
        margin-left: -10px !important;
        margin-right: 0px !important;
    }

    .seccionSostenibilidad {
        padding-right: 0px;
        padding-left: 0px;
    }

    .cardImagen .cardImagen-a .contentblock {
        height: 200px;
    }
}


.listadoBotonesProductos {
    margin: 0 !important;
    padding: 0 !important;
    width: auto;
    float: unset;
    gap: 20px;
}

    .listadoBotonesProductos .botonProductos {
        margin: 0 !important;
        padding: 0 !important;
        width: auto;
        float: unset;
        min-width: unset;
        max-width: unset;
        flex: unset !important;
    }

.image img {
    object-fit: cover;
    width: 100%;
}

div.tarjeta-imagen {
    height: auto;
    min-height: 350px;
    margin-bottom: 30px;
}


.contenedorCardsObjetivos {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

    .contenedorCardsObjetivos.cant_4 {
        max-width: 680px;
    }

        .contenedorCardsObjetivos.cant_4 ul.listadoCardsObjetivos {
            justify-content: space-between;
        }

    .contenedorCardsObjetivos.cant_5 ul.listadoCardsObjetivos {
        justify-content: center;
    }

ul.listadoCardsObjetivos {
    display: inline-flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: space-around;
    gap: 30px;
}

    ul.listadoCardsObjetivos li {
        padding: 0;
        background-image: none;
    }

        ul.listadoCardsObjetivos li .cardItemLink {
            margin: 0 !important;
            padding: 0 !important;
        }

@media (max-width: 616px) {
 
    .contenedorCardsObjetivos.cant_4 ul.listadoCardsObjetivos {
        justify-content: center !important;
    }

    .d-flex {
        display: -ms-flexbox !important;
        display: flex !important;
        flex-direction: column-reverse;
        align-content: space-around;
    }

    .seccionSostenibilidad2 {
        flex: unset;
        justify-content: center;
        display: inline-flex;
        flex-wrap: wrap;
        max-width: 100%;
        gap: 20px;
    }

    .cardItemLink2 {
        padding: 0px !important;
        margin: 0px !important;
    }
}

@media(max-width:350px){
    .ItemElementoEnlaceTitulo {
        line-height: 22px !important;
    }
    .ItemElementoEnlaceDivBoton {
        padding: 0 !important;
    }

    .ItemElementoEnlace {
        padding: 0 !important;
    }

    .cardItemElementoEnlace {
        padding: 0 !important;
    }

}