﻿
.mud-dialog-container .mud-dialog-width-sm {
    max-width: unset !important;
}


/*----------------------STATE / INPUTS GENERAL STYLING--------------------*/
.noSelection-dialog {
    text-align: center;
    margin: 0 2rem 1.6rem 2rem;
}

    .noSelection-dialog p {
        font-size: 1.6rem;
        color: var(--cl-purple);
        margin-bottom: 2rem;
    }

    .noSelection-dialog i {
        font-size: 2.4rem;
        color: var(--cl-brightRed);
        margin-bottom: 0.6rem;
    }

.popup-container .display {
    width: 18rem !important;
}


.popup-container i.fa-check,
.popup-container i.fa-xmark {
    margin-left: 1rem;
    font-size: 1.2rem;
}

.popup-container i.fa-arrow-up-to-line {
    margin-right: 0.5rem;
}

.popup-container i.fa-arrow-up-to-line,
.popup-container i.fa-arrow-down-to-line {
    font-size: 1.3rem;
    color: grey;
}

    .popup-container i.fa-arrow-up-to-line:hover,
    .popup-container i.fa-arrow-down-to-line:hover {
        opacity: 0.6;
    }

.popup-container .title {
    margin-bottom: 2rem;
    padding-inline: 1rem;
    border-bottom: 2px solid var(--cl-purple);
}

.popup-container .title-selection {
    font-size: 1rem;
    color: var(--cl-purple);
    margin: 0 0 1rem 0.8rem;
}

.popup-container .th-order {
    width: 3rem;
}

.popup-container .mud-table-container {
    height: 25rem !important;
    overflow-x: hidden !important;
}

.popup-container .mud-table-cell {
    padding: 0 !important;
    height: 3rem !important;
}

.popup-container i.fa-trash-can {                                                                 
    padding: 0 .5rem 0 0 !important;
}

.popup-container .mud-table-cell.th-delete,
.pop-container td.th-delete {
    width: 2.4rem !important;
}

.pop-container td.th-delete {
    width: 2.4rem !important;
}

tr.mud-table-row {
    width: 100%;
}

.popup-container .delete {
    width: 2.2rem !important;
    padding-top: 0.3rem !important;
}

.popup-container .mud-table-head th:last-of-type {
    width: 2rem !important;
}

.popup-container .mud-table-cell.th-source {
    width: 6rem !important;
}

.mud-table-root .mud-table-body .mud-table-cell:first-of-type,
.mud-table-root .mud-table-head th:first-of-type {
    padding-left: 0.8rem !important;
}

.popup-container .form-input {
    font-size: 1rem;
    padding: 0 0 0 0.3rem !important;
}

.automaticInput-dialog .th-required,
.powerAutomateInput-dialog .th-required,
.parameters-dialog .th-required {
    width: 5rem !important;
}

/*----------------------INPUTS--------------------*/



    .input-dialog .th-source {
        min-width: 6.5rem !important;
    }
    .input-dialog .source {
        margin-right: 1rem !important;
    }

    .input-dialog .th-id {
        min-width: 20rem !important;
    }

    .input-dialog .id {
        margin-right: 1rem !important;
        min-width: 19rem !important;
    }

    .input-dialog .th-label {
        width: 12rem !important;
    }

    .input-dialog .label {
        margin-right: 1rem !important;
    }

.popup-container .manual-input {
    margin: 0.5rem 1rem 1rem 0;
}


.input-dialog .manual-input td {
    display: flex;
    align-items: center;
    margin: 0.5rem 0;
}


/*--------------------------VARIABLES & PARAMETERS----------------------*/

.variables-dialog {
    width: 80rem !important;
}

.parameters-dialog {
    width: 84rem !important;
}

    .variables-dialog .th-message,
    .parameters-dialog .th-message {
        width: 12.5rem;
        padding-left: 0.5rem;
    }

    .variables-dialog .label-warning,
    .parameters-dialog .label-warning {
        font-size: 1.1rem;
    }

    .variables-dialog .spacer,
    .parameters-dialog .spacer {
        padding-left: 0.5rem;
    }

    .variables-dialog .th-fieldType,
    .parameters-dialog .th-fieldType {
        width: 8rem !important;
    }    
    
    .variables-dialog .th-selectData,
    .parameters-dialog .th-selectData {
        width: 9rem !important;
    }

    .variables-dialog .th-label,
    .parameters-dialog .th-label {
        width: 11.6rem !important;
    }

    .variables-dialog .mud-table-cell .th-source,
    .parameters-dialog .mud-table-cell .th-source {
        width: 6rem !important;
    }

    .variables-dialog .th-id,
    .parameters-dialog .th-id {
        width: 19.4rem !important;
    }

/*--------------------------TRANSITIONS DIALOG----------------------*/

.manual-transitions {
    min-width: 47rem !important;
}

    .popup-container .edit-transitions {
        margin: 0.5rem 1rem 1rem 0;
    }       
    
    .transitions .edit-transition td{
        display: flex;
        align-items: center;
        margin: 0.5rem 0;
    }

    .transitions .caret i {
        font-size: 1.4rem;
        color: var(--cl-purple);
        padding: 0.3rem;
        margin-inline: 0.95rem;
    }

    .transitions .tr {
        width: 30rem !important;
        margin: 0 1rem !important;
    }


.transitions .statusLevel-dropdown {
    border-bottom: 1px solid #b6b6b6;
}

    .transitions .statusLevel-dropdown label {
        font-size: 0.8rem;
        color: var(--cl-purple);
    }  
    
    .transitions .statusLevel-dropdown td {
        display: flex;
        justify-content: space-evenly;
        margin-top: 0.3rem;
        margin-bottom: 0.5rem;
    }

    .transitions .statusLevel-dropdown div {
        display: flex;
        flex-direction: column;
        padding: 0 1rem;
    }

.powerAutomate-transitions {
    min-width: 56rem !important;
}

    .powerAutomate-transitions .mud-table-cell:nth-of-type(5) {
        padding-left: 1rem !important;
    }

.transitions .th-to {
    width: 15rem;
    margin-left: 1rem;
    margin-right: 2rem;
}

.transitions .to {
    width: 14rem;
    margin-right: 1.3rem;
}

.transitions .th-label {
    width: 17.3rem;
    margin-left: 2rem;
    margin-right: 2.2rem;
}


.transitions .label {
    min-width: 16rem !important;
    margin-right: 1.4rem;
}

.transitions .th-class {
    width: 9rem;
    margin-left: 1rem;
}


.transitions .transition-style {
    margin-right: 0.6rem !important;
    margin-left: 0.6rem !important;
    padding-right: 0.2rem !important;
    width: 6.9rem !important;
}

.transitions .class {
padding: 0.6rem 0.3rem;
}

.automatic-transitions {
    min-width: 70rem !important;
}

.transitions .mud-table-head th:last-of-type {
    width: 3.5rem !important;
}

    .automatic-transitions .th-trigger {
        width: 22.2rem !important;
 
    }

    .automatic-transitions .trigger {
        width: 21rem !important;
        margin-left: 1rem;
    }



/*--------------------------AUTOMATIC / POWER AUTO / DIAGRAM PART INPUT DIALOG----------------------*/

.automaticInput-dialog,
.powerAutomateInput-dialog,
.diagramPartInput-dialog {
    min-width: 86rem !important;
}

    .automaticInput-dialog .th-defaultSource,
    .automaticInput-dialog .th-defaultId,
    .powerAutomateInput-dialog .th-defaultSource,
    .powerAutomateInput-dialog .th-defaultId,
    .diagramPartInput-dialog .th-defaultSource,
    .diagramPartInput-dialog .th-defaultId {
        width: 7rem !important;
    }

    .automaticInput-dialog .th-id,
    .powerAutomateInput-dialog .th-id,
    .diagramPartInput-dialog .th-id {
        width: 18rem !important;
    }


    .automaticInput-dialog .th-source,
    .powerAutomateInput-dialog .th-source,
    .diagramPartInput-dialog .th-source {
        width: 8rem !important;
    }

    .automaticInput-dialog .th-label,
    .powerAutomateInput-dialog .th-label,
    .diagramPartInput-dialog .th-label {
        width: 14rem !important;
    }

    .automaticInput-dialog .th-name,
    .powerAutomateInput-dialog .th-name,
    .diagramPartInput-dialog .th-name {
        width: 13rem !important;
    }

    .automaticInput-dialog .th-fieldType,
    .powerAutomateInput-dialog .th-fieldType,
    .diagramPartInput-dialog .th-fieldType {
        width: 7rem !important;
    }

/*-------------------OUTPUTS-------------------------*/

.manualOutput-dialog {
    min-width: 84rem !important;
}

.automaticOutput-dialog,
diagramPartOutput-dialog,
.powerAutomateOutput-dialog {
    min-width: 42rem !important;
}

.diagramPartOutput-dialog .th-fieldType {
    width: 7rem !important;
} 

.manualOutput-dialog .th-fieldType,
.manualOutput-dialog .fieldType {
    width: 8rem !important;
}

.manualOutput-dialog .th-selectData {
    width: 9rem !important;
 
}

.manualOutput-dialog .th-label {
    width: 10rem !important;
}

.manualOutput-dialog .th-source {
    width: 5.5rem !important;
}

.manualOutput-dialog .th-id {
    width: 19.4rem !important;
}

.manualOutput-dialog .th-state {
    width: 12rem !important;
}

.automaticOutput-dialog .th-state,
.diagramPartOutput-dialog .th-state,
.powerAutomateOutput-dialog .th-state {
    width: 18rem !important;
}

.automaticOutput-dialog .th-order,
.diagramPartOutput-dialog .th-order,
.powerAutomateOutput-dialog .th-order {
    width: 3rem !important;
    margin-left: 0.6rem !important;
}

.diagramOutput-dialog {
    min-width: 40rem !important;
}

    .diagramOutput-dialog th.th-required,
    .diagramOutput-dialog th.th-fieldType,
    .manualOutput-dialog th.th-required{
        width: 6rem !important;
    }

    .diagramOutput-dialog .popup-container .label {
        margin-right: 1rem !important;
    }

.diagramPartOutput-dialog {
    min-width: 45rem;
}

/*-------------------OPEN DIAGRAM DIALOG-------------------------*/

.openDiagram-dialog {
    min-width: 56rem !important;
}

    .openDiagram-dialog .th-title {
        width: 20rem !important;
    }
