:root {
   /* Root styles ---------------------------------- */
   /* ND Colors https://onmessage.nd.edu/university-branding/colors */
   --nd-blue: #0c2340;
   --nd-footer-blue: #143865;
   --nd-gold: #d39f10;
   --nd-metallic-gold: #ae9142;
   --nd-pms-7710: #5aabbc;
   --nd-pms-613: #999623;
   --nd-pms-1817: #5f1709;
   --nd-pms-378: #465510;
   --nd-pms-460: #f6e7a1;
   --nd-black4: #302205;
   --nd-pms-348: #00823e;
   --nd-pms-7406: #ffcf01;
   --nd-pms-7448: #4a3651;
   --nd-pms-1805: #aa272f;
   --nd-pms-7519: #5a412f;
   --nd-pms-723: #ba6f2e;
   /* Modes */
   --nd-data: #d3392c;
   --nd-audio: #5cbb54;
   --nd-video: #f9a01b;
   --nd-image: #3780c3;
   --nd-black: #444545;
   /* Miscellaneous colors */
   --red: #d3392c;
   --alice-blue: aliceblue;
   --bright-blue: #007bff;
   --chocolate: #d2691e;
   --graphite: #506578;
   --light-coral: rgba(240, 128, 128, 1);
   --light-slate: #e6e8f1;
   --silver: silver;
   --light-silver: #f8f9fa;
   --slate-gray: lightslategray;
   --cornflower: #d5ddeb;
   --light-gray: #f0f3f6;
   --trench-blue: #406885;
   --white: white;
   --black: #333;
   --jet-black: black;
   --card-footer-blue: #355672;
   --card-footer-alt: aliceblue;
   /* colors for types */
   --article: #ffcede;
   --book: #c1f4cb;
   --course: #bae8ff;
   --report: #F5F5DC;
   --podcast: aliceblue;
   --post: #e6e9ef;
   --tool: #E0FFFF;
   --video: #fde9ad;
   --website: #dfd3fd;
   --level: #e9e6e6;
   --bg-green: green !important;
}

html {
   font-size: 100%;
   scroll-behavior: smooth;
}

body {
   background: white;
   /* color: var(--graphite); */
   box-sizing: border-box;
   font-family: "Figtree", Helvetica, Arial, sans-serif;
   font-size: 1.1rem;
   font-weight: 400;
   font-style: normal;
}

#top {
   margin-top: 215px;
}

@media (max-width: 575px) {
   #top {
      margin-top: 165px;
   }
}

/* Links ----------------------------------- */
a {
   text-underline-offset: 5px !important;
}

a {
   text-decoration: none;
}

#main-navigation a.nav-link:hover {
   background: #697b8e;
   color: white !important;
   border-radius: 6px;
}

#main-navigation a.active {
   /* background: var(--chocolate); */
   background: var(--nd-blue);
   color: white !important;
   border-radius: 6px;
}

#mug-logo {
   max-width: 200px;
   margin: 0 auto;
}

footer a:hover,
.container a:hover {
   text-decoration: underline;
}

.nav-item,
.nav-link,
.nav-item:hover,
.nav-link:hover {
   text-decoration: none !important;
}

/* Icons */
.fa-5x {
   font-size: 8rem !important;
}

#notre-dame-logo {
   width: 260px;
}

#about-page-image {
   max-width: 400px;
}

#home-page-banner>img {
   max-width: 400px;
}

.list-group-item.active {
   background: var(--alice-blue);
}

/* fonts ---------------------------------- */
.eb-garamond {
   /* font-family: "EB Garamond", Georgia, serif; */
   font-family: "Figtree", Helvetica, Arial, sans-serif;
   font-style: normal !important;
   letter-spacing: 0.2rem;
}

.fs-6 {
   font-size: 1.1rem !important;
}

.lead-2x {
   font-size: 150%;
}

.line-height-1 {
   line-height: 1.35;
}

.border-padding {
   padding: 3px;
}

/* colors ---------------------------------- */
.chocolate {
   color: var(--chocolate);
}

.red {
   color: red;
}

.trench-blue {
   color: var(--trench-blue);
}

.bright-blue {
   color: var(--bright-blue) !important;
}

.nd-blue {
   color: var(--nd-blue) !important;
}

.gold {
   color: var(--nd-gold);
}

.silver {
   color: var(--silver);
}

.nd-metallic-gold {
   color: var(--nd-metallic-gold) !important;
}

.bg-graphite {
   background: var(--graphite);
}

.bg-trench-blue {
   background: var(--trench-blue);
}

.bg-green {
   background: var(--bg-green) !important;
}

.bg-nd-blue {
   background: var(--nd-blue);
}

.bg-alice-blue {
   background: var(--alice-blue) !important;
}

.bg-light-silver {
   background: var(--light-silver);
}

.bg-slate-gray {
   background: var(--slate-gray);
}

.bg-chocolate {
   background: var(--chocolate);
}

.bg-cornflower {
   background: var(--cornflower);
}

.bg-light-gray {
   background: var(--light-gray);
}

.bg-nd-footer-blue {
   background: var(--nd-footer-blue);
}

.project-app a:hover {
   color: var(--bright-blue);
}

.badge-secondary {
   background: rgba(122, 129, 137, 0.3);
   color: var(--graphite) !important;
}

/* Label colors */
.bg-Article {
   background-color: var(--article) !important;
}

.bg-Post {
   background-color: var(--post) !important;
}

.bg-level {
   background-color: var(--level) !important;
}

.bg-Video {
   background-color: var(--video) !important;
}

.bg-Book {
   background-color: var(--book) !important;
}

.bg-Course {
   background-color: var(--course) !important;
}

.bg-Podcast {
   background-color: var(--podcast) !important;
}

.bg-Report {
   background-color: var(--report) !important;
}

.bg-Website {
   background-color: var(--website) !important;
}

.bg-Tool {
   background-color: var(--tool) !important;
}

#resources-search {
   box-shadow: none;
}

.subheader {
   color: var(--nd-blue) !important;
   margin-top: 2.5rem;
   margin-bottom: .5rem;
}

/* Cards -------------------------------- */
.card-hover-effect {
   transition: transform 0.1s ease-out;
}

.card-hover-effect:hover {
   transform: translate(0px, -9px);
}

.resource-hover-effect {
   transition: transform 0.1s ease-out;
}

.resource-hover-effect:hover {
   /* transform: translate(0px, 10px); */
   /* background-color: #f8f9fa; */
   background: #F6F6F6;
}

.accordion-button:not(.collapsed) {
   background-color: aliceblue;
}

/* Back to top button ---------------------------------- */
#topper {
   display: none;
   position: fixed;
   bottom: 50%;
   right: 0;
   z-index: 99;
   border: none;
   outline: none;
   background-color: var(--bright-blue);
   color: var(--white) !important;
   padding: 8px 4px 10px 4px;
   border-radius: 2px 0 0 2px;
   font-size: 1rem;
   cursor: pointer !important;
}

#topper:hover {
   background-color: var(--bright-blue);
   color: var(--white);
}

.monthly-schedule li:nth-child(odd) {
   background: #fafafa;
}

/* Miscellaneous ---------------------------- */
.pointer {
   cursor: pointer;
}

.cursive {
   font-family: "Figtree", serif;
   /* font-style: italic; */
   font-weight: 300;
}

.extended-letter-spacing {
   letter-spacing: 0.2rem;
}

.text-smallest {
   font-size: 0.75rem;
}

.text-smaller {
   font-size: 0.75rem;
}

.text-small-caps {
   font-variant: small-caps;
   font-size: 1.2rem;
}

.small-caps {
   text-transform: lowercase;
   font-variant: small-caps;
   letter-spacing: 0.8px;
}

.strongly {
   /* color: black; */
   font-weight: 700;
}

.opacity-25 {
   opacity: 0.25;
}

.opacity-50 {
   opacity: 0.5;
}

.opacity-75 {
   opacity: 0.75;
}

.opacity-100 {
   opacity: 1;
}

.close {
   opacity: 1 !important;
}

.lead {
   color: var(--graphite);
   font-weight: 500;
   font-size: 1.5rem;
   margin-bottom: .6rem;
}

.highlight {
   background-color: yellow;
   padding: 0 2px;
   border-radius: 2px;
}

/* style the tooltip background-color */
.tooltip .tooltip-inner {
   background-color: var(--slate-gray);
   font-size: 1rem;
   margin-top: .5rem;
   padding: .5rem;
   z-index: 1000000;
}

.tooltip .tooltip-arrow {
   display: none;
}

/* Copy buttons ---------------- */
.copy-util {
   font-family: "Menlo", "Monaco", "Consolas", monospace !important;
   background: #20364C;
   /* background: var(--footer-slate); */
   border-radius: .25rem;
   border: none;
   /* text-indent: -2rem; */
   padding: .75rem 1rem .75rem 2.5rem;
   font-size: 16px;
   color: var(--white) !important;
   white-space: pre-wrap;
   /* css-3 */
   white-space: -moz-pre-wrap;
   /* Mozilla, since 1999 */
   white-space: -pre-wrap;
   /* Opera 4-6 */
   white-space: -o-pre-wrap;
   /* Opera 7 */
   word-wrap: break-word;
   /* Internet Explorer 5.5+ */
   cursor: pointer !important;
   margin: 1rem 0;
}

.copy-util .bi {
   color: var(--text-cyan);
   margin-right: 1.25rem;
   margin-left: .5rem;
   font-size: 1.5rem;
}

/* Selection formatting */
.copy-util::selection {
   background-color: transparent;
   /* Changes the text color of the selection */
}

/* Set the hover state to light blue bg on primers */
.flex-column button.nav-link:not(.active):hover {
   background-color: #F4F8FB;
}

button.nav-link {
   line-height: 1.2;
   /* font-weight: 500; */
}

/* Placeholder  */
.form-control::-webkit-input-placeholder {
   color: silver;
}

.form-control:-ms-input-placeholder {
   color: silver;
}

.form-control::-ms-input-placeholder {
   color: silver;
}

.form-control::placeholder {
   color: silver;
}

/* Critical Tech Cafe banner */
#ctc-cafe {
   position: relative;
   top: 0px;
   transition: top 0.6s;
}

.ctc-jumbo {
   background: linear-gradient(rgba(7, 55, 99, 0.65), rgba(7, 55, 99, 0.65)), url('../img/sample-ctc-image.png') no-repeat top left;
   background-size: cover;
}