.carousel-item {
    width: 100% !important;
    min-height: 700px !important;
    background-repeat: no-repeat;
    background-size: 100% 700px !important;
    background-position: center center;
}

.carousel-item>.p-3 {
    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: 100px !important;
}

.carousel-item.type-planta {
    background: url(../../img/banners/productos-banner-1.jpg);
}

.carousel-item.type-tierra {
    background: url(../../img/banners/productos-banner-2.jpg);
}

.carousel-item.type-insecto {
    background: url(../../img/banners/productos-banner-3.jpg);
}

.display-3 {
    font-size: 4.5rem;
    line-height: 1.2;
    font-weight: 700 !important;
    text-shadow: -6px 2px #000000a8;
}


.btn.btn-primary {
    background-color: #7ab730;
    color: white;
    font-weight: 700;
    border: none;
    border-radius: 0;
    font-size: 20px;
}

@media (max-width:959px) {
    #carouselExampleIndicators {
        display: none;
    }
}

@media (min-width:960px) {
    .carousel-item {
        min-height: 350px !important;
        background-size: 100% 350px !important;
    }
}


@media (min-width:1097px) {
    .carousel-item {
        min-height: 399.8423px !important;
        background-size: 100% 399.8423px !important;
    }
}

@media (min-width:1280px) {
    .carousel-item {
        min-height: 466.7893px !important;
        background-size: 100% 466.7893px !important;
    }
}

@media (min-width:1536px) {
    .carousel-item {
        min-height: 559.8527px !important;
        background-size: 100% 559.8527px !important;
    }
}


@media (min-width:1745px) {
    .carousel-item {
        min-height: 636.3631px !important;
        background-size: 100% 636.3631px !important;
    }
}

@media (min-width:1920px) {
    .carousel-item {
        min-height: 700px !important;
        background-size: 100% 700px !important;
    }
}

@media (min-width:2133px) {
    .carousel-item {
        min-height: 778px !important;
        background-size: 100% 778px !important;
    }
}

@media (min-width:2400px) {
    .carousel-item {
        min-height: 875px !important;
        background-size: 100% 875px !important;
    }
}

@media (min-width:2560px) {
    .carousel-item {
        min-height: 933px !important;
        background-size: 100% 933px !important;
    }
}

@media (min-width:2880px) {
    .carousel-item {
        min-height: 1050px !important;
        background-size: 100% 1050px !important;
    }
}

@media (min-width:3840px) {
    .carousel-item {
        min-height: 1400px !important;
        background-size: 100% 1400px !important;
    }
}

@media (min-width:5760px) {
    .carousel-item {
        min-height: 2100px !important;
        background-size: 100% 2100px !important;
    }
}

@media (min-width:7680px) {
    .carousel-item {
        min-height: 2800px !important;
        background-size: 100% 2800px !important;
    }
}

.products-container {
    min-width: 100%;
}

.group-products {
    min-height: 300px;
    width: 100%;
    min-width: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    align-items: center !important;
    justify-content: center !important;
}

.group-products.row-r {
    flex-direction: row-reverse;
    justify-content: center !important;
}

.g-products {
    width: 800px;
}

.g-image {
    align-self: start;
    position: sticky;
    top: 100px;
    min-height: 250px;
}

.g-banner {
    width: 600px !important;
    height: 528.68px !important;
    background-repeat: no-repeat !important;
    background-size: 100% !important;
    background-position: center center !important;
}

/* cambiar a banners propios de su linea del apartado de productos */
/* .g-banner.img-nutrientes{
    background: url(../../img/productos-nutrientes.png);
}
.g-banner.img-proteccion{
    background: url(../../img/productos-proteccion.png);
}
.g-banner.img-suelo{
    background: url(../../img/productos-suelo.png);
} */

.img-products {
    width: 100%;
}

.card-product {
    display: flex;
    justify-content: start;
    align-items: start;
    height: auto;
    width: 100%;
    border-bottom: 1px solid #e9e9e9;
}

.banner-prod {
    align-self: center;
    margin-right: 20px !important;
    background-image: url(../../img/productos-fondo-producto.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}

.g-title {
    font-weight: bold !important;
    color: white;
    font-size: 40px;
    text-transform: uppercase;
    text-shadow: -2px 1px 3px #1f1f1f;
}

.img-prod {
    box-shadow: -6px 5px 16px 0px #9f9f9f;
    width: 200px;
    border: 1px solid #c6c6c6 !important
}

.desc-prod {
    flex-grow: 2;
}

.title-prod {
    color: black;
    font-family: sans-serif;
    font-size: 25px;
    font-weight: 800;
}

.sub-title-prod {
    color: #969696;
    font-weight: normal;
    font-size: 17px;
    font-family: system-ui;
}

.body-prod {
    min-height: 50px;
    color: #999;
    text-align: justify;
}

.buttons-prod {
    align-self: flex-end;
    font-size: 15px;
}

@media (max-width:1536px) {
    .g-banner {
        width: 500px !important;
        height: 440.57px !important;
    }
}

@media (max-width:1280px) {
    .buttons-prod {
        font-size: 10px;
    }
}


@media (max-width:1097.14px) {
    .g-banner {
        width: 410px !important;
        height: 361.27px !important;
    }

    .card-product {
        flex-direction: column;
    }

    .banner-prod {
        margin: 0 !important;
    }
}

@media (max-width:960px) {
    .g-banner {
        width: 387px !important;
        height: 325.143px !important;
    }

    .card-product {
        flex-direction: column;
    }

    .banner-prod {
        margin: 0 !important;
    }
}


@media (max-width:768px) {
    .title-primary {
        margin-top: 200px !important
    }

    .group-products {
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
    }

    .g-image {
        align-self: center !important;
        position: relative !important;
        top: auto !important;
    }

    .card-product {
        justify-content: center;
        align-items: center;
    }

    .desc-prod,
    .g-products {
        width: 500px !important;
    }
}

@media (max-width: 480px) {

    .desc-prod,
    .g-products {
        width: 400px !important;
    }
}

@media (max-width: 384px) {

    .g-products,
    .g-banner,
    .desc-prod {
        width: 300px !important;
    }

    .g-banner {
        height: 264.34px !important;
    }
}

.btn-products-container {
    margin: 0px 0px 0px 0px;
    max-height: 700px;
    min-width: 100%;
    background-image: url(../../img/contactanos-banner.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 50%;
}

.btn-products {
    width: 300px;
    font-size: 30px;
    background-color: transparent;
    border: 3px solid white;
    color: white;
    font-family: sans-serif;
    -webkit-appearance: button;
    -moz-appearance: button;
    appearance: button;

    text-decoration: none;

    -webkit-transition: background-color 0.5s ease-out;
    -moz-transition: background-color 0.5s ease-out;
    -o-transition: background-color 0.5s ease-out;
    transition: background-color 0.5s ease-out;
}

.btn-products:hover {
    background-color: #7ab730;
}

/*  cuando sale la hamburguesa desactivar hovers para celulares y dispositivos touch*/
@media (max-width: 992px) {
    .btn-products {
        background-color: #7ab730;
    }

    /* .img-fluid.pop:hover{
        max-height: 400px !important;
        min-height: 400px !important;
        width: auto !important; 
    } */
}

.close {
    float: right;
    font-size: 21px;
    font-weight: bold;
    line-height: 1;
    color: white;
    filter: alpha(opacity=20);
    opacity: 0.9;
    background: none;
    border: none;
}

.responsive-embed {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
}

.dialog-pdf-preview.modal-dialog {
    max-width: 1000px;
}

.content-pdf-preview.modal-content {
    width: 1000px !important;
    height: 800px !important;
}

@media (max-width:385px){
    .content-pdf-preview.modal-content {
        height: 80vh !important;
        width: 300px !important;
    }

    .dialog-pdf-preview.modal-dialog {
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }

    .header-pdf-preview, .footer-pdf-preview{
        padding: 2px !important;
    }
    .title-pdf-preview.modal-title, #prod-name-tag, .close-pdf-preview{
        font-size: 20px !important;
    }
    .close-pdf-preview{
        margin: 1px !important; 
        padding: 0px 2px !important;
    }
}
@media (min-width:384px){
    .content-pdf-preview.modal-content {
        height: 80vh !important;
        width: 300px !important;
    }

    .dialog-pdf-preview.modal-dialog {
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }

    .header-pdf-preview, .footer-pdf-preview{
        padding: 2px !important;
    }
    .title-pdf-preview.modal-title, #prod-name-tag, .close-pdf-preview{
        font-size: 20px !important;
    }
    .close-pdf-preview{
        margin: 1px !important; 
        padding: 0px 2px !important;
    }
}
@media (min-width:480px){

    .content-pdf-preview.modal-content {
        height: 80vh !important;
        width: 300px !important;
    }

    .dialog-pdf-preview.modal-dialog {
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }

    .header-pdf-preview, .footer-pdf-preview{
        padding: 2px !important;
    }
    .title-pdf-preview.modal-title, #prod-name-tag, .close-pdf-preview{
        font-size: 20px !important;
    }

    .close-pdf-preview{
        margin: 1px !important; 
        padding: 0px 2px !important;
    }
}
@media (min-width:640px){
    .content-pdf-preview.modal-content {
        height: 80vh !important;
        width: 300px !important;
    }

    .dialog-pdf-preview.modal-dialog {
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }

    .header-pdf-preview, .footer-pdf-preview{
        padding: 2px !important;
    }
    .title-pdf-preview.modal-title, #prod-name-tag, .close-pdf-preview{
        font-size: 20px !important;
    }

    .close-pdf-preview{
        margin: 1px !important; 
        padding: 5px 10px !important;
    }
}

@media (min-width:768px) {
    .content-pdf-preview.modal-content {
        height: 80vh !important;
        width: 400px !important;
    }

    .dialog-pdf-preview.modal-dialog {
        max-width: 400px;
    }

    .header-pdf-preview, .footer-pdf-preview{
        padding: 2px !important;
    }
    .title-pdf-preview.modal-title, #prod-name-tag, .close-pdf-preview{
        font-size: 20px !important;
    }
}

@media (min-width:960px) {
    .content-pdf-preview.modal-content {
        height: 80vh !important;
        width: 600px !important;
    }

    .dialog-pdf-preview.modal-dialog {
        max-width: 600px;
    }

    .header-pdf-preview, .footer-pdf-preview{
        padding: 5px !important;
    }
    .title-pdf-preview.modal-title, #prod-name-tag, .close-pdf-preview{
        font-size: 20px !important;
    }
}


@media (min-width:1097px) {
    .content-pdf-preview.modal-content {
        height: 80vh !important;
        width: 800px !important;
    }

    .dialog-pdf-preview.modal-dialog {
        max-width: 800px;
    }
    .title-pdf-preview.modal-title, #prod-name-tag, .close-pdf-preview{
        font-size: 25px !important;
    }
}

@media (min-width:1280px) {
    .content-pdf-preview.modal-content {
        height: 90vh !important;
        width: 1000px !important;
    }

    .dialog-pdf-preview.modal-dialog {
        max-width: 1000px;
    }
    .title-pdf-preview.modal-title, #prod-name-tag, .close-pdf-preview{
        font-size: 25px !important;
    }
}

@media (min-width:1536px) {
    .content-pdf-preview.modal-content {
        height: 90vh !important;
        width: 1000px !important;
    }

    .dialog-pdf-preview.modal-dialog {
        max-width: 1000px;
    }
    .title-pdf-preview.modal-title, #prod-name-tag, .close-pdf-preview{
        font-size: 25px !important;
    }
}


@media (min-width:1745px) {
    .content-pdf-preview.modal-content {
        height: 90vh !important;
        width: 1000px !important;
    }

    .dialog-pdf-preview.modal-dialog {
        max-width: 1000px;
    }
    .title-pdf-preview.modal-title, #prod-name-tag, .close-pdf-preview{
        font-size: 25px !important;
    }
}

@media (min-width:1920px) {
    .content-pdf-preview.modal-content {
        height: 90vh !important;
        width: 1000px !important;
    }

    .dialog-pdf-preview.modal-dialog {
        max-width: 1000px;
    }
    .title-pdf-preview.modal-title, #prod-name-tag, .close-pdf-preview{
        font-size: 25px !important;
    }
}

@media (min-width:2133px) {
    .content-pdf-preview.modal-content {
        height: 90vh !important;
        width: 1000px !important;
    }

    .dialog-pdf-preview.modal-dialog {
        max-width: 1000px;
    }
    .title-pdf-preview.modal-title, #prod-name-tag, .close-pdf-preview{
        font-size: 25px !important;
    }
}

@media (min-width:2400px) {
    .content-pdf-preview.modal-content {
        height: 90vh !important;
        width: 1200px !important;
    }

    .dialog-pdf-preview.modal-dialog {
        max-width: 1200px;
    }
    .title-pdf-preview.modal-title, #prod-name-tag, .close-pdf-preview{
        font-size: 25px !important;
    }
}

@media (min-width:2560px) {
    .content-pdf-preview.modal-content {
        height: 90vh !important;
        width: 1200px !important;
    }

    .dialog-pdf-preview.modal-dialog {
        max-width: 1200px;
    }
    .title-pdf-preview.modal-title, #prod-name-tag, .close-pdf-preview{
        font-size: 25px !important;
    }
}

@media (min-width:2880px) {
    .content-pdf-preview.modal-content {
        height: 90vh !important;
        width: 1200px !important;
    }

    .dialog-pdf-preview.modal-dialog {
        max-width: 1200px;
    }
    .title-pdf-preview.modal-title, #prod-name-tag, .close-pdf-preview{
        font-size: 25px !important;
    }
}

@media (min-width:3840px) {
    .content-pdf-preview.modal-content {
        height: 90vh !important;
        width: 2200px !important;
    }

    .dialog-pdf-preview.modal-dialog {
        max-width: 2200px;
    }
    .title-pdf-preview.modal-title, #prod-name-tag, .close-pdf-preview{
        font-size: 25px !important;
    }
}

@media (min-width:5760px) {
    .content-pdf-preview.modal-content {
        height: 90vh !important;
        width: 2200px !important;
    }

    .dialog-pdf-preview.modal-dialog {
        max-width: 2200px;
    }
    .title-pdf-preview.modal-title, #prod-name-tag, .close-pdf-preview{
        font-size: 25px !important;
    }
}

@media (min-width:7680px) {
    .content-pdf-preview.modal-content {
        height: 90vh !important;
        width: 2200px !important;
    }

    .dialog-pdf-preview.modal-dialog {
        max-width: 2200px;
    }
    .title-pdf-preview.modal-title, #prod-name-tag, .close-pdf-preview{
        font-size: 25px !important;
    }
}