body {
	background-image: url("../img/layout/bg-site.jpg");
	background-position: 0 0;
	background-repeat: repeat;
	font-size: 12px;
	font-family: Tahoma,Arial,Helvetica,sans-serif;
	margin: 0;
	padding: 0;
}

/** Titulos **/

h1, h2, h3, h4, h5{
	background-color: #CCCCCC;
	border: 1px solid #AAA;
	border-radius: 7px;
	margin: 0;
	margin-top: 5px;
	margin-bottom: 5px;
	padding: 10px;
}

h3, h4, h5{

}

.flash-alerta-message{
	background-color: #fcf8e3;
	border: 1px solid #f1de7e;
	border-radius: 7px;
	font-size: 16px;
	font-weight: bold;
	color: #8a6d3b;
	padding: 10px
}

.flash-error-message, #flashMessage.error{
	background-color: #ecc;
	border: 1px solid red;
	border-radius: 7px;
	font-size: 16px;
	font-weight: bold;
	color: #e32;
	padding: 10px
}

#flashMessage, .flash-success-message {
	background-color: #b4edb4;
	border: 1px solid green;
	border-radius: 7px;
	font-size: 16px;
	font-weight: bold;
	color: green;
	padding: 10px
}

.flash-info-message {
	background-color: #cce5ff;
	border: 1px solid #b8daff;
	border-radius: 7px;
	font-size: 16px;
	font-weight: bold;
	color: #004085;
	padding: 10px
}

#container {
	margin: 0 auto;
	width: 1002px;
}

/** header **/

#header {
	height: 163px;
	position: relative;
	z-index: 100;
}

#header h1#titulo {
	background-image: url("../img/layout/logo.svg");
	background-size: 250px;
	background-repeat: no-repeat;
	background-color: transparent;
	background-position: left 40px;
	border: 0;
	margin: 0;
}

#titulo-nome-sistema {
	padding-top: 15px;
    margin-bottom: -20px;
}

#logo {
	min-width: 120px;
    height: 155px;
}

#top {
	clear: both;
}

#header h1 {
	background-position: 0 90%;
	background-repeat: no-repeat;
	margin-bottom: 0;
	padding: 16px 6px;
	width: 230px;
}

#header h1 a {
	display: block;
	height: 85px;
	overflow: hidden;
	text-indent: -9999px;
	white-space: nowrap;
	width: 230px;
}

#header h2#nome-sistema{
	background-color: transparent;
	border: 0;
	font-size: 20pt;
	float: right;
	margin: 30px 20px 10px;
	text-align: center;
	width: 500px;
}

#header #top #menu .aux {
	background-image: url("../img/layout/faixa-secoes.png");
	background-position: 0 100%;
	background-repeat: no-repeat;
}

#header #top #menu {
	background-image: url("../img/layout/degrade-menu.png");
	background-position: 50% 0;
	background-repeat: no-repeat;
}

#header #top #menu {
	display: block;
	height: 46px;
	padding-left: 8px;
	padding-top: 10px;
}

#header ul {
	padding: 0;
	margin: 0;
	height: 35px;
}

#header #topo-menu {
	height: 26px;
	padding-right: 8px;
	margin-right: 10px;
	position: absolute;
	width: 1002px;
	top: 0;
	/*border: 1px solid #000;*/
}

#header #topo-menu .esquerda {
	background-image: url("../img/layout/menu-topo-sprite.png");
	background-position: 100% 0;
	background-repeat: no-repeat;
	float: left;
	width: 8px;
	height: 26px;
	/*border: 1px solid red;*/
}

#header #topo-menu .menu {
	background-image: url("../img/layout/menu-topo-sprite.png");
	background-position: 0 -52px;
	background-repeat: repeat-x;
	display: inline-block;
	width: 986px;
	height: 26px;
	/*border: 1px solid blue;*/
}

#header #topo-menu .direita {
	background-image: url("../img/layout/menu-topo-sprite.png");
	background-position: 100% -26px;
	background-repeat: no-repeat;
	/*display: inline-block;*/
	float: right;
	width: 8px;
	height: 26px;
	/*border: 1px solid green;*/
}

#header #topo-menu .menu #itens-menu ul {
	list-style: none;
	text-align: right;
}

#header #topo-menu .menu #itens-menu ul li {
	display: inline-block;
	margin: 2px 5px;
}

#header #topo-menu .menu #itens-menu ul li a{
	color: #000;
	font-weight: bold;
	font-size: 11px;
}

#header #topo-menu .menu #itens-menu ul li a:hover{
	color: #CB0100;
	font-weight: bold;
	text-decoration: underline;
}

#header #topo-menu .menu #informacoes-usuario{
	width: 75%;
	float: left;
}

#header #topo-menu .menu #informacoes-usuario ul{
	list-style: none;
	width: 100%;
	white-space: nowrap;
	overflow: hidden;
}

#header #topo-menu .menu #informacoes-usuario ul li{
	display: inline-block;
	margin: 2px 5px;
}

#header #topo-menu .menu #itens-menu{
	width: 25%;
	float: right;
}

/** Corpo da Pagina **/

#content {
	clear: both;
	background-image: url("../img/layout/sombra-tudo.png");
	background-position: 0 0;
	background-repeat: repeat-y;
	padding: 5px 15px 21px;
	position: relative;
	margin-top: 35px;
}

#home, .fundo-logo-detran{
        min-height: 400px;
	background: linear-gradient(to bottom, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.9) 100%); /* url("../img/layout/LogoPCMG_DetranMG_transparente.png") ; */
	background-size: 300px;
	background-repeat: no-repeat;
	background-position: center center;
/*
        background-color: transparent;
        background-image: url("../img/layout/LogoPCMG_DetranMG_transparente.png");
        background-position: center center;
        background-repeat: no-repeat;
        background-size: 300px;
*/
}

a, a outras-acoes {
	color: #CB0100;
	font-weight: normal;
	text-decoration: none;
}

.alinhar-esquerda{
    text-align: left;
}

.alinhar-direita{
    text-align: right;
}

.alinhar-centro{
    text-align: center;
}

.alinhar-justificado{
    text-align: justify;
}

.negrito {
	font-weight: bold;
}

.oculto{
	display: none;
}

.texto-positivo{
	color: green;
}

.texto-negativo{
	color: red;
}

.texto-alerta{
	color: orangered;
}

tr.linha-negativo > td, .legenda-negativo{
	background-color: #FF3333 !important;
}

.legenda-negativo{
	background-color: #FF3333; 
	display: inline-block; 
	width: 16px
}

/** Botões **/

table .btn-link-botao, table td.acoes a, div.acoes .btn-link-botao, span.acoes .btn-link-botao, div.submit a, .acao-voltar, .btn-link-botao, .btn {
	background: #efefef;
	border-color:#999;
	border-radius: 4px;
	border-style:solid;
	border-width:1px;
	color: #000;
	display: inline-block;
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fdfdfd', endColorstr='#e7e7e7',GradientType=0 );
	font-size: 12px;
	margin: 3px;
	min-width: 70px;
	padding: 4px;
	text-align: center;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	cursor: pointer;
}

table .btn-link-botao:hover, table td.acoes a:hover, div.acoes .btn-link-botao:hover, span.acoes .btn-link-botao:hover, .acao-voltar, .btn-link-botao:hover {
	color: #333333;
}

table .btn-link-botao-desabilitado {
	background: #efefef !important;
	border-color: #AAA !important;
	border-radius: 4px;
	border-style:solid;
	border-width:1px;
	color: #AAA  !important;
	cursor: default;
	display: inline-block;
	font-size: 12px;
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fdfdfd', endColorstr='#fdfdfd',GradientType=0 ) !important;
	min-width: 70px;
	padding: 3px;
	margin: 3px;
	text-align: center;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
}

/** tabelas **/

table.padrao {
	width: 100%;
}

table.padrao th {
	background: #bbb;
	border-bottom: 2px solid #555;
	padding: 8px;
}

table.padrao th a{
	color: #000;
	font-weight: bold;
}

table.padrao th a.asc:after {
	content: ' ⇣';
}

table.padrao th a.desc:after {
	content: ' ⇡';
}

table.padrao td {
	padding: 4px 8px;
	/*text-align: left;*/
	/*font-family: Monaco, Consolas, "Courier New", monospaced;*/
}

table.padrao tr td {
	background: transparent;
	padding: 6px;
	/*text-align: left;*/
	vertical-align: top;
	border-bottom: 1px solid #ddd;
}
table.padrao tr:nth-child(2n) {
	background: #f5f5f5;
}

table.padrao caption {
	margin-top: 5px;
	padding: 9px;
	font-size: 14px;
	font-weight: bold;
	background: #bbb;
	border-bottom: 2px solid #555;
}

table tr.linha-selecionada > td{
	background-color: transparent !important;
	background-color: #AAA !important;
}

/** Ações **/
span.acoes{
	float: right;
	margin-top: -4px;
}

span.acoes a{
	font-size: 14px !important;
	font-weight: bold;
	margin-right: 0 !important;
	padding: 5px !important;
}

div.acoes{
	text-align: right;
}

div.outras-acoes{
	text-align: center;
}

div.acao-voltar {
	margin-left: 234px;
}

/** Paginação **/
.pagination span{
	border: 1px solid #BBBBBB;
	border-left: 0px;
	color: #BBBBBB;
	display: inline-block;
	margin: 0;
}

.pagination span:nth-child(2){
	margin-left: -4px;
}

.pagination span.prev{
	border: 1px solid #BBBBBB;
}

.pagination span.current, .pagination span.disabled{
	padding: 7px 14px;
}

.pagination span a{
	color: #000;
	display: inline-block;
	text-align: center;
	padding: 7px 14px;
}

.pagination span:hover{
	background-color: #CCCCCC;
}

.pagination span:last-child{
	border-radius: 0 7px 7px 0;
	margin-left: -5px;
}

.pagination span:first-child{
	border-radius: 7px 0 0 7px;
	margin-left: 3px;
}

/** footer **/
html > body #footer {
	height: auto;
	text-align: right;
	font-size: 8pt;
}

#footer {
	background-image: url("../img/layout/sombra-footer.png");
	background-position: 0 0;
	background-repeat: repeat-y;
}

#footer {
	clear: both;
	padding: 15px 21px 5px;
	position: relative;
}

/** rodape **/

#rodape {
	height: 33px;
	min-height: 33px;
}

.IDVisual {
	clear: both;
	display: block;
	height: 30px;
	min-height: 30px;
	min-width: 1002px;
}

#rodape .interno-rodape {
	background-image: url("../img/layout/id-visual-inf.png");
	background-position: 50% 0;
	background-repeat: no-repeat;
}

.IDVisual .interno-rodape {
	height: 29px;
	line-height: 30px;
	margin: 0 auto;
	overflow: hidden;
	padding: 2px 21px;
	width: 960px;
}

.IDVisual * {
	background: none repeat scroll 0 0 transparent;
	border: medium none;
	font-family: "Trebuchet MS",Arial,Helvetica,sans-serif;
	font-size: 10px;
	margin: 0;
	padding: 0;
}

/** LOGS **/
table.cake-sql-log, table.broker-log, table.saus-log {
	border: 0;
	width: 100%;
}

.cake-sql-log th, .broker-log th, .saus-log th {
	background: #bbb;
	border-bottom: 2px solid #555;
}

.cake-sql-log td, .broker-log td, .saus-log td {
	padding: 4px 8px;
	text-align: left;
	font-family: Monaco, Consolas, "Courier New", monospaced;
}

.cake-sql-log tr td, .broker-log tr td, .saus-log tr td {
	background: #fff;
	padding: 6px;
	text-align: left;
	vertical-align: top;
	border-bottom: 1px solid #ddd;
}
.cake-sql-log tr:nth-child(2n) td, .broker-log tr:nth-child(2n) td, .saus-log tr:nth-child(2n) td {
	background: #f5f5f5;
}

.cake-sql-log caption, .broker-log caption, .saus-log caption {
	color:#aaa;
	font-weight: bold;
	background-color: #000;
}

.imagens-anexas{
	display: table;
}

.imagem-anexa{
	float: left;
	margin-right: 5px;
	width: 150px;
}

.bloco-em-linha {
	display: inline-block;
}