﻿.form-control,
.form-select,
.form-label {
    color: black;
    font-family: Arial !important;
    font-weight: 500;
}

/*

label {
    padding: 5px 12px 4px 0;
    display: inline-block;
    font-size: 12px;
    font-weight: bold;
}*/

input[type=text],
input[type=number],
input[type=time],
input[type=date],
input[type=datetime-local],
input[type=password],
input[type=search],
select,
textarea {
    width: 100%;
    height: 26px;
    padding: 2px 2px 0px 3px;
    display: inline-block;
    border: 1px solid #aaa;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 12px !important;
}

.form-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    /*background: url('../img/arrow2.png') 100% / 10% no-repeat white;*/
    /*background: url('../img/arrow2.png') no-repeat center right #FFF;*/
    background: url('../img/down-arrows.png') 98.5% / 13px no-repeat #fff;
}

.form-label {
    padding: 5px 12px 4px 0;
    display: inline-block;
    font-size: 12px;
    font-weight: bold;
    color: #333;
}

.lb-red {
    color: var(--color-red);
}

.form-control,
.form-select {
    width: 100%;
    height: 26px;
    padding: 2px 2px 0px 3px;
    display: inline-block;
    border: 1px solid var(--input-border);
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 12px !important;
    resize: none;
}

.form-select {
    padding: 5px 3px;
}

    .form-control::-webkit-inner-spin-button,
    .form-control::-webkit-outer-spin-button {
        height: 30px;
        width: 20px;
        margin: 0;
    }

    .form-control::file-selector-button {
        border: none;
        height: 100%;
        font-weight: bold;
    }

    .form-control::-webkit-calendar-picker-indicator {
        width: 15px;
        height: 15px;
    }

    .form-control:read-only,
    .form-control:read-only {
        /*cursor: not-allowed;*/
        opacity: 0.7;
    }

    .form-control:disabled,
    .form-select:disabled {
        --input-border: #ccc;
        background-color: var(--input-disabled);
        /*cursor: not-allowed;*/
    }

    .form-control:focus,
    .form-select:focus {
        border: 1px solid;
        outline: 3px solid transparent;
    }

    .form-select:active,
    .form-select::selection,
    .form-select:checked {
        outline: none;
    }

    /* Change Autocomplete styles in Chrome */
    .form-control:-webkit-autofill,
    .form-control:-webkit-autofill:hover,
    .form-control:-webkit-autofill:focus,
    .form-select:-webkit-autofill,
    .form-select:-webkit-autofill:hover,
    .form-select:-webkit-autofill:focus {
        outline: none;
    }

/* CheckBox Layout */
.form-check {
    width: auto;
    height: auto;
}

    .form-check + .form-label {
        padding: 0px;
    }

.form-check {
    /* Add if not using autoprefixer */
    -webkit-appearance: none;
    appearance: none;
    /* For iOS < 15 to remove gradient background */
    background-color: #fff;
    /* Not removed via appearance */
    margin: 0;
    padding: 0;
    font: inherit;
    font-size: 12px !important;
    color: rgb(0, 0, 0);
    width: 14px;
    height: 14px;
    border: 1px solid var(--input-border);
    border-radius: 1.8px;
    /*transform: matrix(1, 0, 0, 1, 0, -0.9);*/ /* = translateY(-0.075em) */
    display: grid;
    place-content: center;
}

    .form-check::before {
        content: "";
        width: 8px;
        height: 8px;
        transform: scale(0);
        transition: 120ms transform ease-in-out;
        box-shadow: inset 1em 1em var(--color-red);
    }

    .form-check:checked::before {
        transform: scale(1);
    }

    .form-check:disabled {
        --form-control-color: var(--input-disabled);
        --input-border: #ccc;
        color: var(--input-disabled);
        background-color: var(--input-disabled);
        cursor: not-allowed;
    }

    /* Radio Layout */
    .form-check[type="radio"] {
        /* Add if not using autoprefixer */
        -webkit-appearance: none;
        appearance: none;
        /* For iOS < 15 to remove gradient background */
        background-color: #fff;
        /* Not removed via appearance */
        margin: 0;
        padding: 0;
        font: inherit;
        color: currentColor;
        width: 14px;
        height: 14px;
        border: 1px solid var(--input-border);
        border-radius: 50%;
        /*transform: matrix(1, 0, 0, 1, 0, -0.9);*/ /* = translateY(-0.075em) */
        display: grid;
        place-content: center;
    }

        .form-check[type="radio"]::before {
            content: "";
            width: 0.67em;
            height: 0.67em;
            border-radius: 50%;
            transform: scale(0);
            transition: 120ms transform ease-in-out;
            box-shadow: inset 1em 1em var(--color-red);
            /* Windows High Contrast Mode */
            background-color: var(--color-red);
        }

        .form-check[type="radio"]:checked::before {
            transform: scale(1);
        }

        .form-check[type="radio"]:disabled {
            --form-control-color: var(--input-disabled);
            --input-border: #ccc;
            color: var(--input-disabled);
            background-color: var(--input-disabled);
            cursor: not-allowed;
        }

.form-check.result {
    display: inline-grid
}
.containerResults {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 colunas */
    gap: 10px;
    margin: 5px;
}
/* Style the input container 
   Esta classe é utilizada em conjunto com a classe icon a baixo, para posicionar icon ou button na mesma linha do input
*/
.input-container {
    display: flex;
    width: 100%;
}

/* Style the form icons */
.icon {
    background: dodgerblue;
    color: white;
    min-width: 30px;
    text-align: center;
}

.icon-load-input {
    position: relative;
    left: 10px;
    top: -21px;
    width: 0;
    height: 0;
}

/* Style the input fields */
.input-field {
    width: 100%;
    outline: none;
}

    .input-field:focus {
        border: 2px solid dodgerblue;
    }

/* Classe destinada a alinhar inputs sem label ex: checkbox, radio, buttons ou input sem label */
.form-control-inline {
    font-family: Arial;
    line-height: 1.1;
    margin-top: 22px;
}

.form-control-check, .form-control-check-inline {
    font-family: Arial;
    line-height: 1.2;
    display: grid;
    grid-template-columns: 1em auto;
    gap: 0.5em;
}

.form-control-check-inline {
    margin-top: 2em;
}

/* ------------- Sessão destinada a ajustes de Plugins de terceiros ------------- */

/* -------------------------------------- Multipli Select -------------------------------------- */
/* Conteiner */
.ms-parent {
    width: 100% !important;
}

.ms-choice {
    font-size: 12px !important;
    font-weight: 500 !important;
    color: rgb(0, 0, 0) !important;
}

    /*.ms-choice:focus,
    .ms-search > input:focus{
        border: 1px solid;
        outline: 3px solid transparent;
    }*/

    .ms-choice > span.placeholder {
        color: rgb(0, 0, 0) !important;
        opacity: 0.7 !important;
    }

/* Icone */
    .ms-choice > div.icon-caret {
        position: absolute;
        width: 0;
        height: 0;
        top: 50%;
        right: 8px;
        margin-top: -3px;
        border-color: #888 transparent transparent transparent;
        border-style: solid;
        border-width: 6px 5px 0 5px;
    }

/* Label principal */
.ms-choice > span {
    padding: 1px 5px !important;
    color: black;
}

/* Lista dos itens */
.ms-drop ul > li {
    padding: 0 5px;
    font-size: 12px;
}

    .ms-drop ul > li.group > label.optgroup {
        display: flex;
        /*background-color: var(--color-red);
        color: var(--color-white);
        padding-bottom: 2px;
        cursor: default;*/
    }

    .ms-drop ul > li.group {
        background-color: var(--color-red);
        color: var(--color-white);
        padding-bottom: 2px;
        cursor: default;
    }

        .ms-drop ul > li.group > label.optgroup input[type="radio"],
        .ms-drop ul > li.group > label.optgroup input[type="checkbox"] {
            position: relative;
            margin-right: 3px;
        }

    /* Label da lista de itens */
    .ms-drop ul > li label {
        font-size: 12px;
        padding: 1px 0;
    }

    .ms-drop ul > li.hide-radio label {
        padding: 0 3px;
    }

    .ms-drop ul > li.hide-radio:focus, .ms-drop ul > li.hide-radio:hover {
        color: #fff;
        background-color: var(--color-red);
    }

    .ms-drop ul > li:not(.group):focus, .ms-drop ul > li:not(.group):hover {
        color: #fff;
        background-color: #767676;
    }

    /* Item Selecionado */
    .ms-drop ul > li.hide-radio.selected {
        color: #fff;
        background-color: #767676;
    }

/* Input de pesquisa */
.ms-search input {
    font-family: Arial;
}

/* CheckBox na lista de itens */
.ms-drop ul > li input[type=checkbox] {
    width: auto;
    height: auto;
}

    .ms-drop ul > li input[type=checkbox] + span {
        margin-left: 18px;
    }

.ms-drop ul > li input[type=checkbox] {
    /* Add if not using autoprefixer */
    -webkit-appearance: none;
    appearance: none;
    /* For iOS < 15 to remove gradient background */
    background-color: #fff;
    /* Not removed via appearance */
    margin: 0;
    padding: 0;
    font: inherit;
    color: currentColor;
    width: 14px;
    height: 14px;
    border: 1px solid var(--input-border);
    border-radius: 0.15em;
    transform: translateY(-0.075em);
    display: grid;
    place-content: center;
}

    .ms-drop ul > li input[type=checkbox]::before {
        content: "";
        width: 8px;
        height: 8px;
        transform: scale(0);
        transition: 120ms transform ease-in-out;
        box-shadow: inset 1em 1em var(--color-red);
    }

    .ms-drop ul > li input[type=checkbox]:checked::before {
        transform: scale(1);
    }

    .ms-drop ul > li input[type=checkbox]:disabled {
        --form-control-color: var(--input-disabled);
        --input-border: #ccc;
        color: var(--input-disabled);
        background-color: var(--input-disabled);
        cursor: not-allowed;
    }

/* -------------------------------------- EDITOR DE TEXTO JODIT -------------------------------------- */
.jodit_container:not(.jodit_inline) {
    font-family: Arial !important;
}


.ms-drop ul > li.hide-radio {
    padding: 1px;
}