/* -------------------------
 * CUSTOM STYLES ADDED HERE
 * -------------------------
*/
body{ background-color: #ecf0f5 !important; }
/** Image Upload CSS (Input) */
.uploadField { width: 0.1px; height: 0.1px; opacity: 0; overflow: hidden; position: absolute; z-index: -1; }
.uploadField + label { color: white; background-color: #0a819c; display: inline-block; padding: 10px;}
.uploadField:focus + label, .uploadField + label:hover { background-color: #086176; }
.uploadField + label { cursor: pointer; /* "hand" cursor */ }
.uploadField:focus + label { outline: 1px dotted #000; outline: -webkit-focus-ring-color auto 5px; }
.uploadField + label * { pointer-events: none; }
/* Loading CSS */
div#loadingBody { top:0; left:0; position: absolute; z-index: 10000; width: 100%; height: 100%; background: #fff; cursor: wait; }
div#loadingBody i{ font-size: 100px; position: absolute; top: 50%; left: 50%; margin-left: -15px; margin-top: -15px; color: #000; }
/* /. Loading CSS	*/
/* Attachments */
.mailbox-attachment-icon { height: 132px; max-height: 132px;}
.mailbox-attachment-icon a{ color: #666; height: 132px; }
.has-img a { display: -webkit-flex; /* Safari */ -webkit-align-items: center; /* Safari 7.0+ */ display: flex; align-items: center; }
.has-img img{ max-height: 132px; align-items: center; margin: 0 auto;}
.mailbox-attachment-name { 
	word-wrap: break-word; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; 
	line-height: 16px; /* fallback */ height: 32px; /* fallback */ 
	-webkit-line-clamp: 2; /* number of lines to show */ 
	-webkit-box-orient: vertical; margin-bottom: 5px;
}
.mailbox-attachments li { margin-right: 0; border: 0px; }
.mailbox-attachments div.wrapper-attachment { border: 1px solid #eee; margin-right: 5px; }
/* Attachments margins correction */
@media (min-width: 992px) {
	.mailbox-attachments li:nth-child(3n) div.wrapper-attachment { margin-right: 0px; }
}
@media (max-width: 991px) {
	.mailbox-attachments li:nth-child(2n) div.wrapper-attachment { margin-right: 0px; }
}
/* /. Attachments	*/
/* Fix table width */
table.fix_table_big { min-width: 700px; }
table.fix_table_class { min-width: 600px; }
table.fix_table_small { min-width: 450px; }
table.fix_table_smaller { min-width: 380px; }
table.fix_table_extra_small { min-width: 320px; }
td.rm_border { border: 0 !important; }
div.dataTables_filter input { width: auto !important; }
div.fix_scroll_y div.dataTables_scrollHead div.dataTables_scrollHeadInner, div.fix_scroll_y div.dataTables_scrollHead div.dataTables_scrollHeadInner table { width: 100% !important; }
div.fix_scroll_y div.dataTables_scrollBody table{ width: 100% !important; }
/* Fix table filter for small screens
@media (max-width: 768px) {
	div.dataTables_filter input {
		width: auto !important;
	}
} */
/* Enable table horizontal scroll for smaller screens */
@media (max-width: 1200px) {
	div.fix_table_scroll div.dataTables_wrapper{ overflow-x: scroll; }
	div.fix_table_scroll div.table_wrapper{ overflow-x: scroll; }
}
/* Something you can count on */
th.vertical-text { height: 120px; white-space: nowrap; vertical-align: middle; text-align: center; width: 25px;}
th.vertical-text > div { transform: rotate(270deg); width: 10px; }
.address_format { display:inline-table; }
/* Estilos da login page com listagem de fotos de perfil */
.login-block{ cursor: pointer; }
/* datepicker range*/
.daterangepicker.dropdown-menu, .datepicker.dropdown-menu { z-index: 10000 !important; }
/* buttons App hover/focus/active CSS Custom */
#tasks_block .box.box-solid > .box-header .btn:hover, .box.box-solid > .box-header a:hover { background: #f4f4f4 !important; }
#tasks_block .btn-app:active, #tasks_block .btn-app:focus, #tasks_block .btn-app:hover { color: #666; }
/* End Buttons App */
/* Smallbox Icons Disable Hide for XS */
@media (max-width: 767px) {
	.small-box .icon { display: inline !important; }
}
/**
 * Print CSS
 */
@media print {
	body, div { background-color: #FFF !important; }
    .no-print, .no-print * { display: none !important; }
    .print_col6 { width: 50% !important; }
    h1 { font-size: 17px !important; margin-bottom: 20px !important; }
    h2 { font-size: 15px !important; }
    h4 { font-size: 14px !important; }
    textarea { display: inline-table !important; border: 0px !important; }
    .alert { display: none !important; }
}
/* toTop Button */
#toTop{ opacity: 0.70; filter: alpha(opacity = 70); position: fixed; bottom: 15px; left: 15px; cursor: pointer; display: none; z-index: 10000;}
#toTop:hover{ opacity: 1; filter: alpha(opacity = 100); }
/* Sidebar */
.sidebar{ padding-bottom: 50px; }
/* Footer */
.main-footer { background-color: #ecf0f5 !important; }
.info-box-text{ font-size:0.85em; }
/* Thumbnails - Homepage Slider */
.image-wrapper-thumbnail { width: 100%; max-width: 300px; max-height: 200px; overflow: hidden; margin:auto;}
.thumbnail-homepage-slider-bo { border: none !important; }
.thumbnail-freguesia-caracterizacao-bo { border: none !important; }
.thumbnail-freguesia-heraldica-bo { border: none !important; }
.thumbnail-freguesia-historia-bo { border: none !important; }
.thumbnail-freguesia-heraldica-bo .image-wrapper-thumbnail { width: 100%; max-width: 200px; max-height: 200px; overflow: hidden; margin:auto;}
.thumbnail-autarquia-autarcas-bo { border: none !important; }
.thumbnail-autarquia-autarcas-bo .image-wrapper-thumbnail { width: 100%; max-width: 200px; max-height: 200px; min-height: 200px; overflow: hidden; margin:auto;}
.thumbnail-galerias-galerias-bo { border: none !important; }
.thumbnail-galerias-fotos-bo { border: none !important; }
.thumbnail-galerias-galerias-bo .image-wrapper-thumbnail { width: 100%; max-width: 300px; max-height: 180px; overflow: hidden; margin:auto;}
.thumbnail-galerias-fotos-bo .image-wrapper-thumbnail { width: 100%; max-width: 300px; max-height: 150px; overflow: hidden; margin:auto;}
/* Select2 Input Correction */
.select2-container--default .select2-selection--single, .select2-selection .select2-selection--single {	border: 1px solid #d2d6de !important; border-radius: 0 !important; padding: 6px 0px !important; height: 34px !important; }
/* Preview wrapper */
.preview-wrapper { padding: 10px; border: 1px dotted #dddddd;}
/* Correcting labels size */
.label-btn-size-vcenter { height: 34px !important; padding-top: 5px !important; padding-bottom: 5px !important; margin-bottom: 0px !important;}
.error-page-wrapper { margin-left: 0px !important; }
.cabecalho-titulo { padding: 20px 20px; font-weight: bold; }
.cabecalho-btn { padding: 15px 20px; }
#btn-custom { color: #444 !important; background-color: #f4f4f4 !important; border: 1px solid #ddd !important;}
#btn-custom:hover { background-color: #e7e7e7 !important; border-color: #adadad !important;}
#btn-custom-blue { color:white !important; border: 1px solid #367fa9 !important; background-color: #3c8dbc;}
#btn-custom-blue:hover { color: white !important; background-color: #367fa9 !important; border: 1px solid #204d74 !important;}
#btn-custom-green { color:white !important; border: 1px solid #008d4c !important; background-color: #00a65a !important;}
#btn-custom-green:hover { color: white !important; background-color: #008d4c !important; }
#btn-custom-red { color:white !important; border: 1px solid #d73925 !important; background-color: #dd4b39 !important;}
#btn-custom-red:hover { color: white !important; background-color: #d73925 !important; }
input#btn-custom-red { color: white !important; border: 1px solid !important; background-color: #d73925 !important; }
input#btn-custom-red:hover { color:white !important;  background-color: #dd4b39 !important; }
#btn-custom-yellow { color:white !important; border: 1px solid #e08e0b !important; background-color: #f39c12 !important;}
#btn-custom-yellow:hover { color: white !important; background-color: #e08e0b !important;}
.filter-box { margin-bottom: 0px; background-color: #bbb; }
.filter-box > input { margin-left: 0px !important; }
.search-box { margin-bottom: 5px; }
.search-label{ font-size: 12px;	font-family: 'Source Sans Pro', 'Helvetica Neue', Helvetica, Arial, sans-serif;	font-weight: bold; padding-right: 5px;padding-left: 5px; }
.search-align {	color: #fff; padding-right: 5px; padding-left: 5px; }
.table-head { color: #545454; background-color: #E8E8E8 !important; }