/*
  * ALL STYLES FOR NEW CODEFY SYSTEM
  *
*/
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

* {
  box-sizing: border-box !important;
  font-family: Montserrat, sans-serif !important;
}

/* Buttons */
.codefy-btn {
  float: left;
  width: 200px;
  min-height: 40px;
  display: flex !important;
  -webkit-box-pack: center !important;
  justify-content: center !important;
  -webkit-box-align: center !important;
  align-items: center !important;
  color: #444;
  background-color: #ddd;
  border-radius: 10px;
  border: none;
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
  margin: 3px;
  transition: all 0.3s ease-out 0s;
}

.codefy-btn-group {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  column-gap: 0;
  row-gap: 0.5rem;
  padding: 0.5rem 0;
  box-sizing: border-box;
}

.codefy-btn-group .codefy-btn.large {
  width: 100% !important;
  flex-grow: 1;
  border-radius: 10px !important;
}

.codefy-btn-group .codefy-btn {
  margin: 0;
  flex-grow: 1;
  width: 50%;
}

.codefy-btn-group .codefy-btn:hover {
  background-color: #9a09b5 !important;
}

.codefy-btn.no-floating {
  float: unset;
  width: unset !important;
}

.codefy-btn.disabled {
  background-color: #999 !important;
  color: #eee !important;
}

.codefy-btn.disabled:hover {
  background-color: #999 !important;
  color: #eee !important;
  transform: scale(1) !important;
  cursor: default !important;
}

.codefy-btn.sensitive:not(.disabled) {
  background-color: #cc3333 !important;
}

.codefy-btn.sensitive:hover:not(.disabled) {
  background-color: #ed3b3b !important;
}

.codefy-btn.with-cgap {
  column-gap: 0.5rem;
}

.codefy-btn-table {
  color: #444;
  background-color: #ddd;
  border-radius: 5px;
  border: none;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.3s ease-out 0s;
  padding: 8px 10px;
}

.codefy-btn:hover {
  transform: scale(1.05);
  color: inherit !important;
  text-decoration: none !important;
}

.codefy-btn-icon {
  width: 20px;
  cursor: pointer;
  margin-right: 10px;
  margin-bottom: 0px;
  transition: all 0.3s ease-out 0s;
  filter: none;
}

.codefy-btn-window {
  display: block;
  /* width: 100px; */
  /*font-size: 11px;*/
  font-size: 12px;
  padding: 6px 6px;
  text-align: center;
  background: #fff;
  border: solid 1px #ddd;
  border-radius: 5px;
  margin: 2px;
}

.codefy-c-add-product {
  width: auto;
  height: auto;
  padding: 8px;
  min-height: auto;
  /* border-radius: 0; */
  margin: 1rem;
  font-size: 12px;
}

.codefy-c-primary {
  color: #ede8e8 !important;
  background-color: #800797 !important;
}

.codefy-c-primary:hover {
  color: #ede8e8 !important;
}
.codefy-c-disabled {
  color: #ede8e8 !important;
  background-color: #aaa9a9 !important;
}
.codefy-c-secondary {
}
.codefy-c-success {
}
.codefy-c-error {
}
.codefy-c-warning {
}

/* Box odontograma */
.codefy-box-novo-orcamento,
.codefy-box-middle-options,
.codefy-orcamento-table {
  width: calc(100% / 3);
  padding: 1rem;
}
.codefy-box-middle-options,
.codefy-orcamento-table {
  height: 100%;
}
.codefy-box-novo-orcamento {
  height: 100%;
  position: relative;
  float: left;
}
.codefy-area-novo-orcamento {
/*background: #f5f5f5;*/
  /*background: #9d9d9d;*/
  background: #e0d4e5;
  /*height: 90%;*/
  height: 600px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 10px 10px 0 0;
}
.codefy-bar-novo-orcamento {
  overflow-x: auto;
  display: block;
  width: 100%;
  height: 10%;
/*border: 1px solid #ddd;*/
  border-top: 0;
}
.codefy-box-middle-options {
  float: left;
  }
.codefy-orcamento-table {
  float: left;
}
.codefy-orcamento-table-w-100 {
  width: 100%;
}
.codefy-orcamento-table-bar {
}
.codefy-box-main {
  float: left;
  display: flex;
  width: 100%;
/* background-color: #fff; */
}

/* Grid middle */
.codefy-middle-box-title {
  width: 100%;
  text-align: left;
  display: inline-block;
}
.codefy-middle-box-title-margin-top-15 {
  margin: 1.5rem 0 0 0;
}
.codefy-middle-box-title-left-30 {
  float: left;
  width: 30%;
  text-align: left;
}
.codefy-middle-box-title-right-70 {
  float: right;
  width: 70%;
  text-align: left;
}
.codefy-middle-title {
  background-color: rgba(128, 7, 151, 0.1);
  color: #050b41;
  font-size: 14px;
  padding: 6px 1rem;
  min-height: 55px;
}
.codefy-middle-title-main {
  width: 100%;
  background-color: #64327d;
  padding: 1rem;
  color: #fff;
  border-radius: 10px 10px 0px 0px;
}

.codefy-quadro {
  background: #f5f5f5;
  padding: 1rem;
  height: 260px;
  text-align: left;
  width: 100%;
  overflow-y: auto;
}

.codefy-quadro-medio {
  background: #f5f5f5;
  padding: 1rem;
  height: 170px;
  text-align: left;
  width: 100%;
  overflow-y: auto;
}

.codefy-quadro-menor {
  background: #f5f5f5;
  padding: 1rem;
  height: 130px;
  text-align: left;
  width: 100%;
  overflow-y: auto;
}

/* Grid Tabela Orçamento */
.codefy-orcamento-table-title {
  width: 100%;
  /* height: 36px; */
  background: rgba(128, 7, 151, 0.1);
  border-radius: 10px 10px 0px 0px;
  text-align: center;
  font-size: 14px;
  padding: 6px;
}
.codefy-orcamento-table-panes {
  float: left;
  width: 100%;
  background-color: #fff;
}
.codefy-orcamento-table-top-button {
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin: 1rem 0;
}

/* Header */
.codefy-header-top-customer {
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  column-gap: 1rem;
  width: 100%;
  height: 35px;
  margin-top: 0.5rem;
}

.codefy-header-top-customer div {
  height: 35px;
}

.codefy-header-top-customer form {
  display: flex;
  align-items: stretch;
  align-self: flex-start;
  justify-content: flex-start;
  column-gap: 0.7rem;
  flex: 1;
  height: 35px;
}

.codefy-header-top-customer form label {
  min-width: 100px;
  height: 35px;
  /* color: #050b41; */
  color: #FFFFFF;
  font-size: 1.3333rem;
  margin-left: 1rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.codefy-header-top-customer form input {
  min-width: 315px;
  height: 35px;
}

.codefy-header-top-customer * {
  float: unset !important;
}

.codefy-header-top-customer::after,
.codefy-header-top-customer::before {
  content: ' ';
  clear: both;
}

.codefy-header-top-input-box {
  float: left;
}
.codefy-header-top-input {
  /*background: #f5f5f5;*/
  color: #000000;
  text-align: left;
  font-size: 14px;
  width: 315px;
  height: 100%;
  /*border: none;*/
  border: #dedede 1px solid;
  padding: 5px;
}

.codefy-header-menu {
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  flex-direction: column;
  width: 100%;
}

.codefy-header-menu .menu-itens,
.codefy-header-menu .menu-itens-odonto {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  column-gap: 1rem;
  padding: 0.5rem 0.5rem 0.5rem 1rem;
  flex: 1;
  background: #64327d;
}

#primary-nav {
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  column-gap: 0.5rem;
}

.menuparent {
  transition: all 0.15s ease-out;
}

.menuparent > a {
  width: 50px;
  height: 50px;
  border-radius: 25px;
  transition: all 0.3s ease-out;
  padding: 1.25rem 0 0.625rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menuparent > a > span {
  font-size: 38px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menuparent > a > span::before {
  font-size: 38px;
  transition: all 0.3s ease-out;
}

.menuparent:hover > a > span::before {
  transform: scale(0.9);
}

.menuparent:hover > a {
  background-color: #9a09b577 !important;
}

ul#primary-nav li a {
  display: flex;
  text-decoration: none;
  padding: 0px;
  border: 0px solid #ccc;
  background: rgb(100, 50, 125);
  border-bottom: 0;
}

.menuparent ul {
  background: rgba(100, 50, 125, 0.959);
  padding: 1rem 0.7rem;
  max-height: calc(100vh - 200px);
  width: auto;
  border-radius: 3px;
  backdrop-filter: blur(2px) contrast(1.2);
  box-shadow: 0 4px 30px rgba(100, 50, 125, 0.559), 0 4px 4px rgba(31, 7, 43, 0.559);
}

.menuparent ul.columns {
  column-count: 2;
  column-width: 200px;
  column-gap: 0;
  min-width: 650px;
  max-width: 50vw;
}

.menuparent ul.columns > li {
  width: 300px;
}

.menuparent ul > li {
  width: max-content;
  transition: all 0.3s ease-out;
  border-radius: 3px;
  width: 100%;
  padding: 0.2rem 0.7rem;
}

.menuparent ul.columns > li > div > a {
  width: 100%;
}

.menuparent ul > li > a,
.menuparent ul > li > div > a {
  display: block;
  font-size: 1.2rem;
  color: #ffffff;
  width: max-content;
  text-align: left;
  word-break: keep-all;
  word-wrap: normal;
  transition: all 0.3s ease-out;
  background-color: transparent !important;
  margin: 0;
  padding-right: 2rem;
}

.menuparent ul > li > a > strong {
  font-size: 1.2rem;
  padding-left: 0.3rem;
}

.menuparent ul > li > div {
  width: 100% !important;
  float: unset !important;
}

.menuparent ul > li:hover > a,
.menuparent ul > li:hover > div > a,
.menuparent ul > li:hover > a#abrircontratospendentes {
  color: #64327d !important;
}

.menuparent ul > li:hover {
  background-color: #fffffff0 !important;
}

.codefy-header-menu::before,
.codefy-header-menu::after {
  content: ' ';
  display: none;
  clear: both;
}

.codefy-table-quadro-link {
  width: 100%;
}
.codefy-table-quadro-link tr td {
  color: #000000;
  font-size: 11px;
  text-align: left;
  text-decoration: none;
  background-color: #d8eff2;
}
.codefy-table-quadro-link a {
  display: block;
  width: 100%;
}
.codefy-table-quadro-link tr:nth-child(2n) td {
  background: transparent !important;
}

.codefy-btn-timeline {
  background-color: #e0d4e5;
  border: none;
  font-size: 14px;
  height: 100%;
  padding: 5px 11px;
  margin-left: 1px;
  color: #504e4e;
  border-radius: 5px;
  transition: background-color 0.3s;
  outline: none;
}

.codefy-btn-timeline:hover{
  transform: scale(1.03);
}

/* Form */
.codefy-form-orcamento {
  float: left;
  width: 100%;
}

.codefy-form-orcamento .msg_info {
  /*width: 100% !important;*/
  font-weight: normal !important;
  text-align: center !important;
  padding-left: 0px !important;
  margin: 0px !important;
  font-size: 13px !important;
}

/* Table */
.codefy-table-caption {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  margin: 1.5rem 0;
}
.codefy-span-caption {
  display: block;
  font-size: 12px;
  color: #050b41;
  font-weight: 400;
  margin-right: 10px;
}
.codefy-box-color-caption {
  margin: 0 0.5rem;
  position: relative;
  font-size: 12px;
  color: #050b41;
  display: flex;
  align-items: center;
}
.codefy-color-caption {
  float: left;
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #999;
  margin-right: 10px;
}
.codefy-table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  /*margin-bottom: 1rem;*/
}
.codefy-table tr,
.codefy-table td {
  font-size: 13px;
  color: #050b41;
  /*background-color: #fff;*/
}
.codefy-table tr {
  border-bottom-style: dashed;
  border-bottom-color: #bbb;
  border-bottom-width: 1px;
  border-top-style: dashed;
  border-top-color: #bbb;
  border-top-width: 1px;
}
.codefy-table td {
  border-right-style: dashed;
  border-right-color: #bbb;
  border-right-width: 1px;
  padding: 3px 10px;
}
.codefy-table td:last-child {
  border: none;
}
.codefy-table-title {
  font-size: 14px;
  text-align: center;
  text-transform: uppercase;
}
.codefy-table-title td {
  padding: 7px 4px;
}
.codefy-table-title-divider td {
  font-weight: 600;
  background-color: #ede8e8 !important;
}
.codefy-table-total {
  font-size: 16px;
}
.codefy-td-right {
  text-align: right;
}
.codefy-td-center {
  text-align: center;
}
.codefy-table-c-orcamento td {
  /* color: #0D74EE !important; */
  color: green !important;
}
.codefy-table-c-aprovado td {
  /* color: #00AE12 !important; */
  color: red !important;
}
.codefy-table-c-realizado td {
  /* color: #800797 !important; */
  color: blue !important;
}
.c-orcado {
  /* color: #0D74EE !important; */
  color: green !important;
}
.c-orcado span {
  /* background-color: #0D74EE !important; */
  background-color: green !important;
}
.c-aprovado {
  /* color: #00AE12 !important; */
  color: red !important;
}
.c-aprovado span {
  /* background-color: #00AE12 !important; */
  background-color: red !important;
}
.c-realizado {
  /* color: #800797 !important; */
  color: blue !important;
}
.c-realizado span {
  background-color: blue !important;
}

/* Cadastro de produto/ servico */
.codefy-div-top-information {
  position: relative;

  width: 100%;
  clear: both;
  margin-bottom: 5px;
}
.codefy-div-top-information form {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.codefy-div-top-information select {
  width: 140px;
  cursor: pointer;
  margin-left: 5px;
}
.codefy-div-top-information select option {
  width: 100%;
  font-size: 10px;
}
.codefy-cadastro-orcamento-produto {
  width: 100%;
  min-width: 50%;
  display: grid;
  clear: both;
}
.codefy-label-select {
  font-size: 11px;
  display: block;
  clear: both;
  color: #000;
  text-align: left;
  font-weight: 600;
}
.codefy-box-input {
  float: left;
  padding: 5px;
  width: 100%;
}
.codefy-box-input select {
  width: 100%;
  min-width: 200px;
}
.codefy-box-input select option {
  width: 100%;
}
.codefy-produto-form-select {
  display: flex;
  gap: 10px;
}

.codefy-button-remove {
  display: block;
  color: red;
  font-size: 16px;

  cursor: pointer;
}

.codefy-produtos-selecionados {
  width: 100%;
  background-color: #eee;
  padding: 0 10px;
}

.codefy-menu-footer-buttons {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

/* Utils */
.codefy-clear {
  clear: both;
}
.codefy-mr-1 {
  margin-right: 1rem;
}
.codefy-mr-2 {
  margin-right: 2rem;
}
.codefy-mr-3 {
  margin-right: 3rem;
}
.codefy-ml-1 {
  margin-left: 1rem;
}
.codefy-ml-2 {
  margin-left: 2rem;
}
.codefy-ml-3 {
  margin-left: 3rem;
}
.codefy-mb-1 {
  margin-bottom: 1rem;
}
.codefy-mb-2 {
  margin-bottom: 2rem;
}
.codefy-mb-3 {
  margin-bottom: 3rem;
}
.codefy-mt-1 {
  margin-top: 1rem;
}
.codefy-mt-2 {
  margin-top: 2rem;
}
.codefy-mt-3 {
  margin-top: 3rem;
}
.codefy-w-100 {
  width: 100%;
}

.codefy-txt-left {
  text-align: left !important;
}

.codefy-title-inter-dente {
  color: #454545;
  float: left;
  padding: 5px 3px;
  text-align: left;
  background-color: #e0d4e5;
}

/*Ficha de orcamento*/
#codefy-table-wrapper-orcamento {
  position: relative;
}

#codefy-table-scroll-orcamento {
  height: 270px;
  overflow: auto;
  margin-top: 20px;
}

#codefy-table-wrapper-orcamento table {
  width: 100%;
}

#codefy-table-wrapper-orcamento table * {
  color: black;
}

#codefy-table-wrapper-orcamento table thead th .text {
  position: absolute;
  top: -20px;
  z-index: 2;
  height: 20px;
  width: 35%;
  border: 1px solid red;
}

.codefy-accordion h2.current {
  font-weight: normal !important;
  color: white !important;
}

.codefy-accordion table tbody tr td {
  font-size: 14px !important;
  padding: 4px !important;
}

.codefy-accordion .janela_grid {
  padding: 0px !important;
  width: 100% !important;
}

.codefy-middle-title-accordion-main {
  width: 100%;
  background-color: #64327d;
  padding: 0.6rem !important;
  color: #64327d;
  font-size: 14px !important;
  /*border-radius: 10px 10px 0px 0px;*/
}

#codefy-evolucoes-tratamento h4 {
  padding-top: 10px;
}
#codefy-evolucoes-tratamento .janela_grid {
  padding: 0px !important;
  width: 100% !important;
}
#codefy-evolucoes-tratamento .janela_grid .janela_grid_tabela td {
  font-weight: normal !important;
  padding: 5px;
  font-size: 15px !important;
}

#codefy-evolucoes-tratamento .janela_grid .janela_grid_tabela td a {
  font-size: 15px !important;
}

.codefy-anamnese-page #formpaciente {
  margin-bottom: 15px;
}

.codefy-anamnese-page #dados {
  margin-top: 15px;
}

.codefy-anamnese-page #dados .form_css_linha {
  font-size: 16px;
  font-weight: normal !important;
}

.codefy-anamnese-page #dados textarea {
  height: 70px;
  margin-bottom: 15px;
}

.codefy-anamnese-page #dados label {
  font-size: 16px;
}

.codefy-button {
  padding: 0.5rem 1.5rem;
  border-radius: 5px;

  font-size: 1.2rem;

  background-color: #ede8e8;
  color: #01031a;

  cursor: pointer;
  transition: all 0.3s ease-out;
  text-decoration: none !important;

  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 0.8333rem;
  border: 0;
}

.codefy-button.primary {
  background-color: #800797;
  color: #f8faff !important;
}

.codefy-button.primary:hover {
  background-color: #a526bd;
}

.codefy-button:hover {
  transform: scale(1.04);
  text-decoration: none;
}

.codefy-button.green {
  background-color: #00ae12;
}

.codefy-button.green,
.codefy-button.green span {
  color: #ffffff;
}

.codefy-button.primary-foreground {
  background-color: #d4d4d4;
}

.codefy-button.primary-foreground,
.codefy-button.primary-foreground span {
  color: #800797;
  font-size: 1.3333rem;
  font-weight: 400;
  line-height: 150%;
}

.create-quotation-body {
  display: grid;
  grid-template-columns: 100%;
  grid-template-rows: 60px 1fr 80px;
}

.codefy-div-top-information.products {
  padding: 0.8333rem 1.8333rem;
}

.codefy-div-top-information.products,
.codefy-div-top-information.products form {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  column-gap: 1.8333rem;
}

.codefy-div-top-information.products form * {
  font-size: 1.1667rem;
}

.codefy-div-top-information.products form label {
  color: #050B41;
  font-weight: 500;
  line-height: 150%;
}

.codefy-div-top-information.products form select {
  color: #857D7D;
  padding: 0.6667rem 1.5rem;
  text-transform: uppercase;
  border: 1px solid #857D7D;
  border-radius: 3px;
}
