﻿#floating-banner {
    position: fixed;
    width: 550px;
    height: 400px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    overflow: hidden;
    z-index: 9999;
}

    #floating-banner img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

#close-banner {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 15px;
    height: 15px;
    border: none;
    border-radius: 50%;
    background-color: #ffffff;
    color: #000000;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
}

    #close-banner .fas.fa-times {
        background-image: url(/assets/img/close_icon.png);
        width: 10px;
        height: 10px;
        display: block;
        background-position: center;
        background-size: cover;
    }

#contact-button {
    position: absolute;
    bottom: 100px;
    left: 20%;
    transform: translateX(-50%);
    background-color: #334E8B;
    color: #ffffff;
    border: none;
    padding: 12px 35px;
    cursor: pointer;
    font-size: 16px;
    border-radius: 22px;
}

    #contact-button:hover {
        background-color: #2E6CCF;
    }

    #contact-button.jeep {
        background-color: #424D07;
    }

        #contact-button.jeep:hover {
            background-color: #303804;
        }

    #contact-button.fiat {
        background-color: #FF1530;
    }

        #contact-button.fiat:hover {
            background-color: #c70606;
        }

    #contact-button.dodge {
        background-color: #D50000;
    }

        #contact-button.dodge:hover {
            background-color: #BA0000;
        }

    #contact-button.peugeot,
    #contact-button.peugeot-professional {
        background-color: #0074E8;
    }

        #contact-button.peugeot:hover,
        #contact-button.peugeot-professional:hover {
            background-color: #0057AD;
        }

    #contact-button.ram {
        background-color: #880D00;
    }

        #contact-button.ram:hover {
            background-color: #BA0000;
        }

    #contact-button.jeep {
        background-color: #424D07;
    }

#modal-banner {
    background: #00000080;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1055;
    display: none;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    outline: 0;
}
.citasServicio #floating-banner {
    width: 600px;
}
.citasServicio #contact-button {
    left:22%;
}
@media screen and (max-width: 768px) {
    #floating-banner {
        width: 70%;
        height: 500px;
    }

    #contact-button {
        bottom: 2%;
        width: 90%;
        right: 0;
        left: 5%;
        transform: translateX(0%);
        padding: 2% 35px;
    }

    .citasServicio #floating-banner {
        width: 70%;
    }

    .citasServicio #contact-button {
        left: 5%;
    }
}
