/* -------------------------
 * 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: fixed; z-index: 10000; width: 100%; height: 100vh; background: #fff; opacity: 0.5; cursor: wait; }
div#loadingBody i{ font-size: 50px; position: fixed; 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; 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; }
/* Autarcas correction */
.autarcas-bo-name { min-height: 60px; max-height: 60px; overflow: hidden; }
.video-wrapper-evento iframe{ width: 90% !important; height: auto !important; min-height: 250px;}
 .anexo-button-custom { margin-bottom: 10px; margin-right: 10px; }
