@font-face {
	font-family: 'Open Sans';
	font-style: normal;
	font-weight: 400;
	src: local('Open Sans'), local('OpenSans'), url(fonts/u-WUoqrET9fUeobQW7jkRVtXRa8TVwTICgirnJhmVJw.woff2) format('woff2'), url(fonts/u-WUoqrET9fUeobQW7jkRT8E0i7KZn-EPnyo3HZu7kw.woff) format('woff'), url(fonts/u-WUoqrET9fUeobQW7jkRaCWcynf_cDxXwCLxiixG1c.ttf) format('truetype')
}
@font-face {
	font-family: 'Open Sans';
	font-style: normal;
	font-weight: 700;
	src: local('Open Sans Bold'), local('OpenSans-Bold'), url(fonts/k3k702ZOKiLJc3WVjuplzBUOjZSKWg4xBWp_C_qQx0o.woff2) format('woff2'), url(fonts/k3k702ZOKiLJc3WVjuplzBa1RVmPjeKy21_GQJaLlJI.woff) format('woff'), url(fonts/k3k702ZOKiLJc3WVjuplzNqQynqKV_9Plp7mupa0S4g.ttf) format('truetype')
}
@font-face {
	font-family: 'Open Sans';
	font-style: italic;
	font-weight: 400;
	src: local('Open Sans Italic'), local('OpenSans-Italic'), url(fonts/xjAJXh38I15wypJXxuGMBqg5eI2G47JWe0-AuFtD150.woff2) format('woff2'), url(fonts/xjAJXh38I15wypJXxuGMBtIh4imgI8P11RFo6YPCPC0.woff) format('woff'), url(fonts/xjAJXh38I15wypJXxuGMBl02b4v3fUxqf9CZJ1qUoIA.ttf) format('truetype')
}

* {
  font-family: 'Open Sans', sans-serif;
  text-rendering:optimizeLegibility;
}
body {
  background-color: #e6e6e6;
  font-size: 14px;
  color: #444;
  text-align: center;
  margin: 0;
  padding: 0;
}
a {
  color: #5C88C6;
  text-decoration: none;
}
a:hover {text-decoration: underline;}
#sidebar {
	position: absolute;
	width: 160px;
	top: 0;
	left: 0;
	height: 100%;
	overflow: hidden;
	overflow-y: auto;
	padding: 16px 10px;
	background: #F0F0F0;
	box-shadow: 0 0 4px gray;
	text-align: left;
}
#wrapper {
	margin: 15px 10px 15px 190px;
	background: white;
	text-align: left;
	padding: 20px 20px 35px 20px;
	box-shadow: 0 0 4px gray;
	min-height: 250px;
	min-width: 400px;
}
h1 {margin: 10px 0; font-size: 25px;}
h1, h1 a {font-weight: 100; color: #515151;}
h1 a:hover {color: #21759b;}
h2 {margin: 25px 0 10px 0; font-size: 19px; font-weight: normal;}
.clear {clear: both;}
.right {text-align: right;}
.center {text-align: center;}
.half {width: 50%;}
.full {width: 100%;}
.edit .padded {margin-right: 20px; display: inline-block;}
.admin .ui-widget {text-align: left;font-family: inherit; font-size: 13px;}

.message {background: no-repeat 15px 50%; padding: 18px 30px 8px 160px; margin: 20px 0; box-shadow: 0 0 8px gray; border: 1px solid #999;}
.message.error {background-color: #FFD5BA; background-image: url(img/error.png);}
.message.ok {background-color: #E4F5DD; background-image: url(img/ok.png);}
.message.warning {background-color: #FFFFE0; background-image: url(img/warning.png);}
.message h2 {margin: 0;}
.message ul {margin: 0 0 12px 0;}

#sidebar-button {display: none;}
#thecatapi img {max-height: 800px; max-width: 100%;}
#thecatapi .ico {margin-left:30px;}
#showweb a, #logout a {color: maroon;}
#mainmenu, #mainmenu li {list-style-type: none;}
#mainmenu {margin: 10px 0; padding: 0;}
#mainmenu li {margin: 0 0 15px 0; padding: 5px; }
#mainmenu li a {display: block;}
#mainmenu li.active { color: #204362; box-shadow: 0 0 4px gray; background: white;}
#mainmenu li a:hover { color: #204362; }

iframe {box-shadow: 0 0 8px gray; border: 1px solid #999;}
iframe.maximized {height: calc(100vh - 145px);}

table { border-collapse: collapse; border-spacing: 0; font-size: inherit; }
table td {padding: 3px;}
table .date {width: 1%; white-space: nowrap;}
table th {font-weight: 600; text-align: center;}
th.minwidth {width: 0.1%;}
table.striped a {display: block;}
table.striped tr:nth-child(even) td {background: #f2f2f2;}
table.striped tr:hover td {background: #e7e7e7;}
table.striped tr.faded {opacity: 0.6;}
.warning {color: red;}
table.edit th {white-space: nowrap; width: 10%; text-align: left;}
table.edit input[type="text"], table.edit input[type="password"], table.edit input[type="date"], table.edit textarea {border: 1px solid #ccc;}

input[type="button"],input[type="submit"],button { font-weight: bold; }
input[type="checkbox"] {vertical-align: top; margin: 4px; }
input[type="date"] {width: 128px; }
input.narrow {width: 130px;}
input.narrowNumber {width: 60px;}
textarea {height: 120px;}

#item-content {height: 500px;}
#wrapper>form {position: relative;}
#subpage-menu {position: absolute; right: 10px; margin-top: -3px; z-index: 10;}
#subpage-menu ul {min-width: 105px;}
a .subpage {color: #c0c0c0;}

.filter {float: right;}

.pager.top {margin-bottom: 15px;}
.pager.bottom {margin-top: 15px;}
.pager ul {display: block; list-style: none; text-align: center; padding:0; margin: 0;}
.pager ul li{display: inline-block; list-style: none; padding: 0; margin: 0 3px; border: 1px solid #e0e0e0;}
.pager ul li a,.pager ul li span{display: block; padding: 2px 8px;}
.pager ul li span{cursor: default;}
.pager ul li.active{background: #e0e0e0;}
.pager ul li.tecky{border: none;}

.ico {background: no-repeat 0 50%; display: inline-block; padding-left: 20px; min-height: 16px;}
.ico.yes {background-image: url(img/yes.png);}
.ico.no {background-image: url(img/no.png);}
.ico.preview {background-image: url(img/preview.png);}
.ico.add {background-image: url(img/add.png);}
.ico.edit {background-image: url(img/edit.png);}
.ico.delete {background-image: url(img/delete.png);}
.ico.back {background-image: url(img/back.png);}

body.login #sidebar {display: none;}
body.login h1 {text-align: center;}
body.login #wrapper {width: 500px;position: absolute; top: 42%; left: 50%; margin: 15px -50% 15px auto; transform: translate(-50%, -50%);}
body.login #login {margin: 50px auto 42px; width: 230px; min-height: unset;}
body.login .footer {text-align: center;}
body.login .remote {display: inline; opacity: 0.5;}


/* mobilni responzivni design */
@media screen and (max-width:640px){
	#sidebar-button {display: block; background: url(img/mobile-menu-w.png) 5px 50% no-repeat #333; border: 1px solid #999; line-height:50px; text-transform: uppercase; text-align: left; padding: 0 0 0 46px; width: 100%; color: white;}
	#sidebar-button.open {background-color: #555;}
	#sidebar {display: none;}
	#sidebar.open {
		display: block;
		position: static;
		width: auto;
		padding: 16px 10px;
	}
	#wrapper {
		margin: 15px 0;
		box-shadow: none;
		background: white;
		text-align: left;
		padding: 20px 20px 35px 20px;
		min-height: 250px;
		min-width: 0;
	}
	table.edit th {white-space: normal; width: 2%; font-size: x-small;}
    .cke_top {zoom: 70%;padding: 2px 1px 0;}

	body.login #sidebar-button {display: none;}
	body.login #wrapper {margin: 10px 0; padding: 20px; min-width: 0; min-height: 0; width: auto; position: static; top: 0; left: 0; transform: none;}
	body.login #login {margin: 30px auto 10px; width: auto;}
	#thecatapi .ico {margin-left:24px;}

	.table-container {overflow-x: auto; clear: both; margin: 0 -10px;}

	.filter {float: none;}
	.filter table {margin: 5px auto 15px auto;}
	.filter table th {display: table-row-group;}
	.filter table td {display: table-row;}
	#item-content-table.handsontable .wtHolder, #item-content-table.handsontable .ht_clone_left {height: auto !important;}
}
