body.emp-admin {
	font: normal normal 14px "lucida grande", "helvetica", "trebuchet", "arial", sans-serif;
	background: #e6e6e6;
	padding: 80px 60px 20px;
	max-width: 1200px;
	min-width: 780px;
}

body.emp-admin a {
	color: #005BCB;
}



form.emp-form {
	
}

form.emp-form div.input-field {
	padding: 0 0 0 200px;
	margin-bottom: 7px;
	position: relative;
	line-height: 30px;
	min-height: 30px;
}

form.emp-form div.input-field.submit {
	margin-top: 25px;
}

form.emp-form div.input-field label:first-child {
	width: 185px;
	position: absolute;
	top: 0;
	left: 0;
	text-align: right;
	overflow: hidden;
	height: 30px;
}

form.emp-form div.input-field input[type=text],
form.emp-form div.input-field input[type=password],
form.emp-form div.input-field textarea,
form.emp-form div.input-field select {
	width: 300px;
	padding: 4px 10px;
	font: normal 14px 'segoe ui', 'helvetica', 'trebuchet', 'arial', sans-serif;
	border: 1px solid #aaa;
	margin: 0;
	border-radius: 3px;
	vertical-align: top;
	
	-moz-box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.1);
	-webkit-box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.1);
	box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.1);
	
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

form.emp-form div.input-field textarea {
	height: 100px;
	margin-bottom: 3px;
}

form.emp-form div.input-field.editor textarea {
	width: 500px;
	height: 200px;
}

form.emp-form div.input-field.editor div {
	line-height: normal;
}

form.emp-form div.input-field select {
	padding: 4px 4px 4px 10px;
}

form.emp-form div.input-field input[type=checkbox],
form.emp-form div.input-field input[type=radio] {
	position: relative;
	top: 1px;
	margin: 0 1px 0 1px;
}

form.emp-form div.input-field p.description {
	color: #888;
	font-size: 12px;
	line-height: normal;
	margin: 0 0 15px 0;
	width: 380px;
}

form.emp-form div.input-field span.required {
	display: inline-block;
	color: #aaa;
	margin: 0 5px;
	vertical-align: top;
}

form.emp-form div.input-field.error,
form.emp-form div.input-field.error span.required {
	color: #cc0000;
}

form.emp-form div.input-field.error input[type=text],
form.emp-form div.input-field.error input[type=password],
form.emp-form div.input-field.error textarea,
form.emp-form div.input-field.error select {
	border-color: #cc0000;
	background-color: #fffbcc;
}

form.emp-form div.input-field *:disabled {
	opacity: 0.65;
}

form.emp-form hr {
	margin: 10px 0;
	height: 0;
	border: none;
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #fff;
	width: 600px;
}



/***  Button  *****************************************************************/


.emp-button,

.emp-admin button,
.emp-admin .button,
.emp-form button,
.emp-form .button {
	display: inline-block;
	line-height: 28px;
	padding: 0 15px;
	margin: 0;
	border-radius: 8px;
	font-size: 14px;
	color: #000 !important;
	background-color: #eaeaea;
	cursor: default;
	text-decoration: none;
	vertical-align: middle;
	position: relative;
	border: 1px solid #666;
	box-shadow: 0 1px 3px rgba(0,0,0,.2), inset 0 1px 0 rgba(255,255,255,.7);
	
	background-image: -webkit-linear-gradient(top, rgba(255, 255, 255, 0.3) 50%, transparent 50%), -webkit-linear-gradient(top, transparent 50%, rgba(0, 0, 0, 0.03));
	
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	-o-transition: all 0.3s;
}


.emp-button:not(:disabled):hover,

.emp-admin button:not(:disabled):hover,
.emp-admin .button:not(:disabled):hover,
.emp-form button:not(:disabled):hover,
.emp-form .button:not(:disabled):hover {
	background-color: #f5f5f5;
	box-shadow: 0 0 15px rgba(255,255,255,.5), 0 1px 3px rgba(0,0,0,.2), inset 0 1px 0 rgba(255,255,255,.7);
	
	-webkit-transition: none;
	-moz-transition: none;
	-o-transition: none;
}

.emp-button:active,

.emp-admin button:active,
.emp-admin .button:active,
.emp-form button:active,
.emp-form .button:active {
	background-color: #efefef !important;
	box-shadow: 0 1px 0 rgba(255,255,255,.2), inset 0 2px 3px rgba(0,0,0,.1) !important;

	-webkit-transition: none;
	-moz-transition: none;
	-o-transition: none;
}


.emp-button + .emp-button,

.emp-admin .button + .button,
.emp-admin .button + button,
.emp-admin button + .button,
.emp-admin button + button,
.emp-form .button + .button,
.emp-form .button + button,
.emp-form button + .button,
.emp-form button + button {
	margin-left: 5px;
}


.emp-button .emp-icon:first-child,
.emp-admin button .emp-icon:first-child {
	margin-left: -2px;
	top: -1px;
}




.emp-admin div.tabs-list {
	padding: 0 10px;
	margin-bottom: 25px;
	
	background: -webkit-radial-gradient(50% 100%, farthest-side, rgba(0,0,0,0.05), rgba(0,0,0,0)), -webkit-linear-gradient(bottom, #fff 1px, #aaa 1px, transparent 2px);
	background: -moz-radial-gradient(50% 100%, farthest-side, rgba(0,0,0,0.05), rgba(0,0,0,0)), -moz-linear-gradient(bottom, #fff 1px, #aaa 1px, transparent 2px);
	background: -o-linear-gradient(bottom, #fff 1px, #555 1px, transparent 2px); /*fixme - radial v opere */
}

.emp-admin div.tabs-list a {
	display: inline-block;
	padding: 5px 10px 4px;
	text-decoration: none;
	color: #000;	
	border: 1px solid #888;
	border-bottom: none;
	margin: 0 2px 1px 0;
	text-shadow: 0 1px 0 #f0f0f0;
	cursor: default;
	border-radius: 3px 3px 0 0;
	
	background: #eee;
	
	background: -webkit-linear-gradient(top, rgba(255,255,255, 0.5) 1px, rgba(0,0,0,0) 1px, rgba(0,0,0,0) 50%, rgba(0,0,0,0.05) 85%, rgba(0,0,0,0.10));
	background: -moz-linear-gradient(top, rgba(255,255,255, 0.5) 1px, rgba(0,0,0,0) 1px, rgba(0,0,0,0) 50%, rgba(0,0,0,0.05) 85%, rgba(0,0,0,0.10));
	background: -o-linear-gradient(top, rgba(255,255,255, 0.5) 1px, rgba(0,0,0,0) 1px, rgba(0,0,0,0) 50%, rgba(0,0,0,0.05) 85%, rgba(0,0,0,0.10));
}

.emp-admin div.tabs-list a.selected {
	margin-bottom: 0;
	background: #e6e6e6;
	text-shadow: #fff;
	position: relative;
	
	background: -webkit-linear-gradient(top, #fff 1px, #eee 1px, #e6e6e6);
	background: -moz-linear-gradient(top, rgba(255,255,255, 1) 1px, rgba(255,255,255,0.25) 1px, rgba(255,255,255,0));
	background: -o-linear-gradient(top, rgba(255,255,255, 1) 1px, rgba(255,255,255,0.25) 1px, rgba(255,255,255,0));
}

.emp-admin div.tabs-list a.selected:after {
	content: " ";
	display: block;
	height: 3px;
	background: #e6e6e6;
	position: relative;
	top: 4px;
	margin: 0 -10px -3px;
}


.emp-admin div.tabs-list a input[type=checkbox] {
	position: relative;
	top: 1px;
	margin: 0 5px 0 0;
}



.emp-admin h1 {
	font-size: 32px;
	font-weight: bold;
	color: #555;
	text-shadow: 0 1px 0 #fff;
	margin: 0 0 20px 0;
	letter-spacing: -1px;
}

.emp-admin h1 a {
	color: #555;
	text-decoration: none;
}

.emp-admin h1 a:hover {
	color: #005bcb;
}




/***  Tabulky  ****************************************************************/

table.emp-table {
	border-radius: 8px;

	-moz-box-shadow: inset 0px 2px 4px rgba(0, 0, 0, 0.3);
	-webkit-box-shadow: inset 2px 2px 4px rgba(0, 0, 0, 0.3);
	box-shadow: inset 1px 2px 4px rgba(0, 0, 0, 0.3);

	-moz-box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.1), inset 1px 2px 4px rgba(0, 0, 0, 0.2);
	-webkit-box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.1), inset 1px 2px 4px rgba(0, 0, 0, 0.2);
	box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.15); /*, inset 1px 2px 4px rgba(0, 0, 0, 0.2);*/

	border: 1px solid #666; /*xborder*/
	background: #fff;
	width: 100%;
}

table.emp-table tr th {
	padding: 5px 12px;
}

table.emp-table tr td {
	padding: 3px 12px;
	border-bottom: 1px solid #f3f3f3;
}

table.emp-table tr th {
	border-bottom: 1px solid #666;
	padding: 7px 12px 6px;
	text-shadow: 0 1px 0 #E5E5E5;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 12);
	background: #d5d5d5;
	
	background-image: -webkit-linear-gradient(top, rgba(255, 255, 255, 0.15) 50%, transparent 50%), -webkit-linear-gradient(top, transparent 50%, rgba(0, 0, 0, 0.05));
}

table.emp-table thead tr:first-child th:first-child {
	border-top-left-radius: 8px;
}

table.emp-table thead tr:first-child th:last-child {
	border-top-right-radius: 8px;
}

table.emp-table tbody tr:hover td {
	background: #f3f3f3;
}

table.emp-table tbody tr:first-child td {
	border-top: 3px solid #fff !important;
}

table.emp-table tbody tr:last-child td {
	padding-bottom: 4px;
}

table.emp-table tbody tr:last-child td:first-child {
	border-bottom-left-radius: 8px;
}

table.emp-table tbody tr:last-child td:last-child {
	border-bottom-right-radius: 8px;
}

table.emp-table tbody tr.empty td {
	padding: 15px 0;
	text-align: center;
	color: #999;
	font-size: 0.9em;
	background: none !important;
}

table.emp-table .emp-icon {
	top: 0;
}





/***  Icon  *******************************************************************/

.emp-icon {
	display: inline-block;
	width: 20px;
	height: 20px;
	background: transparent url(img/emporium/iconset2.png) scroll no-repeat 0 0;
	text-decoration: none !important;
	vertical-align: middle;
	margin: 0 3px;
	padding: 0 !important;
	position: relative;
	top: -1px;
}

.emp-icon-up		{ background-position: 0 -20px }
.emp-icon-down		{ background-position: 0 -40px }
.emp-icon-right		{ background-position: 0 -60px }
.emp-icon-left		{ background-position: 0 -80px }

.emp-icon-delete	{ background-position: -20px -20px }
.emp-icon-ok		{ background-position: -20px -40px }
.emp-icon-plus		{ background-position: -20px -60px }
.emp-icon-minus		{ background-position: -20px -80px }


.emp-icon-edit		{ background-position: -40px -40px }









/***   Administratorske menu   ************************************************/

nav.admin-menu {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	border-top: 3px solid #660033;
	border-bottom: 1px solid #aaa;
	z-index: 9999;
	background: #f5f5f5;
	
	font: normal 14px 'Segoe UI', 'Arial', sans-serif;
	line-height: 32px;
	
	box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.1);
	
	background-image: -webkit-linear-gradient(top, transparent 30%, rgba(0, 0, 0, 0.05));
	background-image: -moz-linear-gradient(top, transparent 30%, rgba(0, 0, 0, 0.05));
	background-image: -o-linear-gradient(top, transparent 30%, rgba(0, 0, 0, 0.05));
}

nav.admin-menu ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

nav.admin-menu a {
	text-decoration: none;
}

nav.admin-menu>ul {
	margin: 0 15px;
	padding: 0;
}

nav.admin-menu>ul>li {
	display: inline-block;
	position: relative;
	padding: 0;
	margin-left: -5px;
}

nav.admin-menu>ul>li.user {
	margin-right: 10px;
	font-size: 0.9em;
}

nav.admin-menu>ul>li.emporium {
	font-weight: bold;
}

nav.admin-menu>ul>li>a {
	position: relative;
	display: block;
	color: #555;
	text-decoration: none;
	text-shadow: 0 1px 0 #fff;
	padding: 0 11px;	
	z-index: 999;
	border-left: 1px solid transparent;
	border-right: 1px solid transparent;
}

nav.admin-menu>ul>li:not(.emporium):hover>a { 
	background-color: #fff; /*rgba(0,0,0,0.02); */
	color: #000;
	border-color: #aaa;
}

nav.admin-menu>ul>li ul {
	display: none;
	position: absolute;
	top: 31px;
	left: 0;
	background: #eee;
	min-width: 190px;
	padding: 10px 0 5px 0;
	z-index: -1;
	
	border: 1px solid #aaa;
	border-bottom: 1px solid #888;
	border-radius: 0 3px 3px 3px;
	box-shadow: 0 1px 8px rgba(0,0,0,0.15);
	
	background: #fff;
}

nav.admin-menu>ul>li:hover ul {
	display: block;
}

nav.admin-menu>ul>li ul>li {
	padding: 0;
	line-height: normal;
}

nav.admin-menu>ul>li ul>li:first-child>a {
	margin-top: -5px;
}

nav.admin-menu>ul>li ul>li.separator {
	margin: 5px;
	border: none;
	border-top: 1px solid #ccc;
}

nav.admin-menu>ul>li ul>li>a {
	display: block;
	color: #555;
	font-size: 12px;
	text-decoration: none;
	padding: 4px 12px;
}

nav.admin-menu>ul>li ul>li>a:hover {
	color: #000;
	background: rgba(0,0,0,0.05);
}

nav.admin-menu .emp-icon {
	vertical-align: middle;
	top: -2px;
}




.emp-autocomplete {
	border: 1px solid #555;
	border-radius: 8px;
	margin: 0;
	padding: 2px;
	list-style-type: none;
	background: #fff;
	line-height: normal;
	color: #666;
	box-shadow: 0 0 16px rgba(0,0,0,0.3);
	box-sizing: border-box;
	
	background-image: -webkit-linear-gradient(top, #fff, #f5f5f5);
	background-image: -moz-linear-gradient(top, #fff, #f5f5f5);
	background-image: -o-linear-gradient(top, #fff, #f5f5f5);
}

.emp-autocomplete li {
	padding: 3px 8px;
	cursor: pointer;
}

.emp-autocomplete li span.hightlight {
	font-weight: bold;
}

.emp-autocomplete li:first-child {
	border-top-left-radius: 6px;
	border-top-right-radius: 6px;
}

.emp-autocomplete li:last-child {
	border-bottom-left-radius: 6px;
	border-bottom-right-radius: 6px;
}

.emp-autocomplete li:hover {
	background: rgba(0,0,0,0.05);
}


.emp-autocomplete li.selected {
	background: rgba(0,0,0,0.5);
	color: #fff;
}

.emp-form input.emp-autocomplete-loading {
	background-image: url(img/emporium/ajax-loading.gif);
	background-repeat: no-repeat;
	background-position: 98% 50%; /* todo */
}





/***  Dialog  *****************************************************************/

.emp-fog {
	width: 100%;
	height: 100%;
	
	background-image: -webkit-radial-gradient(center, cover, rgba(0,0,0,0.1), rgba(0,0,0,0.6));
	background-image: -moz-radial-gradient(top, rgba(0,0,0,0.1), rgba(0,0,0,0.6));
	background-image: -o-radial-gradient(top, rgba(0,0,0,0.1), rgba(0,0,0,0.6));
}

.emp-dialog {
	background: #fff;
	border: 1px solid #555;
	border-radius: 8px;
	box-shadow: 0 0 16px rgba(0,0,0,0.3);
}

.emp-dialog>header {
	position: relative;
	padding: 8px 30px 8px 15px;
	background: #e5e5e5;
	border-bottom: 1px solid #ddd;
	border-top: 1px solid white;
	text-shadow: 0 1px 0 #fff;
	border-radius: 8px 8px 0 0;
	color: #555;
	font-size: 18px;
	font-weight: bold;
}

.emp-dialog>header .close {
	position: absolute;
	top: 9px;
	right: 10px;
	cursor: pointer;
}

.emp-dialog>div {
	position: relative;
	margin: 25px 15px;
}

.emp-dialog>div h1 {
	font-size: 18px;
	color: #333;
	margin: 15px 0 5px 0;
}

.emp-dialog>div h2 {
	font-size: 16px;
	color: #555;
	margin: 15px 0 5px 0;
}

.emp-dialog>div p {
	margin: 0 0 5px 0;
	color: #000;
}

.emp-dialog>footer {
	position: relative;
	padding: 12px 15px;
	text-align: right;
	border-top: 1px solid #ddd;
	border-radius: 0 0 5px 5px;
}

.emp-dialog>footer .emp-button {
	min-width: 80px;
}




/***  Messages  ***************************************************************/

.emp-messages {
	margin: 0 -2px 25px;
}

.emp-messages p {
	margin: 0;
}

.emp-messages>div {
	margin-bottom: 8px;
	padding: 7px 15px;
	background: #bbb;
	border: 1px solid rgba(0, 0, 0, 0.2);
	border-radius: 8px;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), inset 0 1px 1px rgba(255, 255, 255, 1);
}

.emp-messages .msg {
	background: #ddff9b;
}

.emp-messages .war {
	background: #fff88f;
}

.emp-messages .err {
	color: #aa0000;
	background: #ffdbbd;
}



/***  Calendar  ***************************************************************/

div.emp-calendar {
	width: 250px;
	background: #fff;
	border: 1px solid #aaa;
	padding: 3px 3px 1px 3px;
	color: #000;
	border-radius: 8px;
	box-shadow: 0 5px 25px rgba(0,0,0,.2);
}

div.emp-calendar header {
	background: #E5E5E5;
	padding: 5px 4px;
	border-radius: 6px 6px 0 0;
	text-align: center;
	position: relative;
	text-shadow: 0 1px 0 rgba(255,255,255,.5);
}

div.emp-calendar header .next-month {
	float: right;
	top: -2px;
}

div.emp-calendar header .prev-month {
	float: left;
	top: -2px;
}

div.emp-calendar ul {
	margin: 0 -2px 0 0;
	padding: 0;
	list-style-type: none;
} 

div.emp-calendar ul li {
	display: inline-block;
	width: 33px;
	padding: 4px 5px;
	text-align: right;
	margin: 0 3px 3px 0;
	text-align: center;
	
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

div.emp-calendar ul.days {
	margin-top: 4px;
	margin-bottom: 2px;
}

div.emp-calendar ul.days li {
	text-align: center;
	font-size: 10px;
	text-transform: uppercase;
}

div.emp-calendar ul.calendar li {
	background: #eee;
}

div.emp-calendar ul.calendar li.other-month {
	opacity: 0.5;
}

div.emp-calendar ul.calendar li:hover {
	background: #ddd;
}

div.emp-calendar ul.calendar li.selected {
	border: 1px solid #aaa;
	background: #aaa;
	padding: 3px 4px;
	color: #fff;
}

div.emp-calendar ul.calendar li.today {
	border: 1px solid #aaa;		
	padding: 3px 4px;
}


.emp-form input.emp-calendar-icon {
	background-image: url(img/emporium/calendar.png);
	background-repeat: no-repeat;
	background-position: 98% 50%; /* todo */
}



/***  Options  ****************************************************************/

.emp-options {
	background: rgba(0,0,0,.05);
	color: #000;
	border-radius: 8px;
	padding: 0 10px;
	line-height: 30px;
	margin-bottom: 20px;
	font-size: 12px;
	color: #555;
	text-shadow: 0 1px 0 #eee;
}

.emp-options:after {
	content: " ";
	display: block;
	clear: both;
	height: 0;
	overflow: hidden;
}

.emp-options .left {
	float: left;
}

.emp-options .right {
	float: right;
}

.emp-options .sep,
.emp-options .separator {
	display: inline-block;
	border-right: 1px solid #eee; 
	border-left: 1px solid #aaa;
	height: 20px;
	vertical-align: middle;
	margin: -2px 10px 0; 
}


.emp-options .emp-pager {
	display: inline-block;
}

.emp-options .emp-pager a {
	display: inline-block;
	text-align: center;
	border-radius: 15px;
	text-decoration: none;
	padding: 0 5px;
	font-weight: bold;
	color: #555;
}

.emp-options .emp-pager a:hover {
	color: #005BCB;
}

.emp-options .emp-pager a.selected {
	color: #000;
	position: relative;
	text-shadow: 0 1px 0 #fff, 0 0 5px rgba(255,255,255,.5);
}


.emp-options .emp-pager .more {
	display: inline-block;
	padding: 0 2px;
}

.emp-options select,
.emp-options input[type=text] {
	border-radius: 3px;
	padding: 3px;
	margin: -2px 0 0 0;
	background: #dbdbdb;
	font-size: 12px;
	border: 1px solid #aaa;
	color: #555;
	text-shadow: 0 1px 0 #eee;
	min-width: 160px;
}

.emp-options select {
	padding: 2px;
}

.emp-options input[type=text]:focus,
.emp-options select:focus{
	background: #fff;
	text-shadow: none;
}
