/* GENERAL SPECIFICATIONS */
html { 
	box-sizing: border-box;
}

* { 
	margin: 0; 
	padding: 0;
	font: 14px Arial, Helvetica, sans-serif;
	border-collapse: collapse;
}

*, ::before, ::after {
	box-sizing: inherit;
}

body {
	background-color: #e9ffd6;
	color: #333;
	line-height: 1.6;
}

/* HYPERLINK ANCHORS */
a {
	text-decoration: none; 
	color: #000;
	transition: color 0.3s ease;
}
a:hover {
	color: #69d2e7;
	font-weight: bold; 
}

/* INPUT FIELDS */
input[type=text], input[type=number], input[type=password], select {
	width: 160px;
	height: 24px;
	border: 1px solid #6e6e6e;
	border-radius: 3px;
	padding: 5px;
	transition: box-shadow 0.3s, border 0.3s;
}
input[type="text"]:focus, input[type=number]:focus, input[type=password]:focus, select:focus {
	border: 1px solid #2e2e2e;
	box-shadow: 0 0 5px 1px #6e6e6e;
	outline: none;
}
input[type=submit], input[type=button] {
	padding: 8px 16px; 
	background: #6e6e6e; 
	color: #fff;
	border: none;
	cursor: pointer;
	border-radius: 3px;
	min-width: 6em;
	transition: background-color 0.3s ease;
}
input[type=submit]:hover, input[type=button]:hover {
	background-color: #158f17;
}
input[type=submit]:active, input[type=button]:active {
	background-color: #2e2e2e;
}

/* FILE UPLOAD */
input[type="file"] {
	display: none;
}
.file-upload {
	display: inline-block;
	margin-bottom: 2em;
	padding: 8px 16px; 
	background: #6e6e6e; 
	color: #fff;
	border: none;
	cursor: pointer;
	border-radius: 3px;
	min-width: 12.3em;
	transition: background-color 0.3s ease;
}
.file-upload:hover {
	background-color: #158f17;
}

/* 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 {
	text-decoration: none;
	display: block;
	background-color: #6e6e6e;
	padding: 10px 20px;
	color: #fff;
	width: 8.4em;
	text-align: center;
	border-radius: 3px;
	transition: background-color 0.3s ease;
}
#menu_tabs a:hover {
	background-color: #158f17;
}
#menu_tabs #tab_selected {
	background-color: #2e2e2e;
}
#menu_tabs #tab_selected a {
	color: #69d2e7;
	font-weight: bold;
}

/* MENU: Logout Button */
#menu_logout {
	float: right;
	width: 8em;
	margin: 0;
	padding: 10px;
	background-color: #158f17;
	color: #fff;
	border-radius: 3px;
}
#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;
	vertical-align: middle;
	background-color: #2e2e2e;
	margin-bottom: 2.5em;
	border-radius: 3px;
}
#menu_main a {
	display: inline-block;
	margin: 0;
	padding: 0.2em 1em;
	border-right: 1px dashed white;
	font-size: 1.1em;
	font-weight: bold;
	text-decoration: none;
	color: #fff;
	transition: background-color 0.3s ease;
}
#menu_main a:last-child {
	border: none;
}
#menu_main a:hover {
	background-color: #a7dbd8;
}
#menu_main #item_selected {
	color: #69d2e7;
}
#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: #a7dbd8;
	border-radius: 3px;
}

/* 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 white dashed;
}
.content_settings {
	width: 40%;
	margin: auto;
}
.content_settings p {
	text-align: left;
	margin-bottom: 0.1em;
}
.content_settings input[type=submit] {
	margin-top: 0.8em;
}
#content_hidden {
	background: #a7dbd8; 
	padding: 3%;
	margin-top: 1em;
	margin-bottom: 2em;
	display: none;
	border-radius: 3px;
}

/* STANDARD TABLE */
#tb_table {
	width: 90%;
	margin: auto;
	margin-bottom: 3em;
	border-collapse: collapse;
}
#tb_table td, #tb_table th {
	padding: 10px;
	text-align: center;
	border: 1px solid #2e2e2e;
}
#tb_table th {
	padding-top: 10px;
	padding-bottom: 10px;
	line-height: 20px;
	font-weight: bold;
	background-color: #158f17;
	color: #fff;
}
#tb_table th.title, #tb_table th.title a {
	font-size: 15px;
	font-weight: bold;
	line-height: 30px;
	background-color: #2e2e2e; 
	color: #fff;
}
#tb_table tr:nth-child(even) td {
	background-color: #f9f9f9;
}
#tb_table tr.balance td {
	background-color: #a7dbd8;
	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: #2e2e2e;
}

/* TEXT-FORMATTING */
.heading, .heading_narrow {
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
	text-align: center;
	font-weight: bold;
	font-size: 1.5em;
	color: #158f17;	
}
.heading_narrow {
	margin-bottom: 0.5em;
}
.warn {
	font-weight: bold;
	color: red;
}
.export {
	margin-bottom: 2em;
	text-align: center;
}
.alert {
	padding: 8px 35px 8px 14px;
	width: 50%;
	margin: 3em auto;
	text-shadow: 1px 1px 0 #fff;
	color: #000;
	background-color: #e9ffd6;
	border: 2px solid #158f17;
	border-radius: 4px;
}

.content_center h1 {
	margin-top: 1.5em;
	font-size: 1.1em;
}
.content_center p, .content_center a {
	margin-top: 0.25em;
	font-weight: bold;
	color: #158f17;
}