body
{
	background: #3300ff;
	color: #000000;
	_height: 90%;
}

#menu, #title, #main-all, #stredtop, #main, #right, #right1, .riddles, .form-left, .form-right, .form-email, .optika, .optika-current, #page {
	border: 0px solid red;
}

#menu {
	position: absolute;
	left: 0px;
	top: 0px;
	width: 11em;
}

#title {
	position: absolute;
	left: 11em;
	top: 0px;
	right: 0px;
	height: 75px;
	font-size: 100%;
	font-family: times, serif;
}

#main-all
{
	position: absolute;
	left: 11em;
	top: 75px;
	right: 0px;
	background: #ccccff;
	font-size: 100%;
	font-family: Arial, Helvetica, sans-serif;
	text-align: justify;
}

#stredtop {
	height: 1.5em;
	background: url(images/radiusUL.gif) no-repeat;
}

#main {
	padding: 0em 1.5em 1em 1.5em;
}

#right1 {
	float: right;
	margin-left: 1em;
	margin-bottom: 1em;
	width: 170px;
}

#right {
	float: right;
	padding-left: 0em;
	padding-bottom: 0.5em;
	width: 22%;
	voice-family: "\"}\""; 
	voice-family:inherit;
	width: 22%;
}

html>body #right {
	width: 30%;
}

.flag {
	float: right;
	margin: 3px 3px -5px 1px;
}

.date {
	position: absolute;
	top: 50px;
	right: 5px;
	display: none;
}

.replace, .replace-en {
	position: absolute;
	width: 410px;
	height: 75px;
	float: left;
	vertical-align: bottom;
	right: 30%;
}

.replace h1, .replace-en h1 {
	color: white;
	font-weight: normal;
	font-size: 300%;
	letter-spacing: 3px;
	margin-top: 0px;
}

.replace a:link, .replace-en a:link, .replace a:visited, .replace-en a:visited
{
	color: white;
}

.replace span, .replace-en span {
	position: absolute;
	width: 410px;
	height: 100%;
}

.replace span {
	background: url(images/lamohlavy.jpg) no-repeat;
}

.replace-en span {
	background: url(images/brainteasers.jpg) no-repeat;
}

.current {
	background: #cdf;
}

.section-logo {
	float: left;
	vertical-align: middle;
	margin-top: 1.5em;
	margin-bottom: 1em;
}

.ClassTitle
{
	width: 175px;
	font-weight: bold;
	color: blue;
	height: 10px;
	text-align: left;
}

.center {
	text-align: center;
	margin: 0px 10px 20px 10px;
}

.left {
	float: left;
	margin: 0px 10px 20px 10px;
}

.right {
	float: right;
}

h1 {
	color: #87CEFA;
	font-weight: bolder;
	font-size: 200%;
	text-align: center;
	padding-top: 0.3em;
	margin-top: 0em;
	page-break-after: avoid;
}

h2 {
	font-variant: small-caps;
	font-size: 110%;
	margin-bottom: 0em;
	margin-top: 0em;
	page-break-after: avoid;
}

#main li {
	margin-top: 7px;
	margin-bottom: 0px;
}

p {
	margin-top: 0px;
	page-break-inside: avoid;
}

a:link
{
	color: navy;
}

a:visited {
	color: maroon;
	font-weight: inherit;
}

a:active { 
	color: #EE0000;
	text-decoration: none;
}

a:hover
{
	color: red;
	text-decoration: underline;
}

a.uvod, a.cssbtn, span.uvod {
	font-weight: bold;
}

#stredtop a
{
	font-weight: bold;
	float: right;
	padding-left: 0.6em;
	padding-right: 0.6em;
	color: #333399;
}

.riddles {
	float: left;
	text-align: center;
	margin: 0.5em 0.5em 0.5em 0em;
	min-width: 120px;
	width: 24%;
	voice-family: "\"}\""; 
	voice-family:inherit;
	width: 24%;
}

html>body .riddles {
	width: 31%;
}

.riddles a {
	font-weight: bold;
	font-size: 100%;
}

.riddles-links {
	text-align: center;
}

a.cssbtn {
	position: absolute;
	top: 31em;
	color: black;
	background: #fc6;
	font-weight: bold;
	font-size: 0.9em;
	text-align: left;
	white-space: nowrap;
	text-decoration: none;
	padding: 0.2em;
	border: black 0.1em solid;
	margin: 1em;
	margin-left: 15px;
	width: 75%;
	clear: both;
	display: block;
}

unknown {
	width: auto;
	min-width: 8.4em;
}

a.cssbtn strong {
	color: #0c479d;
	background: #fff;
	font-style: normal;
	font-weight: bold;
	padding: 0.1em 0.5em 0.1em 0.5em;
	margin-right: 0.2em;
}

a.cssbtn:hover {
	color: white;
	background: black;
	text-decoration: none;
}

a.cssbtn:hover strong {
	color: black;
	background: #ccc;
	text-decoration: none;
}

#main-all a img {
	filter: alpha(opacity=100); /* , style=3 */
	-moz-opacity : 1.0;
	-khtml-opacity: 1.0;
	opacity:1.0;
}

#main-all a:hover img {
	 filter: alpha(opacity=100);
	 -moz-opacity : 1;
	-khtml-opacity: 1;
}

a.blog, a.xhtml {
	display: none;
}

.optika, .optika-current {
	float: left;
	text-align: center;
	width: 10.5%;
	voice-family: "\"}\""; 
	voice-family:inherit;
	width: 10.5%;
}

html>body .optika, html>body .optika-current {
	width: 14%;
}

.motto {
	color: white;
	background: #2D588C;
	font-variant: small-caps;
	font-weight: bold;
	font-size: 110%;
	font-family: "Arial, Helvetica, sans-serif";
	text-align: center;
	padding: 2px;
	border: 2px solid;
	border-color: #386DAF #264975 #264975 #386DAF;
}

.bonmot
{
	color: white;
	background: #3300ff;
	font-size: 90%;
	font-family: Verdana, Helvetica, sans-serif;
	text-align: center;
	padding: 8px;
	border: 2px solid;
	border-color: #666666 #000000 #000000 #666666;
}

.bonmot-heading {
	font-weight: bold;
	font-size: 100%;
	margin-bottom: 0.2em;
}

.bonmot-author {
	font-style: italic;
	font-size: 100%;
	margin-top: 0.5em;
}

.box {
	float: left;
	text-align: center;
	margin-left: 1em;
	margin-bottom: 2em;
	width: 22%;
	voice-family: "\"}\""; 
	voice-family:inherit;
	width: 22%;
}

html>body .box {
	width: 30%;
}

.half {
	width: 34%;
	voice-family: "\"}\""; 
	voice-family:inherit;
	width: 34%;
}

html>body .half {
	width: 44%;
}

.form-email {
	padding-top: 20px;
	margin-left: auto;
	margin-right: auto;
	width: 420px;
}

.form-left {
	float: left;
	text-align: right;
	margin-right: 0.5em;
	margin-bottom: 300px;
	width: 5.5em;	
}

.form-right {
	text-align: left;
}

textarea {
	color: navy;
	background: #AAC9EA;
	font-weight: bold;
	letter-spacing: 1px;
	padding-left: 4px;
	border: 1px solid navy;
	max-width: 300px;
}

textarea {
	font-family: "Arial, Helvetica, sans-serif";
	padding: 4px;
}

input.button {
	color: white;
	background: navy;
	padding: 4px;
	font-weight: bold;
	cursor: pointer;
	cursor: hand;
	filter: alpha(style=2);
	-moz-opacity: 0.7;
	-khtml-opacity: 0.7;
}

input.btnhov {
	color: navy;
	background-color: white;
}

.navcontainer {
	position: ;
	margin-left: 10px;
	margin-top: 72px;
	border: 1px solid;
	border-color: #333333 #000000 #000000 #333333;
	width: 9.5em;
	_width: 7em;
}

.navcontainer ul {
	list-style-type: none;
	padding: 0px;
	border: 0px;
	margin: 0px;
}

.navcontainer li a, .glossymenu li a {
	color: white;
	font-weight: bold;
	font-size: 80%;
	font-family: Arial, Helvetica, sans-serif;
	text-decoration: none;
	text-align: left;
	display: block;
	padding-top: 2px;
	padding-bottom: 2px;
	padding-left: 2.3em;
	height: 1.5em;
	width: 100%;
}

html>body .navcontainer li a {
	width: auto;
}

.navcontainer li {
	line-height: 20px;
}

.navcontainer .current {
	background-color: #6699ff;
	text-decoration: none;
}

.navcontainer li a:visited {
	color: white;
	text-decoration: none;
}

.navcontainer li a:hover, .navcontainer li a:active {
	color: navy;
	background-color: #6699ff;
	text-decoration: none;
	background-image: inherit;
}

.navcontainer li a:hover, .navcontainer li a:active, .navcontainer li {
	background-repeat: no-repeat;
	background-position: 5px 50%;
}

#home, #illusions, #links, #download, #lawyers {
	border-bottom: 1px solid Silver;
	_background-position: 7px 40%;
}

#home, #home a:hover, #home a:active {
	background-image: url(images/menuhome.gif);
}

#lawyers, #lawyers a:hover, #lawyers a:active {
	background-image: url(images/menulawyers.gif);
}

#logic, #logic a:hover, #logic a:active {
	background-image: url(images/menustar.gif);
}

#riddles, #riddles a:hover, #riddles a:active, .riddles-sub, .riddles-sub a:hover, .riddles-sub a:active {
	background-image: url(images/menustar.gif);
}

#geometry, #geometry a:hover, #geometry a:active {
	background-image: url(images/menucube.gif);
}

#matchsticks, #matchsticks a:hover, #matchsticks a:active {
	background-image: url(images/menufire.gif);
}

#algebra, #algebra a:hover, #algebra a:active {
	background-image: url(images/menuA.gif);
}

#paradoxes, #paradoxes a:hover, #paradoxes a:active {
	background-image: url(images/menuparadox.gif);
}

#illusions, #illusions a:hover, #illusions a:active, .illusions-sub, .illusions-sub a:hover, .illusions-sub a:active {
	background-image: url(images/menuillusion.gif);
}

#links, #links a:hover, #links a:active {
	background-image: url(images/menuwww.gif);
}

#download, #download a:hover, #download a:active {
	background-image: url(images/menudown.gif);
}

#email, #email a:hover, #email a:active {
	background-image: url(images/menumail.gif);
}

.glossymenu li {
	position: relative;
}

.glossymenu li ul { /*SUB MENU STYLE*/
	position: absolute;
	width: 12em; /*WIDTH OF SUB MENU ITEMS*/
	left: 0;
	top: 0;
	display: none;
	border: 3px solid;
	border-color: #577098 #000053 #000053 #577098;
}

.glossymenu .arrowdiv {
	position: absolute;
	right: 0px;
	background: transparent url(images/arrow.gif) no-repeat center right;
}

.glossymenu li ul {
	background: #000066;
}

/* Holly Hack for IE \*/
* html .glossymenu li { float: left; height: 1%; }
* html .glossymenu li a { height: 1%; }
/* End */


.hlava {
	display: none;
}

img, a:hover img  {
	border: 0px;
}

.riddles.half {
	margin-bottom: -15px;
}

.links {
	text-indent: 80px;
}

.search {
	float: right;
	margin: 4px;
	margin-top: 7px;
	clear: right;
}

.searchtext {
	color: navy;
	background: #AAC9EA;
	font-weight: bold;
}

.adsense {
	position: relative;
	top: 2em;
	text-align: center;
}

.adsense-pr {
	position: relative;
	top: 0em;
	text-align: center;
	margin: 0em 1em 1em 0em;
}

.pdfLink, .zipLink, .docLink, .txtLink {
	padding-right: 17px;
	font-weight: bold;
}

.pdfLink {
	background: transparent url('images/pdf.gif') no-repeat top right;
}

.zipLink {
	background: transparent url('images/zip.gif') no-repeat top right;
}

.docLink {
	background: transparent url('images/doc.gif') no-repeat top right;
}

.txtLink {
	background: transparent url('images/txt.gif') no-repeat top right;
}

a.skip {
	position: absolute;
	top: 40px;
	z-index: -1;
	margin-left: -180px;
	padding: 0.2em 0.5em;
	border-bottom: 0 !important;
}

a.skip:focus, a.skip:active {
	z-index: 2;
	margin-left: 0px;
	background: #FFF;
}


#lawyer {
	text-decoration: underline;
	font-size: 1.5em;
	font-weight: bold;
}

a#lawyer:visited {
	font-weight: inherit;
	text-decoration: underline;
}

a#lawyer:active { 
	color: #EE0000;
	text-decoration: underline;
}

a#lawyer:hover {
	color: navy;
	text-decoration: underline;
}

#random-teaser {
	float: right;
	padding-left: 0em;
	padding-bottom: 0.5em;
	width: 42%;
	voice-family: "\"}\""; 
	voice-family:inherit;
	width: 42%;
}

html>body #random-teaser {
	width: 50%;
}

#random-teaser .bonmot {
	text-align: left;
}

#random-teaser .bonmot {
	text-align: left;
}

#main-all .bonmot a img {
	 filter: alpha(opacity=100);
	 -moz-opacity : 1;
	-khtml-opacity: 1;
}

.solution {
	 margin: -0.5em 0 2em 0;
}

.bonmot .solution {
	 display: none;
}

.LeftMenu td
{
	background-image: url(images/CowboyHatRound.gif);
	background-repeat: no-repeat;
	width: 140px;
	height: 60px;
	text-align: center;
	font-size: 16px;
	vertical-align: top;
	color: #333399;
	font-family: Georgia;
	font-weight: bold;
	background-position: center top;
	background-color: #ccccff;
	opacity:1;
	filter: alpha(opacity=100);
	-moz-opacity:1;
	-khtml-opacity:1;
	z-index:100;
}
.LeftMenu A
{
	font-size: 18px;
	color: #0099CC;
	font-family: Georgia;
	border-top-style: none;
	border-right-style: none;
	border-left-style: none;
	border-bottom-style: none;
	z-index:100;
	
}
.LeftMenuPosition
{
	width: 150px; 
	height: 100%; 
	left: 0px; 
	position: absolute; 
	top: 110px;
	background-color: white;
	z-index:100;
}

.ClassMenu A
{
	font-family: Georgia;
	border-top-style:solid;
	border-right-style: solid;
	border-left-style: solid;
	border-bottom-style: solid;
	
}


.ClassMenu td
{
	background-image: url(images/CowboyHatRound.gif);
	background-repeat: no-repeat;
	width: 140px;
	height: 60px;
	text-align: center;
	font-size: 16px;
	vertical-align: top;
	color: #333399;
	font-family: Georgia;
	font-weight: bold;
	background-position: center top;
	background-color: #cccccc;
	opacity:1;
	filter: alpha(opacity=100);
	-moz-opacity:1;
	-khtml-opacity:1;
	z-index:100;
	/*border-top-style:solid;
	border-right-style: solid;
	border-left-style: solid;
	border-bottom-style: solid;
	border-color:#000000;
	border-width:3px; */
}

.MenuText
{
	padding-top: 10px;
	color: #333399;
	font-weight: bolder;
}

.TextBox
{
	border-right: groove;
	border-top: groove;
	font-size: 12px;
	border-left: groove;
	border-bottom: groove;
}

.Calandar
{
	color: #6633ff;
}

.CalandarHeader
{
	color: white;
	font-weight: bold;
	background-color: #3333ff;
}

.CalandarEvents
{
	color: #0000cc;
	vertical-align: top;
	text-align: left;
	background-color: #ffffff;
	font-size: 10pt;
}

.SheetsHeader
{
	
}

.SheetsPeriodHeader
{
	color: white;
	background-color: #3333ff;
	font-size: 14pt;
}

.VideoLink img
{
	opacity:1.0;
	filter: alpha(opacity=100);
	-moz-opacity:1;
	-khtml-opacity:1;
	color : Black;
	background-color: Transparent;
	background-image: '/images/video.gif';
}


.dropdown 
{
	float:left; 
	padding-right:5px 
}

.dropdown 
{
	float:left; 
	padding-right:5px 
}
	
.dropdown dt 
{
	/*
	width:188px; 
	border:2px solid #9ac1c9; 
	padding:8px; 
	font-weight:bold;
	background:url(images/header.gif) */
	cursor:pointer; 
}

.dropdown dt:hover 
{ /*
	background:url(images/header_over.gif) */
}

.dropdown dd 
{
	position:absolute; 
	overflow:hidden;
	display:none; 
	background:#fff; 
	z-index:200; 
	opacity:0;
	/*
 	width:208px; */
}

.dropdown ul 
{
	 
	/* width:204px; 9ac1c9
	margin-left: 20px; 


	 */
	border:2px solid #fff; 
	border-top:none;
	background:#d3d2df;
	float:left;
}

.dropdown li 
{
	color: #0066CC; 
	display:inline;
	font-family:Arial; 
	font-size:12px; 
	font-weight:bold; 
	text-decoration:none;
	}


.dropdown a, .dropdown a:active, .dropdown a:visited
{
	display:block; 
	text-decoration:none;
	color: #0066CC; 
	padding-left: 6px;
	border:2px solid #fff; 
	/*
	padding-right: 10px;
	color:#333; 
	background:#eaf0f2;
	padding:5px; 
	width:194px */
}
.dropdown a:hover 
{
	/*
	background:#d9e1e4; color:#000
*/
	 text-decoration: underline;
}
.dropdown .underline 
{
	border-bottom:1px solid #b9d6dc;
}

.TopMenuAll a, a:active, .TopMenuAll a:visited
{
	text-decoration: none;
	text-align:right;
}

.TopMenuAll a:hover
{
	text-decoration:underline;
	text-align:right;
}