/*
 * Schindhelm - Client management
 * @author Jiří Hýbek <jiri.hybek@cryonix.cz> / Cryonix Innovations <www.cryonix.cz>
 */

/*
 * UI: LIST
 */
.ui-list {
	width: 100%;
	border: 0px none;
	border-collapse: collapse;
	border-spacing: 0
}

/* HEADER */
.ui-list thead tr th {
	border-bottom: 2px solid #f9ed83;
	border-left: 1px solid #f9ed83;
	text-align: left;
	font-size: 12px;
	font-weight: normal;
	color: #f9ed83;
	text-transform: uppercase;
}

.ui-list thead tr > th:nth-child(1) {
	border-left: 0px none;
}

.ui-list thead tr th.align-left { text-align: left; }
.ui-list thead tr th.align-center { text-align: center; }
.ui-list thead tr th.align-right { text-align: right; }

.ui-list thead tr th a {
	display: block;
	padding: 10px 10px 6px 10px;
	color: #f9ed83;
	text-decoration: none;
	background-repeat: no-repeat;
	background-position: 95% 50%;
}

.ui-list thead tr th.order-asc a {
	background-color: #726e4d;
	background-image: url('images/order-asc.gif');
}

.ui-list thead tr th.order-desc a {
	background-color: #726e4d;
	background-image: url('images/order-desc.gif');
}

.ui-list thead tr th a:hover {
	background-color: #2e3f36;
}

/* FILTERS */
.ui-list thead tr td {
	position: relative;
	height: 26px;
	border-left: 1px solid #181e1b;
	border-top: 1px solid #181e1b;
	border-bottom: 1px solid #181e1b;
	background: #333936;
}

.ui-list thead tr > td:nth-child(1){
	border-left: 0px none;
}

.ui-list thead tr td input {
	width: 100%;
    -webkit-box-sizing: border-box;‌​
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 8px 10px 7px 10px;
    line-height: 14px;
    font-size: 14px;
    border: 0px none;
    background: #2e3f36;
    color: #ffffff;
    cursor: pointer;
    transition: background 0.3s;
}

.ui-list thead tr td input:hover {
	background: #33463d;
}

.ui-list thead tr td input:focus {
	cursor: auto;
	background: #586f64;
	outline: 0px none;
}

.ui-list thead tr td input::-webkit-input-placeholder	{ color: #8ca497; padding-top: 1px; }
.ui-list thead tr td input::-moz-placeholder			{ color: #8ca497; padding-top: 1px; }
.ui-list thead tr td input:-ms-input-placeholder		{ color: #8ca497; padding-top: 1px; }
.ui-list thead tr td input:-moz-placeholder 			{ color: #8ca497; padding-top: 1px; }

/* BODY */
.ui-list tbody tr td,
.ui-list tfoot tr.summary td {
	padding: 10px;
	border-left: 1px solid #181e1b;
	border-top: 1px solid #181e1b;
	border-bottom: 1px solid #181e1b;
	background: #212724;
	vertical-align: top;
	/*cursor: pointer;*/
}

.ui-list tbody tr > td:nth-child(1),
.ui-list tfoot tr.summary > td:nth-child(1) {
	border-left: 0px none;
}

.ui-list tbody > tr:nth-child(even) td {
	background: #262b28;
}

.ui-list tbody tr:hover td {
	background: #3a423d;
}

.ui-list tbody tr td.align-left,
.ui-list tfoot tr.summary td.align-left 	{ text-align: left; }

.ui-list tbody tr td.align-center,
.ui-list tfoot tr.summary td.align-center 	{ text-align: center; }

.ui-list tbody tr td.align-right,
.ui-list tfoot tr.summary td.align-right 	{ text-align: right; }

.ui-list tbody tr td.counter,
.ui-list tfoot tr.summary td.counter 		{ vertical-align: middle; }

.ui-list tbody tr td img.thumbnail {
	float: left;
	margin-right: 16px;
	margin-top: 2px;
	margin-bottom: 2px;
}


/* ACTIONS */
.ui-list tbody tr td ul.actions {
	list-style: none;
	display: none;
}

.ui-list tbody tr:hover td ul.actions {
	display: block;
}

.ui-list tbody tr:hover td.actions .row-description {
	display: none;
}


.ui-list tbody tr td ul.actions li {
	display: inline-block;
	margin-right: 10px;
	font-size: 12px;
	line-height: 15px;

}

.ui-list tbody tr td ul.actions li a {
	text-decoration: underline;
	/*text-transform: uppercase;*/
	color: #f9ed83;
}

.ui-list tbody tr td ul.actions li a:hover {
	text-decoration: none;
}

/* ROWS */
.ui-list tbody tr td p,
.ui-list tfoot tr.summary td p {
	font-size: 13px;
	line-height: 15px;
}
.ui-list tbody tr td .row-title,
.ui-list tfoot tr.summary td .row-title {
	font-size: 19px;
	color: #ffffff;
	margin-bottom: 5px;
	line-height: 19px;
	padding-top: 6px;
}

.ui-list tbody tr td .row-title a {
	color: #ffffff;
	text-decoration: none;
}

.ui-list tbody tr td .row-title a:hover {
	text-decoration: underline;
}

.ui-list tbody tr td .row-account,
.ui-list tfoot tr.summary td .row-account,
.ui-list tbody tr td .row-commision,
.ui-list tfoot tr.summary td .row-commision,
.ui-list tbody tr td .row-sales,
.ui-list tfoot tr.summary td .row-sales {
	font-size: 17px;
	color: #c4d2ca;
	margin-bottom: 3px;
	line-height: 19px;
	padding-top: 6px;
}

.ui-list tbody tr td .row-description,
.ui-list tfoot tr.summary td .row-description {
	color: #f9ed83;
}
.ui-list tbody tr td .row-description a,
.ui-list tbody tr td .row-text a,
.ui-list tbody tr td .row-text span,
.ui-list tfoot tr.summary td .row-text span {
	color: #f9ed83;
	text-decoration: none;
}

.ui-list tbody tr td .currency,
.ui-list tfoot tr.summary td .currency {
	font-size: 12px;
}
/* FOOTER */
.ui-list tfoot tr td {
	height: 32px;
	border-top: 2px solid #f9ed83;
	vertical-align: top;
}

.ui-list tfoot tr.summary td {
	border-top: 0px none;
	background: #555236;
	padding: 5px 10px;
}

/* PAGINATION */
.ui-list tfoot tr td ul.pagination {
	float: left;
	list-style: none;
	padding: 0px 8px;
}

.ui-list tfoot tr td ul li {
	float: left;
	padding-top: 4px;
}

.ui-list tfoot tr td ul li.prev, .ui-list tfoot tr td ul li.next {
	padding: 0px;
}

.ui-list tfoot tr td ul li.prev a, .ui-list tfoot tr td ul li.next a,
.ui-list tfoot tr td ul li.prev span, .ui-list tfoot tr td ul li.next span {
	display: block;
	width: 30px;
	height: 30px;
	background: url('images/pagination-prev.png') no-repeat center;
}

.ui-list tfoot tr td ul li.prev span, .ui-list tfoot tr td ul li.next span {
	opacity: 0.3;
}

.ui-list tfoot tr td ul li.next a,
.ui-list tfoot tr td ul li.next span {
	background-image: url('images/pagination-next.png');
}

.ui-list tfoot tr td ul li.prev a:hover, .ui-list tfoot tr td ul li.next a:hover {
	background-color: #2e3f36;
}

.ui-list tfoot tr td ul li input {
	padding: 2px 6px;
	border: 2px solid #f9ed83;
	width: 25px;
	border-style: none none solid none;
	text-align: center;
	background: transparent;
	font-size: 15px;
	color: #f9ed83;
	line-height: 1.0;
}

.ui-list tfoot tr td ul li.text, .ui-list tfoot tr td ul li.total, .ui-list tfoot tr td ul li.pages {
	font-size: 11px;
	color: #9b934a;
	line-height: 11px;
	padding: 11px 10px 8px 10px;
}

.ui-list tfoot tr td ul li.pages {
	font-size: 15px;
	line-height: 15px;
	padding: 7px 2px 8px 2px;
	color: #f9ed83;
	margin-right: 10px;
	width: 23px;
	text-align: center;
}

/* OPTIONS */
.ui-list tfoot tr td ul.options {
	float: right;
	list-style: none;
}

.ui-list tfoot tr td ul li.total {
	border-left: 1px solid #f9ed83;
}

/*
 * UI: FORM
 */
#ui-form {
	padding: 3px 10px;
	transition: opacity 0.5s;
	-webkit-transition: opacity 0.5s;
}

#ui-form.disabled {
	opacity: 0.3;
}

#ui-form .form-group {
	/*margin-bottom: 30px;*/
}

#ui-form .form-group h2 {
	font-weight: normal;
	font-size: 14px;
	text-transform: uppercase;
	margin-bottom: 16px;
	color: #ddebe4;

	padding: 10px 10px 10px 40px;
	
	background: #587165 url('images/expander-arrow.png') no-repeat;
	background-position: 12px -39px;

	border-radius: 4px;
	cursor: pointer;

	transition: background-color 0.5s;
	-webkit-transition: background-color 0.5s;
}

#ui-form .form-group.complete h2 {
	background-color: #9ac16b;
	color: #0d1603;
}

#ui-form .form-group.invalid h2,
#ui-form .form-group.invalid.complete h2 {
	background-color: #918944;
	color: #ffffff;
}

#ui-form .form-group.closed h2 {
	background-position: 14px 9px;
}

#ui-form .form-group .form-fields {
	padding: 0px 10px 10px 10px;
	overflow-y: hidden;
	max-height: 999px;

	transition: all 0.5s;
	-webkit-transition: all 0.5s;
}

#ui-form .form-group.closed .form-fields {
	padding-bottom: 0px;
}

#ui-form p {
	margin-bottom: 16px;
}

#ui-form label.title {
	display: inline-block;
	width: 150px;
	line-height: 31px;
}

#ui-form label.description {
	display: inline-block;
	margin-left: 6px;
}

#ui-form p.required label .asterisk {
	color: #f9ed83;
}

#ui-form input[type=text],
#ui-form input[type=password],
#ui-form input[type=number],
#ui-form input[type=email],
#ui-form select,
#ui-form textarea {
	background: #37403c;
	padding: 8px;
	border: 1px solid #141b18;
	border-radius: 3px;
	box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.2);
	font-size: 12px;
	font-family: "Segoe UI", Arial, sans-serif, Helvetica;
	color: #ffffff;
}

#ui-form textarea {
	vertical-align: top;
}

#ui-form input.invalid,
#ui-form textarea.invalid,
#ui-form select.invalid {
	border-color: #918944;
	background: #55512d;
}

#ui-form input[type=checkbox] {
	vertical-align: -2px;
}

#ui-form .help {
	display: inline-block;
	width: 22px;
	height: 16px;
	cursor: pointer;
	background: url('images/icon-help.gif') no-repeat left;
	position: relative;
	vertical-align: -3px;
	margin-left: 10px;
}

#ui-form .help .hint {
	display: none;
	position: absolute;
	left: 22px;
	top: -6px;
	padding: 6px 8px;
	min-width: 300px;
	background: #918944;
	border-radius: 3px;
	font-style: italic;
	line-height: 1.5;
	z-index: 200;
	color: #ffffff;
}

#ui-form .help:hover .hint {
	display: block;
}

#ui-form .frame {
	padding: 16px;
	height: 140px;
	overflow-y: scroll;
	background: #eeeeee;
	border: 1px dashed #cccccc;
}

#ui-form .frame h3 {
	font-weight: normal;
	font-size: 18px;
	margin-bottom: 16px;
}

#ui-form .frame h4 {
	font-size: 15px;
	font-weight: normal;
	text-transform: uppercase;
	margin-bottom: 12px;
	padding-top: 10px;
}

#ui-form .frame p {
	text-align: justify;
	line-height: 1.5;
	margin-bottom: 16px;
}

#ui-form p.submit {
	border-top: 1px solid #33463d;
	padding: 10px;
}

#ui-form input[type=submit],
#ui-form input[type=button],
#ui-form input[type=reset] {
	padding: 10px 20px;
	border-radius: 4px;
	background: #587165;
	border: 0px none;
	cursor: pointer;
	color: #000000;
	text-transform: uppercase;
	font-size: 12px;
	margin-right: 10px;
}

#ui-form input[type=submit] {
	background: #eae39a;
}

#ui-form input[type=submit]:hover,
#ui-form input[type=button]:hover,
#ui-form input[type=reset]:hover {
	background: #9ac16b;
}

#ui-form input[type=submit][disabled] {
	cursor: default;
	background: #314039;
}

#ui-form p.hidden {
	display: none;
}

#ui-form .separator {
	border-bottom: 2px solid #33463d;
	margin-bottom: 16px;
}

/*
 * MESSAGES
 */

#ui-list p.message,
#ui-form p.message {
	padding: 16px;
	margin: -10px -10px 20px -10px;
	background: #dddddd;
	font-size: 14px;
	border-radius: 4px;
}

#ui-list p.message .details,
#ui-form p.message .details {
	display: block;
	font-size: 12px;
	font-weight: bold;
	padding-top: 10px;
}

#ui-list p.message.success,
#ui-form p.message.success {
	background: #9ac16b;
	color: #0d1603;
}

#ui-list p.message.error,
#ui-form p.message.error {
	background: #db152e;
	color: #ffffff;
}

#ui-list p.message.invalid,
#ui-form p.message.invalid {
	background: #918944;
	color: #ffffff;
}