/* apply a natural box layout model to all elements */
* {
    background-repeat: no-repeat;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    
    -webkit-font-smoothing:antialiased;
    -moz-font-smoothing:antialiased;
    -o-font-smoothing:antialiased;
    -ms-font-smoothing:antialiased;
    font-smoothing:antialiased;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */
.cf:before,
.cf:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}
.cf:after {
    clear: both;
}
/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */
.cf {
    *zoom: 1;
}

html, body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: normal;
    text-align: left;
    color: #000;
    padding: 0px;
    margin: 0px;
    height: 100%;
    tab-size: 12;
}

#head {
    background-color: #4A4116;
    height: 50px;
    width: auto;
    margin: 0px;
	padding: 12px 135px 0 20px;
	color: #FFFFFF;
	border-bottom: 1px solid #FFFFFF;
}

#head a {
	color: #FFFFFF;
}

#head .head-name {
	font-family: Arial Black, Arial;
	font-size: 14px;
	font-weight: bold;
	text-transform: uppercase;
}

#head .head-version {
	font-size: 8px;
	text-transform: uppercase;
}

#head .head-logo {
	position: absolute;
	right: 18px;
	top: 0;
	height: 120px;
	width: 101px;
	background-image: url("../images/head-logo.jpg");
	background-repeat: no-repeat;
	z-index: 101;
}

#head .head-loggedin-info {
	float:right;
}

#content {
	padding: 0 18px;
}

#footer {
	height: 42px;
	padding: 0 18px;
	line-height: 42px;
	font-size: 10px;
	text-align: right;
}

.form-optiongroup {
    background-color:#fff;
    color:#cc0000;
    font-weight:bold;
    font-size:12px;
    border-bottom:1px solid #cc0000;
}

.form-label {
	vertical-align: middle;
	text-align: left;
	background: #ccc;
	padding-left: 5px;
    height: 22px;
	/*min-width: 150px;
	max-width: 240px;*/
}

.clock {
	color: #FFFFFF;
    float: right;
    font-weight: bold;
    margin-right: 135px;
    margin-top: 8px;
}

.globalSearch {
    float:right;
}

.globalSearch #firstTd {
    /*width:140px;*/
    position: relative;
}

#extendedSearch {
    position: absolute;
    left: -280px;
}

.fixed_200px {
	width: 200px;
}
/*
.form-value input:not([type='checkbox']):not([type='radio']):not([type='submit']):not([type='file']),
.form-value select,
.form-value textarea {
	margin: 0;
	padding: 2px;
	width: 100%;
    border: 1px solid #cccccc;
}
.form-value input:focus,
.form-value select:focus,
.form-value textarea:focus {
    border-color: #000000;
}
*/

/* customize all input fields except the special inputs */
input:not([type='checkbox']):not([type='radio']):not([type='submit']):not([type='file']),
select,
textarea {
	margin: 0;
	padding: 2px;
    border: 1px solid #aaaaaa;
}
input:not([type='checkbox']):not([type='radio']):not([type='submit']):not([type='file']):not([readonly]):focus,
select:focus,
textarea:focus {
    border: 1px solid #000000;
}

/* select box differs with padding*/
select {padding: 1px;}

/* display readonly as text only */
input[readonly],
input[readonly]:focus {
    border: 1px solid transparent !important;
}

/* set width for form elements */
.form-value input:not([type='checkbox']):not([type='radio']):not([type='submit']):not([type='file']),
.form-value select,
.form-value textarea {
	width: 100%;
}

.form-value span.form-value-desc {
	display: block;
	color:#bbb;
	font-size:10px;
	font-weight:normal;
	width: 100%;
}

.ui-dialog-content h2 {
	padding: 4px;
	background-color: #4A4116;
	border-bottom: 2px solid white;
	font-weight: bold;
	margin: 4px;
	color: white;
	font-size: 12px;
}

.inlineEdit {
	position: absolute;
	z-index: 2000;
}
.inlineEdit input, .inlineEdit button {
    position: relative;
	z-index: 2001;
}

span.ui-button-icon-only {
    width: 24px !important;
    height: 24px !important;
}

.loading {
	padding: 50px;
	text-align: center;
}


/*
COMBOBX Styles
*/

.ui-combobox {
    position: relative;
    display: inline-block;
    width: 100%;
    padding-right: 25px;
}
.ui-combobox-toggle {
    position: absolute;
    top: 0;
    bottom: 0;
    margin-left: -1px;
    padding: 0;
    /* adjust styles for IE 6/7 */
    *height: 1.7em;
    *top: 0.1em;
}
.ui-combobox-input {
    margin: 0;
    padding: 0.3em;
}
.ui-autocomplete {
    max-height: 200px;
    overflow-y: auto;
    /* prevent horizontal scrollbar */
    overflow-x: hidden;
}
.ui-autocomplete .ui-menu-item a {
    border: 1px solid transparent;
}
.ui-autocomplete .ui-menu-item a.ui-state-hover {
    border: 1px solid #cdc3b7;
}

/*
 * Ticket System
 */
.ticket-textinfo {
	color: #999999;
	font-size: 11px;
	text-align: right;
	padding: 5px 0;
}

.ticket-texthr {
	border: 0;
	border-top: 1px solid #CCCCCC;
	height: 0;
	padding: 0;
	margin: 10px 0 ;
}

.ticket-text, .ticket-textinfo, .ticket-texthr {
	width: 90%;
}


/* IE 6 doesn't support max-height
 * we use height instead, but this forces the menu to always be this tall
 */
* html .ui-autocomplete {
    height: 200px;
}



.ui-jqgrid-btable .ui-state-highlight {
    background: #ccc;
}

/* css for timepicker */
.ui-timepicker-div .ui-widget-header { margin-bottom: 8px; }
.ui-timepicker-div dl { text-align: left; }
.ui-timepicker-div dl dt { height: 25px; margin-bottom: -25px; }
.ui-timepicker-div dl dd { margin: 0 10px 10px 65px; }
.ui-timepicker-div td { font-size: 90%; }
.ui-tpicker-grid-label { background: none; border: none; margin: 0; padding: 0; }


/* Image Buttons for Order Grid */
.order_options {
    display: table-cell;
    white-space: normal;
}

.order_options img {
    float: left;
    cursor: pointer;
    margin: 2px;
    margin-right: 5px;
    vertical-align: middle;
}

#img_separator {
    border-bottom: 1px solid silver;
    margin-top: 11px;
    margin-bottom: 3px;
}

.color-state {
    height: 100%;
    width: 100%;
    min-height: 180px;
}

.state-new {
    background-color: #9E6E1C;
}

.state-stored {
    background-color: #1E90FF;
}

.state-clearBySn {
    background-color: #58FAF4;
}

.state-pending {
    background-color: #FF00FF;
}

.state-approved {
    background-color: #6ADA52;
}

.state-printed {
    background-color: #4D9E3B;
}

.state-deleted {
    background-color: #FF0000;
}

.state-delivered {
    background-color: black;
    color: white;
}

/* Colors for card-types for merging of orders*/
.type-eistafel{
    background-color: red;
}

.type-offeneis{
    background-color: blue;
    color: white;
}

.type-offeneistafel{
    background-color: blue;
    color: white;
}

.type-cinestar{
    background-color: black;
    color: white;
}

.type-eiskarte{
    background-color: white;
}

/* Order overview styles */
.data-overview {
    border-collapse: collapse;
    border: none;
}

.ui-jqgrid tr.jqgrow td .data-overview td {
    border: none;
    white-space: normal;
    padding: 5px;
}

table.accCheckboxTable{
    width: 100%;
}
table.accCheckboxTable td{
    text-align: left;
    border-right-width: 1px;
    border-right-color: black;
    border-right-style: solid;
    overflow: hidden;
    height: 22px;
    padding: 0 2px 0 2px;
    border-bottom-width: 1px;
    border-bottom-color: black;
    border-bottom-style: solid;
}

.tab {
    display:inline-block;
}

/**
EDITOR
**/
p {
    margin: 0; 
    padding: 0;
}

.l10n-inactive {
    color: #aaa !important;
    text-decoration: none;
}

/*
FONTS
*/