@media (max-width: 1920px) {
  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .container-xxl {
    max-width: 1800px;
  }
}

@media (max-width: 1600px) {
  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .container-xxl {
    max-width: 1550px;
  }
}

@media (max-width: 1400px) {
  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .container-xxl {
    max-width: 1360px;
  }
}

body {
  background-image: url("../img/fundo.png");
  background-repeat: repeat;
}

.cst-body-relatorio {
  background-image: none;
}

a {
  color: black;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.btn:hover {
  text-decoration: none;
}

.btn-danger {
  border: none;
  border-radius: 2px;
  padding: 14px;
  width: 12rem;
  margin-left: 2px;
  margin-right: 2px;
  box-shadow: 2px 2px 2px #666;
}

.btn-primary {
  border: none;
  border-radius: 2px;
  padding: 14px;
  width: 12rem;
  margin-left: 2px;
  margin-right: 2px;
  background-color: #057682;
  box-shadow: 2px 2px 2px #666;
}

.btn-primary:hover {
  background-color: #00555e;
}

.btn-primary:disabled {
  background-color: #666;
  color: #666;
  text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.8);
  box-shadow: 2px 2px 2px #666;
}

.btn-primary-bootbox {
  width: 6rem;
  margin-left: 2px;
  margin-right: 2px;
}

.btn-success {
  border: none;
  border-radius: 2px;
  padding: 14px;
  width: 12rem;
  margin-left: 2px;
  margin-right: 2px;
  box-shadow: 2px 2px 2px #666;
}

.btn-warning {
  border: none;
  border-radius: 2px;
  padding: 14px;
  width: 12rem;
  margin-left: 2px;
  margin-right: 2px;
  box-shadow: 2px 2px 2px #666;
}

.btn-outline-secondary {
  border-radius: 2px;
  padding: 14px;
  width: 12rem;
  margin-left: 2px;
  margin-right: 2px;
  border: 1px solid black;
  color: black;
}

.btn-outline-secondary-bootbox {
  width: 6rem;
  margin-left: 2px;
  margin-right: 2px;
}

.btn-outline-secondary-inputgroup {
  color: #666;
}

.btn-outline-secondary-inputgroup:hover {
  background-color: white;
  color: #333;
}

label {
  font-size: 0.85rem;
}

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

.navbar {
  background-color: #2c2e2e;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link.show {
  color: #cfcfcf;
}

.nav-link {
  color: #969797;
  font-size: 0.9rem;
}

.nav-link:hover {
  color: white;
}

.text-muted {
  color: #999 !important;
}

.cst-bi-dark,
.cst-txt-usuario {
  background-color: black;
  color: #969797;
  border: 1px solid black;
  border-bottom: 1px solid #999;
}

.cst-txt-usuario[readonly],
.cst-txt-usuario:disabled {
  background-color: black !important;
  color: #969797 !important;
  border: 1px solid black !important;
  border-bottom: 1px solid #999 !important;
  opacity: 1 !important;
}

#divCabecalho #button-addon2 {
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.cst-div-fundo-topo {
  height: 200px;
  background-color: black;
  opacity: 0.5;
}

.cst-container-principal {
  margin-top: -200px;
}

.cst-card-principal {
  background-color: rgb(0, 0, 0, 0);
  border: none;
}

.cst-card-principal-relatorio .cst-card-body {
  border-left: 3px solid black;
  border-right: 3px solid black;
  border-bottom: 3px solid black;
  margin-top: -8px;
  font-size: 0.8rem;
}

.cst-card-header-principal {
  font-size: 1.75rem;
  color: white;
  border: none;
  background-color: rgb(0, 0, 0, 0);
}

.cst-card-header-principal-relatorio {
  color: black;
  border: none;
  background-color: white;
  font-size: 0.85rem;
}

.cst-card-header-principal-relatorio .cst-cabecalho-relatorio {
  background-color: #ccc;
  font-size: 1rem;
  margin-top: -8px;
  margin-left: -16px;
  margin-right: -16px;
}

.cst-card-header-principal-relatorio .cst-cabecalho-requisicao {
  border-top: 3px solid black;
  border-left: 3px solid black;
  border-bottom: 3px solid black;
  font-weight: 500;
}

.cst-card-header-principal-relatorio .cst-cabecalho-logotipo {
  background-color: white;
  border: 3px solid black;
}

.cst-card-header-principal-relatorio .cst-cabecalho-cliente {
  border-left: 3px solid black;
  border-right: 3px solid black;
  border-bottom: 3px solid black;
  font-size: 0.85rem;
  font-weight: 500;
}

.cst-card-body {
  background-color: white;
  opacity: 1;
  margin: 0;
  padding: 0;
}

/* .cst-card-body-tv, .cst-card-footer-tv {
    background-color: #121212;
    opacity: 1.0;
    margin: 0;
    padding: 0;
} */

.cst-borda-card-body {
  border: 6px solid rgb(80, 80, 80, 0.3);
}

.cst-form-pesquisa {
  margin: 0;
  padding: 0;
  box-shadow: 0px 2px 2px #666;
}

.cst-paginador .page-link {
  font-weight: bold;
  color: black;
  background-color: #eee;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.cst-paginador i {
  font-size: 0.7rem;
}

.cst-form-pesquisa-campos {
  padding: 0.75rem;
}

.cst-botao-pesquisar {
  background-color: #057682;
  color: white;
  font-size: 2.5rem;
  font-weight: bold;
}

.cst-botao-pesquisar:hover {
  background-color: #00555e;
  cursor: pointer;
}

.cst-card-resultado-pesquisa {
  margin-top: 5px;
  padding: 0.75rem;
}

.cst-label-registros-exibidos {
  padding-top: 6px;
}

.cst-registros-exibir {
  padding-left: 50px;
}

.cst-table-pesquisa thead th {
  background-color: #e7e6e2;
}

.cst-table-pesquisa th,
.cst-table-pesquisa td {
  vertical-align: middle;
}

.cst-card-principal .card-footer {
  border: none;
  border-radius: 0;
  background-color: rgb(80, 80, 80, 0.3);
  padding-top: 8px;
  padding-bottom: 20px;
}

.cst-card-interno {
  /* margin-left: 20px; */
  padding: 0;
  /* width: 93%; */
}

.cst-card-interno .card-header {
  background-color: #666;
  border: 1px solid #666;
  border-radius: 0;
  color: #efefef;
}

.cst-card-interno-relatorio {
  margin-left: 20px;
  padding: 0;
  width: 97%;
  border: none;
}

.cst-card-interno-relatorio .card-header {
  background-color: white;
  border-bottom: 1px solid black;
  border-radius: 0;
  color: black;
  font-size: 0.85rem;
  font-weight: bold;
}

.cst-card-interno-relatorio h6 {
  font-size: 0.75rem;
}

.cst-card-mais-interno .card-header {
  background-color: #ccc;
  color: #111;
  border: 1px solid #ccc;
  border-radius: 0;
}

.cst-assunto-consulta {
  font-weight: bold;
}

.cst-imagem-anexo-consulta {
  cursor: pointer;
}

.cst-badge {
  margin-left: 5px;
  margin-top: 0px;
  min-width: 2rem;
}

.cst-div-expandida-check {
  background-color: #b0e0e6;
}

.cst-div-expandida-check table th,
.cst-card-interno table th {
  background-color: #ccc;
}

.cst-btn-modal {
  width: 32px;
  height: 32px;
  padding: 0;
}

.cst-abas-principal .nav-link {
  color: #666;
}

.cst-abas-principal .nav-link:hover {
  text-decoration: none;
}

.cst-abas-principal .nav-link:active {
  background-color: #ccc;
}

.cst-abas-principal .nav-link.active {
  background-color: white;
  border-bottom: 4px solid darkblue;
  border-radius: 0;
  color: #222;
}

.form-switch label,
.cst-check-tipo-item-os label {
  font-size: 1rem;
}

.modal-xl {
  width: 1400px;
  max-width: 1600px;
  min-width: 1400px;
}

.cst-btn {
  border-radius: 2px;
  margin-left: 0;
}

.cst-btn:hover {
  color: white;
  background-color: #999;
}

.cst-btn-folder {
  width: 100px;
}

.cst-btn-plus {
  width: 50px;
}

/*********************************************************************************/
/** EStilos do dashboard *********************************************************/
/*********************************************************************************/
.cst-card-interno-dash {
  padding: 0;
}

.cst-card-interno-dash .card-header {
  background-color: #666;
  border: 1px solid #666;
  border-radius: 0;
  color: #efefef;
  font-size: 0.8rem;
}

.cst-row-labels {
  height: 100%;
}

.cst-row-labels-text {
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  background-color: #51A04F;
  border-left: 15px solid #2A8C28;
  font-size: .95rem;
  vertical-align: middle;
}

.cst-row-labels-text-fiscal {
  color: white;
  background-color: darkorange;
  border-left: 15px solid #d2691e;
  font-size: 0.9rem;
}

.cst-celula-numero {
  font-size: 2.4rem;
  background-color: #666;
  color: white;
  border-right: 2px solid white;
}

/*********************************************************************************/
/** FIM EStilos do dashboard *********************************************************/
/*********************************************************************************/

.form-control {
  border: none;
  border-bottom: 1px solid #aaa;
  border-radius: 0;
}

.form-select {
  border: none;
  border-bottom: 1px solid #aaa;
  border-radius: 0;
}

.cst-btn-input-group {
  border-bottom: 1px solid #aaa;
  border-radius: 0;
}

.cst-btn-input-group:hover {
  border-bottom: 1px solid #aaa;
}

.cst-meu-modal {
  position: absolute; /* posição absoluta ao elemento pai, neste caso o BODY */
  /* Posiciona no meio, tanto em relação a esquerda como ao topo */
  left: 50%;
  top: 50%;
  background-color: white;
  border-radius: 8px;
  box-shadow: 5px 5px 18px #888;
}

#meuModalImoveis {
  width: 1200px;
  height: 620px;
  margin-left: -600px;
  margin-top: -310px;
  text-align: center; /* Centraliza o texto */
  z-index: 1000; /* Faz com que fique sobre todos os elementos da página */
  display: none;
}

#meuModalItemOS {
  width: 1200px; /* Largura da DIV */
  height: 580px; /* Altura da DIV */
  margin-left: -600px;
  margin-top: -290px;
  background-image: url("../img/fundo.png");
  background-repeat: repeat;
  border: 3px solid white;
  z-index: 1010; /* Faz com que fique sobre todos os elementos da página */
  display: none;
}

#meuModalNovoItemOS {
  width: 1200px; /* Largura da DIV */
  height: 510px; /* Altura da DIV */
  margin-left: -600px;
  margin-top: -255px;
  background-image: url("../img/fundo.png");
  background-repeat: repeat;
  border: 3px solid white;
  z-index: 1010; /* Faz com que fique sobre todos os elementos da página */
  display: none;
}

#meuModalMensagem {
  width: 640px;
  height: 280px;
  margin-left: -320px;
  margin-top: -140px;
  z-index: 1050;
  display: none;
}

.cst-meu-modal-header {
  padding: 16px 8px 16px 8px;
  margin: 0;
  border-bottom: 1px solid #eee;
  width: 100%;
}

.cst-meu-modal-footer {
  padding: 16px 8px 16px 8px;
  margin: auto 5px 10px auto;
  width: 100%;
}

#meuModalItemOS .cst-meu-modal-header {
  background-color: #666;
  color: white;
  margin: 0;
  padding: 0;
}

#meuModalNovoItemOS .cst-meu-modal-header {
  background-color: #666;
  color: white;
  margin: 0;
  padding: 0;
}

.cst-meu-modal-header .cst-meu-modal-title {
  font-size: 1.25rem;
  font-weight: 500;
  padding-top: 14px;
}

.cst-meu-modal-body {
  margin: 10px;
  text-align: left;
}

.cst-btn-close {
  color: white;
  font-size: 2.5rem;
  padding: 0;
}

.cst-btn-close:hover {
  text-decoration: none;
}

.cst-dropdown button {
  background-color: white;
  border-radius: 0;
  border: none;
  border-bottom: 1px solid #aaa;
  color: #666;
  width: 100%;
  text-align: justify;
  white-space: normal;
}

.cst-dropdown button:link,
.cst-dropdown button:visited,
.cst-dropdown button:hover,
.cst-dropdown button:active,
.cst-dropdown button:checked {
  background-color: white;
  color: #666;
  text-decoration: none;
  border-bottom: 1px solid #aaa;
}

.cst-dropdown .dropdown-menu {
  height: 300px;
  overflow-y: scroll;
}

.cst-dropdown .dropdown-item {
  white-space: normal;
  text-align: justify;
}

.cst-accordion-button {
  background-color: #999;
  color: white;
}

.cst-accordion-button:not(.collapsed) {
  background-color: #333;
  color: white;
  font-weight: 500;
}

.cst-accordion-button:focus {
  border-color: #333;
  box-shadow: 0 0 #333;
}

.cst-accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.cst-accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.cst-col-as-accordion-button-expanded {
  background-color: #333;
  color: white;
  font-weight: 500;
  /* padding-left: 1.25rem;
    padding-right: 1.25rem; */
}

.ck-editor__editable[role="textbox"] {
  /* Editing area */
  min-height: 300px;
}

#map {
  height: 400px;
}

.cst-contrato-titulo {
  font-size: 1rem;
}

/* Remove blue border/glow from accordion buttons */
.accordion-button:focus {
  box-shadow: none;
  border-color: rgba(0, 0, 0, 0.125);
}

.accordion-button:not(.collapsed) {
  box-shadow: none;
}

.cst-btn-header-action:hover {
    background-color: rgba(0, 0, 0, 0.15) !important;
    transition: background-color 0.2s;
}

.cst-btn-header-square:hover {
    background-color: #00555e !important;
    transition: background-color 0.2s;
}

/* Star Rating System */
.cst-star-rating {
    font-size: 2rem;
    color: #ccc;
    cursor: pointer;
    display: flex;
    gap: 5px;
}

.cst-star-rating .bi-star-fill {
    color: #ffc107;
}

.cst-star-rating .cst-star {
    transition: color 0.2s;
}

.cst-star-rating .cst-star.active {
    color: #ffc107;
}
/* End Star Rating System */
