::after, ::before{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

a{
    text-decoration: none;
}

li{
    list-style: none;
}

body{
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    background-color: #e2e2e2;
}
.wrapper{
    display: flex;
}

#navBar{
    width: 100%;
    height: 5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #157a49;
}
#navBar h3{
    color: #fff;
    font-weight: bold;
}
#navBar .btn{
   color: #fff;
   font-size: 1.2rem;
}

#navBar button{
   color: #fff;
   font-size: 1.2rem;
}
#navBar #b{
    border-bottom: 2px solid #fff;
}
 #navBar .dropdown-item{
    color: #157a45;
    font-size: 15px;
}

#navBar h3 {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; /* Fonte moderna e limpa */
  font-weight: 700; /* Negrito */
  font-size: 2rem; /* Tamanho maior */
  color: #fff; /* Cor escura, elegante */
  align-items: center;
}

#navBar h3 span#b {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; /* Fonte moderna e limpa */
  color: #ff4d4d; /* Cor diferenciada para destaque */
  font-size: 2rem; /* Tamanho maior */
  font-weight: 700;
  
}

#navBar h3 small {
  color: #666; /* Cor sutil para o subelemento */
}

#navBar h3 small i {
  color: #fff; /* cor do ícone */
}
#div {
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* Alinha à esquerda */
  gap: 0; /* Remove espaço entre elementos */
  margin: 0;
  padding: 0;
}

/* Remove margens padrão dos elementos internos para garantir que não haja espaços */
#div h3,
#div span {
  margin: 0;
  padding: 0;
}

/* Opcional: ajustar o estilo do h3 se necessário */
#div h3 {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 2rem;
  color: #fff;
  display: flex;
  align-items: center;
}

/* Mantém o estilo do span dentro do #div */
#div span {
  margin-top: 0; /* Garante que não haja espaço extra */
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 1em;
  color: #fff;
}

.main{
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 5rem) ;
    min-width: 0;
    width: 100%;
    overflow: hidden;
    transition: all 0.35s ease-in-out;
    background-color: #e2e2e2;
}

#userInfo{
    display: block !important;
    width: 100% !important;
    background-color: #f9f9f9;
    color: #575757;
    border-left: 3px solid #157a49;

}
#userInfo small{
    color: #575757;
    font-size: 11px;
    margin-left: 2rem;
}

#sidebar{
    width: 70px;
    min-width: 70px;
    z-index:1000;
    transition: all .25s ease-in-out;
    background-color: #fff;
    display: flex;
    flex-direction: column;
}


#sidebar.expand{
    width: 260px;
    min-width: 260px;
}

#toggle-btn{
    background-color: transparent;
    cursor: pointer;
    border: 0;
    padding: 0rem 1rem;
}

#toggle-btn i {
    font-size: 1rem;
    color: #157a49;
}

#sidebar:not(.expand) .sidebar-logo,
#sidebar:not(.expand) a.sidebar-link span{
    display: none;
}

#sidebar .expand .sidebar-logo,
#sidebar .expand a.sidebar-link span{
   animation: fadeIn .25s ease;
}

#logoCenter{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

@keyframes fadeIn{
    0%{
        opacity: 0;
    }

    100%{
        opacity: 1;
    }
}



.sidebar-nav{
    padding: 2rem 0;
    flex: 1 1 auto;
}

a.sidebar-link{
    padding: .625rem 1.625rem;
    color: #000;
    display: block;
    font-size: 0.9rem;
    font-weight: bold;
    white-space: nowrap;
    border-left: 3px solid transparent;
    text-decoration: none;
}

.sidebar-link i,
.dropdown-item i{
    font-size: 1.1rem;
    margin-right: .75rem;
}

a.sidebar-link:hover{
      background-color: rgb(236, 235, 235);

    border-left: 6px solid #157a49;
}
#active{
      background-color: rgb(236, 235, 235);

    border-left: 6px solid #157a49;
}
.sidebar-item{
    position: relative;
}

.bg-success{
      background-color: 1px solid #157a49 !important;
      color: #ffff;
}


#sidebar:not(.expand) .sidebar-item .sidebar-dropdown {
    position: absolute;
    top: 0;
    left: 70px;
    background-color: #fff ;
    border-top: 1px solid #157a49 ;
    border-radius: 5px ;
    padding: 0;
    min-width: 15rem;
    display: none;
}

#sidebar:not(.expand) .sidebar-item:hover .has-dropdown+.sidebar-dropdown {
    display: block;
    max-height: 15em;
    width: 100%;
    opacity: 1;
    border-radius: 5px ;

}

#sidebar.expand .sidebar-link[data-bs-toggle="collapse"]::after {
    border: solid;
    border-width: 0 .075rem .075rem 0;
    content: "";
    display: inline-block;
    padding: 2px;
    position: absolute;
    right: 1.5rem;
    top: 1.4rem;
    transform: rotate(-135deg);
    transition: all .2s ease-out;
}

#sidebar.expand .sidebar-link[data-bs-toggle="collapse"].collapsed::after {
    transform: rotate(45deg);
    transition: all .2s ease-out;
}
.navbar{
    background-color:#fff
}

.navbar-expand .navbar-collapse{
    min-width: 200px;

}

.avatar{
    height: 40px;
    width: 40px;
}

aside .sidebar-dropdown li a{
    font-size: .8rem;
}
aside .sidebar-dropdown li i{
    font-size: .8rem;
    margin-left: 2rem;
}
nav{
   border-bottom: 1px solid #157a49 !important;
   box-shadow: rgba(14, 30, 37, 0.12) 0px 2px 4px 0px, rgba(14, 30, 37, 0.32) 0px 2px 16px 0px;
}

#mainCard .card{
    transition: .4s;
    cursor: pointer;
    margin-bottom: 1rem;
   box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    border-radius: 10px;
    border: 0;
    padding: 1.5rem 0 1.5rem ;
}
#mainCard .card i{
    font-size: 2.3rem;
    color: #157a45;

}
#mainCard .card h5{
    color: #157a45;
    font-size: 1.2rem;
    font-weight: bold;
}
#mainCard .card span{
    color: #157a45;
    font-size: 1rem;
    font-weight: bold;
}

#v1{
    border-left:8px solid #157a49 !important;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}
#v2{
    border-left:8px solid #157a49 !important;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}
#v3{
    
    border-left:8px solid #157a49 !important;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}


#v4{
    border-left:8px solid #157a49 !important;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}
#v5{
    border-left:8px solid #157a49 !important;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}
#v6{
    border-left:8px solid #157a49 !important;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}


/* Estilo básico para a tabela */
.tbs {
    background-color: #157a49 !important;
    font-weight: bold;
    color: #fff !important;
}
#tbs {
    background-color: #157a49 !important;
    font-weight: bold;
    color: #fff !important;
}

.content{
    flex: 1 1 auto;
}

footer{
    background-color: #f6f6f6;
    padding: 1rem .875rem;
}
footer a{
   text-decoration: none;
}
.btn.btn-primary{
    border-radius: 0 !important ;
    padding: 1px 13px 1px 13px !important;
    background-color: #157a49 !important;
    border:0;
}
.btn.btn-primary:focus{
    border-radius: 0 !important ;
    padding: 1px 13px 1px 13px !important;
    background-color: #157a49 !important;
    border:0;
}


.btn.btn-danger{
    border-radius: 0 !important ;
    padding: 1px 13px 1px 13px !important;
    background-color: #ff2e2e !important;
    border:0;
}
.btn.btn-danger:focus{
    border-radius: 0 !important ;
    padding: 1px 13px 1px 13px !important;
    background-color: #ff2e2e !important;
    border:0;
}
.btn.btn-secondary{
    border-radius: 0 !important ;
    padding: 1px 13px 1px 13px !important;
    background-color: #a3a3a3 !important;
    border:0;
}
.btn.btn-secondary:focus{
    border-radius: 0 !important ;
    padding: 1px 13px 1px 13px !important;
    background-color: #a3a3a3 !important;
    border:0;
}

.card{
    padding: .5rem .5rem .5rem .5rem;
    margin-bottom: 1rem;
}
.btn.btn-outline-success{
    color: #157a49 !important;
    border-radius: 0 !important;
    background-color: rgb(255, 255, 255) !important;
    border: 0;
    font-weight: bold;
}
.btn.btn-outline-success:hover{
    color: #157a49 !important;
    border-radius: 0 !important;
    background-color: rgb(255, 255, 255) !important;
    border: 0;
    font-weight: bold;
}
.btn.btn-outline-success:focus{
    color: #000 !important;
    border-radius: 0 !important;
    background-color: rgb(214, 214, 214) !important;
    border: 0;
    font-weight: bold;
}


/*RESPONSIVO*/

/* Estilo para a navegação de abas */

.nav-tabs .nav-link {
  color: #555; /* Cor do texto das abas */
  background-color: #f8f9fa; /* Cor de fundo das abas */
  border: 1px solid transparent; /* Borda transparente inicialmente */
  border-top-left-radius: 0.25rem;
  border-top-right-radius: 0.25rem;
  margin-bottom: 1px; /* Para que as abas fiquem conectadas ao conteúdo */
  transition: all 0.3s ease; /* Transição suave para hover */
  margin-top: 2rem;
}

.nav-tabs .nav-link:hover {
  color: #ff9901; /* Cor do texto ao passar o mouse */
  border-color: #dee2e6 #dee2e6 #fff; /* Borda ao passar o mouse */
  background-color: #e9ecef; /* Fundo ao passar o mouse */
}

.nav-tabs .nav-link.active {
  color: #fff !important; /* Cor do texto ativo */
  background-color: #157a49 !important; /* Fundo ativo */
  border-color: #dee2e6 #dee2e6 #fff; /* Borda do aba ativo */
  border-bottom-color: #ff9901 !important; /* Remove a borda inferior para que pareça uma aba ativa */
  font-weight: bold; /* Texto em negrito para a aba ativa */
}

#produtoBag{
    background-color: #2a8056;
    border-radius: .5rem;
    padding:.3rem 0;
    cursor: pointer;
}
#produtoBag a{
    width: 100%;
}
#produtoBag b{
    color: #ffffff !important;
}
#produtoBag i{
    color: #ff9901 !important;
    font-size: 2rem;
}

#buscas2s{
    height: 30rem;
    overflow: auto;
}
/* Oculta a barra de rolagem em navegadores WebKit */
#buscas2s::-webkit-scrollbar {
    display: none; /* Para Chrome, Safari e outros baseados em WebKit */
}

/* Oculta a barra de rolagem em outros navegadores */
#buscas2s {
    scrollbar-width: none; /* Para Firefox */
}


/*INPUT AND select*/


/* Personalização do input Bootstrap */
.form-control {
  background-color: #f3f3f4 !important;
  border: 1px solid #dfdfdf !important;
  font-size: 16px;
  color: #004d40;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.form-control:focus {
  border: 1px solid #157a49 !important;
}
.form-select {
  background-color: #f3f3f4 !important;
  border: 1px solid #dfdfdf !important;
  font-size: 16px;
  color: #004d40;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.form-select:focus {
  border: 1px solid #157a49 !important;
}

/* Placeholder */
::placeholder {
  color: #999;
  font-style: italic;
}

#alertmessage{
    border-left: .2rem solid #157a49;
    padding: 0;
    display:inline-block;
    padding-left: .9rem;
    background-color: #f2f2f2;
    width: 100%;
    margin-top: 1rem;
    border-top-left-radius: .5rem;
    border-bottom-left-radius: .5rem;
}
#alertmessage1{
    border-left: .2rem solid #ff6201;
    padding: 0;
    display:inline-block;
    padding-left: .9rem;
    background-color: #f2f2f2;
    width: 100%;
    margin-top: 1rem;
    border-top-left-radius: .5rem;
    border-bottom-left-radius: .5rem;
}

#alertmessage2{
    border-left: .2rem solid #ff0101;
    padding: 0;
    display:inline-block;
    padding-left: .9rem;
    background-color: #f2f2f2;
    width: 100%;
    margin-top: 1rem;
    border-top-left-radius: .5rem;
    border-bottom-left-radius: .5rem;
}
#titulomsg{
    color: #157a49;
    font-weight: 800;
}

#titulomsg1{
    color: #ff6201;
    font-weight: 800;
}
#titulomsg2{
    color: #ff0101;
    font-weight: 800;
}