

/**
 * html5doctor.com Reset Stylesheet v1.6.1 (http://html5doctor.com/html-5-reset-stylesheet/)
 * Richard Clark (http://richclarkdesign.com)
 * http://cssreset.com
 */
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
    margin:0;
    padding:0;
    border:0;
    outline:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

*, *:after, *:before { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }

body {
    line-height:1;
}

html.noscroll, html.noscroll body, body.noscroll {
	overflow: hidden;
}

html.touch.noscroll, html.noscroll.touch body {
	height: 100%;
}

article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section {
    display:block;
}
nav ul {
    list-style:none;
}
blockquote, q {
    quotes:none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content:'';
    content:none;
}
a {
    margin:0;
    padding:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

/* change colours to suit your needs */
ins {
    background-color:#ff9;
    color:#000;
    text-decoration:none;
}
/* change colours to suit your needs */
mark {
    background-color:#ff9;
    color:#000;
    font-style:italic;
    font-weight:bold;
}
del {
    text-decoration: line-through;
}
abbr[title], dfn[title] {
    border-bottom:1px dotted;
    cursor:help;
}
table {
    border-collapse:collapse;
    border-spacing:0;
}
/* change border colour to suit your needs */
hr {
    display:block;
    height:1px;
    border:0;
    border-top:1px solid #cccccc;
    margin:1em 0;
    padding:0;
}
input, select {
    vertical-align:middle;
}

.embed-container { 
	position: relative; 
	padding-bottom: 56.25%; 
	height: 0; 
	overflow: hidden; 
	max-width: 100%; 
	height: auto; 
}

.embed-container iframe, .embed-container object, .embed-container embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

body {
	-webkit-text-size-adjust: 100%;	
	-webkit-tap-highlight-color: transparent;
}

button, input {
	line-height: normal;
	display: inline-block;
}

body {
  -font-family: Helvetica,Arial,sans-serif;
  -font-family: Arial,sans-serif;
  font-size: 13px;
  line-height: 20px;
  height: 20px;
  color: rgb(64,64,64);
  margin: 0px;
}

textarea,
select,
button, 
input[type=text], 
input[type=submit],
input[type=password], 
input[type=datetime], 
input[type=datetime-local], 
input[type=date], 
input[type=month], 
input[type=time], 
input[type=week], 
input[type=number], 
input[type=email], 
input[type=url], 
input[type=search], 
input[type=tel], 
input[type=color]
 {
  -font-family: Helvetica,Arial,sans-serif;
  font-size: 13px;
  line-height: 16px;
  -height: 16px;
  color: rgb(64,64,64);
  margin: 0px;
  vertical-align: middle;
  border-image: none;
  border-width: 0px;
	border: 1px solid rgb(200,200,200);
	outline: none;
	padding: 5px 7px 5px 7px;
	border-radius: 3px;
	background-color: rgb(255,255,255);
	margin-bottom: 5px;	
	margin-right: 4px;
	height: 28px;
	-webkit-appearance: none;
	-moz-appearance: none;
  appearance: none;	
	display: inline-block;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
   box-sizing: border-box;
	
}

button, input[type=submit] {
	-webkit-appearance: button;
	-height: 28px;
	border-width: 0px;
	padding: 4px 7px 6px 7px;
}

select {
	height: auto;
}

input:disabled, select:disabled, textarea:disabled {
	background-color: rgb(240,240,240);
	color: rgb(128,128,128);
}
/*
input[type=checkbox], input[type=radio] {
	font-size: 16px;
}
*/
input[type=checkbox]:disabled, input[type=radio]:disabled {
	background-color: none;
}

input[type=submit],button[type=submit] {
	margin-right: 4px;
}

.editable .placeholder, input:-moz-placeholder {
	font-style: italic;
	color: rgb(128,128,128);
}

input[type=text]:focus,input[type=password]:focus, select:focus, textarea:focus, .editable.active {
	background-color: rgb(255,255,220);
	color: rgb(32,32,32);
}

.alert {
	color: rgb(255,64,64);
}

input.invalid, textarea.invalid {
	background: rgb(255,220,220);
	border: 1px solid rgb(255,180,180);
}

label.invalid, form.tb label.invalid, form.lr label.invalid {
	color: rgb(240,32,32);
	font-weight: bold;
}

/*
input[type=checkbox] {
	margin-bottom: 0px;
	margin-top: -2px;
	font-size: 13px;
	-background: none;
}
*/
a {
	color: rgb(49,99,196);
}

a.cancel {
	color: rgb(240,64,64);
}

.red {
	color: rgb(240,64,64);
}

body,h1,h2,h3,p,ol,ul,li,dl,dd,dt {
	margin: 0px;
	padding: 0px;
}

h1 {
	font-size: 30px;
	line-height: 30px;
}

h2 {
	font-size: 18px;
	line-height: 24px;
}

h3 {
	font-size: 14px;
	line-height: 22px;
}

/* general */

#no_select {
	position: absolute;
	width: 0px;
	height: 0px;	
}

.clear {
	clear: both;
}

.loading {
	z-index: 1101;
	background-image: url(images/loading.gif);
	background-position: center center;
	background-repeat: no-repeat;
	width: 100%;
	height: auto;
}

.spinner {
	background: url(images/loading.gif) left top no-repeat;
	width: 16px;
	height: 16px;
	position: absolute;
}

.pointer {
	cursor: pointer;
}

/* modal */  	  
.modal {
	position: fixed;
	background-color: rgb(245,245,245);
	background-clip: padding-box;
	box-shadow: 0px 0px 40px 0px rgba(0, 0, 0, 0.6);
	-border: 1px solid rgba(0, 0, 0, 0.3);
	-border-radius: 6px 6px 6px 6px;
	left: 50%;
	top: 50%;
	display: none;
	z-index: 1100;
}

.modal.layer2 {
	z-index: 1102;
}

.modal-header {
  padding: 8px 6px 4px 10px;
  background: rgb(230,230,230);
  border-bottom: 1px solid rgb(220,220,220);
  -border-radius: 6px 6px 0px 0px;  	    
}
	
.modal-header h2 {
	font-size: 14px;
	line-height: 24px;
	padding: 0px;
 }
	 
.modal-body {
	padding: 10px 15px;
	border-bottom: 1px solid rgb(220,220,220);
}

.modal-body.footer {
	border-bottom: 0px;
  -border-radius: 0px 0px 6px 6px;
}

.modal-footer {
  padding: 8px 15px 5px 15px;
  background: rgb(230,230,230);
  -border-top: 1px solid rgb(255,255,255);
  -border-radius: 0px 0px 6px 6px;
}

  	  
.modal-overlay {
	background-color: rgb(0,0,0);
	bottom: 0;
	left: 0;
	position: fixed;
	right: 0;
	top: 0;
	opacity: 0.5;
	z-index: 1100;
	display: none;
}

.modal-overlay.active {
	display: block;
}

.modal-overlay.layer2 {
	z-index: 1102;
}

.measure {
	visibility: hidden;
	display: block;
}

.modal-header a.close, .modal-body a.close {
	float: right;
	text-decoration: none;
	font-size: 18px;
	font-weight: bold;
	padding: 0px 4px;
	color: rgb(96,96,96);
	margin-top: 2px;
	margin-left: 5px;
}

.modal-header a.close:hover, .modal-body a.close:hover {
	color: rgb(32,32,32);
}

/* lightbox */

.lightbox {
	border: 5px solid rgb(255,255,255);
	border-radius: 0px;
	width: 50px;
	height: 50px;
}
 
.lightbox a, .lightbox a:hover {
  border: 0px;
}

.lightbox div.close {
	position: absolute;
	z-index: 1;
	width: 100%;
	margin-left: 20px;
}

.lightbox i.close {
	-background: url(images/box-sprite.png) 0px 0px;
	text-shadow: 0px 0px 8px rgba(0,0,0, 0.6);
	color: rgba(255,255,255,.8);
	font-size: 24px;
  cursor: pointer;
	-height: 30px;
  position: absolute;
  right: 0px;
  top: 0px;
  -width: 30px;
  z-index: 1103;
  margin: 0px;
  padding: 0px;
}

.lightbox .inner {
	overflow: hidden;
}

.lightbox .next, .lightbox .previous {
  bottom: 0;
  cursor: pointer;
  height: 100%;
  outline: medium none;
  position: absolute;
  width: 35%;
  z-index: 1102;
  display: block;
  -background: url(images/empty.gif);
  }

.lightbox .previous i, .lightbox .next i {
	-background: url(images/box-sprite.png) 0px -30px no-repeat;
	text-shadow: 0px 0px 8px rgba(0,0,0, 0.6);
	color: rgba(255,255,255,.8);
	font-size: 24px;
	text-decoration: none;
  cursor: pointer;
  -height: 30px;
  margin-top: -15px;
  position: absolute;
  top: 50%;
  -width: 30px;
  text-align: center;
}

.lightbox .next {
	right: 0;
}

.lightbox .previous i {
	background-position: 0px -30px;
  left: -9999px;
}
.lightbox .next i {
	background-position: 0px -60px;
	right: -9999px;
}

.lightbox a.previous:hover i {
	left: 0px;
}

.lightbox a.next:hover i {
	right: 0px;
}

.lightbox .title {
	padding: 10px 10px 0px 10px;
	display: block;
	position: absolute;
	z-index: 1104;
	color: rgb(255,255,255);
}

.lightbox .title a {
	color: rgb(255,255,255);
}
 
.lightbox.carousel .item {
	position: absolute;
	display: block;
}

  
.show {
	visibility: visible;
	display: block;
}
 
/* menu */

.menu li {
	float: left;
}

.menu a {
	position: relative;
	display: block;
	height: 35px;
	line-height: 35px;
	padding: 0px 14px;
	margin-right: 1px;
	color: rgb(181,172,166);
	text-decoration: none;
	z-index: 999;
	cursor: pointer;
}

.menu a span {
	margin-left: 18px;
}

.menu a:hover, .menu a.active {
	text-decoration: none;
	-background: rgb(250,250,250);
	-color: rgb(80,71,66);
	color: rgb(255,255,255);
}

.menu ol {
	position: absolute;
	width: 210px;
	z-index: 998;
	display: none;
	border: 1px solid rgb(80,71,66);
	-border-top: 0px;
	margin-left: -1px;
	-moz-box-shadow:0 0 5px rgba(67, 55, 63, 0.3);
	-webkit-box-shadow: rgba(67, 55, 63, 0.3) 0px 0px 10px;
	-box-shadow: rgb(67, 55, 63) 0px 0px 10px;
	-behavior: url(/PIE.htc);	
}

.menu span.arrow {
    border-bottom: 6px solid rgb(255,255,255);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    left: 0;
    margin-left: 10px;
    margin-top: -6px;
    top: 0;
    height: 0;
    width: 0;
    position: absolute;
}

.menu ol.active {
	display: block;
}


.menu ol li {
	float: none;
	width: 210px;
	border-bottom: 1px solid rgb(225,230,233);
}

.menu ol a {
	z-index: 998;
	height: 30px;
	line-height: 30px;
	margin-right: 0px;
	-color: rgb(80,71,66);
	color: rgb(161,152,146);
	background: rgb(255,255,255);
	text-decoration: none;
}

.menu ol a:hover {
	background: rgb(231,240,255);
	background: rgb(201,220,255);
	background: rgb(221,234,242);
	color: rgb(80,71,66);
	text-decoration: none;
}
 
/* button */

.caret {
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid rgb(64,64,64);
    content: "";
    display: inline-block;
    height: 0;
    vertical-align: top;
    width: 0;
    margin-top: 6px;
    margin-left: 5px;
}

.btn, button, input[type=submit] {
	border-radius: 5px;	
	border-image: none;
	background: rgb(160,160,160);
	color: rgb(255,255,255);
	font-weight: bold;
	border-width: 0;
	text-decoration: none;
	cursor: pointer;
	margin-right: 4px;	
}

button.btn {
	
}

.btn.small {
	padding: 2px 6px;
	font-size: 11px;
}

.btn:hover {
	background: rgb(150,150,150);
}

.btn.submit, button.submit, button[type=submit], input[type=submit] {
	background-color: rgb(60,156,60);
	color: rgb(255,255,255);
	text-decoration: none;
	line-height: 18px;
}

input[type=submit].btn:hover, .btn.submit:hover, button[type=submit]:hover {
	background: rgb(0,156,0);
	color: rgb(255,255,255);
}

input[type=submit].btn:disabled, .btn.submit:disabled {
	background: rgb(180,180,180);
	color: rgb(240,240,240);
}

/* tabs */
.tabs .nav {
	display: block;
	padding-left: 10px;
}

.tabs .nav li {
	float: left;
	margin-top: 0px;
	padding: 6px 10px 4px 10px;
  border-radius: 3px 3px 0px 0px;	
	background: rgb(235,235,235);
	margin-right: 1px;
	cursor: pointer;
}

.tabs .nav:after {
	display: block;
	content: '';
	clear: both;
}

.tabs .nav li:hover {
	background: rgb(230,230,230);
}

.tabs .nav li.active {
	margin-top: 0px;
	padding: 6px 10px 4px 10px;
	background: rgb(220,220,220);
}

.tabs .content {
	border-top: 1px solid rgb(220,220,220);
}

/* dropdown */
.dd {
  display: block;
  padding: 5px;
  position: absolute;
  visibility: visible;
  z-index: 1300;
 	background: rgb(250,250,250);
	color: rgb(140,135,132);
	border: 1px solid rgb(198,198,198);
	box-shadow: 0px 4px 8px 0px rgba(64,64,64, 0.2);
 
}


/* tooltip */
.tt {
    display: block;
    font-size: 11px;
    line-height: 16px;
    opacity: .9;
    padding: 5px;
    position: absolute;
    visibility: visible;
    z-index: 1300;
}

.tt.fade.in {
    opacity: 0.8;
}
.tt.top .arrow {
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid rgb(64,64,64);
    bottom: 0;
    left: 50%;
    margin-left: -5px;    
}
.tt.left .arrow {
    border-bottom: 5px solid transparent;
    border-left: 5px solid rgb(64,64,64);
    border-top: 5px solid transparent;
    margin-top: -5px;
    right: 0;
    top: 50%;
}

.tt.left-bottom .arrow {
    border-bottom: 5px solid rgb(64,64,64);
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    -left: 50%;
    top: 0;
}

.tt.bottom .arrow {
    border-bottom: 5px solid rgb(64,64,64);
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    left: 50%;
    margin-left: -5px;
    top: 0;
}

.tt.right .arrow {
    border-bottom: 5px solid transparent;
    border-right: 5px solid rgb(64,64,64);
    border-top: 5px solid transparent;
    left: 0;
    margin-top: -5px;
    top: 50%;
}
.tt .inner {
    background-color: rgb(64,64,64);
    border-radius: 4px 4px 4px 4px;
    color: rgb(255,255,255);
    -max-width: 200px;
    padding: 6px 8px;
    text-align: center;
    text-decoration: none;
}
.tt .arrow {
    height: 0;
    position: absolute;
    width: 0;
}

.tt.alert .inner {
	background-color: rgb(240,32,32);
}

.tt.alert.top .arrow {
	border-top: 5px solid rgb(240,32,32);
}

.tt.alert.left .arrow {
	border-left: 5px solid rgb(240,32,32);
}

.tt.alert.bottom .arrow {
	border-bottom: 5px solid rgb(240,32,32);
}

.tt.alert.right .arrow {
	border-right: 5px solid rgb(240,32,32);
}


.tt.add .inner {
	background: rgb(60,156,60);
	color: rgb(255,255,255);
	font-weight: bold;
}

.tt.add.top .arrow {
	border-top: 5px solid rgb(60,156,60);
}

.tt.add.left .arrow {
	border-left: 5px solid rgb(60,156,60);
}

.tt.add.bottom .arrow {
	border-bottom: 5px solid rgb(60,156,60);
}

.tt.add.right .arrow {
	border-right: 5px solid rgb(60,156,60);
}

 
.tt.popup, .tt.calendar, .tt.time, .tt.taglist {
	color: rgb(85,77,72);
	opacity: 1;
	font-size: 12px;
}

.tt.popup.bottom .arrow, .tt.calendar.bottom .arrow, .tt.time.bottom .arrow, .tt.taglist .arrow {
	z-index: 1302;
  border-bottom: 6px solid rgb(198,198,198);
}

.tt.popup.right .arrow, .tt.calendar.right .arrow, .tt.time.right .arrow, .tt.taglist.right .arrow {
	z-index: 1302;
  border-right: 6px solid rgb(198,198,198);
}

.tt.popup.left .arrow, .tt.calendar.left .arrow, .tt.time.left .arrow, .tt.taglist.left .arrow {
	z-index: 1302;
  border-left: 6px solid rgb(198,198,198);
}

.tt.popup .inner, .tt.calendar .inner, .tt.time .inner, .tt.taglist .inner {
	background: rgb(250,250,250);
	color: rgb(140,135,132);
	border: 1px solid rgb(198,198,198);
	box-shadow: 0px 0px 8px 0px rgba(64,64,64, 0.2);
	padding: 3px;	
}

.tt.popup .suffix {
	margin-top: 2px;
	border-top: 1px solid rgb(220,220,220);
  display: block;
  line-height: 28px;
  width: 100%;
}

.hidden {
	display: none;
	/*
	position:absolute;
	left:-10000px;
	top:auto;
	width:1px;
	height:1px;
	overflow:hidden;
	*/
}

.b {
	font-weight: bold;
}

.l {
	text-align: left;
}

.c {
	text-align: center;
}

.r {
	text-align: right;
}

.fl {
	margin-right: 5px;
	float: left;
}

.fn {
	float: none;
}

.fr {
	margin-left: 5px;
	float: right;
}
  	  
/*table*/

.scroll {
	overflow: hidden;
	table-layout: fixed;
  -webkit-overflow-scrolling:touch;
}

.scroll input[type=checkbox] {
	line-height: 26px;
}

.scroll td {
	padding: 7px 5px;
	-border-right: 1px solid rgb(200,200,200);
	-border-top: 1px solid rgb(255,255,255);
	border-bottom: 1px solid rgb(240,240,240);
	line-height: 16px;
	vertical-align: top;
	-display: table-cell;
}

.ellipsis {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.scroll td div {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.scroll th {
	padding: 7px 5px;
	border-bottom: 1px solid rgb(240,240,240);
	line-height: 16px;
}

.scroll .header {
	background: rgb(240,240,240);
}

.scroll .footer {
	background: rgb(220,220,220);
}

.scroll th, .scroll .footer td {
	border-right: 1px solid rgb(240,240,240);
	-border-left: 1px solid rgb(255,255,255);
	background: rgb(220,220,220);
	-padding: 5px;
}

.scroll td {
	border-right: 1px solid rgb(240,240,240);
	-border-left: 1px solid rgb(255,255,255);
}

.scroll td:last-child, .scroll th:last-child {
	border-right: none;
}

.scroll .body {
	overflow: auto;
	-moz-user-focus: none;
	-webkit-user-select: none;
	outline: none;
	
}

.scroll .body input[type=checkbox] {
	margin-right: 0px;
	width: inherit;
	margin-top: 2px;
}

.scroll .body tr {
	cursor: pointer;
}

.scroll tbody tr {
	background:rgb(250,250,250);
}

.scroll tbody tr:nth-of-type(odd) {
	background:rgba(255,255,255,0.8);
}

/*
.scroll tbody tr:hover td, 
*/
.scroll tbody tr.active td {
	background: rgba(0,100,200,.15);
}

.scroll body tr.active td {
	background: rgb(217,231,208);
	background: rgb(214,224,243);
}

.scroll .body.t-column td.active {
	background: rgb(217,231,208);
}

.scroll tr.group {
	font-weight: bold;
}

/* table edit */
input[type=text].t-edit, textarea.t-edit  {
	background: rgb(255,255,230);
	padding: 2px 4px;
	line-height: 16px;
	margin: 0px;
	border: 0px;
	border: 1px solid rgb(235,235,160);
	-box-shadow: 0px 0px 2px 2px rgba(125,125,60, 0.1);
	position: absolute;
	border-radius: 0px;		
}


/*suggest*/

.suggest-list {
	border: 1px solid rgb(200,200,200);
	background: rgb(255,255,255);
	display: none;
	position: absolute;
	z-index: 1400;
}

.suggest-list.show {
	display: block;
}

.suggest-list li {
	list-style-type: none;
	line-height: 24px;
	padding-left: 10px;
	cursor: pointer;
}

.suggest-list li span {
	font-weight: bold;
}

.suggest-list li.active {
	background: rgb(0,100,200);
	color: rgb(255,255,255);
}

/* taglist */

div.taglist {
	-background: rgb(255,255,255);
	border: 1px transparent;
	-padding: 4px 3px 1px 2px;
	border-radius: 3px;
	min-height: 26px;
	margin-bottom: 3px;
}

div.taglist ul {
	margin-top: 5px;
	margin-left: 3px;
}

.taglist.edit {
	background: rgb(255,255,255);
	border: 1px solid rgb(200,200,200);
	-padding: 3px 2px 0px 1px;	
}

.taglist.focus {
	border: 1px solid rgb(200,200,200);
	-padding: 3px 2px 0px 1px;	
	background: rgb(255,255,220);
}

.popup .inner .taglist.edit {
	border: 0px;
	background: none;
	width: auto;
}

.taglist ul {
	margin: 0px;
}

.taglist ul li {
	float: left;
	margin-left: 2px;
	margin-right: 2px;
	list-style-type: none;
}

.taglist li .tag {
	background: rgb(0,100,200);
}

.taglist.edit li .tag:hover {
	opacity: 1;
	cursor: pointer;
}

.taglist li.edit, .taglist li.edit:hover {
	border: 0px;
	padding-top: 1px;
	margin-bottom: 0px;
	background: none;
	border-radius: 0px;
	margin-top: -1px;
}

.taglist input, .taglist input:focus {
	border: none;
	padding: 0px;
	height: 17px;
	outline: none;
	-background: rgb(255,255,255);
}


.hello {
	width: 200px;
}

.hello li {
	list-style-type: none;
	-display: block;
	background: rgb(100,200,100);
	padding: 2px 5px;
	width: 200px;
	line-height: 20px;
}

.hello li a.close {
}

.carousel {
	overflow: hidden;
}

.carousel.fade {
	-overflow: visible;
}

.carousel .inner {
	position: relative;
	width: 100%;
	height: 100%;
	overflow: hidden;
	z-index: 0;
}

.carousel .item {
	position: relative;
	float: left;
	height: 100%;
}

.carousel.fade .item {
	position: absolute;
	display: block;
}

.label,
.badge,
.tag {
  font-weight: bold;
  line-height: 12px;
  color: #ffffff;
  white-space: nowrap;
  vertical-align: baseline;
  background-color: rgb(240,240,240);
	background: rgb(223,216,212);
	opacity: .7; 
}

a.label:hover, a.tag:hover {
	text-decoration: none;
}

.label.debtor {
	background-color: #b94a48;
}

.label, .tag {
	font-size: 10px;
	text-transform: uppercase;	
  padding: 2px 4px;
  -webkit-border-radius: 3px;
     -moz-border-radius: 3px;
          border-radius: 3px;
}

.badge {
  padding: 1px 9px 2px;
  -webkit-border-radius: 9px;
     -moz-border-radius: 9px;
          border-radius: 9px;
}

.tag {
	display: block;
	margin-bottom: 4px;
	line-height: 12px;
}

.label .icon {
	float: left;
	opacity: 1;
}

a.label:hover,
a.badge:hover,
a.tag:hover {
  color: #ffffff;
  text-decoration: none;
  cursor: pointer;
}

/* form */
form .actions {
	margin-top: 10px;
}

form.tb, form.lr {
	-padding: 10px;
}

form label {
	display: block;	
	line-height: 20px;
}

form .lr label {
	width: 90px;
}

form .tb label {
	width: auto;
}

form input, form textarea, form select,div.taglist {
	width: 200px;
}
 
form label.small {
	width: 90px;
}

form label.large {
	width: 120px;
}

form label.xl {
	width: 200px;
}

form input.date {
	width: 80px;
}

form input.large, form textarea.large, form select.large {
	width: 300px;
}

div.taglist.large {
	width: 298px;
}

form input.xl, form textarea.xl, form select.xl,div.taglist.xl {
	width: 500px;
}

form input.full, form textarea.full, form select.full, form button.full, div.taglist.full {
	width: 100%;
}

form label.auto {
	width: auto;
	margin-right: 5px;
}

.tb label, .tb input, .tb select {
	display: block;
	margin-bottom: 3px;
	margin-top: 0px;
	-margin-right: 3px;	
}

.tb label input {
	display: inline;
}

form input[type=checkbox], form input[type=radio], form.tb input[type=checkbox], form.tb input[type=radio] {
	width: auto;
  position: relative;
  vertical-align: middle;
  bottom: 1px;
  margin: 0px;
  margin-right: 5px;
  float: none;
}

form label.checkbox, form input[type=checkbox] {
    position: relative;
    vertical-align: middle;
    bottom: 1px;
    margin: 0px;
    margin-right: 5px;
}

form.tb input.hidden, form.tb select.hidden {
	display: none;
}

form.tb label, form.lr label {
	padding: 4px 10px 0px 0px;
	color: rgb(128,128,128);
	
}

.lr label, .lr input, .lr input, .lr select, .lr button { 
	-display: inline;
	float: left;
}

form.lr label.fr, form .lr label.fr {
	float: right;
	width: auto;
	padding: 5px 0px 0px 10px;
	margin-right: 0px;
	margin-left: 5px;
}

span.tb * {
	float: none;
}

form input[type=submit] {
	width: auto;
}

form input[type=checkbox] {
	width: 20px;
	padding: 0px;
	margin: 6px 0px 0px 0px;
}

form label input[type=checkbox] {
	margin: 2px 5px 0px 0px;
}

form input.tiny {
	width: 40px;
}

form input.small {
	width: 75px;
}

form select.small {
	width: 75px;
}

form input.medium {
	width: 90px;
}

form select.medium {
	width: 90px;
}

span.lr {
	display: block;
}

span.lr.hidden {
	display: none;
}

span.lr:after {
	content: '';
	clear: both;
	display: block;
}

form div.submit, form div.seperator {
	border-top: 1px solid rgb(200,200,200);
	margin-top: 10px;
	padding-top: 5px;
	line-height: 30px;
}

form div.submit:after, form div.seperator:after {
	content: '';
	clear: both;
	display: block;
}

form label.info {
	font-size: 10px;
	color: rgb(128,128,128);
	width: auto;
}

.tt.calendar .inner, .tt.time .inner {
	color: rgb(64,64,64);
	background: rgb(255,255,230);
}

.calendar span, .time span {
	cursor: pointer;
}

.calendar table, .time table {
  width: 1px;
	}

.calendar table span, .time table span {
	display: block;
	width: 30px;
	height: 24px;
	line-height: 24px;
	text-align: center;
	}
	
.calendar tfoot span, .time tfoot span {
	display: block;
	width: auto;
}
	
.calendar th span {
	background: rgb(200,200,200);
	}
	
.calendar .current, .time .current {
	background: rgb(200,200,200);
}

.calendar .selected, 
.calendar td span.selected:hover,
.time td span.selected, 
.time td span.selected:hover {
	background: rgb(49,99,196);	
	color: rgb(255,255,255);
	font-weight: bold;
}

.calendar .previous, .calendar .next {
	color: rgb(148,148,148);
	}

.calendar td span:hover, .time td span:hover {
	background: rgb(210,210,210);
	background: rgb(79,129,196);
	color: rgb(255,255,255);
	}

.calendar .week {
	color: rgb(128,128,128);
}

.calendar span.today {
	text-align: center;
}

.calendar tfoot tr, .time tfoot tr {
	border-top: 1px solid rgb(200,200,200);
}

.calendar tfoot td, .time tfoot td {
	padding-top: 2px;
	background: rgb(240,240,240);
}
 
.calendar tfoot .none, .time tfoot .none {
	color: rgb(240,64,64);
}
 
.label.debtor,
.badge.debtor {
  background-color: #b94a48;
}

/* file upload */

.upload .droppable {
	text-align: center;
	width: auto;
	height: 70px;
	display:block;
	border: 1px dashed rgb(200,200,200);
	background: rgb(255,255,240);
	padding: 10px 5px 5px 5px;
	position: relative;
}

.upload .droppable p {
	line-height: 18px;
}
		
.upload .droppable.hover {
	background: rgb(255,255,220);
}

.wrapProgress {
	width:100px;
	height:12px;
	display:block;
	background: rgb(220,220,220);
	border-radius: 6px;
	overflow: hidden;
}

.upload .progress {
	background: rgb(100,220,100);
	height: 12px;
	display: none;
}

.upload .uploadList {
	margin-top: 10px;
}

.upload .uploadList li {
	padding: 2px 5px;
	line-height: 18px;
}

.upload .uploadList a {
	color: rgb(240,64,64);
	text-decoration: none;
	font-size: 14px;
	margin-left: 8px;
}

.upload .uploadList a:hover {
	font-weight: bold;
}

/* group */

.grp * {
	float: left;
}

.grp button, .grp .btn {
	border-radius: 0px 0px 0px 0px;
	padding: 4px 7px 4px 7px;  
	background: rgb(240,240,240);
	color: rgb(64,64,64);
	border: 1px solid rgb(200,200,200);
	font-weight: normal;
	margin: 0px;
}

.grp button:first-child, .grp input:first-child, form.tb .grp input:first-child  {
	border-radius: 5px 0px 0px 5px;	
	border-right: none;
}

.grp input {
	border-radius: 0px;
	margin-right: 0px;
}

.grp button:last-child, .grp input:last-child {
	border-radius: 0px 5px 5px 0px;	
	border-left: none;
}