#site #languageSwitcher,
#languageSwitcher {
    display: flex;
    justify-content: flex-end;

    input {
        display: none;

        &:checked + label {
            border-color: #e36f35;
        }
    }

    label {
        cursor: pointer;
        padding: 5px;
        border: 2px solid transparent;
        background-color: rgba(0,0,0,.1)
    }
    img {
        max-height: 25px;
        /* object-fit: contain;
        width: auto; */
    }
}

/* .select2-container [aria-disabled="true"] {
    display: none
} */

/* Show/Hide project-fields */
/* .grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
} */
#new_project:not(:checked) ~ label[for="projectname"],
#new_project:not(:checked) ~ #projectname {
    display: none
}
#existing_project:not(:checked) ~ fieldset {
    display: none
}
.chooseProject:not(:has(option[value="new_project"]:checked)) {
    ~ label[for="projectname"],
    ~ #projectname {
        display: none 
    }
}

/* Gravity */
body .gform_wrapper {
    --gf-ctrl-btn-bg-color-primary: #e36f35 !important;
    --gf-field-pg-prog-bar-bg-color-blue: #e36f35 !important
}
.ginput_container_date input {
    flex-grow: 1;
    margin-top: 0 !important
}

.gform-theme--foundation .gform_fields {
    row-gap: 20px !important;
}
body .gform_wrapper .gform_fields .gfield {
    margin-bottom: 0 !important;
}
.gfield--type-section {
    margin-top: 20px !important;
}
.gfield_html label,
.gfield_html .select2,
.select2-results__option {
    font-weight: 400;
    font-size: 14px
}
.gfield_html .select2 {
    display: block;
}
.gfield_html .select2 .select2-selection__rendered {
    padding: 5px 15px !important
}
body .gform_wrapper select.gfield_select {
    padding-top: 0;
    padding-bottom: 0;
}
.gfield_html .select2 .select2-selection--single {
    outline: none;
    border: none;
    margin: 5px 0 0;
    height: auto;
}
.gform_wrapper .gfield input, .gfield textarea {
    border-radius: 0;
}

/* select 2 */
.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 5px 
}
.select2-container--open .select2-dropdown--below {
    border: none;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: #e36f35
}
.select2-search__field:focus-visible {
    outline-color: #e36f35
}
.gform_wrapper .gform_button.button[type="submit"]:hover {
    background-color: #fff !important;
    color: #000 !important;
}
body .gform_wrapper input[type="checkbox"]:focus,
body .gform_wrapper .gform_button.button[type="submit"]:focus {
    outline-color: #e36f35 !important;
}
body .gform_wrapper input[type="checkbox"]:before {
    color: #e36f35 !important;
}
/* submit spinner */
body .gform-theme--framework .gform-loader {
    border-block-end-color: #e36f35;
    border-inline-start-color: #e36f35
}
body .gform_heading .gform_required_legend {
    font-size: 14px;
    text-align: right;
}
body .gform-theme--framework .gform_required_legend .gfield_required {
    color: #e36f35
}
body .gfield_html {
    > fieldset, > div {
        margin-top: 20px;

        label[for="projectname"] {
            display: block
        }
        label[for="projectname"],
        [data-projects="true"] {
            margin-top: 10px
        }
    }
}
body .gform-theme--framework input[type=radio]:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *))::before {
    background-color: #e36f35
}
body .gform-theme--framework input[type=radio]:focus {
    outline-color: #e36f35 !important;
    border-color: #e36f35 !important;
}