/* Modal con Flechas Laterales */

.modal-arrows .modal-body {
    padding: 1rem 0;
    display: flex;
    align-items: center;
    column-gap: 10px;
    overflow-x: hidden;
}

.modal-arrows .arrow {
    appearance: none;
    border: 0;
    background-color: unset;
    outline: none;
    font-size: 50px;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0;
    position: relative;
    color: #fff;
    width: 50px;
}

.modal-arrows .arrow:not(.active) {
    cursor: not-allowed;
}

.modal-arrows .arrow.active {
    cursor: pointer;
}

.modal-arrows .arrow.arrow-left::before,
.modal-arrows .arrow.arrow-right::before {
    content: '';
    width: 100px;
    height: 100%;
    background-color: var(--gray);
    position: absolute;
    top: 0;
    opacity: 0.2;
}

.modal-arrows .arrow.active.arrow-left::before,
.modal-arrows .arrow.active.arrow-right::before {
    opacity: 1;
    background-color: var(--primary);
}

.modal-arrows .arrow.arrow-left::before {
    left: -53px;
    border-radius: 0px 100px 100px 0px;
}

.modal-arrows .arrow.arrow-right::before {
    right: -53px;
    border-radius: 100px 0px 0px 100px;
}

.modal-arrows .arrow .arrow-icon {
    position: relative;
}

@media only screen and (max-width: 991.98px) {
    .modal-arrows .arrow {
        width: 35px;
        font-size: 30px;
    }

    .modal-arrows .arrow.arrow-left::before {
        left: -65px;
    }
    
    .modal-arrows .arrow.arrow-right::before {
        right: -65px;
    }
}

@media only screen and (max-width: 767.98px) {
    .modal-arrows .modal-body {
        column-gap: 5px;
        overflow: hidden;
    }

    .modal-arrows .modal-body >:not(.arrow) {
        overflow: auto;
    }

    .modal-arrows .arrow {
        width: 30px;
        font-size: 25px;
    }

    .modal-arrows .arrow.arrow-left::before {
        left: -70px;
    }
    
    .modal-arrows .arrow.arrow-right::before {
        right: -70px;
    }
}