/* Sticky heder styles
-------------------------------------------------- */
html {
    font-size: 14px;
}


html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

@media (min-width: 576px) {
    .container {
        max-width: 95% !important;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 95% !important;
    }
}

/*.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}*/


.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

a[disabled] {
    pointer-events: none !important;
    cursor: default !important;
    opacity: 0.5 !important;
    text-decoration: none !important;
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

.col-form-label-sm {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    /* Set the fixed height of the footer here */
    height: 60px;
    line-height: 60px; /* Vertically center the text there */
}


/* Formatação Menu
-------------------------------------------------- */

/*.nav-pills .nav-item.dropdown > .nav-link {
    color: #fff !important;
    background-color: #dc3545 !important;
    border-color: #dc3545;
}*/

/*a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}*/

/*.navbar-nav .nav-link i {
    width: 25px;
    text-align: center;
}*/

/*.navbar-nav li:hover > ul.dropdown-menu {
    display: block;
}*/

/*.dropdown-menu {*/
    /*padding: 0.5rem 0 !important;*/
    /*margin: 0 !important;
}*/

/*.dropdown-submenu {
    position: relative;
}*/

/*    .dropdown-submenu > .dropdown-menu {
        top: 0;
        left: 100%;
        margin-top: -6px;
    }*/

/*.dropdown-item {
    padding: 0rem 1.5rem !important;
}*/

/* rotate caret on hover */
/*.dropdown-menu > li > a:hover:after {
    text-decoration: underline;
    transform: rotate(-90deg);
}*/

/*.dropdown-item {
    padding: 0rem 1.5rem !important;
}*/

.dropdown-submenu .dropdown-menu  {
    border: none;
}

.dropdown-submenu .dropdown-menu .dropdown-item {
    padding-left: 2rem;
}


/* Formatação das tabelas 
-------------------------------------------------- */

table.dataTable td, table.dataTable th,
table.dataTable td, table.dataTable th {
    padding: .25rem;
}

table.dataTable thead .sorting:before, table.dataTable thead .sorting:after,
table.dataTable thead .sorting_asc:before, table.dataTable thead .sorting_asc:after,
table.dataTable thead .sorting_desc:before, table.dataTable thead .sorting_desc:after,
table.dataTable thead .sorting_asc_disabled:before, table.dataTable thead .sorting_asc_disabled:after,
table.dataTable thead .sorting_desc_disabled:before, table.dataTable thead .sorting_desc_disabled:after {
    bottom: 0.2em !important;
}

table.dataTable .nav-link {
    padding: 0.02em 0.35em !important;
}

table.dataTable tbody tr {
    vertical-align: middle;
}

table.dataTable tbody tr.selected a, table.dataTable tbody th.selected a, table.dataTable tbody td.selected a {
    color: #212529 !important;
}

table.dataTable tbody tr td a:not(.dropdown-item) {
    padding: 0 4px !important;
    margin: 0 2px !important;
    vertical-align: bottom !important;
}

/* Personalizado form*/
div .card-body {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    padding-top: 0.25rem;
    padding-bottom: 0.5rem;
}

    div .card-body .form-group {
        margin-bottom: 0.05rem;
    }

/* Personalizado form validated */

.form-control:read-only {
    background-color: #e9ecef !important;
    opacity: 1;
}

.form-check-input.is-invalid ~ .form-check-label, .was-validated .form-check-input:invalid ~ .form-check-label {
    color: #dc3545 !important;
}

.form-check-input.is-valid ~ .form-check-label, .was-validated .form-check-input:valid ~ .form-check-label {
    color: #28a745;
}

.form-control.is-invalid, .was-validated .form-control:invalid {
    background-image: none !important;
    padding-right: 0.5rem !important;
}

.form-control:not(textarea).is-invalid, .was-validated .form-control:not(textarea):invalid {
    border-bottom: 1px solid #dc3545 !important;
}

.form-control.is-valid, .was-validated .form-control:valid {
    background-image: none !important;
    padding-right: 0.5rem !important;
}

.form-control:not(textarea).is-valid, .was-validated .form-control:not(textarea):valid {
    border-bottom: 1px solid #28a745 !important;
}

.was-validated .form-select:valid:not([multiple]):not([size]),
.was-validated .form-select:valid:not([multiple])[size="1"],
.form-select.is-valid:not([multiple]):not([size]),
.form-select.is-valid:not([multiple])[size="1"] {
    --bs-form-select-bg-icon: none !important;
}

.was-validated .form-select:invalid:not([multiple]):not([size]),
.was-validated .form-select:invalid:not([multiple])[size="1"],
.form-select.is-invalid:not([multiple]):not([size]),
.form-select.is-invalid:not([multiple])[size="1"] {
    --bs-form-select-bg-icon: none !important;
}

.form-check-border-custon {
    background-color: var(--bs-tertiary-bg);
    border: var(--bs-border-width) solid var(--bs-border-color);
    border-radius: var(--bs-border-radius);
    padding-top: 2px;
}

fieldset {
    border: solid 1px #DDD !important;
    border-radius: 0.25rem;
    padding: 0 .4em .2em .4em !important;
}

    fieldset legend {
        width: auto !important;
        float: none !important;
        font-size: .9em !important;
        font-weight: bold !important;
        padding: 0 .4em !important;
        margin: 0;
    }

/*.modal .modal-header {
    padding-bottom: 0.5rem !important;
    padding-top: 0.5rem !important;
}

.modal .modal-body {
    padding-bottom: 0.25rem !important;
    padding-top: 0.25rem !important;
}*/

/* Formatação das select2 
-------------------------------------------------- */

/*.select2 .select2-container .select2-container--bootstrap-5 {*/
.select2-container {
    width: 1% !important;
}
