/* Select */

select {

    display: none;

}

.nice-select.form_field, .select7.form_fieldS7 {

    padding: 0.1em 1em !important; 
    
    border: 1px solid var(--pg-i-border);
    
    background-color: var(--pg-transp-bg);

    color: var(--pg-txt);

    overflow: visible;

    width: 100%;
}

.nice-select.form_field .current {

    display: inline-block;

    max-width: 100%;

    overflow: hidden;

    text-overflow: ellipsis;

}

.nice-select.form_field.err {

    border: 1px solid red;
    
}

.nice-select.form_field.szSm {

    min-width: 8em;

}

.nice-select.form_field.bdr {

    border-radius: 0.6em;

}

.nice-select.form_field:focus {

    border: 1px solid var(--OmenXBlue);

}

.nice-select.form_field:hover {

    border: 1px solid var(--pg-greyB);

}

.options {

    color: var(--pg-txt) !important;

    padding: 8px 16px;

    border: 1px solid transparent;

    border-color: transparent transparent rgba(0, 0, 0, 0.1) transparent;

    cursor: pointer;

}

/* Style items (options): */

.nice-select.form_field .list {

    position: absolute;

    background-color: var(--pg-bg) !important;

    top: 100%;

    left: 0;

    right: 0;

    z-index: 99;

    min-width: fit-content;

    overflow: auto !important;

    max-height: 70vh;

    min-width: 100%;

}


.list .option:hover, .option.selected {

    background-color: rgb(23, 109, 183, 0.3) !important;

}

option {

    background-color: var(--pg-bg) !important;

    color: var(--pg-txt) !important;


}

.select7.form_fieldS7, .select7.select7_open.form_fieldS7 {

    display: flex;

    padding: 0.3em; 
    
    border: 1px solid var(--pg-i-border) !important;
    
    background-color: var(--pg-transp-bg) !important;

    color: var(--pg-txt) !important;

    /* overflow: visible; */     

    min-width: 100% !important;
}

.select7__current {

    width: inherit !important;

    display: flex;

    overflow: hidden;

    padding: 0.5em !important;

}

.select7__current-value {

    display: flex !important;

    align-items: center;

}

.select7_open.form_fieldS7 .select7__drop {

    background-color: transparent;

}

.select7.form_fieldS7 .select7__drop-list {

    position: absolute;

    background-color: var(--pg-bg) !important;

    top: 100%;

    left: 0;

    right: 0;

    z-index: 99;

    min-width: fit-content;

    /* overflow: auto !important;

    max-height: 70vh; */

    min-width: 100%;

}

.select7.form_fieldS7 .select7__drop .select7__option {

    color: var(--pg-txt);

}

.select7.form_fieldS7 .select7__drop .select7__option:hover, .select7__option.select7__option_current.selected {

    background-color: rgb(23, 109, 183, 0.3) !important;

}