/* GENERAL SPECIFICATIONS */
html {
  box-sizing: border-box;
}
*,
::before,
::after {
  box-sizing: inherit;
  margin: 0;
  font: 14px "Segoe UI", Arial, Helvetica, sans-serif;
  border-collapse: collapse;
}
body {
  background-color: #f0fdf4;
  color: #1b4332;
}

/* HYPERLINK ANCHORS */
a {
  text-decoration: none;
  color: #2e8b57;
  transition: color 0.3s;
}
a:hover {
  color: #1c6b46;
  font-weight: bold;
}

/* INPUT FIELDS */
input[type=text],
input[type=number],
input[type=password],
select {
  width: 160px;
  height: 28px;
  padding: 4px 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  transition: box-shadow 0.3s, border 0.3s;
}
input:focus,
select:focus {
  border: 1px solid #2e8b57;
  box-shadow: 0 0 5px #2e8b57;
}
input[type=submit],
input[type=button],
.file-upload {
  padding: 6px 12px;
  background: #2e8b57;
  color: #fff;
  border: none;
  border-radius: 4px;
  min-width: 6em;
  cursor: pointer;
  transition: background-color 0.3s;
}
input[type=submit]:hover,
input[type=button]:hover,
.file-upload:hover {
  background-color: #256d4a;
}
input[type=submit]:active,
input[type=button]:active {
  background-color: #1b4332;
}
input[type=file] {
  display: none;
}
.file-upload {
  display: inline-block;
  margin-bottom: 2em;
}

/* MENU: Header */
#menu_header {
  line-height: 90px;
  margin-bottom: -1.75em;
}

/* MENU: Tabs */
#menu_tabs ul {
  list-style: none;
  padding: 0;
  margin: 0 0 0 1em;
}
#menu_tabs li {
  float: left;
  margin: 0 2em 0 0;
}
#menu_tabs a {
  display: block;
  background-color: #1b4332;
  padding: 0.5em;
  color: #fff;
  width: 8.4em;
  text-align: center;
  transition: background-color 0.3s;
}
#menu_tabs a:hover {
  background-color: #2e8b57;
}
#menu_tabs #tab_selected {
  background-color: #14532d;
}
#menu_tabs #tab_selected a {
  color: #6bee69;
  font-weight: bold;
}

/* MENU: Logout Button */
#menu_logout {
  float: right;
  width: 8em;
  padding: 0.5em;
  background-color: #2e8b57;
  color: #fff;
}
#menu_logout a {
  color: #fff;
}
#menu_logout ul {
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;
}
#menu_logout ul li ul {
  margin-top: 1em;
  display: none;
}
#menu_logout ul li:hover ul {
  display: block;
}
#menu_logout ul li ul li {
  margin-top: 0.5em;
}

/* MENU: Main Part */
#menu_main {
  height: 3em;
  clear: both;
  padding: 0.2em 1em;
  line-height: 2.75em;
  background-color: #14532d;
  margin-bottom: 2.5em;
}
#menu_main a {
  display: inline;
  margin: 0;
  padding: 0.2em 1em;
  border-right: 1px dashed #fff;
  font-size: 1.1em;
  font-weight: bold;
  color: #fff;
}
#menu_main a:last-child {
  border: 0;
}
#menu_main a:hover {
  background-color: #2e8b57;
  color: #fff;
}
#menu_main #item_selected {
  color: #6bee69;
}
#menu_main #item_selected:hover {
  color: #fff;
}

/* MENU: Selection Bar */
#menu_selection {
  width: 100%;
  height: 3em;
  margin-top: -2.5em;
  margin-bottom: 2em;
  padding: 0.5em;
  text-align: center;
  background-color: #e0fbe2;
}

/* CONTENT DIVs */
.content_center {
  width: 75%;
  margin: auto;
  text-align: center;
}
.content_left {
  width: 40%;
  margin: auto;
  float: left;
  text-align: center;
}
.content_right {
  width: 60%;
  margin: auto;
  float: right;
  text-align: center;
  border-left: 1px dashed #ccc;
}
.content_settings {
  width: 40%;
  margin: auto;
}
.content_settings p {
  text-align: left;
  margin-bottom: 0.5em;
}
.content_settings input[type=submit] {
  margin-top: 0.8em;
}
#content_hidden {
  background: #e0fbe2;
  padding: 3%;
  margin-top: 1em;
  margin-bottom: 2em;
  display: none;
}

/* STANDARD TABLE */
#tb_table {
  width: 90%;
  margin: auto;
  margin-bottom: 3em;
  border-collapse: collapse;
}
#tb_table td,
#tb_table th {
  padding: 6px;
  text-align: center;
  border: 1px solid #ccc;
}
#tb_table th {
  background-color: #2e8b57;
  color: #fff;
}
#tb_table th.title,
#tb_table th.title a {
  font-size: 15px;
  background-color: #6bee69;
  color: #1b4332;
}
#tb_table tr:nth-child(even) td {
  background-color: #f9f9f9;
}
#tb_table tr.balance td {
  background-color: #c1f5c4;
  font-weight: bold;
}

/* TABLE FOR INPUT FIELDS */
#tb_fields {
  width: 95%;
  margin: auto;
  margin-bottom: 1em;
  border-collapse: separate;
  border-spacing: 1em 1.25em;
}
#tb_fields td,
#tb_fields th {
  text-align: left;
}
#tb_fields td.center {
  text-align: center;
  padding-top: 3%;
}

/* TABLE FOR SETTINGS */
#tb_set {
  width: 90%;
  border-collapse: separate;
  border-spacing: 2em 0.75em;
  color: #333;
}

/* TEXT-FORMATTING */
.heading,
.heading_narrow {
  margin: 0 auto 1.5em auto;
  text-align: center;
  font-weight: bold;
  font-size: 1.5em;
  color: #2e8b57;
}
.heading_narrow {
  margin-bottom: 0.5em;
}
.warn {
  font-weight: bold;
  color: red;
}
.export {
  margin-bottom: 2em;
  text-align: center;
}
.alert {
  padding: 8px 35px;
  width: 50%;
  margin: 3em auto;
  text-shadow: 1px 1px 0 #fff;
  color: #1b4332;
  background-color: #e8fbe9;
  border: 2px solid #2e8b57;
  border-radius: 6px;
}

.content_center h1 {
  margin-top: 1.5em;
  font-size: 1.2em;
}
.content_center p,
.content_center a {
  margin-top: 0.25em;
  font-weight: bold;
  color: #2e8b57;
}
