.gform-theme--foundation .gfield.label__select {
    position: relative;
    /* overflow: hidden;
    text-overflow: ellipsis; */
}

.gform-theme--foundation .gfield.label__select .gform-field-label {
    display: flex;
    color: #959595;
    align-items: center;
    padding-left: 21px;
    padding-right: 55px;
    height: 50px;
    background-color: #fff;
    border-radius: 5px;
    border: 1px solid transparent;
}

.gform-theme--foundation .gfield.label__select.gfield_error .gform-field-label {
    border-color: #E40000;
}

.gform-theme--foundation .gfield.label__select .gform-field-label .text {
    white-space: nowrap;
    display: inline-block;
    width: 100%;
    flex-shrink: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: top;
}

.select2-container--default .select2-results__option[aria-selected=true] {
    color: #fff;
}

.gform-theme--foundation .gfield.label__select.tel .gform-field-label,
.gform-theme--foundation .gfield.label__select.text .gform-field-label {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.gform-theme--foundation .gfield.label__select.tel.active .gform-field-label,
.gform-theme--foundation .gfield.label__select.text.active .gform-field-label {
    z-index: -1;
}

.gform-theme--foundation .gfield.label__select.tel .gform-field-label {
    width: calc(100% - 85px);
    left: 82px;
    z-index: 2;
}

.gform-theme--foundation .gfield.label__select.tel.gfield_error .gform-field-label {
    border: 0;
    height: 48px;
    top: 1px;
}

.gform-theme--foundation .gfield.label__select.date input,
.gform-theme--foundation .select2-container .selection,
.gform-theme--foundation .gfield.label__select.time input,
.gform-theme--foundation .gfield.label__select select {
    display: none;
}

.gform-theme--foundation .select2-container--default .select2-results>.select2-results__options {
    max-height: 300px;
    overflow-y: auto;
    margin: 0;
    padding: 0;
    box-shadow: 0 1px 5px rgba(0, 0, 0, .1);
}

.gform-theme--foundation .select2-container--default .select2-results__option[aria-selected=true] {
    background-color: #5897fb;
}

.gform-theme--foundation .select2-container--default .select2-results>.select2-results__options li {
    padding-left: 21px;
    font-size: 16px;
    line-height: 26px;
    padding: 10px 0 10px 10px;
}

.gform-theme--foundation .gfield.label__select.black .gform-field-label ,
.gform-theme--foundation .gfield.label__select .gform-field-label.changed {
    color: #282828;
}

.gform-theme--foundation .select2-container--open {
    width: 100%;
    background: #fff;
    padding: 0;
    z-index: 9;
}

.gform-theme--foundation .label__select .gform-field-label .gfield_required {
    color: #E40000;
}

.gform-theme--foundation .gfield.label__select.time .gform-field-label:before,
.gform-theme--foundation .gfield.label__select.select .gform-field-label:before {
    position: absolute;
    content: "";
    width: 24px;
    height: 24px;
    top: 13px;
    background-image: url('data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M18%209L12%2015L6%209%22%20stroke%3D%22%23282828%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E');
    background-size: cover;
    right: 21px;
}