/* elementos HTML5 para navegadores antigos */
article, aside, details, figcaption,
figure, footer, header, hgroup, nav, section {
	display: block;
}

/* clearfix para fazer a função de clear aos elementos com float */
.clearfix:before, .clearfix:after {content: ""; display: table; }
.clearfix:after {clear: both; }
.clearfix {zoom: 1; }


header {
	padding-bottom: 10px;		
}

/* INFORMAÇÕES DO USUÁRIO NO TOPO DA PÁGINA */
.topuserinfo {
	width: 100%;
	text-align: center;
	font-size: 0.9em;
}

/* Container principal: logo + nav */
.header-main {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap; /* permite quebrar no mobile */
	padding: 10px 16px;
}

/* Logo */
.logo img {
	height: auto;
	width: auto;
}

/* Navegação */
.navCategorias {
	display: flex;
	gap: 14px;
}

.itemCategoria {
	text-align: center;
}
.itemCategoria a {
	display: flex;
	flex-direction: column;
	gap: 5px;
	align-items: center;
	text-decoration: none;
	font-size: 0.85em;
	color: #313a46;
}

.imgCategoria {
	width: 88px;
	height: 100px;
	object-fit: contain;
	transition: width .2s ease, height .2s ease;
}



body {
	border-top: 3px solid #002E5A;
	padding: 20px 0;
	margin: 0 auto;	
	background-color: #f4f6f7;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.container {
	background-color: #fff;
	width: 95%;
	max-width: 1440px;
	padding: 0.8% 1.5% 1.5% 1.5%;	
	margin: 0 auto;
	border-radius: 4px;
	border: 1px solid rgba(0,0,0,0.15);
	-moz-box-shadow: 0px 0px 6px rgba(0,0,0,0.05);
	-webkit-box-shadow: 0px 0px 6px rgba(0,0,0,0.05);
	box-shadow: 0px 0px 6px rgba(0,0,0,0.05);
}

footer {
	line-height: 150%;
	text-align: center;
	font-size: small;
}

a:link, a:visited {
    color: #313a46;
    text-decoration: none; 
    font-weight: bold;   
}
a:hover {
    color: #000;
    font-weight: normal;
}

fieldset {
	border: none;
	margin: 0 !important;
	padding: 0 !important;
	width: 100%;
    min-width: 0;
}




/*	RODAPÉ	*/
#divProprietarioRodape {
	text-align: center;
	font-weight: bold;
	color: #002E5A;	
	font-size: 16px;
	margin-top: 10px;
	margin-bottom: -5px;
}

#desenvolvidoPor {
	color: #333;
	background-color: #f4f6f7;
	font-size: 8.5pt;
	padding: 3px 0;
	margin: 25px 0 0;
	border-radius: 2px;
}

#desenvolvidoPor p {
	margin: 0;
}

#desenvolvidoPor a {
	color: #333;
}



/* CAIXA DE LOGIN */
.login-card {
	font-family: 'Roboto', sans-serif;
  	padding: 40px;
  	width: 320px;
  	background-color: #F7F7F7;
  	margin: 30px auto;
  	border-radius: 2px;
  	box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
  	overflow: hidden;
}
.login-card h1 {
  	font-weight: 100;
 	text-align: center;
  	font-size: 2.3em;
  	margin: 10px 0 5px 0;
}
.login-card h3, .login-card h4 {
	font-weight: 100;
	margin-top: 0;
}
.login-card input[type=submit] {
  	width: 100%;
  	display: block;
  	margin-bottom: 10px;
  	position: relative;
}
.login-card input[type=text], .login-card input[type=email], .login-card input[type=password] {
  	height: 44px;
  	font-size: 16px;
  	width: 100%;
  	margin-bottom: 20px;
  	-webkit-appearance: none;
  	background: #fff;
  	border: 1px solid #d9d9d9;
 	border-top: 1px solid #c0c0c0;
  	/* border-radius: 2px; */
  	padding: 0 8px;
  	box-sizing: border-box;
  	-moz-box-sizing: border-box;
}
.login-card input[type=text]:hover, .login-card input[type=email]:hover, input[type=password]:hover {
  	border: 1px solid #b9b9b9;
  	border-top: 1px solid #a0a0a0;
  	-moz-box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
  	-webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
  	box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
}

.login {
  	text-align: center;
  	font-size: 14px;
  	font-family: 'Arial', sans-serif;
  	font-weight: 700;
  	height: 36px;
  	padding: 0 8px;
/* border-radius: 3px; */
/* -webkit-user-select: none;
  user-select: none; */
}

.login-submit {
  	/* border: 1px solid #3079ed; */
  	border: 0px;
  	color: #fff;
  	text-shadow: 0 1px rgba(0,0,0,0.1); 
  	background-color: #002E5A;		/*#4d90fe;*/
  	font-size: 12pt;
  	cursor: pointer;
  	/* background-image: -webkit-gradient(linear, 0 0, 0 100%,   from(#4d90fe), to(#4787ed)); */
}

.login-submit:hover {
  	/* border: 1px solid #2f5bb7; */
  	border: 0px;
  	text-shadow: 0 1px rgba(0,0,0,0.3);
  	background-color: #F7B23B; 	/*#357ae8;*/
  	/* background-image: -webkit-gradient(linear, 0 0, 0 100%,   from(#4d90fe), to(#357ae8)); */
}

.login-card a {
  	text-decoration: none;
  	color: #666;
  	font-weight: 400;
  	text-align: center;
  	display: inline-block;
  	opacity: 0.6;
  	transition: opacity ease 0.5s;
}

.login-card a:hover {
  	opacity: 1;
}

.login-help {
  	width: 100%;
  	text-align: center;
  	font-size: 12px;
}
.login-card .toggle-eye {
	margin-bottom: 20px;
}



/*	NAVEGAÇÃO LATERAL	*/
#divNavegacao {
	float: left;
	text-align: left;
	width: 17%; 
}

.navLateral {
	/*float: left;*/
	margin: 0 0 2em 0; 
	padding: .25em 0em .25em 0em; 
	background: #f4f6f7; 
	width: 100%; 				/*	width: 22%;	*/ 
	text-align: left;
	border-radius: 4px;
	border: 1px solid rgba(0,0,0,0.15);
	-moz-box-shadow: 0px 0px 6px rgba(0,0,0,0.05);
	-webkit-box-shadow: 0px 0px 6px rgba(0,0,0,0.05);
	box-shadow: 0px 0px 6px rgba(0,0,0,0.05);
}

.navLateral ul { 
   margin: 0; 
   padding: 0; 
   list-style: none; 
} 

.navLateral ul li { 
   margin: 0; 
   padding: .5em; 
   list-style: none; 
   font-size: .97em;
} 

.navLateral ul a:link { 
   margin: 0; 
   padding: .2em 0em .2em .4em; 
   text-decoration: none; 
   font-weight: bold; 
   font-size: .97em;
   display: block; 
} 

.navLateral ul li a:hover { 
   background-color: gray; 
   color: white; 
} 


/* Sub menu */
.navLateral ul ul {
  padding-left: 10px;
  display: none;
}
.navLateral ul ul li {
  border-bottom: 1px solid #c9c9c9;
}
.navLateral ul ul li:last-child {
  border: none;
}




/* CATEGORIAS NO HEADER */
/*.navCategorias {
	float: right;
}

.itemCategoria {
	text-align: center;
	font-weight: bold;
	display: table-cell;
	font-size: 0.8em;
	padding: 0 8px;
}
.itemCategoria img {
	width: auto;
	height: auto;
	max-width: 125px;
	max-height: 110px;
}*/

/* DIV CORPO - CONTÉM O CONTEÚDO PRINCIPAL */
.corpo {
	padding-top: 15px;
	padding-bottom: 15px;
	width: 100%;
	text-align: center;
}


/* CONTEÚDO PRINCIPAL	*/
.conteudo {
	float: right;
	width: 81%;
	height: auto;
	text-align: center;
	margin: 0.3em 0 2em 0; 
}


/* DIVS NO CONTEUDO PRINCIPAL QUE CONTÉM OS FORMULÁRIOS	*/
.cadastrarEditar {
	/*position: relative;*/
	width: 100%;
	text-align: left ;
	margin-left: auto;
	margin-right: auto;
}

.tituloCadastrarEditar {
	text-align:left; 
	color:#4282C4
}

.brMobile {
	display: inline-block;
	width: 25px;
}

/* datatables */
table.dataTable thead th {
	font-size: 0.95em;
	color: #313a46;
    background-color: #eef2f7;
}
table.dataTable thead th,
table.dataTable tbody td,
table.dataTable tfoot td  {
	text-align: center !important;
	font-size: 0.9em;
}
.dt-search label, .dt-info, .dt-button {
	display: inline;
	font-size: 0.9em;
	color: #666 !important;
}
td.col-observacoes {
    font-size: 7pt !important;
    white-space: normal !important;
}
.table-responsive {
	width: 100%;
	overflow-x: auto;
}
table.dataTable tbody td.text-left {
	text-align: left !important;
}



/* INPUTS E FORMULÁRIOS */
.row {
	display: flex;
	flex-wrap: wrap;
	margin-left: -8px; 
  	margin-right: -8px;
}

[class*="col-"] {
	flex: 0 0 100%; 
	max-width: 100%;
	padding-left: 8px;
  	padding-right: 8px;
}
.row, [class*="col-"], .row *, .row *::before, .row *::after {
    box-sizing: border-box;
}
.col-1 { flex: 0 0 8.3333%; max-width: 8.3333%; }
.col-2 { flex: 0 0 16.6667%; max-width: 16.6667%; }
.col-3 { flex: 0 0 25%; max-width: 25%; }
.col-4 { flex: 0 0 33.3333%; max-width: 33.3333%; }
.col-5 { flex: 0 0 41.6667%; max-width: 41.6667%; }
.col-6 { flex: 0 0 50%; max-width: 50%; }
.col-7 { flex: 0 0 58.3333%; max-width: 58.3333%; }
.col-8 { flex: 0 0 66.6667%; max-width: 66.6667%; }
.col-9 { flex: 0 0 75%; max-width: 75%; }
.col-10 { flex: 0 0 83.3333%; max-width: 83.3333%; }
.col-11 { flex: 0 0 91.6667%; max-width: 91.6667%; }
.col-12 { flex: 0 0 100%; max-width: 100%; }
.row label {
	display: flex;
	flex-direction: column;
	font-weight: 500;
	margin-bottom: 12px;
	text-align: left;
}
input[type="text"], .form input[type="email"], .form input[type="password"], input[type="date"], .form input[type="number"], input[type="number"], .form input[type="time"], .form textarea, select, textarea {
	width: 100%;
	font-size: 0.9rem; 
	border: 1px solid #CCC;
    color: gray;
	outline: 0 none;
    padding: 7px 0px 7px 5px;
    text-align: left;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;    
}
input[type="checkbox"], input[type="radio"] {
	-webkit-transform: scale(1.3,1.3); -moz-transform: scale(1.3,1.3); -o-transform: scale(1.3,1.3);
}

#divGraficos {
	color: #313a46;
	background-color: #f7f7f7;
	padding: 1rem;
}
#divTituloGraficos {
	display: flex;
	align-items: center !important;
	margin: 15px 0;
}
#divTituloGraficos h4 {
	margin: 10px 0;
}
.small {
	font-size: 0.75rem;
}

.card {
	flex: 1 1 auto;
	color: #8a969c;
	background-color: #fff;
	border-radius: 0.5rem;
	padding: 1rem;
	text-align: left;
	margin: 0.5rem 0;
}
.card-icon {
	float: right;
	color: #536de6;
    font-size: 20px;
    background-color: rgba(83, 109, 230, 0.25);
    height: 40px;
    width: 40px;
    text-align: center;
    line-height: 40px;
    border-radius: 3px;
}
.card h5 {
	font-weight: normal;
	margin: 0;
}
.card h1, .card h2 {
	margin: 1rem 0;
}




/*
.form input[type="number"] {
	max-width: 70px;
}

input[type="text"], .form input[type="email"], .form input[type="password"], input[type="date"], .form input[type="number"], input[type="number"], .form input[type="time"], .form textarea, select, textarea {
    border: 1px solid #CCC;
    color: gray;
    height: 20px;
    font-size: 0.9em; 
    outline: 0 none;
    padding: 6px 0px 6px 5px;
    text-align: left;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;    
}
input[type="date"] {
	font-size: 1.15em;
}
input[type="checkbox"], input[type="radio"] {
	-webkit-transform: scale(1.3,1.3); -moz-transform: scale(1.3,1.3); -o-transform: scale(1.3,1.3);
}

select {
	width: auto;
	height: auto;
}

label, .divLabel {
    display: block;
    margin-bottom: 15px;   
}
.divLabel {
	height: 34px;
}
.divLabel .select2-container {
	margin-top:0;
}*/
/*
label>span,
.divLabel>span {
    float: left;
    width: 18%;
    text-align: right;
    padding-right: 7px;
    margin-top: 7px;
    color: #333;
    font-size: 0.95em;  
    font-weight: 500;
}*/

span.nomeCampo {
	float: none;
	text-align: right;
    padding-right: 5px;
    margin-top: 5px;
    font-weight: bold;
}
span.valorCampo {
	float: none;
	text-align: left;
    font-weight: normal;
    padding-right: 40px;
}

/*	span para texto após outro span	*/
.spanTexto {
	font-weight: normal;
	width: 74% !important;
	text-align: left;
	float: right;
	display: block;
}

.infoComplementar {
    font-size: 7pt;
}



/* Regras de senhas	*/
.password-rules {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
}
.password-rules li {
    font-size: 0.8rem;
    color: #999;
    display: flex;
    align-items: center;
    margin-bottom: 3px;
}
.password-rules li.valid {
    color: green;
    font-weight: bold;
}
.password-rules li:before {
    content: "\2022";
    margin-right: 7px;
}
.password-rules li.valid:before {
    content: "\2714"; 
    color: green;
}

.labelSenhaConfirma {
	display: flex;
	align-items: flex-start;
	flex-wrap: wrap;
}
.password-wrapper {
	position: relative;
	display: flex;
}
.password-wrapper input {
	flex: 1 1 auto;
	width: 1%;
	min-width: 0;
	background-color: #fff;
	background-clip: padding-box;
	border: 1px solid #ced4da;
	border-right: none;
	border-radius: 0 !important;
	transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
.toggle-eye {
	display: flex;
	align-items: center;
	padding: 0.5rem 0.75rem;
	background-color: #e9ecef;
	border: 1px solid #ced4da;
	border-left: none;
	cursor: pointer;
	user-select: none;
	color: #707a85;
}



.profile-pic-container {
	width: 200px; 
	height: 200px; 
	border: 1px dashed #999; 
	margin: 0 auto; 
	cursor: pointer; 
	display: flex; 
	align-items: center; 
	justify-content: center; 
	overflow: hidden;
}


/* anexos	*/
#divAnexos {
	text-align: left;
}
.divAnexo {
	display: inline-block;
	background-color: #eee;
	border: 1px solid #bbb;
	border-radius: 5px;
	padding: 7px 5px;
	margin: 8px;
} 
.imgAnexo, .divAnexoDir {
	display: inline-block;
	vertical-align: middle;
	padding: 0 5px;
}
.imgAnexo {
	width: 40px;
}
.pTituloAnexo {
	font-weight: bold;
	font-size: 10pt;
	margin: 0 0 7px 0;
}
.pNomeAnexo {
	font-size: 9pt;
	font-weight: normal;
	margin: 0;
}
.aExcluirAnexo img {
	vertical-align: top;
	width: 18px;
}


/*	TITULO	*/
.titulo {
	width: 100%;
	margin: 0 0 1em 0;
	color: white;
	/*padding: 8px 0;*/
	background: #002E5A;
	text-align: center;
	/*font-size: 16pt;
	font-weight: bold; */
	border-radius: 4px;
	border: 1px solid rgba(0,0,0,0.15);
	-moz-box-shadow: 0px 0px 6px rgba(0,0,0,0.05);
	-webkit-box-shadow: 0px 0px 6px rgba(0,0,0,0.05);
	box-shadow: 0px 0px 6px rgba(0,0,0,0.05);
}

.titulo h3 {
	margin-top: .5rem;
	margin-bottom: .5rem;
}

.h4Subtitulo {
	font-size: 1rem;
	font-weight: 600;
	margin: 1.2rem 0 0.8rem;
	padding: 0.4rem 1rem;
	background-color: #e3ebf8; /* Fundo claro e agradável */
	color: #002E5A;
	border-radius: 4px;
	font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}




/* MENSAGEM DE SUCESSO OU ERRO APÓS ENVIAR FORMULARIO AO SERVIDOR	*/
.retornoForm {
	display: none; /* O alerta deve iniciar oculto */
	width: 100%;
	height: auto;
	overflow: hidden;
	/*position: fixed;
	z-index: 999999;*/
	padding: 10px 0;
	color: #fff;
	border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;    
}

.alert-success {
  background-color: #2ecc71;
  margin-bottom: 15px;
}
.alert-warning {
  background-color: #FDA918;
  margin-bottom: 15px;
}
.alert-error {
  background-color: #e74c3c;
  margin-bottom: 15px;
}


.cursor-wait{
    cursor: wait !important;
}
.cursor-pointer {
	cursor: pointer;
}


/*	TABELAS	*/
.tbEstilo1, .tbEstilo2 {
	width: 100%;	
	max-width: 100%;
	border-collapse: collapse;	
}

.tbEstilo1 th, .tbEstilo1 td, .tbEstilo2 th, .tbEstilo2 td {
	font-size: 0.95em;
	border-top: 1px solid gray;
	border-bottom: 1px solid gray;
    padding: 5px 7px 5px 7px;
    text-align: center;    
    overflow: hidden;
    text-overflow: ellipsis;
}

.tbEstilo1 thead, .tbEstilo1 th, .tbEstilo2 thead, .tbEstilo2 th {
	/*font-size: 1.1em;*/
    padding-top: 5px;
    padding-bottom: 4px;
    /*background-color: gray;
    color: #ffffff;*/
    background-color: #FCAE49;
	color: #003667;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tbEstilo2 thead, .tbEstilo2 th {
	background-color: #e3ebf8 !important;
	color: #002E5A !important;
}

.tbEstilo1 tr.alt td{
    background-color: #e3ebf8;
}

.tbEstilo2 tr.alt td {
	background-color: #f5f9fd;
}

.tbEstilo1 tr.total td, .tbEstilo2 tr.total td {
    font-weight: bold;
}
/*
.tbEstilo1 td input, .tbEstilo2 td input {
	text-align: center;
	border: none;
	background-color: rgba(255, 255, 255, 0);
	color: #000;
	width: 95%;
}
*/
.tdValor {
	border-left: 1px solid #000;
}


/*	'POP-UP'	*/
.overlay {
    background-color: rgba(0, 0, 0, 0.6);
    bottom: 0;
    cursor: default;
    left: 0;
    opacity: 0;
    position: fixed;
    right: 0;
    top: 0;
    visibility: hidden;
    z-index: 1;
    -webkit-transition: opacity .5s;
    -moz-transition: opacity .5s;
    -ms-transition: opacity .5s;
    -o-transition: opacity .5s;
    transition: opacity .5s;
}
.overlay:target {
    visibility: visible;
    opacity: 1;
}
.popup {
    background-color: #fff;
    border: 3px solid #fff;
    display: inline-block;
    left: 50%;
    opacity: 0;
    padding-left: 15px;
    position: fixed;
    text-align: justify;
    top: 40%;
    visibility: hidden;
    z-index: 10;
    height: 550px;
    max-width: 98%;
    overflow-y:auto;

    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
    border-radius: 10px;

    -webkit-box-shadow: 0 1px 1px 2px rgba(0, 0, 0, 0.4) inset;
    -moz-box-shadow: 0 1px 1px 2px rgba(0, 0, 0, 0.4) inset;
    -ms-box-shadow: 0 1px 1px 2px rgba(0, 0, 0, 0.4) inset;
    -o-box-shadow: 0 1px 1px 2px rgba(0, 0, 0, 0.4) inset;
    box-shadow: 0 1px 1px 2px rgba(0, 0, 0, 0.4) inset;

    -webkit-transition: opacity .5s, top .5s;
    -moz-transition: opacity .5s, top .5s;
    -ms-transition: opacity .5s, top .5s;
    -o-transition: opacity .5s, top .5s;
    transition: opacity .5s, top .5s;
}
.overlay:target+.popup {
    top: 50%;
    opacity: 1;
    visibility: visible;
}
.close {
    background-color: rgba(0, 0, 0, 0.8);
    height: 30px;
    line-height: 30px;
    position: absolute;
    right: 7px;
    text-align: center;
    text-decoration: none;
    top: 8px;
    width: 30px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    -ms-border-radius: 15px;
    -o-border-radius: 15px;
    border-radius: 15px;
}
.close:before {
    color: rgba(255, 255, 255, 0.9);
    content: "X";
    font-size: 24px;
    text-shadow: 0 -1px rgba(0, 0, 0, 0.9);
}
.close:hover {
    background-color: rgba(64, 128, 128, 0.8);
}
/*
.popup label {
    display: inline-block;
    text-align: left;
    width: 630px;
}*/

/* Modal */
.modal {
	display: none; 
	position: fixed; 
	z-index: 1;
	padding-top: 50px; 
	left: 0;
	top: 0;
	width: 100%; 
	height: 100%;
	overflow: auto; 
	background-color: rgba(0,0,0,0.8);
}

@keyframes zoom {
	from {transform:scale(0)}
	to {transform:scale(1)}
}

.modal-content {
	position: relative;
	background-color: #fefefe;
	margin: auto;
	padding: 0;
	border: 1px solid #888;
	width: 70%;
	max-width: 960px;
	max-height: 85vh; 
	overflow-y: auto;
	box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
	-webkit-animation-name: animatetop;
	-webkit-animation-duration: 0.4s;
	animation-name: animatetop;
	animation-duration: 0.4s
}
.modal-header {
	padding: 2px 25px;
	background-color: #4282C4;
	color: white;
	text-align: left;
}
.modal-header-title {
	margin: 12px 0 7px 0;
}
.modal-header-subtitle {
	margin: 7px 0;
	font-weight: normal;
}
.modal-body {	padding: 2px 25px;	}

/* The Close Button */
.closeModal {
	position: absolute;
	top: 15px;
	right: 35px;
	color: #f1f1f1;
	font-size: 40px;
	font-weight: bold;
	transition: 0.3s;
}
.closeModal:hover,
.closeModal:focus {
	color: #bbb;
	text-decoration: none;
	cursor:pointer;
}

#divModalBodyDetalhesLista {
	padding:20px; 	
}




/* input type='file' personalizado */
#formCadastrarEditarProduto input[type="file"], #formCadastrarEditarOrcamento input[type="file"] {
    display: none;
}
#labelAnexo, .botaoAdicionar:link {
    padding: 10px 25px;
    border: 1px solid #003667;
    border-radius: 7px;
    color: #003667;
    text-align: center;
    cursor: pointer;
    float: left;
    margin-bottom: 0;
    font-weight: normal;
    width: auto;
}
#labelAnexo:hover, .botaoAdicionar:hover {
	background-color: #f1ecff;
}
#divConteudoAnexos {
	float:left;
	width: 82%;
	text-align: left;
}
#formCadastrarEditarOrcamento #divConteudoAnexos {
	width: 77%;
}
#nomeArquivoAnexo {
	font-style: italic;
	font-size: 11pt;
	text-align: center;
}



/*	TABS	*/
.tabs {
    width:100%;
    display:inline-block;
} 
/* Clearfix */
.tab-links:after {
    display:block;
    clear:both;
    content:'';
}
.tab-links {
	padding-left: 10px;
	margin-bottom: 0;
}
.tab-links li {
	margin:0px 5px;
    float:left;
    list-style:none;
}
.tab-links li i {
	color: #002E5A;
}
.tab-links a {
    padding:9px 15px;
    display:inline-block;
    border-radius:3px 3px 0px 0px;
    /*border: 1px solid #4c4c4c; */
    /*background:#7FB5DA; */
    background: rgba(66,130,196,0.15);
    /*font-size:16px;*/
    font-weight:500;
    color:#4c4c4c;
    transition:all linear 0.15s;
}
.tab-links a:hover {
    background:rgba(66,130,196,0.4);
    text-decoration:none;
}
li.active a, li.active a:hover {
    background: #4282C4;
    /*color:#4c4c4c;*/
    color: #fff;
}
.tab-links li.active i {
	color: #fff;
}
/*----- Content of Tabs -----*/
.tab-content {
    /*padding: 15px;*/
    border-radius: 3px;
    border-top: 1px solid rgba(0,0,0,0.3);
    /*box-shadow: 1px 1px 1px 1px rgba(0,0,0,0.3);*/
    /*background: #fff;*/
}
.tab {
    display:none;
}
.tab.active {
    display:block;
}





/* BOTÕES	*/
.aAdicionar:link,
.aConfirmar:link,
.aReabrir:link,
.botaoBuscar:link,
.botaoCadastrar,
.botaoCancelar  {
	color: white;
    background-color: #002E5A;
    padding: 12px 20px;
    font-size: 12pt;
    font-weight: bold;
    border: none;
    cursor: pointer;
    -webkit-box-shadow: 1px 1px 3px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 1px 1px 3px 0px rgba(0,0,0,0.75);
    box-shadow: 1px 1px 3px 0px rgba(0,0,0,0.75);
	transition: filter 0.2s;
}
.aConfirmar:link {	 background-color: green;			}
.aConfirmar {	float:right;	}
.aReabrir:link {	 background-color: #EDB441;		color:#002E5A;			}
#aReajuste { padding: 7px 15px;	}
.botaoCancelar {
	color: #666;
    background-color: white;
	padding: 12px 15px;
	margin: 0 15px;
}

.aAdicionar:hover,
.aConfirmar:hover,
.aReabrir:hover,
.botaoBuscar:hover,
.botaoCadastrar:hover,
.botaoCancelar:hover {
    filter: brightness(1.3); /* 10% mais claro */
}





/* TABELA DE LISTA PRODUTOS */
#tabelaProdutosListaPreco td:nth-child(5) {
	max-width: 50px;
}
.precoProduto {
	text-align: center !important;
}

#imagemProduto {
	width: 150px;
	height: 150px;
	object-fit: cover;
	border-radius: 6px;
	cursor: pointer;
	transition: 0.3s;
  }


/****** ORÇAMENTOS *******/
#formCadastrarEditarOrcamento #cliente ~ .select2-container .select2-selection--single {
    height: 35px !important;
    padding: 6px 12px !important;
	border: 1px solid #CCC;
    color: gray;
	font-weight: 500;
	/*width: 300px !important;*/
}
#formCadastrarEditarOrcamento #cliente ~ .select2-container--default {
	/*width: 300px !important;*/
	text-align: left;
}
.select2-container .select2-selection--single .select2-selection__rendered {
    line-height: 24px !important; 
	color: gray !important;
    font-size: 1rem;
}
.select2-container--default .select2-selection--single {
	border: 1px solid #ccc !important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 38px !important; 
}
.select2-search__field {
    margin-top: 0;
    vertical-align: middle;
}
.select2-selection__choice {
    margin-top: 0;
    background-color: #eee !important;
    border: 1px solid var(--ct-border-color) !important;
}
.select2-selection__choice__display {
    color: var(--ct-body-color) !important;
	font-size: 0.9rem;
}
.select2-selection__choice__remove {
    border-right: none !important;
}
.select2-results__options {
    text-align: left;
}

#divDetalhesCliente {
	padding: 0.75rem;
	background-color: rgba( 238, 242, 247, 1 );
	border-radius: 5px;
	margin-bottom: 10px;
}

.tituloCategoria {
	text-align: center;
	color: #002E5A;
	margin: 1.5em 0;
}
#formCadastrarEditarOrcamento table tr td {
	padding: 13px 5px;
}
#formCadastrarEditarOrcamento input[type="checkbox"] {
	cursor: pointer;
	scale: 1.6;
}
#formCadastrarEditarOrcamento .imagemProduto {
	float: left;
	margin-right: 10px;
	width: 70px;
	height: 70px;
	overflow: hidden;
}  
#formCadastrarEditarOrcamento .imagemProduto img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.detalhesProduto {
	overflow: hidden;
	text-align: left;
}  
.nomeProduto {
	font-weight: bold;
	margin: 5px 0;
	font-size: 13pt;
	color: #002E5A;
}
.dosagemProduto {
	color: #555;
	font-size: 10pt;
	margin: 4px 0;
}
.principioProduto {
	color: #888;
	font-size: 10pt;
	font-style: italic;
	margin: 4px 0;
}
.tbProdutosOrcamento input[type="number"] {
	width: 95%;
	max-width: 80px;
}
#formCadastrarEditarOrcamento table tr.itemSel {
	background-color: #e2edff;
	color: #002E5A;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}
#divValorTotalOrcamento {
	background-color: #FFF0DC;
	color: #002E5A;
	font-weight: 700;
	padding:10px;
	text-align: center;
	margin: 20px 0 30px 0;
	border-radius: 2px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}
#divValorTotalOrcamento .observacoes, .observacoes {
    font-size: 9pt !important;
	font-weight: normal;
}






/******	 RELATÓRIOS	******/
.scrolledCard {
	height: auto;
	max-height: 300px;
	overflow: auto;
}
#tbRelOrcamentosUsuarios th, #tbRelOrcamentosUsuarios td {
	font-size: 0.85rem;
}
.progress, .progress-stacked {
    /*--ct-progress-box-shadow: var(--ct-box-shadow-inset);
    --ct-progress-bar-color: #fff;
    --ct-progress-bar-bg: #727cf5;
    --ct-progress-bar-transition: width 0.6s ease;*/
    display: flex;
    height: 1rem;
    overflow: hidden;
    font-size: 0.675rem;
    background-color: #f6f7fb;
    border-radius: 0.25rem;
}
.progress-bar {
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    background-color: #727cf5;
    -webkit-transition: width 0.6s ease;
    transition: width 0.6s ease;
}
.text-left {
	text-align: left !important;
}




/* MEDIA QUERIES PARA TELAS SMALL - ATÉ 768px */
@media screen and (max-width: 768px) {

	footer {
		margin-top: 25px;
	}
		

	/* CAIXA DE LOGIN */
	.login-card {
	  padding: 20px 7px;
	  width: 90%;
	}
	
	/* CABEÇALHO */		
	.header-main {
		flex-direction: column;
		align-items: center;
		padding: 0;
	}
	.logo {
		max-width: 70%;
		margin-bottom: 10px;
	}
	.logo img {
		max-width: 100%;
	}
	.navCategorias {
		justify-content: center;
		flex-wrap: nowrap; /* mantém numa linha só */
		gap: 5px;
	}
	.imgCategoria {
		width: 22vw;  /* encolhe proporcional à tela */
		height: auto;
		max-width: 90px;
	}
	
	
	#divNavegacao {
		float: none;
		text-align: center;
		width: 100%; 
	}
	
	
	
	.conteudo {
		float: left;
		width: 100%;
		height: auto;
		text-align: center;
	}
	
	table td img {
		width: 20px;
		height: 20px;
	}

	.form-row {
		flex-direction: column;
		align-items: flex-start;
		gap: 0;
	}

	.form-row span {
		flex: none;
		width: 100%;
		text-align: left;
		margin-bottom: 4px;
	}

	.form-row input {
		width: 98%;
	}
	.form-row select {
		width: 100%;
	}
	

	#tabelaProdutosListaPreco, .tbProdutosOrcamento {
		font-size: 0.85rem;
	}
	#tabelaProdutosListaPreco th:nth-child(2), #tabelaProdutosListaPreco td:nth-child(2),
	#tabelaProdutosListaPreco th:nth-child(4), #tabelaProdutosListaPreco td:nth-child(4) {
		display: none;
	}
	
	.brMobile {
		display: block;
	}
	.noMobile {
		display: none;
	}

	.tab-links li i {
		font-size: 1.2rem;
	}

	#formCadastrarEditarOrcamento input[type="checkbox"] {
		-webkit-transform: scale(1.1,1.1); -moz-transform: scale(1.1,1.1); -o-transform: scale(1.1,1.1);
	}

	#formCadastrarEditarOrcamento .imagemProduto {
		display: none;
	}  
	#formCadastrarEditarOrcamento .nomeProduto {
		font-size: 11pt;
	}
	#formCadastrarEditarOrcamento .dosagemProduto, #formCadastrarEditarOrcamento .principioProduto {
		font-size: 9pt;
	}

	
}





@media (max-width: 480px) {
	.logo {
		max-width: 80%;
		margin-bottom: 10px;
	}
	.imgCategoria {
		width: 20vw;
		max-width: 70px;
	}
	.tbProdutosOrcamento th:nth-child(7), .tbProdutosOrcamento td:nth-child(7) {
		display: none;
	}
}



/* SM ≥ 576px */
@media (min-width: 576px) {
  .col-sm-1 { flex: 0 0 8.3333%; max-width: 8.3333%; }
  .col-sm-2 { flex: 0 0 16.6667%; max-width: 16.6667%; }
  .col-sm-3 { flex: 0 0 25%; max-width: 25%; }
  .col-sm-4 { flex: 0 0 33.3333%; max-width: 33.3333%; }
  .col-sm-5 { flex: 0 0 41.6667%; max-width: 41.6667%; }
  .col-sm-6 { flex: 0 0 50%; max-width: 50%; }
  .col-sm-7 { flex: 0 0 58.3333%; max-width: 58.3333%; }
  .col-sm-8 { flex: 0 0 66.6667%; max-width: 66.6667%; }
  .col-sm-9 { flex: 0 0 75%; max-width: 75%; }
  .col-sm-10 { flex: 0 0 83.3333%; max-width: 83.3333%; }
  .col-sm-11 { flex: 0 0 91.6667%; max-width: 91.6667%; }
  .col-sm-12 { flex: 0 0 100%; max-width: 100%; }
}

/* MD ≥ 768px */
@media (min-width: 768px) {
  .col-md-1 { flex: 0 0 8.3333%; max-width: 8.3333%; }
  .col-md-2 { flex: 0 0 16.6667%; max-width: 16.6667%; }
  .col-md-3 { flex: 0 0 25%; max-width: 25%; }
  .col-md-4 { flex: 0 0 33.3333%; max-width: 33.3333%; }
  .col-md-5 { flex: 0 0 41.6667%; max-width: 41.6667%; }
  .col-md-6 { flex: 0 0 50%; max-width: 50%; }
  .col-md-7 { flex: 0 0 58.3333%; max-width: 58.3333%; }
  .col-md-8 { flex: 0 0 66.6667%; max-width: 66.6667%; }
  .col-md-9 { flex: 0 0 75%; max-width: 75%; }
  .col-md-10 { flex: 0 0 83.3333%; max-width: 83.3333%; }
  .col-md-11 { flex: 0 0 91.6667%; max-width: 91.6667%; }
  .col-md-12 { flex: 0 0 100%; max-width: 100%; }
}

/* LG ≥ 992px */
@media (min-width: 992px) {
  .col-lg-1 { flex: 0 0 8.3333%; max-width: 8.3333%; }
  .col-lg-2 { flex: 0 0 16.6667%; max-width: 16.6667%; }
  .col-lg-3 { flex: 0 0 25%; max-width: 25%; }
  .col-lg-4 { flex: 0 0 33.3333%; max-width: 33.3333%; }
  .col-lg-5 { flex: 0 0 41.6667%; max-width: 41.6667%; }
  .col-lg-6 { flex: 0 0 50%; max-width: 50%; }
  .col-lg-7 { flex: 0 0 58.3333%; max-width: 58.3333%; }
  .col-lg-8 { flex: 0 0 66.6667%; max-width: 66.6667%; }
  .col-lg-9 { flex: 0 0 75%; max-width: 75%; }
  .col-lg-10 { flex: 0 0 83.3333%; max-width: 83.3333%; }
  .col-lg-11 { flex: 0 0 91.6667%; max-width: 91.6667%; }
  .col-lg-12 { flex: 0 0 100%; max-width: 100%; }
}

/* XL ≥ 1200px */
@media (min-width: 1200px) {
  .col-xl-1 { flex: 0 0 8.3333%; max-width: 8.3333%; }
  .col-xl-2 { flex: 0 0 16.6667%; max-width: 16.6667%; }
  .col-xl-3 { flex: 0 0 25%; max-width: 25%; }
  .col-xl-4 { flex: 0 0 33.3333%; max-width: 33.3333%; }
  .col-xl-5 { flex: 0 0 41.6667%; max-width: 41.6667%; }
  .col-xl-6 { flex: 0 0 50%; max-width: 50%; }
  .col-xl-7 { flex: 0 0 58.3333%; max-width: 58.3333%; }
  .col-xl-8 { flex: 0 0 66.6667%; max-width: 66.6667%; }
  .col-xl-9 { flex: 0 0 75%; max-width: 75%; }
  .col-xl-10 { flex: 0 0 83.3333%; max-width: 83.3333%; }
  .col-xl-11 { flex: 0 0 91.6667%; max-width: 91.6667%; }
  .col-xl-12 { flex: 0 0 100%; max-width: 100%; }
}







@media print {    
    body {
        border-top: none;
		background-color: #fff;
    }
}