/*
Theme Name: Growl
Theme URI: https://growl.be
Version: 0.1
Author: Neal
Author URI: https://www.growl.be
Description: Custom theme for Roche stakeholder tool
Tags: minimal, simple, responsive, light-weight
Text Domain: growl
*/

body,
input,
button {
    font-family: 'Open Sans';
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
}

body {
    margin: 0;
}

#mainContent {
    width: 100%;
    max-width: 1119px;
    text-align: left;
    margin-top: 114px;
    padding: 0 1rem;
    box-sizing: border-box;
}

.logo {
    display: block;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1rem;
}

.nav a {
    text-decoration: none;
    color: black;
}

.current_page_item a {
    color: #2c7bc2 !important;
}

.gform_heading {
    text-align: left;
    margin-bottom: 37px;
}

body .gform_wrapper.gravity-theme .gfield_label {
    /* display: none; */
}



body .tingle-modal-box__content .gfield_label {
    display: block !important;
}


.gform_description {
    max-width: 1021px;
    display: block;
}

.gform_title {
    font-weight: 700;
    font-size: 32px;
    line-height: 44px;
    color: #000000;
    margin-bottom: 1rem;
}

.gform_fields .gpnf-nested-entries {
    border-radius: 0;
    width: 100%;
    border: 2px solid #EBEBEB;
    margin-bottom: 8px;
}

.gpnf-nested-entries thead {
    background: #EBEBEB;
}

.gform_wrapper .gpnf-nested-entries th {
    width: 25%;
    background-color: #EBEBEB;

    border: none;
    padding: 27px 25px;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 22px;
    color: #000000;
}

.gform_wrapper .gpnf-nested-entries th:nth-child(3) {
    width: 35%;
}



.gform_wrapper .gpnf-nested-entries td {
    padding: 27px 25px;
    border-bottom: 2px solid #EBEBEB;
}


.gform_wrapper .gpnf-nested-entries td.gpnf-field,
.gform_wrapper .gpnf-nested-entries td.gpnf-row-actions {
    padding: 13px 25px;
}

.gpnf-row-actions button.edit-button {

    background: #EFEFEF;
    line-height: 22px;
    color: #000000;
    padding: 8px 16px;
    border: none;
    text-decoration: none;
}

.gpnf-row-actions button.delete-button {

    font-style: normal;
    line-height: 22px;
    color: #FF6363;
    text-decoration: none;
    margin-left: 1rem;
}

.gform_wrapper .gpnf-nested-entries .gfcs-value tbody tr:nth-child(2),
.gform_wrapper .gpnf-nested-entries .gfcs-value tbody tr:nth-child(3),
.gform_wrapper .gpnf-nested-entries .gfcs-value tbody tr:nth-child(4) {
    font-size: 13px;
    color: #949494;
    line-height: 17px;
}

.gform_wrapper .gpnf-nested-entries .gfcs-value td {
    padding: 0;
    border: none;
}


.gform_wrapper .gpnf-nested-entries .gfcs-value tr td:first-child {
    display: none;
}


.field_sublabel_below .gfield_description {
    display: none;
}

.gpnf-add-entry {
    float: left;
    background: #007AC2;
    padding: 8px 16px;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 22px;
    border: none;
    color: #FFFFFF;
    width: 168px;
    text-align: center;
}

#mainContent .gform_footer {
    margin-top: -38px;
    margin-left: 175px;
    padding: 0;
    height: 38px;
}

#mainContent .gform_footer .gform_button {
    border: 2px solid #007AC2;
    font-size: 16px;
    line-height: 22px;
    color: #000000;
    padding: 8px 16px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    margin: 0;
}

@media only screen and (max-width: 760px),
(min-device-width: 760px) and (max-device-width: 1024px) {


    .gform_fields .gpnf-nested-entries td:before {
        position: relative;
        left: auto;
    }


    .gpnf-nested-entries tbody tr:not(.gpnf-no-entries) td {
        border-bottom: 2px solid #EBEBEB;
        display: flex;
        justify-content: space-between;
    }

    .gform_fields .gpnf-nested-entries {
        border: none;
    }

    .gform_fields .gpnf-nested-entries tr.gpnf-field {
        border: 2px solid #EBEBEB;

    }

    .gpnf-nested-entries .gfcs-value tr {
        border: none;
        margin-bottom: 0;
    }

    .gpnf-nested-entries .gfcs-value tr td {
        background-color: transparent;
    }

    .gpnf-nested-entries .gfcs-value tr td span {
        text-align: right;
    }

}

.gform_wrapper .gfield_required {
    display: none !important;
}

.gf_no_options,
.gf_no_optionsgform-grid-col--size-auto {
    display: none;
    visibility: hidden;
}

select {
    min-width: 0 !important;
}

.gpnf-modal .tingle-modal-box {
    width: clamp(850px, 80%, 1000px);
}

.gform_wrapper.gravity-theme .gfield textarea.large {
    height: 200px;
}

/* Relevant topics */
.grid-with-2-columns>.ginput_container>div {
    display: grid;
    grid-template-columns: 1fr 1fr;
}