.modal {
    background: #F6F7F9;
    max-width: 800px;
    padding: 0;
    overflow: hidden;
}

.modal35165 {
    max-width: 550px;
}

.modalCellB2B .title {
    font-size: 4.5vw;
}

.modalCellB2B .messages {
    font-size: 4.4vw;
}

.modal--normal {
    max-width: 500px;
}

.modal .modal-box {
    display: grid;
    grid-template-columns: 1fr;
    place-items: center;
    gap: 8px;
}

.modal-box--normal {
    display: block !important;
}

.modal__infotel {
    font-weight: bold;
    margin: 16px 0 0;
    line-height: normal;
}

.modal__infotel a {
    text-decoration: underline;
}

.modal .messages {
    margin: 8px 0 12px;
}

/* CSS mod modal */

.c-modal-items {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    width: 100%;
    height: 100%;
    padding: 30px 12px 12px;
}

.--gap-infoplan {
    gap: 6px;
}

.c-modal-plan {
    font-size: 8vw;
    line-height: normal;
    /* font-weight: bold; */
}

.c-modal-text {
    font-size: 4vw;
    line-height: normal;
}

.c-modal-price {
    font-size: 4vw;
    line-height: normal;
    color: var(--white);
    background-color: var(--purple);
    padding: 6px 12px;
    margin-top: 18px;
}

.c-modal-norprice {
    font-size: 5vw;
    line-height: normal;
    font-weight: bold;
}

.c-modal-img {
    display: none;
}

.c-modal-imgilimi {
    width: 185px;
}

.idpreplan{
    width: 60%;
}

@media screen and (max-width: 700px) {
    .modal.btnInside-darkBlue a.close-modal {
        background-image: url(https://aprodmovistarcomsa.z13.web.core.windows.net/components/modal/closeInside-white.webp);
        top: 12.5px;
        right: 12.5px;
        filter: brightness(0) saturate(100%) invert(11%) sepia(37%) saturate(1433%) hue-rotate(165deg) brightness(96%) contrast(94%);
    }

    .--gap-infoplan {
        gap: 6px;
        padding: 30px 0 12px;
    }

    .c-modal-price {
        width: 100%;
    }

    .idpreplan{
        width: 50%;
    }
}

@media screen and (min-width: 500px) {
    .modal .title {
        font-size: 19px;
    }

    .modal .messages {
        font-size: 14px;
    }

    .c-modal-plan {
        margin-top: 6rem;
        font-size: 26px;
    }

    .c-modal-text {
        font-size: 19px;
    }

    .c-modal-price {
        font-size: 16px;
    }

    .c-modal-norprice {
        font-size: 26px;
    }
}

@media screen and (min-width: 700px) {
    .modal .modal-box {
        grid-template-columns: 36% 1fr;
    }

    .modal .modalsimple {
        grid-template-columns: 100%;
    }

    .c-modal-img {
        display: block;
        margin-top: 16px;
    }

    .c-modal-items {
        padding: 40px 4px 16px;
    }

    .iphone#modalPlanFibra .c-modal-items {
        padding: 120px 4px 16px;
    }

    .--gap-infoplan {
        justify-content: center;
    }
}