/* Savannah theme.
 *
 * Copyright (C) 1999, 2000 The SourceForge Crew
 * Copyright (C) 2000-2006 Mathieu Roy <yeupou--gnu.org>
 * Copyright (C) 2000-2006 StÃ©phane Urbanovski <s.urbanovski--ac-nancy-metz.fr>
 * Copyright (C) 2014, 2016, 2017 Assaf Gordon
 * Copyright (C) 2001-2011, 2013, 2017 Sylvain Beucler <beuc--beuc.net>
 * Copyright (C) 2013, 2014, 2017-2026 Ineiev
 *
 * This file is part of Savane.
 *
 * Code written before 2008-03-30 (commit 8b757b2565ff) is distributed
 * under the terms of the GNU General Public license version 3 or (at your
 * option) any later version; further contributions are covered by
 * the GNU Affero General Public license version 3 or (at your option)
 * any later version.  The license notices for the AGPL and the GPL follow.
 *
 * Savane is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as
 * published by the Free Software Foundation, either version 3 of the
 * License, or (at your option) any later version.
 *
 * Savane is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see <https://www.gnu.org/licenses/>.
 *
 * Savane is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as
 * published by the Free Software Foundation, either version 3 of the
 * License, or (at your option) any later version.
 *
 * Savane is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see <https://www.gnu.org/licenses/>.
 *
 * For debugging/development of css, setting network.http.use-cache to
 * false was apparently both necessary and sufficient --karl, 23jan15.  */

/* GUIDELINES VERSION FOLLOWED: 1.18 */

/* * Savannah theme - Solarized Light (Document/PDF Layout)
 * Layout constrained to center for readability. 
 */

@import "internal/base.css";

html {
  background-color: #e4e4e4;
}

body {
  margin: 20px auto; /* Centers the site */
  max-width: 900px;  /* Prevents edges-to-edges on wide monitors */
  color: #000;
  background-color: #ffffff;
  padding: 40px;     /* Internal "page" padding */
  box-shadow: 0 0 10px rgba(0,0,0,0.1); /* Subtle definition for the document edge */
  font-family: Baskerville, Georgia, Garamond, Times, serif;
  font-size: 12pt !important;
  border: 1px solid #000;
}


a {
    color: black !important;
    text-decoration: none !important;
}

a:link, a:visited {
    color: #520 !important;
    background: transparent;
}

a[href]::after {
    content: " <" attr(href) ">";
    font-size: 10pt;
}

a[href^="#"]::after {
    content: "";
}

a[href^="mailto"]::after {
    content: "";
}



.unavailable { opacity: 0.5; }

.footer { 
  text-align: center;
  border: solid #000; 
  border-width: thin 0 0 0; /* Changed to top-only border for document feel */
  margin-top: 2em;
  padding-top: 1em;
}

.warn, .error { font-weight: bold; }

h1 { text-indent: 0.3em; }
h2 {
  text-indent: 1em;
  border-bottom: thin solid #657b83;
  background-color: #fff;           
}

h4 {
  font-weight: normal;
  border: #000 solid thin;
  padding: 5px;
}

.highlight {
  border: thin dotted #000;
}

.realbody {
  border-spacing: 0px;
  border: none;
  width: 100%; /* Ensure tables fill the document width */
}

.main {
  padding-top: 10px;
  width: auto;
}

.menu { 
  width: 100%; /* Menu now acts as a horizontal or block-level header/nav */
  padding: 5px;
  margin-bottom: 20px;
}

.menu a { text-decoration: none; }
.menu a:hover { text-decoration: underline; }

.menutitle {
  font-weight: bold;
  text-align: left;
  border-bottom: thin dotted #000;
}

.menuitem {
  list-style-type: none;
  text-align: left; /* Switched to left for document consistency */
  border-bottom: thin dotted #000;
}

.topmenu {
  border: thin solid #000;
  width: auto;
}

ul.topmenuitemsubmenu li {
  border: 1px dotted #000;
}

.tabselect { text-decoration: underline; }

.box {
  width: 100%;
  margin-bottom: 1.5em;
}

.boxtitle {
    border: thin solid #000;
    background-color: #b45451;
    padding: 4px;
}


.boxitem, .boxitemalt {
  border: thin dotted #000;
  padding: 15px;
}

button, input, select, textarea {
  border: 1px solid #657b83;
  padding: 3px;
}

.verbatim {
  border: thin solid #657b83;
  color: #657b83;
  font-family: monospace;
  padding: 10px;
  overflow-x: auto; 
}

.preinput { color: #657b83; opacity: 0.7; font-style: italic; }

.boxtitle a {
  text-decoration: underline;
}

.boxtitle a:hover {
  text-decoration: none;
}
