@import '../../../../assets/scss/abstracts/variables';
@import '../../../../assets/scss/abstracts/mixins';

.rdg-blocks .rdg-odd-betting-select {
    padding: 2rem;

    @include title;

    .select {
        width: 100%;
        display: flex;
        position: relative;
        border-radius: .5rem;
        overflow: hidden;
        box-shadow: 1px 5px 14px 0px rgb(0 0 0 / 15%);
        min-height: 2rem;

        &::after {
            font-family: 'Font Awesome 5 Free';
            content: '\f078';
            display: flex;
            position: absolute;
            align-items: center;
            justify-content: center;
            top: 0;
            right: 0;
            width: 3rem;
            height: calc(100% - .8rem);
            color: var(--color-white);
            background-color: var(--color-primary-dark-light);
            pointer-events: none;
            margin: .4rem;
            border-radius: .5rem;
        }

        select {
            border: 0;
            outline: 0;
            appearance: none;
            box-shadow: none;
            flex: 1;
            padding: 1rem;
            cursor: pointer;
            background-image: none;
            color: var(--color-primary);
            background-color: var(--color-white);
            font-weight: 700;
    
            /* Remove IE arrow */
            &::-ms-expand {
                display: none;
            }

            option {
                font-weight: 700;
            }
        }
    }
}

.acf-block-preview {
    .rdg-odd-betting-select {
        width: 100%;
        left: 0;
        right: 0;
        margin-left: 0;
        margin-right: 0;
    }
}
