:root {
  --open-sidebar: 250px;
  --mini-sidebar: 60px;
  --height-nav-item: 60px;
  --height-item: calc(var(--height-nav-item) - 20px);
}

body{
  background-color: var(--bg-color);
  font-family: 'Nunito', sans-serif;
  display: flex;  
  min-height: 100vh;
  font-size: 0.9rem;
}
main{
  padding: 1rem;
}
.bg-gradient{
  background: rgb(48,92,114);
  background: linear-gradient(135deg, rgba(48,92,114,1) 0%, rgba(42,149,188,1) 100%);
}
/* SCROLLBAR */
/* width */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
/* Track */
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 2px grey; 
  border-radius: 10px;
}
/* Handle */
::-webkit-scrollbar-thumb {
  background: var(--theme-primary); 
  border-radius: 10px;
}
/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: var(--theme-primary); 
}
.cursor-pointer{
  cursor: pointer;
}
.mr-2{
  margin-right: 1rem;
}
.logo-home img{
  width: 100%;
}
nav.sidebar, nav.sidebar{
  background-color: var(--primary-color);
  background: rgb(48,92,114);
  background: linear-gradient(135deg, rgba(48,92,114,1) 0%, rgba(42,149,188,1) 100%);
  color: var(--light-color);
  flex-wrap: inherit;
  height: 60px; 
  position: fixed;
  width: 100%; 
  bottom: 0;
  border-radius: 30px 30px 0 0;
  padding: 0px 5px;
  z-index: 999;
}
nav.sidebar-sm{
  width: 100%; 
}
.sidebar-itens
{
  display: flex;
  flex-direction: row;
  width: var(--mini-sidebar);  
  justify-content: space-around;
  width: 100%;
}

.sidebar-link
{
  display: flex;
  flex-direction: column;
  padding: 0;
  height: var(--height-item);
  align-self: flex-start;
  color: var(--light-color);
}

a.sidebar-link:hover {
  color: var(--light-color-hover);
}

.sidebar-icon
{
  width: var(--mini-sidebar);
  height: var(--height-item);
  display: flex;
  justify-content: center;
  align-items: center;
  align-content: center;
}

.sidebar-icon > img
{
  width: 35px;
}
.sidebar-title
{
  text-align: center;
  font-size: 0.8rem;
}
.sidebar-item.active > .sidebar-link
{
  color: var(--inverse-color);
}

  
/**
TITULOS DA PÁGINA */
.page-name
{
  margin: 2rem 0;
  font-size: 1.2rem;
  color: var(--primary-color);
}
#logo-header{
  width: 70%;
}
.sys-title
{
  display: none;
}
.sys-welcome{
  font-size: 1rem;
}



/**
CARD DOS PEDIDOS
*/
.page-order .card{
  margin-bottom: 2rem;
}

.order-status img{
  width: 60px;
}
.order-details
{
  text-align: center;
}





.btn-custom {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--light-color);
}
.border-custom {
  border-color: var(--primary-color);
}
.text-custom {
  color: var(--primary-color);
}

.text-muted {
  color: var(--primary-color);
  opacity: 50%;
}


.btn-secondary {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  color: var(--light-color);
}
.btn-custom:hover {
  color: var(--light-color-hover);
}

a{
  text-decoration: none;
  cursor: pointer;
  color: var(--primary-color);
}
a:hover{
  color: var(--secondary-color);
}


.card, textarea, select, input, .bg-light-color{
  background-color: var(--bg-light-color) !important;
}
.page-order
{
  overflow-y: auto;
  overflow-x: hidden;
}





.footer-pagination
{
  display: flex;
  flex-direction: column;
  text-align: center;
}





.timeline {
  display: block;
  position: relative;
}
.timeline .timeline-item {
  list-style: none;
  margin: auto;
  margin-left: 1rem;
  min-height: 50px;
  border-left: 1px dashed var(--primary-color);
  padding: 0 0 27px 27px;
  position: relative;
}
.timeline .timeline-item:last-child {
border-left: 0;
}
.timeline-icon {
  position: relative;
  margin-left: -46px;
  border: 0.2rem solid var(--primary-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--primary-color);
}

.timeline-icon > img{
  margin-top: 0.1rem;
}
.timeline-content{
  margin-top: -40px;
}
.font-size-page
{
  font-size: 0.7rem;
}

.d-mobile{
  display: block;
}
.d-desktop{
  display: none;
}
@media (min-width: 768px) { 
  .d-mobile{
    display: none;
  }
  .d-desktop{
    display: block;
  }
  main{
    padding: 2rem;
    height: 100vh;
    margin-left: var(--mini-sidebar);  
  }

  .logo-home img{
    width: 50%;
  }

  nav.sidebar, nav.sidebar{  
    position: fixed;
    height: 100vh;  
    border-radius: 0 30px 30px 0;
    padding: 20px 0px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    flex-direction: column;
    align-items: baseline;
  }

  .sidebar-itens
  {
    width: var(--mini-sidebar);  
    flex-direction: column;
  }

  
  .sidebar-icon > img
  {
    width: 40px;
  }
  .sidebar-item.active .sidebar-title
  {
    display: flex;
    font-size: 1rem;
  }
  nav.sidebar-sm{
    width: var(--mini-sidebar);
    overflow: hidden;
  } 
  

  .sidebar-itens > .sidebar-item
  {
    height: var(--height-nav-item);
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  nav.sidebar-full, nav.sidebar-sm:hover{
    width: var(--open-sidebar);
    transition: width 0.5s;
  }

  .sidebar-link
  {
    display: flex;
    flex-direction: row;
    padding: 0;
    height: var(--height-item);
    width: var(--open-sidebar);
    align-self: flex-start;
  }
  .sidebar-title{
    height: var(--height-item);
    width: calc(var(--open-sidebar) - var(--mini-sidebar));
    padding-left: 10px;
    display: flex;
    align-items: center;
  }
  .sidebar-item.active > .sidebar-link
  {
    border-radius: 30px 0 0 30px;
    color: var(--primary-color);
    background-color: var(--bg-color);
    margin-top: 0px;
    width: auto;
    height: 45px;
  }
  .table-orders div 
  {
    align-items: center;
  }

 
  /**
  TITULOS DA PÁGINA */
  .page-title h2{
    font-size: 1.6rem;
    margin-bottom: 0.1rem;
    font-weight: 300;
  }
  .page-title h5{
    font-size: 1.9rem;
    font-weight: 700;
  }
  #logo-header{
    width: 30%;
  }
  .sys-title
  {
    display: block;
  }
  .sys-welcome{
    font-size: 0.9rem;
  }

  .order-icon{
    width: 45px;
  }

  .footer-pagination
  {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
  }
}

/** sweet alert */
.swal2-icon {
  /* width: 3.8em !important;
  height: 3.8em !important; */
}
.swal2-title {
  font-size: 1.2em !important;
}

.swal2-content {
  font-size: 1em !important;
}
#pass::after{
  content: "Atente-se aos caracteres maiúsculos e símbolos";
  font-size: 0.8em !important;
}



