body {
  margin: 0px;
  font-family: 'Montserrat', sans-serif;
}
h2{
  margin: 0px;
}
h3{
  font-size: 12pt;
}

label{
  color: #671609;
  font-size: 11pt;
  font-weight: bold;
}

button{
  cursor: pointer;
  border: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding-block: 5px;
}
/* Tabela */
table{
  width: 100%;
  height: auto;
  border-collapse: collapse;
}
th{
  color: #BD3817;
  background-color: white;
  border: 2px solid #BD3817;
  padding-block: 5px;
  text-align: center;
}
tr{
  
  color: #BD3817;
  background-color: #fff9f3;
  border: 2px solid #D9332A;
}
td{
  font-weight: bold;
  padding-block: 5px;
}


ul{
  margin-block: 0px;
}
input, textarea, select{
  color: #671609;
  border: none;
  border-bottom: 2px solid #D9332A;
  border-radius: 5px;
  padding-block: 5px;
  font-size: 11pt;
  font-weight: bold;
  background-color: white;
}
input:focus, textarea:focus, select:focus{
  outline: none;
}
input[type="search"]{
  flex: 1;
  padding-block: 6px;
  background-color: white;
  outline: 1px solid #BD3817;
}
input[type="search"]:focus{
  outline: 1px solid #BD3817;
}
p{
  margin: 0px;
}
textarea{
  font-size: 12pt;
  resize: none;
}



/* =================== Classes =================== */
.title{
  color: #671609;
  text-align: center;
  margin-bottom: 0px;
  font-size: 18pt;  
}
.linha_title {
  width: 40%;
  height: 3px;
  margin-top: 0px;
  margin-bottom: 15px;
  border: none;
  background: linear-gradient(to right, #FAEBD9 0%, #db071c, 70%, #FAEBD9 100%);
}
.subtitle{
  text-align: center;
  font-size: 14pt;
  margin-top: 0px;
  font-weight: bold;
}
.span-info{
  font-size: 10pt;
  color: #671609;
  font-weight: bold;
}
.btn-padrao{
  font-size: 12pt;
  font-weight: bold;
  text-align: center;
  padding-block: 5px;
  color: white;
  background-color: #BD3817;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.btn-padrao_redondo{
  border-radius: 50%;
  height: 30px;
  width: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-color: #BD3817;
}
.btn-padrao_redondo img{
  width:100%;
}

.td-padrao{
  text-align: center;
}
.td-padrao2{
  text-align: left;
  padding-left: 5px;
}
.td-acao{
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

/* Paginação */
.area_paginacao{
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: left;
  gap: 8px;
  margin-top: 5px;
}
.pg_inicio-fim{
  color: #BD3817;
  font-weight: bold;
}
.pg_navegacao{
  color: #D9332A;
  font-weight: bold;
}
.pagina_atual{
  color: #671609;
  font-weight: bold;
}

/* =================== Select2 =================== */
#select_cliente{
  color: #D9332A;
}
.select2-selection_placeholder{
  color: #D9332A;
}
.select2-container--default, .select2-selection--single{
    background-color: white;
    border-bottom: 2px solid #D9332A;
    border-radius: 5px;
    outline: 0px;
}
.select2-container--default .select2-selection--single{
  border: none;
    background-color: transparent;
    outline: 0px;
}
.select2-container--default.select2-container--disabled .select2-selection--single{
  border-top: 0px;
  background-color: white;
  outline: 0px;
}
.select2-selection__rendered{
  border: none;
  color: #D9332A;
  font-size: 10pt;
  border-radius: 0px;
  background-color: transparent;
}
.select2-selection__arrow{
  background-color: transparent;
}

.select2-selection--single{
  border: none;
    background-color: transparent;
    outline: 0px;
}
.select2-search__field, .select2-search__field::placeholder, .select2-search__field:focus{
    color: #671609;
    background-color: white;
    padding-block: 5px;
    font-size: 10pt;
    border: none;
    outline: none;
}



/* =================== Barra de rolagem =================== */

/* Personaliza a largura da barra de rolagem */
::-webkit-scrollbar {
  width: 2px;
  height: 8px;
}

/* Cor de fundo da área da barra de rolagem */
::-webkit-scrollbar-track {
  background: #f0f0f0;
  border-radius: 4px;
}

/* Cor do "thumb" (a parte que se move) */
::-webkit-scrollbar-thumb {
  background-color: #db071c;
  border-radius: 4px;
  border: 2px solid #ffffff;
}

/* Ao passar o mouse sobre o thumb */
::-webkit-scrollbar-thumb:hover {
  background-color: #a3a3a3;
}

/* Mensagens de Notificação ================ */
.message {
  position: fixed;
  z-index: 1000;
  right: 0px;
  top: 90px;
  padding-block: 10px;
  padding-left: 5px;
  padding-right: 20px;
  border-bottom: 2px solid white;
  font-weight: bold;
  background-color: #269bdf;
  opacity: 1;
  transition: opacity 1s ease;
  box-shadow: 0px 12px 20px black;
}

.message.success {
    color: #00ff3c;
}

.message.error {
    color: #db071c;

}
.area-btn_cad_popup{
  display: none;
}

@media (max-width: 950px){
  input{
    font-size: 13pt;
  }
  .title{
    font-size: 15pt;
  }
  .linha-title {
    width: 70%;
  }
  .area-btn_cad_popup{
    display: block;
    position: fixed;
    bottom: 20px;
    right: 45%;
    cursor: grab;
  }
  .btn-popup_cad{
    height: 60px;
    width: 60px;
    
  }
  .area-btn_cad_popup:active {
    cursor: grabbing;
  }
  .btn-popup_cad img{
    height: 50%;
  }
}