@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

* {
  box-sizing: border-box;
  font-family: "Montserrat";
  color: #333;
  font-size: 12px;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

td, th, a {
  font-size: 12px;
}

a {
  text-decoration: none;
}

hr {
  background-color: #d3d3d3;
  height: 1px;
  border: none;
}

/* width */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #e0e0e0; 
  border-radius: 14px;
}
 
/* Handle */
::-webkit-scrollbar-thumb {
  background: #2987B5; 
  border-radius: 14px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #2987B5; 
}

body {
  background: url('../images/bg_modulos.png');
  background-repeat: repeat;
  display: flex;
  justify-content: center;
  align-items: center;
}

fieldset {
  border: 1px solid #d3d3d3;
  border-radius: 10px;
}

legend {
  font-style: italic;
  font-size: 11.5px;
}

.search_menu {
  display: flex;
  flex-direction: row;
  gap: 5px;
  flex-wrap: wrap;
  margin-top: 5px;
  margin-bottom: 10px;
}

.search_menu fieldset {
  height: 50px;
  padding: 0 5px;
}


#frameLoad {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(3px);
  -webit-backdrop-filter: blur(3px);
  z-index: 1000;
}

#frameLoad #boxLoad {
  width: 240px;
  height: 55px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 1px solif #d0d0d0;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
}

/*
* Custom Colorbox
*/

#cboxWrapper {
    background: none;
    box-sizing: border-box;
}

#cboxOverlay {
    z-index: 1000;
}

#cboxContent {
    padding: 10px;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid #d3d3d3;
}

#cboxTopCenter {
    height: 0;
    background: none;
}

#cboxBottomCenter {
    height: 0;
    background: none;
}

#cboxMiddleLeft {
    width: 0;
    background: none;
}

#cboxMiddleRight {
    display: none;
    width: 0;
    background: none;
}

#cboxTopRight {
    width: 0;
    height: 0;
    background: none;
}

#cboxBottomRight {
    width: 0;
    height: 0;
    background: none;
}

#cboxTopLeft {
    width: 0;
    height: 0;
    background: none;
}

#cboxBottomLeft {
    width: 0;
    height: 0;
    background: none;
}

/*
* Custom Colorbox
*/

/*
* Custom Dialog
*/

.ui-dialog {
	position: absolute;
	top: 0;
	left: 0;
	padding: .2em;
	outline: 0;
}
.ui-dialog .ui-dialog-titlebar {
	padding: 10px 10px 0 10px;
	position: relative;
        border: none;
        background: none;
}
.ui-dialog .ui-dialog-title {
	float: left;
	margin: .1em 0;
	white-space: nowrap;
	width: 90%;
	overflow: hidden;
	text-overflow: ellipsis;
        font-size: 14px;
}
.ui-dialog .ui-dialog-titlebar-close {
	position: absolute;
	right: .3em;
	top: 50%;
	width: 20px;
	margin: -10px 0 0 0;
	padding: 1px;
	height: 20px;
        display: none;
}
.ui-dialog .ui-dialog-content {
	position: relative;
	border: 0;
	padding: .5em 1em;
	background: none;
	overflow: auto;
}
.ui-dialog .ui-dialog-buttonpane {
	text-align: left;
	border-width: 0;
	background-image: none;
	margin-top: 10px;
	padding: 0 10px 10px 10px;
}
.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset {
	float: right;
}
.ui-dialog .ui-dialog-buttonpane button {
	margin: 0 0 0 5px;
	cursor: pointer;
        border-radius: 10px;
        height: 35px;
}
.dialog-button-highlighted {
    background: #1D3557;
    color: #ffffff;
}
.dialog-button-highlighted:hover {
    background: #1D3557;
    color: #ffffff;
}
.dialog-button-highlighted:focus {
    background: #1D3557;
    color: #ffffff;
}
.ui-dialog .ui-resizable-n {
	height: 2px;
	top: 0;
}
.ui-dialog .ui-resizable-e {
	width: 2px;
	right: 0;
}
.ui-dialog .ui-resizable-s {
	height: 2px;
	bottom: 0;
}
.ui-dialog .ui-resizable-w {
	width: 2px;
	left: 0;
}
.ui-dialog .ui-resizable-se,
.ui-dialog .ui-resizable-sw,
.ui-dialog .ui-resizable-ne,
.ui-dialog .ui-resizable-nw {
	width: 7px;
	height: 7px;
}
.ui-dialog .ui-resizable-se {
	right: 0;
	bottom: 0;
}
.ui-dialog .ui-resizable-sw {
	left: 0;
	bottom: 0;
}
.ui-dialog .ui-resizable-ne {
	right: 0;
	top: 0;
}
.ui-dialog .ui-resizable-nw {
	left: 0;
	top: 0;
}

.ui-corner-custom {
    border-radius: 10px;
}

/*
* Custom Dialog
*/

th {
  /*background: url('../images/bg_box_menu.png');*/
  background: url('../images/bg_titles.png');
  background-repeat: repeat;
  background-color: #fff;
  color: #fff;
}

.tr2 {
  background: url(../images/template_th.png);
  color: #333;
  background-color: #f3f4f5;
  background-repeat: repeat-x;
}

.tr1 {
  color: #333;
  background-color: #fff;
  background-repeat: repeat-x;
}

.even {
  background-color: #E5F0F6;
}

.odd {
  background-color: #fff;
}


.good {
  background-color: #3CB371;
  border: 1px solid #006400;
  color: #ffffff;
  font-size: 12px;
  font-weight: bold;
  font-style: italic;
  padding: 4px 4px 4px 14px;
}

.bad {
  background-color: #FFDAB9;
  border-radius: 10px;
  color: #B22222;
  font-size: 12px;
  font-weight: bold;
  font-style: italic;
  padding: 10px;
}

.clear {
  clear: both;
}

form {
  margin: 0;
}

.ui-widget {
  font-size: 14px;  
}

.container-login {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 2px solid #d3d3d3;
  border-radius: 20px;
  background-color: rgba(250, 250, 250, 0.7);
  padding: 30px;
}

ul.ui-autocomplete {
  z-index: 1100;
}

img,
picture,
video,
embed {
  /*max-width: 100%;*/
}

.clearfix:before,
.clearfix:after {
  content: " ";
  display: table;
}

.clearfix:after {
  clear: both;
}

.clearfix {
  *zoom: 1;
}

*, 
*:before, 
*:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.clear {
  clear: both;
}

.even {
  background-color: #f6f6f6;
}

.odd {
  background-color: #fff;
}

.paginator_pages {
  padding: 5px 10px;
  border: 1px solid #d3d3d3;
  background: url('../images/bg_titles_disabled.png');
  background-repeat: repeat;
  border-radius: 10px;
  color: #333;
}

.paginator_pages:hover {
  background: url('../images/bg_titles.png');
  background-repeat: repeat;
  color: #fff;
}

.paginator_current {
  background: url('../images/bg_titles.png');
  background-repeat: repeat;
  color: #fff;
}


input[type="button"], input[type="submit"] {
  border-radius: 10px;
  height: 30px;
}

input[type="button"]:hover, input[type="submit"]:hover {
}

input[type="button"]:enabled, input[type="submit"]:enabled {
}

input[type="button"].fsButton, input[type="submit"].fsButton {
  height: 42px;
  position: relative; 
  top: 8px;
}

input[type="button"].mainButton, input[type="submit"].mainButton {
  background: url('../images/bg_titles.png');
  background-repeat: repeat;
  color: #fff;
}

input[type="button"].mainButton:hover, input[type="submit"].mainButton:hover {
  background: url('../images/bg_titles.png');
  background-repeat: repeat;
  color: #fff;
}

input[type="button"].mainButton:enabled, input[type="submit"].mainButton:enabled {
  background: url('../images/bg_titles.png');
  background-repeat: repeat;
  color: #fff;
}

input[type="button"].dangerButton, input[type="submit"].dangerButton {
  background: url('../images/bg_titles_danger.png');
  background-repeat: repeat;
  color: #fff;
}

input[type="button"].dangerButton:hover, input[type="submit"].dangerButton:hover {
  background: url('../images/bg_titles_danger.png');
  background-repeat: repeat;
  color: #fff;
}

input[type="button"].dangerButton:enabled, input[type="submit"].dangerButton:enabled {
  background: url('../images/bg_titles_danger.png');
  background-repeat: repeat;
  color: #fff;
}

input, select, textarea, button, tel {
  border: 1px solid #c3c3c3;
  padding: 0.5em;
  font-size: 12px;
  
  background-color: #fff;
  color: #000;
}

input[type="text"], input[type="password"], input[type="tel"], input[type="email"], select, textarea {
  border-radius: 10px;
}

.myContextMenu {
  position: relative;
  margin:0;
  padding:0;
}

.myContextMenu li {
  list-style: none;
  font-size: 12px;
}

.myContextMenu li a {
  /*
  height: 16px;
  display: block;
  color: #1D3557;
  font-weight: bold;
  text-align: center;
  */
}


.myContextMenu li ul {
  position:absolute;
  display:none;
  border:1px solid #2987B5;
  margin:0;
  padding: 5px;
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 10px;
}

.myContextMenu li ul li {
  display:inline;
  float:none;
}

.myContextMenu li ul li a {
  display: block;
  padding: 5px;
  color: #555;
  font-weight: normal;
  text-align: left;
  border-radius: 8px;
  margin: 1px 0px 1px 0px;
}

.myContextMenu li ul li a:hover {
  color: #222;
  background: none;
  background-position: center;
  background: url('../images/bg_titles.png');
  background-repeat: repeat;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
}


.myContextMenu li.div_menu {
  width: 1px;
  height: 31px;
  display: block;
  background-color: #f0f0f0;
}


/*
    Adm
*/

#adm-container {
  width: 100%;
  height: 100dvh;
  padding: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

#adm-container-lite {
  width: 100%;
  height: 100dvh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

#adm-top-destop {
  height: 33px;
  display: flex;
  flex-direction: row;
  gap: 6px;
  align-items: center;
}

#adm-top-destop #adm-logo {
  margin-left: 0px; 
}

#adm-top-destop #adm-logo img {
  height: 25px;
}

#adm-top-destop #adm-menu {
  height: 33px;
  flex: 1; 
  display: flex;
  flex-direction: row;
  gap: 4px;
  border: 1px solid #d3d3d3;
  border-radius: 10px;
  align-items: center;
  padding: 0 4px;
}

#adm-top-destop #adm-menu .menu-item {
  
}

#adm-top-destop #adm-menu .menu-item a {
  color: #333;
  text-decoration: none;
  padding: 2px 10px;
  border-radius: 6px;
  font-size: 14px;
}

#adm-top-destop #adm-menu .menu-item a:hover {
  background: url('../images/bg_titles.png');
  color: #fff;
}

#adm-top-destop #adm-menu .menu-selected a {
  background: url('../images/bg_titles.png');
  background-repeat: repeat;
  color: #fff;
  text-decoration: none;
  padding: 2px 10px;
  border-radius: 6px;
  font-size: 14px;
}

#adm-top-destop #adm-acoes {

}

#adm-top-destop #adm-acoes img {
  height: 25px;
}

/* Menu Mobile */

#adm-top-mobile {
  display: none;
  z-index: 1000;
}

#adm-top-mobile header {
  width: 100%;
  height: 35px;
  background: transparent;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  position: relative;
  z-index: 10;
}

#adm-top-mobile .logo {
  
}

#adm-top-mobile .logo img {
  height: 25px;
}

#adm-top-mobile .menu-btn {
  width: 15px;
  height: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

#adm-top-mobile .menu-btn span {
  height: 3px;
  width: 100%;
  background: black;
  border-radius: 3px;
  transition: 0.3s;
}

#adm-top-mobile .menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(1.5px, 7px);
}

#adm-top-mobile .menu-btn.active span:nth-child(2) {
  opacity: 0;
}

#adm-top-mobile .menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(1.5px, -7px);
}

#adm-top-mobile nav {
  position: fixed;
  top: 50px;
  right: -100%;
  width: 100%;
  height: calc(100vh - 55px);
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(7px);
  -webit-backdrop-filter: blur(7px);
  transition: right 0.35s ease;
  padding: 30px 20px;
}

#adm-top-mobile nav.active {
  right: 0;
}

#adm-top-mobile nav a {
  display: block;
  color: white;
  text-decoration: none;
  font-size: 12px;
  margin-bottom: 24px;
  opacity: 0;
  transform: translateX(30px);
  transition: 0.3s;
}

#adm-top-mobile nav.active a {
  opacity: 1;
  transform: translateX(0);
}

#adm-top-mobile nav.active a:nth-child(1) { transition-delay: 0.1s; }
#adm-top-mobile nav.active a:nth-child(2) { transition-delay: 0.2s; }
#adm-top-mobile nav.active a:nth-child(3) { transition-delay: 0.3s; }
#adm-top-mobile nav.active a:nth-child(4) { transition-delay: 0.4s; }

#adm-top-mobile .overlay {
  position: fixed;
  top: 55px;
  left: 0;
  width: 100%;
  height: calc(100vh - 55px);
  background: rgba(0, 0, 0, 0);
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
}

#adm-top-mobile .overlay.active {
  opacity: 1;
  pointer-events: auto;
}


@media (max-width: 600px) {
  #adm-top-destop {
    display: none;
  }  
  #adm-top-mobile {
    display: flex;
  }  
}

#adm-content {
  flex: 1;
  border: 1px solid #d3d3d3;
  border-radius: 10px;
  padding: 5px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

#adm-content-title {
  
}

#adm-content-body {
  flex: 1;
  overflow: auto;
}

#adm-bottom {
  height: 14px;
  display: flex;
  text-align: center;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}

.titles_page {
  background: url('../images/bg_titles.png');
  background-repeat: repeat;
  background-color: #2987B5;
  color: #fff;
  text-align: left;
  border: 1px solid #d3d3d3;
  border-radius: 8px;
  padding: 6px;
  margin-bottom: 2px;
}

.subtitles_page {
  background: url('../images/bg_titles_disabled.png');
  background-repeat: repeat;
  background-color: #2987B5;
  color: #333;
  text-align: left;
  border: 1px solid #d3d3d3;
  border-radius: 8px;
  padding: 6px;
  margin-bottom: 2px;
}

.titles_page td {
  color: #555;
  font-weight: bold;
  font-size: 12px;
}

.ui-datepicker-calendar thead th {
  background: none;
}