html { height: 100%; min-height: 100%; }
body { margin: 0px; padding: 0px; font-size: 11px; font-family: Arial; min-height: 100%; height: 100%; }
a { color: inherit; }
main { background: #fff; }
.red { color: red; }
hr { margin: 20px 0px; height: 1px; background: none; border: none; border-top: 1px solid #ccc; }
hr > * { padding-top: 0px; margin-top: 0px; }
hr + * > *:first-child:not(button) { padding-top: 0px; margin-top: 0px; }
.nowrap { white-space: nowrap; }
.hidden { width: 0px !important; height: 0px !important; padding: 0px !important; margin: 0px !important; position: flex; top: 200%; left 200%; opacity: 0; }
.left { text-align: left !important; }
.right { text-align: right !important; }
.center { text-align: center; }
.dot { width: 10px; height: 10px; border-radius: 12px; display: inline-block; background: #000; font-size: 0px; line-height: 0px; vertical-align: middle; }
.dot.true { background: #7CB342; }
.dot.false { background: #F44336; }
div.small { font-size: 10px; color: #888; }
[ajax] { cursor: pointer !important; }

h3 { margin: 0px; padding: 10px 0px; }
h4 { margin: 0px; padding: 6px 0px; }

/*HEADER*/
header { background: #263238; height: 44px; display: block; width: 100%; }
header > div { display: flex; align-items: stretch; justify-content: center; }
header > div > * { flex: initial; vertical-align: middle; align-self: center; }
header .header-title { font-size: 1.4em; color: #fff; padding: 0px 25px; }
header select { font-size: 11px; padding: 7px 10px !important; border: none; border-radius: 3px; }
header nav { flex: 1 }
/*HEADER*/

/*USER BOX*/
#user-box { box-sizing: border-box; padding: 0px 12px; display: table; flex: initial; }
#user-box > div { display: table-cell; vertical-align: middle; }
#user-box #user-photo { width: 28px; }
#user-box #user-photo img { width: 28px; height: 28px; border-radius: 100px; }
#user-box #user-information { text-align: left; padding-left: 10px; }
#user-box #user-information strong { font-size: 1em; display: block; color: #fff; }
#user-box #user-information a { font-size: 0.8em; text-decoration: none; line-height: 0.9em; display: inline-block; color: #CFD8DC }
#user-box #user-information a i { font-size: 1.2em; margin-left: 3px; vertical-align: middle; }
/*USER BOX*/

/*TEMPLATE*/
#tmpl { display: flex; width: 100%; height: 100%; max-height: 100%; flex-direction: column; overflow: hidden; position: fixed; top: 0px; left: 0px; }
#tmpl > * { width: 100%; }
#tmpl > header { flex: initial; }
#tmpl > footer { flex: initial; }
#tmpl > main { flex: 1; position: relative; background: #fff; }
#tmpl > main > form, #tmpl > main > .page-form { position: absolute; top: 0px; left: 0px; width: 100%; height: 100%; overflow: scroll; overflow-x: hidden; overflow-y: auto; display: flex; flex-direction: column; width: 100%; background: #fff; }
#tmpl > main .page-header + .komunikat-box { margin: 0px; }
#tmpl > main > form > .komunikat-box, #tmpl > main > .page-form > .komunikat-box { flex: initial; }
#tmpl > main > form > .page-header, #tmpl > main > .page-form > .page-header { flex: initial; }
#tmpl > main > form > .page-footer, #tmpl > main > .page-form > .page-footer { flex: initial; }
#tmpl > main > form > .page-form, #tmpl > main > .page-form > .page-form { overflow: scroll; overflow-x: hidden; overflow-y: auto; flex : 1 }
#tmpl > main > form > .page-list, #tmpl > main > .page-form > .page-list { overflow: scroll; overflow-x: hidden; overflow-y: auto; flex : 1 }
/*TEMPLATE*/

/*USER PANEL*/
#userPanel { z-index: -999; position: fixed; top: 0px; left: 0px; width: 100%; height: 100%; overflow: hidden;  }
#userPanel.open { z-index: 999;  }
#userPanelContent { z-index: 999; background: #555; color: #eee; position: fixed; top: 0px; left: -250px; width: 250px; max-width: 250px; height: 100%; overflow: scroll; overflow-x: hidden; overflow-y: auto; box-shadow: 0px 0px 12px -5px #000; transition: 0.3s; }
#userPanelContent.open { left: 0px; }
#userPanelContent nav { font-size: 1.1em; }
#userPanelContent nav span { line-height: 1.1em; margin-top: 4px; display: inline-block; }
#userPanelContent nav > * { display: block; padding: 13px 16px; text-decoration: none; border-bottom: 1px solid #888; transition: 0.5s; }
#userPanelContent nav > *:hover { background: #666 }
#userPanelContent nav > * > * { vertical-align: top; line-height: 24px; }
#userPanelContent nav .material-icons { font-size: 20px; margin: 0px 5px 0px 0px; }
#userPanelContent #userPhoto { text-align: center; height: 240px; width: 100%; margin: 0px auto; overflow: hidden; background: #fff; }
#userPanelContent #userPhoto img  { width: 100%; height: auto; }
#userPanelContent #userPhoto + .name  { margin-top: -240px; margin-bottom: 0px; align-content: flex-end; font-size: 1.8em; color: #fff; text-shadow: 0px 0px 3px #000; padding: 15px; height: 240px;  box-sizing: border-box; position: relative; box-shadow: inset 0px -150px 150px -150px #000 }
#userPanelContent #userPhoto + .name strong { position: absolute; bottom: 15px; left: 15px; display: block; }
#userPanelOpen { height: 44px; width: 44px; cursor: pointer; line-height: 52px; text-align: center; color: #fff; font-size: 26px; overflow: hidden; flex: initial !important; }
#userPanelOpen > * { font-size: inherit;  }
#userPanelClose { background-color:rgba(0, 0, 0, 0.3); width: 100%; height: 100%; position: fixed; top: 0px; left: 0px; display: none; }
/*USER PANEL*/

/*TABELA*/
table { width: 100%; border-collapse: collapse; }
table th, table td { padding: 6px; }
table th { border-top: 1px solid #ccc; border-bottom: 1px solid #ccc; padding: 8px 6px; background: #eee; }
td.center, th.center { text-align: center; }
td.right, th.right { text-align: right; }
td.left, th.left { text-align: left; }
td.notatka { width: 1px; }

table.table { text-align: left; background: #fff; }
table.table.center { text-align: center; }
table.table td, table.table th { border: 1px solid #ddd; padding: 6px; }
table.table th { font-weight: bold; background: #eee; border-color: #ccc; }
table.table input[type="text"], table.table input[type="number"] { margin: -6px 0px; font-size: inherit; border: none; }
/*TABELA*/

/*NAV*/
nav { color: #fff; }
nav a { color: inherit; text-decoration: none; }
header nav { font-size: 1em; display: flex; align-items: bottom; }
header nav ul { margin: 0px; padding: 0px; list-style-type: none; background: #263238; z-index: 100; display: flex; }
header nav li { white-space: nowrap; align-self: flex-end; }
header nav > ul { position: relative; }
header nav > ul > li { display: inline-block; position: relative; }
header nav > ul > li ul { position: absolute; top: 100%; left: 0px; display: none; }
header nav > ul > li li { display: block;  }
header nav > ul > li:hover > ul { display: block; background: #000;  }
header nav a { display: block; padding: 15px 12px 10px 12px; border-bottom: 5px solid transparent; }
header nav a.active { border-color: #FF3D00; }
/*NAV*/

/*LOGIN PAGE*/
#login-page { position: fixed; width: 100%; height: 100%; top: 0px; left: 0px; background: #ccc; }
#login-page .komunikat-box { text-align: center; display: inline-block; margin: 0px auto 12px 0px; width: 300px; }
#login-page > table { width: 100%; height: 100%; border-collapse: collapse; text-align: center; vertical-align: middle; }
#login-page > table > tbody > tr > td { vertical-align: middle; }
#login-form { background: #fff; box-shadow: 1px 1px 10px -5px #aaa; padding: 25px; width: 300px; margin: auto; box-sizing: border-box; clear: both; }
#login-form input { text-align: center; border: none; border-bottom: 1px solid #ddd; margin: 8px 0px; font-size: 1.4em; display: block; box-sizing: border-box; width: 100%; padding: 8px; background: #fff !important; }
#login-form .avatar { margin: auto; width: 160px; height: 160px; background-color: #eee; background-position: center center; background-size: contain; border-radius: 150px; margin-bottom: 12px; }
#login-form .avatar.material-icons { line-height: 160px; width: auto; vertical-align: middle; font-size: 180px; background: #fff; color: #ddd; }
#login-form .login { font-weight: bold; font-size: 1.4em; text-align: center; padding: 8px; }
#login-form .login + input { display: none; }
#login-form input + button { margin-top: 16px; }
#login-form + button { margin-top: 16px; }
/*LOGIN PAGE*/

.float-right { float: right; }
button.float-right + button.float-right { margin-right: 4px; }

/*PAGE ELEMENTS*/
.page-header > div { display: flex; width: 100%; align-items: center; padding: 15px 0px; }
.page-header > div > * { flex: 1; }
.page-header > div > button { flex: initial; width: auto; }
.page-header > div > button + button { margin-left: 4px; }
.page-header > div > *:first-child { margin-left: 15px; }
.page-header > div > *:last-child { margin-right: 15px; }

.page-content { background: #fff; width: 100%; padding: 20px; background: #fff; box-sizing: border-box; }

.page-title { font-size: 2em; color: #000; margin: 0px; padding: 0px 0px 0px 0px; font-weight: bold; }

.page-list { margin: 0px; position: relative; }
.page-list table { width: 100%; border-collapse: collapse; font-size: inherit; max-height: 100%; }
.page-list td, .page-list th { padding: 8px; font-size: 11px; text-align: left; }
.page-list thead { background: #eee; border-top: 1px solid #ddd; border-bottom: 1px solid #ddd; font-weight: bold; white-space: nowrap; }
.page-list thead th.lp { background: #ddd; border-right: 1px solid #ccc; border-bottom: 1px solid #ccc; width: 1px; text-align: center; }
.page-list thead th.id { background: #ddd; border-left: 1px solid #ccc; border-bottom: 1px solid #ccc; width: 1px; text-align: center; }
.page-list tbody td { border-bottom: 1px solid #ddd; min-width: 60px; }
.page-list tbody td.lp { background: #f5f5f5; border-right: 1px solid #ddd; width: 1px; text-align: right; min-width: 36px; box-sizing: border-box;  }
.page-list tbody td.id { background: #f5f5f5; border-left: 1px solid #ddd; width: 1px; text-align: center; min-width: 36px; box-sizing: border-box;  }
.page-list tbody td.empty { padding: 0px; }
.page-list tbody tr:hover td { background: #FFFCE6; }
.page-list tbody tr:hover td.lp { background: #f5f5f5; }
.page-list tfoot { background: #eee; border-top: 1px solid #ddd; border-bottom: 1px solid #ddd; font-weight: bold; white-space: nowrap; }
.page-list tfoot td {  }
.page-list table tbody tr:last-child td {  }
.page-list td.buttons { width: 1px; }
.page-list th.notatka { width: 1px; }

.page-list-infobar {  }
.page-list-infobar > div { display: flex; border-top: 1px solid #eee; }
.page-list-infobar > div > div { flex: 1; text-align: center; padding: 12px; }
.page-list-infobar > div > div .bold { font-size: 1.8em; font-weight: bold; }

.page-list-limit { border: none; padding: 6px 24px 6px 6px !important; display: inline-block; margin: 0px 0px 0px 4px !important; width: auto; font-size: inherit !important; border: none !important; border-radius: 2px !important; box-shadow: inset 0px 0px 6px -2px #000; }

.page-list-header > div { background: #eee; border-top: 1px solid #ddd; border-bottom: 1px solid #ddd; font-weight: bold; white-space: nowrap; display: flex; box-sizing: border-box; flex-grow: 1 }
.page-list-header > div > div { flex: initial; box-sizing: border-box; padding: 8px; font-size: inherit; text-align: left; }
.page-list-header > div > div.lp { background: #ddd; border-color: #ccc; text-align: center; min-width: 36px; box-sizing: border-box; }
.page-list-header > div > div.id { background: #ddd; border-color: #ccc; text-align: center; min-width: 36px; box-sizing: border-box; }
.page-list-header .button-order { margin: -8px -8px -8px 8px; background: transparent; border-radius: 0px; padding: 2px 0px; color: #888; font-size: 16px; }
.page-list-header .button-order i { margin: 0px 0px -1px 0px; padding: 0px !improtant; height: auto !important; width: auto !important; }

.page-list-footer { overflow: hidden; width: 100%; background: #eee; border-top: 1px solid #ddd; border-bottom: 1px solid #ddd; font-weight: bold; white-space: nowrap; }
.page-list-footer > div { display: flex; width: 100%; align-items: center }
.page-list-footer > div > div { padding: 8px 12px; flex-grow: 1  }

.page-list-pages { text-align: center; font-weight: normal; margin: -12px 0px; }
.page-list-pages ul { list-style-type : none; }
.page-list-pages li { display: inline-block; margin: 0px 1px; }
.page-list-pages li.active a { background: #ccc; }
.page-list-pages a { text-decoration: none; display: block; height: 24px; line-height: 24px !important; border-radius: 3px; background: #fff; min-width: 24px; }

.page-form { background: #f5f5f5; border-top: 1px solid #ddd; border-bottom: 1px solid #ddd; width: 100%; box-sizing: border-box; display: flex; align-items: stretch; }
.page-form > * { flex: 1; }
.page-form h3 { font-size: 1.5em; }
.page-form .form + .form { margin-top: 18px; }

.page-form-right { flex: initial !important; width: 300px; border-left: 1px solid #ddd; background: #fff; }
.page-form-right > .box { box-sizing: border-box; }
.page-form-right > .box + .box { border-top: 1px solid #ddd; }
.page-form-right > .box .img { flex: initial; width: 60px; margin: 0px 10px 0px 0px; }
.page-form-right > .box .img img { width: 90%; border-radius: 200px; display: block; }
.page-form-right > .box .autor { font-size: 1.2em; font-weight: bold; }
.page-form-right > .box .email { font-size: 1em; color: #aaa; }
.page-form-right > .box .telefon { font-size: 1em; color: #aaa; }

.page-list-filtr > div { display: flex; padding: 7px 5px 10px 5px; background: #eee; border-top: 1px solid #ddd; font-size: 11px; align-items: flex-start !important; }
.page-list-filtr > div > * { margin: 0px 5px; flex: 1; }
.page-list-filtr input, .page-list-filtr select { font-size: inherit !important; margin: 3px 0px 0px 0px !important; border: none !important; border-radius: 2px !important; box-shadow: inset 0px 0px 6px -2px #000; display: block; }
.page-list-filtr label { display: block; }
.page-list-filtr label input[type="checkbox"]{ margin: 0px 3px 0px 0px !important; }
.page-list-filtr button { padding: 9px; }

/*PAGE ELEMENTS*/


.float-left { float: left; }
.float-right { float: right; }
.clear-both { clear: both !important; display: block; }
.mdl-navigation__link .material-icons { vertical-align: top; margin: 0px 6px -5px 0px; position: relative; bottom: 3px; left: 0px; }
.mdl-button { box-shadow: none !important; }

/*AUTO SZEROKOŚĆ*/
div[class^="w-"] { vertical-align: top; display: inline-block; }
.w-1-3 { width: 33.33%; }
.w-2-3 { width: 66.66%; }
.w-100 { width: 100%; }
.w-90 { width: 90%; }
.w-85 { width: 85%; }
.w-80 { width: 80%; }
.w-75 { width: 75%; }
.w-70 { width: 70%; }
.w-65 { width: 65%; }
.w-60 { width: 60%; }
.w-55 { width: 55%; }
.w-50 { width: 50%; }
.w-45 { width: 45%; }
.w-40 { width: 40%; }
.w-35 { width: 35%; }
.w-30 { width: 30%; }
.w-25 { width: 25%; }
.w-20 { width: 20%; }
.w-15 { width: 15%; }
.w-10 { width: 10%; }
.w-0 { width: 1px; min-width: 1px !important; }
/*AUTO SZEROKOŚĆ*/

/*FLEX*/
.flex { display: flex; align-items: center; }
.flex-top { display: flex; align-items: flex-start; }
.flex-tr { align-items: stretch; }
.flex > * { flex: 1 }
.flex-initial { flex: initial !important; }
.flex > button + button { margin-left: 4px; }
.flex > input + button { margin-left: 4px; }
.flex > button + input { margin-left: 4px; }

.flex > input + button { margin-left: 8px; }
.flex > select + button { margin-left: 8px; }
/*FLEX*/

/*BOX*/
.box { box-sizing: border-box; }
.box.flex { align-items: stretch; }
.box.flex > .box + .box { border-left: 1px solid #ddd; }
.box + .box { vertical-align: top; }
.box.padding { padding: 20px; box-sizing: border-box; }
.box.padding.w-100 + .box.padding.w-100 { padding-top: 0px; }
.box-title { font-size: 1.4em; font-weight: bold; padding: 0px 0px 10px 0px; }
.box > .flex > .box-title { font-size: 1.4em; font-weight: bold; padding: 0px 0px 0px 0px; }
.box > .flex > * { margin-bottom: 10px; }
.box.flex+.box.flex { border-top: 1px solid #ddd; }
/*BOX*/

/*FORM*/
div.form { margin: 0px -20px 0px 0px; }
div.form > div[class^="w-"] { padding: 0px 20px 0px 0px; vertical-align: top; box-sizing: border-box;  }
div.form > table { width: 100%; border-collapse: separate; border-spacing: 0px; }
div.form > table td { padding: 0px 10px; vertical-align: top; }

select, input[type="text"], input[type="date"], input[type="number"], input[type="password"], input[type="disabled"], input[type="readonly"], input[type="date"], input[type="time"], textarea { padding: 8px !important; font-family: inherit; font-size: 14px; margin: 6px 0px; border: none; border-bottom: 1px solid #ddd; width: 100%; box-sizing: border-box; display: block; -webkit-appearance: none; -moz-appearance: none; appearance: none; border-radius: 0px; background: #fff; font-weight: normal; box-sizing: border-box; text-align: inherit; }
select { background: #fff url(images/select-down.svg) no-repeat calc( 100% - 6px ) center; padding-right: 32px;  }
input:focus,select:focus,textarea:focus { background: #fafafa; box-shadow: none; }
textarea { border: 1px solid #ddd; width: 100%; min-height: 80px; }
input[type="checkbox"] { border: 1px solid #aaa !important; border-radius: 3px; display: inline-block; vertical-align: middle; width: auto !important; }
input:read-only { background: url(images/input-readonly.svg) no-repeat calc( 100% - 6px ) center; padding-right: 32px; }
input:disabled,textarea:disabled,select:disabled { background: url(images/input-readonly.svg) no-repeat calc( 100% - 6px ) center; padding-right: 36px; color: initial; }
input:checked { background: #fff url(images/checkbox-checked.png) no-repeat center center !important; background-size: 90% !important; }

.input-title { font-size: 10px; padding: 4px 4px 0px 4px; letter-spacing: 1px; color: #555; display: inline-block; margin: 0px; vertical-align: top; }
.input-require { font-size: 16px; padding: 6px 0px 0px 0px; color: red; display: inline-block; margin: 0px 0px -4px 0px; vertical-align: top; line-height: 10px; }
.input-title +:not(.input-require) * { margin-top 0px !important; }
.input-title + .input-require + * { margin-top 0px !important; }
.input-checkbox { padding: 0px; margin: 6px 0px; list-style-type: none; }
.input-checkbox li { display: inline-block; }
.input-checkbox li label { padding: 8px; display: block; font-size: 14px; }
.form.flex > div { padding: 0px 10px; vertical-align: top; box-sizing: border-box;  }
div.form + button { margin-top: 12px;}
.border { border: 1px solid #ddd !important; border-radius: 3px !important; }
#box-buttony { padding: 30px 0px 0px 0px; display: flex; width: 100%; }
#box-buttony > * { flex: 1; padding: 16px 20px; }

form .box button {  }
form .box > .button button { color: #000; background: #eee; transition: 0.2s; }
form .box > .button button:hover { background: #ddd; }
form .box button + button {  }
form .box button.active { background: #E53935; color: #fff; }
.box > .box-header { font-weight: bold; font-size: 1.2em; }
.jq-box form .box { display: flex; align-items: center; }
.jq-box form .box > * { flex: 1; }
.jq-box form .box > .box-header { width: 30%; flex: initial; font-weight: bold; font-size: 1.2em; }

.checkbox-list { margin: 0px; padding: 0px; list-style-type: none; }
.checkbox-list li { display: inline-block; margin: 1px; background: #fff; padding: 3px 8px 3px 3px; border-radius: 3px; }
.checkbox-list li input { margin-right: 5px !important; vertical-align: middle; }
/*FORM*/

/*BUTTON*/
button { border-radius: 3px; border: none; font-size: 1em; line-height: 1em; padding: 9px 9px; box-sizing: border-box; cursor: pointer !important; background: #000; color: #fff; text-transform: uppercase; position: relative; vertical-align: middle; }
button > * { vertical-align: middle; }
button > .material-icons { font-size: 1.2em; vertical-align: middle; margin: -3px 3px -2px 0px; }
button.false { background: red; }
button.true { background: green; }
button.icon { border-radius: 30px; font-size: 20px !important; width: 28px !important; height: 28px !important; line-height: 28px !important; text-align: center; cursor: pointer; padding: 0px; margin: 2px; background: transparent; transition: 0.3s; color: #000; }
button.icon > .material-icons { font-size: inherit; margin: 0px 0px 3px 0px; padding: 0px; vertical-align: middle; width: auto; height: auto; }
button.icon.big { font-size: 2em; margin: 0px; padding: 0px; vertical-align: middle; width: 40px; height: 40px; background: #ccc; }
button.icon.big > .material-icons { line-height: 40px; font-size: inherit; margin: 0px; padding: 0px; vertical-align: middle; width: auto; height: auto; }
button.icon.big:hover { background: #aaa; }
button.icon:hover { background: #eee; }
button.small { padding: 3px; font-size: 11px; }
button.w-100 + button.w-100 { margin: 8px 0px 0px 0px; }
button.transparent { background: transparent; color: #000; }
button .badge { background: #E53935; font-size: 8px; color: #fff; min-width: 14px; box-sizing: border-box; line-height: 8px; padding: 3px; border-radius: 10px; display: block; position: absolute; top: 0px; left: 100%; margin-left: -12px; }
button.badge[data-count]:after { content: attr(data-count); background: #E53935; font-size: 9px; color: #fff; min-width: 15px; box-sizing: border-box; line-height: 9px; padding: 3px; border-radius: 100px; display: block; position: absolute; top: -3px; left: 100%; margin-left: -12px; }

/*BUTTON*/

/*LOADER*/
.loader { background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAACXBIWXMAABcRAAAXEQHKJvM/AAAAHklEQVR4nGP4////GWpihlEDRw0cNXDUwFEDR6qBAC1E6lzWnJ3EAAAAAElFTkSuQmCC'); }
.loader > div { background: url('images/loader.gif') no-repeat center center !important; position: absolute; top: 0px; left: 0px; width: 100%; height: 100%; }
.loader.body { background: none; position: fixed; top: 0px; left: 0px; width: 100%; height: 100%; z-index: 9999999999999999999999; }
.loader.body > div  { background: #fff url('images/loader.gif') no-repeat center center !important; border-radius: 100px; position: fixed; top: 50%; left: 50%; width: 74px; height: 74px; margin: -37px 0px 0px -37px; box-shadow: 0px 0px 10px -5px #000; z-index: 9999999999999999999999;  }

/*LOADER*/

/*TOOLTIP*/
.tooltip-bind { vertical-align: middle; cursor: default }
.tooltip { position: fixed; background: #000; text-align: left; padding: 7px 8px; border-radius: 3px; color: #fff; font-size: 11px; max-width: 250px; box-sizing: border-box; line-height: 11px; z-index: 1000; margin-top: 5px; font-weight: normal; z-index: 9999999999999999999 !important }
.tooltip > .tooltip-arrow { position: fixed; margin: 2px 0px 0px -5px; display: block; width: 10px; height: 10px; transform: rotate(45deg); background: inherit; }
/*TOOLTIP*/

/*AUTOR BOX */
.page-list .autor-box { white-space: nowrap; display: flex; align-items: center; }
.page-list .autor-box > div {  }
.page-list .autor-box > div:nth-child(1) { width: 40px; padding-right: 6px; }
.page-list .autor-box > div img { width: 100%; border-radius: 100px; }
.page-list .autor-box > div:nth-child(2) > div:nth-child(1) { font-weight: bold; font-size: 1.2em; }
/*AUTOR BOX*/

/*INPUT SEARCH*/
#input-results { margin: 0px; padding: 0px; list-style-type: none; background: #fff; max-height: 120px; overflow: scroll; overflow-x: hidden; overflow-y: auto; }
#input-results > li { padding: 8px 8px; }
#input-results > li:hover { background: #FFF9C4; cursor: pointer; }
/*INPUT SEARCH*/

.search-input, .input-search { position: relative !important; box-sizing: border-box; max-width: 100%; }
.search-input > input, .input-search > input { padding-left: 40px !important; }
.search-input input + *, .input-search input + * { margin-left: 12px; position: relative !important; }
.search-input input + * > div , .input-search input + * > div  { position: absolute; top: -7px; left: -12px; width: calc( 100% + 12px ); background: #fff; border: 1px solid #ddd; z-index: 100; }
.search-input input + * > div > label , .input-search input + * > div > label  { padding: 8px; display: block; cursor: pointer; }
.search-input input + * > div > label:hover , .input-search input + * > div > label:hover  { background: #eee; }
.search-input input + * > div > label + label , .input-search input + * > div > label + label  { border-top: 1px solid #ddd; }
.search-input input + * > div > label button , .input-search input + * > div > label button  { width: 0px; height: 0px; position: absolute; top: 0px; right: 0px; padding: 0px !important; }
.search-input > div .title { font-weight: bold; }
.search-input > div .small {  }

/*LISTA POZYCJI*/
.items-list { margin: 0px; padding: 0px; }
.items-list > ul { margin: 0px; padding: 0px; list-style-type: none; }
.items-list > ul > li { margin: 0px; padding: 8px 0px; display: flex; }
.items-list > ul > li:first-child { padding-top: 0px; }
.items-list > ul > li.item-usun > div > div:not(.usun) { text-decoration: line-through !important; }
.items-list > ul > li + li { margin-top: 2px; }
.items-list > ul > li > div + div { padding-top: 3px; }
.items-list > ul > li > div.img { flex: initial; width: 48px; padding-right: 12px; }
.items-list > ul > li > div.img img { width: 100%; border-radius: 100px; }
.items-list > ul > li > div .autor { font-size: 1.2em; font-weight: bold; }
.items-list > ul > li > div .typ { font-size: 1.2em; font-weight: bold; }
.items-list > ul > li > div .data { color: #aaa; }
.items-list > ul > li > div .usun { color: #aaa; }
/*LISTA POZYCJI*/

/*LISTA PLIKÓW*/
.pliki-list { }
.pliki-list table { width: 100%; border-collapse: collapse; vertical-align: middle; background: #fff; }
.pliki-list table th { padding: 8px 8px; }
.pliki-list table td { border-top: 1px solid #ddd; border-bottom: 1px solid #ddd; padding: 4px 8px; }
.pliki-list table td:last-child { text-align: right; padding-right: 0px; }
.pliki-list table .icon { padding: 0px !important; font-size: 11px; background: transparent !important; width: 24px !important; height: 24px !important; line-height: 24px !important; }
/*LISTA PLIKÓW*/

/*LISTA NOTATEK*/
.jq-box { width: 720px; }
.jq-box button[name="notatka-form"] { margin-left: 10px; }
.jq-box .notatka-list { position: relative; }
.jq-box .notatka-list > ul { margin: 0px 0px 0px 0px; padding: 0px; list-style-type: none; }
.jq-box .notatka-list > ul > li { padding: 10px 0px; box-sizing: border-box; }
.jq-box .notatka-list > ul > li + li { border-top: 1px solid #ddd; display: flex; width: 100%; }
.jq-box .notatka-list > ul > li { display: flex; width: 100%; }
.jq-box .notatka-list > ul > li > div { flex: 1; }
.jq-box .notatka-list > ul > li > .lcol { flex: initial; width: 50px; text-align: center; }
.jq-box .notatka-list > ul > li > .lcol .avatar { width: 50px; height: 50px; }
.jq-box .notatka-list > ul > li > .lcol .avatar img { max-width: 100%; max-height: 100%; border-radius: 100px; }
.jq-box .notatka-list > ul > li > .rcol { padding-left: 15px; }
.jq-box .notatka-list .autor { font-weight: bold; font-size: 1.2em; }
.jq-box .notatka-list .data { font-size: 0.9em; color: #aaa; padding-bottom: 3px; }
.jq-box .notatka-list .buttons { float: right; margin-top: -3px; }
/*LISTA NOTATEK*/

/*LISTA W BOXIE*/
.jq-box-list { position: relative; }
.jq-box-list > ul { margin: 0px 0px 0px 0px; padding: 0px; list-style-type: none; }
.jq-box-list > ul > li { padding: 10px 0px; box-sizing: border-box; }
.jq-box-list > ul > li + li { border-top: 1px solid #ddd; display: flex; width: 100%; }
.jq-box-list > ul > li { display: flex; width: 100%; }
.jq-box-list > ul > li > div { flex: 1; }
.jq-box-list > ul > li > .lcol { flex: initial; width: 50px; text-align: center; }
.jq-box-list > ul > li > .lcol .avatar { width: 50px; height: 50px; }
.jq-box-list > ul > li > .lcol .avatar img { max-width: 100%; max-height: 100%; border-radius: 100px; }
.jq-box-list > ul > li > .rcol { padding-left: 15px; }
.jq-boxa-list .autor { font-weight: bold; font-size: 1.2em; }
.jq-box-list .data { font-size: 0.9em; color: #aaa; padding-bottom: 3px; }
.jq-box-list .buttons { float: right; margin-top: -3px; }

/*LISTA HISTORII*/
.historia-list {}
.historia-list > ul { width: 100%; border: none; margin: 0px; padding: 0px; }
.historia-list > ul > li { display: flex; }
.historia-list > ul > li > * { flex: 1; padding: 2px 0px; }
.historia-list > ul > li > .data { flex: initial; width: auto; wrap: nowrap; font-weight: bold; padding-right: 12px; }
.historia-list > ul > li > .autor { flex: initial; width: 150px; padding-left: 12px; text-align: right; }
/*LISTA HISTORII*/

/*CHECKLISTA*/
.checkbox-list { margin: 0px; padding: 0px; }
.checkbox-list ul { margin: -2px; padding: 0px 0px 10px 0px; list-style-type: none; }
.checkbox-list ul li { margin: 2px; padding: 0px; list-style-type: none; display: inline-block; }
.checkbox-list ul li label { display: block; padding: 5px; border-radius: 2px; background: #fff; border: 1px solid #ddd; cursor: pointer; }
.checkbox-list ul li label input { vertical-align: middle; display: inline-block; margin-right: 4px; }
/*CHECKLISTA*/

/*NOTATKI*/
.notatka-list { margin: 0px; padding: 0px; }
.notatka-list > ul { margin: 0px; padding: 0px; list-style-type: none; }
.notatka-list > ul > li { margin: 0px; padding: 8px 0px; display: flex; }
.notatka-list > ul > li:first-child { padding-top: 0px; }
.notatka-list > ul > li.notatka-usun > div > div:not(.usun) { text-decoration: line-through !important; }
.notatka-list > ul > li + li { margin-top: 2px; }
.notatka-list > ul > li > div + div { padding-top: 0px; }
.notatka-list > ul > li > div.img { flex: initial; width: 30px; padding: 3px 8px 0px 0px; }
.notatka-list > ul > li > div.img img { width: 100%; border-radius: 100px; }
.notatka-list > ul > li > div .autor { font-size: 1.2em; font-weight: bold; display: inline-block; vertical-align: top; }
.notatka-list > ul > li > div .typ { font-size: 1.2em; font-weight: bold; }
.notatka-list > ul > li > div .data { color: #aaa; display: inline-block; padding: 1px 0px 2px 4px; vertical-align: top; }
.notatka-list > ul > li > div .usun { color: #aaa; }
.notatka-list > ul > li > div .tresc { font-size: 12px; padding-top: 3px; }
/*NOTATKI*/

/*DZIENNIK LIST*/
.os-czasu-list { margin: 0px; padding: 0px; list-style-type: none; width: auto; }
.os-czasu-list tr td { vertical-align: middle; padding: 1px; }
.os-czasu-list tr td:nth-child(1) { white-space: nowrap; width: 1px; padding-right: 8px; }
.os-czasu-list tr td:nth-child(2) .flex { border-right: 1px solid #ddd; }
.os-czasu-list tr td:nth-child(2) { background: #fff; border-radius: 8px 0px 0px 8px; padding: 8px 8px 8px 8px; white-space: nowrap; width: 200px; }
.os-czasu-list tr td:nth-child(3) { background: #fff; border-radius: 0px 8px 8px 0px; padding: 8px; }
.os-czasu-list .avatar { width: 30px; height: 30px; border-radius: 100px; float: left; flex: initial; padding-right: 8px; }
.os-czasu-list .avatar img { width: 30px; height: 30px; border-radius: 100px; }
.os-czasu-list .typ { background: #333; padding: 4px 8px; border-radius: 3px; color: #fff; font-size: 12px; font-weight: 900; text-transform: uppercase; display: inline-block; }
.os-czasu-list .numer { font-size: 13px; font-weight: bold; padding: 4px 8px; display: inline-block; }
.os-czasu-list .autor { font-weight: bold; font-size: 12px; }
.os-czasu-list .data { color: #aaa; font-size: 11px; }
.os-czasu-list .text { font-size: 12px; }


.ajax-file-upload-statusbar { width: 100%; box-sizing: border-box; padding: 1px 0px; margin: auto; margin: 0px; font-size: 11px; line-height: 11px; }
.ajax-file-upload-statusbar:first-child { padding-top: 8px; }
.ajax-file-upload-statusbar:last-child { padding-bottom: 8px; }
.ajax-file-upload-filename { margin: 0px; color: #aaa; font-size: 10px; padding: 0px; display: none !important; }
.ajax-file-upload-progress { margin: 0px; position: relative; width: 100%; background: #eee; border: none; padding: 0px; border-radius: 3px; display: block }
.ajax-file-upload-bar { background-color: #CDDC39; width: 0; height: 5px; border-radius: 3px; color:#FFFFFF; }
.ajax-file-upload-percent { position: absolute; display: inline-block; top: 3px; left: 48%; display: none !important; }
.ajax-file-upload-red { font-size: 11px; display: none !important; }
.ajax-file-upload {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	font-weight: bold;
	padding: 0px 10px;
	cursor:pointer;
	line-height:10px;
	height: 10px;
	margin: 0;
	display: inline-block;
	background: #fff;
	border: 1px solid #e8e8e8;
	color: #888;
	text-decoration: none;
	border-radius: 3px;
	box-shadow: 0 2px 0 0 #e8e8e8;
	color: #fff;
	background: #2f8ab9;
	border: none;
	box-shadow: 0 2px 0 0 #13648d;
	vertical-align:middle;
}

.ajax-file-upload:hover {
      background: #3396c9;
      -moz-box-shadow: 0 2px 0 0 #15719f;
      -webkit-box-shadow: 0 2px 0 0 #15719f;
      box-shadow: 0 2px 0 0 #15719f;
}
