html {
	height: 100%;
}

body {
	margin: 0px;
	font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
	font-size: 13px;
	height: 100%;
	color: #D9E2DA;
	background-color: #140F0B;
}

a {
	color: #D9E2DA;
}

/* border and padding cut into inside space, not pushing outside larger than width or height */
* { box-sizing: border-box; }

/* text selection off by default */
/*div {
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}*/

.button {
	cursor: pointer;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.button:hover {
	color: #555555;
}

.button:active {
	color: #999999;
}

.nav {
	color: #666666;
	padding-left: 10px;
	border-bottom: 2px solid #4F3B2C;
	height: 32px;
}

.navitem {
	display: inline-block;
	margin-top: 5px;
	padding-left: 2px;
	padding-right: 7px;
	border-right: 2px solid #cfcfcf;

	cursor: pointer;
}

.navitem:last-child {
	border-right: none;
}

.navitem a {
	text-decoration: none;
	color: #666666;
}

.userinfo {
	position: absolute;
	right: 10px;
	top: 5px;
}

.username {
	display: inline-block;
	color: #D9E2DA;
	font-weight: bold;
	margin-right: 5px;
}

.logout {
	display: inline-block;
	cursor: pointer;
}

.logout:hover {
	color: #999999;
}

.bar {
	height: 42px;
}

.add {
	position: absolute;
	right: 35px;
	cursor: pointer;
	background-image: url("capimages/add-module.svg");
	background-repeat: no-repeat;
	height: 32px;
}

.addtitle {
	display: inline-block;
	padding-left: 36px;
	padding-top: 4px;
	font-weight: bold;
}

.items {
	position: relative;
	margin-bottom: 10px;
}

.item {
	position: relative;
	padding: 1px 2px 1px 2px;
}

.itemhead {
	position: relative;
	height: 84px;
}

.itemleft {
	position: absolute;
	width: 68px;
	height: 84px;
	background-image: url("capimages/moditem_left.svg");
	background-repeat: no-repeat;
	background-size: 68px 168px;
}

.itemactive .itemleft {
	background-position: 0px -84px;
}

.itemmid {
	position: absolute;
	height: 84px;
	left: 67px;
	width: calc(100% - 130px);
	background-color: rgba(167, 103, 31, 0.12);
	background-image: url("capimages/moditem_mid.svg");
	background-repeat: repeat-x;
	background-size: 84px 168px;
}

.itemactive .itemmid {
	background-position: 0px -84px;
}

.itemactive .itemmid {
	background-color: rgba(167, 103, 31, 0.25);
}

.itemright {
	position: absolute;
	right: 0px;
	width: 91px;
	height: 84px;
	background-image: url("capimages/moditem_right.svg");
	background-repeat: no-repeat;
	background-size: 91px 168px;
}

.itemactive .itemright {
	background-position: 0px -84px;
}

.itemname {
	position: absolute;
	left: 74px;
	top: 32px;
	font-weight: bold;
}

.itemopen, .itemdelete {
	position: absolute;
	top: 24px;
	width: 34px;
	height: 34px;
	background-repeat: no-repeat;
	background-size: 68px 34px;
}

.itemopen {
	left: 24px;
	background-image: url("capimages/open.svg");
}

.itemdelete {
	right: 112px;
	background-image: url("capimages/delete.svg");
}

.itemopen:hover, .itemdelete:hover, .stayopen {
	background-position: -34px 0px;
}

.itemactive .itemopen {
	background-position: -34px 0px;
}

.contentleftside {
	z-index: -10;
	position: absolute;
	width: 84px; /* ? */
	height: calc(100% - 4px);
	background-image: url("capimages/content_leftside.svg");
    background-repeat: repeat-y;
    background-size: 84px 84px;
}

.contentrightside {
	position: absolute;
	right: 0px;
	width: 84px; /* ? */
	height: calc(100% - 4px);
	background-image: url("capimages/content_rightside.svg");
    background-repeat: repeat-y;
    background-size: 84px 84px;
}

.contentleftcorner {
	z-index: -10;
	position: absolute;
	bottom: 0px;
	left: 0px;
	width: 84px;
	height: 84px; /* ? */
	background-image: url("capimages/content_leftcorner.svg");
    background-repeat: no-repeat;
    background-size: 84px 84px;
}

.contentrightcorner {
	z-index: -10;
	position: absolute;
	bottom: 0px;
	right: 0px;
	width: 84px;
	height: 84px; /* ? */
	background-image: url("capimages/content_rightcorner.svg");
    background-repeat: no-repeat;
    background-size: 84px 84px;
}

.contentbottom {
	z-index: -10;
	position: absolute;
	bottom: 0px;
	left: 4px;
	width: calc(100% - 8px);
	height: 84px; /* ? */
	background-image: url("capimages/content_bottom.svg");
    background-repeat: repeat-x;
    background-size: 84px 84px;
}

/* files */
.file {
	position: relative;
	padding: 1px 0px 1px 0px;
	height: 23px;
}

.file:hover {
	background-color: #4B341B;
}

.filepercent, .filename, .filedelete {
	position: absolute;
	top: 3px;
}

.filepercent {
	left: 50px;
}

.filename {
	left: 5px;
}

.filedelete {
	right: 5px;
}

.imageitem {
	display: inline-block;
	width: 99px;
	height: 99px;
	padding-top: 3px;
	padding-left: 3px;
}

.imagethumb {
	width: 96px;
	height: 72px;

	background-repeat: no-repeat;
	background-size: 96px;
}

.imagename {
	width: 96px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.editor {
	position: relative;
	margin-left: 23.5px;
	margin-right: 26.5px;
	background-color: rgba(167, 103, 31, 0.25);

}

.alt1 {
	padding: 5px 5px 5px 10px;
}

.alt2 {
	padding: 5px;
}

.fieldname {
	display: inline-block;
	width: 100px;
}

.fieldvalue {
	display: inline-block;
	width: 290px;
}

.name, .input, .output, .people, .setup, .timing, .tags {
	width: 100%;
}

.save, .cancel {
	display: inline-block;
	position: absolute;
	cursor: pointer;
}

.save {
	right: 60px;
}

.cancel {
	right: 2px;
}

.filebar {
	display: none;
	padding: 2px;
	background-color: #ddb96c;
}

.imagebar {
	display: none;
	padding: 2px;
	background-color: #86B2CD;
}

.contentsep {
	height: 2px;
	margin: 5px;
	margin: 5px 5px 5px 5px;
	border-bottom: 1px dashed #E29037;
}

.login {
	display: none;
	width: 200px;
	margin-left: auto ;
	margin-right: auto ;
}

.login .textfield {
	display: block;
	width: 100%;
	background-color: rgba(167, 103, 31, 0.12);
	border:1px solid #CF872A;
	color:#D9E2DA;
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	font:13px Arial, Helvetica, sans-serif;
	padding: 6px ;
	margin-bottom: 8px;
}

.button_container {
	position: relative;
	height: 22px;
}

.login_button {
	position: absolute;
	right: 0px;
	background: #60350B;
	border: 2px solid #CF872A;
	-webkit-background-clip: padding-box;
	border-radius: 5px;
	width: 60px;
	font-size: 11px;
	color: #D9E2DA;
	height: 100%;
}

.login_error {
	color: #F75858;
	font-weight: bold;
	margin-top: 8px;
}
