:root,
[data-theme=light],
:root:not([data-theme=dark]),
:host(:not([data-theme=dark])) {
  --primary:#CF2B5B;
  --font-family: nimbus-sans, sans-serif;
  --font-weight:300;
}

body {
  padding-top:100px;
}

body header {
  padding-bottom: 0px;
}

body main {
  padding-top: 0px;
}
h1, h2, h3, h4 {
  font-family: rustica, sans-serif;
  font-weight: 300;
}


kbd {
  background-color: transparent;
  color:inherit;
}

.center {
  text-align: center;
}

.diagram {
  margin: auto;
}

article {
  box-shadow: none;
  border: 1px solid var(--muted-border-color);
}

#pages-container article header {
 
}

@media (max-width: 991px){
  .diagram {
    transform: rotate(90deg);
    margin:30px auto;
  }

}
header.top-header {
  position: fixed;
  top:0;
  background-color: var(--background-color);
  padding-top:10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--primary);
 
}

div.top {
  display:flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
}
hgroup {
  margin-bottom: 0;
}
hgroup *, .include-item, #collection tr {
  cursor: pointer;
}

.header-image {
  max-width: 50%;
  max-height: 80px;
}

header.top nav {
  margin-left: auto;
}


ul#pages {
  left:auto;
}

.subpage-menu {
  display: block;
}

.subpage-menu li {
  display: block;
}
figure.hero {
  display:none;
  margin-bottom:0;
  padding: 0;
  max-height: 200px;
  overflow: hidden;
}

.hero figcaption {
  text-align: right;
  display:none;
}

#pages-container, #collection {
  display: none;
}

#pages-container article {
  display: none;
  margin-top:0;
}

#pages-container article:nth-child(1) {
  display:block;
}

.parentLink {
  float:right;
}

#pages-container figure img {
  max-height: 500px;
}

#pages-container footer {
  display: flex;
}
button.page-nav {
  width: 25%;
}
button.previous-page {

}
button.next-page {
  margin-left: auto;
}


.show-all {
  width: 25%;
  float: right;
}

.advanced {
  margin:1%;
}

.dataTables_wrapper .dataTables_filter {
  float: left;
  text-align: left;
  margin: 0.5%;
  width:99%;
}
table.dataTable {
  display:block;
}


#items thead {
  display:none;
}

#items tbody {
  display: flex;
  flex-wrap: wrap;

}
#items tr {
  flex-basis:48%;
  flex-wrap: wrap;
  min-width:400px;
  margin:1%;
  background-color: var(--card-sectionning-background-color);
  border: 1px solid var(--muted-border-color);
  padding: 10px;
  border-radius: var(--border-radius);
  display: flex;
  flex-direction: row-reverse;
}
@media (max-width: 991px) {
  #items tr {
  flex-grow: 3;
  }
  #items td img {
    max-height:100px;
  }
  #items td.Thumbnail {
    width: 24%;
  }
  #items td.Title {
    width:74%;
  }
}


#items td {
  display: block;
  border: 0px;
  width: 49%;
  font-family: nimbus-sans-condensed, sans-serif;
  font-weight: 700;
  /*line-height: 1.25rem;*/
}

#items td.thumbnail {
  max-width: 150px;
}
.dataTables_info {
  padding:20px;
}
.dt-info {
  margin-bottom: 10px;
}

.dt-paging-button.current {
  color:var(--primary-inverse);
}
.dt-paging-button {
  width:15%;
  margin:0;
}
#modal-title {
  margin-bottom:0;
}

.modal-image iframe {
  width:560px;
  height:315px;
}

/*specific to homepage site */
.headshot {
  border-radius:var(--border-radius);
}
body>footer{
  padding: 20px 0;
}

footer h3 {
  margin-bottom:0;
}
.footer-image {
  padding: 0;
  height: 100px;
  overflow:hidden;
  margin-bottom:0;
}
.footer-image img {
    position: relative;
    bottom: 350px;
}
