/* Base Styles */
body {
  background-color: #fdfffd; /* Dreamless Sleep background */
  font-family: Verdana, Arial, Sans-serif;
  text-align: center;
  margin: 0;
  padding: 0;
  font-size: 11px;
  color: #c1b2c7; /* Dreamless Sleep text */
}
p {
  line-height: 1.7em;
  margin-bottom: 16px;
}

/* Link Styling */
a:link, a:visited {
  text-decoration: none;
  color: #a93942; /* Opera (Red Accent) */
  font-weight: bold;
}
a:active, a:hover {
  border-bottom: 1px solid #a93942; /* Opera (Red Accent) */
  color: #425e53; /* Elite Teal text */
}
a img {
  border: none;
}

/* Headings */
h1, h2, h3 {
  padding: 4px 0;
  margin: 4px 0;
}
h1 {
  color: #a93942; /* Opera Heading Accent */
  font-family: Tahoma, Verdana, Sans-serif;
  border-bottom: solid 2px #a93942; /* Opera Line */
  font-weight: normal;
  font-size: 1.7em;
  letter-spacing: 0.08em;
  clear: both;
}
h2 {
  color: #425e53; /* Elite Teal text */
  font-weight: normal;
  font-size: 1.5em;
  border-bottom: 2px solid #a93942; /* Opera Accent Line */
}
h3 {
  color: #a93942; /* Opera */
  font-weight: normal;
  font-size: 1.4em;
}

.print_only {
  display: none;
}

.alt-header {
  width: 760px
}

.cbox {
    min-height: 300px;
    border-width: medium;
    width: auto;
    margin-bottom: 15px;
    max-height: max-content;
    overflow: auto;
}

.box-collections {
  margin: 10px;
  display: flex;
  border: 1px solid #f4e1e3;
  height: auto;
  width: fit-content;
}

.gallery-page {
  overflow-x: clip;
  overflow-y: scroll;
  height: 400px;
  background: #fffffd; /* First Crush background */
  padding-top: 10px;
  text-align: left;
  border: 1px solid #f4e1e3;
}

.collection-page{
  height: 480px;
  background: #fffffd; /* First Crush background */
  padding-top: 10px;
  text-align: left;
  border: 1px solid #f4e1e3;
}

.archive-page {
  height: 550px;
  background: #fffffd; /* First Crush background */
  padding-top: 10px;
  text-align: left;
  border: 1px solid #f4e1e3;
}

.box-image-desc {
  border: 1px solid #f4e1e3;
  overflow: hidden;
  height: 200px;
  display: flex;
}

.box-image-desc-blog {
  border: 1px solid #f4e1e3;
  overflow: hidden;
  height: 305px;
  display: flex;
}

.archive-date {
  margin-left: auto;
  margin-right: 10px;
  border: 1px solid #f4e1e3;
  padding-left: 5px;
  padding-top: 2px;
  max-height: fit-content;
  padding-bottom: 2px;
  padding-right: 5px;
}

.archive-desc {
  border: 1px solid #f4e1e3;
  overflow: auto;
  max-height: 150px;
  display: flex;
}

.desc {
  overflow-y: auto;
  margin-left: 10px;
  margin-right: 10px;
}

.gallery-cache-img {
  margin: 10px;
  height: 250px;
  box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.2);
}

.blog-grid {
  margin: 10px;
  height: fit-content;
  display: grid;
  inline-size: fit-content;
  box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.2);
  grid-template-columns: 50% 50%; /* Two columns, each 50% */
  grid-template-rows: auto auto; /* Two rows */
  grid-template-columns: auto auto;
}

.zoom-img {
    height: 140px;
    transition: transform 0.3s ease; 
  }

  .zoom-img:hover {
    transform: scale(1.4); 
  }

.thumbnail {
  margin: 10px;
  max-height: 200px;
  box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: transform 0.2s ease;
  }

    .thumbnail:hover {
      transform: scale(1.03);
    }

    
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-overlay img {
  /* Forces the image to be exactly 500px wide */
  height: 400px; 
  
  /* Prevents it from overflowing on small mobile screens */
  max-height: 90vw; 
  
  /* Keeps the image aspect ratio so it doesn't look stretched */
  -webkit-box-shadow: 0px 10px 13px -7px #000000, 5px 5px 15px 5px rgba(0,0,0,0);
  width: auto;
  box-shadow: 0px 10px 13px -7px #000000, 5px 5px 15px 5px rgba(0,0,0,0);
}

.blog-img{
  height: 140px;
}

.logo {
  height: 20px;
  padding: unset;
  margin: unset;
}

.news {
  max-height: 175px;
  overflow-y: scroll;
  overflow-x:hidden;
}

.copy-paste-setup {
  margin-bottom: 10px;
  display: grid;
  width: 600px;
}

.copy-paste-setup-2 {
  display: grid;
  margin-right: auto;
  width: 600px;
  grid-template-columns: 50% 50%; /* Two columns, each 50% */
  grid-template-rows: auto auto; /* Two rows */
  grid-template-rows: auto auto;
}

.stickies {
  aspect-ratio: 88/31;
  width: 74px;
}

.info-box {
  display: flex;
  align-items: center; /* Vertically aligns the image and text in the center */
  gap: 12px;           /* Adds space between the image and the text */
}

.info-box img {
  width: 70px;
  box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.2);
}

/* Page Layout */
#wrapper {
  background: #fdfffd; /* Dreamless Sleep background */
  text-align: center;
  width: 100%;
}
#main {
  width: 780px;
  padding: 20px 0;
  margin: 0 auto;
}

/* Navigation Bars */
#footer, #sub_nav, #top_nav {
  margin-bottom: 1px;
  text-align: left;
  padding: 4px 16px;
}
#top_nav {
  background: #a93942; /* Prominent Opera Red Background */
  font-size: 1.4em;
}
#top_nav a:link, #top_nav a:visited {
  color: #c6ddca; /* Opera Light Text */
}
#top_nav a:hover, #top_nav a:active {
  color: #fffffd; /* Bright White Highlight */
}

#sub_nav {
  background: #f4e1e3; /* Pastel Magenta background */
  font-size: 1.2em;
  padding: 5px 16px;
}
#sub_nav a:link, #sub_nav a:visited {
  color: #425e53; /* Elite Teal text */
}
#sub_nav a:hover, #sub_nav a:active {
  color: #a93942; /* Opera */
  border-bottom: 2px solid #a93942;
}

/* Header Section */
#header {
  background: #fffffd; /* First Crush background */
  height: 69px;
  text-align: left;
  padding: 0 12px;
  margin-bottom: 3px;
  border-bottom: 3px solid #a93942; /* Opera Accent Line */
}
#header h1 {
  margin: 0;
  padding: 18px 0 0 0;
  overflow: hidden;
  color: #a93942; /* Opera Red Site Title */
  border-bottom: none;
  font-size: 2.2em;
}

/* Content & Sidebar */
#page {
  background: #fffffd; /* First Crush background */
  padding-top: 10px;
  text-align: left;
  border: 1px solid #f4e1e3;
}
#content {
  padding-left: 16px;
  float: left;
  padding-top: 12px;
}
#content a:active, #content a:hover {
  color: #a93942; /* Opera */
}

#side {
  float: right;
  background: #fffffd; /* First Crush background */
  padding: 16px;
  color: #c1b2c7; /* Dreamless Sleep text */
  border-top: #fffffd solid 1px;
  border-left: 1px solid #f4e1e3;
}

/* Footer */
#footer {
  font-size: 0.8em;
  background: #a93942; /* Prominent Opera Red Background */
  color: #c6ddca; /* Opera Light Text */
  border-top: 2px solid #a93942;
  padding: 8px 16px;
  clear: both;
}
#footer a:link, #footer a:visited {
  color: #fffffd; /* White Link Highlight */
  font-weight: bold;
}
#footer a:hover {
  color: #c6ddca;
}

.two_column #content {width: 490px;}
.two_column #side { width: 216px; }

/* Sidebar Menu Component */
.menu {
  margin: 0 -16px;
  padding: 0;
  list-style: none;
  border-top: 1px solid #fffffd;
  display: block;
}
.menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: block;
}
.menu li {
  margin: 0;
  padding: 0;
  border: none;
  display: block;
}
.menu li a:link, .menu li a:visited {
  display: block;
  padding: 8px 16px;
  margin: 0;
  color: #c6ddca; /* Opera Light Text */
  font-weight: bold;
  background: #a93942; /* Prominent Opera Red Menu Headers */
  border-bottom: 1px #fffffd solid !important;
  letter-spacing: 0.12em;
  font-size: 1.2em;
}
.menu li li a:link, .menu li li a:visited {
  background: #fffffd;
  color: #c1b2c7; /* Dreamless Sleep text */
  font-weight: normal;
  letter-spacing: 0.04em;
  font-size: 1em;
}
.menu a:link, .menu a:visited, .menu a:hover {
  text-decoration: none !important;
}
.menu li li a:hover {
  background-color: #f4e1e3 !important; /* Pastel Magenta */
  color: #a93942 !important; /* Opera Red */
}

.side_decor {
  margin: 12px 16px 12px 0;
  float: left;
}

#page:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}
html #page {
}
#page { display: block; }