@import url('./variaveis-de-estilo.scss');

* {
  box-sizing: border-box !important;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  margin: 0;
  padding: 0;
}

// ::ng-deep .content-wrapper {
//   background-color: green;
// }

:focus {
  outline: 2px solid $amarelo !important;
}

abbr[title] {
  background-color: $azul-mais-claro;
  width: 100px;
}

/* SELECT */

select {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  -ms-appearance: none !important;
  -o-appearance: none !important;
  appearance: none !important;
  border: 0 !important;
  background-color: transparent;
  margin: 0 !important;
  padding: 6px 10px;
  width: fit-content;
}

.novo-select {
  position: relative;
  width: fit-content;
  height: fit-content;
  margin: 0;
  padding: 0 !important;
  border: 1px solid $cinza;
  border-radius: 4px;
}

.novo-select i {
  position: absolute;
  font-size: 12px;
  right: 10px;
  top: 9px;
  color: $cinza-escuro;
  pointer-events: none;
}

.novo-select select {
  padding-right: 30px;
}

select:disabled {
  background-color: $cinza;
}

.input-texto {
  padding-right: 10px;
  padding-left: 10px;
  height: 30px;
  width: fit-content;
  border: 1px solid $cinza;
  border-radius: 4px;
  font-size: 14px;
  color: $cinza-mais-escuro;
}

.input-texto::placeholder {
  color: $cinza;
}

.input-grande {
  width: 100%;
}

/***********/

.md-icon {
  background-image: url('assets/img/logo-md.png');
}

.apolo-icon {
  background-image: url('assets/img/apolo-small.png');
}

// @media (min-width: 1200px) {
//   .container, .container-lg, .container-md, .container-sm, .container-xl {
//       max-width: 1200px !important;
//   }
// }

.box-shadow{
  box-shadow: 0 2px 4px rgba($color: #000000, $alpha: 0.25);
}


.user-panel {
  min-height: 45px;
}

.main-header .sidebar-toggle {
  padding: 0 !important;
}

.main-footer a {
  color: #343a40;
}

.page-item.active .page-link {
  background-color: $azul !important;
}

.required {
  color: $vermelho;
}

.border-radius-18{
  border-radius:18px;
}

.clickable{
  cursor: pointer;
}

.button {
  padding: 10px 15px;
  border-radius: 4px;
  background-color: $azul;
  color: $cinza-claro;
  border: 1px solid $azul;
  span {
    margin-left: 10px;
    font-family: Arial;
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 16px;
  }
}

.button:hover {
  background: $azul-mais-claro;
  color: $azul;
  border: 1px solid $azul;
  box-sizing: border-box;
}

.filter-box {
  width: 270px;
  height: 30px;
}
.table-row{
  height: 30px;
  border: none;
  td {
    padding: 0.4%;
    font-family: Arial;
    font-style: normal;
    font-weight: normal;
    font-size: 12px;
    line-height: 14px;
    color: #474747;
    border: none !important;
  }

  td:not(:last-child) {
    border-right: 1px solid $azul-claro;
    box-sizing: border-box;
  }
}
.table {
  border: 1px solid $cinza;
  box-sizing: border-box;
  border-radius: 4px;
  .table-header {
    background: $cinza-claro;
    font-family: Arial;
    font-style: normal;
    font-weight: bold;
    font-size: 12px;
    line-height: 14px;
    color: $cinza-escuro;
    th:not(:last-child) {
      border-right: 1px solid $azul-claro;
      box-sizing: border-box;
    }
  };

  tbody tr:nth-child(2n + 1) {
    background: $azul-mais-claro;
  };

  tbody tr:nth-child(2n + 1).item-selected{
    z-index: 10;
    border: 1px solid $azul;
    box-sizing: border-box;
  }
  tbody {
    padding-top: 4px;
    border: 2px solid #ccc;
  }

  tbody tr:hover {
    background: $azul-claro;
    color: $preto;
  };
}

.item-selected {
  z-index: 10;
  border: 1px solid $azul;
  box-sizing: border-box;
};

.sort-icon {
  width: 12px;
  height: 12px;
  float: right;
  color: $cinza-escuro;
}


.button-group {
  height: 24px;
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.button-edit {
  margin: 3px;
  height: 18px;
  width: 18px;
  border: 1px solid $branco;
  background-color: $amarelo;

  .icon {
    margin: -4px;
    font-size: 12px;
    color: $branco;
  }
}

.button-edit:hover {
  border: 1px solid $amarelo;
  background-color: $branco;
  .icon {
    color: $amarelo;
  }
}

.button-detail {
  margin: 3px;
  height: 18px;
  width: 18px;
  border: 1px solid $branco;
  background-color: $azul;

  .icon {
    margin: -1px -8px -8px -8px;
    font-size: 18px;
    color: $branco;
  }
}

.button-detail:hover {
  border: 1px solid $azul;
  background-color: $branco;

  .icon {
    color: $azul;
  }
}

.button-delete {
  margin: 3px;
  height: 18px;
  width: 18px;
  border: 1px solid $branco;
  background-color: $vermelho-escuro;

  .icon {
    margin: -1px -9px -8px -8px;
    font-size: 18px;
    color: $branco;
  }
}

.button-delete:hover {
  border: 1px solid $vermelho-escuro;
  background-color: $branco;

  .icon {
    color: $vermelho-escuro;
  }

  .icon-database {
    color: $azul;
    padding: 10px;
  }
}

ngb-panel {
  color:$vermelho-escuro;
  background-color: $azul;
}

.centralize{
  display: flex;
  justify-content: center;
  margin-top: 5px;
  .button {
    padding: 8px;
  }
}

.card {
  color: $azul;
}

.title-header {
  display: flex;
  margin-bottom: 20px;
  // flex-direction: column;
  align-items: flex-start;
  padding: 0px;
  i {
    color: $azul;
    width: 11,94px;
    height: 16px;
  }
  h3, p {
    padding-left: 15px;
    font-family: Arial;
    font-style: normal;
    font-weight: bold;
    font-size: 14px;
    color: $cinza-escuro;
    margin-bottom: 0;
  }
}

.align-center{
  text-align: center;
}

::ng-deep .nav-link {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  padding: 10px 20px;
  height: 36px;
  background: #969696;
  border: 1px solid $cinza;
  box-sizing: border-box;
  border-radius: 0px 4px 0px 0px;
  font-family: Arial;
  font-style: normal;
  font-weight: normal;
  font-size: 14px;
  line-height: 16px;
  text-align: center;
  color: $branco;
}

::ng-deep .nav-item .nav-link:hover {
  color: $cinza;
  background-color: $cinza-escuro;
  border-color: $cinza $cinza $branco;

}

.nav-tabs .nav-item {
  border: 1px solid $branco;
}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
  color: $cinza-escuro;
  background-color: #dee2e6;
  border-color: #dee2e6 #dee2e6 $branco;
}

.title-box {
  font-family: Arial;
  font-style: normal;
  font-weight: bold;
  font-size: 14px;
  line-height: 16px;
  color: $cinza-escuro;
  height: 2em;
  background-color: $azul;
  padding-top: 0.6em;
  padding-left: 0.6em;
  padding-bottom: 0.6em;
  border-bottom: 0.1em solid $branco;
  h3 {
    font-size: 18px;
    margin-top: -5px;
  }
}

.border-line {
  width: 100%;
  height: 1px;
  border-top: 1px solid $cinza;
}

.bg-color-white{
  background-color: $branco;
}

.s-box {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  padding: 0 10px;
  width: 100%;
  background: $branco;
  border: 1px solid $cinza;
  border-radius: 15px;

  .fa {
    padding: 7px 10px 7px 5px;
    color: $cinza-escuro;
  }

  input {
    font-size: 14px;
    align-self: center;
    border: none;
    width: 100%;
  }
}

.div-field {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 15px 0px 5px;
  label {
    font-family: Arial;
    font-style: normal;
    font-weight: bold;
    font-size: 12px;
    line-height: 14px;
    color: #474747
  }

  input {
    width: 250px;
    height: 36px;
    background: $branco;
    border: 1px solid $cinza;
    box-sizing: border-box;
    border-radius: 4px;
    font-family: Arial;
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 16px;
    color: #474747;
  }

  select {
    height: 30px;
    width: 250px;
    background: $branco;
    border: 1px solid $cinza;
    box-sizing: border-box;
    border-radius: 4px;
    font-family: Arial;
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 16px;
    color: #474747;
  }
}

.input-text {
  width: 280px;
  height: 36px;
  font-family: Arial;
  font-style: normal;
  font-weight: bold;
  font-size: 12px;
  line-height: 14px;
  color: $azul;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  padding: 10px 20px;
  width: 97px;
  height: 36px;
  left: 834px;
  top: 178px;
  background: #969696;
  border: 1px solid $cinza;
  box-sizing: border-box;
  border-radius: 0px 4px 0px 0px;
}

.ml_1{
  margin-left: 1px;
  margin-right: 0px;
}

html, body { height: 100%; }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
}

.wrapper{
  overflow:auto !important;
  height: auto;
  width: auto;
  min-height: 100%;
}

.label-texto {
  font-weight: bold;
  color: $cinza-mais-escuro;
  display: flex;
  padding-top: 20px;
  padding-bottom: 5px;
  margin: 0;
}

.heading-with-btn {
  width: 100%;
  display: flex;
  position: relative;

  app-generic-heading, ui-generic-heading {
    width: inherit;
  }

  app-btn, ui-btn {
    position: absolute;
    right: 20px;
  }
}

.td {
  margin-bottom: 0;
}