:root {
    /* Not my favorite that line-height has to be united, but needed */
    --lh: 1.2rem;
}

/* Default Site CSS */
html {
	height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    height: 100%;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #000;
}

main {
    flex: 1 0 auto;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    font-size: 1rem;
}

a {
    color: #0065D1;
    text-decoration: none;
}

a:hover {
    color: #0065D1;
    text-decoration: underline;
}

.cb-site-nav a {
    color: currentColor;
    text-decoration: none;
}

.cb-site-nav a:hover {
    color: currentColor;
    text-decoration: underline;
}

.cb-site-nav .nav-link:link {
    background-color: transparent;
}

.cb-site-nav .nav-link:visited {
    background-color: transparent;
}

.cb-site-nav .nav-link:hover {
    color: currentColor;
    background-color: transparent;
}

.cb-site-nav .nav-link:active {
    background-color: transparent;
}

.cb-site-nav .navbar-brand {
    padding: 0;
    font-size: 1.75rem;
    white-space: normal;
}

.cb-site-nav .navbar-brand:hover {
    text-decoration: none;
}

.cb-site-nav .nav-item {
    font-size: 1rem;
}

.cb-site-nav .cb-site-title.edit-mode {
  padding: .25rem;
  border: 1px solid #f8f9fa;
}

.cb-site-nav-controls {
  position: absolute;
  top: 0; right: 20px;
  z-index: 1000;
  padding: .25rem .5rem;
  border-radius: 0 0 4px 4px;
  background-color: #f8f9fa;
  color: #495057;
}

.cb-site-banner {
  position: relative;
  margin: 0 0 1.5rem 0;
}

.cb-site-banner.fixed {
  margin-top: 1.5rem;
  text-align: center;
}

.cb-site-banner.fluid {
  max-height: 250px;
  overflow: hidden;
}

@media (min-width: 1400px) {
  .cb-site-banner.fluid {
    max-height: 350px;
  }
}

.cb-site-banner.fluid img {
  width: 100%;
}

.cb-site-no-banner {
  padding: 1rem;
  background-color: #dee2e6;
}

.cb-tagline {
    font-size: 1.75rem;
    font-weight: 300;
    color: #fff;
    min-height: 4rem;
    text-align: center;
}

.cb-footer-container {
    background-color: #e9ecef;
}

.cb-footer {
    margin: 2rem auto;
}

.cb-site-footer {
    /* display: flex; */
    width: 100%;
    padding: .5rem;
    text-align: center;
    color: #fff;
    background-color: #212529;
}

.cb-site-footer a {
	color: #fff;
}

.cb-site-footer a:hover {
	color: #fff;
}

.cb-site-footer-text-box.edit-mode {
	padding: .5rem;
    border: 1px solid #adb5bd;
}

.cb-site-page-heading {
    margin-bottom: 2rem;
}

.cb-site-page-heading.edit-mode {
    margin-bottom: .5rem;
    padding: .5rem;
    border: 1px solid #adb5bd;
}

.cb-site-section-heading {
    margin-bottom: 1rem;
}

.cb-site-section-heading.edit-mode {
    margin-bottom: .5rem;
    padding: .5rem;
    border: 1px solid #adb5bd;
}

.cb-site-text-box {
    margin-bottom: 1.5rem;
}

.cb-site-text-box.edit-mode {
    padding: .5rem;
    margin-bottom: .5rem;
    border: 1px solid #adb5bd;
}

.cb-site-merlot-mat {
  /* background-color: #f8f9fa; */
  background-color: none;
  padding: .75rem;
  border: 1px solid #ced4da;
  border-radius: .25rem;
}

.cb-site-merlot-mat-img {
  margin-right: 1rem;
  width: 25%;
  max-width: 150px;
}

.cb-site-merlot-mat-title {
  margin-bottom: .5rem;
  font-size: 1rem;
  font-weight: bold;
}

.edit-mode-controls-div {
    display: flex;
    justify-content: space-between;
}

.edit-mode-controls-div.banner {
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 1000;
  justify-content: center;
}

.edit-mode-box-title {
    padding: .1rem .5rem;
    border-radius: 4px 4px 0 0;
    background-color: #495057;
    color: #f8f9fa;
}

.edit-mode-box-title.banner {
  padding: .5rem 1rem;
  margin-right: .75rem;
  border-radius: 0 0 4px 4px;
}

.edit-mode-box-title.light {
  background-color: #f8f9fa;
  color: #495057;
}

.edit-mode-controls {
    padding: .1rem .5rem;
    border-radius: 4px 4px 0 0;
    background-color: #495057;
    color: #f8f9fa;
    font-size: 1rem;
}

.edit-mode-controls.banner {
  padding: .5rem 1rem;
  border-radius: 0 0 4px 4px;
}

.edit-mode-controls.light {
  padding-top: .25rem;
  background-color: #f8f9fa;
  color: #495057;
}

.edit-mode-controls-btn {
    padding: 0;
    margin-right: .25rem;
    color: #f8f9fa;
    background-color: transparent;
    border: 0;
}

.edit-mode-controls-btn:hover {
    color: #ced4da;
    text-decoration: none;
    cursor: pointer;
    background-color: inherit;
}

.edit-mode-controls-btn:focus {
    outline: medium solid rgba(248, 249, 250, .5);
}

.edit-mode-controls-btn.light {
    color: #495057;
}

.edit-mode-controls-btn.light:hover {
    color: #7e1818;
}

.edit-mode-controls-btn.light:focus {
    outline: medium solid rgba(126, 24, 24, .5);
}

.edit-mode-controls-btn.plus {
    margin-right: 0;
}

.edit-mode-add-btn-div {
    display: flex;
    justify-content: center;
    margin-bottom: .5rem;
}

.edit-mode-add-btn {
    font-size: 1.5rem;
    color: #7e1818;
}

.edit-mode-add-btn:hover {
    color: #531010;
    text-decoration: none;
}

.cb-site-images {
  display: flex;
  flex-flow: row wrap;
}

.cb-site-image-thumb-container {
  position: relative;
  margin: 0 1rem 1rem 0;
  width: 75px;
  height: 75px;
  background-color: #e9ecef;
  overflow: hidden;
}

.cb-site-image-thumb-container.active {
  border: 2px solid #9f3636;
  box-shadow: 1px 1px 7px -1px #9f3636;
}

.cb-site-image-thumb {
  max-height: 100%;
}

.cb-site-image-delete-btn {
  position: absolute;
  top: 0;
  right: 0;
  margin-right: 0;
  padding: .25rem;
  background-color: rgba(233,236,239,.75);
}

.cb-site-image-add-btn {
  width: 75px;
  height: 75px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 3rem;
  background-color: #adb5bd;
}

.cb-site-image-add-btn:hover {
  background-color: #495057;
}

.full-spectrum .sp-palette {
    max-width: 200px;
}

.cb-rss-div {
    margin: 2rem auto;
    line-height: var(--lh);
}

.cb-rss-feed-list-container {
    max-height: 800px;
    overflow-y: scroll;
    border-top: 1px solid #ced4da !important;
    border-bottom: 1px solid #ced4da !important;
}

.cb-rss-feed-list-item {
	background-color: inherit;
}

.cb-rss-entry-title {
	font-size: 1rem;
	margin-bottom: .5rem;
}

.cb-rss-entry-description {
    --max-lines: 3;
    position: relative;
    max-height: calc(var(--lh) * var(--max-lines));
    overflow: hidden;
    padding-right: 1rem; /* space for ellipsis */
}

