html {
	height: 100%;
	overflow: hidden;
}

body {
	height: 100%;
	margin: 0;
	padding: 0;
	font-size: 11pt;
}

* {
	font-family: Arial, sans-serif;
}

input[type=text], 
textarea, 
select {
	font-size: 80%;
}

input[type=text] {
	height: 18px;
}
/* veja ext/bootstrap/css/bootstrap-embedded.css */
bootstrap-embedded input[type=text] {
	height: inherit;
} 

select, 
select[multiple][size='1'] {
	height: 22px;
}

select[multiple],
select[size] {
	height: auto;
}


p {
	margin: 0;
	padding: 0;
}

pre {
	font-family: sans-serif;
	font-size: 10pt;
	margin: 0;
}


.twfc-input {
	padding-left:2px !important;
	border-style: solid;
	border-width: 1px;
	margin: 0;
}

.twfc-output {
	line-height: 22px;
}

/** TODO jogar isso pra paleta de cores **/
.twfc-input[treadonly=true], [treadonly=true] .twfc-input {
	border: 1px solid #D7D7D7;
}

/** TODO jogar isso pra paleta de cores **/
.twfc-input[tdisabled=true], [tdisabled=true] .twfc-input  {
	border: 1px solid #DDD;
	color: #B7B7B7;
	background-color: #FFF;
}

/** TODO jogar isso pra paleta de cores **/
.box-shadow {
	box-shadow: 2px 2px 2px #ccc;
	-webkit-box-shadow: 2px 2px 2px #ccc;
	-moz-box-shadow: 2px 2px 2px #ccc;
}


[twfc-focused=true] {
	z-index:1 !important;
}

.loading {
	background:url(../images/loading.gif) no-repeat 50% 50%;
	/* quebrou o loading dos titulos do tabbox: elas ficam grandes */
/* 	min-height: 50px !important; para que o gif não seja cortado */
}

.inline-loading {
	background: url(../images/inline-loading.gif) no-repeat center;
}
.inline-loading > * {
	visibility: hidden;
}


.columns-layout > div {
	float: left;
	margin-right: 10px;
}

.columns-layout:after {
	content:"";
	clear:both;
	visibility:hidden;
	height:0;
	display:block;
}

.disable-user-select {
	-moz-user-select: none;
	-webkit-user-select: none;
	user-select: none;
}

/********************************************************************************************************************** 
* FreemarkerContext 
***********************************************************************************************************************/

.freemarker-context {
	position: relative;
}

.freemarker-context a {
	color: #B91D1D;
}

.freemarker-context .close {
	position: absolute;
	top: 10px;
	right: 10px;
}

.freemarker-context .info {
	position: absolute;
	top: 20px;
	left: 0;
	z-index: 999;
	background-color: #FFF;
	padding: 10px;
	box-shadow: 0 0 15px 2px rgba(183, 183, 183, 0.75);
}

.freemarker-context.closed .info {
	display: none;
}

	
/********************************************************************************************************************** 
* Modo impressão 
***********************************************************************************************************************/

@media print {
	/* Não queremos imprimir sombras */
	* {
		box-shadow: none !important;
	}
	
	/* Não queremos imprimir nenhuma toolbar*/
	.toolbar {
		display: none !important;
	}
}


/********************************************************************************************************************** 
* screen lock and Loading
***********************************************************************************************************************/

.twfc-lock-screen {
	position: absolute !important;
	top: 0;
	right: 0;
	left: 0;
	bottom: 0;
	z-index: 10000;
	text-align: center;
}

.twfc-lock-screen.twfc-off-screen{
	background-color: rgba(0,0,0,0.2);
}

.twfc-spinner-holder {
	display: table-cell;
	margin: auto;
	vertical-align: middle;
}

.twfc-spinner-box {
	display: table;
	position: relative;
	width: 100%;
	height: 100%;
}

.twfc-highlight-yellow {
	animation-name: anim-highlight-yellow;
	animation-duration: 1s;
	animation-iteration-count: 1;
}
@keyframes anim-highlight-yellow {
	20% { background-color: #ffff99; }
}

.twfc-highlight-red {
	animation-name: anim-highlight-red;
	animation-duration: 1s;
	animation-iteration-count: 1;
}
@keyframes anim-highlight-red {
	20% { background-color: red; }
}