/* effects */
@keyframes shake {
	0% {
		left: -2em
	}
	20% {
		left: 2em
	}
	40% {
		left: -2em
	}
	60% {
		left: 2em
	}
	80% {
		left: -2em
	}
	100% {
		left: 0
	}
}
/* site textual content */
div.content.main .separator {
	padding-top: 3em;
	background: linear-gradient(to bottom, white 0%, #eee 100%) no-repeat top center;
	background-size: 100% 2.5em;
}
div.content.main h1,
div.content.main h2,
div.content.main h3 {
	font-weight: 300;
	margin: 1em 0 .5em;
}
div.content.main p {
	margin: 1em 0;
	text-align: justify;
	line-height: 1.3em;
}
div.content.main p.right {
	text-align: right;
}
div.content.main i,
div.content.main em {
	font-style: italic;
	font-weight: 400;
}
div.content.main b,
div.content.main strong {
	font-weight: 700;
}
div.content.main h1 {
	font-size: 270%;
	margin-top: 0;
	position: relative;
	padding-right: 30%;
}
div.content.main h1 span {
	display: block;
	font-size: 40%;
	font-weight: normal;
}
div.content.main h1 span .error {
	font-weight: normal;
	color: #d0006f;
}
div.content.main h1 a {
	font-size: 40%;
	position: absolute !important;
	top: 0;
	right: 0;
	text-decoration: none;
	border: 1px solid #d0006f;
	border-radius: 5px;
	padding: .1em .5em;
}
div.content.main h1 a:hover {
	background-color: rgba(208, 0, 111, .1);
}
div.content.main h1 a.button {
	background-color: #d0006f;
}
div.content.main h2 {
	font-size: 180%;
}
div.content.main h3 {
	font-size: 150%;
}
div.content.main ul,
div.content.main ol {
	margin: .5em 0;
	padding-left: 1.4em;
	overflow: hidden;
}
div.content.main ul li {
	list-style: disc;
}
div.content.main ol li {
	list-style: decimal;
}
div.content.main li {
	padding-left: .6em;
	margin: .3em 0;
}
div.content.main pre {
	margin: 1em 0;
	background-color: #eee;
	background-color: rgba(0, 0, 0, .08);
	padding: 1em;
	overflow-x: auto;
	line-height: 1.4em;
	font-size: 15px;
}
div.content.main iframe {
	margin: 1em 0;
	background-color: rgba(0, 0, 0, .08);
	border: 1px silver solid;
	display: inline-block;
	padding: .5em;
}
div.content.main code {
	font-family: 'Consolas', monospace;
}
div.content.main sup,
div.content.main sub {
	position: relative;
	top: -0.5em;
	vertical-align: baseline;
	font-size: 80%;
	padding: 0 .2em;
}
div.content.main sub {
	top: auto;
	bottom: -0.5em;
}
div.content.main img {
	max-width: 100%;
	height: auto;
	vertical-align: top;
	clear: both;
}
div.content.main img.left {
	float: left;
	margin: .3em 1.5em .8em 0;
}
div.content.main img.right {
	float: right;
	margin: .3em 0 .8em 1.5em;
}
div.content.main div.figure {
	width: 100% !important;
	margin: 1em 0;
	border: 1px solid #ccc;
	text-align: center;
	background-color: #fff;
}
div.content.main div.figure p {
	margin-top: 0;
	color: gray;
	font-size: 90%;
}
div.content.main a {
	color: #d0006f;
	text-decoration: underline;
}
div.content.main sup a {
	text-decoration: none;
}
div.content.main table {
	width: 100%;
	margin: 1em 0 2em 0;
	border-collapse: collapse;
	box-shadow: 0 0 30px rgba(0, 0, 0, .2);
	border-radius: 1em;
}
div.content.main table tr {
	background: linear-gradient(to bottom, rgba(0, 0, 0, .1), transparent) no-repeat top center;
	background-size: 100% 4px;
}
div.content.main table tr:first-of-type {
	background: none;
}
div.content.main table td,
div.content.main table th {
	padding: .6em 1em;
	text-align: left;
}
div.content.main table th {
	background: linear-gradient(to right, transparent, rgba(0, 0, 0, .1));
	min-width: 150px;
	max-width: 300px;
	vertical-align: baseline;
}
/* forms */
div.content .form table,
div.content form table {
	background: #fae100;
	padding: 1em;
	border-radius: 1em;
	outline: none !important;
	margin: 1em 0 !important;
}
div.content form table td {
	vertical-align: middle;
}
div.content.main form input:focus,
div.content.main form textarea:focus,
div.content.main form select:focus {
	outline: none;
	box-shadow: inset 0 0 10px -3px #000;
}
div.content.main input.text,
div.content.main select,
div.content.main textarea {
	width: 100%;
	background-color: #fafafa;
	padding: .5em 1em;
	border-radius: 1em;
}
div.content.main input.text:disabled,
div.content.main textarea:disabled {
	color: gray;
	background-color: #e5e5e5;
}
div.content.main input.text.password.weak {
	background-color: #ffc5bf;
}
div.content.main input.text.password.good {
	background-color: #fff7b1;
}
div.content.main input.text.password.strong {
	background-color: #ceff7f;
}
div.content.main input.text.others {
	padding: .1em .5em;
	margin: .4em 0;
	width: 70%;
}
div.content.main input.text.others.inline {
	margin: .2em 0 !important;
}
div.content.main form span.password {
	position: relative;
}
div.content.main form span.password:after {
	position: absolute;
	left: 1em;
	bottom: -2em;
}
div.content.main form span.password.weak:after {
	content: 'slabé';
	color: #ff3a26;
}
div.content.main form span.password.good:after {
	content: 'dobré';
	color: #ae821a;
}
div.content.main form span.password.strong:after {
	content: 'silné';
	color: #3aa600;
}
div.content.main form *[readonly] {
	opacity: .5;
}
div.content.main form textarea {
	height: 5em;
	width: 100%;
	resize: vertical;
}
div.content.main form textarea.large {
	height: 10em;
}
div.content.main input[type=checkbox],
div.content.main input[type=radio] {
	margin: 1px 0.5em 2px 0;
	vertical-align: middle;
	box-shadow: none !important;
}
div.content.main input.button,
div.content.main a.button,
div.content.main span.button {
	display: inline-block;
	border: none;
	background-color: #473523;
	color: white !important;
	padding: .4em 2em;
	text-transform: uppercase;
	cursor: pointer;
	text-decoration: none !important;
	position: relative;
	text-align: center;
	border-radius: 3em;
	margin: 2px 0;
	vertical-align: bottom;
}
div.content.main span.button {
	cursor: default;
}
div.content.main a.button.sub {
	background-color: #e100e1;
	font-size: 50%;
	width: 7em;
	white-space: normal;
	line-height: 1;
	padding: 4px 1em !important;
	display:none !important
}
div.content.main .button.small {
	display: inline-block !important;
	float: right !important;
	padding: .4em 1em;
}
/*div.content.main input.button.more {
	border-radius: 0 3em 3em 0;
	padding: .4em 1em;
	margin-left: -.5em;
	background-color: #a37249;
}*/
div.content.main input.button.more:hover {
	background-color: #473523;
}
div.content.main input.button.approve {
	border-radius: 3em 0 0 3em;
}
div.content.main form p {
	margin: .5em 0;
}
div.content.main form span.item {
	display: inline-block;
	color: #7f0a00;
	border: 1px solid #7f0a00;
	padding: .1em .5em;
	border-radius: .5em;
	margin: .1em;
	cursor: pointer;
	opacity: .5;
}
div.content.main form span.item.multiline {
	display: block;
	margin: .3em 0;

}
div.content.main form span.item:hover {
	color: black;
	border-color: black;
	opacity: 1;
}
div.content.main form span.item.on {
	background-color: white;
	opacity: 1;
}
div.content.main .button.submit {
	background: #473523 url("../image/arrow.white.svg") no-repeat 90% center;
	padding-right: 60px;
}
div.content.main .button.delete {
	background-color: #7f0a00;
}
div.content.main .button.off {
	background-color: #eb0000;
	padding-left: 3em;
	box-shadow: inset 0 0 10px 0 #000;
	width: 10em;
}
div.content.main .button.off:after {
	content: '';
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 2em;
	height: 100%;
	background-color: #000;
	border-radius: 3em;
}
div.content.main .button.on {
	background-color: green;
	padding-right: 3em;
	box-shadow: inset 0 0 10px 0 #000;
	width: 10em;
}
div.content.main .button.on:after {
	content: ' ';
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	width: 2em;
	height: 100%;
	background-color: #000;
	border-radius: 3em;
}
div.content.main .button.wait {
	background-color: #ff8818;
	padding-right: 3em;
	box-shadow: inset 0 0 10px 0 #000;
	width: 10em;
}
div.content.main span.button.disabled {
	background-color: gray;
	color: silver !important;
	width: 10em;
	cursor: not-allowed;
}
div.content.main a.button.facebook {
	background-color: #3b5998;
}
div.content.main a.button.google {
	background-color: #db4937;
}
div.content.main form span.error,
div.content.main form small,
div.content.main form a.small {
	display: block;
	padding: .3em .5em;
}
div.content.main form small img {
	border-radius: 2em;
	margin: 1em 0;
}
div.content.main form span.error {
	color: #d00;
}
div.content.main form h3 {
	font-size: 100%;
	font-weight: normal;
	color: #473523;
	margin: .5em 0 0 1em;
}
div.content.main small,
div.content.main .small {
	color: #666;
	font-size: 90%;
	padding: 0 1em;
}
div.content.main form ul.error {
	background-color: #df3b0a;
	border-radius: 1em;
	padding: 1em;
	color: white;
	position: relative;
	animation: .5s shake;
}
div.content.main form ul.error li {
	list-style: none !important;
	margin: 0 !important;
}
div.content.main form label.required:after {
	content: '*';
	line-height: .5em;
	font-size: 120%;
	vertical-align: middle;
	color: red;
	padding-left: .3em;
}
div.content.main form#frm-user tr.required {
	background-color: rgba(255, 100, 100, .7);
}
/* gallery */
div.content.main div.gallery {
	line-height: 0;
	padding: 1em 0;
}
div.content.main div.gallery div {
	float: left;
	width: 40px;
	height: 40px;
	background: black no-repeat center center;
	background-size: cover;
	box-shadow: 0 0 3px gray;
	margin: 0 2px 2px 0;
	text-align: left;
}
div.content.main div.gallery div.front {
	height: 82px;
	width: 124px;
}
/* expandable */
div.content.main .expandable {
	cursor: pointer;
}
div.content.main .expandable:hover {
	box-shadow: 0 0 5px black;
}
div.content.main div.expandable:hover {
	position: relative;
	width: 80px;
	height: 80px;
	bottom: 20px;
	right: 20px;
	margin-right: -38px;
	margin-bottom: -38px;
}
div.content.main div.expandable.front:hover {
	position: static;
	height: 82px;
	width: 124px;
	margin: 0 2px 2px 0;
}
/* file */
div.content.main a.file {
	background: no-repeat 3px .5em;
	display: block;
	padding: .3em .3em .3em 30px;
	margin: .5em 0;
}
div.content.main a.file:hover {
	text-decoration: none;
	background-color: #eee;
}
div.content.main a.file span {
	display: block;
	text-decoration: underline;
}
div.content.main a.file:hover span {
	text-decoration: underline;
}
div.content.main a.file em, #canvas .content.main a.file i {
	display: inline-block;
	padding: 0 .4em;
	margin: 0 .1em;
	border-radius: 3px;
	background-color: silver;
	color: #fff;
	font-size: 80%;
	font-style: normal;
	text-decoration: none;
}
div.content.main a.rss {
	position: absolute;
	top: 3em;
	right: 40px;
	background: url("../image/rss.svg") no-repeat right center;
	padding-right: 30px;
	font-size: 120%;
	color: #000;
	text-decoration: none;
	font-weight: 300;
}
/* DataTable */
div.content.main table.dataTable {
	background: white;
	width: 100%;
	font-size: 80%;
}
div.content.main table.dataTable.large {
	font-size: 100%;
}
div.content.main table.dataTable td,
div.content.main table.dataTable th {
	background: none;
	text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap;
	min-width: 0;
	max-width: 160px;
}
div.content.main table.dataTable td.null {
	background-color: rgba(0, 0, 0, .05);
	color: rgba(0, 0, 0, .5);
	text-align: center;
}
div.content.main table.dataTable thead {
	background: #63513d;
	color: white;
}
div.content.main table.dataTable thead a {
	display: block;
	text-align: center;
	color: white;
	text-decoration: none;
}
div.content.main table.dataTable thead th.sorted a:after {
	content: '▲';
	color: #deb806;
	margin-left: .5em;
	text-decoration: none;
}
div.content.main table.dataTable thead td.filtered input {
	background-color: #fae100;
}
div.content.main table.dataTable thead th.sorted.desc a:after {
	content: '▼';
}
div.content.main table.dataTable tbody td.sorted {
	background-color: rgba(250, 225, 0, .2);
}
div.content.main table.dataTable thead input.text {
	width: 100%;
	font-size: 80%;
	padding: .3em .7em;
	color: black;
}
div.content.main table.dataTable thead input.submit {
	background-image: none;
	padding: .3em 1em;
}
div.content.main table.dataTable a.button {
	padding: .3em 1em;
	margin: 2px 0;
}
div.content.main table.dataTable a.button.cancel {
	background: #7f0a00;
}
div.content.main table.dataTable td.enum span {
	display: inline-block;
	width: .5em;
	height: .5em;
	border-radius: 1em;
	margin-right: .5em;
	vertical-align: middle;
}
div.content.main table.dataTable td.float,
div.content.main table.dataTable td.int {
	text-align: right;
}
div.content.main table.dataTable td span.unit,
div.content.main table.dataTable td span.dec {
	color: gray;
	font-size: 70%;
}
div.content.main table.dataTable td span.zero {
	color: #d16729;
}
/* Quiz */
div.content.main .quiz {

}
div.content.main .quiz .question,
div.content.main .quiz .controls {
	background: #eee;
	margin: 1em auto;
	padding: 1em;
	border-radius: 1em;
	border: 1px solid silver;
}
div.content.main .quiz .controls {
	background-color: #ffed00;
	text-align: right;
}
div.content.main .quiz .question h2 {
	font-size: 130%;
	margin: 0;
}
div.content.main .quiz .question input.text,
div.content.main .quiz .question select.text,
div.content.main .quiz .question textarea {
	border: 1px solid gray;
	margin: .5em 0;
}
div.content.main .quiz .question select.text {
	padding: .5em;
}
div.content.main .quiz .question ol, div.content.main .quiz .question ul {
	padding: 0;
}
div.content.main .quiz .question ol li, div.content.main .quiz .question ul li {
	display: inline-block;
	list-style: none;
	border: 1px solid gray;
	padding: .5em 1.5em;
	width: 47%;
	margin: 1% 2% 1% 0;
	border-radius: 1em;
	cursor: pointer;
	position: relative;
	overflow: hidden;
	vertical-align: middle;
}
div.content.main .quiz .question ul li {
	width: auto;
	display: block;
	margin: 1em 0;
	padding: 1em 1.5em;
}
div.content.main .quiz .question ul li.disabled {
	text-decoration: line-through;
	opacity: .5 !important;
	border: 1px solid gray !important;
	cursor: not-allowed;
}

div.content.main .quiz .question ol li.dim, div.content.main .quiz .question ul li.dim {
	opacity: .5;
}
div.content.main .quiz .question ol li span, div.content.main .quiz .question ul li span {
	font-size: 140%;
	font-weight: 300;
	display: block;
	float: left;
	margin: 0 .5em 1.4em 0;
}
div.content.main .quiz .question ol li input, div.content.main .quiz .question ul li input {
	position: absolute;
	top: -20px;
	left: -20px
}
div.content.main .quiz .question ul li input {
	position: static;
}
div.content.main .quiz .question ol li.selected, div.content.main .quiz .question ul li.selected {
	box-shadow: inset 0 0 15px black;
	border-color: black;
}
div.content.main .quiz .question ol li:hover, div.content.main .quiz .question ul li:hover {
	border-color: black;
	opacity: 1;
}
/* search results */
div.content.main ul.search {
	padding-left: 0;
}
div.content.main ul.search h3 {
	margin-top: 0;
	font-size: 120%;
}
div.content.main ul.search li {
	list-style: none;
	margin: 0;
	padding: 0;
	border-top: 1px solid #ccc;
}
div.content.main ul.search.multicol li {
	margin-right: 3%;
}
div.content.main ul.search li a {
	display: block;
	text-decoration: inherit;
	color: inherit;
	padding: .5em;
	background-color: rgba(0, 0, 0, 0.02);
}
div.content.main ul.search li a:hover {
	background-color: #f5f5f5;
}
div.content.main ul.search li a b {
	background-color: #fdffd1;
}
div.content.main ul.search li a h3 {
	margin-bottom: .5em;
	padding: 0;
}
div.content.main ul.search li a div.params {
	font-size: 80%;
}
div.content.main ul.search li a div.params p {
	display: inline-block;
	width: 49%;
	vertical-align: top;
	margin: 0 0 1em 0;
	padding: 0;
}
div.content.main ul.search li a div.params p:first-of-type {
	background: linear-gradient(to right, rgba(0, 0, 0, .1), rgba(0, 0, 0, 0));
	padding: .5em;
}
div.content.main ul.search li a div.params p i {
	font-style: normal;
	color: gray;
}
div.content.main ul.search li a div span {
	display: inline-block;
	background: #eee;
	border-radius: 3px;
	padding: 0 .5em;
	margin: 0 .2em .3em 0;
}
div.content.main ul.search li a div span:before {
	content: '● ';
}
div.content.main ul.search li a div span i {
	color: #000;
	overflow: hidden;
	display: inline-block;
	white-space: nowrap;
	vertical-align: top;
}
div.content.main ul.search li a div span i {
	max-width: 2em;
	transition: .5s max-width;
}
div.content.main ul.search li a:hover div span i,
div.content.main ul.search li a div span:first-of-type i {
	max-width: 20em;
}
div.content.main ul.users {
	padding: 0;
}
div.content.main ul.users li {
	list-style: none;
	border: 1px solid #ccc;
	border-radius: .5em;
	padding: .5em;
	margin: 3px 0;
	background-color: #eee;
	overflow: hidden;
}
div.content.main ul.users li:before {
	content: '●';
	color: #3aa600;
	margin-right: .5em;
}
div.content.main ul.users li a.button {
	font-size: 80%;
	float: right;
	padding: .2em .5em;
}
div.content.main div.box div {
	width: 49%;
	float: left;
	margin: .5em 1% .5em 0;
}
div.content.main div.box div:nth-of-type(even) {
	margin: .5em 0 .5em 1%;
}
div.content.main div.box span {
	display: block;
	position: relative;
	background-color: #eee;
	border-radius: 1em;
	overflow: hidden;
	width: 100%;
	clear: both;
}
div.content.main div.box span img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	max-width: none;
	border-radius: 0 !important;
	margin: 0 !important;
	-webkit-user-drag: none;
	-ms-user-drag: none;
	-moz-user-drag: none;
	user-drag: none;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

