* {
	--colorA: #07c8e7;
	--colorB: #000;
	--colorC: #FFF;
}

body {
	color: #333;
}
h3 {
	margin: 1em 0 0;
}
h3 a, h3 a:visited, h3 a:active, a h4, a:visited h4, a:active h4, a .datetime  {
	text-decoration: none;
	color: #777;
}
h3 a:hover, h4 a:hover {
	text-decoration: underline;
	color: #777;
}
h4 {
	margin: 1em 0 0;
}
h5 {
	font-size: 1em;
	margin: 0 0 1em;
}
hr {
    border: none;
    height: 1px;
    color: #eee;
    background-color: #eee;
	margin: 1em 0;
}
.pure-img-responsive {
	max-width: 100%;
	height: auto;
}

#layout, #menu, .menu-link {
	-webkit-transition: all 0.2s ease-out;
	-moz-transition: all 0.2s ease-out;
	-ms-transition: all 0.2s ease-out;
	-o-transition: all 0.2s ease-out;
	transition: all 0.2s ease-out;
}

#layout {
	position: relative;
	left: 0;
	padding-left: 0;
	min-height: 100vh;
	display: flex;
    flex-direction: column;
}

#layout.active #menu {
	left: 150px;
	width: 150px;
}

#layout.active .menu-link {
	left: 150px;
}
#main {
	flex: 1 0 auto;
}
.content {
	margin: 0 auto;
	padding: 0 2em;
	margin-bottom: 50px;
	line-height: 1.6em;
}
.datetime {
	display: block;
	margin-bottom: 10px;
	font-size: 14px;
}
.titleimage {
	width: 160px;
	float: left;
	margin: 0 .5em .5em 0;
}
.vspaced {
	margin-top: 1em;
	margin-bottom: 1em;
}
.vspaced-bottom {
	margin-bottom: 1em;
}
.vspaced-right {
	margin-right: 1em;
}

.titleimage-small {
	width: 60px;
}
.calendar-entry {
	margin-top: 1em;
	padding-bottom: .5em;
	border-bottom: 1px solid #eee;
	text-decoration: none;
	position: relative;
}
.calendar-entry:hover:before {
	content: ' ';
    position: absolute;
    height: calc(100% - 1em);
    width: 5px;
    top: 0px;
    left: -10px;
    background-color: #FF001C;
}
.pure-button.link {
	color: #FFF;
}
.pure-button.link img {
	height: 16px;
	margin-right: 4px;
	vertical-align: top;
}
.header {
	margin: 0;
	color: #333;
	text-align: center;
	padding: 0 2em 1em;
}
.header h1 {
	margin: 0.2em 0 0 1em;
	font-size: 2.5em;
	font-weight: 300;
	text-align: left;
}
.header h2 {
	font-weight: 300;
	font-size: 22px;
	color: #ccc;
	padding: 0;
	margin-top: 0;
	margin-bottom: .5em;
}

.content-subhead {
	margin: 50px 0 20px 0;
	font-weight: 300;
	color: #888;
}
footer {
	border-top: 1px solid #eee;
	line-height: 150%;
	flex-shrink: 0;
}
footer .pure-g [class*=pure-u] {
	-webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
	box-sizing: border-box;
	padding: 1em;
}

#menu {
	margin-left: -150px;
	/* "#menu" width */
	width: 150px;
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	z-index: 1000;
	/* so the menu or its navicon stays above all content */
	background: #FFFF;
	border-right: none;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}

#menu a {
	color: #333;
	border: none;
	margin: 10px;
	padding: 10px;
	display: block;
	height: 80px;
	text-align: center;
	border-radius: 5px;
	border: 1px solid #eee;
}
#menu a img.menu-icon {
	display: block;
	margin: 0 auto 8px;
	width: 40px;
	height: 40px;
	background-color: var(--colorA);
	border: 10px solid var(--colorA);
	border-radius: 5px;
}
#menu .pure-menu, #menu .pure-menu ul {
	border: none;
	background: transparent;
}

#menu .pure-menu ul, #menu .pure-menu .menu-item-divided {
	border-top: 1px solid #FFF;
}

#menu .pure-menu li a:hover, #menu .pure-menu li a:focus {
	border-color: var(--colorA);
	background-color: transparent;
}

#menu .pure-menu .icon-text {
	position: absolute;
	color: #FFF;
	font-family:'Courier New', Courier, monospace;
	font-weight: bold;
	width: 60px;
	text-align: center;
	height: 60px;
	line-height: 60px;
    top: 11px;
	left: 45px;
}

#menu .pure-menu-heading {
	background: transparent;
	margin: 0 auto;
	text-align: center;
	vertical-align: middle;
	height: 80px;
	border: none;
	display: table-cell;
}
#menu .pure-menu-heading img {
	margin: 0 auto;
	padding: 0;
	width: 100%;
}

#menu .pure-menu-selected {
	background: #1f8dd6;
}

#menu .pure-menu-selected a {
	color: #fff;
}

.menu-link {
	position: fixed;
	display: block;
	/* show this only on small screens */
	top: 10px;
	left: 10px;
	/* "#menu width" */
	background: #FFF;
	font-size: 10px;
	/* change this value to increase/decrease button size */
	z-index: 10;
	width: 2em;
	height: auto;
	padding: 2.1em 1.6em;
}

.menu-link:hover, .menu-link:focus {
	background: var(--colorA);
}

.menu-link span {
	position: relative;
	display: block;
}

.menu-link span, .menu-link span:before, .menu-link span:after {
	background-color: #333;
	width: 100%;
	height: 0.2em;
}

.menu-link:hover span, .menu-link:hover span:before, .menu-link:hover span:after, .menu-link:focus span, .menu-link:focus span:before, .menu-link:focus span:after {
	background-color: #FFF;
}

.menu-link span:before, .menu-link span:after {
	position: absolute;
	margin-top: -0.6em;
	content: " ";
}

.menu-link span:after {
	margin-top: 0.6em;
}
.pure-table .edit-button, .pure-table .edit-button:hover, .pure-table .edit-button:visited, .pure-table .edit-button:active {
	text-decoration: none;
	background-color: var(--colorA);
	color: #FFF;
	border-radius: 3px;
	display: inline-block;
	height: 1.5em;
	width: 1.5em;
	text-align: center;
}
.pure-table .edit-button.edit-button-wide {
	width: auto;
	padding: 0 .5em;
}
.pure-table .delete-button, .pure-table .delete-button:hover, .pure-table .delete-button:visited, .pure-table .delete-button:active {
	text-decoration: none;
	background-color: #ff3333;
	color: #FFF;
	border-radius: 3px;
	display: inline-block;
	height: 1.5em;
	width: 1.5em;
	text-align: center;
}
.disposition-item {
	box-sizing: border-box;
	border-left: 5px solid transparent;
	padding-left: 5px;
}
.disposition-item h2, .disposition-item h3{
	margin: 0;
}
.disposition-item p {
	height: 50px;
	overflow: scroll;
	margin: 5px 0px 0px;
}
.disposition-item button[type=submit] {
	margin-left: 11.3em;
}
.disposition-item .multipleselect {
	height: 330px !important;
}
.disposition-item .multipleselect option {
	border-radius: 5px;
	margin: 0 2px 2px 0;
	float: left;
	width: 32%;
	overflow: hidden;
}
/*.disposition-item .multipleselect option:nth-child(3) {
	margin-right: 0px;
}*/
.disposition-item .multipleselect option:before {
	content: '';
	display: inline-block;
	margin: 0 2px;
	width: 12px;
}
.disposition-item .multipleselect option:checked:before {
	content: '✓';
}
.disposition-item fieldset {
	display: inline-block;
}
.disposition-item fieldset label {
	border-radius: 5px;
    margin: 0 2px 2px 0 !important;
    float: left;
    width: 31% !important;
    overflow: hidden;
    text-align: left !important;
	padding-left: 5px;
	height: 25px;
	text-overflow: ellipsis;
    white-space: nowrap;
}
.person-box {
	padding: 3px 6px;
	margin: 3px 3px 0 0;
	display: inline-block;
	color: #333;
	border: 2px solid transparent;
	border-radius: 5px;
}
.person-box.helper-box {
	border: 2px solid #777;
}
.screen {
	font-size: 75%;
	overflow: hidden;
}
.screen.dark {
	background-color: #222;
	color: #EEE;
}
.screen.dark .header {
	color: #EEE;
}
.screen.dark .person-box {
	color: #EEE;
}
.screen.dark .person-box.helper-box {
	border: 2px solid #EEE;
}
.header-date-selector {
	border-width: 0 0 2px 0;
}
@media (min-width: 48em) {
	.header, .content {
		padding-left: 2em;
		padding-right: 2em;
	}
	.header h1 {
		margin: 0.6em 0 0.6em 0em;
	}
	#layout {
		padding-left: 150px;
		/* left col width "#menu" */
		left: 0;
	}
	#menu {
		left: 150px;
	}
	.menu-link {
		position: fixed;
		left: 150px;
		display: none;
	}
	#layout.active .menu-link {
		left: 150px;
	}
}

@media (max-width: 48em) {
	/* Only apply this when the window is small. Otherwise, the following
    case results in extra padding on the left:
        * Make the window small.
        * Tap the menu to trigger the active state.
        * Make the window large again.
    */
	#layout.active {
		position: relative;
		left: 150px;
	}
}