.titulo-pagina {
    background-color: #0c4769;
}
h5 {
	font-size: 14px;
	margin-top: 10px;
	margin-bottom: 10px;
	font-family: inherit;
	font-weight: 500;
	line-height: 1.1;
	color: #333;
}
p {
	color: #333;
}
html, body {
	height: 100% !important;
}
body {
	position: relative;
	font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 14px;
    line-height: 1.42857143;
    color: #333;
    background-color: #fff;
}

.container-geral {
    min-height: 100%;
    position: relative;
}
body .ui-datatable .ui-datatable-data>tr, .form-control, body .ui-inputfield, body .ui-selectonemenu, .col-form-label, .form-horizontal .ui-outputlabel, .ui-selectonemenu > label.ui-selectonemenu-label, .btn, body .ui-button, .menu-navbar, .navbar-brand, .dropdown-menu, body .ui-widget {
    font-size: 15px;
}
body .ui-datatable .ui-datatable-data > tr.bg-light-pl {
	background-color: #FCEFEF;	
}
body .ui-datatable .ui-datatable-data > tr.bg-light-pl:hover {
	background-color: #DDDDDD;
}

.navbar {
    position: relative;
    min-height: 50px;
    margin-bottom: 20px;
    border: 1px solid transparent;
 }
.navbar-brand.nav-link {
	font-weight: bold;
	padding: 0.5rem 1rem 0.5rem 0;
}
.navbar-dark .navbar-nav .nav-link {
	background-color: #0c4769 !important;
}
@media (min-width: 768px) {
	.navbar-right {
    	justify-content: flex-end;
    	flex-grow: 1;
	}	
}
#in_tipo_doc {
    width: 210px;
    height: 34px;
}
.btn-container {
	display: flex;
    padding: 0 5px;
    flex-wrap: wrap;
    margin-bottom: 0;
}
.btn-al-primefaces, body .ui-button {
    background-color: #0c4769;
    border-color: #104068;
    border-radius: 4px;
}
body .ui-button.ui-button-text-icon-left .ui-icon {
    top: 40%;
}
.ui-button-danger span {
    top: 50% !important;
}
body .ui-inputfield, body .ui-selectonemenu {
	border-radius: 4px;
}
.bg-dark {
 background-color: #0c4769 !important;	
}

body:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav) .content-wrapper, body:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav) .main-footer, body:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav) .main-header {
	margin-left: 0;
	padding: 0;
	border: 0;
}

.wrapper .content-wrapper {
    min-height: calc(100vh - 409px) !important;
}

body .ui-messages ul .ui-messages-error-detail, body .ui-messages ul .ui-messages-info-summary, body .ui-messages ul .ui-messages-warn-summary, body .ui-messages ul .ui-messages-error-summary, body .ui-messages ul .ui-messages-fatal-summary {
	word-wrap: anywhere;
}

.col-botao-acao, .col-botao-acao-pdf, .col-botao-acao-edit, .col-botao-acao-toogler {
    width: 35px;
}
/***********************************************************************************************************
ESTILIZAÇÃO LEIS ORGÂNICAS MUNICIPAIS
***********************************************************************************************************/
.m-enabled {
	font-weight: normal;
}
.m-disabled {
    color: #888;
    cursor: not-allowed;
    text-decoration: none;
}
.m-disabled:hover, .m-disabled:active, .m-disabled:visited, .m-disabled:focus {
    color: #888;
    cursor: not-allowed;
    text-decoration: none;
}
.col-acao {
   width: 50px;
}
/***********************************************************************************************************
ESTILIZAÇÃO RODAPÉ
***********************************************************************************************************/

.rodape-geral {
	width: 100%;
}

.rodape-secao-cabecalho {
	background-color: #E9E9E9;
	border-top: 1px solid #ddd;
	text-align: center;
	padding: 25px;
	/*margin-top: 20px;*/
}
.rodape-secao-rodape {
	border-top: 1px solid #ccc;
	height: 51px;
	background-color: #0c4769;
}
/* Estilização ícones das redes sociais */
.socialicons {
	padding: 0;
	margin: 0;
	line-height: 50px;
	list-style: none;
}
.socialicons li {
	display: inline;
}
.socialicons li a:hover {
	text-decoration: none;
}
.socialicons li a img {
	width: 30px;
	margin-right: 5px;
}
.rodape-secao-rodape .container-msg-compatibilidade {
	display: table;
	color: #fff;	
	height: 50px;
	text-align: right;	
}

.rodape-secao-rodape .container-msg-compatibilidade span {
	display: table-cell;
	vertical-align: middle;
}
@media (min-width: 768px) {
	.col-sm-6 {
    	float: left;
	}
}
@media (max-width: 767px) {
	.rodape-secao-rodape {
		height: auto;
		min-height: 50px;
	}
	.socialicons {
		text-align: center;
	}
	.rodape-secao-rodape .container-msg-compatibilidade {
		text-align: center;
		width: 100%;
		min-height: 50px;
		height: auto;
		
	}
	.rodape-secao-rodape .container-msg-compatibilidade span {
		text-align: center;
		padding: 10px;
	}
}

/******************************************************************************************************/
/* ESTILOS DO CABEÇALHO - AJUSTES DE POSIÇÃO E RESPONSIVIDADE - LOGO E MENU DE LOGIN                  */
/******************************************************************************************************/
.container {
    padding-right: 15px !important;
    padding-left: 15px !important;
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 576px) {
	.container, .container-sm {
		max-width: none;
	}
}
.content-wrapper {
	background-color: #fff;
}

@media (min-width: 768px) {
  .container {
    width: 100%;
  }
}
@media (min-width: 992px) {
  .container {
    width: 100%;
  }
}
@media (min-width: 1200px) {
  .container {
    width: 1170px;
  }
}

.row--login {
	padding: 10px 0px;
	margin: 0px;
}

.logotext {
	margin-left: 5px;
    line-height: 1.1em;
}

.logotext h2 {
	margin-bottom: 4px;	
}

.logotext h2 a {
    margin-bottom: 0px;
  	font-family: "Open Sans",Arial,Verdana,Helvetica,sans-serif;
	font-weight: bold;
	font-size: 33px;
	color: #333 !important;
	text-shadow: 1px 1px 3px #dadada;
	text-decoration: none;	
}

.logotext p {
	margin-bottom: 0px;
}

.logotext p a{
	font-size: 14px;
    color: #565656;
    text-decoration: none;	
}
    
.logincontainer input[type=submit] {
	background-color: #1e587d;
	border-color: #1e587d;
}

.logincontainer, .logadocontainer{
	display: flex;
}
.logincontainer a, .logadocontainer a {
	color: #1e587d;
	padding-right: 16px;
	font-weight: bold;
}
.logincontainer a, .logadocontainer a {
	color: #1e587d;
	padding-right: 0;
}
.logincontainer a:hover, .logadocontainer a:hover {
	text-decoration: underline;
}
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 160px;
    padding: 5px 0;
    margin: 2px 0 0;
    font-size: 14px;
    text-align: left;
    list-style: none;
    background-color: #fff;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    border: 1px solid #ccc;
    border: 1px solid rgba(0,0,0,.15);
    border-radius: 4px;
    -webkit-box-shadow: 0 6px 12px rgba(0,0,0,.175);
    box-shadow: 0 6px 12px rgba(0,0,0,.175);
}
.dropdown-menu>li>a {
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: 400;
    line-height: 1.42857143;
    color: #333;
    white-space: nowrap;
 }
.dropdown-menu .divider {
    height: 1px;
    margin: 9px 0;
    overflow: hidden;
    background-color: #e5e5e5;
 }
 .dropdown-menu>li>a.link-sair {
    color: #0c4769 !important;
}
 .dropdown-menu>li:hover, .dropdown-menu>li>a:hover  {
    text-decoration: none;
    background-color: #f9f9f9;
}
.col--logo {
	display: flex;
	align-items: center;
	padding: 0px;
}   
.col--login {
	display: flex;
    flex-direction: row-reverse;
    padding: 39px 0;
}
.col--logado {
	display: flex;
	flex-direction: row-reverse;
 	align-items: center;
 	padding: 39px 0;
}
.card--icos img {
    padding: 5px 27px;
}
@media (max-width: 767px) {
	.col--logo {
	   display: flex;
	   justify-content: center;
	   flex-direction: column;
	   border-bottom: 2px solid #ccc;
 	}

   	.logotext {
     	text-align: center;
      	margin: 0px;
      	padding-bottom: 0.4rem;  
   	}
    	
   	.col--login {
       justify-content: center;
       margin-top: 5px;
       padding: 0;
   	}
    	
   	.col--logado{
  		align-items: center;
  		justify-content: center;
  		padding: 3px 0px;
	}
	
  	.card--icos img {
   	 	padding: 3px 35px;
  	}
}
@media (max-width: 576px) {
 	.box-login {
		 padding: 0px;
		 margin: 0px;
		 display: flex;
		 flex-direction: column;
	}
  
 	.card--icos img {
		padding: 1px 20px;
  	}
}

/***********************************************************************************************************
INÍCIO ESTILIZAÇÃO VIEW PDFs (Constituições Federal e Estadual)
***********************************************************************************************************/
.view-pdf-constituicao {
	width: 95%;
	display: block;
	height: 1130px;
	margin: 25px auto;
	border: 1px solid #999;
}
@media (max-width: 767px) {
	.view-pdf-constituicao {
		height: 600px;
	}
}
.lista-menu {
	list-style: none;
}

.lista-contituicoes-municipais {
	margin: 0;
	padding: 0;
	padding-left: 15px;
	list-style: none;
}

/* Tabela gerada pelo componente h:selectOneRadio no formulário de cadastro de nova constituição  */

table.tabela-tipos td label {
	padding: 9px 7px;
	margin-right: 24px;
	display: inline;
}
.noheader.ui-datatable table thead {
    display: none;
}

body .ui-datatable thead th {
	text-align: center !important;
}

body .ui-datatable .ui-datatable-data>tr>td>label {
	display: inline;
}
body .ui-datatable-reflow.ui-expanded-row-content td {
	border: none;
}
table tr.ui-expanded-row-content.ui-widget-content td {
	padding: 10px 5px;
	min-height: 53px;
}
table tr.ui-expanded-row-content.ui-widget-content td:first-child {
	padding: 0;
	width: 45px;
}
table tr.ui-expanded-row-content.ui-widget-content td:last-child {
	/*padding: 0;*/
	width: 45px;
}
table tr.ui-expanded-row-content.ui-widget-content td:has(img) {
	width: 46px;
}
body .ui-datatable-reflow.ui-expanded-row-content td .ui-column-title   {
 	 display: none;
}
.ui-datatable-reflow .ui-datatable-data .ui-expanded-row-content thead .ui-column-title {
     display: inline;
}
label:not(.form-check-label):not(.custom-file-label) {
    font-weight: normal;
}

@media (min-width: 575.98px) {
	body .ui-datatable .ui-datatable-data>tr>td>label {
    	line-height: 1.4em;
	}
}
@media (min-width: 766px) {

}
@media (min-width: 1198px) {
	.ementa-1 {
		width: 40%;
		text-align: justify !important;
	}
	.ementa-2 {
		width: 41.05%;	
		text-align: justify !important;
	}

}
@media (max-width: 1198px) {
	table tr.ui-expanded-row-content.ui-widget-content td.col-botao-acao:first-child {
    	background: none !important;
   	}
}
@media (max-width: 640px) {
	.ui-datatable-reflow .ui-datatable-data td[role="gridcell"] .ui-column-title {
		font-weight: 700;
	}
	table tr.ui-expanded-row-content.ui-widget-content td:first-child {
		width: 100%;
	}
	table tr.ui-expanded-row-content.ui-widget-content td:last-child {
		width: 100%;
		border: none;
	}
	table tr.ui-expanded-row-content.ui-widget-content td:last-child.col-botao-acao-edit-toogler {
		display:none !important;
	}
	table tr.ui-expanded-row-content.ui-widget-content td:has(img) {
		width: 100% !important;
		text-align: center !important;
	}
	.col-botao-acao, .col-botao-acao-toogler {
		text-align: center !important;
	}
	.col-botao-acao, .col-botao-acao-pdf, .col-botao-acao-edit, .col-botao-acao-pdf-toogler, .col-botao-acao-edit-toogler, .col-botao-acao-toogler {
		width: 50% !important;
		clear: none !important;	
	}	
	.col-botao-acao-toogler {
		width: 100% !important;
	}
	span.ui-column-title:empty {
		display: none !important;
	}
		table tr.ui-expanded-row-content.ui-widget-content td:last-child:has(img), body .ui-datatable .ui-datatable-data > tr > td:last-child:has(img) {
		width: 100% !important;
	}
	body .ui-button.rounded-button.ui-button-icon-only {
    	height: 1.5rem;
    	width: 1.5rem;
    }
 	body .ui-icon {
    	font-size: 0.8rem;
    	padding: 10px 5px;
    }

    body .ui-chkbox .ui-chkbox-box .ui-chkbox-icon {
		margin-left: -0.8rem;
    	margin-top: -1.1rem !important;
	}  
	table tr.ui-expanded-row-content.ui-widget-content td.col-botao-acao:first-child {
		background-image: none !important;
	}  
}
body .ui-chkbox .ui-chkbox-box .ui-chkbox-icon {
	margin-top: -0.7rem
}
body .ui-datatable .ui-datatable-data > tr .ui-row-toggler.ui-icon-circle-triangle-e {
	background-image: url('../resources/img/ged/ico-portal-legislacao-plus-circle.svg');
    background-position: 0 3px;
    opacity: 0.5;	
}
table tr.ui-expanded-row-content.ui-widget-content td.col-botao-acao:first-child {
	background-image: url('../resources/img/ged/ico-portal-legislacao-reply.svg');
    background-position: 7px 17px;
    background-repeat: no-repeat;
    background-size: 70%;
    transform: rotateX(180deg);
    opacity: 0.5;
}

body .ui-datatable .ui-datatable-data > tr .ui-row-toggler.ui-icon-circle-triangle-e:before {
    content: " ";
}
body .ui-datatable .ui-datatable-data > tr .ui-row-toggler.ui-icon-circle-triangle-s {
	background-image: url('../resources/img/ged/ico-portal-legislacao-minus-circle.svg');
    background-position: 0 3px;
    opacity: 0.4;	
}
body .ui-datatable .ui-datatable-data > tr .ui-row-toggler.ui-icon-circle-triangle-s:before {
    content: " ";
}
.ui-tooltip {
	 font-size: 13px !important;
}

body .ui-button.rounded-button.ui-button-icon-only {
   	height: 1.5rem;
   	width: 1.5rem;
}
body .ui-button.ui-button-icon-only .ui-icon {
    font-size: 0.8rem;
    padding: 2px 2px;
}
