.gform_wrapper.frm_application_wrapper input[type=text] {
    border-radius: 0;
    border: 1px solid #676767;
    padding: 5px 10px;
}

.gform_wrapper.frm_application_wrapper select {
    border: 1px solid #676767;
    height: 48px;
}

.gform_wrapper.frm_application_wrapper .gform_page_footer {
    display: flex;
}

.gform_wrapper.frm_application_wrapper .gform_page_footer .gform_ajax_spinner {
    height: 35px !important;
    width: auto !important;
}

.gform_wrapper.frm_application_wrapper .gfield_required {
    color: #333;
}

.gform_wrapper.frm_application_wrapper label.gfield_label {
    color: #333;
    font-size: 18px;
    color: #333333;
    font-weight: normal;
    line-height: 1.44 !important;
    text-transform: uppercase;
    font-weight: bold !important;
}

.frm_application_wrapper .gfield_html h2 {
    font-size: 28px;
    text-transform: uppercase;
    margin: 0px !important;
    font-weight: bold !important;
}

.gform_wrapper.frm_application_wrapper textarea {
    font-size: inherit;
    font-family: inherit;
    letter-spacing: normal;
    padding: 6px 8px;
    line-height: 1.5;
    resize: none;
    border: 1px solid #676767;
}

.frm_application_wrapper.gform_wrapper .button.gform_button_select_files,
.gform_wrapper.frm_application_wrapper .gform_page_footer .button.gform_button,
.gform_wrapper.frm_application_wrapper .gform_page_footer .button.gform_next_button,
.gform_wrapper.frm_application_wrapper .gform_page_footer .button.gform_previous_button {
    cursor: pointer;
    background-color: #333;
    color: white;
    font-weight: 600;
    padding: 4px 0;
    width: 255px;
    text-align: center;
    margin: 0;
    box-shadow: none;
    text-transform: uppercase;
}

.gform_wrapper.frm_application_wrapper .gform_page_footer {
    border: none !important
}

.frm_application_wrapper .gform_fields {
    display: flex !important;
    flex-wrap: wrap;
}

.frm_application_wrapper .gform_fields .gfield {
    width: 100%;
}

.frm_application_wrapper .gform_fields .gfield.gf_haft {
    width: 50%;
}

.frm_application_wrapper.gform_wrapper .chosen-container .chosen-single {
    height: 38px;
    box-shadow: none !important;
    background: none !important;
    border: 1px solid #767676;
    padding: 6px 10px;
}

.gform_wrapper.frm_application_wrapper .gf_insured .gfield_radio li {
    display: inline-block;

}

.gform_wrapper.frm_application_wrapper .gf_insured .gfield_radio li input[type=radio] {
    height: 1;
    opacity: 0;
    position: absolute;
}

.gform_wrapper.frm_application_wrapper .gf_insured .gfield_radio li input[type=radio]:checked+label {
    background-color: #333;
}

.gform_wrapper.frm_application_wrapper .gf_insured .gfield_radio li label {
    background-color: #bdbdbd;
    color: white;
    padding: 4px 0;
    width: 300px;
    text-align: center;
    margin: 0;
}

.ginput_container_radio li {
    font-size: 18px;
}

.gform_wrapper.frm_application_wrapper .gform_page_footer .button.gform_previous_button {
    border: 2px solid #bdbdbd !important;
    background-color: #bdbdbd !important;
    margin-right: 40px;
}

.gform_wrapper.frm_application_wrapper .gf_html_time_slots h3 {
    text-transform: uppercase;
}

.wrapper_time_slots .gfield_course_option_wrapper>ul {
    display: flex;
    flex-wrap: wrap;
}

.gform_wrapper.frm_application_wrapper,
.gform_wrapper.frm_application_wrapper .gf_html_time_slots h3,
.gform_wrapper.frm_application_wrapper .gf_insured .gfield_radio li label,
.frm_application_wrapper.gform_wrapper .chosen-container .chosen-single,
.gform_wrapper.frm_application_wrapper .gform_page_footer .button,
.gform_wrapper.frm_application_wrapper textarea,
.gform_wrapper.frm_application_wrapper input[type=text] {
    font-size: 18px !important;
}

.gform_wrapper.frm_application_wrapper .wrapper_time_slots .gf_time_slot {
    width: 50% !important;
}

body .ui-datepicker .ui-datepicker-title select {
    font-size: 20px;
    width: 100px;
    color: #000;
    font-weight: normal;
    margin-right: 5px;
}

body .ui-datepicker {
    padding: 0px;
    background-color: #fff;
}


.gform_wrapper.frm_application_wrapper .gf_html_time_slots h3 {
    margin: 0px;
    font-weight: bold !important;
}

body .gform_wrapper div.gform_body ul.gform_fields .gf_html_time_slots {
    margin-top: 0px;
}

@media (min-width: 768px) {
    body .ui-datepicker {
        width: 420px;
    }

    body .ui-datepicker td a,
    body .ui-datepicker td span {
        display: inline-block;
        font-weight: 700 !important;
        text-align: center;
        width: 30px;
        height: 30px;
        line-height: 30px;
        color: #666 !important;
        text-shadow: 1px 1px 0 #fff;
        filter: dropshadow(color=#fff, offx=1, offy=1);
        background-color: transparent !important;
        background: initial !important;

        border: initial !important;
    }
    body .ui-datepicker-header {
        background-color: #666;
        color: #e0e0e0;
        font-weight: 700;
        -webkit-box-shadow: inset 0 1px 1px 0 rgb(250 250 250 / 20%);
        -moz-box-shadow: inset 0 1px 1px 0 rgba(250, 250, 250, .2);
        box-shadow: inset 0 1px 1px 0 rgb(250 250 250 / 20%);
        text-shadow: 1px -1px 0 #000;
        filter: dropshadow(color=#000, offx=1, offy=-1);
        line-height: 30px;
        min-height: 30px !important;
        border-width: 1px 0 0 0;
        border-style: solid;
        border-color: #666;
        border-radius: initial !important;
    }
    body .ui-datepicker .ui-datepicker-calendar thead tr th span {
        font-size: 20px;
    }
    body .ui-datepicker tbody td {
        font-size: 16px;
        padding: 8px 8px;
        text-align: center;
    }
    body td.ui-datepicker-unselectable.ui-state-disabled {
        background-color: #d7d7d7;
    }

    body .ui-datepicker-unselectable .ui-state-default {
        color: #a7a7a7;
        border: none;
        box-shadow: none;
    }

}

@media (max-width: 767px) {
    .frm_application_wrapper .gform_fields .gfield.gf_haft {
        width: 100% !important;
    }
}

@media (max-width: 640px) {
    .gform_wrapper .ginput_container span:not(.ginput_price) {
        height: 40px;
        margin: 0px;
        margin-top: -13px;
    }
}