MediaWiki:Common.css

From softwear.directory
Revision as of 15:25, 27 January 2024 by Admin (talk | contribs)
Jump to navigation Jump to search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* CSS placed here will be applied to all skins */

/* White background in body */
@font-face {
  font-family: 'HALColant-TextRegular';
  src: url('/fonts/HALColant-TextRegular.woff2') format('woff2'),
       url('/fonts/HALColant-TextRegular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}
body {
	background-color: white;
	transition: background-color 1s ease;
	font-family: HALColant-TextRegular;
}
html {
    scrollbar-width: none; /* Firefox */
}
::-webkit-scrollbar {
    display: none;
}
/* Mediawiki search results */
.mw-search-profile-tabs {
	display: none;
}
#mw-searchoptions {
	display: none;
}

/* Mediawiki horizontal navigation styles */
#mw-head {
    background-color: white;
	transition: background-color 1s ease;
	display: none;
}
#mw-page-base {
	background-color: white;
	transition: background-color 1s ease;
	background-image: none;
	display: none;
}
#mw-head-base {
	margin-left: 0!important;
}
.mw-body, #left-navigation, #mw-data-after-content, .mw-footer {
    margin-left: 0!important;
}

.mw-body {
    border: none;
    margin-left: 15px!important;
}
.mw-parser-output a.external {
background-image: none;
}
.smw-columnlist-container {
  position: absolute;
  top: 502px;
  width: 100%;
}
#catlinks {
    display: none;
}
#p-logo a {
    display: none;
}
.mw-footer {
    display: none;
}
a.mw-selflink {
font-weight: normal;
text-decoration: underline;
}
a.mw-selflink:hover {
font-weight: normal;
text-decoration: underline;
} 
.vector-body p
{
    margin-top: 0px!important;
    margin-bottom: 0px!important;
  }
/* ------>Start Style for header */
#header-container {
    display: flex;
    flex-wrap: wrap;
    margin: 0 auto;
}
.head-col {
    width: calc(20% - 0px);
    box-sizing: border-box;
    height: fit-content;
    padding: 0 7px;
    margin-bottom: 30px;
    font-size: 12pt;
    line-height: 25px;
    letter-spacing: 0.4px;
}
  
.head-col:not(:first-child) {
margin-left: -1px;

}

.head-col:nth-child(5n + 1) {
margin-left: 0;
transform: none;
}

.head-col:last-child {
margin-right: 0;
}
.head-col-extend {
    width: calc(40% - 0px);
    box-sizing: border-box;
    height: fit-content;
    margin-bottom: 30px;
    font-size: 12pt;
    line-height: 25px;
    letter-spacing: 0.4px;
    border-bottom: 1px solid black;
}
.head-box {
	border: 1px solid black;
}
.head-nav {
  padding-left: 15px;
  padding-top: 5px;
  line-height: 23px;
}
.head-links {
  padding-top: 5px;
}
.head-filter {
  padding-top: 5px;
  display: flex; /* Use Flexbox */
  justify-content: space-between;
  align-items: center; /* Align items vertically in the center */
}
.head-filter .filter,
.head-filter .buttons-filters {
    margin-right: 10px; /* Add some space between the items */
}
.toggle-filters.open-filter {
  background: none;
  border: none;
  font-size: 16px;
  line-height: 20px;
  font-family: 'HALColant-TextRegular';
  cursor: pointer;
}
.header-entry-number {
	line-height: 28px;
}
.header-authors-title {
  border-top: 1px solid black;
  line-height: 28px;
}
.header-authors-title a {
  color: black;
  text-decoration: none;
}
.header-authors-title a:hover {
  font-style: italic;
}
.header-type {
  border-top: 1px solid black;
  line-height: 28px;
}
.header-index a {
	cursor: pointer;
	color: black;
}
.header-index a:hover {
	color: black;
}
.header-people a{
	cursor: pointer;
	color: black!important;
}
.header-people a:hover{
	color: black;
}
.header-community a {
	cursor: pointer;
	color: black!important;
}
.header-community a:hover{
	color: black;
}
.header-date {
  color: gray;
}
.header-about a {
	cursor: pointer;
	color: black!important;
}
.header-about a:hover{
	color: black;
}
.about-hide {
  display: none;
}
.header-about:hover + .about-hide {
  display: block;
  color: black;
  font-size: 28px;
  line-height: 34px;
  letter-spacing: 1.4px;
  width: 200%;
  border-bottom: 1px solid black;
  padding-bottom: 5px;
  padding-top: 5px;
}
#about-container {
    display: flex;
    flex-wrap: wrap;
    margin: 0 auto;
    padding-bottom: 12%;
    position: absolute;
    top: 507px;
}
.about-col {
    width: calc(40% - 0px);
    box-sizing: border-box;
    height: fit-content;
    padding: 0 0 0 0;
    margin-bottom: 30px;
    margin-right: 15px;
}
.about-details-col {
    width: calc(18% - 0px);
    box-sizing: border-box;
    height: fit-content;
    margin-bottom: 30px;
    font-size: 10pt;
    line-height: 16px;
    letter-spacing: 0.4px;
    border-bottom: 1px solid black;
}
.about-details-label {
    border-top: 1px solid black;
    padding-top: 5px;
    margin-bottom: 0 !important;
    text-indent: 50px;
}
.about-details-text {
  margin: 3px 0 !important;
}
.about-main-text {
  text-indent: 100px;
  font-size: 23px;
  line-height: 31px;
  letter-spacing: 1.29px;
  margin-top: 0 !important;
}
.about-bullets {
	text-indent: 100px;
	padding-left: 100px;
}
.about-more-text {
  text-indent: 100px;
  font-size: 23px;
  line-height: 31px;
  letter-spacing: 1.29px;
  margin-top: 0 !important;
}
.about-label {
	font-size: 15px;
	line-height: 19px;
	letter-spacing: 0.48px;
	border-top: none!important;
	text-indent: 100px;
	margin-bottom: 0 !important;
}
.about-details-contact-label {
	font-size: 15px;
	line-height: 19px;
	letter-spacing: 0.48px;
	border-top: none!important;
	text-indent: 50px;
	margin-bottom: 0 !important;
}
.about-details-contact {
	font-size: 15px;
	line-height: 18px;
	text-indent: 50px;
	letter-spacing: 0.84px;
	margin-top: 0 !important;
}
/* End Style for header<------ */

#list.fade-out {
  position: absolute;
  width: 100%;
  height: 100%;
  background: white;
  opacity: 0.3;
}

.card {
    /*display: flex;  Use flexbox */
    /*align-items: center; Vertically center children */
    /*justify-content: start;  Align children to the start of the row */
    width: 100%; /* Full width */
}
.card:hover {
    
}

.card:not(:first-child) {
/*
  margin-left: -1px;
*/
}

.card:nth-child(5n + 1) {
/*
  margin-left: 0;
  transform: none;
*/
}

.card:last-child {
/*
  margin-right: 0;
  border-right: 1px solid black;
*/
}



 .mw-body .firstHeading {
    display: none;
}

#mw-panel {
    display: none;
}

.card div.people {
	border-top: 1px solid black;
	line-height: 23px!important;
	padding-top: 6px;
}
.people a {
	color: black;
	text-decoration: underline;
}
.people a:hover {
	font-style: italic;
	color: black;
}

.card div.entry-number {
	padding-bottom: 3px;
}
.card div.type {
	border-top: 1px solid black;
	padding-top: 5px;
}
.type a {
	color: black;
	text-decoration: none;
}
.type a:hover {
	font-style: italic;
	color: black;
}
.images {
	border-top: 1px solid black;
	padding-top: 5px;
	padding-bottom: 5px;
	display: flex; /* Use flexbox to align children in a row */
    flex-wrap: nowrap; /* Prevent wrapping to the next line */
}
.image1 {
    margin-right: 10px; /* Adjust the spacing between images */
	transition: transform 0.3s ease; /* Add transition for smooth scaling */
	transform-origin: top left; /* Set the transform origin */
}
.image1 img {
  display: block;
  width: auto;
  height: 75px;
}
.image2 {
    margin-right: 10px; /* Adjust the spacing between images */
	transition: transform 0.3s ease; /* Add transition for smooth scaling */
	transform-origin: top left; /* Set the transform origin */
}
.image2 img {
  display: block;
  width: auto;
  height: 75px;
}
.image3 {
    margin-right: 10px; /* Adjust the spacing between images */
	transition: transform 0.3s ease; /* Add transition for smooth scaling */
	transform-origin: top left; /* Set the transform origin */
}
.image3 img {
  display: block;
  width: auto;
  height: 75px;
}
.image1:hover,
.image2:hover,
.image3:hover {
  transform: scale(2); /* Increase the scale factor as needed */
}

/* Style the article window */
#show-article-wrapper {
    display: none;
    position: fixed; /* Change to fixed */
    top: 0;
    right: 0;
    width: 40%;
    height: 100vh; /* Set to full viewport height */
    overflow: auto; /* Enables scrolling if content overflows */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* Internet Explorer 10+ */
    z-index: 2; /* Ensure it's above #list */
    /*padding-left: 100px;*/
}
/* Hides scrollbar for Webkit browsers */
#show-article-wrapper::-webkit-scrollbar {
    display: none;
}
#show-article {
    background-color: white;
    border: 1px solid;
    padding: 0px 10px 0 10px;
    position: relative;
    top: 86px;
    right: 25px;
    margin-left: 35px;
}
#show-article-before {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #FFFFFF;
    border: 1px solid #080808;
    transition: all 0.3s ease;
    opacity: 0; /* Initially hidden */
    z-index: -1; /* Ensures it's under the main content */
}
#show-article:hover #show-article-before {
    opacity: 1; 
     scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* Internet Explorer 10+ */
}
/* Hides scrollbar for Webkit browsers */
#show-article::-webkit-scrollbar {
    display: none;
}
#article-frame {
    /* You can style #article-frame as needed */
}

.article-metadata {
    display: flex;
    border-bottom: 1px solid black;
    padding: 5px 0 5px 0;
}
.article-metadata-label {
	text-transform: uppercase;
	margin-bottom: 0 !important;
	margin-top: 5px!important;
	font-size: 15px;
	line-height: 23px;
	letter-spacing: 0.48px;
}
.article-metadata-value {
	text-transform: capitalize;
	font-size: 19px;
	line-height: 23px;
    letter-spacing: 0.6px;
    margin-top: 0 !important;
    margin-bottom: 7px !important;
}
.article-metadata-column:not(:first-child) {
    margin-left: 20px;
}

.article-metadata-column:nth-child(n+2) {
    margin-left: 10%;
}
.article-label-description {
	text-transform: uppercase;
	text-indent: 95px;
	padding-top: 5px;
	font-size: 15px;
	line-height: 23px;
	letter-spacing: 0.48px;
}
.article-label-image {
	text-transform: uppercase;
	text-indent: 95px;
	font-size: 15px;
	line-height: 23px;
	letter-spacing: 0.48px;
	padding-top: 5px;
}
.article-label-reflection {
	text-transform: uppercase;
	text-indent: 95px;
	padding-top: 5px;
	font-size: 15px;
	line-height: 23px;
	letter-spacing: 0.48px;
}
.article-label-quote {
	text-transform: uppercase;
	text-indent: 95px;
	font-size: 15px;
	line-height: 23px;
	letter-spacing: 0.48px;
	padding-top: 5px;
}
.article-label-modification-date {
	text-transform: uppercase;
    padding-top: 5px;
	text-indent: 95px;
	color: grey;
	display: inline-block;
	font-size: 15px;
	line-height: 23px;
	letter-spacing: 0.48px;
}
.article-entry-number {
	border-bottom: 1px solid black;
	font-size: 19px;
	line-height: 23px;
	letter-spacing: 0px;
	padding-bottom: 5px;
	padding-top: 7px;
}
.article-people {
  font-size: 25px;
  line-height: 30px;
  letter-spacing: 1.4px;
  text-decoration: underline;
  text-align: center;
  padding-top: 15px;
  margin-bottom: 5px!important;
}
.article-people a {
	color: black;
	text-decoration: underline;
}
.article-people a:hover {
	font-style: italic;
	color: black;
}
.article-title-link {
    border-bottom: 1px solid black;
	padding-bottom: 10px;
    display: flex; /* Use flexbox */
    flex-direction: column; /* Stack items vertically */
    align-items: center; /* Align items horizontally in the center */
    justify-content: center; /* Align items vertically in the center */
    text-align: center; /* Center the text */
}
.article-title {
  font-size: 25px;
  line-height: 30px;
  letter-spacing: 1.4px;
  text-align: center;
  margin-bottom: 0!important;
  margin-top: 0 !important;
  max-width: 70%;
}
.article-type {
  font-size: 19px;
  line-height: 23px;
  letter-spacing: 0.4px;
  border-bottom: 1px solid black;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding: 5px 0 5px 0;
}
.article-type a {
	color: black;
	text-decoration: none;
}
.article-type a:hover {
	font-style: italic;
	color: black;
}
.article-entity {
  font-size: 12pt;
  line-height: 25px;
  letter-spacing: 0.4px;
  margin-top: 0 !important;
}
.article-discipline {
  font-size: 12pt;
  line-height: 25px;
  letter-spacing: 0.4px;
  margin-top: 0 !important;
}
.article-subject {
  font-size: 12pt;
  line-height: 25px;
  letter-spacing: 0.4px;
  margin-top: 0 !important;
}
.article-images {
  border-bottom: 1px solid black;
  padding-bottom: 7px;
}
.article-image {
  position: relative;
}
.external-link-icon {
    display: flex; /* Use flexbox */
    align-items: center; /* Align items vertically in the center */
    justify-content: center; /* Center the content horizontally */
    width: 20px; /* Adjust the width as needed */
    height: 20px; /* Adjust the height as needed */
}

.external-link-icon img {
    width: 100%; /* Make the image fill the container */
    height: auto; /* Maintain aspect ratio */
}

.image-container {
    position: relative;
    display: inline-block; /* Adjusts to the size of the image */
}

.image-container img {
    display: block;
    max-width: 100%; 
    width: auto;
    height: 400px; 
}

.caption-image1, .caption-image2, .caption-image3, .caption-image4, .caption-image5 {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: black;
    padding: 10px;
    text-align: center;
    font-size: 25px;
    line-height: 28px;
    letter-spacing: 0.4px;
    font-style: italic;
    max-width: 100%;
    white-space: normal; /* Allow text wrapping */
    overflow: visible; /* Let the text be visible */
    text-overflow: ellipsis; /* Use ellipsis for text overflow */
    border-radius: 5px; /* Optional: for better appearance */
}

.image-container:hover .caption-image1,
.image-container:hover .caption-image2,
.image-container:hover .caption-image3,
.image-container:hover .caption-image4,
.image-container:hover .caption-image5 {
    display: block;
}

.article-description {
  font-size: 23px;
  line-height: 31px;
  letter-spacing: 1.29px;
  text-align: left;
  text-indent: 95px;
  border-bottom: 1px solid black;
}
.article-reflection {
  font-size: 23px;
  line-height: 31px;
  letter-spacing: 1.29px;
  text-align: left;
  text-indent: 95px;
  margin-top: 0 !important;
  border-bottom: 1px solid black;
  padding-bottom: 5px;
}
.article-quote {
  font-size: 30px;
  line-height: 31px;
  letter-spacing: 1.5px;
  font-style: italic;
  text-align: left;
  text-indent: 95px;
  margin-top: 0 !important;
  border-bottom: 1px solid black;
  padding-bottom: 5px;
}

.article-modification-date {
	color: grey;
	text-align: left;
	text-indent: 10px;
	margin-top: 0 !important;
	display: inline-block;
	padding-bottom: 5px;
	font-size: 15px;
	line-height: 23px;
	letter-spacing: 0.48px;
}

#related-articles {
	margin-top: 40px;
	margin-right: 22px;
	margin-left: 10px;
    padding-bottom: 20px;
    padding-top: 100px;
}
.related-articles-label {
    text-transform: uppercase;
	margin-bottom: 0 !important;
	text-indent: 95px;
}
.related-articles-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0; /* No gap between articles */
}
.related-article {
    width: calc(50% - 1px); /* Adjusted width */
    box-sizing: border-box;
    border: 1px solid black;
    height: fit-content;
    padding: 3px 10px 6px 10px;
    margin-bottom: 30px;
    font-size: 19px;
    line-height: 26px;
    letter-spacing: 0.95px;
    cursor: pointer;
}

.related-article:not(:first-child) {
    margin-left: -1px;
}

.related-article:nth-child(2n + 1) {
    margin-left: 0;
}

.related-article:last-child {
    margin-right: 0;
}
.related-article-entry-number {
	padding-bottom: 3px;
}
.related-article-people {
	text-decoration: underline;
	border-top: 1px solid black;
	line-height: 23px!important;
	padding-top: 6px;
}
.related-article-people a {
    color: black;
    text-decoration: underline;
}
.related-article a:hover {
	font-style: italic;
	color: black;
}
.related-article-title {
	
}
.related-article-type {
	border-top: 1px solid black;
}

.related-article-type a {
	color: black;
	text-decoration: none;
}
.related-article-type a:hover {
	font-style: italic;
	color: black;
}
#close-button {
	float: right; 
	cursor: pointer; 
	padding: 5px 0 0 0;
	font-size: 20px;
	line-height: 24px;
	letter-spacing: 0px;
}
/* End Style for article window<------ */
.footer {
    display: grid; 
    grid-template-columns: 1fr auto 1fr;
    align-items: center; 
    position: fixed;
    left: 0;
    bottom: 10px;
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    z-index: 11;
}

.suggestions {
  display: none!important;
}

.simpleSearch {
  grid-column: 1 / 2; 
  padding-left: 3%;

}
#simpleSearch {
    grid-column: 1 / 2; 
    text-align: left; 
    font-size: 19px;
    line-height: 26px;
    letter-spacing: 0.95px;
    font-family: 'HALColant-TextRegular';
    cursor: pointer;
}

#simpleSearch:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 400%;
  background-color: rgba(255, 255, 255, 0.7);
  z-index: -1;
  margin-left: -10%;
}

#searchInput,
.closing-bracket {
  display: none;
  border: none;
}

#simpleSearch:hover #searchInput {
  display: inline-block;
  border-bottom: 1px solid black;
  margin-left: -17px;
  padding-top: 5px;
}

#simpleSearch:hover .closing-bracket {
  display: inline-block;
}

.nrs {
    grid-column: 2 / 3; /* Position in the center column */
	text-align: center; 
}

/* Styling for Authors/Creators */
.smw-column {
	width: 20%!important;
}
.smw-column ul li {
	list-style: none;
}
.smw-column-header {
	font-weight:normal;
	border-bottom: 1px solid black;
    margin-right: 10px;
}
.smw-column ul {
  font-size: 16pt;
  line-height: 27px;
  letter-spacing: 0.4px;
  text-align: center;
  text-decoration: underline;
}
.smw-column a {
  color: black;
}

/* Styling for Community */
#community-list {
    -moz-column-count: 5;
    -webkit-column-count: 5;
    column-count: 5;
    -moz-column-gap: 10px;
    -webkit-column-gap: 10px;
    column-gap: 10px;
    position: absolute;
    top: 538px;
    width: 100%;
}

.community-card {
    font-size: 12pt;
    line-height: 25px;
    letter-spacing: 0.4px;
    display: inline-block;
    width: 97%;
    box-sizing: border-box;
    padding: 12px 0 20px 0;
    margin-bottom: -1px; /* Negative margin, same as border thickness */
    border-top: 1px solid black;
    border-bottom: 1px solid black;
    break-inside: avoid-column;
    z-index: 1; /* Ensures the card is above the bottom border of the card above */
    background: white; /* Assuming cards have a white background */
}

/* Removes top border from the first card in each column */
#community-list .community-card:first-of-type {
    border-top: none;
}

/* Adds top border to the very first card in the grid */
#community-list .community-card:first-child {
    border-top: 1px solid black;
}
.community-name {
  font-size: 25px;
  line-height: 34px;
  letter-spacing: 1.4px;
  text-align: center;
  text-decoration: underline;
}

.community-external-reference {
	text-align: center;
	font-size: 25px;
	line-height: 34px;
	letter-spacing: 1.4px;
	border-bottom: 1px solid black;
}
.community-external-reference a {
  color: white!important;
}
.community-external-reference a:hover {
  text-decoration: none;
}
.community-setting {
	font-size: 15px;
	line-height: 30px;
	letter-spacing: 0.48px;
	text-transform: uppercase;
	border-bottom: 1px solid black;
}
.community-location {
	font-size: 15px;
	line-height: 30px;
	letter-spacing: 0.48px;
	text-transform: uppercase;
	border-bottom: 1px solid black;
}
.community-type {
	font-size: 15px;
	line-height: 30px;
	letter-spacing: 0.48px;
	text-transform: uppercase;
	border-bottom: 1px solid black;
}
.community-domain {
	font-size: 15px;
	line-height: 30px;
	letter-spacing: 0.48px;
	text-transform: uppercase;
	border-bottom: 1px solid black;
}
.community-description p {
  text-indent: 50px;
  font-size: 19px;
  line-height: 26px;
  letter-spacing: 0.95px;
  margin: 0 !important;
}
.community-description-label {
  text-transform: uppercase;
  text-indent: 50px;
  font-size: 15px;
  margin: 0 !important;
  line-height: 30px;
}
#community-featured {
	display: none;
    position: relative; /* Ensure z-index works */
    z-index: 2; /* Higher than .card elements */
    width: calc(20% + 0px); /* Slightly wider */
    box-sizing: border-box;
    height: fit-content;
    margin-bottom: 30px;
    margin-left: -1px; /* Adjust for overlap */
    margin-right: -1px; /* Adjust for overlap */
    font-size: 12pt;
    line-height: 25px;
    letter-spacing: 0.4px;
}
.community-home-card {
  background: black;
  color: white;
  padding: 33px 10px 6px 10px;
}
.community-home-external-reference {
	text-align: left;
	font-size: 19px;
	line-height: 26px;
	letter-spacing: 0.95px;
	padding: 5px 0 5px 0;
	font-style: normal;
	border-bottom:	1px solid white;
}
.community-home-external-reference a {
  text-decoration: underline;
  color: white!important;
}
.community-home-text {
	font-size: 30px;
	line-height: 31px;
	font-style: italic;
	text-align: left;
	letter-spacing: 1.5px;
	padding: 5px 30% 5px 0;
	border-top:	1px solid white;
	border-bottom:	1px solid white;
}
.community-home-type {
	font-size: 19px;
	line-height: 23px;
	font-style: italic;
	text-align: left;
	letter-spacing: 0px;
	padding: 5px 0 5px 0;
}
.filtered .filtered-views {
    border: none;
    margin: 0;
}
.filtered .filtered-views .filtered-views-container {
    padding: 0;
}


/*previous #list*/
#list div.filtered-view.filtered-list {
	width: -moz-available;
	width: 100%;
}
div.filtered-view.filtered-list {
  display: flex;
  flex-wrap: wrap;
  margin: 0 auto;
  position: absolute;
  top: 310px;
}

/*previous .card*/
#list div.filtered-list-item {
    position: relative; /* Ensure z-index works */
    width: calc(20% - 0px);
    box-sizing: border-box;
    border: 1px solid black;
    height: fit-content;
    padding: 3px 10px 6px 10px;
    margin-bottom: 30px;
    font-size: 19px;
    line-height: 26px;
    letter-spacing: 0.95px;
    cursor: pointer;
}

#list div.filtered-list-item:not(:first-child) {
    margin-left: -1px;
    
}
  
#list div.filtered-list-item:nth-child(5n + 1) {
    transform: none;
}
  
#list div.filtered-list-item:last-child {
    margin-right: 0;
    border-right: 1px solid black;
}

/* Parent container styling */
.filtered {
    height: 100%;
    position: relative;
    width: 100%; /* Adjust as necessary */
}

.filtered .filtered-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between; /* Adjust as needed */
    width: calc(40% - 0px);
    display: none !important;
    margin: 0;
    margin-top: -160px;
    margin-right: 10px;
    float: right;
    border: none;
}

.filtered-filters .filtered-value {
    flex: 1 1 auto; /* Adjust to make child elements flexible */
    /* Add more styles if needed */
}

.filtered-filters .filtered-value .filtered-value-option {
  display: block;
  padding: 0 !important;
  white-space: nowrap;
  background: rgb(237, 237, 237);
  margin-bottom: 5px;
}
.filtered-filters .filtered-value .filtered-value-option input {
  margin-right: 6px;
}
.filtered-filters .filtered-value {
	border: none;
}
.filtered .filtered-filters .filtered-filter .filtered-filter-label {
  height: 1em;
  position: absolute;
  top: -.7em;
  background: #ffffff;
  padding: 0!important;
  font-weight: normal;
  text-transform: uppercase;
}
.filtered .filtered-filters .filtered-filter .filtered-filter-onoff {
  display: none;
}
.filtered .filtered-filters .filtered-filter .filtered-filter-collapse::before {
  top: -0.7em;
  margin: 0;
  background-color: #ffffff;
  width: 1.5em;
  float: right;
  position: absolute;
  right: 1em;
  text-align: center;
  cursor: pointer;
}
.filtered-filters .filtered-filter.filtered-value {
    margin-left: 0;
    padding-left: 0;
}
/* Media query for smaller screens */
@media (max-width: 600px) {
    .filtered .filtered-filters {
        justify-content: space-around; /* Adjust for smaller screens */
        width: calc(40% - 0px);
    }
    #list-list div.filtered-list-item {
	  width: 100%;
	}
}

input[type='checkbox'] {
  display: none;
}

input[type='checkbox']+div::before {
  content: "";
  display: inline-block;
  box-sizing: border-box;
}
input[type='checkbox']:checked+div::before {
  content: "[✔]";
  width: 16px;
  height: 16px;
  margin-right: 7px;
}
.filtered-filters .filtered-value .filtered-value-option .filtered-value-option-label {
  white-space: pre;
  cursor: pointer;
}
.filtered-filters .filtered-value .filtered-value-option .filtered-value-option-label:hover {
  font-style: italic;
}

/* List view */
#list-list.fade-out {
  position: absolute;
  width: 100%;
  height: 100%;
  background: white;
  opacity: 0.3;
}
#list-list div.filtered-view.filtered-list {
    border-top: 1px solid black;
    width: 100%; /* For Chrome and other browsers */
}
#list-list div.filtered-list-item {
  width: 100%;
  padding: 6px !important;
  margin-bottom: 0;
  border-left: 1px solid black;
  border-right: 1px solid black;
  border-bottom: 1px solid black;
  border-top: none;
  display: flex;
  cursor: pointer;
  transition-delay: .001s;
}
#list-list div.filtered-list-item:not(:first-child) {
    margin-left: 0;
}
#list-list div.filtered-list-item:nth-child(5n + 1) {
    margin-left: 0;
    transform: none;
}
#list-list div.filtered-list-item:last-child {
    margin-right: 0;
}
.list-card {
    display: flex; /* Use flexbox */
    align-items: center; /* Vertically center children */
    justify-content: start; /* Align children to the start of the row */
    width: 100%; /* Full width */
    font-size: 19px;
    line-height: 26px;
    letter-spacing: 0.95px;
}

.list-card div.entry-number {
	width: calc(10% - 0px);
}
.list-card div.people {
	width: calc(20% - 0px);
	border: none;
}
.list-card div.title-images {
	display: flex;
	width: calc(60% - 0px);
}

.list-card div.type {
	width: calc(10% - 0px);
	border: none;
}
.list-card div.images {
    display: flex; /* Also make the images flex if they are inline */
    border: none;
    padding-top: 0;
    padding-bottom: 0;
}
.list-card div.image1, .list-card div.image2, .list-card div.image3, .list-card div.image4, .list-card div.image5 {
    margin-right: 10px; /* Space between images if they are displayed in a row */
    transition: transform 0.3s ease; /* Add transition for smooth scaling */
	transform-origin: top left; /* Set the transform origin */
}
.list-card div.image1 img, .list-card div.image2 img, .list-card div.image3 img, .list-card div.image4 img, .list-card div.image5 img {
    display: block;
    max-width: 100%; 
    width: auto;
    height: 25px; 
}
.list-card div.image1:hover,
.list-card div.image2:hover,
.list-card div.image3:hover {
  transform: scale(6); /* Increase the scale factor as needed */
}
#community-list-featured {
  width: 100%;
  padding: 7px !important;
  margin-bottom: 0;
  display: none;
  border-left: 2px solid black;
  border-right: 2px solid black;
  border-top: 1px solid black;
  border-bottom: 2px solid black;
}
.community-list-home-card {
    display: flex;
    align-items: center;
    justify-content: start;
    width: 100%;
}
.community-list-home-date {
    width: calc(10% - 0px);
    text-align: left;
    font-size: 19pt;
    line-height: 26px;
    letter-spacing: 0.95px;
    font-style: italic;
}
.community-list-home-external-reference {
    width: calc(20% - 0px);
    text-align: left;
    text-decoration: underline;
    font-size: 19pt;
    line-height: 26px;
    letter-spacing: 0.95px;
}
.community-list-home-external-reference a {
  color: black !important;
}
.community-list-home-text {
    width: calc(60% - 0px);
    text-align: left;
    font-size: 30pt;
    line-height: 31px;
    letter-spacing: 1.5px;
  
}
.community-list-home-type {
    width: calc(10% - 0px);
    text-align: left;
    font-style: italic;
    font-size: 19pt;
    line-height: 23px;
    letter-spacing: 0px;
}

/* Block and List View Buttons */
.view-container-buttons {
    display: flex;
    justify-content: space-between; /* This puts one group on the left, and the other on the right */
    position: relative;
    top: 300px;
    padding-bottom: 10px;
    margin-left: -3px;
    margin-right: 3px;
}

.view-buttons, .order-buttons {
    display: flex; 
    justify-content: left;
}

.list-view-button, .block-view-button, .chronicle-button, .random-button, .alphabetical-button, .list-view-button-author, .block-view-button-author {
    font-size: 19px;
    line-height: 26px;
    letter-spacing: 0.95px;
}

.list-view-button button, .block-view-button button, .chronicle-button button, .random-button button, .alphabetical-button button, .list-view-button-author button, .block-view-button-author button {
    background: transparent;
    border: none;
    font-family: HALColant-TextRegular!important;
    cursor: pointer;
    font-size: 19px;
    line-height: 26px;
    letter-spacing: 0.4px;
}


.entry-number-in-nrs {
    flex: 0 0 auto;        /* Don't grow, don't shrink, auto basis */
    padding: 5px 5px;     /* Padding inside each entry number box */
    text-align: center;    /* Center text inside the box */
    font-size: 40px;
    line-height: 50px;
    font-family: HALColant-TextRegular;
    color: black;
}
.entry-number-in-nrs a {
	color: black;
	text-decoration: none;
}
.entry-number-in-nrs:hover {
	color: black;
	font-style: italic;
	text-decoration: none;
}
.button-open-nrs button {
    background: none;
    border: none;
    font-size: 19px;
    line-height: 26px;
    letter-spacing: 0.95px;
    font-family: 'HALColant-TextRegular';
    cursor: pointer;
}
.list-container {
    position: relative;
}

.entry-nrs-query {
    display: none; /* Hide by default */
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10; /* Make sure it's above the list */
    background-color: rgba(255, 255, 255, 0.9); /* Example background */
    flex-wrap: wrap;        /* Allow items to wrap to the next line */
    justify-content: center; /* Center items horizontally */
    margin: 0 auto;         /* Center the container */
    padding-bottom: 60px;
}
.test-off-view div#list
{
  width: 100% !important;
  max-width: -moz-available;
  max-width: -webkit-fill-available;
}