.container {
  padding: 20px;
  min-width: 264px;
}

.container-content {
  background-color: #fff;
  border-radius: 6px;
  padding: 15px;
}

html, body, #root {
  height: calc(100%);
  min-height: 100%;
  overflow-x: hidden;
}

.app-sidebar {
  width: 260px;
  position: fixed;
  top: 0;
  z-index: 1000;
  bottom: 0;
  display: flex;
  flex-direction: column;
  background-color: #fff;
  box-shadow: 0 4px 4px rgba(0,0,0,.12), 0 0 10px rgba(0,0,0,.06);
  transition: transform 0.2s ease;
  transform: translateX(0);
}

.app-sidebar-header {
  padding: 18px;
  font-size: 16px;
  height: 56px;
  background: #10235c;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  display: flex;
  justify-content: space-between;
}

i.app-sidebar-close-button {
  vertical-align: 0;
  cursor: pointer;
  display: none;
}

.app-body {
  max-width: 100%;
  padding-left: 260px;
  transition: padding 0.2s ease;
  min-height: 100vh;
}

i.app-hamburger-button {
  margin-left: 16px;
  margin-top: 16px;
  cursor: pointer;
  display: none;
}

@media (max-width: 767.98px) {
  .app-sidebar-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.123);
    transition: background 0.2s ease;
    z-index: 999;
  }

  .app-sidebar-backdrop--closed {
    background-color: transparent;
    pointer-events: none;
  }

  i.app-sidebar-close-button {
    display: block;
  }

  i.app-hamburger-button {
    display: block;
  }

  .app-body {
    padding-left: 8px;
    padding-right: 8px;
  }

  .app-sidebar--closed {
    transform: translateX(-260px);
  }
}

div.modal-fluid-xs .rs-modal-body {
  padding-right: 6px;
  scrollbar-color: #949494 #b0b0b0;
  scrollbar-width: thin;
}

div.modal-fluid-xs .rs-modal-body::-webkit-scrollbar {
  width: 3px;
  height: 3px;
}

div.modal-fluid-xs .rs-modal-body::-webkit-scrollbar-thumb {
  background: #b0b0b0;
  border: 0px none #ffffff;
  border-radius: 50px;
}
div.modal-fluid-xs .rs-modal-body::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}
div.modal-fluid-xs .rs-modal-body::-webkit-scrollbar-thumb:active {
  background: #949494;
}
div.modal-fluid-xs .rs-modal-body::-webkit-scrollbar-track {
  background: #e6e6e6;
  border: 0px none #ffffff;
  border-radius: 50px;
}
div.modal-fluid-xs .rs-modal-body::-webkit-scrollbar-track:hover {
  background: #d1d1d1;
}
div.modal-fluid-xs .rs-modal-body::-webkit-scrollbar-track:active {
  background: #e6e6e6;
}
div.modal-fluid-xs .rs-modal-body::-webkit-scrollbar-corner {
  background: transparent;
}

div.modal-fluid-xs {
  max-width: 400px;
  width: 95%;
  margin-bottom: 30px;
}

div.modal-fluid-sm {
  max-width: 600px;
  width: 95%;
  margin-bottom: 30px;
}

div.drawer-fluid-xs {
  max-width: 100%;
}

.painel-tabela {
  margin-bottom: 20px;
  margin-top: 15px;
  display: flex;
  justify-content: space-between;
}

.filtro-form {
  display: flex;
  align-items: center;
}

.filtro-form .filtro-form-input {
  width: 250px;
  margin-right: 10px;
}

.filtro-form .filtro-form-select {
  width: 120px;
}

button.remocao-button {
  transition: all 0.25s linear;
}

button.remocao-button:first-child {
  margin-left: auto;
}

.linha-clicavel .rs-table-row {
  cursor: pointer;
}

.comodos .comodo {
  margin-bottom: 16px;
  padding-left: 12px;
  padding-right: 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.header-comodo {
  display: flex;
  align-items: center;
  border-radius: 5px 5px 0 0;
  background-color: rgb(66, 135, 245);
  color: white;
  padding-right: 16px;
}

.corpo-comodo {
  width: 100%;
  /*background-color: whitesmoke;*/
  border-radius: 0 5px 5px 5px;
  padding: 16px;
  background-color: white;
  /* background-color: #c3e0ff; */
/* background-image: linear-gradient(62deg, #c3e0ff 0%, #e1f8ff 100%); */

  box-shadow: 0 3px 10px 4px rgba(179, 206, 233, 0.205);
}

.topo-corpo-comodo {
  display: flex;
  justify-content: space-between;
}

.laje-comodo {
  font-size: 1.5em;
  margin-right: 12px;
  font-weight: 700;
  margin-bottom: 16px;
}

.tabelas-comodo {
  display: flex;
  justify-content: space-between;
}

.titulo-comodo {
  margin-top: 10px;
  font-weight: 700;
}

.titulo-ferros-comodo {
  text-transform: uppercase;
  font-weight: 700;
}

.tabelas-comodo .nome-valor {
  padding-right: 20px;
}

.projeto-toolbar {
  border-radius: 5px;
  border: 1px solid rgb(196, 196, 196);
  background-color: #fff;
  display: flex;
  padding: 8px;
  margin-bottom: 16px;
}

.projeto-toolbar > * {
  margin-right: 10px;
}

.relatorio-projeto {
  display: flex;
}

.relatorio-projeto > div {
  width: 50%;
}

.comodos-relatorio-projeto {
  overflow-y: auto;
  /* height: 600px; */
}

.comodos-relatorio-projeto > .comodo {
  margin-bottom: 16px;
}

.custos-comodo {
  display: flex;
  flex-direction: column;
  text-align: right;
}

.custo {
  white-space: nowrap;
  font-size: 1.2em;
  font-weight: 700;
}

.divisoes-comodo {
  display: flex;
  justify-content: space-between;
}

.divisao-comodo:not(:first-child) {
  text-align: right;
}

.tabela-comodo-wrapper {
  overflow-x: auto;
  margin-bottom: 15px;
}

.tabela-comodo th, .tabela-comodo td {
  border: 1px solid #5f5f5f;
  padding: 4px;
  white-space: nowrap;
}

.resumo-relatorio-projeto {
  padding: 16px;
}

.cards-resumo {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.card-resumo {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 8px 2px rgba(179, 206, 233, 0.205);
  padding: 16px;
  margin-right: 16px;
  margin-bottom: 16px;
}

.stat-card-resumo {
  white-space: nowrap;
  font-weight: 700;
  font-size: 1.5em;
}

.tabela-resumo {
  width: 100%;
  max-width: 100%;
  margin-bottom: 16px;
}

.tabela-resumo tr > th, .tabela-resumo tr > td {
  padding: 8px;
  vertical-align: top;
  border: 1px solid #5f5f5f;
}


/********** ORÇAMENTO **********/
.header-orcamento {
  display: flex;
  justify-content: space-between;
}

.header-orcamento-botoes {
  display: flex;
  align-items: flex-start;
}

.header-orcamento-botoes > *:not(:last-child) {
  margin-right: 6px;
}

.orcamento {
  display: flex;
}

.orcamento .itens-orcamento {
  padding: 16px;
  width: 70%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.orcamento .item-orcamento {
  padding: 12px;
  margin-bottom: 16px;
  border-radius: 5px;
  background-color: white;
  box-shadow: 0 3px 10px 4px rgba(179, 206, 233, 0.205);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.item-orcamento .item-orcamento-esquerda {
  display: flex;
  flex-direction: column;
}

.item-orcamento-esquerda .item-orcamento-nome {
  font-size: 1.4em;
  color: rgb(0, 0, 50);
  margin-bottom: 10px;
}

.item-orcamento-esquerda .item-orcamento-valores {
  display: flex;
}

.item-orcamento-valores .item-orcamento-valor {
  margin-right: 24px;
  display: flex;
  flex-direction: column;
}

.item-orcamento-valor .item-orcamento-valor-destacado {
  font-size: 1.2em;
  color: rgb(0, 0, 50);
}

.item-orcamento-direita {
  display: flex;
  flex-direction: column;
  text-align: right;
}

.item-orcamento-direita .item-orcamento-valor-total {
  font-size: 1.3em;
  color: rgb(0, 0, 50);
}

.botao-item-orcamento {
  padding: 16px;
  margin-bottom: 16px;
  border-radius: 5px;
  background-color: rgb(223, 223, 223);
  transition: background 0.3s linear;
  outline: none;
}

.botao-item-orcamento:active {
  background-color: rgb(197, 197, 197);
}

.orcamento .valores-orcamento {
  padding: 16px;
  width: 30%;
}

.parcelas {
  margin-top: 16px;
  margin-bottom: 16px;
  width: 100%;
  max-width: 100%;
}

.parcelas td, .parcelas th {
  padding: 8px;
  text-align: center;
}

.parcelas td > .rs-checkbox > .rs-checkbox-checker {
  width: 30px;
  margin: 0 auto;
}

/***** ORÇAMENTOS PROJETO *******/

.orcamentos-projeto {
  display: flex;
  flex-wrap: wrap;
}

.orcamento-projeto {
  margin-right: 16px;
  margin-bottom: 16px;
  padding: 16px;
  background-color: #fff;
  border-radius: 5px;
  box-shadow: 0 3px 10px 4px rgba(179, 206, 233, 0.205);
  transition: box-shadow 0.3s linear;
  display: flex;
  flex-direction: column;
  min-width: 240px;
  color: inherit;
}

.orcamento-projeto:hover {
  box-shadow: 0 3px 10px 4px rgba(179, 206, 233, 0.363);
  text-decoration: none;
}

.orcamento-projeto:focus {
  text-decoration: none;
}

.titulo-orcamento-projeto {
  font-size: 1.2em;
  font-weight: 700;
}

.data-orcamento-projeto {
  margin-top: 1rem;
  align-self: flex-end;
  color: grey;
}

/**** COMPOSIÇÕES ****/

.composicoes-laje {
  display: flex;
  flex-wrap: wrap;
  margin-top: 20px;
}

.composicao-laje {
  padding: 16px;
  margin-right: 16px;
  margin-bottom: 16px;
  background-color: #fff;
  border-radius: 5px;
  box-shadow: 0 3px 10px 4px rgba(179, 206, 233, 0.205);
  display: flex;
  align-items: center;
}

.composicao-laje > *:first-child {
  margin-right: 16px;
}

/*** USUÁRIOS ***/

.lista-usuarios {
  display: flex;
  flex-wrap: wrap;
  margin-top: 20px;
}

.lista-usuarios-item {
  padding: 16px;
  margin-right: 16px;
  margin-bottom: 16px;
  background-color: #fff;
  border-radius: 5px;
  box-shadow: 0 3px 10px 4px rgba(179, 206, 233, 0.205);
  transition: box-shadow 0.3s linear;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.lista-usuarios-item:hover {
  box-shadow: 0 3px 10px 4px rgba(179, 206, 233, 0.363);
}


/*** HOME PAGE ****/

.home-estatisticas {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.home-estatisticas-parte {
  margin-right: 50px;
  margin-bottom: 20px;
}

.home-estatisticas-titulo {
  font-size: 1.7em;
  margin-bottom: 20px;
}

.home-estatisticas-valores {
  display: flex;
}

.home-estatistica {
  margin-right: 30px;
}

.home-estatistica-valor {
  font-size: 1.7em;
  color: rgb(0, 0, 73);
}

@media (max-width: 1199.98px) {
  .tabelas-comodo {
    flex-direction: column;
    justify-content: flex-start;
  }

  .tabelas-comodo>:first-child {
    margin-bottom: 15px;
  }

  .divisoes-comodo {
    flex-direction: column;
    justify-content: flex-start;
  }

  .divisao-comodo:not(:first-child) {
    text-align: left;
  }
}


@media (max-width: 991.98px) {
  .filtro-form .filtro-form-input {
    width: 180px;
  }

  .relatorio-projeto {
    flex-direction: column;
  }
  
  .relatorio-projeto > div {
    width: 100%;
  }

  .cards-resumo {
    flex-direction: column;
  }

  .card-resumo {
    width: 100%;
  }

  .header-orcamento {
    flex-direction: column;
    justify-content: flex-start;
  }

  .header-orcamento > * {
    margin-bottom: 20px;
  }

  .header-orcamento-botoes {
    justify-content: flex-end;
    flex-direction: row-reverse;
  }
  
  .header-orcamento-botoes > *:not(:first-child) {
    margin-right: 6px;
  }

  .orcamento {
    flex-direction: column;
  }

  .orcamento .itens-orcamento {
    width: 100%;
  }

  .orcamento .valores-orcamento {
    width: 100%;
  }
}

@media (max-width: 575.98px) {
  .container {
    padding: 10px;
  }

  .container-content {
    margin-top: 10px;
    padding: 0;
    background-color: transparent;
  }

  .filtro-form {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .filtro-form .filtro-form-input {
    width: 100%;
    margin-right: 0;
    margin-bottom: 10px;
  }

  .filtro-form .filtro-form-select {
    width: 100%;
  }

  .painel-tabela {
    flex-direction: column;
    justify-content: flex-start;
    margin-bottom: 10px;
  }

  button.remocao-button[disabled] {
    height: 0;
    min-height: 0;
    line-height: 0;
    display: block;
    overflow: hidden;
  }

  .legenda-projeto-toolbar {
    display: none;
  }

  .orcamento-projeto, .lista-usuarios-item {
    width: 100%;
    margin-right: 0;
  }
}
