table.avoid-pointer-events{
    opacity: 0.7;
}

.modal.survey-modal {
    position: absolute;
    right: 5%;
    width: 65%;
    height: 90%;
    top: 5%;
}

.modal.survey-modal .modal-footer {
    height: 50px;
}

.boolean-custom-widget {
    justify-content: flex-end;
}

/********* STAKEHOLDER FORM *********/

.stakeholder-info {
    position: absolute;
    background: whitesmoke;
    width: calc(25% - 10px);
    left: 5%;
    top: 5%;
    height: 90%;
    border-radius: 5px;
}


.stakeholder-info .header{
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: solid 1px darkgrey;
    background-color: lightgrey;
    border-radius: 5px 5px 0 0;
    height: 56px;
    font-size: 120%;
}

.stakeholder-info .header .icons {
    position: absolute;
    right: 0;
    display: flex;
}

.stakeholder-info .header .icons [class^="icon-"] {
    font-size: 25px;
    margin-right: 10px;
    margin-left: 0;
    cursor: pointer;
}

.stakeholder-info .body {
    height: calc(100% - 56px);
    overflow-y: auto;
    background-color: whitesmoke;
    border-radius: 5px;
}

.stakeholder-info .body table{
    width: calc(100% - 40px);
    margin: 20px;
    border-spacing: 0 10px;
}

.stakeholder-info .body .label{
    text-align: right;
    padding-right: 20px;
    width: 40%;
    font-weight: bold;
}

.stakeholder-info .body .label::after{
    content: ':';
}

.stakeholder-info .body table td {
    border-bottom: 1px solid lightgrey;
    padding-bottom: 10px;
}

.stakeholder-info .body table td > span {
    display: block;
    margin: 10px 0;
}

.stakeholder-info .body table td > span:before {
    content: ">";
    margin-right: 5px;
    font-weight: bold;
    color: var(--main-itclr2);
}

.stakeholder-info .footer {
    position: absolute;
    top: 100%;
    width: 100%;
    height: 40px;
    background-color: lightgrey;
    border-top: solid 1px darkgrey;
    border-radius: 0 0 5px 5px;
    display: none;
}


/********      SURVEY FORM        *********/

/** EMAIL LINK **/

div#email-vlink {
    text-align: center;
    font-size: 110%;
    min-height: 30px;
}

div#email-vlink .link {
    display: none;
}

div#email-vlink .link-alternate-val {
    color: var(--main-itclr2);
}

#email-vlink div.icon-duplicate {
    font-size: 20px;
    display: inline-block;
    cursor: pointer;
}

#email-vlink + .copied-msg {
    display: block;
    text-align: center;
    font-style: italic;
    margin-bottom: 10px;
    color: var(--main-itclr3);
}

#email-vlink:not(.link-copied) + .copied-msg {
    display: none;
}

/** FORM BODY **/

.message-box{
    padding: 15px 25px;
    border-radius: 10px;
    background-color: var(--main-itclr3);
    color: whitesmoke;
}

div[class*="message"].message-box {
    padding: 20px 25px;
}

div[class*="message"].message-box > div.bold {
    margin-bottom: 25px;
    text-align: center;
    font-size: 125%;
    text-decoration: underline;
}

.message-box p {
    margin: 0;
}

div[class*="message"] {
    font-size: 110%;
    padding: 5px 25px;
    width: calc(100% - 50px);
}

.modal-body {
    max-height: calc(100% - 150px);
}

.survey-modal .modal-body{
    padding-bottom: 0;
    max-height: calc(100% - 140px);
}

.overlay-content[tabindex="3"] .modal-footer {
}

/** Remove the clear button in quali_order widget when the survey form is non editable **/
.modal-body table.avoid-pointer-events button.quali-order-clear-options-bt {
    display: none;
}

.modal-body button.quali-order-clear-options-bt {
    color: var(--main-itclr2);
}

/* --------- PARAGRAPHS ---------- */

.paragraph {
    border-radius: 5px;
    margin-top: 10px;
    margin-bottom: -10px;
    background-color: var(--main-bgclr);
    padding: 5px 0 5px 10px;
}

/* ---------- FOLLOW UP -----------*/
.follow-up {
    padding: 20px 10px;
    display: flex;
    flex-direction: column;
    grid-gap: 15px;
    margin-top: 10px;
    color: var(--main-itclr3);
}

.survey-modal .follow-up input,
.survey-modal .follow-up select,
.survey-modal .follow-up textarea{
    background-color: white;
    width: auto;
}

.survey-modal .follow-up > div{
    display: flex;
    justify-content: space-evenly;
}

.survey-modal .follow-up > div > div{
    display: flex;
    flex-direction: column;
    width: 180px;
}

.survey-modal .follow-up > div > div:nth-child(2){
    width: 70%;
}

.survey-modal .follow-up > div > div > label {
    margin-bottom: 5px;
    font-weight: bold;
}

/* ------------- SURVEY DATE --------------- */
.survey-date {
    display: flex;
    position: fixed;
    bottom: calc(7% + -13px);
    left: 31%;
    z-index: 1000;
    grid-gap: 5px;
    align-items: center;
    flex-wrap: wrap;
    width: 200px;
}

.survey-date input{
    background-color: whitesmoke;
    width: auto;
}


/* -------------- OTHERS ------------------- */

.label-col label > p {
    display: inline;
}

td.help-text {
    cursor: pointer;
}

td.help-text::before {
    content: '?';
    background-color: var(--main-bgclr);
    padding: 7px 10px 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, font-weight 0.2s ease-in-out;
}

td.help-text:hover::before {
    background-color: var(--main-itclr2);
    color: whitesmoke;
    font-weight: bold;
}

span.tooltip.help_text {
    width: max-content;
    max-width: 600px;
}

.show-tooltip:hover > span.tooltip.help_text {
    display: inline-block !important;
}