/* --------------------- */
/*       Body CSS        */
/* --------------------- */  

html, body {
    padding-bottom: 0rem;
    background-image: url('../imgs/telaFundo.webp');
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;

    background-size: cover;
    background-repeat: no-repeat;
    background-position: bottom;
    background-attachment: fixed;
}

body {
    font-family: "Nunito SemiBold";
    font-size: 0.83rem;
}

.bg-dark {
    background-color: #1d2024 !important;
}

.h1 { font-weight: 500 bold; }

.svg-inline--fa {
    color:black; 
    cursor: pointer;
    font-size: medium;
    vertical-align: middle;
    width: 1.1rem;
}

.fa-search-dollar {
    margin-right: .17rem;
}

i { line-height: 1.5rem; } 

.container-fluid {
    padding-top: 0.70rem;
    padding-bottom: 2rem;
}


/* --------------------- */
/*      Botões CSS       */
/* --------------------- */  
.btn-light {
    padding-top: .2rem;
    padding-left: .5rem;
    
    border-color: #ced4da;
    --bs-btn-bg: #e9ecef;
}

.btn-secondary {
    line-height: 1rem;
    font-weight: bolder;
    width: 85px;
    color: white;
    background-color: black;
}

.btn-cabec {
    height: 27px;
    padding-right: 0.5rem; 
    padding-left:  0.5rem;
    padding-top:    0.15rem;
    padding-bottom: 0.15rem;
}

.linhaMestra {
    font-size: 1.02rem;
    padding-top: 0.3rem; 
    color:black;
    font-weight: bold;
}



/* --------------------- */
/*   Form Control CSS    */
/* --------------------- */  
.col-form-label{
    padding-top   : 0.40rem;
    padding-bottom: 0.10rem;
    font-weight: bold;
}

.row {
    margin-left:  0px;
    margin-right: 0px;
}

.row > * {
    padding-left: 5px;
    padding-right: 5px;
}


.form-control:disabled, .form-control[readonly] {
    background-color: #e9ecef;
    opacity: 1;
}

.form-control {
    height: 30px;  
    padding-left: 0.45rem;
    padding-right:0.45rem;
    font-weight: bold;
    font-size: 0.84rem;
    color: black;
    border-radius: 0.25rem;
}   

.search {
    height: 30px;  
    font-size: 0.91rem;
}

.form-control:focus {
    border-color: #383636;
    box-shadow: 0 0px 3px black;
}

.form-select:focus {
    border-color: #383636;
    box-shadow: 0 0px 3px black;
}

.form-group {
    margin-bottom: 0.3rem;  
}   

.table > thead {
    background-color: #1d2024 !important;
    position: sticky;
    top: 0;
}


.table-responsive {
    max-height: 75vh;
    overflow: auto;
}

.table {
    background-color: rgb(252, 245, 237);
    --bs-table-bg: none;
}
  

.table td {
    font-family: "Nunito SemiBold";
    vertical-align: middle;
    font-size: 0.88rem;
    line-height: 1.1rem;
    padding: 0.28rem;
}

.table-crud td {
    padding: 0.15rem;
}

.table-pesq td {
    padding: 0.1rem;
    line-height: 1.4rem;
}

.table th {
    background-color: #1d2024 !important;
    color: white;
    font-weight: normal;
    position: sticky;
    top:0; 
    line-height: 23px;
}



/* --------------------- */
/*        Notify         */
/* --------------------- */  
.font-medium {
    font-weight: 800;
}

.bg-gray-800 {
    --tw-bg-opacity: 1;
    background-color: rgba(29, 32, 36, var(--tw-bg-opacity));
}

.text-base {
    font-size: 1.2rem;
    font-weight: bold;
    line-height: 1.5rem
}

.text-sm {
    font-size: .875rem;
    line-height: 1.25rem;
    font-weight: bold;
}

.capitalize {
    text-transform: none;
}

.sm\:items-start {
    align-items: flex-end;
}


/* --------------------- */
/*      Links CSS        */
/* --------------------- */  
a {
    color: black;
    vertical-align: middle;
    font-size: 1.0rem;
    padding-bottom: 0.10rem;
}

a:hover {
    color: #76767e;
}


.linktd {
    color: white;
    vertical-align: middle;
    font-family: "Nunito SemiBold";
    font-size: 0.88rem;
    text-decoration: none;
}


.slideWhite{
    line-height: 27x; 
    height: 27px;  
    padding-top: 0.1rem; 
    color:white;
    vertical-align: middle;
    font-weight: bolder;
    font-size: 0.87rem;
}




/* --------------- */
/*   Inputs CSS    */
/* --------------- */  

input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
    -webkit-appearance: none; 
    margin: 0; 
}

input[type="number"] { 
    text-align: right; 
}

input[type="checkbox"] { 
    padding-top: 0.15rem; 
    background-color: black;
}

.form-select {
    height: 30px;
    padding-left: 0.45rem;
    font-weight: bold;
    font-size: 0.84rem;
    color: black;

    background-position: right 0.3rem center; 
    padding-top: 0.25rem !important;
    border-radius: 0.25rem;
}

.form-select[readonly]{
    background-color: #e9ecef;
}

.form-select-th {
    height: 25px;
    font-weight: bold;
    font-size: 0.8rem;
    padding-top: 0.1rem !important;
}

select[readonly] {
    pointer-events: none;
    touch-action: none;
}

select,
option {
    font-weight: bold;
    line-height: 0.8rem; 
}


.inputrow {
    line-height: 1rem; 
    height: 24px; 
    color:black;    
    font-size: 0.81rem;
    padding-top: 0.5rem;
}   

.selectrow {
    line-height: 1rem; 
    height: 25px; 
    color:black;    
    font-size: 0.81rem;
    padding-top: 0.10rem !important;
}   

.input-group-sm>.custom-select, 
.input-group-sm>.form-control:not(textarea) {
    line-height: 25px;
    height: 25px; 
    color:black;    
    font-weight: bold;
    font-size: 0.84rem;
    padding-top: 0.1rem;
}   

.input-group>.form-select:not(:first-child), 
.input-group>.form-control:not(:first-child) {
    border-top-left-radius: 0.25rem !important;
    border-bottom-left-radius: 0.25rem !important;
}

.input-group>.form-control {
    border-top-left-radius: 0.25rem;
    border-bottom-left-radius: 0.25rem;
}

.form-check {
    margin-bottom: 0rem;
}

.form-check-label {
    padding-top: 0.1rem;
}





/* --------------- */
/*   Modal  CSS    */
/* --------------- */  
.modal-header {
    height: 45px;    
    padding-left: 2rem;
    padding-right: 2rem;
}

.modal-body {
    padding-top: 0.5rem; 
    padding-bottom: 0.7rem; 
    padding-right: 2rem; 
    padding-left:  2rem; 
    overflow: auto;
}
.modal-footer {
    height: 45px;
    padding-right: 2rem;
    padding-top: 0.3rem; 
}

.modal-dialog-centered {
    min-height: calc(100% - 3.5rem);
}

/* --------------- */
/*   NavBar CSS    */
/* --------------- */
.navbar-brand,
.navbar-nav li a {
    height: 31px;
    padding-top: 0.3rem;
    font-size: 0.91rem;
}        

.navbar-expand-lg,
.navbar-light,
.bg-light {
    padding-top   : 0.5rem;
    padding-bottom: 0.4rem;
    padding-left:  1.5rem;
    padding-right: 1rem;
}

.navbar-dark .navbar-nav .active {
  color: #fff;
  --bs-nav-link-color: white;
}

.navbar-nav,
.input-group {
    padding-right: 0.1rem;
}

.dropdown-menu {
    font-size: 0.9rem;
}

.dropdown 
.dropdown-menu 
.dropdown-item:active, 
.dropdown .dropdown-menu 
.dropdown-item:hover {
    background-color:white !important;
}

.dropdown-menu{
    background-color:  #1d2024 !important; 
}

.dropdown-item{
    background-color:  #1d2024 !important; 
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    color: white;
}

.dropdown-divider {
    height: 1px;
    width:100%;
    display:block; /* for use on default inline elements like span */
    margin: 9px 0;
    overflow: hidden;
    background-color: black;
 }

 

/* --------------- */
/*   Footer CSS    */
/* --------------- */
footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    line-height: 1.5rem;
}

.linhaFooter {
    font-size: 0.85rem;
    padding-top: 0; 
    color:white;
    font-weight: bold;
    text-align: right;
    padding-right: 3rem;
}

.copyright{
    float: left;
    font-size: 12px;
    line-height: 15px;
    color: rgba(255, 255, 255, 0.6);
    width: 50%;
    padding: 10px 0 14px;
    padding-top: 1rem;
}


/* --------------- */
/*      Cards      */
/* --------------- */
.card {
    margin: 0 auto; /* Added */
    float: none; /* Added */
    margin-bottom: 10px; /* Added */
}

.card-header {
    font-size: 1rem;
    padding-top: 0.7rem; 
    padding-bottom: 0.5rem; 
    
    background-color: black;
    color:white;
    font-weight: bold;
}

.card-footer {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}    


/* --------------- */
/*    Paginação    */
/* --------------- */
.pagination {
    margin-bottom: 0px;
    height: 25px;
}

.page-item.disabled .page-link,
.page-link {
  color: white;
  background-color: #1d2024;
  border-color: white;
}

.page-item.active .page-link {
    color: black;
    background-color: white;
    border-color: white;
}

.page-link:hover {
  color: #1d2024;
  background-color: white;
  border-color: white;
}



/* ----------------------- */
/*    PopOver & Spinner    */
/* ----------------------- */

.popover {
    max-width: 376px;
    font-size: 0.8rem;
    font-weight: bold;
}

.popover-header {
    font-size: 0.9rem;
    background-color: #1d2024;
    color: white;
    font-weight: bold;
}
  
.spinner-border {
    height: 2.5rem;
    width: 2.5rem;
}

#spinner-div, #spinner-modal {
    position: fixed;
    z-index: 100;
    height: 100%;
    width: 100%;
    top: 0;
    display: none;
    background: rgba(0,0,0,0.4);
}

.offcanvas.offcanvas-end {
    top: 2.8rem;
    bottom: 2.45rem;
    width: 576px;
    height: fit-content;
    background-color: #f8fafc !important;
    --bs-offcanvas-padding-x: 2rem;
}

.offcanvas-vendas {
    width: 776px !important;
    height: 100% !important;
}

.offcanvas-anuncio {
    width: 500px !important;
    height: 100% !important;
}

.offcanvas-body {
    padding-top: inherit;
    padding-right: 1.7rem;
    padding-left: 1.7rem; 
    padding-bottom: 1rem; 
}

.offcanvas-header {
    padding-top: .7rem;
    padding-bottom: .5rem;
}

.imagemAnuncio {
    height: 300px;
    object-fit: contain;
}

textarea.form-control {
    min-height: 22vh;
}
