@import "../css/bootstrap/bootstrap-utilities.css";
@import "../css/select2/select2.min.css";

#mensageria {
  width: 350px;
}

@media (max-width: 768px) {
  #mensageria.dropdown-menu[data-bs-popper] {
    right: 0!important;
    left: auto;
    width: 320px;
  }
}

.bd-placeholder-img {
  font-size: 1.125rem;
  text-anchor: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

@media (min-width: 768px) {
  .bd-placeholder-img-lg {
    font-size: 3.5rem;
  }
}

body {
  font-size: 0.875rem;
}

.feather {
  width: 16px;
  height: 16px;
  vertical-align: text-bottom;
}

.navbar-brand {
  /*background-color: #20c997!important;*/
  /* background-color: #ebebeb !important; */
  background-color: transparent !important;
  box-shadow: none !important;
  color: #239e79 !important;
}

.bg-light-2 {
  background-color: #ebebeb !important;
}

.border-success-2 {
  border-color: #088d44 !important;
}

.bg-success-2 {
  background-color: #62b946 !important;
}

.btn-success-2 {
  background-color: #088d44 !important;
}

.btn-success-2:hover {
  background-color: #077c3c !important;
}

.header-nav {
  background: rgb(2, 0, 36);
  background: linear-gradient(
    90deg,
    rgba(2, 0, 36, 1) 0%,
    rgba(15, 68, 82, 1) 20%,
    rgba(138, 205, 107, 1) 100%
  );
}

.header-nav-dev  {
  background-color: #dc3545!important;
}

.bg-success-gd{
  background: rgb(2, 0, 36);
  background: linear-gradient(
    90deg,
    rgba(2, 0, 36, 1) 0%,
    rgba(15, 68, 82, 1) 20%,
    rgba(138, 205, 107, 1) 100%
  );
}

.bg-warning-gd {
  background: rgb(255, 193, 7);
  background: linear-gradient(
    90deg,
    rgba(255, 193, 7, 1) 0%,
    rgba(255, 205, 57, 1) 20%,
    rgba(255, 230, 156, 1) 100%
  );
}

.bg-danger-gd {
  background: rgb(220, 53, 69);
  background: linear-gradient(
    90deg,
    rgba(220, 53, 69, 1) 0%,
    rgba(254, 87, 103, 1) 20%,
    rgba(255, 158, 167, 1) 100%
  );
}

.text-success-2 {
  color: #8acd6b !important;
}

.text-petroleo {
  border-color: #00283b !important;
  /* color: #003149 !important; */
  color: #166389;
}

.text-dark-2 {
  color: #373a3d !important;
}

table.table.table-hover tbody tr {
  line-height: 35px;
}

/*
 * Sidebar
 */

.sidebar {
  position: fixed;
  top: 0;
  /* rtl:raw:
  right: 0;
  */
  bottom: 0;
  /* rtl:remove */
  left: 0;
  z-index: 100; /* Behind the navbar */
  padding: 48px 0 0; /* Height of navbar */
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, 0.1);
}

#sidebarMenu .badge {
  font-size: 1em;
}

#sidebarMenu .badge_version {
  font-size: 0.75em;
}

.badge {
  font-size: 0.85em;
}

.sidebar-sticky {
  position: relative;
  top: 0;
  height: calc(100vh - 48px);
  padding-top: 0.5rem;
  overflow-x: hidden;
  overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
}

.sidebar .nav-link {
  font-weight: 500;
  color: #6c757d;
}

.sidebar .nav-link .feather {
  margin-right: 4px;
  color: #727272;
}

.sidebar .nav-link.active {
  color: #2470dc;
}

.sidebar .nav-link:hover .feather,
.sidebar .nav-link.active .feather {
  color: inherit;
}

.sidebar-heading {
  font-size: 0.85rem;
  text-transform: uppercase;
}

/*
 * Navbar
 */

.navbar-brand {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  font-size: 1rem;
  background-color: rgba(0, 0, 0, 0.25);
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, 0.25);
}

.navbar .navbar-toggler {
  top: auto;
  /* left: 1rem; */
}

.navbar .form-control {
  padding: 0.75rem 1rem;
  border-width: 0;
  border-radius: 0;
}

.form-control-dark {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.1);
}

.form-control-dark:focus {
  border-color: transparent;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.25);
}

/*
 * Color Pallet
 */
.bd-teal-400 {
  background-color: #63b946;
}

.text-teal-400 {
  color: #63b946;
}

.bd-teal-500 {
  background-color: #048f48;
}

.text-teal-500 {
  color: #048f48;
}

.bd-teal-800 {
  background-color: #0d503c;
}

.text-teal-800 {
  color: #0d503c;
}

/*
 * Plugin select2
 */

#material_filtrar_select .select2-container,
#ordem_filtrar .select2-container,
#material_filtrar .select2-container,
#banco_editar .select2-container,
#banco_adicionar .select2-container,
#listatecnica_adicionarMaterial .select2-container,
#listatecnica_editarMaterial .select2-container,
#selecionarBancoParceiro .select2-container,
#parceiro_filtrar_select .select2-container {
  width: 100% !important;
}
.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple  {
  border: 1px solid #ced4da;
}

.select2-container--default.select2-container--focus .select2-selection--multiple {
  border: 1px solid #ced4da;
}


.select2-selection__rendered {
  padding-left: 0;
}

.select2-results__group {
  color: #c48f56;
}

.select2-results__option--selectable {
  color: #333;
}

.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple {
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  min-height: 2.5em;
}

.select2-container.select2-container--default.select2-container--open {
  z-index: 1061;
}

#producao
  #listatecnica_adicionarMaterial
  .select2-container--default
  .select2-selection--single,
#lista-tecnica
  #listatecnica_adicionarMaterial
  .select2-container--default
  .select2-selection--single,
#lista-tecnica
  #listatecnica_editarMaterial
  .select2-container--default
  .select2-selection--single,
#parceiro-editar
  #banco_adicionar
  .select2-container--default
  .select2-selection--single,
#compra
  #txt_parceiro
  .select2-container--default
  .select2-selection--single {
  height: calc(3.5rem + 2px);
}

#lista-tecnica #listatecnica_adicionarMaterial .select2-selection__rendered,
#parceiro-editar #banco_adicionar .select2-selection__rendered,
#compra #txt_parceiro .select2-selection__rendered {
  padding: 1rem 0;
}

.was-validated .custom-select:invalid + .select2 .select2-selection {
  border-color: #dc3545 !important;
}
.was-validated .custom-select:valid + .select2 .select2-selection {
  border-color: #28a745 !important;
}
*:focus {
  outline: 0px;
}


/* loader */
.loader-area {
  display: inline-block;
  width: 14px;
  height: 14px;
}
.loader-area.loader {
  vertical-align: baseline;
  border: 4px solid #f3f3f3; /* Light grey */
  border-top: 4px solid #3498db; /* Blue */
  border-radius: 50%;

  animation: spin 3s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.m-wm-200 {
  min-width: 200px;
}

.m-wm-150 {
  min-width: 150px;
}

.m-wm-100 {
  min-width: 100px;
}

.m-wm-50 {
  min-width: 50px;
}

.w50 {
    width:50px;
}

.w75 {
    width:75px!important;
}

.w100 {
    width:100px!important;
}

.w125 {
    width:125px!important;
}

.w150 {
    width:150px!important;
}

.mx-wmx-250 {
    max-width:250px!important;
}

@media (max-width: 768px){
  .sticky-top.menu {
    position: relative!important;
    z-index: inherit;
    top: auto!important;
    }
}

/* login */
.login-form {
  max-width:370px;
  height: 100%;
}

.login-form form {
  min-width: 320px;
  max-width: 380px;
}