h4 {
  letter-spacing: .1rem; }
.button {
  display: inline-block;
  height: 25px;
  padding: 0 10px;
  font-weight: 100;
  line-height: 25px;
  text-transform: none; 
}

h4 {
  letter-spacing: .1rem;
  font-weight: 700; /* Adding bold weight to all h4 elements */
  color: #333; /* Optional: you can also make the color slightly darker for better contrast */
}

.container {
  max-width: 800px; }
.header {
  margin-top: 60px;
  margin-bottom: 60px;
  text-align: left; }
.hidden {
    display: none; }
.unhidden {
    display: table;
    position:relative;}
.main-description h1 {
  margin-bottom: 0px; }
.main-description p {
  margin-bottom: 0px; }
.main-description .fa {
  font-size: 22px;
  margin-top: 5px; }
.paper {
  margin-bottom: 10px }
.paper .title {
  font-size: 16px;
  /*text-transform: uppercase; */}
.paper p {
  margin-bottom: 2px }
.paper-buttons {
  margin-top: 3px }
.paper .button {
  display: inline-block;
  height: 25px;
  padding: 0 20px;
  font-weight: 100;
  line-height: 25px;
  text-transform: none; }
.section-header {
  text-transform: uppercase;
  font-size: 1.5rem;
  letter-spacing: .2rem;
  font-weight: 600; }
.docs-section {
  border-top: 1px solid #eee;
  padding: 4rem 0;
  margin-bottom: 0;}
.footer {
  text-align: center;
  color: rgba(0, 0, 0, 0.4);
  border-top: 1px solid #eee;
  padding: 15px 0 40px 0;
  margin-bottom: 0;}
.navbar {
  text-align: center;
  display: none; }
.title-subtitle h3 {
  margin-bottom: 0px; }
.title-subtitle h5 {
  color: rgba(0, 0, 0, 0.60); }
.image {
  text-align: center; }

/*  ================ Project styling  ================ */
.project-container {
  margin-bottom: 30px;
}
.project-image-container {
  border: 1px solid rgba(0,0,0,0.2);
  padding: 3px;
  transition: 0.3s;
}
.project-image-container:hover {
  transition: 0.3s;
}
.project-image-container:hover img {
  opacity: 0.4;
}
.project-caption {
  padding: 3px;
}

/* Larger than phone */
@media (min-width: 550px) {
  .header {
    margin-top: 5rem; }
}

/* Larger than tablet */
@media (min-width: 750px) {
  /* Navbar */
  .navbar + .docs-section {
    border-top-width: 0; }
  .navbar,
  .navbar-spacer {
    display: block;
    width: 100%;
    height: 6.5rem;
    background: #fff;
    z-index: 99;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee; }
  .navbar-spacer {
    display: none; }
  .navbar > .container {
    width: 100%; }
  .navbar-list {
    list-style: none;
    margin-bottom: 0; }
  .navbar-item {
    position: relative;
    float: left;
    margin-bottom: 0; }
  .navbar-link {
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .2rem;
    margin-right: 35px;
    text-decoration: none;
    line-height: 6.5rem;
    color: #222; }
  .navbar-link.active {
    color: #33C3F0; }
  .has-docked-nav .navbar {
    position: fixed;
    top: 0;
    left: 0; }
  .has-docked-nav .navbar-spacer {
    display: block; }
  /* Re-overiding the width 100% declaration to match size of % based container */
  .has-docked-nav .navbar > .container {
    width: 80%; }

  /* Popover */
  .popover.open {
    display: block;
  }
  .popover {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
    top: 92%;
    left: -50%;
    -webkit-filter: drop-shadow(0 0 6px rgba(0,0,0,.1));
       -moz-filter: drop-shadow(0 0 6px rgba(0,0,0,.1));
            filter: drop-shadow(0 0 6px rgba(0,0,0,.1)); }
  .popover-item:first-child .popover-link:after,
  .popover-item:first-child .popover-link:before {
    bottom: 100%;
    left: 50%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none; }
  .popover-item:first-child .popover-link:after {
    border-color: rgba(255, 255, 255, 0);
    border-bottom-color: #fff;
    border-width: 10px;
    margin-left: -10px; }
  .popover-item:first-child .popover-link:before {
    border-color: rgba(238, 238, 238, 0);
    border-bottom-color: #eee;
    border-width: 11px;
    margin-left: -11px; }
  .popover-list {
    padding: 0;
    margin: 0;
    list-style: none; }
  .popover-item {
    padding: 0;
    margin: 0; }
  .popover-link {
    position: relative;
    color: #222;
    display: block;
    padding: 8px 20px;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 1.0rem;
    font-weight: 600;
    text-align: center;
    letter-spacing: .1rem; }
  .popover-item:first-child .popover-link {
    border-radius: 4px 4px 0 0; }
  .popover-item:last-child .popover-link {
    border-radius: 0 0 4px 4px;
    border-bottom-width: 0; }
  .popover-link:hover {
    color: #fff;
    background: #33C3F0; }
  .popover-link:hover,
  .popover-item:first-child .popover-link:hover:after {
    border-bottom-color: #33C3F0; }
}

pre {
  background-color: white;
  color: #110000;
  border: 3;
  font-size:0.75em;
  line-height:1.2em;
  max-width: 800px;
  whitewhite-space: pre-wrap;       /* css-3 */
  whitewhite-space: -pre-wrap;      /* Opera 4-6 */
  whitewhite-space: -o-pre-wrap;    /* Opera 7 */
  word-wrap: break-word;       /* Internet Explorer 5+ */
  whitewhite-space: -moz-pre-wrap;  /* Older Versions of Mozilla */
}

.anchor{
  display: block;
  height: 5.5rem; /*same height as header*/
  margin-top: -4.5rem; /*same height as header*/
  visibility: hidden;
}


.clear {
  clear:both;
}

/* From:
https://gist.github.com/mistergraphx/a46c1f24a74dffa516bc#file-responsive-figure-figcaption-html */
figure figcaption {
  font-size: 10pt;
  text-align: center;
}

figure.side-by-side {
  display: table;
}
figure.side-by-side img, figure.side-by-side figcaption {
  display: table-cell;
  vertical-align: middle;
}
figure.side-by-side figcaption {
  padding-left: .5em;
  padding-right: .5em;
  text-align: left;

}


/* figure {
  display: table;
}
.right {
    display: table;
    /* position: relative; */
    /* float: right; */
    /* width: 300px;
    height: 300px;
    margin: 25px 12px;
    border-radius: 6px;
}
figure.right figcaption {
  vertical-align: middle;
  display: table-cell;
  font-size: 10pt;
    /* display: table-caption;
    text-align: center;
    /* border-radius: inherit;
    background-color: #D66360;
    opacity: 0;
    transform: translateY(30%);
    transition: all 0.6s ease 0s;
}
*/



/*
  --------------         SANSBOX
  */

/* .left figcaption {
  text-align: center;
  /* font-family:sans-serif;
  font-weight:bold;
  font-size:16px;
  padding:10px;
  display: table-cell;
  vertical-align:middle;
} */

/* figure.right {
   display:table;
}
figure figcaption.right {
   display:table-cell;
   vertical-align:middle;
   width=10%;
   font-size: 10pt;
}
figure img {
   display:table-cell;
   width=50%;
} */

/* Override default link colors */
a {
    color: #1b5ab9; /* Teal */
}

a:hover {
    color: #0E6655; /* Darker teal */
}

/* If you want to target specific links only, use more specific selectors */
.navbar-link {
    color: #900C3F; /* Different color for navigation links */
}

.navbar-link:hover {
    color: #0f0b02; /* Different hover color for navigation links */
}

/* Style for news dates */
.news-date {
    color: #010d0a; /* Using the teal color we selected earlier */
    margin-right: 10px;
    display: inline-block;
    min-width: 70px;
    font-size: 1.05em;
}

/* Add more spacing between news items */
.docs-section ul li {
    margin-bottom: 12px;
}

/* Make tab buttons larger */
.tab-nav .button {
    height: 32px;          /* Increased from 25px */
    padding: 0 15px;       /* Increased horizontal padding from 10px */
    font-size: 16px;       /* Explicit font size */
    line-height: 32px;     /* Match the new height */
    font-weight: 500;      /* Medium weight for better visibility */
}

/* Active tab styling */
.tab-nav .button.active {
    font-weight: 600;      /* Make active tab slightly bolder */
}

/* Optional: Add more space around the tab container */
.tab-nav {
    margin: 20px 0;        /* Add some vertical spacing */
}


