* {
  box-sizing: border-box;
}

html {
  font-family: "Lucida Sans", sans-serif;
  font-size: 90%;
}

html, body {
	margin:0px;
height: 100%;
}

.opcao {
list-style-type: none;
margin: 0;
padding: 0;
background-color: #f1f1f1;
}

li a{
  display: block;
  color: black;
  padding: 8px 16px;
  text-decoration: none;
}

li a:hover {
  background-color: #555555;
  color: white;
}


.row::after {
  content: "";
  clear: both;
  display: table;
}

[class*="col-"] {
  float: left;
  padding: 7px;
}

.col-1 {width: 8.33%;}
.col-2 {width: 16.66%;}
.col-3 {width: 25%;}
.col-4 {width: 33.33%;}
.col-5 {width: 41.66%;}
.col-6 {width: 50%;}
.col-7 {width: 58.33%;}
.col-8 {width: 66.66%;}
.col-9 {width: 75%;}
.col-10 {width: 83.33%;}
.col-11 {width: 91.66%;}
.col-12 {width: 100%;}


.template {
	width:100%;
}

.template-row {
	clear:both;
	width:100%;
	padding:20px;
}

.template-topo {
	text-align:center;
	padding:10px;
	border-bottom:solid 1px #aaa;
	background-color:#000;
	color:#fff;
}

.template-left{
	vertical-align:top;
	width: 30%;
	/* border-right:solid 1px #aaa; */
	display: inline-block;
}

.template-right{
	vertical-align:top;
	width: 69%;
	display: inline-block;
}

.template-conteudo-left {
	padding:5px;
}

.template-conteudo-right {
	padding:5px;
}

@media(max-width: 900px) {

	.template-left {
		width:100%;
	}
	.template-right {
		width:100%;
	}
}

.input-text,.form-control {
	padding:10px;
	width:100%;
}

.input-numero, .input-numerico {
	padding:10px;
	width:100%;
	text-align:right;
}

.input-button {
	padding:10px;
	width:100%;
	border:none;
	cursor:pointer;
	border-radius:5px;
	text-align:center;
}
.input-button:hover {
	opacity: 0.5; 
}


.input-upload {
    display: none;
}

.selecionado-upload {
    padding: 20px 10px;
    width: 100%;
    text-align: center;
    display: block;
    margin-top: 10px;
}
.label-upload {
    padding: 10px 10px;
    width: 100%;
    text-transform: uppercase;
    text-align: center;
    display: block;
    margin-top: 10px;
    cursor: pointer;
    border:none;
}
.label-upload:hover {
	opacity: 0.5; 
}

.label-input { font-size: 80%; }

.fundo-cinza-claro { background-color:#f6f6f6; }
.fundo-cinza { background-color:#ccc; }
.fundo-cinza-1 { background-color:#f6f6f6; }
.fundo-verde { background-color:#008000; color:#fff; }
.fundo-preto-3 { background-color:#333; color: #FFF;}
.fundo-firefox { background-color:#DAE8E0;}
.fundo-azul { background-color:#000080; color:#fff;}
.fundo-azul-1 { background-color:#0099cc;}
.fundo-vermelho { background-color:#ff0000; color:#fff;}
.fundo-laranja { background-color: #ffcc33; }
.fundo-maron { background-color: #cc9900; }

.mensagem { text-align:center; color:red; }

.texto-vermelho { color:red; }

.texto-pequeno { font-size:80%; }

.texto-centralizado, .centralizado { text-align:center }
.texto-maiusculo, .maiusculo { text-transform: uppercase; }

.bordas { border:solid 1px #ccc; overflow:hidden; }

.linha-preta { border-bottom: solid 1px #000; }
.linha-ciza { border-bottom: solid 1px #ccc; }
.linha-vermelha { border-bottom: solid 1px #ff0000; }
.linha-vermelha-2  { border-bottom: solid 2px #ff0000; overflow:hidden;}
.linha-vermelha-5  { border-bottom: solid 5px #ff0000; overflow:hidden;}

.linha-pontilhada { border-bottom: dotted 1px #aaa; }
.font-7 { font-size:70%; }
.font-8 { font-size:80%; }
.font-9 { font-size:90%; }
.font { font-size:100%; }
.font-12 { font-size:120%; }
.font-14 { font-size:140%; }

.div-content {
	font-family: Arial, Helvetica, sans-serif;
	/* border-radius: 5px; */
	/* background-color: #f2f2f2; */
	/* max-width:90%; */
	position: relative;
	/* margin: 2% auto; */
	margin: auto;
	/* padding: 5px; */
	color:#000;

}
#div-waiting { text-align:center;}

.circle {
	margin: 15% auto 0;
	  box-sizing: border-box;
	  width: 150px;
	  height: 150px;
	  border-radius: 100%;
	  border: 20px solid rgba(0, 0, 0, 0.2);
	  border-top-color: #fff;
	  animation: spin 1s infinite linear;
	}
	@keyframes spin { 
	  100% { 
		transform: rotate(360deg); 
	  } 
} 

.sidebar {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: #f7f7f7;
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 60px;
}

.sidebar a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  color: #000;
  display: block;
  transition: 0.3s;
}

.sidebar a:hover {
  color: #999;
}

.sidebar .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
}

.openbtn {
  font-size: 40px;
  cursor: pointer;
  background-color: #fff;
  color: #ffcc33;
  padding: 10px 15px;
  border: none;
}

.openbtn:hover {
  /* background-color: #444; */
  opacity: 0.4;
}

#main {
  transition: margin-left .5s;
  padding: 16px;
}

@media (max-width: 500px) {
  [class*="col-"] { width:100%; }

}
@media screen and (max-height: 600px) {
  .sidebar {overflow-x: hidden;}
}
@media screen and (max-height: 450px) {
  .sidebar {padding-top: 15px;}
  .sidebar a {font-size: 18px;}
}



.dropdown {
  position: relative;
}

/* Style the dropdown button */
.dropbtn {
  background-color: #4CAF50;
  color: white;
  padding: 10px;
  border: none;
  cursor: pointer;
}

/* Dropdown content */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 200px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}

/* Links inside dropdown content */
.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {
  background-color: #f1f1f1
}

/* Show the dropdown content on hover */
.dropdown:hover .dropdown-content {
  display: block;
}

/* Change background color of dropdown button on hover */
.dropdown:hover .dropbtn {
  background-color: #3e8e41;
}


.list {
  font-family: Arial, Helvetica, sans-serif;
  border-collapse: collapse;
  width: 100%;
}

.list td, .list th {
  border: 1px solid #ddd;
  padding: 8px;
}

.list tr:nth-child(even){background-color: #f2f2f2;}

.list tr:hover {background-color: #ddd;}

.list th {
  padding-top: 10px;
  padding-bottom: 12px;
  text-align: left;
  background-color: #04AA6D;
  color: white;
}

.list-click {
	cursor:pointer;
}


.FiltroPopup
{
	position: fixed;
	top:0;
	left: 0;
	z-index: 9999;
	width: 99%;
	height: 99%;
	background-color: transparent;
	/* border: solid 10px #eee; */
}

.FiltroFrm
{
	margin: 0;
	position: absolute;
	width:40%;
	max-height: 90%;
	top: 50%;
	left: 50%;
	border: solid 1px #ddd;
	transform: translate(-50%, -50%);
	background-color:#fff;
	overflow:auto;
}


.FiltroPopupTitleBtn
{
	border-radius:3px;
	cursor: pointer;
	width:100%;
	text-align:center;
}

.FiltroPopupForm
{
	min-height: 5%;
	padding:3%;
}



.tablink {
   background-color: #f5f1d3;
  /* background-color: #f9f9f9; */
  /* background-color:#008000;*/
  /* color: white; */
  float: left;
  border:none;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  /* border-radius: 4px; */
  /* outline: none; */
  cursor: pointer;
  /* padding: 14px 16px; */
  padding:10px;
  font-size: 17px;
  /* width: 19%; */
  margin-left:2px;
}

.tablink:hover {
  /* background-color: #fbfff9; */
  opacity: 0.5;
  /*font-weight: bold;*/
}

/* Style the tab content */
.tabcontent {
  /* color: transparent; */
  display: none;
  padding: 10px;
  padding-top: 140px;
  /* text-align: center; */
}


/* The Modal (background) */
.modal-open {
  display: block; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}
.modal-close-i {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
}

/* The Close Button */
.modal-close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.modal-close:hover,
.modal-close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}


.calculadora-modal {
  display: none; /* Escondido por padrão */
  position: fixed; /* Fixa na tela */
  z-index: 1; /* Fica acima de outros */
  left: 0; top: 0;
  width: 100%; height: 100%;
  overflow: auto; /* Habilita scroll se necessário */
  background-color: rgba(0,0,0,0.4); /* Fundo escurecido */
}

.calculadora-conteudo {
  background-color: #fefefe;
  margin: 15% auto; /* 15% do topo e centralizado */
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 500px;
  border-radius: 8px;
  position: relative;
}

.calculadora-fechar {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}




.modal-waiting {
  /* Initially hidden */
  display: none; 
  position: fixed;
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5); /* Semi-transparent background (overlay) */
}

.modal-content-waiting {
  background-color: #fefefe;
  margin: 15% auto; /* Center the modal vertically and horizontally */
  padding: 20px;
  border: 1px solid #888;
  width: 200px;
  text-align: center;
}

/* Simple CSS Loader (Spinner) */
.loader {
  border: 8px solid #f3f3f3; /* Light grey base */
  border-top: 8px solid #3498db; /* Blue spinner color */
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin: 10px auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

