.widget {
	margin: 0px 10px 10px 10px;
}

*.selected, *.focus {
	.box-inset(5px);
}

.selected {
	background-color: @select-color;
	.imagebg(url(shade-top-split.png));
}

.focus {
	background-color: #fff;
}

jooptionitem:last-child {
	.round-right(5px);
	border-right-width: 1px;
}

jobutton {
	display: block;
	text-align: center;
	.shiny;
	.border-radius(5px);
	.focus {
		background-color: @select-color;
		.imagebg(url(shade-top-split.png));
	}
}

jooption {
	.flex;
	.widget;
}

jooptionitem {
	.shiny;
	.flexible;
	text-align: center;
	border: 1px solid rgba(0, 0, 0, .8);
	border-right-width: 0;
	margin: 0;
}

jooptionitem:first-child {
	.round-left(5px);
}

jooptionitem:last-child {
	.round-right(5px);
	border-right-width: 1px;
}

jobutton, input, jolabel, textarea, joexpando {
	.widget;
}

jotitle {
	.matte;
	background-image: none;
	text-align: center;
	color: rgba(255, 255, 255, .8);
	padding: 10px;
	background-color: #313539;
	font-size: 18px;
	margin: 0;
	border-top: none;
	border-left: none;
	border-right: none;
}

*:focus {
	outline: none;
}

jolistitem, jomenuitem {
	.listitem
}

jobutton.focus {
	background-color: @select-color;
	background-image: none;
}

joselect.focus {
	background-color: transparent;
}

jolist {
	margin: 0;
}

joselectlist, joexpandocontent {
	display: block;
	border: 1px solid rgba(0, 0, 0, .6);
	border-top: none;
	.round-bottom(5px);
	background-color: rgba(255, 255, 255, .6);
}

joexpando {
	display: block;
	padding-bottom: 0px;
	margin-bottom: 0;
}

joexpando.open {
	margin-bottom: 10px;
}

joexpandocontent {
	padding-top: 10px;
}

joselectlist > *:last-child {
	border-bottom: none;
	.round-bottom(5px);
}

joselectlist > *:last-child.select {
	border-bottom: none;
	.round-bottom(5px);
}

joselectlist > *.first-child {
	border-top: none;
}

jocard > jolist, jocard > jomenu {
	margin: 0;
}

jobutton, jotitle, jooptionitem, joexpandotitle, jotoggle {
	text-shadow: 0 0 5px rgba(0, 0, 0, .6);
}

joinput.password, input.password  {
	-webkit-text-security: disc;
	-moz-text-security: disc;
	-o-text-security: disc;
	text-security: disc;	
}

joinput, jotextarea, input, textarea {
	cursor: text;
	display: block;
	border: 1px solid rgba(0, 0, 0, .6);
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	margin: 0 10px 10px 10px;
	padding: 9px;
	background: rgba(255, 255, 255, .6);
	white-space: nowrap;
	overflow: hidden;
	outline: none;
	font-family: "Apres", "Verdana";
	font-size: 17px;
	-webkit-user-select: text;
	-moz-user-select: text;
	user-select: text;
	-webkit-box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0);
	-moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0);
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0);
}

jolist, jomenu {
	font-size: 18px;
}

jotextarea, textarea {
	white-space: normal;
}

joinput.disabled, jotextarea.disabled,
input.disabled, textarea.disabled {
	color: #666;
	cursor: text;
}

joexpandotitle joicon {
	position: absolute;
	border: none;
	display: block;
	height: 32px;
	width: 32px;
	right: 4px;
	top: 10%;
	background: url(expando.png) no-repeat;

	-webkit-transform-origin: 16px 16px 0;
	-webkit-transform: rotateZ(0);
	-webkit-transition: -webkit-transform .2s ease-out;

	-moz-transform-origin: 16px 16px 0;
	-moz-transform: rotate(0);
	-moz-transition: -moz-transform .2s ease-out;

	-o-transform-origin: 16px 16px 0;
	-o-transform: rotate(0);
	-o-transition: -o-transform .2s ease-out;

	-ms-transform-origin: 16px 16px 0;
	-ms-transform: rotate(0);
	-ms-transition: -ms-transform .2s ease-out;
}

joexpando.open > joexpandotitle joicon {
	-webkit-transform: rotateZ(90deg);
	-moz-transform: rotate(90deg);
	-o-transform: rotate(90deg);
	-ms-transform: rotate(90deg);
}


joexpando > *:last-child {
	height: 0;
	overflow: hidden;
	opacity: 0;
	margin-top: 0;
	margin-bottom: 0;

	-webkit-transform-style: preserve-3d;
	-webkit-transform: rotateX(-45deg);
	-webkit-transform-origin: 0 0 0;
	-webkit-transition: -webkit-transform .2s ease-out, opacity .2s ease-out, height .2s ease-out, overflow .2s ease-out;

	-moz-transform-style: preserve-3d;
	-moz-transform: rotateX(-45deg);
	-moz-transform-origin: 0 0 0;
	-moz-transition: -moz-transform .2s ease-out, opacity .2s ease-out, height .2s ease-out, overflow .2s ease-out;

	-o-transform-style: preserve-3d;
	-o-transform: rotateX(-45deg);
	-o-transform-origin: 0 0 0;
	-o-transform: scaleY(1);
	-o-transition: -o-transform .2s ease-out, opacity .2s ease-out, height .2s ease-out, overflow .2s ease-out;

	-ms-transform-style: preserve-3d;
	-ms-transform: rotateX(-45deg);
	-ms-transform-origin: 0 0 0;
	-ms-transform: scaleY(1);
	-ms-transition: -o-transform .2s ease-out, opacity .2s ease-out, height .2s ease-out, overflow .2s ease-out;
}

joexpando.open > *:last-child {
	height: 100%;
	overflow: visible;
	opacity: 1;

	-webkit-transform: rotateX(0);
	-moz-transform: rotateX(0);
	-o-transform: rotateX(0);
	-ms-transform: rotateX(0);
}

joexpando > *:first-child {
	-webkit-transform: none;
	opacity: 1;
	overflow: visible;
	height: auto;
}

joexpandotitle {
	color: #fff;
	position: relative;
	
	.shiny;
	.border-radius(5px);
	padding: 10px;
	cursor: pointer;
	text-align: left;
}

joexpando.open > *:first-child {
	background-color: @select-color;
	.box-inset(3px);
	.round-top(5px);
}

joexpando > *:last-child {
}
joexpando.open > *:last-child {
}

jolabel, label {
	margin-bottom: 5px;
	text-shadow: 0px 1px 1px rgba(255, 255, 255, .6);
}

jocaption {
	margin: 10px;
}

johtml {
	display: block;
	margin: 0 10px 10px 10px;
	padding: 0;
}

jodivider {
	border-top: 1px solid rgba(0, 0, 0, .5);
	border-bottom: 1px solid rgba(255, 255, 255, .2);
	margin: 0 0 10px 0;
	text-align: center;
	height: 0;
	display: block;
}

joflexrow > jotoggle {
	.noflex;
}

jotoggle {
	cursor: pointer;
	display: block;
	margin: 10px 10px 0 10px;
	.border-radius(5px);
/*	border: 1px solid rgba(0, 0, 0, .6); */
	background-color: inherit;
	.imagebg(url(shade-top-split.png));
	.box-inset(5px);
	position: relative;
	overflow: hidden;
	width: 90px;
	
	> * {
		.widget;
		.shiny;
		
		border-color: #000;
		margin: 0;
		text-align: center;
		.border-radius(4px);
		padding: 10px 0;
		width: 60px;
		-webkit-box-shadow: 2px 0 2px rgba(0, 0, 0, .2);
		-moz-box-shadow: 2px 0 2px rgba(0, 0, 0, .2);
		box-shadow: 2px 0 2px rgba(0, 0, 0, .2);

		-webkit-transition: -webkit-transform .1s ease, background-color .1s ease;
		-moz-transition: -moz-transform .1s ease, background-color .1s ease;
		-o-transition: -o-transform .1s ease, background-color .1s ease;
		-ms-transition: -ms-transform .1s ease, background-color .1s ease;
	}
}

jotoggle.on {
	background-color: inherit;
	.imagebg(url(shade-top-split.png));

	> * {
		-webkit-box-shadow: -2px 0 2px rgba(0, 0, 0, .2);
		background-color: @select-color;
		-webkit-transform: translateX(28px);
		-moz-transform: translateX(26px);
		-o-transform: translateX(26px);
		-ms-transform: translateX(26px);
	}
}

jotable {
	display: block;
	margin: 0 10px;
}

tr {
	margin: 0;
}

th {
	text-align: left;
	padding: 5px;
}

td {
	padding: 5px;
}

jolabel.left {
	margin-top: 10px;
	padding: 9px 0;
}

.disabled {
	opacity: .2;
}

jotoolbar {
	padding: 10px;
}

josliderthumb {
	position: absolute;
	height: 18px;
	width: 40px;
	.shiny;
	.border-radius(4px);
}

joslider {
	margin: 10px;
	position: relative;
	height: 40px;
	.border-radius(5px);
	.imagebg(url(shade-top-split.png));
	.box-inset(5px);
}
