
label {
    margin-bottom: .25rem;
}

.form__group {
    position: relative;
    padding: 22px 0 0 0;
    margin-bottom: 1rem;
}
.form__field {
    font-family: inherit;
    width: 100%;
    border: 0;
    border-radius: 0;
    box-shadow: inset 0 -1px 0 #D9D9D6;
    outline: 0;
    font-size: 16px;
    color: #000;
    padding: 0 0 10px 0;
    background: transparent;

    -webkit-appearance: none;

    -moz-transition: border-color 0.2s;
    -webkit-transition: border-color 0.2s;
    transition: border-color 0.2s;
}
input.form__field:read-only {
    cursor: not-allowed;
}
.form__field::placeholder {
    color: transparent;
}


.form__field:placeholder-shown ~ .form__label,
select.form__field ~ .form__label {
    font-size: 16px;
    cursor: text;
    top: 16px;
    /*color: #000;*/
    text-transform: none;
    font-weight: normal;
}

select.form__field ~ .form__label {
    pointer-events: none;
}

.form__group-select select.form__field {
    position: relative;
    appearance: none;
    -webkit-appearance: none;
}
.form__group-select:after {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    margin-top: 5px;
    right: 0;
    pointer-events: none;
    content: '';
    display: block;
    width: 12px;
    height: 8px;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6.35714 6L11.7143 1' stroke='black' stroke-width='2'/%3E%3C/svg%3E%0A");
    background-repeat: no-repeat;
    background-position: center center;
}

.form__label,
.form__field:focus ~ .form__label,
select.form__field:valid ~ .form__label {
    position: absolute;
    top: 2px;
    display: block;
    font-size: 12px;
    color: #656666;
    text-transform: uppercase;
    font-weight: 600;
    margin: 0;

    -webkit-transition: 0.2s;
    -moz-transition: 0.2s;
    transition: 0.2s;
}

.form__field:focus {
    /*border-bottom: 2px solid #000;*/
    box-shadow: inset 0 -1px 0 #000;
}

input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
    -webkit-appearance:none;
}



.custom-control {
    display: block;
    min-height: 24px;
    padding-left: 0;
    vertical-align: middle;
}
.custom-control-input,
.custom-control-label::before,
.custom-control-label::after {
    width: 24px;
    height: 24px;
}
.custom-control-label::before,
.custom-control-label::after {
    top: 50%;
    left: -24px;
}
.custom-control-label::before {
    margin-top: -13px;
    border: 1px solid #5a5a5a;
    pointer-events: auto;
    border-radius: 50%;
    transition: background-color .15s ease-in-out,border-color .15s ease-in-out !important;
    background: #fff;
}


.custom-control-label {
    min-height: 24px;
    min-width: 24px;
}

.custom-control-label {
    /*padding-left: .75rem;*/
    padding-left: 40px;
}
.custom-control-label:empty {
    padding-left: 0;
    display: block;
}
.custom-control-label::before {
    left: 0;
}
.custom-control-input:focus ~ .custom-control-label:not(:hover)::before {
    box-shadow: none !important;
}
.custom-control-label::after {
    pointer-events: none;
}

.custom-control .custom-control-label:hover::before {
    cursor: pointer;
    box-shadow: none;
    border-color: #000;
}
.custom-control .custom-control-input:checked ~ .custom-control-label::before {
    background: #fff;
}
.custom-control .custom-control-input:active ~ .custom-control-label::before {
    background: #fff;
    border-color: #5a5a5a;
}
.custom-control .custom-control-input:checked:active ~ .custom-control-label::before,
.custom-control .custom-control-input:checked~.custom-control-label::before{
    border-color: #000;
}

.custom-control .custom-control-label::after {
    background: none !important;
    border: 8px solid #000;
    border-radius: 0;

    height: 16px;
    width: 16px;
    left: 12px;
    top: 50%;
    margin-top: -1px;

    -webkit-transform: translateX(-50%) translateY(-50%) scale(0);
    transform: translateX(-50%) translateY(-50%) scale(0);

    -webkit-transition: -webkit-transform ease .28s;
    transition: -webkit-transform ease .28s;
    -webkit-transition: transform ease .28s;
    transition: transform ease .28s;
}
.custom-control.custom-radio .custom-control-label::after {
    border-radius: 50%;
}

.custom-control.custom-checkbox .custom-control-label::before {
    border-radius: 0;
}
.custom-control .custom-control-input:disabled~.custom-control-label::before {
    background: transparent;
    border-color: rgba(0,0,0,0.26);
}
.custom-control .custom-control-input:disabled:checked~.custom-control-label::before {
    background: transparent;
}
.custom-control .custom-control-input:disabled:checked~.custom-control-label::after {
    border-color: rgba(0,0,0,0.26);;
}
.custom-control .custom-control-input:checked ~ .custom-control-label::after {
    -webkit-transform: translateX(-50%) translateY(-50%) scale(1);
    transform: translateX(-50%) translateY(-50%) scale(1);
}

.radio-group .custom-control + .custom-control,
.checkbox-group .custom-control + .custom-control {
    margin-top: 0;
}


.select2-container--bootstrap4 .select2-selection {
    border-radius: 4px;
}
.select2-container--bootstrap4 .select2-selection--single {
    /*height: calc(2.25rem + 2px)!important;*/
    height: calc(2.5rem + 2px) !important;
}
.select2-container--bootstrap4 .select2-selection--single .select2-selection__rendered {
    line-height: 2.5rem;
    padding-left: 10px;
}
.select2-container--bootstrap4 .select2-results__option--highlighted, .select2-container--bootstrap4 .select2-results__option--highlighted.select2-results__option[aria-selected=true] {
    background-color: #000;
    color: #fff;
}
.select2-container--bootstrap4.select2-container--focus .select2-selection {
    border-color: #ced4da;
    box-shadow: none;
}
.select2-results__option {
    padding-left: 10px;
    padding-right: 10px;
}

.form-group {
    margin-bottom: 1rem;
}

.config-radio {
    display: block;
    padding-left: 0;
    vertical-align: middle;
    position: relative;
}
.config-radio-input {
    position: absolute;
    opacity: 0;
    width: 0;
    visibility: hidden;
    pointer-events: none;
}
.config-radio-label {
    display: block;
    border: 1px solid #ced4da;
    padding: 12px;
    line-height: 21px !important;
    text-align: center;
    cursor: pointer;
    margin-bottom: 0;
}
.config-radio-input:checked ~ .config-radio-label {
    border: 1px solid #000;
    font-weight: 700;
}



body .gform_required_legend {
    display: none;
}

body .gform_wrapper.gravity-theme .gfield_label {
    font-weight: 600;
    margin-bottom: .25rem;
}

body .gform_wrapper.gravity-theme .gfield input,
body .gform_wrapper.gravity-theme .gfield textarea,
.gform_wrapper.gravity-theme .gfield select {
    font-family: inherit;
    font-size: 1rem;
    display: block;
    line-height: 1.5;
    padding: 9px 12px 10px 12px;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 4px;
}
body .gform_wrapper.gravity-theme .gfield input,
body .gform_wrapper.gravity-theme .gfield textarea {
    padding: 7px 12px 9px 12px;
}



body .gform_wrapper.gravity-theme .gfield_description:not(.validation_message) {
    padding-top: 5px;
    color: #999;
}