@CHARSET "UTF-8";

html, body, .container, .page, .content {
	font: normal 12px tahoma, arial, verdana, sans-serif !important;
	margin: 0;
	padding: 0;
	border: 0 none;
	background-color: #efefef !important;
	color: #040404;
	height: 100%;
}

.ui-icon-circlesmall-minus {
    background-position: -16px -192px;
}
.ui-icon-circlesmall-plus {
    background-position: 0px -192px;
}
.ui-jqgrid .ui-jqgrid-htable th {
	height: auto !important;
}
.bold {
	font-weight: bold !important;
}
.content {
	padding-left: 5em;
	padding-right: 5em;
	height: auto;
	overflow: visible;
}

#log {
	position: fixed;
	left: 0;
	top: 100;
	width: 200px;
	height: 200px;
	z-index: 1;
}

#form_login, h1 {
	margin-left: auto;
	margin-right: auto;
	text-align: right;
}
h1 {
	text-align: center;
	margin: 0px;
}
#form_login {
	width: 300px;
	height: auto;
}
header {
	/*white-space: nowrap;*/
	min-height: 60px;
	height: auto;
	display: block;
	padding-left: 60px;
}

header, header * {
	z-index: 2;
}
header h1 {
	text-align: left;
	display: inline-block;
	width: auto !important;
	margin-right: 20px;
	white-space: nowrap;
	font-size: 20px;
	line-height: 48px;
	font-weight: bold;
	color: #808080;
}
header ul, header h1, header .filter {
	display: inline-block;
}

.hidden {
	display: none !important;
}
.nowrap {
	white-space: nowrap;
}
.maywrap {
	white-space: nowrap;
}
/******************* NAVIGATION */
#nav_container {
	overflow: hidden;
    width: 50px;
    border: 0px none;
/*     padding-top: 50px; */
}
#nav_container.shown {
}
nav {
    position: fixed;
    width: 50px;
    height: 100% !important;
	left: -3px;
	overfow: hidden;
	overflow-x: hidden;
	overflow-y: hidden;
	background-color: transparent;
    z-index: 99901 !important;
    transition: .5s;
    -ms-transition: .5s;
    -moz-transition: .5s;
    -webkit-transition: .5a;
}
nav.shown {
	left: 0px;
}
#nav_container.shown nav {
    transition: .5s;
    -ms-transition: .5s;
    -moz-transition: .5s;
    -webkit-transition: .5a;
    width: 300px;
	background-color:rgba(0, 0, 0, 0.8);
    overflow-y: auto;
}

/******************* NAV ITEMS */
.nav_item {
	font-size: 14px;
	font-weight: bold;
	letter-spacing: 1px;
	line-height: 40px;
	height: 40px;
	padding-top: 6px;
	padding-bottom: 6px;
	padding-left: 0px;
	display: block;
	vertical-align: middle;
	text-decoration: none;
	cursor: default;
}
.nav_item span {
    position: absolute;
	transition: .5s;
    -ms-transition: .5s;
    -moz-transition: .5s;
    -webkit-transition: .5a;
	width: 0px;
    color: transparent;
    overflow: hidden;
	line-height: 40px;
	height: 40px;
	vertical-align: top;
	display: inline-block;
	padding-left: 12px;
	font-variant: small-caps;
	font-size: large;
}
#nav_container.shown span {
    transition: .5s;
    -ms-transition: .5s;
    -moz-transition: .5s;
    -webkit-transition: .5a;
/*    left: 60px; */
	width: 250px;
   color: #B0B0B0;
}
#nav_container.shown .nav_item:hover span {
  color: #FFF;
}
#nav_container.shown .nav_item.active span {
  color: #000;
}
#nav_container .nav_item.active {
	border-radius: 3px;
}
#nav_container.shown .nav_item.active {
	border-radius: 0px;
}
.nav_item:hover {
	background-color: #808080;
}
.nav_item.active {
	background-color: #A0A0A0;
}
/****************** MENU TOGGLE  */
#menu_toggle {
	width: 48px;
	height: 48px;
	line-height: 48px;
	background-image: url("../res/ic_right.png");
	background-repeat: no-repeat;
}
#nav_container.shown #menu_toggle {
	background-image: url("../res/ic_left.png");
}
.nav_item img {
	cursor: pointer;
	height: 36px;
	vertical-align: middle;
	margin-left: 8px;
}

@media only screen and (max-width: 480px) {
	header h1 {
		display: none;
	}
}

/****************** PAGE */
.filter {
	padding: 5px;
	margin-top: 0px;
	background-color: #efefef !important;
	text-align: right;
	margin-right: 6px;
	height: auto;
}
/****************** GRID */
#gbox_grid {
	margin-top: 0px;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	overflow: auto;
}

.loading {
	color: black !important;
}

td {
	line-height: 22px;
}

td a img {
	display: inline;
	padding: 0px;
	margin-bottom: -10px;
	width: 32px;
	height: 32px;
}

/*************** MODAL */
#modal {
	width: 100%;
	height: 100%;
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	background-color: rgba(0, 0, 0, 0.8);
	text-align: center;
	z-index: 1;
}
#modal h3 {
	font-weight: bold;
	font-variant: small-caps;
	font-family: sans-serif;
	font-size: large;
}
.modal_form {
	width: 330px;
	margin-top: 70px;
	background-color: white;
	padding: 12px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 20px;
	border-radius: 3px;
}
.modal_form.narrow {
	width: 200px;
}
.modal_form .form_row {
	margin: 10px;
	text-align: right;
}
.modal_form h3 {
	padding-bottom: 10px;
	margin-top: 0px;
}
.modal_form a {
	display: block;
	margin-top: 10px;
}
.modal_form input[type="text"], .modal_form input[type="number"], .modal_form select {
	width: 180px;
}
.modal_form input[type="text"], .modal_form input[type="number"] {
	font: normal 10pt tahoma, arial, verdana, sans-serif !important;
}
.modal_form input[type='number'] {
	width: 65px;
	text-align: right;
	text-indent: 3px;
}
.modal_form input[type='checkbox'] {
	text-indent: 3px;
	line-height: 20px;
}
.modal_form #success {
	width: 30px;
	height: 30px;
	display: inline-block;
	text-align: right;
	float: right;
}
/*************** BUTTONS */
.filter a, .modal_form a, a.button {
	background-image: url("../res/buttons.png");
	background-position: 0px 0px;
	width: 120px;
	height: 30px;
	line-height: 30px;
	vertical-align: middle;
	margin-left: 18px;
	text-align: center;
	color: #330000;
	display: inline-block;
	text-decoration: none;
}
.filter a:hover, .modal_form a:hover, a.button:hover{
	background-position: 0px -30px;
}
.filter a.button-selected, .filter a.button-selected:hover,
.modal_form a.button-selected, .modal_form a.button-selected:hover {
	background-position: 0px -30px;
}
.filter input[type="text"] {
	width: 100px;
}

@media only screen and (max-width: 450px) {
	.maywrap {
		white-space: normal;
	}
	.modal_form {
		width: 300px;
		margin-top: 6px;
		margin-bottom: 6px;
	}
}


/*************** CHARTS */
.overlay-legend li {
	display: inline-block;
	margin-left: 12px;
}
.overlay-legend li span {
	width: 14px;
	height: 14px;
	margin-right: 3px;
	display: inline-block;
	vertical-align: middle;
	border-radius: 3px;
}

#loyalty_dialog {
	display: none;
}
#loyalty_dialog input {
	max-width: 65px;
	text-align: right;
	se
}
#loyalty_update_header {
	padding-top: 6px; 
	padding-bottom: 12px;
}