/*
 * Bootstra 5
 */
.modal-xl {
    width: 1200px;
}
.mt-0 {
    margin-top: 0;
}
.mt-1 {
    margin-top: 0.25rem;
}
.mt-2 {
    margin-top: 0.5rem;
}
.mb-0 {
    margin-bottom: 0;
}
.mb-1 {
    margin-bottom: 0.25rem;
}
.mb-2 {
    margin-bottom: 0.5rem;
}

.border-bottom {
    border-bottom: 1px solid #cccccc;
}
.text-end {
    text-align: right;
}

/*
 .card:not([class*=bg-]) .card-header {
     color: #0061f2;
 } */
.card-default .card-header {
    color: #0061f2;
}

.card .card-header {
    font-weight: 500;
}
.card-header-actions .card-header {
    height: 3.5625rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.5625rem;
    padding-bottom: 0.5625rem;
}

/*
  * From Session/Field toolbar edit
  */
.form-session {
    /* border: 0; */
}
.form-session:hover {
    background-color: #fffff0;
}
.session-actions {
    display: block;
}
.session-actions {
    position: relative;
    display: block;
    float: right;
    opacity: 0;
}
.form-session:hover .session-actions {
    opacity: 1;
}

.form-field {
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    border: 0.5px solid #ffffff;
}
td.form-field {
    border: 0.5px solid #dee2e6;
}
.form-field:hover {
    background-color: #f8f9fa;
    border: 0.5px dashed #cccccc;
}
.field-actions-floating {
    margin-top: -1rem !important;
}
.field-actions {
    display: block;
}
.field-actions {
    position: relative;
    display: block;
    float: left;
    opacity: 0;
    width: 100%;
}
.form-field:hover .field-actions {
    opacity: 1;
}

/*
  * Grupo
  */
.bs-callout {
    padding: 5px 20px;
    margin: 20px 0;
    border: 1px solid #eee;
    border-left-width: 5px;
    border-radius: 3px;
}
.bs-callout + .bs-callout {
    margin-top: -5px;
}
.bs-callout-info {
    border-left-color: #1b809e;
}
.bs-callout-title {
    font-weight: 700;
}
.bs-callout-subtitle {
    font-style: italic;
}

/* Formulários BioForm */

.obrigatorio {
    color: red;
}

.formulariobioform {
    width: 100%;
    display: flex;
    flex-flow: row wrap;
    margin: 0 -1rem 1rem -1rem;
}

/*// @TODO Usar no futuro?*/
/* label.labelcampobioform::after {
    content: ":";
} */

/** @TODO Renan - Tentar remover classes de conflito para retirar o important **/
label.bioform-legendaposteriorcampo {
    font-weight: normal !important;
}

.labelcampobioform {
    width: 100%;
    line-height: 1.5;
    color: #212529;
    text-align: left;
    font-weight: 700;
    font-family: "Source Sans Pro", -apple-system, BlinkMacSystemFont,
        "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif,
        "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

input[type="date"].campobioform {
    width: 120px !important;
}

input[type="text"].campobioform {
    //    width: 200px !important;
}

select.campobioform {
    width: 100%;
}

textarea.campobioform {
    width: 100%;
}

label.legendacheckbox {
    padding: 0px;
}

.campobioform {
    height: auto;
    width: 100%;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border-color: #ced4da;
    border-color: #495057;
    border: 0.5px solid #dee2e6;
    border-radius: 0.25rem;
    padding: 0.375rem 0.75rem;
    display: block;
}

.campobioform:disabled {
    background-color: #eee;
    border: 1px solid #ced4da;
}

.campobioform:focus {
    //    border-color: rgb(226, 103, 2);
    border: 0.5px solid;
}

.campobioform:hover {
    border: 0.5px solid;
    border-color: rgb(34, 123, 212);
}

.campobioform::placeholder {
    opacity: 0.6;
}

.select2-selection {
    width: 100%;
}

.grupo,
.form-field.grupo:hover {
    border-left-color: #1b809e;
    border-left-width: 4px;
    
}

fieldset.grupocampobioform {
    border: 1px solid silver;
    margin: 0 2px;
    padding: 0.35em 0.625em 0.75em;
}

fieldset.grupocampobioform3D {
    margin: 1rem;
    border-radius: 10px;
    background: #fff;
    border: none;
    border-radius: 2px;
    padding: 1rem;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
}

fieldset.grupocampobioform legend {
    color: #000000;
    background: #ffffff;
    padding: 5px 10px;
    font-size: 24px;
    /* border-radius: 5px;
    box-shadow: 0 0 0 1px #000000; */
    /* margin-left: 20px; */
}

.area-botoes-operacao {
    text-align: right;
    width: 100%;
    display: block;
    padding-top: 10px;
    padding-bottom: 10px;
}

.area-botoes-operacao-detalhe {
    text-align: right;
    width: 100%;
    display: block;
    padding: 10px;
}

.area-botoes-listagem {
    text-align: left;
    width: 100%;
    display: block;
    padding-top: 10px;
    padding-bottom: 10px;
}

.area-botoes-grupo {
    position: relative;
    display: block;
    float: right;
    opacity: 100%;
}

.soleitura {
    background-color: #eee;
    border: 1px solid #ced4da;
}

.erro {
    border-color: rgb(172, 21, 21);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.valido {
    border-color: #dee2e6;
    background-image: none;
}

.item {
    padding-top: 10px;
}

.inteiro {
}

.decimal {
}

.texto {
}

.textolongo {
    height: 4em;
}

.datanascimento {
}

.hora {
}

.ajuda {
    color: rgb(96, 99, 128);
}

.operacoescampoficha {
    display: block;
    width: 100%;
}

input[type="radio"].campoficha {
    zoom: 1.5 !important;
    margin: 0px !important;
    padding: 20px !important;
    display: inline-block !important;
    width: auto !important;
}

input[type="checkbox"].checkbox {
    zoom: 1.5 !important;
    display: inline-block !important;
    position: relative;
    width: auto !important;
    float: left;
    margin-left: -10px !important;
}

.campooculto {
    width: 0px !important;
    height: 0px !important;
    border: 0px !important;
    position: relative;
    z-index: -1;
}
/*  Css para select2 desabilitado */
.select2-container--default.select2-readonly .select2-selection--single {
    background-color: #e9ecef !important;
    border-color: #ced4da !important;
}

.select2-container--default.select2-readonly .select2-selection--single .select2-selection__arrow {
    opacity: .4; /* seta apagada */
}

.select2-container--default.select2-readonly .select2-selection--single .select2-selection__rendered {
    color: #6c757d !important; /* texto um pouco apagado */
}
/* fim Css para select2 desabilitado */

.select-readonly {
    pointer-events: none !important;
    background-color: #e9ecef !important;
}

/* Bootstrap – 576px, 768px, 992px, 1200px e 1400px */

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
    /* .campobioform {
        width: 200px;
    } */
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
    /* .campobioform {
        width: 300px;
    } */
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
    /* .campobioform {
        width: 400px;
    } */
}
