﻿/* GalacticBeacon site.css */
/* Navbar search tweaks */
.navbar-search .form-control { font: inherit; }
.navbar-search .form-control { font-size: 1rem; -webkit-appearance: none; appearance: none; }
.navbar-search .form-control::placeholder { font: inherit; opacity: .65; }
.navbar-search .btn { white-space: nowrap; }
/* Normalize browser autofill */
.navbar-search .form-control:-webkit-autofill,
.navbar-search .form-control:-webkit-autofill:hover,
.navbar-search .form-control:-webkit-autofill:focus,
.navbar-search .form-control:-webkit-autofill:active {
  font: inherit !important;
  -webkit-text-fill-color: inherit !important;
  caret-color: inherit !important;
  box-shadow: 0 0 0 100px var(--bs-body-bg, #fff) inset !important;
  -webkit-box-shadow: 0 0 0 100px var(--bs-body-bg, #fff) inset !important;
  transition: background-color 9999s ease-out 0s !important;
}
.navbar-search .form-control:-moz-autofill {
  font: inherit !important;
  color: inherit !important;
  caret-color: inherit !important;
  box-shadow: 0 0 0 100px var(--bs-body-bg, #fff) inset !important;
}
/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

body {
    color: white;
}

#header {
    background-color: #5C6C73;
}

.photo {
    max-width: 100%;
    height: auto;
    width: 100%;
    padding-bottom: 1rem;
}

/* Keep post photos from being distorted in responsive containers */
.photo img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.comic {
   width: 100%; 
}

.site-head, #header {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding-top: 7rem;
    padding-bottom: 2rem;
    background-image: url(/images/GatorGlide-808x220.png);
}

.navbar-toggler {
    background-color: #70848C;
}

blockquote {
  padding: 1rem 2rem;
  margin: 0 2rem;
  font-style: italic;
  background-color: floralwhite;
}


@media screen and (min-width: 768px) {
    .site-head, #header {
        background-image: url(/images/GatorGlide.jpg);
    }
    .comic {
    width: 60%; 
    }
}

img, figure, videoWrapper, iframe {
  max-width: 100%;
  width: 100%;
}

/* GalacticBeacon hero styles */
.gb-hero{position:relative;display:block;width:100%;overflow:hidden;min-height:clamp(140px,30vw,320px);background:#000}
.gb-hero picture{position:absolute;inset:0;display:block;width:100%;height:100%;z-index:0}
.gb-hero picture>img{position:absolute;inset:0;width:100%;height:100%;display:block;object-fit:cover;object-position:center center;z-index:0}
@supports not (object-fit: cover){
  .gb-hero picture>img{left:50%;top:50%;transform:translate(-50%,-50%);min-width:100%;min-height:100%;width:auto;height:auto}
}
.gb-hero__overlay{position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,rgba(0,0,0,.45) 0%,rgba(0,0,0,.35) 60%,rgba(0,0,0,.25) 100%)}
.gb-hero__content{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:2rem 1rem;z-index:2}
.gb-hero__title{color:#fff;text-shadow:2px 4px 1px rgba(0,0,0,.7);font-size:clamp(1.75rem,4vw,2.75rem);margin:0 auto;display:block}
.gb-hero__subtitle{color:#fff;text-shadow:2px 4px 1px rgba(0,0,0,.7);font-size:clamp(1rem,2.5vw,1.5rem);margin:.25rem auto 0;display:block}

/* Remove header padding so hero sits flush */
#header { padding-top: 0 !important; padding-bottom: 0; }

/* Neutralize default hero background/image */
.site-head { background: none !important; }
#site-banner-image { display: none !important; }

/* Accessible skip link: hidden by default, visible on keyboard focus */
.visually-hidden-focusable:not(:focus):not(:focus-within) {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.visually-hidden-focusable:focus,
.visually-hidden-focusable:focus-within {
  position: static !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  overflow: visible !important;
  clip: auto !important;
  white-space: normal !important;
  background: #ffffff;
  outline: 2px solid #0d6efd;
  padding: .25rem .5rem;
  border-radius: .25rem;
  z-index: 1000;
}

#search-text {
  margin-left: 1rem;
}

/* article figure {
    padding: 3rem;
} */

article figure p {
  text-align: center;
}

article figure, article figcaption {
    /*background-color: #A378BF;*/
    text-align: center;
}

.comicfigure{
    /*background-color: #A378BF;*/
    text-align: left;
}

article figcaption {
  padding: 1rem;
  font-size: 1.25rem;
  font-variant: small-caps;
}

.photofigure figcaption {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.52));
  color: #f8f9fa;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

.photofigure .photo-credit {
  color: #e9ecef;
  margin-top: 0.35rem;
  font-size: 0.95rem;
  display: block;
}

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}


/* Provide sufficient contrast against white background */
a {
  color: purple;
}

#site-meta-data {
  display: flex;
  flex-direction: column;
}

#site-title, #site-title a {
  color: white;
  text-shadow: 2px 4px 1px rgba(0, 0, 0, .7);
  text-decoration: none;
}

#site-sub-title {
  color: white;
  font-size: 2rem;
  font-style: italic;
  text-shadow: 2px 4px 1px rgba(0, 0, 0, .7);
  padding-left: 1rem;
}


.side-bar-widget {
    margin-bottom: 2rem;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.current-page {
    width:3rem;
}

.post {
    margin-bottom: 5rem;
    padding: 3rem 11rem;
    background-color: #F2F0D0;
}

.post-title-link {
  text-decoration: none;
}
.post-title-link:hover {
  text-decoration: underline;
  color: maroon;
}

article {
  margin-bottom: 4rem;
}

#paging-footer {
  margin-top: 2rem;
}
*/
/* Sticky footer styles
-------------------------------------------------- */
footer:nav {
    background-color: azure;
}
html {
  font-size: 14px;
}

@media screen and (max-width: 1200px){
  #site-title {
    top: 4rem;
  }
  #site-sub-title {
    top: 8rem;
  }
}

@media screen and (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
    background-color: white;
    color: #0D0D0D;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px; /* Vertically center the text there */
}
