form input[type='number']::-webkit-outer-spin-button,
form input[type='number']::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* FIELDS */
.field {
	position: relative;
	/* vertical-align: middle; */
}

.fields>.field-holder {
	float: left;
	width: 48%;
	white-space: nowrap;
	margin-bottom: 10px;
	padding-right: 10px;
}

.fields>.field-holder label {
	display: inline-block;
	width: 200px;
	font-weight: bold;
}

.fields>hr {
	display: block;
}

.fields>hr:first-child {
	display: none;
}

input[type="text"],input.text,textarea,select {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
	border: 1px solid #ccc;
	border-top-color: #999;
	border-left-color: #999;
	-moz-border-radius: 2px;
	border-radius: 2px;
	color: #666;
	background-color: #fff;
	margin: 0;
	padding: 4px;
	width: 300px;
	font-size: 1em;
	-moz-box-shadow: inset 0 0 1px #ccc;
	-webkit-box-shadow: inset 0 0 1px #ccc;
	box-shadow: inset 0 0 1px #ccc;
	-moz-transition-property: border-color, -moz-box-shadow;
	-moz-transition-duration: 200ms;
	-webkit-transition-property: border-color, -webkit-box-shadow;
	-webkit-transition-duration: 200ms;
	transition-property: border-color, box-shadow;
	transition-duration: 200ms;
	position: relative;
	z-index: 10;
}

input[type="text"],input[type="checkbox"],input[type="radio"],input.text,textarea,select
	{
	vertical-align: middle;
}

label input[type="radio"] {
	position: relative;
	top: -2px;
}

.webkit input[type="text"],.webkit input.text,.webkit textarea,.webkit select
	{
	padding: 3px 4px;
}

.ie8 input[type="text"],.ie8 input.text,.ie8 textarea,.ie8 select {
	padding-bottom: 6px;
}

.ie9 input[type="text"],.ie9 input.text,.ie9 textarea,.ie9 select {
	padding-bottom: 5px;
}

/* Field states (disabled, hover, focus) */
input.text[disabled],textarea[disabled],select[disabled],input.text[disabled]:hover,textarea[disabled]:hover,select[disabled]:hover,input.text[disabled]:focus,textarea[disabled]:focus,select[disabled]:focus,input.text[readonly],textarea[readonly],select[readonly],input.text[readonly]:hover,textarea[readonly]:hover,select[readonly]:hover,input.text[readonly]:focus,textarea[readonly]:focus,select[readonly]:focus
	{
	color: #aaa;
	background-color: #f8f8f8;
}

input[type="text"]:hover,input.text:hover,input.date:hover,textarea:hover,select:hover,input[type="text"]:focus,input.text:focus,input.date:focus,textarea:focus,select:focus
	{
	border-color: #666;
}

input:focus,textarea:focus,select:focus {
	outline: 2px solid #ecc700;
}

input[type="text"].not-implemented,input.text.not-implemented,input.date.not-implemented,textarea.not-implemented,select.not-implemented
	{
	border-color: #ecc700;
}

/* Placeholders */
input[type="text"]::-webkit-input-placeholder,input.text::-webkit-input-placeholder,textarea::-webkit-input-placeholder
	{
	color: #999;
}

input[type="text"]:-moz-placeholder,input.text:-moz-placeholder,textarea:-moz-placeholder
	{
	color: #999;
}

/* Widths */
textarea {
	width: 100%;
}

select {
	width: auto;
}

input.number {
	width: 150px;
}

input[type="text"].wide,input.text.wide,input.date.wide,textarea.wide,select.wide
	{
	width: 100%;
}

input[type="text"].veryWide {
	width: 600px;
}

input[type="text"].auto,input.text.auto,input.date.auto,textarea.auto,select.auto
	{
	width: auto;
}

input[type="text"].short,input.text.short,textarea.short,input.date.wide
	{
	width: 150px;
}

input[type="text"].tiny,input.text.tiny,textarea.tiny {
	width: 95px;
}

input.number.short {
	width: 75px;
}

input.number.tiny {
	width: 50px;
}

input.date {
	width: 100px;
}

/* Image field */
input[type="image"] {
	cursor: pointer;
}

/* Text fields */
input[type="text"],input.text {
	/* padding-top: 5px; */
	
}

/* Select */
select {
	padding: 3px 4px;
}

/* Textarea */
textarea {
	/* height: 100px; */
	resize: vertical;
}

textarea.noresize {
	resize: none;
}

/* Date field */
input.date {
	/* ../images/icons/calendar-input.png; */
	background-image:
		url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAABdFBMVEX+/v7////S0tL8/PwoecNwc3fDxskQEBDo6OgiIiJ/gobY2NiRlZrg4OD6+vqrq6tkZ2wJYrLPz9D9/f2qqqoAAAAJCQlEnNbU1NQzMzPj4+Ph4eGytrpBQUEqhsgvgsgqe8QQZrJMptzn5+c5mNFCQkLo6us3jM6yz+rPz8/5+fmChorg4uXU1NWzs7NDQ0N1dXUpesQKY7TIy81lanC0tLTk5+ns7Ozs7e/Z29/BxMeurq7Mz9KZnaOus7crfsXf39/7+/s6ldKQlJgKCgpVWl6qr7NEndjk5OTZ2dliaXC9vb3e3t7Dxsg/mdC2vL96enrQ4vLd3d2BgYEWcLze3t81iczz8/O7vsLCw8Pp6+6ipqrT1djv7+8LZLTg4OHJycnl5eU9lNIxhMnKysrZ2dptbW3MzMy9wMT09PTHx8fIyclmZmbX2Nj29vZRWF5Nqd4jf8L39/cyjsu3t7fu7u6IjJDw8PBwcHAhe8Isf8YAAAD1kkWNAAAAfHRSTlP///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////8AAWraMQAAAMVJREFUGNNjqEYDDEDMygMjQAKKRnECXCGVcgJcTip+IAHBQA1XE3v5sHwvpYJisAALC4uhQlWyepK4eyFIIIuRkZGBgZkvLzxWuQQkkMLIWCrJbOBSYc7hoAcSEGJk4OTkY2diT+TltgYJ5DIwCOsXBYsF+Hgy8YMEgoAGqGaKcohyM6WLgASkhR21ZMvTxHIkNBPAKng9pOJDU3WFsiO9TcEq2Cyi1Mx0LGNsjH0jwE5ns8rwl7Fzi7Z1LtOGeQ7DtygAAImFTXD4ik8PAAAAAElFTkSuQmCC");
	background-repeat: no-repeat;
	background-position: 100% 50%;
}

.ui-datepicker-trigger {
	display: none;
}

.date-zapis {
	display: inline-block;
	width: 181px;
	position: relative;
}

.date-zapis .date {
	border-radius: 2px 0 0 2px;
	width: 100px;
	padding-bottom: 5px;
}

.date-zapis .date-zapis-input {
	display: none;
}

.date-zapis .date-zapis-input.active {
	display: inline-block;
}

.date-zapis .date-zapis-input input.date {
	width: 160px;
}

.date-zapis .drop-down {
	position: absolute;
	left: 159px;
	top: 0;
}

.date-zapis .drop-down-button {
	border-radius: 0 2px 2px 0;
	padding: 0 2px;
}

/* File field */
span.file-field {
	display: inline-block;
	position: relative;
}

span.file-field .file-field-desc {
	padding-right: 10px;
	vertical-align: middle;
}

.file-field .file-field-field {
	position: absolute;
	right: -2px;
	top: 0;
	height: 32px;
	width: 75px;
	overflow: hidden;
	display: block;
	cursor: pointer;
}

.file-field .file-field-field input {
	position: absolute;
	right: 0;
	top: 0;
	height: 32px;
	opacity: 0;
	filter: Alpha(opacity = 0);
	cursor: pointer;
}

/* Search field */
span.search-field {
	display: inline-block;
	position: relative;
}

span.search-field .text {
	vertical-align: middle;
	padding-right: 35px;
	border: 1px solid #999;
	border-top-color: #ccc;
	border-left-color: #ccc;
	margin-right: 2px;
}

span.search-field .text.required {
	/* ../images/required-search.png */
	background-image:
		url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAICAYAAACLUr1bAAAAMklEQVQ4y2P4//8/w2DGDEPHgdu29f2Pi3sPxiD2oHMgyGEgLgiD2KMOHHZRPJqLycMAjhG1ygkE0OgAAAAASUVORK5CYII=");
}

span.search-field .text:hover,span.search-field .text:focus {
	border-color: #666;
}

span.search-field .button {
	position: absolute;
	top: 0;
	right: 0;
	z-index: 11;
	-moz-border-radius: 0 2px 2px 0;
	border-radius: 0 2px 2px 0;
}

.ie8 span.search-field .button {
	padding-bottom: 2px;
}

/* Labels */
label {
	vertical-align: middle;
	display: inline-block;
}

label.disabled {
	color: #666;
}

label>.label {
	vertical-align: middle;
}

/* Fieldset */
fieldset {
	border: 1px solid #aaa;
	-moz-border-radius: 2px;
	border-radius: 2px;
	padding: 5px;
	margin-bottom: 10px;
}

fieldset:last-child {
	margin-bottom: 0;
}

legend {
	border: 1px solid #aaa;
	-moz-border-radius: 2px;
	border-radius: 2px;
	font-weight: bold;
	padding: 0 5px;
}

/* Validations */
/* Required */
label.required,.label.required,input.text.required,textarea.required,select.required
	{
	/* ../images/required.png */
	background-image:
		url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAALUlEQVQY02P4//8/Az7MQLyCbdv6/sfFvQdjEBtDAUgCxAVhEJt0BQStINcXAIInuJ2Regd1AAAAAElFTkSuQmCC");
	background-repeat: no-repeat;
	background-position: 100% 0;
}

select.required {
	/* ../images/required-select.png */
	background-image:
		url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAICAYAAADuv08kAAAAMUlEQVQoz2P4//8/w0BghoG3eNu2vv9xce/BGMSmm8UgC0FcEAaxh7/FAxbUIyVVAwDhD8arTveZUgAAAABJRU5ErkJggg==");
}

input.date.required {
	/* ../images/required-calendar.png */
	background-image:
		url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACI0lEQVQ4y6WTv2sUQRTHP7M7e96Z5vwRDLlCTkWxsklMEPQvuDZwNgsKXhGJGiwkaZJeiKVFCgNaWaY4BEHsTJlGFCIkRiKnEBcFs7uzM/Mswm1y2gQceMX7Pt73fd+PQUQ4knW7SxLHicRxIt3uUh/nyARxnAjsp8Rx0scD/vNppVTpPHj4SJrnznP/bkf9jd1rt58AtwBot5/146reWRXjApSCm+ErGo1Rnv64ytBQhdpQhWufX9BojPL6VAsJhYoS3naulAV0buHd4g22dzOeP36J6mmGT9fQOqQSanZ//sIHmpMXjqPCgJ2d3YEWVO32qpw9c+IAUAqlINABURRSqUZUqppjVQ0qYHP7O58Wrx8oeHNnmMnJyZJARADw3uO9x1qLcw5rLVmWsb6+OaAgCMOwdJIkYXx8HO89c3Nz1Ot15ufnyfOcPM/Jsgxr7SBBFFXKymNjYyRJgvee5eVl1tbWWFlZKZPzPKcoikGCaq1ayt7Y2KDZbOKcY3Z2lomJCaanp0sFxhicc4N3UImigf5FBOccCwsL9Ho9RkZGiOMYYwzGmLJYSaC1RkTKoYkI1lpmZmZoNpt0Op1ykM45Dh8egNra2pI+iXP7JEVRlJabfemFMaRpyt7eHlNTUwdr/PL1G5cvXcR5QcRhnSfQFgKDqBxHAIFGhRFeRbRaLXW4DQ3w/sNHrHXktsCaAtvfe5qSpjlp+pssyzDG/POZ/gB3u3sAW1Uo0AAAAABJRU5ErkJggg==");
	background-position: 100% 3px;
}

label.required,.label.required {
	padding-right: 10px;
}

/* Invalid */
label.invalid,.label.invalid {
	color: #c00;
}

input.text.invalid,input.date.invalid,textarea.invalid,select.invalid {
	color: #c00;
	border-top-color: #b00;
	border-left-color: #b00;
	border-bottom-color: #e00;
	border-right-color: #e00;
}

input.text.invalid:hover,input.date.invalid:hover,textarea.invalid:hover,select.invalid:hover,input.text.invalid:focus,input.date.invalid:focus,textarea.invalid:focus,select.invalid:focus
	{
	border-color: #800;
}

input[type="checkbox"].invalid {
	outline: 1px solid #e00;
}

/* Inline validations */
.validations {
	display: block;
}

.validations.floating {
	position: absolute;
}

.validation {
	padding: 4px 5px;
	margin-top: 2px;
	border: 1px solid #069;
	background-color: #dae4f9;
	-moz-border-radius: 2px;
	border-radius: 2px;
	display: inline-block;
	white-space: nowrap;
}

.validation.warning {
	border-color: #bfa300;
	background-color: #fdf9c4;
}

.validation.error {
	border-color: #e00;
	background-color: #f6d0cd;
}

.validation .hint {
	border-bottom: 1px dotted #000;
}

/* Form tables */
form table {
	
}

form tr.indent>th {
	padding-left: 10px;
}

/* Checkbox switch */
.checkbox-switch {
	
}

.checkbox-switch-input {
	display: none;
}

/* CheckList */
.checkList {
	
}

.checkList-checked {
	
}

.checkList-button {
	
}

.checkList-checked .item {
	vertical-align: middle;
}

.checkList-dialog label.checkbox {
	display: inline-block;
	width: 200px;
	white-space: normal;
}

/* Field messages tooltip */
.field-messages-tooltip {
	background-color: #fff;
	background-color: rgba(255, 255, 255, .8);
	border: 1px solid #ccc;
	border-top-color: #999;
	border-right: none;
	border-radius: 2px 0 0 2px;
	-moz-border-radius: 2px 0 0 2px;
	display: inline-block;
	height: 24px;
	width: 24px;
	line-height: 20px;
	text-align: center;
	position: absolute;
}

.field-messages-tooltip.error {
	background-color: #f6d0cd;
	background-color: rgba(246, 208, 205, .8);
	border-top-color: #b00;
	border-left-color: #b00;
	border-bottom-color: #e00;
}

.tooltip-right .field-messages-tooltip {
	border-right: 1px solid #ccc;
	border-left: none;
	border-radius: 0 2px 2px 0;
	-moz-border-radius: 0 2px 2px 0;
}

.tooltip-right .field-messages-tooltip.error {
	border-right-color: #b00;
}

input.select2-offscreen[type="text"] {
    border: 0 none;
    margin: -1px;
    padding: 0;
    position: absolute;
    width: 1px;
}