
/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
blockquote, body, button, code, dd, div, dl, dt, fieldset, form, h1, h2, h3,
  h4, h5, h6, input, legend, li, ol, p, pre, td, textarea, th, ul {
  margin: 0;
  padding: 0;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
fieldset, iframe, img, table {
  border: none;
}
address, caption, cite, code, dfn, em, optgroup, th, var {
  font-style: inherit;
  font-weight: inherit;
}
del, ins {
  text-decoration: none;
}
li {
  list-style: none;
}
caption, th {
  text-align: left;
}
q:after, q:before {
  content: "";
}
abbr, acronym {
  border: none;
  font-variant: normal;
}
sup {
  vertical-align: baseline;
}
sub {
  vertical-align: baseline;
}
legend {
  color: black;
}
button, input, optgroup, option, select, textarea {
  font-family: inherit;
  font-size: inherit;
  font-style: inherit;
  font-weight: inherit;
}

/* Content */

body {
    font-family: Arial, sans-serif;
    background: #f5f5f5;
    margin: 0;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

h1 {
    color: #333;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid #1FAA6C;
}

h2 {
    color: #1FAA6C;
    margin-bottom: 20px;
    font-size: 22px;
}

h3 {
    color: #333;
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 18px;
}

.login-form {
    max-width: 400px;
    margin: 100px auto;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
    color: #555;
    font-weight: bold;
}

input[type="text"],
input[type="password"],
input[type="number"],
input[type="file"],
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

textarea {
    min-height: 100px;
    resize: vertical;
}

button, .btn {
    background: #1FAA6C;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
}

button:hover, .btn:hover {
    background: #188f5a;
}

.btn-danger {
    background: #dc3545;
}

.btn-danger:hover {
    background: #c82333;
}

.btn-small {
    padding: 6px 12px;
    font-size: 12px;
}

.btn-secondary {
    background: #6c757d;
}

.btn-secondary:hover {
    background: #5a6268;
}

.message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.section {
    background: #f9f9f9;
    padding: 25px;
    margin-bottom: 40px;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th, td {
    padding: 12px;
    text-align: left;
}

th {
    background: #f5f5f5;
    font-weight: bold;
    color: #333;
}

tr:hover {
    background: #f9f9f9;
}

.logout {
    float: right;
}

.import-note {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.upload-box {
    border: 2px dashed #ddd;
    padding: 30px;
    text-align: center;
    border-radius: 6px;
    margin: 20px 0;
    background: white;
}

.edit-form {
    background: #e8f5e9;
    padding: 20px;
    border-radius: 6px;
    margin-bottom: 20px;
    border: 2px solid #1FAA6C;
}

.actions {
    white-space: nowrap;
}

.actions form {
    display: inline;
    margin-right: 5px;
}

.file-input-group {
    background: #f9f9f9;
    padding: 0 0 15px 0;
    border-radius: 4px;
    margin-top: 10px;
}

.or-divider {
    text-align: center;
    margin: 15px 0;
    color: #999;
    font-weight: bold;
}

.hint {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}
.link-column {
    max-width: 250px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 12px;
    color: #666;
}



/* sdf */


/* Top bar with logo */
#top-bar {
  height: 84px;
  margin-bottom: 20px;
}

#logo {
  display: inline-block;
  height: 62px;
  width: 372px;
  text-indent: -9999px;
  overflow: hidden;
  background: url('images/logo.png') no-repeat;
  background-size: contain;
}

/* Bereich der JSSV Grafik */
#jssvgrafikcontainer {
  height: 100px;
  margin-bottom: 20px;
}

/* Main menu */
#main-menu {
  background: white;
  height: 210px;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
  margin-bottom: 30px;
}

#main-menu:after {
  content: "";
  display: table;
  clear: both;
}

#main-menu > li {
  height: 100%;
  float: left;
  min-height: 102px;
  list-style: none;
  margin-bottom: 0;
  padding: 20px 20px 10px 20px;
  width: 190px;
  box-sizing: border-box;
}

#main-menu > li.first-child {
  padding-left: 13px;
  width: 197px;
}

#main-menu > li.last-child {
  padding-right: 13px;
  width: 197px;
}

#main-menu > li.active {
  background: white;
  border-bottom: 3px solid #1FAA6C;
}

#main-menu > li > a {
  color: #4A4A4A;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 24px;
  text-decoration: none;
  font-weight: bold;
  cursor: pointer;
}

#main-menu ul {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

#main-menu ul li {
  line-height: 120%;
  list-style: disc;
  margin-left: 15px;
  padding: 0;
  margin-bottom: 13px;
}

#main-menu ul li.active {
  list-style: disc;
}

#main-menu ul a {
  color: #7D7D7D;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 17px;
  text-decoration: none;
  cursor: pointer;
}

#main-menu ul a:hover,
#main-menu ul li.active a {
  color: #1FAA6C;
}

#main-content-container {
  padding: 0 30px 0 30px;
  line-height: 22px;
}

/* Content styling */
.content-page {
  display: none;
}

.content-page.active {
  display: block;
}

.content-table td {
  padding: 10px 0;
}

.content-text {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  color: #666666;
  line-height: 1.5;
  margin-bottom: 15px;
  text-align: left;
}

.page-title {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 24px;
  color: #4A4A4A;
  margin-bottom: 20px;
  font-weight: bold;
}

/* Links */
a {
  color: #7D7D7D;
  text-decoration: underline;
}

a:hover {
  color: #1FAA6C;
}

/* Form elements */
input[type="submit"], input[type="reset"] {
  border: none;
  background-color: #1faa6c;
  border-radius: 50px;
  padding: 10px 20px;
  color: white;
  cursor: pointer;
  font-size: 14px;
}

input[type="submit"]:hover {
  background: #2BC27A;
}

input[type="text"], input[type="password"], input[type="email"] {
  border-radius: 5px;
  display: inline-block;
  padding: 7px 12px;
  background-color: transparent;
  color: #333;
  border: 1px solid #ddd;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  #main-container {
    width: 100%;
  }
  #outer-frame {
    width: 100%;
    padding: 22px 20px;
    box-sizing: border-box;
  }
  #main-menu {
    width: 100%;
  }
  #main-menu > li {
    width: 50%;
    min-width: 0;
    padding: 15px 10px;
  }
  #main-menu > li.first-child,
  #main-menu > li.last-child {
    width: 50%;
  }
  #main-menu > li > a {
    font-size: 20px;
  }
}






/* Details */

.headline-cell {
  font-weight: bold;
}

.description-cell {
  border-top: 1px solid gray;
}

.float-right {
    float: right;
}

.intro-text {
    margin-bottom: 30px;
}

.document-item {
    margin-bottom: 15px;
}

.document-description {
    padding-left: 11px;
}

.subnav {
  display: flex;
  column-gap: 30px;
  justify-content: center;
}

/* Admin Site */

.admin-nav {
  font-size: 19px;
}

/* Prüfplanungsseiten */

.cancellation-note {
  color: #FF0000;
  font-weight: normal;
}

.spacer-cell {
  width: 20px;
}

.day-cell {
  text-align: center;
}

.date-cell {
    width: 80px;
    text-align: center;
}

.time-cell {
  text-align: center;
}

.gremium-cell {
  text-align: center;
}

.examiner-cell {
  width: calc(100% /4);
  text-align: center;
}

.hotel-note {
    color: #006600;
    font-size: 8pt;
}

/* Filterable Content */

.filterbutton.inactive {
  background: gray;
}

.filterbutton.active {
  background: #1FAA6C;
}

.content-filterable.inactive {
  display: none;
}

.content-filterable.active {
  display: block;
}