/* CSS for overrides to Bootstrap defaults. EMF 2026 */
body {
  padding: 10px;
}

body:not(.path-frontpage) .color-banner {
  background-image: url("../images/king-in-paris-frag.jpg");
  height: 100px;
  width: 100%;
  border-top: 1px gray solid;
  border-bottom: 1px gray solid;
}

.container img {
  width: 100%;
  /* Image takes the full width of the container */
  height: 100%;
  /* Image takes the full height of the container */
  object-fit: cover;
  /* Scales to cover the container while maintaining aspect ratio, cropping excess parts */
}

#block-b5-test-subtheme-content > article > footer {
  display: none;
}

#drupal-off-canvas {
  background: #e5e0ac !important;
}

#block-b5-test-subtheme-breadcrumbs {
  padding-left: 20px;
  background-color: rgb(255, 255, 255);
}

.region.region-header {
  padding-top: 20px;
  font-size: smaller;
  margin-bottom: 10px;
}

.emf-main-navigation.wrapper .row .navbar {
  padding: 0px;
}

blockquote {
  border-left: 2px solid rgb(0, 0, 0);
  padding-left: 10px;
  margin-right: 10px;
  color: rgb(0, 0, 0);
  font-style: italic;
  float: right;
  width: 33%;
}

.quick-nav-container {
  color: rgb(222, 227, 232);
  font-size: smaller;
  background-color: rgb(10, 10, 10);
}

.quick-nav-container .row {
  padding-bottom: 8px;
  margin-left: 20px;
  margin-right: 20px;
}

.quick-nav-left ul,
.quick-nav-right ul {
  display: inline-block;
}

.quick-nav-left ul li,
.quick-nav-right ul li {
  list-style-type: none;
  padding: 5px 0;
  display: inline-block;
  height: 34px;
}

.quick-nav-left-inner {
  float: left;
}

.quick-nav-right-inner {
  float: right;
}

.ui-accordion .ui-accordion-content {
  max-height: 50vh !important;
  height: 50vh;
  /* Set a fixed height for the accordion content */
  overflow: scroll;
  /* Enable scrolling if content exceeds the defined height */
}

/* branding area: logos and wordmark */
.emf-branding-block {
  width: 100%;
  /* Image takes the full width of the container */
  height: 100%;
  /* Image takes the full height of the container */
  object-fit: cover;
}

body:not(.path-frontpage) .emf-branding-row {
  height: 105px;
}

.logo-col,
.wordmark-col {
  display: flex;
  align-items: center;
  /* Vertical alignment */
  justify-content: center;
  /* Optional: Horizontal alignment */
  height: 100%;
  padding-bottom: 20px;
  /* Ensure container has height */
}

img.se17-logo {
  width: 20%;
  max-width: 100%;
  height: auto;
  margin-right: 36px;
  float: right;
}

img.nasscfl-logo {
  max-width: 100%;
  height: auto;
}

.emf-main-navigation-wrapper .navbar {
  height: 25px;
}

.emf-main-navigation-wrapper {
  background-color: rgb(255, 255, 255);
  padding: 0px;
}

.emf-main-navigation-wrapper col {
  background-color: rgb(172, 104, 104);
  float: right;
}

.emf-main-navigation-wrapper .row {
  padding: 0px;
  display: inline-flex;
}

.emf-main-navigation-wrapper ul,
.emf-main-navigation-wrapper ul li.nav-item {
  padding: 0 10px;
  display: inline-block;
}

/* highlight local tasks for admins */
#block-b5-test-subtheme-local-tasks {
  border: 1px solid rgb(1, 1, 1);
  margin-bottom: 5px;
  padding: 20px 10px 10px 10px;
  background-color: rgb(255, 255, 255);
}

/* Hide the page title and article cruft on the front page */
zz.path-frontpage #block-b5-test-subtheme-page-title {
  display: none;
}

/* user menu in headers */
#block-b5-test-subtheme-usermenu,
#block-b5-test-subtheme-emfnavbar-menu ul {
  display: flex;
  /* Uses Flexbox for easy horizontal alignment */
  list-style: none;
  padding: 0;
  margin: 0;
}

h2#block-b5-test-subtheme-usermenu-menu,
h2#block-b5-test-subtheme-emfnavbar-menu {
  padding: 10px;
  display: none;
}

#block-b5-test-subtheme-usermenu,
#block-b5-test-subtheme-emfnavbar-menu ul li {
  margin-right: 0px;
  /* Spacing between items */
}

#block-b5-test-subtheme-usermenu,
#block-b5-test-subtheme-emfnavbar-menu a {
  text-decoration: none;
  display: block;
}

#block-b5-test-subtheme-content > article > div.node__content > div:nth-child(2) > div.layout__region.layout__region--content > div > div > div > div.field.field--name-field-tag.field--type-entity-reference.field--label-above > div.field__items > div.field__item,
.block-front-welcome .field.field--name-field-tag {
  display: none;
}

.welcome-wrapper {
  text-align: center;
  padding: 10px 30px 30px 30px;
  background-color: rgb(255, 255, 255);
}

.block-front-welcome .field.field--name-field-tag {
  display: none;
}

/* slider is first conent area */
#block-b5-test-subtheme-page-title {
  display: none;
}

/* welcome banner */
body.path-frontpage #block-b5-test-subtheme-page-title > h1,
body.path-frontpage .field.field--name-field-title,
body.path-frontpage .field.field--name-field-toc-tag {
  display: none;
}

/* TOC Blocks */
#toc-group-2 > div.bs-region.bs-region--fourth > div > div > div.toc-block-col-content > div > div > div > div > div.field__label {
  display: none;
}

.views-field .views-field-term-node-tid {
  display: none;
}

/**
TOC blocks are custom blockof two types: 
    1. A block with view content embedded (toc-view-block);
    2. Other a block with a backgound image and, optionall, text content.
** */
.emf-toc-wrapper .block-toc-join-renew,
.toc-block-wrapper,
.toc-view-block {
  height: 48vh;
  padding: 10px 0 0 0;
}

div.toc-block-col-content > div.clearfix.text-formatted.field.field--name-body.field--type-text-with-summary.field--label-hidden.field__item > div {
  display: flex;
  flex-direction: column;
  height: 48vh;
}

div.toc-block-col-content > div.clearfix.text-formatted.field.field--name-body.field--type-text-with-summary.field--label-hidden.field__item > div h4 {
  margin-top: auto;
  text-align: center;
}

div.toc-block-col-content a,
.emf-toc-wrapper a,
.toc-view-block a {
  color: white !important;
  text-decoration: none;
}

div.toc-block-col-content a:hover,
.emf-toc-wrapper a:hover,
.toc-view-block a:hover {
  color: rgb(204, 241, 248) !important;
  text-decoration: underline;
  background-color: #000000;
  /* Classic yellow highlight */
  /* Ensure text remains readable */
}

.toc-view-block.view-announcements {
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  text-align: center;
  overflow: hidden;
}

.emf-view-footer {
  text-align: center;
  width: 100%;
}

#toc-group-1 > div.bs-region.bs-region--fourth > div > div > div.toc-block-col-content > div.clearfix.text-formatted.field.field--name-body.field--type-text-with-summary.field--label-hidden.field__item > div h4 {
  border: red 1px solid;
  height: 45vh;
}

.toc-block-footer-wrapper,
.emf-view-footer,
.toc-view-block .emf-view-footer,
.toc-block-col-content .view-footer {
  position: absolute;
  display: block;
  bottom: 0;
  padding: 5px 0 5px 0;
  padding-bottom: 8px;
  width: 100%;
  color: rgb(255, 255, 255);
  background-color: black;
  opacity: 0.6;
}

.zztoc-block-footer-wrapper span,
.toc-block-col-content .view-announcements .view-footer span {
  display: block;
}

.toc-block-col-content .view-announcements .view-footer a {
  color: rgb(255, 255, 255);
}

/* content 'containers' that function as toc */
/* Declares global CSS variables in the :root element */
:root {
  --toc-block-height: 58vh;
  --toc-block-header-height: 10vh;
  --toc-block-col-height: 58vh;
}

.toc-block-col-header {
  color: rgb(254, 255, 253) !important;
}

div.block-toc-conferences {
  background-image: url("../images/for-conf-crop.jpg");
  background-size: center center;
  background-repeat: no-repeat;
}

.toc-member-news .view-content {
  padding-left: 5px;
  padding-right: 5px;
  color: white;
}

.toc-member-news .view-content a {
  text-decoration: none;
}

.bs-region {
  height: var(--toc-block-height) !important;
  overflow: hidden;
  word-wrap: break-word;
}

.block-toc-cahiers {
  background-image: url("../images/cahiers-toc.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  color: rgb(0, 0, 0);
}

/* **
Cahiers are now hosted by Western Libraries.
<a href="https://ojs.lib.uwo.ca/index.php/cahiers17e/index">View Here</a>
** */
.zblock-toc-join-renew div > h4 {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: center;
}

#toc-link-box {
  border: 1px solid orange;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
  padding: 12px;
  font-size: 20px;
  zzbackground-color: black;
  zzopacity: 0.3;
}

.block-toc-join #toc-link-box {
  margin-top: 20vh;
}

.block-toc-join-renew div > h4 a {
  text-decoration: none;
}

.block-toc-cahiers .toc-block-col-content {
  display: flex;
  align-items: center;
  height: 48vh;
}

.block-toc-cahiers .toc-block-col-header {
  color: #ffffff;
}

#toc-group-1 > div.bs-region.bs-region--second > div > div > div.toc-block-col-content > div.clearfix.text-formatted.field.field--name-body.field--type-text-with-summary.field--label-hidden.field__item {
  text-align: center;
  padding: 20px 10px;
  display: flex;
  align-items: center;
}

.block-toc-join {
  background-image: url("../images/join-toc.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  color: rgb(0, 0, 0);
  height: 56vh;
}

.block-toc-member-news {
  background-color: antiquewhite;
  background-image: url("../images/top-view-old-french-newspaper-pieces.jpg");
  background-image: url("../images/top-view-old-french-newspaper-gray.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  text-align: center;
}

.block-toc-member-news .toc-block-col-content {
  color: rgb(0, 0, 0) !important;
}

.block-toc-jobs .toc-block-col-header {
  background-color: #AEBED1;
}

.block-toc-jobs .toc-block-col-content {
  background-color: #C0B28B;
  opacity: 0.9;
  color: rgb(0, 0, 0) !important;
}

.block-toc-scholarships .toc-block-col-content {
  color: rgb(0, 0, 0) !important;
  background-color: #757E8B;
  opacity: 0.9;
}

.block-toc-grants .toc-block-col-content {
  color: rgb(0, 0, 0) !important;
  background-color: #5B6194;
  opacity: 0.9;
}

.block-toc-publications .toc-block-col-content {
  color: rgb(0, 0, 0) !important;
  background-color: #8a8c6f;
  opacity: 0.9;
}

.block-toc-readable .toc-block-col-content {
  color: rgb(0, 0, 0) !important;
  background-color: #464641;
}

/* Nav section top of page */
#block-b5-test-subtheme-emfnavbar > ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
}

#block-b5-test-subtheme-emfnavbar > ul li a {
  display: block;
  color: rgb(15, 15, 15);
  padding: 14px 16px;
}

#block-b5-test-subtheme-emfnavbar > ul li a:hover {
  color: rgb(147, 197, 147);
}

.block-b5-test-subtheme-emfnavbar,
.nav-container {
  display: flex;
  flex-wrap: nowrap;
  /* Prevents wrapping */
  justify-content: center;
  /* Or flex-start */
  white-space: nowrap;
}

#block-b5-test-subtheme-emfnavbar,
.nav-item {
  padding: 0 0px;
}

#block-b5-test-subtheme-usermenu > ul {
  zlist-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
}

#zblock-b5-test-subtheme-usermenu > ul > li:nth-child(1) a {
  color: rgb(26, 24, 24);
  padding: 14px 16px;
  text-decoration: none;
}

#block-b5-test-subtheme-content > article > div.node__content > div.row.bs-1col > div > div {
  padding: 40px;
  text-align: center;
}

/* TOC Groups and Columns */
#toc-group-1,
#toc-group-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  /* Space between columns */
  padding: 9vh 20px;
  /* Space between columns */
  background-image: url("../images/Untitled 3.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: fixed;
  background-size: cover;
}

#toc-group-2 {
  background-image: url("../images/sabine-b&w.4grp1.jpg");
  background-image: url("../images/King_in_Paris_1660.jpg");
  margin-bottom: 40px;
}

#toc-group-1 .bs-region,
#toc-group-2 .bs-region {
  /* Do not grow, do not shrink, start width at 220px */
  flex: 0 0 120px;
  position: relative;
  overflow: hidden;
}

.bs-region {
  height: 100%;
  /* Fill the height of the parent container */
  display: flex;
  flex-direction: column;
  padding: 0px;
  height: 56vh !important;
}

.views-row {
  padding: 10px 5px 0px 5px;
}

.bs-region-first,
.bs-region-second,
.bs-region-third,
.bs-region-fourth {
  grid-template-columns: 25% 25% 25% 25%;
}

#toc-group-1 .bs-region .toc-block-wrapper .toc-block-footer-wrapper,
#toc-group-2 .bs-region .toc-block-wrapper .toc-block-footer-wrapper {
  position: absolute;
  bottom: 0;
}

#toc-group-2 .bs-region--second .toc-block-footer-wrapper,
#toc-group-2 .bs-region--third .toc-block-footer-wrapper,
#toc-group-2 .bs-region--fourth .toc-block-footer-wrapper {
  margin-left: -5px !important;
}

.emf-toc-wrapper .field--name-field-toc-title,
.emf-toc-wrapper .viewsreference--view-title {
  display: none;
}

.emf-toc-wrapper .toc-block-col-header {
  background-color: #839093;
  font-weight: bold;
  padding: 10px;
  text-align: center;
}

.emf-toc-wrapper .toc-block-col-content {
  color: #ffffff;
}

/* Hist Date */
.home-hist-single .field-content {
  text-align: center;
  padding: 20px 5wh;
  margin: 0 0 0 0;
}

.emf-toc-wrapper.block-toc-on-this-date {
  max-height: max-content !important;
  margin-left: -12px !important;
}

.emf-toc-wrapper.block-toc-on-this-date {
  color: #ffffff;
  background-color: rgb(107, 160, 150) !important;
  text-align: center;
  width: 100vw;
  padding: 0px;
  margin: 0px;
  padding: 20px 40px;
  height: 30vh;
}

.emf-toc-wrapper.block-toc-on-this-date div.toc-block-col-header {
  padding-top: 5px;
  background-color: rgb(107, 160, 150) !important;
  font-weight: bold;
  text-align: center;
}

.emf-toc-wrapper.block-toc-on-this-date div.view-footer {
  display: none;
}

/* page footer */
.emf-footer-region {
  background-color: rgb(198, 168, 168) !important;
  background-color: rgb(187, 187, 188) !important;
  color: rgb(0, 0, 0);
  padding: 20px;
  width: 100%;
  width: 100vw;
}

.footer-wrapper {
  background-color: rgb(198, 168, 168) !important;
  background-color: rgb(187, 187, 188) !important;
  color: rgb(0, 0, 0);
  width: 100%;
  margin: 0;
  padding: 0;
}

/* Slide comtrols */
.nav-dots-numbers .dots {
  display: none;
}

.slide-indicators {
  display: none;
}

button .play-pause-button,
button .prev-arrow,
button .prev-arrow {
  display: none;
}