:root {
  --padrao1: #00008b;
  --padrao2: #ee6f1f;
  --positivo: #cffdbe;
  --negativo: #FBCEB1;
  --secondary1: #0F766E;
  --secondary2: #475569;
}

.botao2 {
  border-radius: 5px;
  border-color: var(--padrao1);
  border-width: medium;
  color: white;
  font-weight: bold;
  background-color: var(--padrao2);
}

.botao2:hover,
.botao2:focus {
  color: #fff;
  background-color: var(--secondary2);
  border-color: var(--padrao1);
}

.botao7 {
  border-radius: 5px;
  border-color: var(--padrao2);
  border-width: medium;
  color: white;
  font-weight: bold;
  background-color: var(--padrao1);
}

.botao7:hover,
.botao7:focus {
  color: #fff;
  background-color: var(--secondary1);
  border-color: #0B5F59;
}

.botao1 {
  border-radius: 5px;
  border-color: #000000;
  border-width: medium;
  color: white;
  font-weight: bold;
  background-color: #289c6b;
}

.shield {
  position: fixed;
  /* Cobrirá a área de interesse */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  z-index: 1000;
  pointer-events: auto;
}

.botao4 {
  position: absolute;
  top: 7%;
  right: 7%;
  border-radius: 5px;
  border-color: #000000;
  border-width: medium;
  color: white;
  font-weight: bold;
  background-color: #0077ee;
}

.btTomarD {
  position: absolute;
  top: 83px;
  right: 7%;
  border-radius: 5px;
  border-color: #000000;
  border-width: medium;
  color: white;
  font-weight: bold;
  background-color: #ee2e19;
  z-index: 99;
}

.btAtualizarPracaCfg {
  position: absolute;
  border-radius: 5px;
  border-color: #000000;
  border-width: medium;
  color: white;
  font-weight: bold;
  background-color: #ee2e19;
}

.btnAjuda {
  border-width: medium;
  border-color: var(--padrao1);
  background-color: var(--padrao2);
  cursor: pointer;
  color: white;
  border-radius: 10px;
  font-weight: bold;
  animation: skew-y-shake 15.0s infinite;
}

@keyframes skew-y-shake {
  0% {
    transform: skewY(-15deg);
  }

  5% {
    transform: skewY(15deg);
  }

  10% {
    transform: skewY(-15deg);
  }

  15% {
    transform: skewY(15deg);
  }

  20% {
    transform: skewY(0deg);
  }

  100% {
    transform: skewY(0deg);
  }
}

.imgEmpresaPraca {
  position: absolute;
  top: 52px;
  left: 7px;
  cursor: pointer;
}

.nomeEmpresaPraca {
  position: absolute;
  top: 178px;
  left: 8px;
  border-width: medium;
  font-weight: bold;
}

.btnAtualizarPraca {
  position: absolute;
  top: 240px;
  left: 1%;
  border-width: medium;
  font-weight: bold;
  border-color: #000000;
  align-content: center;
  border-radius: 5px;
  background-color: #289c6b;
}

/* A barra superior fica sobre a arte; assim a praça ocupa toda a viewport. */
#Praca .decision-map-canvas {
  margin-top: -64px;
}

/* O painel de serviços precisa mostrar também o topo da arte, sem corte. */
#Praca .decision-map-canvas--service {
  margin-top: 0;
}

.service-decision-map {
  position: relative;
  display: block;
  width: min(100vw, calc((100vh - 64px) * 1.9085));
  max-width: 100vw;
  margin: 0 auto;
  line-height: 0;
}

.service-decision-map picture {
  display: block;
  width: 100%;
}

.service-decision-map__image {
  display: block;
  width: 100%;
  height: auto;
  max-height: calc(100vh - 64px);
  object-fit: contain;
}

.service-decision-map__point {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 198px;
  padding: 7px 10px;
  border: 1px solid rgba(101, 217, 245, .55);
  border-radius: 5px;
  background: rgba(24, 49, 83, .82);
  box-shadow: 0 3px 9px rgba(0, 0, 0, .28);
  color: #FFFFFF;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  text-align: left;
  transform: translate(-50%, -112%);
}

.service-decision-map__point::after {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  width: 0;
  height: 0;
  border-top: 0;
  border-right: 13px solid transparent;
  border-bottom: 13px solid rgba(24, 49, 83, .95);
  border-left: 13px solid transparent;
  content: '';
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) rotate(180deg);
  transition: opacity .18s ease;
}

.service-decision-map__point:hover,
.service-decision-map__point:focus-visible {
  z-index: 3;
  border-color: #65D9F5;
  background: rgba(24, 49, 83, .95);
  color: #FFFFFF;
  outline: 3px solid rgba(255, 209, 63, .8);
  outline-offset: 2px;
  text-decoration: none;
}

.service-decision-map__point>i {
  color: #65D9F5;
  flex: 0 0 15px;
  font-size: 15px;
}

.service-decision-map__point:hover i,
.service-decision-map__point:focus-visible i {
  color: #65D9F5;
}

.service-decision-map__point-label {
  overflow-wrap: anywhere;
}

.service-decision-map__tooltip {
  position: absolute;
  top: calc(100% + 24px);
  left: 50%;
  display: flex;
  visibility: hidden;
  flex-direction: column;
  width: min(370px, 78vw);
  padding: 18px;
  border: 1px solid rgba(101, 217, 245, .45);
  border-radius: 15px;
  background: rgba(24, 49, 83, .97);
  box-shadow: 0 12px 25px rgba(0, 0, 0, .32);
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
  opacity: 0;
  pointer-events: none;
  text-align: left;
  transform: translate(-50%, -8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.service-decision-map__point:hover::after,
.service-decision-map__point:focus-visible::after {
  opacity: 1;
}

.service-decision-map__point:hover .service-decision-map__tooltip,
.service-decision-map__point:focus-visible .service-decision-map__tooltip {
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, 0);
}

.service-decision-map__tooltip-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
}

.service-decision-map__tooltip-title i,
.service-decision-map__tooltip-action i {
  color: #65D9F5;
}

.service-decision-map__tooltip-title i {
  flex: 0 0 15px;
  font-size: 15px;
}

.service-decision-map__tooltip-short-description {
  margin-top: 2px;
  color: rgba(255, 255, 255, .83);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.35;
}

.service-decision-map__tooltip-divider {
  display: block;
  height: 1px;
  margin: 18px 0 16px;
  background: rgba(255, 255, 255, .23);
}

.service-decision-map__tooltip-help-text {
  color: #FFFFFF;
  font-size: 14px;
  line-height: 1.45;
}

.service-decision-map__tooltip-action {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
  color: #65D9F5;
  font-size: 12px;
  font-weight: 700;
}

.service-decision-map__tooltip-action i {
  flex: 0 0 12px;
  font-size: 12px;
}

.service-decision-panel-help {
  margin: 0 0 15px;
  padding: 10px 12px;
  border: 1px solid #cfe2f1;
  border-radius: 4px;
  background: #edf6fc;
  color: #214860;
  font-size: 13px;
  line-height: 1.45;
}

@media (max-width: 767px) {
  #Praca .decision-map-canvas {
    margin-top: 0;
  }

  .service-decision-map {
    width: 100%;
  }

  .service-decision-map__image {
    width: 100%;
    height: auto;
    max-width: 100%;
  }

  .service-decision-map__point {
    max-width: 118px;
    padding: 4px 6px;
    font-size: 10px;
  }

  .service-decision-map__point i {
    font-size: 13px;
  }
}

.botao5 {
  border-radius: 5px;
  border-color: #000000;
  border-width: medium;
  color: white;
  font-weight: bold;
  background-color: #0077ee;
}

.botao6 {
  border-radius: 5px;
  border-color: #000000;
  border-width: medium;
  color: white;
  font-weight: bold;
  background-color: red;
}

.botao3 {
  border-radius: 5px;
  border-color: #6068c9;
  border-width: medium;
  color: black;
  font-weight: bold;
  background-color: #ede07e;
}

.botaoVoltar {
  border-radius: 5px;
  border-color: var(--padrao1);
  border-width: medium;
  color: var(--padrao1);
  font-weight: bold;
  margin-left: 10px;
  background-color: var(--padrao2);
}

.botaoVoltar:hover {
  border-color: #ffffff;
  background-color: var(--padrao1);
  color: #ffffff;
  cursor: pointer;
}

.botao8 {
  border-radius: 5px;
  border-color: var(--padrao2);
  border-width: medium;
  color: #ffffff;
  font-weight: bold;
  background-color: var(--padrao1);
}

.box1 {
  background-color: #ffd4b7;
  border-radius: 5px;
}

.box2 {
  background-color: #ede07e;
}

/* Tabelas */
.table-container {
  border-radius: 8px;
  /* Define o arredondamento de cantos */
  overflow: hidden;
  /* Garante que a tabela não ultrapasse os limites do contêiner */
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  /* Adiciona uma sombra para dar destaque */
}

.tabela1 {
  background-color: #ede07e;
  border-collapse: separate;
  border-spacing: 0;
  border: 4px solid #6068c9;
  border-radius: 5px;
  -moz-border-radius: 5px;
  padding: 5px;
}

.tabela2 {
  background-color: #ede07e;
  border-collapse: separate;
  border-spacing: 0;
  border: 4px solid #6068c9;
  border-radius: 5px;
  -moz-border-radius: 5px;
  padding: 5px;
}

.tabela3 {
  background-color: #ede07e;
  border-collapse: separate;
  border-spacing: 0;
  border: 3px solid #6068c9;
  border-radius: 5px;
  -moz-border-radius: 5px;
  padding: 5px;
}

.compact-table th,
.compact-table td {
  padding: 2px;
  /* Ajuste o valor conforme necessário */
  margin: 0;
  /* Remove qualquer margem extra */
  border: 1px solid #dee2e6;
}

.rounded-table {
  border-collapse: separate;
  /* Necessário para aplicar border-radius */
  border-spacing: 0;
  /* Remove espaçamento entre células */
  border: 1px solid #dee2e6;
  border-radius: 10px;
  /* Ajuste o valor conforme necessário */
  overflow: hidden;
  /* Garante que o conteúdo se ajuste ao arredondamento */
}

.rounded-table th,
.rounded-table td {
  border: 1px solid #dee2e6;
  /* Ajuste a cor conforme necessário */
}

.rounded-table th:first-child,
.rounded-table td:first-child {
  border-left: none;
}

.rounded-table th:last-child,
.rounded-table td:last-child {
  border-right: none;
}

.rounded-table tr:first-child th,
.rounded-table tr:first-child td {
  border-top: none;
}

.rounded-table tr:last-child th,
.rounded-table tr:last-child td {
  border-bottom: none;
}

/* Adicione estas regras de estilo ao seu arquivo de estilos personalizado */
.meutabs {
  border-bottom: 1px solid black;
}

.meutabs li a {
  color: black;
  border: 1px solid green;
}

.meutabs li.active a {
  color: black;
  border-top: 3px solid #333;
  border-left: 3px solid #333;
  border-right: 3px solid #333;
}

.meutabs li.active a:hover {
  color: black;
  border-top: 3px solid #333;
  border-left: 3px solid #333;
  border-right: 3px solid #333;
}

.meutabs li.active a:focus {
  color: black;
  border-top: 3px solid #333;
  border-left: 3px solid #333;
  border-right: 3px solid #333;
}

/* ======================================== */

.cfgicon {
  font-size: 16px;
}

.cfgModalBody {
  max-height: 70vh;
  overflow-y: auto;
}

.cfgModalScroll {
  overflow-y: auto;
}

.cfgmodalMP {
  border-color: #000000;
  border-width: medium;
  background-color: #ff5b74;
}

.cfgmodalFMQ {
  border-color: #000000;
  border-width: medium;
  background-color: #ff6445;
}

.cfgmodalFAB {
  border-color: #000000;
  border-width: medium;
  background-color: #ff825c;
}

.cfgmodalFIN {
  border-color: #000000;
  border-width: medium;
  background-color: #06cbb7;
}

.cfgmodalTRA {
  border-color: #000000;
  border-width: medium;
  background-color: #86c8e4;
}

.cfgmodalOPER {
  border-color: #000000;
  border-width: medium;
  background-color: #868cd6;
  color: white;
}

.cfgmodalMKT {
  border-color: #000000;
  border-width: medium;
  background-color: #ff574e;
}

.cfgmodalPNEUS {
  border-radius: 3px !important;
  border-color: #8d0d0d;
  border-width: medium;
  background-color: #06cbb7;
}

.letraBranca {
  color: white;
}

.combo1 {
  background-color: #ede07e;
}

.combomoldura1 {
  border: 3px solid #6068c9;
  border-radius: 5px;
}

.selectlayout1 {
  border-radius: 5px;
  border-color: var(--padrao1);
  border-width: medium;
}

img[usemap] {
  border: none;
  height: auto;
  max-width: 100%;
  width: auto;
}

.vcenter {
  white-space: nowrap;
}

.vcenter>* {
  white-space: normal;
}

.vcenter:before,
.vcenter>* {
  display: inline-block;
  vertical-align: middle;
}

.vcenter:before {
  content: "";
  height: 100%;
}

.vcenter>* {
  word-spacing: normal;
}

.comboRodada {
  width: 70px;
  height: 35px;
  background-color: var(--padrao1);
  border-color: #00008b;
  border: 3px solid var(--padrao1);
  border-width: 2px;
  color: white;
  /* font-weight: bold; */
  margin-left: 3px;
  font-size: 11px;
  cursor: pointer;
}

.comboEmpresa {
  width: 70px;
  height: 35px;
  background-color: var(--padrao2);
  border-color: var(--padrao1);
  border: 3px solid var(--padrao1);
  border-width: medium;
  border-radius: 5px;
  color: white;
  font-weight: bold;
  margin-left: 3px;
  font-size: 15px;
  cursor: pointer;
}

.cartela1 {
  background-color: #F9F5FF;
  border-radius: 5px;
  padding: 10px;
  height: 100px;
  width: 200px;
}

.cartela2 {
  background-color: var(--positivo);
  border-radius: 5px;
  padding: 10px;
  height: 100px;
  width: 200px;
}

.cartela3 {
  background-color: var(--negativo);
  border-radius: 5px;
  padding: 10px;
  height: 100px;
  width: 200px;
}

.barrahoriz1 {
  background-color: var(--padrao2);
  left: 1px;
  top: 0px;
  padding-top: 5px;
  height: 45px;
  position: fixed;
  z-index: 100;
  display: flex;
  width: calc(100% - 1px);
  color: #ffffff;
}

.barrahoriz2 {
  background-color: var(--padrao2);
  left: 175px;
  top: 35px;
  height: 50px;
  position: fixed;
  width: calc(100% - 175px);
  z-index: 98;
  display: none;
}

.barrahoriz3 {
  position: fixed;
  left: 135px;
  top: 47px;
  height: 85px;
  width: 175px;
  z-index: 101;
  display: flex;
  align-items: center;
  justify-content: center;
}

.barrahoriz4 {
  height: 40px;
  margin-left: 30px;
  margin-right: 20px;
}

.barrahoriz4 img {
  /* border: 2px solid var(--padrao1);
  border-radius: 8px; */
  height: 38px;
  /* width: 155px;
  padding: 3px; */
}

.menu-toggle {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 110;
  padding: 5px;
  display: none;
}

.btn-menu {
  font-size: 24px;
  background-color: #f99d09;
  border: none;
  color: white;
  cursor: pointer;
  padding: 10px 15px;
  border-radius: 5px;
}

#overlay-rotate {
  display: none;
}

.skin-yellow .main-sidebar,
.skin-yellow .left-side {
  background-color: #2B4C59;
}

/* .info-box-icon {
  border-radius: 10px;
} */

@media screen and (max-width: 768px) {

  .barrahoriz1 {
    /* width: calc(100% - 50px); */
    width: 100%;
    /* Ajuste para caber ao lado do botão */
    /* margin-left: 60px; */
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
  }

  .barrahoriz2 {
    width: 100%;
    border-bottom-left-radius: 10px;
  }

  .menu-toggle {
    display: block;
  }

  /* Mostrar as divs quando a classe 'active' for adicionada */
  .barrahoriz1.active,
  .barrahoriz2.active {
    display: block;
  }
}

@media only screen and (min-device-width: 320px) and (max-device-width: 568px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: portrait) {
  #overlay-rotate {
    background: rgba(0, 0, 0, 0.7);
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    z-index: 100000000000000000000000000;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  #overlay-rotate img {
    width: 128px;
    height: 128px;
    text-align: center;
    align-self: center;
  }

  #overlay-rotate p {
    color: #fff;
    font-size: 14px;
    text-align: center;
    padding: 5px 35px 0;
  }

}