/*  phpBB3 Style Sheet
    --------------------------------------------------------------
	Style name:			Greymatter
	Based on style:		prosilver (the default phpBB 3.3.x style)
	Original author:	Tom Beddard ( http://www.subblue.com/ )
	Modified by:		MannixMD ( https://twitter.com/MannixMD )
    --------------------------------------------------------------
*/
@import url("normalize.css?hash=48eb3f89");
@import url("base.css?hash=4684e7f9");
@import url("utilities.css?hash=3a3f5cdb");
@import url("common.css?hash=C0D356C4");
@import url("links.css?hash=779d425b");
@import url("content.css?hash=e95f0908");
@import url("buttons.css?hash=a8966fa5");
@import url("cp.css?hash=f1981151");
@import url("forms.css?hash=2E05810C");
@import url("icons.css?hash=ebceaf76");
@import url("colours.css?hash=467306b0");
@import url("responsive.css?hash=ED17E9AF");
/* Main container fix */
#postform {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
}
/* Editor container */
#message-box {
  width: 100% !important;
  order: 2; /* Move editor below smiley box */
}
/* Smiley/BBcode panel */
#format-buttons, #smiley-box {
  width: 100% !important;
  order: 1; /* Move above editor */
  margin-bottom: 10px !important;
}

/* Remove any float constraints */
#postingbox {
  overflow: visible !important;
}


/* Remove all topic icons from active topics */
.topiclist.topics .topic-icon, .topiclist.topics .topic-icon img, .topiclist.topics .topic-icon i {
  display: none !important;
  visibility: hidden !important;
}
/* Remove topic icons from Active Topics */
.searchresults .topic-icon, .searchresults .topic-icon img, [class*="topiclist"] .topic-icon {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  visibility: hidden !important;
}
/* Adjust spacing to compensate */
.searchresults .topic-title {
  margin-left: 0 !important;
  padding-left: 0 !important;
}
/* Remove topic icons from active topics list */
.topiclist .topic_read_mine dt, .topiclist .topic_read dt, .topiclist .topic_unread_mine dt, .topiclist .topic_unread dt {
  background-image: none !important;
}
/* If there's an additional icon element */
.topiclist .topic-icon {
  display: none !important;
}
/* Fix forum title alignment */
.forum_read dt .list-inner, .forum_unread dt .list-inner {
  margin-left: 60px !important;
  margin-top: 10px !important;
  padding-left: 0 !important;
}
/* Adjust forum title positioning */
.forumtitle {
  display: inline-block;
  vertical-align: middle;
  margin-left: 0;
  padding-top: 0px; /* Fine-tune as needed */
}
/* Ensure consistent spacing */
.row-item dt {
  padding: 0px 0px !important; /* Adjust values as needed */
}
/* Responsive adjustments */
@media (max-width: 768px) {
  .forumtitle {
    padding-top: 0;
  }
}
/* about us page */
body[class*="section-app/about-us"] .content {
  width: 90%;
  max-width: 1200px;
  height: auto;
  min-height: 200px;
  margin: 2rem auto;
  padding: 2rem;
  font-family: 'Roboto', sans-serif;
  font-size: clamp(14px, 1.5vw, 14px);
  text-align: justify;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
}
/* code page */
body[class*="section-app/code"] .content {
  width: 90%;
  max-width: 1200px;
  height: auto;
  min-height: 200px;
  margin: 2rem auto;
  padding: 2rem;
  font-family: 'Roboto', sans-serif;
  font-size: clamp(14px, 1.5vw, 14px);
  text-align: justify;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
}
.bbcode-status {
    display: none !important;
}
#smiley-box {
    display: none !important;
}


/* Style the Terms/Privacy Policy container */
.agreement {
    width: 90%;
  max-width: 1200px;
  height: auto;
  min-height: 200px;
  margin: 2rem auto;
  padding: 2rem;
  font-family: 'Roboto', sans-serif;
  font-size: clamp(14px, 1.5vw, 14px);
  text-align: justify;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
}

.postbody {
    background-color: #1e1e1e;
    color: #e0e0e0;
    padding: 2rem;
    font-family: "Georgia", "serif";
    font-size: 1.1em;
    line-height: 1.6;
    border-radius: 12px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.3);
    max-width: 920px;
    margin: 2rem auto;
}


/* Horizontal rule styling */
.postbody hr {
    border: none;
    border-top: 1px solid #444;
    margin: 2em 0;
}
.imgalign-left {
    float: left;
    margin: 0 1em 1em 0;
    max-width: 100%;
}
.imgalign-right {
    float: right;
    margin: 0 0 1em 1em;
    max-width: 100%;
}
/* Fix table hover in posts */
.postbody table tr:hover {
    background-color: #f5f5f5 !important;
    color: #333 !important;
}
#appform .contactpanel .content {
  width: 90%;
  background-color: #1e1e1e;
  max-width: 1200px;
  height: auto;
  min-height: 200px;
  margin: 2rem auto;
  padding: 2rem;
  font-family: 'Roboto', sans-serif;
  font-size: clamp(14px, 1.5vw, 14px);
  text-align: justify;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
}


/* Navigation links */
.page-links {
    text-align: center;
    margin: 60px 0 20px; /* Combined margin: top | horizontal | bottom */
}

.page-links a {
    display: inline-block; /* Already includes inline-block behavior */
    margin: 0 20px;
    color: #008F09;
    font-size: 16px;
    text-decoration: none;
    transition: transform 0.2s ease, color 0.2s ease; /* Combined transitions */
}

.page-links a:hover {
    color: white;
    transform: translateY(-2px);
}

/* Animation styles */
.index-custom-box {
    opacity: 0;
    transform: translateY(10px);
    animation: quickSlideFade 0.5s ease-out forwards;
}

.index-custom-box p {
    opacity: 0;
    animation: fadeInParagraph 0.4s ease forwards 0.4s; /* Shorthand animation property */
}

@keyframes quickSlideFade {
    to { 
        opacity: 1;
        transform: translateY(0); 
    }
}

@keyframes fadeInParagraph {
    to { opacity: 1; }
}

/* Accessibility */
@media (prefers-reduced-motion) {
    .index-custom-box,
    .index-custom-box p {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}