/* =================================================== */
/* ------------------ 1. GENERIC --------------------- */
/* =================================================== */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	vertical-align: baseline;
}
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	outline: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	vertical-align: baseline;
}

/* remember to define focus styles! */
:focus {outline: 0;}
body {line-height: 1.2;}

caption, th, td {text-align: left; font-weight: normal;}
blockquote:before, blockquote:after, q:before, q:after {content: "";}
blockquote, q {quotes: "" "";}

h1,h2,h3,h4,h5,h6 {display: block; margin-bottom: .5em;}
p {display: block; font-size: 100%; margin: 0 0 1em;}

ul, ol {display: block; margin: 1em 0 1em 15px;}
li {display:list-item; padding: 0 0 .4em 5px;}

ul li {list-style-type: disc;}
ul ul li {list-style-type: circle;}
ul ul ul li {list-style-type: square;}
ol li {list-style-type: decimal;}
ol ol li {list-style-type: lower-alpha;}
ol ol ol li {list-style-type: upper-roman;}

fieldset {margin: 0 0 1em; padding: .5em .5em;}
select,option,input {font-size: 100%; margin-bottom: .5em; vertical-align: middle;}

img {border: 0; vertical-align: middle;}
hr {margin: .2em 0;}
strong {font-weight: bold; }
em {font-style: italic;}
cite {display: block;}
pre, code {font-size: 110%; margin: .5em 0;}

table {border-collapse: collapse;}
th,td {padding: .4em .6em;}

/* ================= */
/* -- VLASTNOSTI --- */
.clear {clear: both;}
.clearer {clear: both; font-size: 0; height: 0 !important;}

.p-relative {position: relative;}
.display-none {display: none;}

a.inverse {text-decoration: none;}
a.inverse:hover {text-decoration: underline;}

.no-margin {margin: 0;}
.no-bottom {margin-bottom: 0 !important;}
.no-top {margin-top: 0 !important;}

.float-right {float: right !important;}
.float-left {float: left !important;}
.p-relative {position: relative !important;}

.print-only{display: none; margin: 2em 0 0 0; }

/* =================================================== */
/* ------------------ 2. LAYOUT ---------------------- */
/* =================================================== */

#page-body {
	clear: both;
	position: relative;
}

.clearer + #page-body {
	margin-top: 38px;	
}

/* =================================================== */
/* ---------------- 3. MENU, PANELS ------------------ */
/* =================================================== */

/* -------------------------------------------------------- */
/* -------------- Main menu -----------*/
.main-menu ul {
	position: relative;
	float: left;
	margin: 3px 0 0;
	padding: 0;
}
.main-menu li {
	display: block;
	position: relative;
	float: left;
	margin: 0 5px 0 0;
	padding: 0 0 5px;
	list-style: none;
	z-index: 100;
}
.main-menu li a {
	display: block;
	padding: 5px 10px;
	text-decoration: none;
}
.main-menu a.label {
	padding-right: 20px;
	cursor: default;
}
.main-menu ul ul {
	display: none;
	z-index: 3000;
	position: absolute;
	top: 30px;
	left: 0;
	width: auto;
	margin: 0;
	padding: 0 0 3px;
}
.main-menu li:hover > ul {
	display: block;
	z-index: 3000;
	width: auto;
}
.main-menu ul ul:hover {
	display: block;
	z-index: 3000;
}
.main-menu ul ul li {
	float: none;
	margin: 0;
	padding: 3px 3px 0;
	z-index: 4000;
}
.main-menu ul ul li a {
	min-width: 150px;
	z-index: 4000;
}
.main-menu ul ul li a:hover {
}
.main-menu ul ul a.label {
	padding-right: 20px;
	cursor: default;
}
.main-menu ul ul ul {
	display: none;
	z-index: 5000;
	position: absolute;
	top: -1px;
	left: 188px;
}
ul#menu ul li:hover > ul {
	display: block;
}
/* -------------------------------------------------------- */
/* -------------- Panel -----------*/
#panel {
	position: fixed;
	margin: 0;
	padding: 3px 0;
	width: 100%;
	background: #e6e6e6 url(../images/admin/layout/panel-back.gif) repeat-x top;
	box-shadow: 0 0 6px rgba(0, 0, 0, 0.4);
	-moz-box-shadow: 0 0 6px rgba(0, 0, 0, 0.4);
	-webkit-box-shadow: 0 0 6px rgba(0, 0, 0, 0.4);
	font-family: "Tahoma", "Trebuchet MS", "Geneva CE", lucida, sans-serif;
	font-size: 13px !important;
	line-height: 1em !important;
	z-index: 10000;
}

/* -------------------------------------------------------- */
/* -------------- User menu  -----------*/
#panel-menu {
	float: right;
	margin: 0;
	padding: 0 10px 0 0;
}
#panel-menu li {
	display: block;
	float: left;
	margin: 0 5px 0 0;
	padding: 0;
	list-style: none;
}
#panel-menu li a {
	padding: 0;
	opacity: .8;
}
#panel-menu li a:hover {
	opacity: 1;
}
#panel-menu .mode {
	padding: 13px 2px 0;
	color: #888;
	font-size: 11px;
	font-weight: bold;
}

/* -------------------------------------------------------- */
/* -------------- Lang selector  -----------*/

#lang-selector {}
#lang-selector ul, li {
	margin: 0;
	padding: 0;
}
#lang-selector li {
	display: block;
	float: left;
	margin: 0 3px;
}
#lang-selector li a {
	display: block;
}

/* =================================================== */
/* ------------------ 4. CONTENT --------------------- */
/* =================================================== */

/* -------------------------------------------------------- */
/* -------------- Basic tags -----------*/
h1,h2,h3,h4{font-family: "Trebuchet MS", "Geneva CE", lucida, sans-serif;}
h1 {
	font-size: 1.8em;
}
h2 {
	display: none;
	font-size: 1.6em;
}
h3 {
	font-size: 1.4em;
}
h4 {
	font-size: 1.2em;
}

a {
	color: #01609d;
}
a:hover {
	color: #a23201;
	text-decoration: none;
}

/*td, th {border: 1px solid #ccc;}*/

/* -------------------------------------------------------- */
/* -------------- Basic elements -----------*/

input[type="text"], input[type="password"], textarea, select {
	border: 1px solid #b5b5b5;
	padding: 3px 16px 3px 3px;
	border-radius: 3px;
}
textarea {
	padding: 3px;
}
select {
	padding: 2px;
}
input[type="submit"]:hover {
	cursor: pointer;
}
input[type="text"]:focus, input[type="password"]:focus, textarea:focus, select:focus {
	border: 1px solid #999;
	box-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
	-moz-box-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
	-webkit-box-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
}

tr.required input[type="text"], tr.required input[type="password"] {
	background: white url(../images/icons/required.png) no-repeat right center;
}
tr.required textarea {
	background: white url(../images/icons/required.png) no-repeat right top;
}
textarea {
	font-family: "Tahoma", "Trebuchet MS", "Geneva CE", lucida, sans-serif;
	font-size: 1.1em;
}


td.center {
	text-align: center;
}

.button {}
.button img {vertical-align: middle;}
.button[type="submit"] {
	padding: 3px 5px;
}
.button[type="submit"]:hover {
}
.gr-button {
	display: block;
	float: left;
	margin: 0 8px 0 0;
	padding: 3px;
	width: 60px;
	border: 1px solid #d8d8d8;
	background: #f3f3f3 url(../images/layout/gray-gradient.gif) repeat-x top;
	border-radius: 3px;
	color: #555;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	font-size: .9em;
	vertical-align: baseline;
	text-align: center;
	text-decoration: none;
	text-shadow: 1px 1px 0 #f5f5f5;
}
.gr-button.small {
	padding: 4px 8px 3px;
	width: auto;
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	background: #dee1e2 url(../images/admin/layout/small-button-back.gif) repeat-x top;	
}
.gr-button:hover {
	background-position: 0 -3px;
	color: #444;
}
.gr-button.no-float {
	display: inline-block;
	float: none;
}
.gr-button img {
	display: block;
	margin: 0 auto 5px;
}
.gr-button.inline {
	display: inline-block;
	padding: 4px 8px;
	width: auto;
	border-color: #ccc;
}
.gr-button.inline img {
	display: inline-block;
	margin: 0 3px 0 0;
	vertical-align: text-bottom;
}
.tiles .gr-button {
	height: 64px;
	margin-bottom: 5px;
}

.highlight {border: 1px solid red !important;}

#ajax-spinner {
	position: fixed;
	top: 5px;
	right: 5px;
	padding: 50px 10px 10px;
	background: #414141 url(../images/icons/ajax-loader.gif) center 10px no-repeat;
	color: #ccc;
	border-radius: 3px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 3px;
	box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
	-moz-box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
	-webkit-box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
	opacity: .85;
	z-index: 100000;
}
#ajax-spinner em {
	font-style: normal;
	font-size: .9em;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}

.tooltip {
   display: none;
   z-index: 10000;
	padding: 5px 10px;
	background-color: rgba(50, 50, 50, 0.7);
	border: none;
	color: #ddd;
}

ul.messages {
	display: block;
	margin: 0;
	padding: 0;
}

ul.messages.general {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	opacity: .8;
	z-index: 10000;
}

.messages li {
	display: block;
	margin: 0;
	padding: 10px 20px;
	background: #555;
	border: 1px solid;
	color: white;
	font-weight: bold;
	font-size: 1.1em;
}
.messages li.error {background-color: red; border-color: #481212;}
.messages li.ok {background-color: green; border-color: #005501;}

.widget {
	position: relative;
	margin-bottom: 10px;
	padding: 5px 10px;
}

.movable {
	cursor: move;
	opacity: 1;
}
.movable:hover {
	outline: 1px solid red;
}
.helper-object {
	display: block;
	height: 100px !important;
	width: 100px !important;
	background: transparent url(../images/icons/helper-object.png) center center no-repeat;
	z-index: 10000;
}
.over-sortable {
	background-image: url(../images/icons/helper-object-over.png);
}

.widget-placeholder {
	min-height: 40px;
	min-width: 50px;
	margin: 10px 0;
	background: #f7f2e4 url(../images/icons/move-here.png) 10px center no-repeat;
}

.highlight {
	outline: 1px dashed #fc8f16;
}

.section-highlight {
	outline: 1px dotted #fc8f16;
	min-height: 36px;
	min-width: 36px;
}

.section-controls-container {
	position: relative;
}
.section-controls {
	visibility: hidden;
	position: absolute;
	top: -34px;
	left: -1px;
	padding: 5px 10px;
	background-color: #f7f2e4;
	border: 1px solid #e5ca80;
	z-index: 1000;
}

.section-container:hover .section-controls {
	visibility: visible;
}

.section-controls em {
	margin-right: 20px;
	font-style: normal;
  color: #444;
}

#delete-basket {
	visibility: hidden;
	position: absolute;
	top: 50px;
	right: 20px;
	height: 100px;
	width: 100px;
	background: #520201 url(../images/icons/delete-basket.gif) no-repeat top left;
	box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
	-moz-box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
	-webkit-box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
	opacity: .6;
}

.basket-active {
	visibility: visible !important;
}

.basket-hover {
	opacity: 1 !important;
}

.entry-controls {
	float: right;
	margin-bottom: 10px;
	text-decoration: none;
}
.controls a {
	text-decoration: none;
}
.controls img {
	vertical-align: bottom;
}
.entry-controls .gr-button {
	margin: 0 0 0 5px;
}

/* -------------------------------------------------------- */
/* -------------- Post -----------*/
.post, .article {
	position: relative;
	margin-bottom: 10px;
	padding: 5px 10px;
}
.post.last {
}
.post h4, .post.editor .title {

}
.post .content {
}
.post .info {
}
.post .controls, .article .controls, .widget .controls {
	visibility: hidden;
	position: absolute;
	top: 5px;
	right: 5px;
        z-index: 1;
}
.article .controls {
	visibility: visible;
}
.post:hover .controls, .article:hover .controls, .widget:hover .controls {
	visibility: visible;
}
.post .comments {
}
.mceEditor table {
	display: table !important;
	padding: 0 !important;
}

.uploading {
	display: none;
	margin-bottom: 10px;
	padding: 10px;
	background-color: #fffcda;
	border: 1px solid #eee497;
	color: #c66803;
}

/* -------------------------------------------------------- */
/* -------------- Files -----------*/
.files {
	clear: both;
}
.files h5 {
	margin-top: .5em;
	padding-top: .5em;
	color: #a23201 !important;
	font-size: 1.1em;
}
.files .gr-button {
	/*width: 92px;*/
	margin: 0 0 .5em;
	color: #555 !important;
	text-decoration: none !important;
}
.files ul {
	margin: 0;
	padding: 0;
	clear: both;
}
.files li {
	display: block;
	position: relative;
	float: left;
	margin: 0 1px 1px 0;
	padding: 0;
}
.files li a {
	display: block;
	width: 100px;
	padding: 4px;
	color: #555 !important;
	text-align: center;
	text-decoration: none !important;
}
.files li a:hover {
	background-color: white;
}
.files li a strong {
	display: block;
	width: 90px;
	margin: 5px auto 0;
	font-size: .8em;
	font-weight: normal;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	text-align: center;
}
.files li a small {
	font-size: .8em;
}
.files li a.delete {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	height: 23px;
	padding-top: 8px;
}
.files li a.delete img {
	opacity: .6;
}
.files li:hover a.delete {
	display: block;
}
.files li a.delete:hover img {
	opacity: 1;
}

.file-description {
	text-align: center;
	margin-top: 3px;
	font-size: .9em;
}

.files-paginator, .admin-paginator {
	margin: 0 0 10px !important;	
}
.files-paginator ul, .admin-paginator ul {
	padding: 0;
	margin: 0;
}
.files-paginator li, .admin-paginator li {
	list-style: none;
	display: inline-block;
	margin: 0;
	padding: 0;
}
.files-paginator a, .admin-paginator a {
	display: block;
	width: auto !important;
	padding: 2px 2px;
	margin: 0;
	min-width: 10px;
	border: 1px solid transparent;
	font-size: 11px !important;
	text-align: center;
	text-decoration: none;
}
.files-paginator .current a, .admin-paginator .current a {
	background-color: #eee;
	border: 1px solid #ccc;
	border-radius: 2px;
	color: #555;
	font-weight: bold;
}

/* -------------------------------------------------------- */
/* -------------- Gallery  -----------*/

.galleries {
	border-collapse: separate;
	border-spacing: 5px;
}
.galleries td {
	position: relative;
	width: 190px;
	border-width: 0;
}
.galleries h4 {
	margin: 10px 0;
}
.gallery {
	position: relative;
	margin-bottom: 10px;
	padding: 5px 10px;
}
.gallery h4 {
	margin-bottom: 5px;
}
.gallery h4 a {
	text-decoration: none;
}
.gallery .thumb {
	display: block;
	position: relative;
	max-width: 180px;
	margin: 0 auto;
	padding: 5px;
}
.gallery .thumb a {
	display: block;
	position: relative;
	max-width: 180px;
	max-height: 100px;
	overflow: hidden;
	text-decoration: none;
}
.gallery .thumb a strong {
	display: block;
	position: absolute;
	right: 0;
	bottom: 0;
	padding: 3px 7px;
	opacity: .8;
	z-index: 100;
}
.gallery .thumb a:hover strong {
	opacity: .9;
}
.gallery .thumb a img {
	opacity: .9;
}
.gallery .thumb a:hover img {
	opacity: 1;
}
.gallery .title {
	position: relative;
	min-height: 1.2em;
	margin-top: 5px;
	padding: 3px 5px;
	line-height: 1.2em;
	text-align: center;
}
.gallery .photosCount {
	margin-top: .5em;
	font-size: 1.2em;
}
.gallery .created {
	font-size: .9em;
}
.gallery .description {
	margin-bottom: 5px;
	font-size: .9em;
}
.gallery .controls {
	visibility: hidden;
	margin-bottom: 5px;
	text-align: right;
	/*position: absolute;
	bottom: 5px;
	right: 5px;*/
}
.gallery:hover .controls {
	visibility: visible;
}
.photo .thumb .delete, .photo .thumb .title-edit {
	visibility: hidden;
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	padding: 3px 7px;
	background-color: white;
	border: 1px solid #ddd;
	border-width: 0 0 1px 1px;
	opacity: .8;
	z-index: 200;
}
.photo .thumb .title-edit {
	right: auto;
	left: 0;
	border-width: 0 1px 1px 0;
}
.photo .thumb:hover .delete, .photo .thumb:hover .title-edit {
	visibility: visible;
	opacity: 1;
}
.photo .photo-controls {
	visibility: hidden;
	position: absolute;
	top: 0;
	right: 0;
}
.photo .title:hover .photo-controls {
	visibility: visible;
}

/* -------------------------------------------------------- */
/* -------------- Editor  -----------*/
.editor {
}
.editor table, .editor table td, .editor table th {
}

.editor .title label, .editor .content label {
	display: none;
}
.editor .title input {
	padding: 4px 10px;
	width: 620px;
	font-size: 1.2em;
	font-weight: normal;
}
.editor .content {
	margin-bottom: 10px;
}
.editor .submit {
	text-align: right;
	margin-right: 20px;
}
.editor .controls {
	visibility: visible;
	right: 10px;
	top: 10px;
}

.editor .type-control br {
	display: none;
}
.editor .type-control label {
	margin-right: 10px;
}

.link-selector-input {
	padding-right: 24px !important;
	background-image: url(../images/icons/open.png);
	background-position: 99% center;
	background-repeat: no-repeat;
}
.datepicker, .datetimepicker {
	padding-right: 24px !important;
	background-image: url(../images/icons/calendar-small.png);
	background-position: 99% center;
	background-repeat: no-repeat;
}
/* -------------------------------------------------------- */
/* -------------- Dialog  -----------*/
.dialog {
	display: block;
	position: fixed;
	/*top: 20%;
	left: 35%;*/
	z-index: 100000;
	min-width: 250px;
	padding: 5px;
	background-color: rgba(0, 0, 0, 0.2);
	border: 1px solid rgba(50, 50, 50, 0.3);
	border-top-color: rgba(130, 130, 130, 0.4);
	border-left-color: rgba(130, 130, 130, 0.4);
	box-shadow: 1px 1px 6px rgba(0, 0, 0, 0.3);
	-moz-box-shadow: 1px 1px 6px rgba(0, 0, 0, 0.3);
	-webkit-box-shadow: 1px 1px 6px rgba(0, 0, 0, 0.3);
	font-family: "Trebuchet MS", "Geneva CE", lucida, sans-serif !important;
	font-size: 12px !important;
}
.dialog .d-header {
	position: relative;
	padding: 8px;
	background: #dedede url(../images/admin/layout/header-back.gif) repeat-x top;
	border: 1px solid #bbb;
	box-shadow: 0 0 8px rgba(0,0,0,0.25);
	-moz-box-shadow: 0 0 8px rgba(0,0,0,0.25);
	-webkit-box-shadow: 0 0 8px rgba(0,0,0,0.25);
	cursor: move;
}
.dialog .d-header h4 {
	display: block !important;
	margin: 0 !important;
	padding: 0 !important;
	cursor: move;
	border: none !important;
	color: #01609d !important;
	font-size: 1.2em !important;
	text-shadow: 1px 1px 0 #f5f5f5 !important;
	font-style: normal !important;
	font-family: "Trebuchet MS", "Geneva CE", lucida, sans-serif !important;
}
.dialog .d-content h4 {
	margin: 0 0 .5em !important;
	padding: 0 !important;
	cursor: move;
	border: none !important;
	color: #a23201 !important;
	font-size: 1.2em !important;
	text-shadow: 1px 1px 0 #f5f5f5 !important;
	font-style: normal !important;
	font-family: "Trebuchet MS", "Geneva CE", lucida, sans-serif !important;
}
.dialog .d-header h4 img {
	vertical-align: middle;
}
.dialog .d-close {
	position: absolute;
	top: 50%;
	right: 6px;
	margin-top: -12px;
}
.dialog .d-close a {
	display: block;
	height: 22px;
	width: 22px;
	background: #f5f5f5 url(../images/icons/close.png) no-repeat center center;
	border: 1px solid #bbb;
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
}
.dialog .d-close a:hover {
	background-color: white;
	border-color: #aaa;
}
.dialog .d-close span {
	display: none;
}
.dialog .d-content {
	min-height: 100px;
    max-height: 500px;
    overflow: auto;
	padding: 15px;
	background-color: #fafafa;
	border: 1px solid #bbb;
	border-top-width: 0;
}
.dialog .smallcontent {
    min-height: inherit;
    height: 20px;
}


.dialog input[type="text"], .dialog input[type="password"], .dialog textarea, .dialog select {
	border: 1px solid #b5b5b5 !important;
	padding: 3px 16px 3px 3px !important;
	border-radius: 3px !important;
}
.dialog input[type="text"], .dialog input[type="password"] {
	height: 18px !important;	
}
.dialog .textarea {
	padding: 3px !important;
}
select, .dialog select {
	padding: 2px !important;
}
.dialog input[type="submit"]:hover {
	cursor: pointer !important;
}
.dialog input[type="text"]:focus, .dialog input[type="password"]:focus, .dialog textarea:focus, .dialog select:focus {
	border: 1px solid #999 !important;
	box-shadow: 0 0 6px rgba(0, 0, 0, 0.3) !important;
	-moz-box-shadow: 0 0 6px rgba(0, 0, 0, 0.3) !important;
	-webkit-box-shadow: 0 0 6px rgba(0, 0, 0, 0.3) !important;
}
.dialog tr.required input[type="text"], tr.required input[type="password"] {
	background: white url(../images/icons/required.png) no-repeat right center !important;
}
.dialog tr.required textarea {
	background: white url(../images/icons/required.png) no-repeat right top !important;
}

.dialog form > table > tbody > tr > td {
	padding: 4px 8px !important;
}

.dialog input.search {
    width: 200px;
    margin: 0px 0px 0px 8px;
}
.dialog .d-content textarea.small {
    height: 50px;
}
.dialog .image-selector table {
	margin: 0;
}
.dialog .d-content div.scroller {
    max-height: 300px;
    overflow: auto;
}
.dialog .d-content .search-form {
	float: right;
}
.search-form table, .search-form th, .search-form td {
	margin: 0;
	padding: 0 0 0 5px;
	background-color: transparent;
	border: none;
}
.search-form input[type="text"] {
	background: transparent url(../images/icons/search.png) 100px center no-repeat;
	width: 100px;
	height: 18px;
	line-height: 18px;
	padding-right: 18px;
	margin-top: -10px;
}

.dialog .fileUploaderForm-resize input[type="text"] {
	width: 40px;
	margin-right: 20px;
}
.dialog form table, table.simple {
	padding: 5px;
	background: none;
	border: none;
}
.dialog form th, .dialog form td, table.simple th, table.simple td {
	border: none;
	background: none;
}
.dialog form th, table.simple th {
	font-weight: bold;
	color: #555;
	text-align: right;
	vertical-align: top;
	text-shadow: none;
}

.dialog.tiles {
	max-width: 600px;
}
table.simple th {
	text-align: left;
}
table.simple.horizontal th {
	width: 100px;
}
table.simple .even th, table.simple .even td {
	background-color: #eee;
}

table.borderless {
	border: none;
}
table.borderless th, div.d-content table.borderless td {
	border: none;
}
table.borderless th {
   /*border: 1px solid #666;*/
	color: #fff;
	background: #444 url(../images/admin/layout/footer-back.gif) repeat-x left 0;
	font-size: .9em;
	font-weight: normal;
	text-shadow: 1px 1px 0 #222;
	text-align: left;
}
table.borderless tr:hover td, table.simple tr:hover th, table.simple tr:hover td {
	background-color: #d2e5f0;
	border-color: #d2e5f0;
}
table.borderless td {
	/*border: 1px solid #ddd;*/
	font-size: .9em;
}
table.borderless a {
	text-decoration: none;
}
table.borderless a:hover {
	text-decoration: underline;
}

table.borderless tr.even td {
	background-color: #eee;
}

table.wide {
	width: 100% !important;
}

#newCatBox .d-content {
	padding-top: 30px;
}

#sitemap small {
	display: none;
	font-size: .8em;
}
#sitemap .cat-title {
	width: 450px;
}

/* ---- Categories ---- */

.categories-tree {
	margin: 0 0 15px 0;
	padding: 0;
}
.categories-tree ul {
	margin: 0;
	padding: 0 0 0 36px;
	background: transparent url(../images/admin/icons/tree-arrow.png) no-repeat 15px 8px;
}
.categories-tree li {
	margin: 0;
	padding: 0;
	list-style: none;
}
.categories-tree ul li {
	border-left: 1px dotted #ccc;
}
.categories-tree table {
	margin: 0;
	width: 100%;
}
.categories-tree li {
	border: 1px solid transparent;
	border-right: none;
}
.categories-tree td {
	border: none;
}
.categories-tree .row-control a {
	visibility: hidden;
}
.categories-tree tr:hover .row-control a {
	visibility: visible;
}

.handle {
	display: inline-block;
	height: 16px;
	width: 16px;
	background: transparent url(../images/admin/icons/minus.png) no-repeat center center;
}
.handle.expand {
	background-image: url(../images/admin/icons/plus.png);
}

.tree-control {
	padding: 3px 2px 0 6px;
	width: 20px;
	text-align: center;
	vertical-align: middle;
}

.cat-ID {
	width: 18px;
	font-size: .8em;
	text-align: center;
}
.cat-typeName {
	width: 100px;
}
.cat-name a {
	display: inline-block;
	padding-right: 12px;
	text-decoration: none;
}
tr:hover .cat-name a {
	background: transparent url(../images/icons/small-arrow-horizontal.png) no-repeat right center;
}
.cat-name a img {
	margin-right: 5px;
}
.cat-name span {
	margin: 0px 0px 0px 10px;
    color: gray;
}

/* ---- Editor ---- */

.row-control {
	width: 15px;
	text-align: center;
}
.row-id {
	width: 30px;
	text-align: center;
}

.page-controls {
	float: right;
}

/* ---- E-shop ---- */

.eshop-items td {
	/*margin-top: 20px;*/
	line-height: 20px;
}
.eshop-items + h4 {
	margin-top: 30px;
}
.eshopBasket-total, .eshopBasket-final {
	color: #a23201;
}
td.eshopBasket-total {
	padding-top: 10px;
	font-size: 1.2em !important;
}
td.eshopBasket-final {
	padding-top: 10px;
	font-size: 1.4em !important;
}
.eshopBasket-widget h4 em {
	float: right;
	font-size: .8em;
	font-style: normal;
	margin-left: 5px;
}

.eshop-status-select {
	float: right;
	margin-top: 20px;
}

.price {
	text-align: right !important;
}

.eshop-status {
	display: inline-block;
	padding: 1px 5px;
	width: 60px;
	border-radius: 2px;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	font-size: .9em;
	text-align: center;
	text-decoration: none;
}
a.eshop-status.inactive {
	background-color: #aaa;
	color: white;
}

.eshop-status.all, .eshop-status.inactive.all:hover {
	background-color: #01609d;
	color: white;
}

.eshop-status.pending, .eshop-status.inactive.pending:hover {
	background-color: #a23201;
	color: white;
}

.eshop-status.processed, .eshop-status.inactive.processed:hover {
	background-color: #c66803;
	color: white;
}

.eshop-status.shipped, .eshop-status.inactive.shipped:hover {
	background-color: #005501;
	color: white;
}

.eshop-status.cancelled, .eshop-status.inactive.cancelled:hover {
	background-color: #444;
	color: white;
}

.eshop-order .active {
	font-weight: bold;
}

.eshop-userDetails th, .eshop-orderDetails th {
	min-width: 200px;
}

/* ---- Slideshow ---- */

.slide {
	position: relative;
}
.slide .slide-text {
	position: absolute;
}

/* ---- Jump list ---- */

.jumplist {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	padding: 5px 10px;
	background-color: #f5f5f5;
	border: 1px solid #ddd;
	max-height: 660px;
	overflow-y: scroll;
	z-index: 10000;
}
.jumplist ul {
	margin: 0;
	padding: 0;
}
.jumplist ul li, #panel-menu .jumplist ul li {
	float: none;
	min-width: 240px;
	padding: 7px 0;
}
.jumplist ul li + li {
	border-top: 1px solid #ddd;
}

.jumplist ul li span {
	float: right;
}

/* ---- Site selector ---- */

.site-selector {
	position: relative;
	padding: 10px 10px 8px;
	cursor: default;
	color: #555 !important;
	z-index: 10000;
}
.site-selector .jumplist {
	top: 32px;
	left: -125px;
	font-size: 12px !important;
}
.site-selector:hover .jumplist {
	display: block;
}
.site-selector a {
	color: #01609d !important;
	text-decoration: none;
}
.site-selector a:hover {
	color: #a23201 !important;
}
.current-site {
	padding-right: 16px;
	background: transparent url(../images/icons/small-arrow-vertical.png) right center no-repeat;
	color: #a23201;
	font-size: 14px;
}
.is-current strong {
	color: #a23201;
}

/* ---- Search form ---- */

.search.widget form table {}

.search input.search-input {
	background: white url(../images/icons/search.png) 122px center no-repeat !important;
	padding-right: 18px;
}
.search input.default-search-text {
	color: #777;
	font-style: italic;
}

.gallery-widget .gallery-controls > .gr-button {
	float: left;
	padding: 8px 0;
	text-decoration: none !important;
}
.gallery-widget .gallery-controls > .gr-button img {
	margin-bottom: 0;
}


/* Gallery browser */
.gallery-browser .photos table td {
	padding: 5px 5px;
	border-bottom: 1px solid #eee;
	/*background-color: #FAFAFA;*/
	font-size: 13px;
}
.gallery-browser .photos .image {
	text-align: center;
	width: 90px;
}
.gallery-browser .photos .image img {
	border: 3px solid white;
	box-shadow: 0 0 5px #ccc;
}
.gallery-browser .photos .image img {
	max-width: 70px;
	max-height: 35px;
}
.gallery-browser .photos .title {
	width: 250px;
	color: #333 !important;
	text-align: left;
}
.gallery-browser .photos .g-controls {
	width: 60px;
}
.gallery-browser .photos .g-controls a {
	margin-right: 10px;
	text-decoration: none !important;
}
.move-up-down {
	margin-right: 10px;
	cursor: move;
}
.ui-sortable-helper td {
	background-color: #ffe8c4 !important;
}
