/*Pattern for all pages*/

::root {
    --fundocinzaheader: #ECECEC;
    --fundocinzaclaro: #F3F3F3;
    --fundocinzamedio: #E1E1E1;
    --cinzafonte: #9F9F9F;
    --cinzaclarofonte: #9A9A9A;
    --cinzamediofonte: #707070;
    --cinzaescurofonte: #333333;
    --blue1: rgb(0, 93, 170);
    --blue2: black;
    --blue3: black;
    --orange1: #f88207;
    --orange2: #E09104;
}

/*Inicio Loading*/
.tableLoader {
    border: 5px solid var(--fundocinzaheader);
    border-radius: 50%;
    border-top: 5px solid var(--blue1);
    width: 20px;
    height: 20px;
    -webkit-animation: spin 2s linear infinite; /* Safari */
    animation: spin 2s linear infinite;
    margin: 20px auto;
}
/*Fim Loading*/

#tableComponent {
    display: flex;
    -ms-flex-direction: column;
    -webkit-flex-direction: column;
    flex-direction: column;

    justify-content: center;
    align-items: center;
    color: var(--cinzafonte);

    margin: 20px 0px;
}

#tableComponent thead {
    
    display: flex;
    flex: 1; 

    /* border-radius: 4px 4px 0px 0px; */

}

#tableComponent tbody {
    display: flex;
    flex-direction: column;
    max-height: 510px;
}

#tableComponent tr {
    -ms-flex: 1;
    -webkit-flex: 1;
    flex: 1;
    display: flex;
    align-items: center;
    height: 50px;
    cursor: pointer;
}

#tableComponent tr:nth-child(even) {
    background-color: rgb(240, 240, 240);
}

#tableComponent tr:hover {
    /* background-color: rgb(241, 241, 241); */
}

.shadow {
    -webkit-box-shadow: 2px 3px 6px 0px rgba(0, 0, 0, 0.16);
    -moz-box-shadow: 2px 3px 6px 0px rgba(0, 0, 0, 0.16);
    box-shadow: 2px 3px 6px 0px rgba(0, 0, 0, 0.16);
}

.border {
    border-radius: 4px !important;
    border: 0.2 solid var(--cinzaclarofonte);
}

.bold {
    font-weight: bold;
}

/*Tabela*/
.table-btn {
    background-color: var(--blue3);
    color: white;
    padding: 6px 14px;
    -webkit-box-shadow: 2px 3px 6px 0px rgba(0, 0, 0, 0.16);
    -moz-box-shadow: 2px 3px 6px 0px rgba(0, 0, 0, 0.16);
    box-shadow: 2px 3px 6px 0px rgba(0, 0, 0, 0.16);
    border-radius: 4px !important;
    border: 0.2 solid var(--cinzaclarofonte);
    text-transform: capitalize;
    font-size: 14px;
    text-decoration: none;
}

.icon {
    height: 30px !important;
    width: 30px !important;
    border-radius: 0 !important;
}

table {
    border-collapse: collapse;
    background-color: white;
    width: 100%;
}

td {
    /* border-bottom: 0.5px solid rgba(197, 197, 197, 0.493); */
    padding: 10px !important;
    height: 60px;
    color: var(--cinzaclarofonte);
}

thead {
    /* background-color: var(--blue3); */
}

.table-pagination-info {
    margin-top: 10px;
    color: var(--cinzaescurofonte);
}

.list th {
    
    height: 50px;
    padding: 20px;
    font-weight: 100 !important;
    font-size: 12px;
    color: white;
    text-transform: uppercase;
    text-align: center;
  
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0px !important;
    margin-top: 0px;

    background-color: #68C1B5;

}

.clickable {
    cursor: pointer;
}

.list th > * {
    margin: 10px;
}

.list td {

    height: 70px;

    padding: 20px;

    display: flex;
    align-items: center;
    justify-content: center;
    width: 230px;
}

.list p {
    font-size: 14px;
    text-align: left;
    color: var(--cinzaclarofonte);

    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis !important;
}

.list p > *{
    font-size: 14px;
    text-align: left;
    color: var(--cinzaclarofonte);

    width: 100%;
    text-overflow: ellipsis !important;
}

.list-historic p {
    font-size: 14px;
}

.list-users img {
    height: 50px;
    width: 50px;
    border-radius: 50%;
}

.name {
    color: var(--cinzaescurofonte);
    font-size: 13px;
}

.no-bg {
    background-color: rgba(0, 0, 0, 0) !important;
    border: none;
}

.title-1 {
    text-align: center !important;
}

.cell-large {
    flex: 3;
}
.cell-medium {
    flex: 2;
}
.cell-small {
    flex: 1;
}

/*Fim tabela*/

/* Status */

/* .table-item-status {
} */

.table-item-status p {
    border-radius: 2px;
    padding: 5px;
    width: 70px;

    color: var(--cinzamediofonte);
    /* color: white; */
    font-weight: 700;
    text-align: center;
}

.green-status {
    background-color: var(--blue1);
}

.blue-status {
    background-color: blue;
}

.yellow-status {
    background-color: yellow;
    color: var(--cinzaescurofonte) !important; 
}

.red-status {
    background-color: red;
}

/*Checkbox*/
@supports (-webkit-appearance: none) or (-moz-appearance: none) {
    input[type='checkbox'],
    input[type='radio'] {
        --active: #68C1B5;
        --active-inner: #fff;
        --focus: 2px rgba(39, 94, 254, .3);
        --border: #BBC1E1;
        --border-hover: #68C1B5;
        --background: #fff;
        --disabled: #F6F8FF;
        --disabled-inner: #E1E6F9;
        -webkit-appearance: none;
        -moz-appearance: none;
        height: 21px;
        outline: none;
        display: inline-block;
        vertical-align: top;
        position: relative;
        margin: 0;
        cursor: pointer;
        border: 1px solid var(--bc, var(--border));
        background: var(--b, var(--background));
        -webkit-transition: background .3s, border-color .3s, box-shadow .2s;
        transition: background .3s, border-color .3s, box-shadow .2s;
    }

        input[type='checkbox']:after,
        input[type='radio']:after {
            content: '';
            display: block;
            left: 0;
            top: 0;
            position: absolute;
            -webkit-transition: opacity var(--d-o, 0.2s), -webkit-transform var(--d-t, 0.3s) var(--d-t-e, ease);
            transition: opacity var(--d-o, 0.2s), -webkit-transform var(--d-t, 0.3s) var(--d-t-e, ease);
            transition: transform var(--d-t, 0.3s) var(--d-t-e, ease), opacity var(--d-o, 0.2s);
            transition: transform var(--d-t, 0.3s) var(--d-t-e, ease), opacity var(--d-o, 0.2s), -webkit-transform var(--d-t, 0.3s) var(--d-t-e, ease);
        }

        input[type='checkbox']:checked,
        input[type='radio']:checked {
            --b: var(--active);
            --bc: var(--active);
            --d-o: .3s;
            --d-t: .6s;
            --d-t-e: cubic-bezier(.2, .85, .32, 1.2);
        }

        input[type='checkbox']:disabled,
        input[type='radio']:disabled {
            --b: var(--disabled);
            cursor: not-allowed;
            opacity: .9;
        }

            input[type='checkbox']:disabled:checked,
            input[type='radio']:disabled:checked {
                --b: var(--disabled-inner);
                --bc: var(--border);
            }

            input[type='checkbox']:disabled + label,
            input[type='radio']:disabled + label {
                cursor: not-allowed;
            }

        input[type='checkbox']:hover:not(:checked):not(:disabled),
        input[type='radio']:hover:not(:checked):not(:disabled) {
            --bc: var(--border-hover);
        }

        input[type='checkbox']:focus,
        input[type='radio']:focus {
            box-shadow: 0 0 0 var(--focus);
        }

        input[type='checkbox']:not(.switch),
        input[type='radio']:not(.switch) {
            width: 21px;
        }

            input[type='checkbox']:not(.switch):after,
            input[type='radio']:not(.switch):after {
                opacity: var(--o, 0);
            }

            input[type='checkbox']:not(.switch):checked,
            input[type='radio']:not(.switch):checked {
                --o: 1;
            }

        input[type='checkbox'] + label,
        input[type='radio'] + label {
            font-size: 14px;
            line-height: 21px;
            display: inline-block;
            vertical-align: top;
            cursor: pointer;
            margin-left: 4px;
        }

            input[type='checkbox']:not(.switch):after {
                width: 5px;
                height: 9px;
                border: 2px solid var(--active-inner);
                border-top: 0;
                border-left: 0;
                left: 7px;
                top: 4px;
                -webkit-transform: rotate(var(--r, 20deg));
                transform: rotate(var(--r, 20deg));
            }

            input[type='checkbox']:not(.switch):checked {
                --r: 43deg;
            }

        input[type='checkbox'].switch {
            width: 38px;
            border-radius: 11px;
        }

            input[type='checkbox'].switch:after {
                left: 2px;
                top: 2px;
                border-radius: 50%;
                width: 15px;
                height: 15px;
                background: var(--ab, var(--border));
                -webkit-transform: translateX(var(--x, 0));
                transform: translateX(var(--x, 0));
            }

            input[type='checkbox'].switch:checked {
                --ab: var(--active-inner);
                --x: 17px;
            }

            input[type='checkbox'].switch:disabled:not(:checked):after {
                opacity: .6;
            }

    input[type='radio'] {
        border-radius: 50%;
    }

        input[type='radio']:after {
            width: 19px;
            height: 19px;
            border-radius: 50%;
            background: var(--active-inner);
            opacity: 0;
            -webkit-transform: scale(var(--s, 0.7));
            transform: scale(var(--s, 0.7));
        }

        input[type='radio']:checked {
            --s: .5;
        }
}