/*
 * Theme by Pepa Linha [http://webdream.cz]
 * JUSH color syntax inspired by NetBeans
 * @version 0.2 (February 2014)
 */

html,
body {
	height: 100%;
}

body {
	font-family: Arial, sans-serif;
}

h1 {
	margin: 0;
	padding: 0;
	background: none;
	border: 0;
}

h2 {
	margin: 0;
	padding: 30px 10px 6px 30px;
	background: #eee;
	font-family: Arial, sans-serif;
	font-size: 26px;
	font-weight: normal;
	color: #34567c;
	border-bottom: 1px solid #ebebeb;
	margin-bottom: 10px;
}

.rtl h2 {
	margin: 0;
	margin-bottom: 40px;
}

h3 {
	font-size: 18px;
	margin: 0 0 10px 10px;
	border-bottom: 1px solid #ebebeb;
	padding: 0;
	padding-bottom: 6px;
}

p {
	margin: 0;
	margin-bottom: 10px;
}

a {
	color:#2e84e4;
	text-decoration:none;
}

a:visited {
	color: #34567c;
}

a:link:hover,
a:visited:hover {
	color: #2e84e4;
	text-decoration:underline;
}

/* otravuje pri prochazeni formulare klavesama */
a[href*=charsets] {
	display: none;
}

pre, textarea {
    font: 100%/1.25 arial;
    padding: 6px;
}

table {
	border: 0;
	margin: 5px 0 0 0;
	font-size: 15px;
    /*box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.08);*/
    /*box-shadow: 0 3px 3px rgba(0, 0, 0, 0.125);*/
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

th, td {
	border: 0;
	padding: 6px 10px;
}

thead th, thead td {
	padding: 10px 10px;
}

td a {
	font-size: 13px;
    font-style: italic;
    padding: 3px 20px 3px 4px;
}

th {
	background: none;
	color: #34567c;
	font-weight: normal;
}

tbody tr:hover td,
tbody tr:hover th {
	background: none;
}

table:not(.checkable) th {
	min-width: 120px;
}

thead td,
thead th {
	background: #ddd;
    text-align: left;
    border-right: 1px solid #ccc;
    font-weight: bold;
}

thead td,
thead td a,
thead td a:link:hover,
thead td a:visited,
thead td a:visited:hover,
thead th,
thead th a,
thead th a:link:hover,
thead th a:visited,
thead th a:visited:hover {
    color: #656565;
}

table.checkable,
p.links + table,
pre + table,
#edit-fields,
p + table,
h3 + table {
	border: 1px solid #eee;
	margin-bottom: 45px;
}

table.checkable tbody tr:hover td,
table.checkable tbody tr:hover th {
	background: #ffffd9;
}

.js .checkable .checked td,
.js .checkable .checked th {
	background: #fbfabc;
}

.js .checkable thead .checked td,
.js .checkable thead .checked th {
	background: #bfb008;
}

.odd th,
.odd td {
	background: #f5f5f5;
}

form#form {
    border-top: 1px solid #eee;
	border-bottom: 1px solid #eee;
	background: #f5f5f5;
    padding: 4px 14px;
}

fieldset {
    display: inline-block;
    margin: 0;
    padding: 5px 40px 5px 0;
    border: 0;
}

fieldset select {
	margin-right: 5px;
}

fieldset input[type=button],
fieldset input[type=submit],
fieldset p {
	margin-bottom: 0;
}

fieldset div p {
	margin-top: 10px;
}

legend {
	display: inline-block;
	margin: 0;
	padding: 0px 10px;
}

legend a,
legend a:link:hover {
	color: #000;
	text-decoration: underline;
}

fieldset div input.size {
	width: 70px;
	padding: 4px 0 4px 8px;
}

code {
	background: none;
}

p code,
pre code,
pre[contenteditable=true] {
	padding: 10px 15px;
	display: block;
	font-size: 15px;
	margin-bottom: 0px;
}

p code + a,
p code + a:link:hover,
p code + a:visited:hover {
	margin-left: 15px;
	position: relative;
	top: -20px;
	color: #000;
	font-size: 12px;
	text-decoration: underline;
	text-transform: lowercase;
}

#content {
	margin: 0;
	margin-left: 280px;
	margin-right: 0px;
	padding: 0;
	padding-top: 6px;
}

#content > p {
	/*margin-bottom: 15px;*/
}

.rtl #content {
	margin: 0;
	margin-left: 54px;
	margin-right: 400px;
	padding: 0;
	padding-top: 50px;
}

#menu {
    background: #f0f0f0 none repeat scroll 0 0;
    border-right: 1px solid #dae8fa;
    bottom: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    box-sizing: border-box;
    margin: 0;
    padding: 0 15px;
    position: fixed;
    top: 0;
    width: 250px;
}

#menu h1 {
	font: 16px/1em sans-serif;
	padding-left: 4px;
	padding-top: 3px;
	text-transform: lowercase;
	margin: 0px 0 6px 0px;
}

#menu h1 a {
	font-style: normal;
}

#menu h1 .version {
	color: #2e84e4;
}

#menu a {
	color: #34567c;
}

.links a {
    white-space: normal;
}

#menu p {
	border: 0;
	padding: 0;
	font-size: 12px;
}

#menu #dbs {
	background: #eee;
	padding: 0 15px 2px;
	border: 1px solid #ddd;
	border-bottom: 0;
	box-sizing: border-box;
	color: #999;
}

#menu #dbs select {
	outline: 0;
	border-color: rgba(0, 0, 0, 0.1);
	width: 100%;
	padding: 4px;
}

#menu p.links {
	margin: 0 0 10px;
	border: 1px solid #dae8fa;
	border-top: 0;
	text-align: center;
	text-align: left;
	display: block;
	width: 100%;
	padding: 6px 2px;
	/*height: 35px;*/
	/*overflow: hidden;*/
	box-sizing: border-box;
	background: #ddd;
}

#menu p.links a {
	padding: 2px 2px;
	margin: 0;
	/*display: table-cell;*/
	display: inline-block;
	font-size: 12px;
}

#menu p.links a:after {
	position: absolute;
	content: '|';
	padding-left: 2px;
	color: #000;
}

#menu p.links a:hover {
	color: #2e84e4;
}

#menu p.links a.active {
	font-weight: normal;
	background: #f4f4f4;
	color: #000;
}

#content p.links {
	margin: 10px 0 15px;
}

#content p.links a {
	padding: 4px 12px 2px;
	margin: 0;
	display: table-cell;
	/*border: 1px solid #fff;*/
}

#content p.links a,
#content p.links a:visited,
#content p.links a:hover {
	color: #2e84e4;
}

#content p.links a.active {
	font-weight: normal;
	/*border-bottom: 1px solid #333;*/
	text-decoration: underline;
	background: none;
}


#tables {
    bottom: 0;
    left: 15px;
    margin: 0 -15px !important;
    max-height: 100%;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    position: absolute;
    right: 15px;
    top: 200px;
}

.rtl #tables {
	overflow: hidden !important;
	overflow-y: auto !important;
}

.rtl #tables a {
	float: none;
}

.rtl #tables a:first-child,
.rtl #tables br + a {
	float: left;
	display: block;
	margin-left: 15px;
}

#tables a:hover,
#tables a:hover + a,
#tables a.active,
#tables a.active + a {
	background: #fff;
	/*color: #2e84e4;*/
}

#tables br {
	display: none;
}

.js .column {
	background: #2e84e4;
}

.js .checked .column {
	background: #7b7105;
}

.pages {
	left: 400px;
	background: #6b87a6;
	color: #fff;
	font-weight: bold;
	border: 0;
	display: inline-block;
	position: static;
    border-radius: 4px;
    margin-top: 20px;
}

.pages a,
.pages a:link,
.pages a:link:hover,
.pages a:visited,
.pages a:visited:hover {
	color: #fff;
	font-weight: normal;
    padding: 2px 10px;
}

#breadcrumb {
	margin: 0;
	left: 300px;
	background: none;
	padding: 6px 0 6px 10px;
	font-size: 13px;
}

#breadcrumb a {
	color: #aeaeae;
	text-decoration: underline;
}

#breadcrumb,
#breadcrumb a:hover {
	color: #666;
}

.rtl #breadcrumb {
	margin: 0;
	padding: 0;
	padding-top: 25px;
	right: 400px;
}

.logout,
.rtl .logout {
	top: 18px;
	left: 1100px;
	margin: 0;
}

.rtl .logout {
	right: auto;
	left: 54px;
}

input:not([type]),
input[type="color"],
input[type="email"],
input[type="number"],
input[type="password"],
input[type="tel"],
input[type="url"],
input[type="text"],
input[type="search"] {
	border: 1px solid #eee;
	padding: 6px;
	margin: 0;
	box-sizing: border-box;
}

table:not(#table) input:not([type]),
table:not(#table) input[type="color"],
table:not(#table) input[type="email"],
table:not(#table) input[type="number"],
table:not(#table) input[type="password"],
table:not(#table) input[type="tel"],
table:not(#table) input[type="url"],
table:not(#table) input[type="text"],
table:not(#table) input[type="search"] {
	min-width: 210px;
}

input[type=submit],
input[type=button] {
	border: 0;
	padding: 6px 6px;
	cursor: pointer;
	outline: 0;
	box-shadow: none;
    border-radius: 6px;
	background: #2e84e4;
	color: #fff;
	font-weight: bold;
	margin-bottom: 5px;
	transition: background .4s ease;
}

input[type=submit][disabled],
input[type=button][disabled] {
	background: #aeaeae !important;
	color: #e9e9e9;
	cursor: not-allowed;
}

input[type=submit]:hover,
input[type=button]:hover,
input[type=submit]:focus,
input[type=button]:focus {
	background: #34567c;
}

.logout input[type=submit] {
	background: #999;
}

.logout input[type=submit]:hover {
	background: #d50204;
}

input.default,
input.default {
	box-shadow: none;
	background: #2e84e4;
	color: #fff;
	font-weight: bold;
}

select {
	box-sizing: border-box;
	margin: 0 0 6px 0;
	padding: 3px 0 3px 8px;
	border: 1px solid #ccc;
}

label {
	cursor: pointer;
	margin-right: 6px;
}

.error,
.message {
	margin: 0;
	margin-bottom: 15px;
}

#logins a,
#tables a,
#tables span {
	background: none;
}

#form > p {
	margin-bottom: 15px;
	margin-top: 40px;
}

form#form table span {
	font-weight: bold;
	font-size: 16px;
}

form#form  tr:nth-child(even) {
	background: #f0f0f0;
}

#schema .table {
	padding: 6px;
	background: #f1f1f1;
}

#schema .table a {
	display: block;
	margin: -6px;
	margin-bottom: 6px;
	padding: 6px;
	color: #fff;
	background: #34567c;
}

#schema .table br {
	display: none;
}

#schema .table span {
	display: block;
	margin-bottom: 1px solid #f5f5f5;
	font-weight: bold;
	padding: 0 10px 3px 10px; 
}

#lang {
	position: absolute;
	top: 3px;
	left: 120px;
	z-index: 10;
	margin-right: -331px;
	line-height: normal;
	padding: 0;
	font-size: 0;
}

#lang select {
	font-size: 12px;
	padding: 0;
	text-align: right;
	border: 0;
	background: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	cursor: pointer;
	outline: 0;
}

#lang select option {
	text-align: right;
}

.rtl #lang {
	margin-right: 0;
	left: 100%;
	margin-left: -261px;
	right: auto;
}

.jush {
	color: #000;
}

.jush a {
	color: #3939f2;
}

.jush-sql a,
.jush-sql_code a,
.jush-sqlite a,
.jush-pgsql a,
.jush-mssql a,
.jush-oracle a,
.jush-simpledb a {
	font-weight: normal;
}

.jush-bac,
.jush-php_bac,
.jush-bra,
.jush-mssql_bra,
.jush-sqlite_quo {
	color: #009900;
}

.jush-php_quo,
.jush-quo,
.jush-quo_one,
.jush-php_eot,
.jush-apo,
.jush-sql_apo,
.jush-sqlite_apo,
.jush-sql_quo,
.jush-sql_eot {
	color: #ce7b00;
}

.jush-num,
.jush-clr {
	color: #000;
}

@media print {
	.logout {
		display: none;
	}
	
	#breadcrumb {
		position: static;
	}
	
	#content {
		margin: 0;
	}
}


/* --- my edit --------------------------- */

#tables li {
    display: flex;
    justify-content: space-between;
}

#tables a {
    padding: 4px 0;
    font-size: 14px;
}

#tables a:last-child {
    order: -1;
    font-weight: bold;
}