/*
Theme Name: ErgMAPS
Theme URI: https://facadeinteractive.com
Author: Façade Interactive
Author URI: https://facadeinteractive.com
Description: Custom made theme from Façade Interactive team
Version: 0.1
Text Domain: ergmaps
Tags: multiple-columns, flexible-header, accessibility-ready, custom-colors, custom-menu, custom-logo, featured-images
*/

/* ---------- GENERAL ---------- */
html, body {
    min-height: 100vh;
    overflow-x: hidden;
    font-family: "Lato-Regular", sans-serif;
}
body {
    position: relative;
    padding: 0 !important;
}
a {
    transition: all 0.3s;
}
a:hover {
    color: black;
    text-decoration: none;
}
img {
    max-width: 100%;
}
h1, h2, h3, h4, h5, h6 {
    font-family: "Montserrat-Regular", sans-serif;
}
.heading-bold,
.heading-bold :is(h1, h2, h3, h4, h5, h6) {
    font-family: "Montserrat-Bold", sans-serif;
}
.heading-red, .heading-red :is(h1, h2, h3, h4, h5, h6) {
    color: #b70f0a;
}
h2.heading-red {
    font-size: 28px;
}
strong {
    color: black;
}
.footer-small-text {
    font-size: 80%;
}
.footer-small-text p {
    margin-bottom: 0.3rem;
}

input:not(type="submit"), input:not(type="radio"), .ergmaps-select select, .ergmaps-register-select select {
    border: 1px solid #878787 !important;
    border-radius: 2px !important;
    height: 35px !important;
}
.ergmaps-select, .ergmaps-register-select .ginput_container_select {
    position: relative;
    display: block;
    z-index: 10;
  }
.ergmaps-select select, .ergmaps-register-select select {
    outline: none;
    background: transparent;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 0;
    display: block;
    width: 100%;
    font-size: 1rem;
    width: 100% !important;
}
.ergmaps-select select.form-control:focus, .ergmaps-register-select select.form-control:focus {
    background-color: transparent;
}
.ergmaps-select:after, .ergmaps-register-select .ginput_container_select:after {
    position: absolute;
    right: 0;
    top: 0;
    width: 20px;
    height: 100%;
    line-height: 33px;
    content: "\f0dd";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #212529;
    text-align: center;
    font-size: 10px;
    z-index: -1;
    background: #ebebeb;
}
.pointer {
    cursor: pointer;
}
button.ergmaps-button, .ergmaps-button button, .ergmaps-button a, a.ergmaps-link-button {
    background-color: #b70f0a !important;
    color: white !important;
    border: 1px solid black !important;
    border-radius: 2px !important;
    background-image: none !important;
    padding: 8px 30px !important;
    cursor: pointer;
}
button.big-button,
.big-button button,
.big-button a {
    padding: 0.8rem 5rem !important;
    font-size: 125% !important;
}
button.small-button,
.small-button button,
.small-button a {
    padding: 0.3rem 0.5rem !important;
    font-size: 75% !important;
}
label, input {
    cursor: pointer;
}
input[type="radio"] {
    display: none !important;
}
input[type="radio"] + *::before {
    content: "";
    display: inline-block;
    vertical-align: bottom;
    width: 15px;
    height: 15px;
    margin-right: 0.3rem;
    border-radius: 50%;
    border-style: solid;
    border-width: 2px;
    border-color: #b70f0a;
    flex: none;
}
input[type="radio"]:checked + *::before {
    background: #b70f0a;
    border-color: #b70f0a;
}
fieldset {
    margin: 20px;
    max-width: 400px;
}
input[type="radio"] + * {
    display: flex !important;
    align-items: center;
    padding: 0.5rem 1rem;
}
input[type="checkbox"] {
    display: none !important;
}
input[type="checkbox"] + *::before {
    content: "";
    display: inline-block;
    vertical-align: bottom;
    width: 15px;
    height: 15px;
    margin-right: 0.3rem;
    border-style: solid;
    border-width: 2px;
    border-color: #b70f0a;
    flex: none;
}
input[type="checkbox"]:checked + *::before {
    background: #b70f0a;
    border-color: #b70f0a;
}
input[type="checkbox"] + * {
    display: flex !important;
    align-items: center;
    padding: 0.5rem 1rem;
}
.hide-last:last-of-type {
    display: none;
}
.show-when-logged-in {
    display: none;
}
body.logged-in .show-when-logged-in {
    display: inherit;
}
body.logged-in .hide-when-logged-in {
    display: none;
}
.lato-bold {
    font-family: "Lato-Bold", sans-serif;
}
.otgs-development-site-front-end {
    display: none !important;
}
.page-item.active .page-link {
    background-color: #b70f0a;
    border-color: #b70f0a;
}
.page-link {
    color: #b70f0a;
}
.page-link:hover {
    color: #b70f0a;
}
table.erg-table {
    margin: 15px 0px 25px 0px!important;
    text-align: center;
}
table.erg-table thead tr th {
    background-color: #b70f0a;
    color: #fff;
    text-align: center;
    vertical-align: middle;
}
table.erg-table tbody tr td {
    background-color: #fff!important;
    vertical-align: middle;
}
table.erg-table tr th {
   border-top: solid 1px #000;
   border-bottom: solid 1px #000;
   border-left: solid 1px #000;
}
table.erg-table tr th:last-child {
    border-right: solid 1px #000;
}
table.erg-table tr td {
    border-bottom: solid 1px #000;
    border-left: solid 1px #000;
}
table.erg-table tr td:last-child {
    border-right: solid 1px #000;
}
table.erg-table .erg-record-being-removed td {
    background-color: red !important;
    color: black !important;
    opacity: 1;
    transition: all 3s;
}
table.erg-table .erg-record-removed td {
    opacity: 0;
}
table.erg-table.no-footer {
    border-bottom: solid 0px #000!important;
}
table.erg-table a {
    color: #b70f0a;
}
.container {
    max-width: 1350px;
}
.reverse-ergmaps-button,
.erg-dashboard-entry-buttons .reverse-ergmaps-button {
    background-color: white !important;
    color: #b70f0a !important;
    border-color: #b70f0a !important;
}
.facade-closed-box {
    max-height: 0px;
    overflow: hidden;
    transition: all 1s;
}
.facade-box-open {
    max-height: 3000px;
}
.only-display-for-ergo-admins {
    display: none !important;
}
#save-pdf-recs .status_message {
    font-size: 90%;
}
/* ---------- /GENERAL ---------- */



/* ---------- HEADER ---------- */
#masthead {
    position: relative;
    padding: 0.5rem 0 1rem 0;
    z-index: 10;
}
#masthead nav a {
    display: flex;
    justify-content: center;
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0.6em;
    color: black;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s;
}
body.logged-in #masthead nav a {
    font-family: "Lato-Bold", sans-serif;
}
#masthead nav a#login-register-link {
    font-weight: normal;
    margin: 0 0.6em;
    color: inherit;
    letter-spacing: inherit;
    text-transform: none;
    font-size: 1.1rem;
}
#masthead nav a i {
    font-weight: 100;
}
#masthead nav #logo a {
    margin: 0;
    min-width: 237px;
    min-height: 110px;
}
#masthead nav ul#menu-headermenu li {
    margin: 10px 0;
}
#masthead nav img {
    max-height: 100px;
}
.navbar-brand {
    margin-right: 0;
}
#masthead nav .current-menu-item a, #masthead nav .current-page-ancestor a {
    position: relative;
}
/* ---------- /HEADER ---------- */



/* ---------- SLIDER ---------- */
.rs-layer {
    font-family: "Lato-Regular", sans-serif !important;
}
#rev_slider_1_1_wrapper {
    left: 0px !important;
}
/* ---------- /SLIDER ---------- */



/* ---------- LOGIN SIDEBAR ---------- */
#body-overlay {
    position: absolute;
    top: 0px;
    left: 0;
    z-index: 90;
    opacity: 0;
    background-color: rgba(0,0,0,0.5);
    transition: opacity 0.3s;
}
#body-overlay.open {
    width: 100vw;
    height: 100%;
    opacity: 1;
}
#login-sidebar {
    position: absolute;
    background-color: white;
    top: 0px;
    right: -350px;
    height: 100vh;
    width: 350px;
    z-index: 91;
    overflow: hidden;
    transition: all 0.3s;
}
#login-sidebar.open {
    border: 1px solid #565656;
    right: 0px;
    height: 100%;
    overflow: auto;
    overflow-x: hidden;
}
#login-sidebar-close {
    position: absolute;
    top: 0.9rem;
    left: 0.9rem;
    cursor: pointer;
    font-size: 1.8rem;
    z-index: 10;
}
#login-sidebar p, #login-sidebar ul {
    display: table;
    margin: 0 auto 10px !important;
    width: 203px;
}
#login-sidebar label {
    display: inline-block;
    text-align: left;
    font-weight: 600;
}
#login-sidebar input {
    width: 100%;
    margin-bottom: 0px !important;
}
#login-sidebar .login-remember {
    display: none;
}
#login-sidebar input[type="submit"] {
    display: block;
    background-color: #b70f0a;
    color: white;
    margin-top: 1rem;
    margin-left: auto;
    margin-right: auto;
    width: 203px;
    height: auto;
    padding: 0.5rem 0;
    border: 1px solid black;
    font-size: 120%;
}
#login-sidebar-forgot-password {
    font-size: 80%;
}
#login-sidebar .gfield_required {
    display: none;
}
#login-sidebar .ginput_container_password > * {
    display: block;
    width: 100%;
    padding: 0;
}
#login-sidebar .ginput_container_password label {
    display: block;
    text-align: left;
    font-weight: 600;
    font-size: 16px;
}
#login-sidebar .gform_wrapper {
    margin-top: 0px !important;
}
#login-sidebar .gform_wrapper li {
    padding: 0;
}
#login-sidebar .gform_wrapper li:first-of-type {
    margin-top: 0px !important;
}
#login-sidebar .gform_wrapper .gform_footer {
    margin-top: 2rem !important;
    padding-top: 0px !important;
}
.gform_wrapper .ginput_container_radio label {
    display: flex !important;
}
/* ---------- /LOGIN SIDEBAR ---------- */



/* ---------- USER DETAILS VC ELEM ---------- */
.ergmaps-user-details-vc-wrapper i {
    font-size: 80%;
}
/* ---------- /USER DETAILS VC ELEM ---------- */



/* ---------- MODALS ---------- */
.modal-1000-px {
    max-width: 900px;
}
.modal-header, .modal-footer {
    border: none;
}
.modal-content {
    border-radius: 0;
    border: 3px solid #b70f0a;
}
.modal-header {
    display: flex;
    justify-content: center;
}
.modal-header .modal-title {
    color: #b70f0a;
    font-family: "Montserrat-Bold", sans-serif
}
.modal-header .close { 
    position: absolute;
    right: 0;
    top: 0;
    margin: 0;
}
#user-data-modal .form-group {
    display: flex;
    justify-content: right;
    align-items: center;

}
#user-data-modal .form-group > label {
    font-weight: 900;
    margin-right: 3px;
    text-align: right;
}
#user-data-modal .form-group > * {
    width: auto;
    max-width: 100%;
    margin-bottom: 0;
}
#user-data-modal .form-group > .ergmaps-select {
    width: 225px;
}
#user-data-password-mismatch {
    color: #b70f0a;
    font-weight: 900;
}
.modal-open .modal {
    padding-right: 0px !important;
}
.ergmaps-question-itecms-vc-wrapper {
    margin: 10px;
}
.ergmaps-question-itecms-vc-wrapper label {
    margin-bottom: 0px;
    padding-left: 5px;
}
/* ---------- /MODALS ---------- */



/* ---------- FORMS ---------- */
.gform_wrapper .gfield_html.gfield_no_follows_desc {
    margin-top: 16px;
}
.gform_wrapper ul.gfield_checkbox li, .gform_wrapper ul.gfield_radio li {
    width: auto !important;
    float: none !important;
    margin: 0 !important;
    display: -moz-inline-stack;
    display: inline-block;
}
.gform_wrapper .dark-bg ul {
    background-color: #e6e6e6;
    padding: 0.7rem 0 !important;
    outline: 2px solid #a4a4a4 !important;
}
.gform_wrapper .full-width-field .gchoice label:before {
    margin-right: 0px;
}
.gform_wrapper .full-width-field label {
    padding-right: 10px;
    width: 16%;
    text-align: right;
}
.gform_wrapper .full-width-field ul {
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.gform_wrapper .full-width-field.label-next-to .ginput_container ul li,
.gform_wrapper .full-width-field.label-next-to .ginput_container ul li label {
    margin: 0 !important;
}
.gform_wrapper .full-width-field .ginput_container {
    width: 100%;
}
.gform_wrapper .label-next-to {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.gform_wrapper .label-next-to label {
    margin-bottom: 0px;
}
.gform_wrapper .label-next-to .ginput_container {
    margin-top: 0px !important;
    width: 84%;
}
.gform_wrapper .label-next-to .ginput_container li {
    margin-top: 0px !important;
    margin-bottom: 5px !important;
}
.gform_wrapper .gfield_required {
    /* display: none; */
    padding-left: 0 !important;
}
.label-next-to-field > .gfield_label > .gfield_required {
    position: relative;
    left: -10px;
}
.gfield_label > .gfield_required {
    margin-left: -5px !important;
}
.label-next-to-field .gfield_required.gfield_required_asterisk {
    display: inline-flex !important;
    justify-content: center;
    align-items: center;
    margin-top: 6px;
}
.gfield_required.gfield_required_asterisk {
    font-size: 25px !important;
    line-height: 0.5 !important;
}
.gform_wrapper .gf_page_steps {
    position: relative;
    border: none !important;
    display: flex;
    justify-content: center;
    margin-bottom: 3rem !important;
}
.gform_wrapper .gform_page_footer {
    border: none !important;
}
.gform_wrapper .gform_page_footer {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem !important;
}
.gform_wrapper .gform_page_footer input, input.gform_button[type="submit"] {
    background-color: #b70f0a !important;
    color: white !important;
    border: 1px solid black !important;
    border-radius: 2px !important;
    background-image: none !important;
    padding: 8px 50px !important;
    transition: all 0.2s;
}
.gform_wrapper .gform_page_footer input:disabled, input.gform_button[type="submit"]:disabled {
    background-color: gray !important;
    cursor: not-allowed;
    transition: all 0.2s;
}
.gform_wrapper .gf_page_steps .gf_step_number {
    display: none !important;
}
.gform_wrapper .gf_page_steps .gf_step_label {
    position: relative;
    display: flex !important;
    justify-content: center;
    align-content: center;
    text-align: center;
}
.gform_wrapper .gf_page_steps .gf_step_label:before {
    content: "";
    display: block;
    position: absolute;
    width: 15px;
    height: 15px;
    border: 1px solid black;
    border-radius: 50%;
    background-color: #b70f0a;
    top: -1.5rem;
}
.gform_wrapper .gf_step {
    position: relative;
    margin: 0 !important;
    padding: 16px !important;
    opacity: 1 !important;
}
.gform_wrapper .gf_step:before {
    content: "";
    position: absolute;
    width: 100%;
    border-bottom: 2px solid black;
    top: 1rem;
    left: 0;
}
.gform_wrapper .gf_step:first-of-type:before {
    width: 50%;
    right: 0px;
    left: unset;
}
.half-before:before {
    width: 50% !important;
    left: 0px !important;
}
.gform_wrapper .gf_step.gf_step_pending .gf_step_label {
    opacity: 0 !important;
}
.gform_wrapper .gf_page_steps .gf_step.gf_step_completed .gf_step_label {
    cursor: pointer;
}
.gform_wrapper .text-form-col {
    width: 50%;
    max-height: 700px;
    overflow-y: auto;
    overflow-x: hidden;
    border-left: 2px solid black;
    padding: 10px;
}
.gform_wrapper .text-form-col > ul {
    display: flex;
    flex-direction: column-reverse;
}
.gform_wrapper .text-form-col > ul > li {
    margin-top: 0px !important;
}
.gform_wrapper .gfield_checkbox li label, .gform_wrapper .gfield_radio li label {
    max-width: 100% !important;
}
.gform_wrapper .gform_next_button {
    margin-left: auto !important;
}
.gform_wrapper textarea {
    border: 1px solid #b70f0a;
}
.label-next-to-field {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.label-next-to-field > label {
    margin-bottom: 0;
}
.label-next-to-field > div {
    margin-top: 0px !important;
}
.gform_wrapper form .label-next-to-field li {
    margin: 10px 5px 10px 5px !important;
}
.label-next-to-field > label {
    width: 65%;
}
.label-next-to-field > div {
    width: 35%;
}
.gform_wrapper form .label-next-to-field .gfield_radio {
    margin: 0px;
}
.gform_wrapper.right-submit_wrapper input.gform_button[type="submit"] {
    margin-left: auto;
    display: block;
}
.gform_wrapper .top_label li ul.gfield_checkbox, .gform_wrapper .top_label li ul.gfield_radio {
    width: 100% !important;
    display: flex;
    flex-wrap: wrap;
}
.gform_wrapper li.gfield.gfield_error.gfield_contains_required div.gfield_description {
    text-align: center !important;
}
.gform_ajax_spinner {
    width: 50px;
}
li.erg-ajax-recommendation > label {
    padding-left: 0px;
}
.gf_page_steps .gf_step_label {
    margin-top: 1rem;
}
.gform_wrapper form li .erg-ajax-recommendation {
    margin-bottom: 2rem;
}
.gform_wrapper form li .erg-ajax-recommendation ul {
    margin-left: 1rem;
}
.gform_wrapper form li .erg-ajax-recommendation ul li {
    list-style: disc !important;
}
.gform_wrapper li.image-choices-field ul.gfield_checkbox li.image-choices-choice,
.gform_wrapper li.image-choices-field ul.gfield_radio li.image-choices-choice {
    width: calc(25% - 15px) !important;
}
.gform_wrapper li.image-choices-field ul.gfield_checkbox li.image-choices-choice .image-choices-choice-image-wrap,
.gform_wrapper li.image-choices-field ul.gfield_radio li.image-choices-choice .image-choices-choice-image-wrap {
    width: 100%;
    height: 200px;
}
.image-choices-field .image-choices-choice label:before {
    position: absolute;
    margin-bottom: 0px;
    left: 15px;
    bottom: 14px;
}
.image-choices-field.image-choices-show-labels .image-choices-choice-text {
    width: 100%;
    margin-left: 25px;
    text-align: left;
}
.gform_wrapper label.gfield_label, .gform_wrapper legend.gfield_label {
    font-weight: 400 !important;
}
.gf_page_steps .gform_wrapper {
    padding-bottom: 15px !important;
}
.form-margin-bottom-0 .gform_legacy_markup_wrapper {
    margin-bottom: 0 !important;
}
li.label-next-to-field > .gfield_label {
    display: flex !important;
}
li.label-next-to-field > .gfield_label:before {
    content: attr(field-number);
    margin-right: 0.5rem;
}
#gform_submit_button_1 {
    white-space: break-spaces;
    line-height: 25px;
}
.captcha-image label {
    display: inline-block !important;
}
/* ---------- /FORMS ---------- */



/* ---------- DATEPICKER ---------- */
.input-group-date {
    display: flex;
    justify-content: center;
    align-items: center;
    top: 1px;
    right: 1px;
    position: absolute;
    padding: 0 10px;
    background-color: #eee;
    height: calc(100% - 2px);
    z-index: 10;
}
/* ---------- /DATEPICKER ---------- */



/* ---------- ACCORDION ---------- */
.accordion > .card {
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #b70f0a !important;
    border-radius: 0;
}
.accordion > .card > .card-header {
    background-color: transparent;
    padding: 0.1rem 0;
}
.accordion > .card > .card-header button {
    padding-left: 0;
    padding-right: 0;
    color: black;
    font-family: "Montserrat-Bold", sans-serif;
}
.accordion > .card > .card-header button:focus {
    text-decoration: none;
    box-shadow: none;
}
.accordion > .card > .card-header button .erg-accordion-chevron {
    transform: rotate(90deg);
    font-size: 1.5rem;
    font-family: "Montserrat-Regular", sans-serif;
    font-weight: 900;
    color: #b70f0a;
    transition: all 0.3s;
}
.accordion > .card > .card-header button:hover {
    text-decoration: none;
}
.accordion > .card > .card-header button:not(.collapsed) .erg-accordion-chevron {
    transform: rotate(-90deg);
}
/* ---------- /ACCORDION ---------- */



/* ---------- EMPLOYEE DASHBOARD ---------- */
.erg-dashboard-form-item {
    margin-bottom: 3rem;
}
.erg-dashborad-form-title {
    font-family: "Montserrat-Bold", sans-serif;
    border-bottom: 1px solid black;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}
.erg-dashboard-entry-item {
    margin-top: 0.5rem;
    margin-bottom: 2rem;
}
.erg-dashboard-entry-header {
    font-weight: 900;
    margin-bottom: 1rem;
}
.erg-dashboard-entry-header > span {
    margin-right: 1rem;
}
.erg-dashboard-entry-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1rem;
}
.erg-dashboard-entry-buttons > a {
    background-color: #b70f0a !important;
    color: white !important;
    border: 1px solid black !important;
    border-radius: 2px !important;
    background-image: none !important;
    padding: 5px 20px !important;
    cursor: pointer;
}
/* ---------- /EMPLOYEE DASHBOARD ---------- */



/* ---------- GET RECOMMENDATIONS TEMPLATE ---------- */
body.page-template-get-recommendations header,
body.page-template-get-recommendations footer {
    display: none;
}
/* ---------- /GET RECOMMENDATIONS TEMPLATE ---------- */



/* ---------- ERGO WORK QUEUE ---------- */
.ergoQueue tr.old-ergo-email td {
    background-color: rgb(255, 216, 216) !important;
}
/* ---------- /ERGO WORK QUEUE ---------- */



/* ---------- CASE SUMMARY REPORT ---------- */
.case-summary-initial-form-title {
    font-size: 1.75rem;
    font-weight: 900;
}
.case-summary-heading {
    font-weight: 900;
}
.case-summary-section-heading {
    background-color: #b70f0a;
    color: white;
    padding: 2px 5px;
    font-weight: 900;
}
.case-summary-section {
    padding: 30px 0;
    padding-left: 40px;
}
.case-summary-section ul {
    list-style: none;
}
.case-summary-section ul li {
    margin: 20px 0;
}
.case-summary-section ul li span:first-of-type {
    margin-right: 10px;
}
.case-summary-section .discomfort-survey-table {
    font-weight: 900;
}
/* ---------- /CASE SUMMARY REPORT ---------- */

/* ADD NEW EMPLOYEE NEW REDESIGN */
.ecms-add-new-employee {
    margin-left: 30px;
}

.overflow-modal {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s;
}

.body-modal {
    background-color: white;
    padding: 40px;
    height: auto;
    max-width: 1170px;
    width: 100%;
    position: relative;
    transform: translateY(-100px);
    opacity: 0;
    transition: all 0.3s;
}

.overflow-modal.active {
    opacity: 1;
    pointer-events: all;
}

.body-modal.active {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}   

.body-modal .gform_wrapper {
    padding: 0 !important;
}   

.body-modal .gform-footer {
    padding-bottom: 0 !important;
}

.body-modal .close-modal {
    position: absolute;
    right: -10px;
    top: -10px;
    background-color: black;
    border: none;
    font-size: 16px;
    cursor: pointer;
    color: white;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid white;
}

.body-modal .close-modal:hover {
    background-color: white;
    color: black;
}

.gfield_radio, .gfield_checkbox {
    gap: 20px;
}

.gfield_checkbox label.gform-field-label {
    white-space: nowrap !important;
}

.ginput_container.ginput_container_text input,.ginput_container.ginput_container_select select{
    border: 1px solid black;
}

/* ---------- RESPONSIVE ---------- */
@media only screen and (max-width: 991px) {
    #masthead nav img {
        max-width: 100%;
    }
    #hero h1 {
        font-size: 4rem;
    }
    #masthead nav {
        flex-direction: row !important;
        justify-content: space-around !important;
    }
    #masthead nav #logo {
        width: 75%;
    }
    #masthead nav #logo a {
        min-width: 100% !important;
        min-height: 100% !important;
    }
}
@media only screen and (min-width: 1200px) {
    #masthead nav .current-menu-item a::after, #masthead nav .current-page-ancestor a::after {
        content: "";
        width: 0;
        height: 0;
        border-left: 35px solid transparent;
        border-right: 35px solid transparent;
        border-bottom: 20px solid #b70f0a;
        position: absolute;
        bottom: -29px;
    }
    body:not(.logged-in) #logo {
        margin-left: auto;
        margin-right: auto;
    }
    body:not(.logged-in) #navbarSupportedContent {
        position: absolute;
        right: 0px;
    }
}
@media only screen and (max-width: 1199px) {
    #hamburger-menu-button {
        padding: 5px 10px;
        border: 1px solid rgba(0,0,0,.1);
    }
    #hamburger-menu-button div {
        position: relative;
        opacity: 1;
        right: 0;
        top: 0;
        width: 30px;
        height: 3px;
        background-color: black;
        margin: 6px 0;
        transition: all linear 0.2s;
        -webkit-animation-name: hamburger-menu-button-shadow; /* Safari 4.0 - 8.0 */
        -webkit-animation-duration: 3s; /* Safari 4.0 - 8.0 */
        -webkit-animation-iteration-count: infinite; /* Safari 4.0 - 8.0 */
        animation-name: hamburger-menu-button-shadow;
        animation-duration: 3s;
		animation-iteration-count: infinite;
    }
    #hamburger-menu-wrapper[aria-expanded="true"] #hamburger-menu-button div:nth-of-type(1) {
        top: 9px;
        -ms-transform: rotate(-45deg); /* IE 9 */
        -webkit-transform: rotate(-45deg); /* Safari 3-8 */
        transform: rotate(-45deg);
    }
    #hamburger-menu-wrapper[aria-expanded="true"] #hamburger-menu-button div:nth-of-type(2) {
        right: -60px;
        opacity: 0;
    }
    #hamburger-menu-wrapper[aria-expanded="true"] #hamburger-menu-button div:nth-of-type(3) {
        top: -9px;
        -ms-transform: rotate(45deg); /* IE 9 */
        -webkit-transform: rotate(45deg); /* Safari 3-8 */
        transform: rotate(45deg);
    }
    .navbar-toggler {
        padding: 0px;
        border: none;
    }
    .navbar-toggler:focus, .navbar-toggler:hover {
        outline: none;
    }
}
@media only screen and (min-width: 991px) {
    table.fixed-layout {
        table-layout: fixed;
    }

}

@media only screen and (max-width: 920px){
    .gform_legacy_markup_wrapper ul.gform_fields li.gfield {
        padding: 0 2rem;
    } 

    .label-next-to-field > label,
    .label-next-to-field > div {
        width: 100%;
    }
}

@media only screen and (max-width: 768px){
    .gform_wrapper li.image-choices-field ul.gfield_checkbox li.image-choices-choice, 
    .gform_wrapper li.image-choices-field ul.gfield_radio li.image-choices-choice{
        width: 33.33333% !important;
    }
}

@media only screen and (max-width: 540px){
    .gform_wrapper li.image-choices-field ul.gfield_checkbox li.image-choices-choice, 
    .gform_wrapper li.image-choices-field ul.gfield_radio li.image-choices-choice{
        width: 50% !important;
    }

    .gform_wrapper .label-next-to .ginput_container {
        width: 75%;
    }
    .gform_wrapper .full-width-field label {
        width: 25%;
        text-align: left;
    }

    .gform_legacy_markup_wrapper .ginput_container span:not(.ginput_price) {
        margin-bottom: 0 !important;
    }

    .gform_legacy_markup_wrapper .gform_page_footer .button.gform_previous_button {
        margin-bottom: 16px !important;
    }

    .gform_wrapper .gform_page_footer {
        margin-top: 3rem !important;
        gap: 1rem;
    }

    .gform_wrapper .text-form-col{
        border-left: none;
        margin-top: 2rem;
    }

    div#save-pdf-recs,
    .status_message {
        text-align: left;
    }

    .gform_legacy_markup_wrapper .gf_page_steps {
        overflow-x: scroll;
        height: 5rem;
        margin-bottom: 1rem !important;
    }
}

/* ---------- /RESPONSIVE ---------- */
/* CSS Preloader */
.lds-dual-ring {
  display: inline-block;
  vertical-align: middle;
  width: 40px;
  height: 40px;
}
.lds-dual-ring:after {
  content: " ";
  display: block;
  width: 30px;
    height: 30px;
  margin: 0px 8px;
  border-radius: 50%;
  border: 4px solid #b70f0a;
  border-color: #b70f0a transparent #b70f0a transparent;
  animation: lds-dual-ring 1.2s linear infinite;
}
@keyframes lds-dual-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.status_message {
    width: 100%;
    padding: 15px 0px;
    text-align: right;
}

#gform_10 .gform-footer {
    text-align: right !important;
}

