@media(min-width: 979px){
.aui .modal{ 
 	position: fixed; 
    left: 50% !important; 
    width: 550px !important; 
    padding: 15px; 
    -webkit-transform: translate3d(0%, 0, 0); 
        -ms-transform: translate3d(0%, 0, 0); 
         -o-transform: translate3d(0%, 0, 0); 
            transform: translate3d(0%, 0, 0); 
}	
.aui .agenda-data-picker{ 
	margin-left: 29.5%; 
    margin-right: 29.5%;
    margin-top: auto;
    margin-bottom: auto;
} 
}

@media (max-width: 979px) and (min-width: 768px){
	.aui .btn {
	    margin-top: 0px;
	    padding: 4px 12px;
	    width: auto;
	    font-size: 14px;
	}

.aui .agenda-data-picker{ 
	margin-left: 30%; 
    margin-right: 30%;
    margin-top: auto;
    margin-bottom: auto;
}
}

@media (max-width: 767px){
.aui [class*="span"], .aui .uneditable-input[class*="span"], .aui .row-fluid [class*="span"] {
	float: none;
    display: flex;
    width: 100%;
    margin-left: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
	
.aui .modal{
    width: auto;
    left: 50%;
    right: initial;
    margin-left: -190px;
}
.aui .agenda-data-picker{ 
	margin-left: auto;
    margin-right: auto;
    margin-top: auto;
    margin-bottom: auto;
}

    .aui .btn {
    padding: 4px 12px;
    font-size: 14px;
    width: auto;
    margin-top: 0px;
}

}

.aui table {
    width: 100%;
}

.aui .input-append .add-on, .aui .input-prepend .add-on {
	height:auto;
	margin-top: auto;
}

.modal-body{ 
	overflow-y: unset !important; 
} 

.aui .modal.fade.in {
    top: 2%;
}    
 
.align-items-center{ 
	display: flex !important; 
	/*align-items: center !important;*/ 
} 
 
 
.aui legend{ 
	border-bottom: none; 
	/*align-items: center !important;*/ 
} 
 
 
.sf-calendario--dia--cabecalho { 
	font-weight: bold; 
	text-align: center;
} 
 
 
.sf-calendario--dia { 
	position: relative; 
	text-align: center; 
	border-color: #d8d8a7; 
    border-width: thin; 
    border-style: solid; 
    font-weight: 500; 
    align-items: center; 
	justify-content: center;
	height: 45px;
    width: 14.28%;
} 
@media (max-width: 767px){
	.sf-calendario--dia { 		
		height: 30px;
	} 
}
 
.sf-calendario--dia>a{ 
	color: #007bff; 
	text-decoration: none; 
} 
 
.sf-calendario--dia>a:hover{ 
	text-decoration: none; 
} 
 
.sf-calendario--dia-vazio{ 
	border-color: white; 
    border-width: none; 
    border-style: none; 
} 
 
td.sf-calendario--dia--sessao:hover { 
	background-color: #f1f1f1; 
	cursor: pointer; 
} 
 
 
.sf-calendario--lista--sessoes { 
	margin: auto !important; 
} 
 
.sf-calendario--lista--sessoes--item { 
	width: 10px; 
    height: 10px; 
    border-width: 0; 
    border-radius: 3px; 
    display: inline-block; 
    margin-left: 3px; 
    margin-top: 10px; 
}

.sf-calendario--lista--sessoes--itens{
	font-size: 12px;
} 
 
.sessao--CN{ 
	background-color: #304f9f; 
    border-color: #304f9f; 
} 
 
.sessao--CD{ 
	background-color: #4db848; 
    border-color: #4db848; 
} 
 
.sessao--SF{ 
	background-color: #00afed; 
    border-color: #00afed; 
}

.agenda-link-modal{ 
 	background-color: #0094da;
    text-decoration: none;
    font-family: 'Open Sans', sans-serif;
    color: white !important;
    padding: 10px;
    padding-top: 2px;
    padding-bottom: 2px; 
}

.aui .agenda-casas-legislativas-portlet .ajax-carregando {
	opacity: 0.8;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1040;
	background-color: black;
	width: 100%;
	height: 100%;
}

.aui .agenda-casas-legislativas-portlet .ajax-container {
    position: inherit;
}

.aui .agenda-casas-legislativas-portlet .ajax-carregando>div {
	display: table;
	width: 100%;
	height: 100%;
}

.aui .agenda-casas-legislativas-portlet .ajax-carregando>div>div {
	display: table-cell;
	text-align: center;
	vertical-align: middle;
} 
 

 
/* código geral para a tabela div */ 
 
.cn-agenda-casas-tabela { 
	display: table; 
	width: 100%; 
} 
 
.cn-agenda-casas-tabela-container {
	max-width: calc(100vw - 60px);
	overflow-x: auto;
}
.cn-agenda-casas-tabela-linha { 
	display: table-row; 
	border-top: 1px solid #DDD; 
} 
/* .cn-agenda-casas-tabela-linha:nth-child(odd) { */ 
/*    background-color: #EEE; */ 
/* } */ 
.cn-agenda-casas-tabela-cabecalho { 
	background-color: #EEE; 
	display: table-header-group; 
	font-weight: bold; 
} 
 
.cn-agenda-casas-tabela-celula, .cn-agenda-casas-tabela-cabecalho { 
	display: table-cell; 
	padding: 3px 10px; 
	line-height: normal; 
	vertical-align: top; 
	border-top: 1px solid #DDD; 
} 
 
.cn-agenda-casas-tabela-rodape { 
	background-color: #EEE; 
	display: table-footer-group; 
	font-weight: bold; 
} 
 
.cn-agenda-casas-tabela-corpo { 
	display: table-row-group; 
}
 
/* ajustes especiais para a tabela da agenda */ 
.aui .agenda-casas-legislativas-portlet .cn-agenda-casas-hora.cn-agenda-casas-tabela-celula { 
	font-size: 30px; 
	width: 75px; 
} 
 
.aui .agenda-casas-legislativas-portlet .cn-agenda-casas-hora small { 
	font-size: 20px; 
} 
 
.aui .agenda-casas-legislativas-portlet .cn-agenda-casa-hora-descricao { 
	font-size: 12px; 
} 
 
.aui .agenda-casas-legislativas-portlet .cn-agenda-casas-orgao { 
	font-size: 18px; 
	font-weight: bold; 
	width: 100px; 
	text-align: center; 
} 
 
.aui .agenda-casas-legislativas-portlet .cn-agenda-casas-descricao { 
	max-height: 40px; 
	overflow-y: scroll; 
} 
 
.agenda-escolha-casa__no-congresso{ 
	background-color: #304f9f; 
    color: white; 
    padding-left: 5px; 
    padding-right: 5px; 
} 
 
.agenda-escolha-casa__na-camara{ 
	background-color: #4db848; 
    color: white; 
    padding-left: 5px; 
    padding-right: 5px; 
} 
 
.agenda-escolha-casa__no-senado{ 
	background-color: #00afed; 
    color: white; 
    padding-left: 5px; 
    padding-right: 5px; 
} 
 
.cn-lista-agenda-item--borda__congresso{ 
	border-left: 5px solid #304f9f; 
} 
 
.cn-lista-agenda-item--borda__camara{ 
	border-left: 5px solid #4db848; 
} 
 
.cn-lista-agenda-item--borda__senado{ 
	border-left: 5px solid #00afed; 
}