/*
Theme Name: Impreza Child
Template: Impreza
Version: 1.0
Author:	UpSolution
Theme URI: http://impreza.us-themes.com/
Author URI: http://us-themes.com/
*/

/*Add your own styles here:*/

/* General */
main#page-content {
    background: #F2F6F6;
}
main button[type="button"],
main button.gpasc-new-draft-button {
    background: var(--color-content-primary);
    border-color: transparent;
    color: #ffffff;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.1;
    font-weight: 700;
    padding: 0.6em 1.5em;
}
main button[type="button"]:hover,
main button.gpasc-new-draft-button:hover {
    background: var(--color-content-secondary);
}

/* Header */
header .l-subheader-h {
    max-width: 750px;
}

/* Menu */
header .w-nav-title {
    display: inline-flex;
    align-items: center;
}
header .w-nav-title:before {
    content: "";
    font-family: "Font Awesome 6 Free";
    padding-right: 10px;
    font-size: 16px;
    line-height: normal;
    font-weight: 600;
}
.btn_survey .w-nav-title:before {
    content: "\f03a";
}
.login_btn .w-nav-title:before {
    /* content: "\f2bd"; */
    content: "\f007";
}
.logout_btn .w-nav-title:before {
    content: "\f2f5";
}

/* Form Login */
.um-login {
    background: white;
    border-radius: 20px;
    padding: 20px 40px 30px;
    margin-bottom: 15px;
    text-align: center;
}
.um-login .um-center {
    text-align: left;
}
.um.um-login .um-form input.um-form-field  {
    border: 1px solid var(--color-content-primary)!important;
}
.um.um-login .um-form input[type=submit].um-button {
    min-width: 100%!important;
}

/* Survey */
/* drafts */
.gpasc-drafts,
.gpasc-auto-load-notice,
.gform_wrapper {
   background: white;
   border-radius: 20px;
   padding: 30px 40px;
   margin-bottom: 15px;
}
.gpasc-drafts {
   padding: 20px 40px;
}
.gpasc-auto-load-notice {
   padding: 15px 40px;
}
.gpasc-drafts h4 {
    text-transform: uppercase;
    margin-bottom: 10px;
}
.gpasc-drafts ul {
    list-style-type: none;
    margin-left: 0;
    margin-bottom: 5px;
    display: inline-block;
}
.gpasc-drafts ul li {
    margin: 0 0 0.5rem;
    border: 1px dotted var(--color-content-primary);
    padding: 2px 8px;
}
.gpasc-drafts li.gpasc-current-draft {
   background: #009ac7b5;
   color: white;
   border-color: white;
}
.gpasc-drafts button.gpasc-new-draft-button {
    display: block;
}
/* end drafts */

/* start Form survey */
.gform_heading h2.gform_title {
    text-transform: uppercase;
}
.gform_confirmation_message,
.form_saved_message_sent {
    color: var(--color-content-text);
}
.gform_heading .gform_required_legend,
.gform_wrapper form .gfield .gfield_required {
    display: none;
}
.gform_wrapper form .gform_fields {
    /* grid-row-gap: 12px; */
}
.gform_wrapper form .gfield .gfield_label {
    /* min-height: 38px; */
    font-size: 14px;
    line-height: normal;
    align-items: end;
    display: flex;
    flex-wrap: nowrap;
    font-weight: 700;
}
.gform_wrapper form .gfield .gfield_description {
    padding-top: 0;
    font-size: 14px;
    line-height: 20px;
}
.gform_wrapper form .gfield .gsection_title {
    font-size: 15px;
    line-height: 24px;
    font-weight: 700;
}
.gform_wrapper form .gfield .gfield_validation_message,
.gform_wrapper form .gfield .validation_message {
    font-size: 13px;
    margin-block-start: 0;
}
/* Image choice */
.gform_wrapper.gravity-theme .ginput_container_image_choice .gfield_checkbox, .gform_wrapper.gravity-theme .ginput_container_image_choice .gfield_radio {
    display: grid;
    flex-wrap: wrap;
    gap: 16px;
}
.gform_wrapper.gravity-theme .ginput_container_image_choice .gchoice {
    inline-size: 100%;
    max-inline-size: 100%;
    min-inline-size: 100%;
    width: 100%;
    cursor: pointer;
}
.gform_wrapper.gravity-theme .ginput_container_image_choice .gchoice:hover .gfield-choice-image-wrapper {
    opacity: 1;
    transition: all 200ms linear;
}
.gform_wrapper.gravity-theme .ginput_container_image_choice .gchoice input {
    display: none;
}
.gform_wrapper.gravity-theme .ginput_container_image_choice .gchoice .gfield-choice-image-wrapper {
    opacity: 0.8;
    transition: all 200ms linear;
}
.gform_wrapper.gravity-theme .ginput_container_image_choice .gchoice:where(:has(input:checked)) .gfield-choice-image-wrapper {
    opacity: 1;
    transition: all 200ms linear;
}
.gform_wrapper.gravity-theme .ginput_container_image_choice .gchoice:where(:has(input:checked)):after {
    background-color: #009ac7;
    left: 2px;
    top: 2px;
    block-size: 25px;
    font-size: 20px;
    inline-size: 25px;
}
.gform_wrapper.gravity-theme .ginput_container_image_choice .gchoice .gfield-image-choice-wrapper-outer {
    display: flex;
    gap: 1rem;
    align-items: center;
}
.gform_wrapper.gravity-theme .ginput_container_image_choice .gfield-choice-image-wrapper {
    margin-block-end: 0;
    opacity: 1;
    width: 12%;
}

.gform_wrapper.gravity-theme .ginput_container_image_choice .gfield-choice-image-no-image:before {
    background: url("img/tennant-logo.png") center no-repeat;
    background-size: 100%;
    content: "";
    width: 70px;
    height: 70px;
    filter: grayscale(1);
    opacity: 0.5;
}
/* Group Fieldset */
.gform_wrapper .gfieldset.gform_fieldset_begin.gform_fieldset ul.gform_fields,
.gform_wrapper ul.gform_fields.top_label  {
    display: block;
}
.gform_wrapper .gfieldset.gform_fieldset_begin.gform_fieldset ul.gform_fields {
    margin: 20px;
}
.gform_wrapper ul.gform_fields.top_label  {
    margin-left: 0;
}
.gpnf-nested-entries-container .gpnf-nested-entries {
    margin-bottom: 0;
}
.gpnf-nested-entries th,
.gpnf-nested-entries td {
    display: none;
}
.gpnf-nested-entries td:first-child,
.gpnf-nested-entries td.gpnf-row-actions {
    display: table-cell;
}
button.gpnf-add-entry:before {
    content: "+";
}
.alert_msg {
    color: red;
}
/* Popup nested form */
.tingle-modal--visible.gpnf-modal .tingle-modal-box {
    animation: auto;
}
.tingle-modal-box .gform_description {
    display: none;
}
/* Privaacy */
.gform_wrapper.gravity-theme .gfield_checkbox label,
.gform_wrapper.gravity-theme .gfield_radio label {
    font-size: 14px;
    line-height: 20px;
}

#field_1_85 {
    display: none;
}
#field_1_24,
#field_1_25,
#field_1_26,
#field_1_27,
#field_1_28,
#field_1_29,
#field_1_30,
#field_1_31,
#field_1_32,
#field_1_33,
#field_1_34,
#field_1_35,
#field_1_36,
#field_1_37,
#field_1_38,
#field_1_39,
#field_1_40,
#field_1_41,
#field_1_42,
#field_1_43,
#field_1_44,
#field_1_45,
#field_1_46,
#field_1_47,
#field_1_48,
#field_1_49 {
    /* display: none; */
}

/* Confirmation Survey */
.gform_confirmation_wrapper {
    background: white;
    border-radius: 20px;
    padding: 40px;
    margin: 40px auto;
    text-align: center;
}
.gform_confirmation_wrapper h3 {
    text-transform: uppercase;
    margin: 0 0 15px;
    padding: 0;
    font-size: 30px;
}
.gform_confirmation_wrapper p {
    margin: 0 0 1.5rem;
    font-size: 14px;
}
.gform_confirmation_wrapper .btn_downloadpdf {
    background: var(--color-content-primary);
    border-color: transparent;
    color: #ffffff;
    border-radius: 10px;
    font-size: 16px;
    line-height: 1.1;
    font-weight: 700;
    padding: 0.8em 1.5em;
    margin-top: 0;
    display: inline-block;
}
.gform_confirmation_wrapper .btn_downloadpdf:before {
    content: "\f019";
    font-family: "Font Awesome 6 Free";
    padding-right: 10px;
}
.gform_confirmation_wrapper .btn_downloadpdf:hover {
    background: var(--color-content-secondary);
    color: white;
}

/* Responsive */
@media screen and (max-width: 1024px) {
    .gform_wrapper form:not(.gpnf-disable-responsive-table) .gpnf-nested-entries td:before,
    .gform_wrapper form:not(.gpnf-disable-responsive-table) .gpnf-field {
        display: none;
    }
    .gform_wrapper form:not(.gpnf-disable-responsive-table) .gpnf-field:first-child {
        display: block;
    }
    .gform_wrapper form:not(.gpnf-disable-responsive-table) .gpnf-nested-entries tbody tr:not(.gpnf-no-entries) td {
        padding: 1rem;
    }
}
@media screen and (max-width: 480px) {

    header#page-header .w-nav .menu-item a {
        padding-left: 8px;
        padding-right: 8px;
        font-size: 13px;
    }
    header#page-header .w-nav-title:before {
        padding-right: 6px;
        font-size: 13px;
    }
    header#page-header .w-dropdown.source_wpml {
        margin-left: 0.6rem;
    }

    .um-login {
        border-radius: 15px;
        padding: 10px 25px 20px;
    }
    .gpasc-drafts,
    .gpasc-auto-load-notice,
    .gform_wrapper {
       border-radius: 15px;
       padding: 20px;
    }
    .gform_wrapper.gravity-theme .ginput_container_image_choice .gchoice .gfield-image-choice-wrapper-outer {
        gap: 0.5rem;
    }
    .gform_wrapper.gravity-theme .ginput_container_image_choice .gchoice .gfield-choice-image-wrapper {
        width: 15%;
    }
    .gfield-image-choice-wrapper-inner {
        width: 65%;
        line-height: normal;
    }
    .gform_wrapper.gravity-theme .ginput_container_image_choice .gchoice label {
        line-height: normal;
    }
    .tingle-modal-box .tingle-modal-box__content {
        padding: 3rem 1rem;
    }
    .gpnf-modal .tingle-modal-box .gpnf-modal-header {
        margin: -3rem -3rem 0;
    }
    .gform_wrapper.gravity-theme .ginput_container_image_choice .gchoice:where(:has(input:checked)):after {
        left: 1px;
        top: 1px;
        block-size: 18px;
        font-size: 15px;
        inline-size: 18px;
    }
    .gform_confirmation_wrapper {
        border-radius: 15px;
        padding: 25px;
    }
    .gform_confirmation_wrapper h3 {
        font-size: 22px;
    }

}
