.endesa-popup-widget .modal-content{
    border: 0;
    border-radius: 1rem;
}
.endesa-popup-widget .modal-header{
    border: 0;
    padding-bottom: 0;
}
.endesa-popup-widget .modal-header .close{
    line-height: 1;
    font-size: 3rem;
    font-weight: 300;
    padding-top: 0;
    padding-bottom: 0;
    margin: -1rem -1rem 0 auto;

    background: transparent;
    color: #000;
}
.endesa-popup-widget .modal-body{
    padding: 0 0 1rem 0;
}

/* fixed */
.endesa-fixed-widget{
    box-shadow: 0 0 0.5rem rgba(0,0,0,0.5);
    padding: 0;
    background: #fff;

    transition: all 0.3s ease;
    position: fixed;
    bottom: -20rem;
    left: 0;
    right: 0;
    z-index: 10;
}
.endesa-fixed-widget.show{
    bottom:0;
}

.endesa-fixed-widget .endesa-fixed-header{
    max-width: 1140px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}
.endesa-fixed-widget .endesa-fixed-header .close{
    line-height: 1;
    font-size: 2rem;
    font-weight: 300;
    padding-top: 0;
    padding-bottom: 0;
    position: absolute;
    top:0;
    right:0;

    background: transparent;
    color: #000;
}

/*fixed2*/
.endesa-fixed-widget-div2{
    background: var(--e-global-color-primary);
    width: auto;
    border: none;
    padding: 0.6rem 2.5rem;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    cursor: pointer;

    transition: all 0.3s ease;
    position: fixed;
    bottom: -60px;
    left: 0;
    right: 0;
    z-index: 10;

    display: none;
}

.endesa-fixed-widget-div2.show{
    bottom: 0;
}

/* responsive */

@media (max-width: 767px) {
    .endesa-fixed-widget .elementor-location-footer{
        margin-bottom: 40px !important;
    }
    .endesa-fixed-widget{
        display: none;
    }

    .endesa-fixed-widget-div2{
        display: block;
    }
}
