﻿.modal-width {
    max-width: fit-content !important;
}

.modal-border {
    border: 5px solid #8AC0EA;
    border-radius: 1vw;
}

.modal-header-container {
    height: 6vw;
    width: 100%;
}

.modal-title-container {
    color: #0A2140;
    text-align: center;
}

.modal-title {
    font-size: 2.2vw;
    line-height: 2.2vw;
}

.modal-subtitle {
    font-size: 0.9vw;
}

.modal-close {
    color: #0A2240;
    cursor: pointer;
    font-size: 1.5vw;
    padding-right: 1.2vw;
    padding-top: 1.2vw;
}

.modal-body-container {
    padding: 0 2vw;
}

.modal-image {
    border-radius: 1.2vw;
    height: 10vw;
    width: 10vw;
}

.modal-info-container {
    margin-left: 1.4vw;
    margin-top: 1.2vw;
    white-space: nowrap;
}

.modal-info-title {
    color: #8CB8DA;
    font-size: 1.4vw;
}

.modal-info-code {
    color: #0A2240;
    font-size: 1.8vw;
    line-height: 2.2vw;
}

.modal-info-price {
    color: #0A2240;
    font-size: 1.1vw;
}

.modal-info-points {
    color: #8CB8DA;
    font-size: 0.9vw;
}

.modal-pieces-container {
    height: 4vw;
}

.modal-pieces-title {
    color: #0A2240;
    font-size: 0.9vw;
}

.modal-text-red {
    color: #EE3724;
}

.modal-selected-container {
    max-height: 21vw;
    overflow-y: auto;
}

div.modal-scrollbar::-webkit-scrollbar {
    background: #D2D2D2;
    border-radius: 1rem;
    width: 0.4vw;
}

::-webkit-scrollbar-thumb {
    background: #8AC0EA;
    border-radius: 1rem;
}

.modal-selected-item {
    margin-bottom: 0.8vw;
}

.modal-selected-image {
    border-radius: 1.2vw;
    height: 6vw;
    width: 6vw;
}

.modal-selected-close {
    color: #0A2240;
    cursor: pointer;
    font-size: 0.7vw;
    padding-right: 0.7vw;
    padding-top: 0.7vw;
}

.modal-selected-info {
    margin-left: 0.8vw;
    margin-top: 1.5vw;
    white-space: nowrap;
}

.modal-selected-title {
    color: #8CB8DA;
    display: block;
    font-size: 0.9vw;
    line-height: 1.1vw;
}

.modal-selected-code {
    color: #0A2240;
    font-size: 1.2vw;
    line-height: 1.8vw;
}

.modal-unselected-image {
    border: 4px solid #D2D2D2;
    border-radius: 1.2vw;
    height: 6vw;
    width: 6vw;
}

.modal-unselected-text {
    color: #D2D2D2;
    font-size: 0.6vw;
    text-align: center;
}

.modal-text-gray {
    color: #D2D2D2;
}

.modal-items-container {
    margin-left: 3vw;
    max-height: 35vw;
    overflow-y: auto;
}

.modal-items-row {
    margin: 0 !important;
    width: 33vw;
}

.modal-item-container {
    margin: 0vw 1vw 1vw 0vw;
    padding: 0 !important;
    text-align: center;
    width: 10vw;
}

.modal-item-add {
    color: #0A2240;
    cursor: pointer;
    font-size: 1.6vw;
    padding-bottom: 0.7vw;
    padding-right: 0.7vw;
    transition: 0.2s;
}

.modal-item-add-disabled {
    color: #787878 !important;
    transition: 0.2s;
}

.modal-item-padding {
    padding-top: 0.6vw;
}

.modal-overflow-hidden {
    overflow: hidden;
}

.modal-image-grayscale {
    filter: grayscale(1);
}

.modal-item-soldout {
    background-color: #F3765C;
    color: #FFFFFF;
    left: -20%;
    padding: 0.2vw 2vw;
    top: 10%;
    transform: rotate(-45deg);
}

.modal-button-container {
    height: 5vw;
    text-align: center;
    width: 100%;
}

.modal-button-inactive {
    cursor: default;
    text-decoration: none;
    background-color: #787878;
    padding: 1rem 2.25rem;
    font-size: .875rem;
    color: #ffffff;
    font-weight: 700;
    border-radius: .25rem;
    transition: all .3s ease;
}

.modal-button-active {
    cursor: pointer;
    text-decoration: none;
    background-color: #0a2240;
    border-color: #0a2240;
    padding: 1rem 2.25rem;
    font-size: .875rem;
    color: #ffffff;
    font-weight: 700;
    border-radius: .25rem;
    transition: all .3s ease;
}

    .modal-button-active:hover {
        color: #ffffff;
        background-color: #0a2240;
        border-color: #0a2240;
        transform: translate(-50%, -55%) !important;
    }

/*-------------------------------------------------------------------------------------------------------------------------
    MEDIAS PARA RESPONSIVIDAD
-------------------------------------------------------------------------------------------------------------------------*/

@media (max-width: 991px) {

    .modal-width {
        margin: 0vw 4.5vw;
        max-width: none !important;
    }

    .modal-border {
        border: 1.5vw solid #8AC0EA;
        border-radius: 4vw;
    }

    .modal-header-container {
        height: 25vw;
    }

    .modal-title {
        font-size: 7vw;
        line-height: 8vw;
        white-space: nowrap;
    }

    .modal-subtitle {
        font-size: 3vw;
        white-space: nowrap;
    }

    .modal-close {
        font-size: 5vw;
        padding-right: 3vw;
        padding-top: 3vw;
    }

    .modal-body-container {
        padding: 0 6vw;
    }

    .modal-image {
        border-radius: 4vw;
        height: 35vw;
        width: 35vw;
    }

    .modal-info-container {
        margin-left: 3vw;
        margin-top: 4.4vw;
    }

    .modal-info-title {
        font-size: 4.4vw;
    }

    .modal-info-code {
        font-size: 6vw;
        line-height: 7vw;
    }

    .modal-info-price {
        font-size: 3.8vw;
    }

    .modal-info-points {
        font-size: 3.2vw;
    }

    .modal-pieces-container {
        height: 12vw;
    }

    .modal-pieces-title {
        font-size: 3.2vw;
        white-space: nowrap;
    }

    .modal-selected-container {
        max-height: 80vw;
    }

    div.modal-scrollbar::-webkit-scrollbar {
        width: 1.2vw;
    }

    .modal-selected-item {
        margin-bottom: 3vw;
    }

    .modal-selected-image {
        border-radius: 4vw;
        height: 20vw;
        width: 20vw;
    }

    .modal-selected-close {
        font-size: 4vw;
        padding-right: 2vw;
        padding-top: 2vw;
    }

    .modal-selected-info {
        margin-left: 4vw;
        margin-top: 5.2vw;
    }

    .modal-selected-title {
        font-size: 3.2vw;
        line-height: 3.6vw;
    }

    .modal-selected-code {
        font-size: 5vw;
        line-height: 5.4vw;
    }

    .modal-unselected-image {
        border: 1.4vw solid #D2D2D2;
        border-radius: 4vw;
        height: 20vw;
        width: 20vw;
    }

    .modal-unselected-text {
        font-size: 2.2vw;
    }

    .modal-items-container {
        margin-left: 0vw;
        margin-top: 2vw;
        max-height: 120vw;
    }

    .modal-items-row {
        margin: 0 !important;
        width: 74vw;
    }

    .modal-item-container {
        margin: 0vw 2vw 4vw 0vw;
        width: 35vw;
    }

    .modal-item-add {
        font-size: 6vw;
        padding-bottom: 2.5vw;
        padding-right: 2.5vw;
    }

    .modal-item-padding {
        padding-top: 2vw;
    }

    .modal-item-soldout {
        font-size: 3.4vw;
        left: -24%;
        padding: 0.4vw 8vw;
        top: 12%;
    }

    .modal-button-container {
        height: 12vw;
        margin-bottom: 4vw;
    }
}