/* Reduce bottom padding on page */
.form-section,
#StageSubmitForm:not(.recordForm) {
    padding-bottom: 0px !important;
}

div.page-wrap {
    padding-bottom: 0 !important;
}

/* Adjust page padding */
#workflow-wrapper,
#divWorkflowContent {
    padding: 20px 0px !important;
}

/* Hide overflow */
.form-section {
    display: block;
    overflow: hidden;
    padding-left: 10px;
}

/* Hide title, header/footer, info, summary/attachments/communications sections */
.page-top,
.page-footer,
.infoSection,
.workflowRightTab {
    display: none !important;
}

/* Set width of page */
#divWorkflowContent {
    width: 100%;
    height: 100% !important;
    min-height: 100% !important;
}

div#workflow-background-wrapper {
    min-width: 85% !important;
    border: 0px;
}

/* Center form, get rid of line on right border, add shadow */
#workflow-background-wrapper {
    float: none !important;
    margin: auto !important;
    border-right: none !important;
    box-shadow: 0px 0px 10px 10px rgba(0, 0, 0, 0.2) !important;
}

/* Add background color and padding so that it's visible above/below form */
#workflow-wrapper,
#divWorkflowContent,
.page-content {
    background-color: rgb(22, 92, 150) !important;
}

html,
body {
    background: rgb(22, 92, 150) !important;
}

#workflow-wrapper:not(.embed):not(.registered-embed) {
    min-height: 0px;
}

/* Hide print button */
#print-preview {
    display: none !important;
}


/* Fields border, background and color */
.sigWrapper,
.formFieldWrapper.text-box-wrapper input.input-text,
.form-element-wrapper.text-box input.field {
    background-color: white;
    border-color: rgba(11, 102, 158, .3);
    color: #163159;
    font-family: OpensansRegular, Verdana, Helvetica, Arial, sans-serif;
    font-size: 14px;
}

/* Change border color of small box for signature fields */
.sigPad:not(.standalone) input.name {
    width: 100%;
    border: 1px solid rgba(11, 102, 158, .3) !important;
    margin-right: 2px;
    margin-top: 5px;
    color: #163159;
}

/* Font color text blue */
.main_heading,
.page-content .formFieldWrapper.text-box-wrapper input.input-text,
.formFieldWrapper input.validate-email,
.formFieldWrapper input.validate-phone,
.formFieldWrapper input.validate-ssn,
.formFieldWrapper input.validate-currency,
.form-label,
.form-label.form-label-required,
.new_html_field,
body,
.workflowContent .form-static-text,
.form-element-wrapper .form-static-text,
.form-element-wrapper .form-static-text-area,
.select2-container--bootstrap .select2-selection--single .select2-selection__rendered,
.formFieldWrapper .radio-checkbox-label,
.form-element-wrapper .radio-checkbox-label,
.formFieldWrapper.text-area-wrapper textarea.textarea-input,
.form-element-wrapper.text-area textarea.field,
.select2-container--bootstrap .select2-selection--multiple .select2-selection__choice,
.page-content .workflowContent .formFieldWrapper:not(.boolean-check-box-wrapper):not(.heading-wrapper) .form-label {
    color: #163159 !important;
}

#tsForm-editor,
.workflowContent {
    font-family: OpensansRegular, Verdana, Helvetica, Arial, sans-serif;
    font-size: 14px;
    color: #163159;
}

.select2-container--bootstrap .select2-selection {
    border: 1px solid rgba(11, 102, 158, .3);
    color: #163159;
}

.k-dropzone {
    background-color: white;
}

.formFieldWrapper.text-area-wrapper textarea.textarea-input,
.form-element-wrapper.text-area textarea.field {
    background-color: white;
    border-color: rgba(11, 102, 158, .3);
}

input[type="text"],
input[type="password"],
input[type="date"],
input[type="datetime"],
input[type="datetime-local"],
input[type="month"],
input[type="week"],
input[type="email"],
input[type="number"],
input[type="search"]:not(.select2-search__field),
input[type="tel"],
input[type="time"],
input[type="url"],
textarea,
select {
    border: 1px solid rgba(11, 102, 158, .3);
    background-color: white;
}

/* Headings */
.new_html_field,
.recordForm .formFieldWrapper.heading-wrapper h3,
.workflowContent .formFieldWrapper.heading-wrapper h3,
.form-element-wrapper[data-type="heading"] .heading-label-wrapper .editable-text,
.form-element-wrapper[data-type="heading"] .heading-label-wrapper input,
.page-content .workflowContent .formFieldWrapper.heading-wrapper h3 {
    color: rgb(22, 92, 150) !important;
    border-color: rgb(22, 92, 150) !important;
}

/* change color of submit/save/section buttons */
.form-action-button,
.form-save-button,
.form-reset-button,
.form-print-button,
.form-change-section,
.form-collaboration-stage-submit-button,
.form-submit-button,
#divWorkflowContent .buttonPopup.blue {
    border-color: rgb(22, 92, 150) !important;
    background-color: rgb(22, 92, 150) !important;
}

/* add padding under Buttons */
.form-section-buttons {
    padding: 50px 0px 30px 0px;
}

.rc-anchor-light.rc-anchor-normal {
    border: 1px solid rgb(22, 92, 150) !important;
}


/* Specific field formatting */


/* RIDE ID and Last Name Validation fields, front page */
#form-element-wrapper_3,
#form-element-wrapper_4 {
    text-align: center;
}

/* Padding for Check Eligibility button */

#form-element-wrapper_6 {
    padding-top: 50px !important;
}

/* disable submit with button overlay */
#form-element-wrapper_146 {
    height: 0;
    padding: 0;
    border: none;
    position: relative;
    z-index: 10;
}

#form-element-wrapper_146>div>input,
#form-element-wrapper_146>div>input:focus-within,
#form-element-wrapper_146>div>input:focus-visible {
    position: relative;
    top: 58px;
    cursor: default !important;
    box-shadow: none !important;
    background-color: #ffffff !important;
    border: 5px solid #ffffff !important;
    outline: none;
    z-index: 10;
}

/* disable action button - check eligibility with button overlay */
#form-element-wrapper_147 {
    height: 0;
    padding: 0;
    border: none;
    position: relative;
    z-index: 10;
}

#form-element-wrapper_147>div>input,
#form-element-wrapper_147>div>input:focus-within,
#form-element-wrapper_147>div>input:focus-visible {
    position: relative;
    top: 50px;
    cursor: not-allowed;
    box-shadow: none !important;
    background-color: #c2c2c2 !important;
    border: 2px solid #a4a3a3 !important;
    outline: none;
    z-index: 10;
}


/* Mobile Styles applied to anything narrower than 768 */
@media only screen and (max-width: 768px) {

    .page-wrap {
        width: 100vw;
    }

    /* Hiding hovertips */
    .qtip {
        display: none !important;
    }

    /* Remove padding from "container" form */
    #StageSubmitForm {
        padding: 0px !important;
    }

    /* All input font size */
    input,
    select:focus,
    textarea {
        font-size: 12px !important;
    }

    /* Help Popups */
    .k-widget.k-window {
        width: 90vw !important;
        left: 10px !important;
    }

    #contentWorkbench {
        width: 100%;
    }

    /* Hide print button */
    #print-preview {
        display: none !important;
    }

    /* Reduce right padding to 0. Change label font size to 11. */
    .workflowContent .formFieldWrapper,
    #ts-form-editor-wrapper .form-element-wrapper {
        padding: 15px 10px 7px 0px !important;
        font-size: 12px;
    }

    /* Change font-size for radio-buttons */
    .formFieldWrapper .radio-checkbox-label,
    .form-element-wrapper .radio-checkbox-label {
        font-size: 12px;
    }

    /* Change font-size for drop-downs */
    .form-element-wrapper .select2-container .select2-selection--single,
    .formFieldWrapper .select2-container .select2-selection--single {
        font-size: 12px;
    }

    /* Change size of Submit & Save buttons */
    .page-content .formFieldWrapper.submit-button-wrapper>div>input,
    .page-content .formFieldWrapper.action-button-wrapper>div>input,
    .page-content .form-section-buttons button,
    .page-content .form-section-buttons input,
    .form-collaboration-stage-submit-button,
    #divWorkflowContent .buttonPopup.blue {
        font-size: 11px !important;
    }

    /* disable action button - check eligibility with button overlay */
    #form-element-wrapper_147 {
        height: 0;
        padding: 0;
        border: none;
        position: relative;
        z-index: 10;
    }

    #form-element-wrapper_147>div>input,
    #form-element-wrapper_147>div>input:focus-within,
    #form-element-wrapper_147>div>input:focus-visible {
        position: relative;
        top: 57px;
        cursor: not-allowed;
        box-shadow: none !important;
        background-color: #c2c2c2 !important;
        border: 2px solid #a4a3a3 !important;
        outline: none;
        z-index: 10;
    }
}
/* Hide Submit Button */
.workflowContent:has(#form-element-wrapper_211 #element211:checked) input.form-submit-button.withQTip.toCheck.ignore-reset.buttonMargin.cancel {
  visibility: hidden !important;
}
