body {
    font-family: Arial;
}
.toth .hide {
	display: none;
}
/* Dialog boxes */
.toth section {
	border: 1px solid #c4c4ff;
	border-radius: 5px;
	margin: 5px 0px;
}
.toth section>* {
	/*width: 100%;*/
	padding: 10px;
	box-sizing: border-box;
        -moz-box-sizing: border-box;
	/*display: inline-block;*/
}
.toth section form>label {
	display: inline-block;
	width: 100%;
	text-align: right;
}
.toth section form>label>input {
	width: 75%;
	margin-left: 10px;
}
.toth section>header {
	background-color: #c4c4ff;
	color: white;
	font-weight: bold;
	line-height: 1em;
}
.toth section>header>button {
	position: absolute;
	right: 0px;
	top: 0px;
	color: white;
	width: 2em;
	font-size: large;
	border: none;
}
.toth section>header>button:hover {
	background-color: #F55B5B;
}
.toth section>footer {
	border-top: 1px solid #c4c4ff;
}
.toth section>footer>div {
	float: right;
}
.toth section>footer button {
	margin-left: 5px;
}
.toth button,
.toth input[type=submit]{
	border: none;
	width: 80px;
	padding: 5px;
	/*margin-left: 5px;*/
	background-color: transparent;
	border: 1px solid #c4c4ff;
	border-radius: 4px;
	cursor: pointer;
	text-align: center;
}
.toth a.button {
    text-decoration: none;
    padding: 5px;
    display: inline-block;
    color: black;
    font-size: 13px;
}
.toth button:hover,
.toth input[type=submit]:hover {
	background-color: #c4c4ff;
}

.toth a.button.pushed,
.toth button.pushed {
	background-color: #47a447;
	color: white;
}

.toth section.dialog {
	position: fixed;
	background-color: white;
	border-color: #d58484;
	width: auto;
	display: none;
	box-shadow: 2px 2px 10px 4px #444;
}
.toth section>header {
	background-color: #d58484;
}
.toth.shadow {
	position: fixed;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
}
.toth.shadow .background {
	width: 100%;
	height: 100%;
	background-color: black;
	opacity: 0.5;
}
/* padBox */
.toth section.dialog.padBox input {
	border-radius: 4px;
	border: 1px solid #c4c4ff;
	width: 100%;
	padding: 5px;
	box-sizing: border-box;
        -moz-box-sizing: border-box;
}
/* Tabset */
.toth ul.tabset {
	border-bottom: 1px solid gray;
	padding: 0px 5px;
}
.toth ul.tabset>li {
	display: inline-block;
	padding: 5px;
}
.toth ul.tabset>li>a {
	text-decoration: none;
	color: black;
	border: 1px solid gray;
	padding: 5px 10px;
	background-color: #eee;
}
.toth ul.tabset>li.active>a {
	border-bottom-color: white;
	border-top: 2px solid orange;
	background-color: white;
}
/* Forms */
.toth .form * {
	width: 100%;
	padding: 5px;
        margin : 0px;
        margin-bottom: 2px;
	box-sizing: border-box;
        -moz-box-sizing: border-box;
}
.toth .form>label>input {
	border: 1px solid #c4c4ff;
	border-radius: 4px;
}
.toth input[type=submit] {
	color: white;
	background-color: #47a447;
}
.toth input[type=submit]:hover {
	background-color: #7cc513;
}

/* Spin Edit */
.toth div.spin>button:first-child {
	border: 1px solid gray;
	border-right: none;
	border-top-left-radius: 4px;
	border-bottom-left-radius: 4px;
}
.toth div.spin>button:last-child {
	border: 1px solid gray;
	border-left: none;
	border-top-right-radius: 4px;
	border-bottom-right-radius: 4px;
}
.toth div.spin>input {
	width: 20px;
	border: 1px solid gray;
	text-align: right;
	padding-right: 5px;
}
.toth div.spin>button {
	border-radius: 0px;
	background-color: #eee;
	margin: 0px;
	padding: 1px;
	width: 20px;
}
/* Tables */
.toth table,
table.toth {
    border-spacing: 0px;
    border-collapse: collapse;
}
.toth td {
    padding: 2px 4px;
}
.toth tr.hover {
    cursor: pointer;
}
.toth tr.current td {
    background-color: #c4c4ff;
}
.toth tr.hover.mouseover {
    color: white;
    background-color: #c4c4ff;
}
