.view-mode-embed .field-items.image-gallery .field-item {
    flex: 1 25%;
}

.view-mode-apache_solr_mode img.file-icon {
  width: auto;
}


/* normal table */
.region-content table thead th {
	border-bottom: 2px solid #888;
	border-right: 1px solid #FFF;
}
.region-content table thead {
	background-color: #DDD;
	color: #000;
}
.region-content table thead th:last-child {
	border-right: none;
}	
.region-content table th, .region-content table td {
	padding: 1px 5px 1px 5px;
}
.region-content table th {
	padding-top: 5px;
}

/* Colored headings */
.region-content table.colour thead th {
	border-bottom: 5px solid #034ea2;
}
.region-content table.colour thead {
	background-color: #21ade4;
	color: #fff;
}
	
/* Sortable table */
.region-content table.sortable th.header {
	background: url('data:image/gif;base64,R0lGODlhFQAJAIAAACMtMP///yH5BAEAAAEALAAAAAAVAAkAAAIXjI+AywnaYnhUMoqt3gZXPmVg94yJVQAAOw==') no-repeat center right;
	cursor: pointer;
	
}
.region-content table.sortable th {
	padding-right: 20px;
}
.region-content table.sortable th.headerSortUp, .region-content table.sortable th.headerSortDown {
	background-color: #AAA;
}
.region-content table.sortable th.headerSortUp {
	background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAECAMAAABWQ4SaAAAABlBMVEXc0s////8dPpHgAAAAAnRSTlP/AOW3MEoAAAAcSURBVHgBY2CEAAYwgPMYkYQRHEaEMBKbERsTAAssAEVfxOs9AAAAAElFTkSuQmCC')
}
.region-content table.sortable th.headerSortDown {
	background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAECAMAAABWQ4SaAAAABlBMVEXc0s8AAAAdgLfyAAAAAnRSTlP/AOW3MEoAAAAbSURBVHgBY2BEAAYkFoLJwIBFHgRgbIQgkjAADPQARXvRBgoAAAAASUVORK5CYII=');
}

/* Sortable coloured */

.region-content table.sortable.colour th.headerSortUp, .region-content table.sortable.colour th.headerSortDown {
	background-color: #034ea2;
}

/* Searchable table */
.filterBox {
	margin-bottom: 10px;
	margin-top: 10px;
}

/* Anchors hack */
.region-content a[name]:not([href]) {
    margin-top:-55px;
    padding-top:55px;
}

/* Footnotes */ 
.region-content div.footnotes {
  border-top: 1px dotted #888;   
  padding-top: 8px;
  font-size: .8em;
}
.region-content div.footnotes a, .region-content div.footnotes p {
  color: #555;
  font-weight: normal !important;
}   
