@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");

* {
  margin: 0;
  padding: 0;
  outline: none;
  border: none;
  text-decoration: none;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  list-style: none;
  /*overflow: hidden;*/
}

:root {
  /* ===== Colors ===== */
  --body-color: #f5f3d6;
  --sidebar-color: #FFF;
  --primary-color: #f4c71e;
  --primary-color-light: #F6F5FF;
  --toggle-color: #DDD;
  --text-color: #707070;
  /* ====== Transition ====== */
  --tran-03: all 0.2s ease;
  --tran-03: all 0.3s ease;
  --tran-04: all 0.3s ease;
  --tran-05: all 0.3s ease;
}

/* MAIN */

body {
  display: flex;
  align-items: center;
  width: 100%;
  height: 100vh;
  font-family: 'Poppins', sans-serif;
  background: #bebebe !important;
}

.off {
  opacity: 0;
}


.main-card .btn[type=submit], #adicionar, .open-produtos, .open-parcelas, #adicionarProduto, .btn-filter {
  background: linear-gradient(to bottom, #fad449, #f4c71e);
  text-transform: uppercase;
  font-weight: bold;
  border: 0;
}

.main-card .btn a {
  text-decoration: none;
  color: #000;
}

.main-container {
  margin-left: 5%;
  width: 94.6vw;
  height: 100vh;
  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.2s;
}

.dataTables_wrapper {
  position: relative;
}


.filtro_ano{
  width: 100px !important;
}


/* CONTAINER */
.container-card {
  width: 100%;
  height: 95%;
  background-color: white;
  border-radius: 10px;
}

.containers-card {
  width: 100%;
  padding: 20px;
}

.buttons-container {
  height: 5%;
}

.input-row{
  display: flex;
  column-gap: 1rem;
  align-items: center;
}

.form-add-product {
  width: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
  text-align: center;
}

.form-add-product #adicionarProduto {
  margin-bottom: -15px;
}

.btn:first-child {
  margin-right: 10px;
}

.header-card {
  width: 100%;
  height: 8%;
  padding: 20px;
}

.text-container-header-card {
  font-size: 1.5em;
}

.final-actions .btn a {
  text-decoration: none;
  color: #000;
}

.final-actions {
  margin-top: -50px;
}

.final-actions .btn-pagamento {
  margin-top: 10px;
  background: linear-gradient(to bottom, #fad449, #f4c71e);
  border: 0;
  text-transform: uppercase;
  font-weight: bold;
}

.dropdown-toggle {
  background-color: white !important;
  border-color: #8d8b8b !important;
}

.modal-footer .btn {
  text-transform: uppercase;
  font-weight: bold;
}

.modal-footer .btn-fechar {
  background: linear-gradient(to bottom, #8d8d8d, #707070 );
  border: 0;
  color: #fff;
}

.modal-footer .btn-fechar:hover {
  color: #fff;
}

.modal-footer .btn-salvar {
  background: linear-gradient(to bottom, #fad449, #f4c71e);
  border: 0;
}

.button-filter-container .btn{
  font-weight: bold;
  border: 0;
}

tbody .open-produtos,
tbody .open-parcelas {
  font-weight: bold;
  border: 0;
}

/* TABELA COM SCROLL */
.content-body {
  height: 100vh;
}

.table-produto {
  display: flex;
  flex-flow: column;
  height: 20%;
  width: 100%;
}

.table-produto .thead-produto {

  flex: 0 0 auto;
  width: calc(100% - 0.8rem);
}

.table-produto .tbody-produto {

  flex: 1 1 auto;
  display: block;
  height: 48vh;
  overflow-y: scroll;
  width: calc(100% + 0.25rem);
}

.table-produto .tbody-produto tr {
  width: 100%;
}

.table-produto .thead-produto,
.table-produto .tbody-produto tr {
  display: table;
  table-layout: fixed;
}

.data-actions {
  display: flex;
  justify-content: center;
}

.btn-icon {
  font-size: 25px;
}

.table-style{
  width: 100%;
}

/* COMANDOS PARA RESPONSIVIDADE */
@media screen and (max-width: 1980px) {
  .final-actions .btn-pagamento {
    margin-top: 120px;
  }

  .final-actions .btn-addCategoria {
    margin-top: 80px;
  }
}

@media screen and (max-width: 1760px) {
  .final-actions .btn-pagamento {
    margin-top: 100px;
  }

  .final-actions .btn-addCategoria {
    margin-top: 50px;
  }
}

@media screen and (max-width: 1680px) {
  .main-container {
    margin-left: 5.5%;
  }

  .final-actions .btn-pagamento {
    margin-top: 120px;
  }

  .final-actions .btn-addCategoria {
    margin-top: 80px;
  }
}

@media screen and (max-width: 1600px) {
  .main-container {
    width: 90vw;
    margin-left: 7.5%;
  }

  .final-actions .btn-pagamento {
    margin-top: 60px;
  }

  .final-actions .btn-addCategoria {
    margin-top: 25px;
  }
}

@media screen and (max-width: 1440px) {
  .main-container {
    margin-left: 7.5%;
  }

  .final-actions .btn-pagamento {
    margin-top: 70px;
  }

  .final-actions .btn-addCategoria {
    margin-top: 25px;
  }
}

@media screen and (max-width: 1380px) {
  .main-container {
    width: 92vw;
    margin-left: 7%;
  }

}

@media screen and (max-width: 1366px) {
  .final-actions .btn-pagamento {
    margin-top: 10px;
  }

  .final-actions .btn-addCategoria {
    margin-top: -25px;
  }
}

@media screen and (max-width: 1280px) {
  .final-actions .btn-pagamento {
    margin-top: 110px;
  }

  .final-actions .btn-addCategoria {
    margin-top: 80px;
  }
}

@media screen and (max-width: 1280px) and (max-height: 720px) {
  .final-actions .btn-pagamento {
    margin-top: -5px;
  }

  .final-actions .btn-addCategoria {
    margin-top: -55px;
  }
}

@media screen and (max-width: 1180px) {
  .main-container {
    margin-left: 8%;
  }
}

@media screen and (max-width: 1168px) {
  .final-actions {
    margin-top: -60px;
  }
}

@media screen and (max-width: 1157px) {
  .final-actions .btn-pagamento {
    margin-top: -10px;
  }

  .final-actions .btn-addCategoria {
    margin-top: 20px;
  }
}

@media screen and (max-width: 1138px) {
  .final-actions .btn-pagamento {
    margin-top: -40px;
  }

  .final-actions .btn-addCategoria {
    margin-top: 20px;
  }
}

@media screen and (max-width: 1128px) {
  .final-actions .btn-pagamento {
    margin-top: -25px;
  }

  .final-actions .btn-addCategoria {
    margin-top: -75px;
  }

  .container-table {
    margin-top: -20px;
  }
}

@media screen and (max-width: 1080px) {
  .main-container {
    width: 90vw;
    margin-left: 9%;
  }
}

@media screen and (max-width: 1024px) {
  .final-actions .btn-pagamento {
    margin-top: -5px;
  }

  .final-actions .btn-addCategoria {
    margin-top: 10px;
  }
}

@media screen and (max-width: 768px) {
  .header-card {
    text-align: center;
  }

  .main-card .btn {
    padding-right: 32%;
    margin-left: 30%;
  }

  .btn span {
    display: none;
  }

  .final-actions .btn {
    margin-left: 17.5%;
    margin-top: 30px;
  }

  .text-container-header-card {
    font-size: 1.3em;
  }

  .buttons-container .btn {
    padding-right: 36%;
  }

  .main-container {
    margin-left: 60px;
  }

}