@charset "UTF-8";
.bodymax {

  /* other stuff we already covered */

  height: 400px;
  max-height: 100%;
  /*width: 100%;
  max-width: 100%;*/
  overflow:auto;
}
.inset { width: 48px; height: 48px; border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(255,255,255,0.6),0 1px 1px rgba(0,0,0,0.1); background-color: transparent !important; z-index: 999;}
        .inset img {border-radius: inherit; width: inherit; height: inherit; display: block; position: relative; z-index: 998;}
        .navbar,.modal-header,.modal-footer{background-color:#85adad;}
        .centered {
  display: inline-block;
  vertical-align: middle;
  width: 300px;
  
}
.form-floating-panel {
   position: absolute; /* ou `fixed`, se quiser que fique preso à janela ao rolar */
  top: 20%; /* 10% do topo da tela ou contêiner */
  left: 50%;
  transform: translateX(-50%); /* Centraliza horizontalmente */
  
  width: 100%;          /* Ocupa 90% da largura da tela, ajustável */
  max-width: 98%;    /* Nunca passa disso */
  height: auto;        /* Ajusta à altura do conteúdo */
  max-height: 80vh;    /* Nunca passa de 80% da altura da tela */

  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 10px;

  overflow-y: auto;    /* Se tiver muito conteúdo, permite rolar */
  z-index: 1050;       /* Fica acima da maioria dos elementos, mas abaixo do modal do Bootstrap (1055) */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.modalBgLoading .loading {
  position: absolute;
  z-index: 65557;
  width: 150px;
  height: 150px;
  background: url(../img/loading.gif) no-repeat center center #fff;
  border-radius: 10px;
  border: 2px solid #fff;
  top: 50%;
  left: 50%;
  margin-left: -60px;
  margin-top: -60px;
}
.editor{
  max-height: 250px;
  max-width: 100%;
  height: 250px;
  background-color: white;
  border-collapse: separate; 
  border: 1px solid rgb(204, 204, 204); 
  padding: 4px; 
  box-sizing: content-box; 
  -webkit-box-shadow: rgba(0, 0, 0, 0.0745098) 0px 1px 1px 0px inset; 
  box-shadow: rgba(0, 0, 0, 0.0745098) 0px 1px 1px 0px inset;
  border-top-right-radius: 3px; border-bottom-right-radius: 3px;
  border-bottom-left-radius: 3px; border-top-left-radius: 3px;
  overflow: scroll;
  outline: auto;
  vertical-align: middle ;
}
.editor img{
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
  max-height: 100%;
}
.editor img:hover{
  position: center;
  top: 0;
  -webkit-transform: scale(1.5);
  transform: scale(1.5);
  -webkit-transition: all 500ms ease-in-out;
  -moz-transition: all 500ms ease-in-out;
  -ms-transition: all 500ms ease-in-out;
  -o-transition: all 500ms ease-in-out;
  transition: all 500ms ease-in-out;
  cursor:pointer;
  
}
tbody tr td img:hover {
  position: center;
  top: 0;
  -webkit-transform: scale(1.5);
  transform: scale(1.5);
  -webkit-transition: all 500ms ease-in-out;
  -moz-transition: all 500ms ease-in-out;
  -ms-transition: all 500ms ease-in-out;
  -o-transition: all 500ms ease-in-out;
  transition: all 500ms ease-in-out;
  cursor:pointer;
}
tbody tr td img {
  max-width: 780px;
  max-height: 600px;

}
.voiceBtn {
width: 20px;
color: transparent;
background-color: transparent;
transform: scale(2.0, 2.0);
-webkit-transform: scale(2.0, 2.0);
-moz-transform: scale(2.0, 2.0);
border: transparent;
cursor: pointer;
box-shadow: none;
-webkit-box-shadow: none;
}

div[data-role="editor-toolbar"] {
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}

.dropdown-menu a {
cursor: pointer;
}
.navbar-brand {
  padding: 0px;
}

#to-top {
  display: none;
  position: fixed;
  bottom: 5px;
  right: 5px;
}

.dropdown-menu>li.kopie>a {
  padding-left: 5px;
}

.dropdown-submenu {
  position: relative;
}

.dropdown-submenu>.dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -6px;
  margin-left: -1px;
  -webkit-border-radius: 0 6px 6px 6px;
  -moz-border-radius: 0 6px 6px 6px;
  border-radius: 0 6px 6px 6px;
}

.dropdown-submenu>a:after {
  border-color: transparent transparent transparent #333;
  border-style: solid;
  border-width: 5px 0 5px 5px;
  content: " ";
  display: block;
  float: right;
  height: 0;
  margin-right: -10px;
  margin-top: 5px;
  width: 0;
}

.dropdown-submenu:hover>a:after {
  border-left-color: #555;
}

.dropdown-menu>li>a:hover,
.dropdown-menu>.active>a:hover {
  text-decoration: none;
}

@media (max-width: 767px) {

  .navbar-nav {
      display: inline;
  }

  .navbar-default .navbar-brand {
      display: inline;
  }

  .navbar-default .navbar-toggle .icon-bar {
      background-color: #fff;
  }

  .navbar-default .navbar-nav .dropdown-menu>li>a {
      color: red;
      background-color: #ccc;
      border-radius: 4px;
      margin-top: 2px;
  }

  .navbar-default .navbar-nav .open .dropdown-menu>li>a {
      color: #333;
  }

  .navbar-default .navbar-nav .open .dropdown-menu>li>a:hover,
  .navbar-default .navbar-nav .open .dropdown-menu>li>a:focus {
      background-color: #ccc;
  }

  .navbar-nav .open .dropdown-menu {
      border-bottom: 1px solid white;
      border-radius: 0;
  }

  .dropdown-menu {
      padding-left: 10px;
  }

  .dropdown-menu .dropdown-menu {
      padding-left: 20px;
  }

  .dropdown-menu .dropdown-menu .dropdown-menu {
      padding-left: 30px;
  }

  li.dropdown.open {
      border: 0px solid red;
  }

}

/*@media (min-width: 768px) {*/
ul.nav li:hover>ul.dropdown-menu {
  display: block;
}

#navbar {
  text-align: center;
}
/* Ajustes personalizados para deixar tudo mais compacto */
    .form-horizontal .control-label {
      padding-top: 4px;
      font-size: 12px;
    }

    .form-group {
      margin-bottom: 8px;
    }

    .form-control{
      padding: 2px 6px;
      height: 25px;
      font-size: 12px;
    }

    .btn {
      padding: 3px 10px;
      font-size: 12px;
    }

/* Modal de logout — controle proprio (nao usa bootstrap-modal/modalmanager) */
.app-logout-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1055;
  background: rgba(0, 0, 0, 0.45);
}

.app-logout-backdrop.is-open {
  display: block;
}

#modalLogout.app-modal-logout {
  display: none;
  position: fixed;
  z-index: 1060;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 420px;
  max-width: calc(100vw - 32px);
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  outline: none;
  overflow: visible;
}

#modalLogout.app-modal-logout.is-open {
  display: block;
}

#modalLogout .modal-header,
#modalLogout .modal-footer {
  background-color: #85adad;
}

#modalLogout .app-modal-logout-msg {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: #334155;
  text-align: center;
}

#modalLogout .modal-content {
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.25);
  border: 1px solid #e2e8f0;
  background: #fff;
}

#modalLogout .modal-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  background: #f8fafc !important;
}

#modalLogout .modal-footer .btn {
  min-width: 120px;
}

body.app-logout-open .app-drawer-backdrop {
  display: none !important;
  pointer-events: none !important;
}
