/* CSS Document -- FAQ page */
::-webkit-scrollbar {
  width: 11px;
  height: 3px;
  background: #FFFFFF;
}

::-webkit-scrollbar-thumb {
  background-color: #ffffff;
  border: 3px dashed #bab8b630;
}

::-webkit-scrollbar-thumb:hover {
  border: 3px dashed #bab8b660; /* Change the border color on hover */
}

.grid {
  margin-left: 14px;
  margin-right: 14px;
  display: grid;
  grid-gap: 0px;
  column-gap: 0px;
  grid-template-columns: repeat(auto-fill, 360px);
  grid-auto-rows: 18px;
  justify-content: center;
  box-shadow: 0 0 20px #8a888860;
  background-color: transparent;
  border-left: 3px dotted #bab8b650;
  border-right: 3px dotted #bab8b650;
  background-image: 
    repeating-linear-gradient(to bottom, #bab8b630 0 1px, transparent 1px 5px),
    repeating-linear-gradient(to bottom, #bab8b630 0 1px, transparent 1px 5px);
  background-repeat: no-repeat;
  background-size: 15px 100%, 15px 100%;
  background-position: 9px 0, calc(100% - 9px) 0;
  grid-auto-flow: dense;
}

/* Main Headline */
.headline, .headlineN, .headlineI, .headlineB {
    font-family: serif;
    color: gray;
    font-size: 13pt;
    line-height: 13pt;
    text-decoration: none;
    letter-spacing: 0.5px;
    text-align: left;
    text-shadow:0 2px 0 #e5e5e5;
}

.headline {
    position: relative;
    margin-top: 10px;
	margin-left: 10px;
    font-weight: 100;
	display: inline-block;
}

.headlineN {
    font-weight: 100;
}

.headlineI {
    font-style: italic;    
	font-weight: 200;
}

.headlineB {
    font-style: normal;    
    font-weight: 600;
}

/* Define the animation for blinking */
@keyframes blink {
  0%, 100% { opacity: 1;
color: gray;  }
  50% { opacity: 0.5;
color: #fc0303;
font-family: Geneva, Arial, Helvetica, Verdana, sans-serif;
font-size: 9pt;
font-style: bold;
font-weight: 900;
letter-spacing: 1.5px;  }
}

.headlineB span:nth-of-type(1),
.headlineB span:nth-of-type(2),
.headlineB span:nth-of-type(3),
.headlineB span:nth-of-type(4) {
  animation: blink 20.0s ease-in-out infinite;
}

/* Non-grid specific CSS */  
body {
  position: relative;
  min-height: 100vh;
  margin: 0px;
  text-rendering: optimizeLegibility;
  webkit-font-smoothing: antialiased;
  background-color: transparent;
  z-index:0;
}

.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  text-align: center;
  border-top: 1px dotted #bab8b650;
  padding: 0px;
  font-family: Geneva, Arial, Helvetica, Verdana, sans-serif;
  font-size: 6.5pt;
  line-height: auto;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-shadow:none;
  color: #787777;
  border-bottom: 1px dotted #bab8b650;  
  text-decoration-style: dotted;
  font-smooth: never;
  -webkit-font-smoothing: none;  
}

/* Styling of buttons */
.btn {
  border-radius: 2px;
  margin: 0 -2px;
  background: none;
  cursor: pointer;
  font-family: Geneva, Arial, Helvetica, Verdana, sans-serif;
  color: #666666;
  font-size: 8pt;
  line-height: auto;
  letter-spacing: 1px;
  text-decoration: none;
  border: none;
  -webkit-appearance: none;
  outline: none;
  text-align: left;  
}

.pageBtn {
  margin: 0 3px;
}

.btn:hover {
  color: #FF6600;
  text-decoration: underline;
  background-color: #3d332e;
  text-shadow: none;
}

.btn.activePage, .btn.activeFilter {
  background-color: #3d332e;
  color: #FF6600;
  text-decoration: none;
}

.title {
  float: left;
  position: relative;
  top: 1px;
  border-top: 1px dotted #bab8b6;
  border-bottom: 1px dotted #bab8b6;
  text-decoration-style: dotted;
  text-align: left;
  padding: 0px;
  font-family: Geneva, Arial, Helvetica, Verdana, sans-serif;
  font-size: 7pt;
  line-height: auto;
  font-weight: 600;
  letter-spacing: 0px;
  text-shadow:0 2px 0 #e5e5e5;
  color: #787777;
}

.ID {
  float: right;
  position: relative;
  top: 1px;
  border-top: 1px dotted #bab8b6;
  border-bottom: 1px dotted #bab8b6;
  text-decoration-style: dotted;
  text-align: left;
  padding: 0px;
  font-family: Geneva, Arial, Helvetica, Verdana, sans-serif;
  font-size: 7pt;
  line-height: auto;
  font-weight: 600;
  letter-spacing: 0px;
  text-shadow:0 2px 0 #e5e5e5;
  color: #787777;
}

/* Display was changed from none to block in this page, and the media screen was added! */
.item {
  position: relative;
  display: block;
  width: 100%;
  background-color: transparent;
  min-height: auto;
}

@media screen and (min-width: 1024px) { /* adjust 1024px as needed */
  .item {
    width: 800px; /* use 800px for wide screens */
  }
}

.show {
  display: block !important;
}

.photothumb{
  width: 360px;
  height: 360px;
  box-sizing: border-box;
  margin-bottom: 0;
  vertical-align: bottom;
  position: relative;   
}

.photothumb:hover::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    box-shadow: inset 0 0 40px #8a8888;
    border: 2px dotted #FF6600;
    z-index: 1;
}

.noHover::before {
    box-shadow: none;
    border: none;
}

.noHover:hover::before {
    content: none;
}

/* This one is no longer being used, because the color buttons are removed. */
#main-page-text {
  padding: 0px 10px 20px 10px;
  background-color: white;
  text-align: justify;
  border-bottom: 1px dotted #bab8b6;
  border-radius: 3px;
  box-shadow: inset 0 0 20px #e3e2e1;
  margin-top: 0;
  font-family: Geneva, Arial, Helvetica, Verdana, sans-serif;
  font-size: 8pt;
  line-height: auto;
  letter-spacing: 0px;
  text-shadow:0 2px 0 #e5e5e5;
  color: #FF6600;
/* word wrap and break */
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}

.desc{
  padding: 0px 10px 20px 10px;
  background-color: white;
  text-align: justify;
  border-bottom: 1px dotted #bab8b6;
  border-radius: 3px;
  box-shadow: inset 0 0 20px #e3e2e1;
  margin-top: 0;
  font-family: Georgia, Times-new-roman, Book-antiqua, serif;
  font-size: 11pt;
  line-height: auto;
  letter-spacing: 0px;
  text-shadow:0 0px 0 #e5e5e5;
  color: #3d332e;
/* word wrap and break */
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}

.desc p{
  margin-top: 3px;
  margin-bottom: 0px;
}

.desc p a {
  color: #FF6600;
  text-decoration: none;
  border-bottom: 1px dotted;
  -webkit-tap-highlight-color: transparent;
}

.desc p a:hover {
  color: #FF6600;
  text-decoration: underline;
  background-color: #3d332e;
  text-shadow: none;
  border-bottom: none;
}

.italic-text {
  font-style: italic;
}

/* Default styles for larger screens */
.popup {
  width: 720px;
  height: auto;
}

/* Styles for smaller screens */
@media (max-width: 480px) {
  .popup {
    width: 90vw; /* Use viewport width unit */
    height: auto;
  }
}

/* The Modal (background) */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 0;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.4);
}

/* Modal Content */
.modal-content {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0,0,0,0.4);
  margin: 0 auto;
  padding: 0;
  border: 0;
  width: 100%;
  height: auto;
  max-width: 720px;
  max-height: 720px;
  box-sizing: border-box;
}

/* The Close Button */
.close-btn {
  position: absolute;
  top: -25px;
  right: 0px;
  color: transparent;
  font-size: 88px !important;
  font-weight: bold;
  text-shadow: 0px 0px 7px #bab8b8;
}

.close-btn:hover,
.close-btn:focus {
  color: transparent;
  text-shadow: 0px 0px 7px #666666;
  cursor: pointer;
} 

/* The Animated . */
@keyframes move {
  0%, 50% { 
    transform: translateX(0); 
    animation-timing-function: ease-out; /* Faster in the beginning */
  }
  25%, 75% { 
    transform: translateX(800px); 
    animation-timing-function: ease-in; /* Slower in the end */
  }
  100% { 
    transform: translateX(0); 
  }
}

@keyframes fade {
  0%, 99% {
    opacity: 1; /* Start fully visible */
  }
  100% {
    opacity: 0; /* Fade out at the end */
  }
}

.AnimatedPeriodContainer {
  position: fixed;
  top: 9px;
  left: 525px;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.AnimatedPeriod {
  display: inline-block;
  will-change: transform;
  animation: move 11.8s linear, fade 11.8s forwards;
}

.full-width-background {
  /* Background styles for main page. I restyled it by removing the last 2 lines. */
  margin-left: 14px;
  margin-right: 14px;
  justify-content: center;
  box-shadow: 0 0 20px #8a888860;
  background-color: transparent;
  border-left: 3px dotted #bab8b650;
  border-right: 3px dotted #bab8b650;
  box-shadow: 0 0 20px #8a888860;
  background-image: 
    repeating-linear-gradient(to bottom, #bab8b610 0 1px, transparent 1px 5px),
    repeating-linear-gradient(to bottom, #bab8b610 0 1px, transparent 1px 5px);
  background-repeat: no-repeat;
}

.accordion-button {
  display: block !important;
  padding-left: 0 0;
  text-align: left;
  -webkit-tap-highlight-color: transparent;  
  -webkit-touch-callout: none; /* iOS specific style */
  
  font-family: Georgia, Times-new-roman, Book-antiqua, serif;
  font-size: 11pt;
  line-height: auto;
  letter-spacing: 0px;
  text-shadow:0 0px 0 #e5e5e5;
  color: gray;
/* word wrap and break */
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word;
  hyphens: auto;  
}

.accordion-button:active {
  background: none; /* Android specific style */
  outline: 0; /* Android specific style */
}

.accordion-button.active {
  text-align: left;
}

.accordion-content {
  text-indent: 20px;
  text-align: justified;
  display: none;
  overflow-y: scroll; /* Always show the scrollbar */
}

.accordion-content p a {
  color: #FF6600;
  text-decoration: none;
  border-bottom: 1px dotted;
  -webkit-tap-highlight-color: transparent;
}

.accordion-content p a:hover {
  color: #FF6600;
  text-decoration: underline;
  background-color: #3d332e;
  text-shadow: none;
  border-bottom: none;
}

.accordion-button::-moz-focus-inner {
  border-style: none;
}
