body {
  background-color: #202020;
  color: #d0d0d0;
  background-image: url("../img/symbg.png");
}
body .container, body .container-fluid {
  background-color: transparent;
}
body .col {
  background-color: #202020;
}
p, a, h1, h2, h3, h4 {
  margin: 0;
}
p {
  text-overflow: ellipsis;
  white-space: normal;
  overflow: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
#top {
  background-image: url("../img/logo.png");
  background-repeat: no-repeat;
  background-size: 250px;
  background-origin: content-box;
  background-position: center;
  height: 250px;
}
#footer {
  position: sticky;
  bottom: 0;
}
/* The pixel value for the min-height in the .everything class needs to be equal to the height of the footer. */
.everything {
  min-height: calc(100vh - 136px);
}

.center, .info a {
  display: block;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.ital {
  font-style: italic;
  color: #808080;
  max-width: 100%;
}
.aligncenter, .title {
    text-align: center;
}
.container-fluid, .container {
  background-color: #202020;
}
.mbelow {
  margin-bottom: 12px;
}
/*
.glow {
  transition:
    background-color 1s ease;
}
.glow:hover {
  background-color: #282828;
}
*/

/* Border styling */
.container-fluid .borderme, .container .borderme {
  border-style: solid;
  border-color: #404040;
  box-shadow: 0 8px 8px #080808;
  border-width: 4px 0 12px 0;
  position: relative;
}
@media (min-width: 576px) {
  .container .borderme {
    border-width: 4px 4px 12px 4px;
  }
}

.logoimg {
  max-height: 250px;
}
.symimg {
  max-height: 100px;
}
.spaceimg {
  max-height: 50px;
  margin-top: 16px;
}

/* Title styling */
.title h1 {
  margin: 12px 0;
  font-variant: small-caps;
}
.title h2 {
  margin-bottom: 8px;
  font-size: 1.5em;
}
.title p {
  margin-bottom: 8px;
}
.title img {
  max-height: 100px;
}
.title .symimg {
  margin-bottom: 4px;
}

/* Info Styling */
.container-fluid .info, .container .info {
  margin-top: 12px;
}
.spacer {
  height: 16px;
}
.info h2 {
  margin: 12px 0 4px;
  font-variant: small-caps;
  font-size: 1.5em;
}
.info h3 {
  font-size: 20px;
  margin: 0 0 8px;
}
.info .symimg {
  max-height: 50px;
  margin: 12px 0 -12px;
}
a.infobutton {
  padding: 4px 8px;
  color: inherit;
  text-decoration: none;
  margin: 16px auto;
  border-width: 2px;
  border-style: solid;
  width: max-content;
  border-radius: 18px;
  font-weight: bold;
  transition:
    color 0.2s ease,
    border-width 0.2s ease,
    border-radius 0.2s ease,
    margin 0.2s ease,
    background-color 0.2s ease,
    padding 0.4s ease;
}
.info p a {
  display: inline;
  font-weight: bold;
  transition: color 0.1s ease;
}

.row.pages {
  font-size: 20px;
  font-weight: bold;
  margin-top: 16px;
}
.pages a {
  border-radius: 0px;
  border-style: solid;
  border-width: 2px 0 0;
  width: 100%;
  height: 100%;
  display: block;
  transition:
    background-color 0.2s ease,
    border-radius 0.2s ease,
    border-width 0s ease;
}
.hidebig .pages div {
  padding: 0;
}

/* Info Colors */
.info.colred, .title.colred, a.colred {
  border-color: #D02020;
  color: #D02020;
}
.info.colorange, .title.colorange, a.colorange {
  border-color: #D08020;
  color: #D08020;
}
.info.colyellow, .title.colyellow, a.colyellow {
  border-color: #D0B020;
  color: #D0B020;
}
.info.colgreen, .title.colgreen, a.colgreen {
  border-color: #20D020;
  color: #20D020;
}
.info.colcyan, .title.colcyan, a.colcyan {
  border-color: #20D0D0;
  color: #20D0D0;
}
.info.colblue, .title.colblue, a.colblue {
  border-color: #2040D0;
  color: #2040D0;
}
.info.colpurple, .title.colpurple, a.colpurple {
  border-color: #B020D0;
  color: #B020D0;
}
.info.colmagenta, .title.colmagenta, a.colmagenta {
  border-color: #D020B0;
  color: #D020B0;
}
p {
  color: #D0D0D0;
}

/* Info Anchor Actions */
a.infobutton:hover {
  cursor: pointer;
  color: #D0D0D0!important;
  text-decoration: none;
  /*
  margin: 14px auto;
  border-width: 4px;
  border-radius: 20px;
  */
  background-color: #303030;
  padding: 4px 16px;
}
a:hover {
  cursor: pointer;
  text-decoration: none;
  color: #D0D0D0!important;
}
.pages a:hover {
  background-color: #303030;
  border-radius: 10px;
  border-width: 2px;
}
a.infobutton:active {
  background-color: #404040;
}

/* Smart Sizing */
@media (max-width: 575px) {
  body p {
    font-size: 14px;
  }
  body h3 {
    font-size: 18px !important;
    /*margin-bottom: 2px !important;*/
  }
  .title img {
    max-height: 100px;
  }
  .hidesmall {
    visibility: hidden;
    max-width: 0;
    max-height: 0;
    padding: 0;
    margin: 0;
    border-width: 0;
  }
}
@media (min-width: 576px) {
  .hidebig {
    visibility: hidden;
    max-width: 0;
    max-height: 0;
    padding: 0;
    margin: 0;
    border-width: 0;
  }
}

/*
@keyframes dulo {
  from {transform: rotate(0deg) scale(0);}
  to {transform: rotate(360deg) scale(1);}
}
.title img {
  animation: dulo;
  animation-duration: 1s;
  animation-delay: 2s;
  animation-fill-mode: forwards;
  transform: scale(0);
}
*/

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 24px;
}
::-webkit-scrollbar-track {
  background: #404040;
}
::-webkit-scrollbar-thumb {
  background: #202020;
  border-width: 4px 4px 12px;
  border-style: solid;
  border-color: #404040;
}
::-webkit-scrollbar-thumb:hover {
  background: #d0d0d0;
}

/* Custom Highlighting */
::selection {
  color: #202020;
  background: #d0d0d0;
}
::-moz-selection {
  color: #202020;
  background: #d0d0d0;
}
