﻿/* ChoiecBrowse CSS ------------------ */

.choice-selector .selector-title {
    padding: 5px;
    font-size: 1.2em;
    font-weight: 600;
}

.choice-selector .selector-label {
    font-size: .9em;
}

.choice-selector .selector-items {
    gap: 10px;
    justify-content: start;
    align-content: start;
}

    .choice-selector .selector-items .item-wrapper {
        display: flex;
        border: 1px solid var(--bs-border-color);
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }

        .choice-selector .selector-items .item-wrapper.selected {
            border: 1px solid #00477A;
            background-color: rgba(222, 226, 230, 0.5);
        }

        .choice-selector .selector-items .item-wrapper:hover {
            cursor: pointer;
            border: 1px solid #00477A;
            background-color: rgba(222, 226, 230, 0.5);
        }

    .choice-selector .selector-items .item {
        padding: 5px;
        padding-bottom: 0px;
        position: relative;
        height: 100%;
    }

    .choice-selector .selector-items .image {
        height: 100%;
        width: 10em;
    }

/* control type specific CSS */
.choice-selector[data-ctrl='FS'] .selector-items .image {
    width: 10em;
    height: 7em;
    overflow: hidden;
}

.choice-selector .selector-items .item img {
    width: 100%;
}

.choice-selector .selector-items .item .price {
    position: absolute;
    top: 0px;
    left: 0px;
    background: gray;
    opacity: .5;
}

    .choice-selector .selector-items .item .price > span {
        position: absolute;
        top: 0px;
        left: 0px;
        color: transparent;
        background: var(--bs-border-color);
        opacity: 1;
        padding: 0px 10px 0px 5px;
        font-size: 1em;
    }

.choice-selector .selector-items .item .price-text {
    position: absolute;
    top: 0px;
    left: 0px;
    margin: 0px 5px 15px 5px;
    color: black;
    font-weight: bold;
    background: transparent;
    opacity: 1;
    font-size: 1em;
}

.choice-selector .selector-items .item .info {
    text-align: right;
    font-size: .8rem;
    margin-bottom: 5px;
}

.choice-selector .selector-items div[data-overlayscrollbars-viewport] {
    flex-direction: row !important;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 10px !important;
    align-content: start !important;
}