div#contentGrief {
	max-width: 1086px;
}

div#text {
	width: 810px;
	max-width: calc(100% - 16px);
}

/*Side Menu*/
div#loginSubmenu {
	clear: both;
	width: 95%;
	margin: 0 30px 0 0;
	padding: 5px;
	font-size: 16px;
}

div#loginSubmenu h3 {
	margin: 20px 0 -15px 0;
	font-size: 17px;
}

div#loginSubmenu p {
	text-align: center;
	line-height: 24px;
}

@media screen and (min-width: 972px) {
	div#loginSubmenu {
		clear: none;
		float: left;
		max-width: 205px;
		padding: 0 20px 15px 20px;
	}

	div#loginSubmenu p {
		text-align: left;
	}

	div#contentGrief {
		background-size: 245px auto;
	}
}

/*Admin Styling*/
div#text h3 {
	margin: 0 0 16px 0;
	padding: 11px 16px 11px 16px;
	background: #C3DF96;
	text-align: center;
}

label {
	display: block;
	float: left;
	width: 170px;
	padding: 8px;
	text-align: right;
}

select, input[type=text], input[type=password], textarea {
	border: 1px solid #ddd;
	border-radius: 4px;
	margin: 8px;
	padding: 3px 5px 3px 5px;
}

textarea {
	font-size: 17px;
}

input[type=file] {
	margin: 8px;
	font-size: 15px;
}

button {
	cursor: pointer;
}

fieldset.login button,
div#logout button,
fieldset#top-controls button,
table#list button,
fieldset.product-options button,
table.options button,
fieldset#footer-controls button {
	display: inline-block;
	border: 0;
	border-radius: 3px;
	background: #336587;
	text-transform: uppercase;
	color: #fff;
}

div#logout button,
fieldset#top-controls button,
table#list button,
table.options button,
fieldset.product-options button {
	padding: 8px 14px 8px 14px;
	font-size: 11px;
}

fieldset.login button,
fieldset#footer-controls button {
	margin: 0 5px 0 5px;
	padding: 13px 22px 13px 22px;
	font-size: 14px;
}

fieldset#footer-controls div button {
	padding: 8px 14px 8px 14px;
	font-size: 11px;
}

fieldset.login button:hover,
div#logout button:hover,
fieldset#top-controls button:hover,
table#list button:hover,
fieldset#footer-controls button:hover {
	background: #3F7EA8;
	cursor: pointer;
}

fieldset#top-controls button[disabled], table#list button[disabled], fieldset#footer-controls button[disabled],
fieldset#top-controls button:disabled, table#list button:disabled, fieldset#footer-controls button:disabled, button:disabled:hover {
	background: #aaa;
	cursor: default;
}

div.form_date, div.form_time {
	display: inline-block;
}

table {
	margin: 20px 0 0 0;
}

th {
	padding: 8px;
	background: #C3DF96;
	text-align: left;
	text-transform: uppercase;
	font-size: 15px;
}

table#list th {
	color: #336587;
}

th input[type=text] {
	width: 100%;
	margin: 0;
	padding: 3px 0 3px 0;
}

td {
	padding: 6px;
}

img {
	max-width: 100%;
}

a, a:link, a:visited, a:active {
	text-decoration: none;
	color: #336587;
}

.center {
	text-align: center;
}

.right {
	text-align: right;
}

.instr {
	display: block;
	padding-left: 198px;
	font-style: italic;
	font-size: 13px;
}

.radio-group label {
	float: none;
	width: inherit;
	text-align: inherit;
}

/*Record Summary List*/
form#item {
	margin: 15px 0 0 0;
}

fieldset#top-controls {
	text-align: center;
}

a#show {
	cursor: pointer;
	text-decoration: underline;
}

fieldset#top-controls {
	padding: 12px;
	background: transparent;
}

table#list {
	width: 100%;
	margin: 0 0 15px 0;
    border-spacing: 0;
	background: #D5EDB3;
	cursor: pointer;
}

table#list td {
	border-bottom: 1px solid #bbb;
}

table#list input[type=text] {
	width: 100%;
}

table#list tbody tr:hover {
	background: #eee;
	cursor: pointer;
}

.selected {
	background: #ddd;
}

/*Record Editing Form*/
fieldset#edit {
	padding: 0 0 16px 0;
	background: #D7EABA;
}

fieldset#edit div {
	clear: both;
}

fieldset#edit div.form_datetime, fieldset#edit div.form_datetime div {
	clear: none;
}

/* only set font size for inputs in the editing area. If you set font size for those in the <th>s, it prevents them from having flexible width*/
fieldset.login input[type=text], fieldset.login input[type=password], fieldset#edit select, fieldset#edit input[type=text], fieldset#edit input[type=password] {
	font-size: 17px;
}

fieldset#edit input[type=text], fieldset#edit input[type=password] {
	max-width: calc(100% - 200px);
}

fieldset#edit select {
	max-width: 400px;
}

fieldset#edit input.year {
	width: auto;
}

fieldset#edit input.short-text-input {
	width: 100px;
}

fieldset#edit img {
	display: block;
	max-width: 300px;
}

/*Footer Controls*/
fieldset#footer-controls {
	margin: 0;
	background: #C3DF96;
	padding: 25px 20px 25px 20px;
	text-align: center;
}

fieldset#footer-controls div {
	clear: both;
	padding: 24px 0 0 0;
}

/*Site-Specific*/
div.recipients {
	float: left;
	width: 44%;
	padding: 0 3% 0 3%;
}

table#directory {
	width: 100%;
}

table#directory, table#viewPrint {
	border: 1px solid #d5edb3;
}

table#viewPrint td {
	border-bottom: 1px solid #d5edb3;
	padding: 3px 2px 3px 2px;
}

td.title {
	background: #d5edb3;
}

div.mailing {
    background: grey;
    width: 500px;
}

h2.report_month {
	float: left;
	width: 200px;
	margin: 24px;
}

table#report {
	display: block;
	margin: 24px;
	border: 1px solid #d5edb3;
}

table.report th {
	padding: 8px 12px 8px 12px;
}

table.report td {
	border-bottom: 1px solid #d5edb3;
	padding-left: 13px;
	padding-right: 13px;
}

