body
  {
    text-align: center;
    background-color: black;
    font: 100%/1.5em 'Trebuchet MS', Verdana, Arial, Sans-Serif;  
    #font-size: 70%;
    margin: 0px;    
  }

h1
  {
    margin: 0px;
    padding: 0px;
    padding-top: 1em;
    color: #fc7019;
  }

h2
  {
    font-size: 1.8em;
    letter-spacing: -1px;
    font-weight: normal;
    line-height: 110%;
    font-family: Verdana;
    color: #fc7019;
    clear: both;
  }

h3
  {
    font-size: 1.3em;
    float: right;
    letter-spacing: -1px;
    font-weight: normal;
    color: #fc7019;
    padding-left: 1em;
    border-left: 2px solid #fc7019;
    clear: both;
  }

strong
  {
    color: #ff7118;
  }

a
  {
    color: #ff7118;
  }

b
  {
    color: #fc7019;
  }

#web
  {
    margin: 0px auto;
    width: 760px;
    text-align: left;
    background-color: black;
    position: relative;
  }
  
#main
  {
    width: 607px;
    margin-left: -4px;
    border: 1px solid white;
    border-top: 0px none;
    padding: 10px;
    float: right;
    background-color: black;
    color: white;
    position: relative;
  }

#main p
  {
    clear: left;
    text-align: justify;
  }

.inc_img
  {
    margin: 0.4em;
    padding: 0.2em;
    border: 1px solid #fc7019;
    display: block;
  }

.inc_img:hover
  {
    background-color: #1f1f1f;
  }

#top_img
  {
    width: 760px;
    height: 235px;    
    position: relative;
    cursor: pointer;
    cursor: hand;
    text-align: center;
  }

#top_img a
  {
    display: block;
    width: 760px;
    height: 235px;
    text-align: center;
    background: url("../images/main_logo.png") top left no-repeat;
    position: absolute;
    top: 0px;
    left: 0px;
  }

#top_img.inzenyr a {
    background: url("../images/inzenyr_logo.png") top left no-repeat;
}

#top_img.expert a {
    background: url("../images/expert_logo.png") top left no-repeat;
}

#top_img.astronom a {
    background: url("../images/astronom_logo.png") top left no-repeat;
}

#top_img.lekar a {
    background: url("../images/lekar_logo.png") top left no-repeat;
}

#top_img.dokumentarista a {
    background: url("../images/dokumentarista_logo.png") top left no-repeat;
}

#top_img.geolog a {
    background: url("../images/geolog_logo.png") top left no-repeat;
}

#main_menu, #authenticated_menu
  {
    margin: 0em;
    padding: 0em;
    width: 132px;
    #width: 131px;
    _width: 132px;
    list-style-type: none;
  }

#main_menu li, #authenticated_menu li
  {
    margin: 0px;
    padding: 0.125em 0em 0.125em 5px;
    text-indent: 0px;
    border-bottom: 1px solid white;
    border-left: 1px solid white;
    border-right: 1px solid white;
    width: 125px;
    cursor: pointer;
    cursor: hand;
    color: white;
  }

#main_menu li:hover
  {
    color: #cccccc; 
  }

#main_menu li a
  {
    color: inherit;
    #color: white;
    text-decoration: none;
  }

#top_menu
  {    
    border-bottom: 1px solid white;
    color: white;
    width: 759px;
    #width: 760px;
    padding: 0px;
    margin: 1px 1px 0px 1px;
    #margin: 0px;
    border-collapse: collapse;
    background-color: #d01820;    
    vertical-align: middle;:
  }

#top_menu td
  {
    background-color: #d01820;
    margin: 0px;
    padding: 0px;
    width: 150px;
    text-align: center;
    border-top: 1px solid white;
    border-right: 1px solid white;
    cursor: pointer;
    cursor: hand;
    height: 100%;
  }

#top_menu td a
  {
    color: inherit;
    #color: white;
    font-size: 0.9em;
    text-decoration: none;
  }

#top_menu td
  {
    color: white;
  }
  
#top_menu #inzenyr {
    border-left: 1px solid white;
}

#top_menu #dokumentarista:hover, #top_menu #dokumentarista.active
  {
    background-color: #00a650;
    border-top: 1px solid #00a650;
  }


#top_menu #expert:hover, #top_menu #expert.active
  {
    background-color: #00b7f0;
    color: black;
    border-top: 1px solid #00b7f0;
  }

#top_menu #astronom:hover, #top_menu #astronom.active {
    background-color: #03c7f8;
    color: black;
    border-top: 1px solid #03c7f8;
}

#top_menu #inzenyr:hover, #top_menu #inzenyr.active
  {
    background-color: #0000fe;
    border-top: 1px solid #0000fe;
    border-left: 1px solid #0000fe;
  }

#top_menu #lekar a
  {
      font-size: 80%;
  }

#top_menu #lekar:hover, #top_menu #lekar.active
  {
    background-color: #ef1f1f;
    border-top: 1px solid #ef1f1f;
  }


#top_menu #geolog:hover, #top_menu #geolog.active
  {
    background-color: #f0671f;
    border-top: 1px solid #f0671f;
  }

#author
  {
    clear: both;
    background-color: #d01820;
    color: white;
    padding-left: 1em;
  }

#author a
  {
    color: white;
  }

.cleaner
  {
    clear: both;
    background-color: white;
    height: 1px;
    font-size: 1px;
    line-height: 1px;
  }

input, textarea {
	font-size:1em;
	color:#404040;
}
input {
	font-size: 0.9em;
}
label {
	color:#ccc;
	cursor:pointer;
	padding-left:2px;
	line-height:15px;
	vertical-align:top;
}

/*Text inputs*/
.textinput {
	width:236px;
	height:15px;
	background: url(../images/input.gif) no-repeat left top;
	border:none;
	padding:4px 8px;
	line-height: 0.8em;
	float: right;
}
.textinput:hover {
	background-position:left bottom;
	color: #000;
}

.textlabel
  {
    float: left;
    line-height: 1.2em;
    width: 250px;
    clear: both;
  }

/*Text areas*/
.textarea {
	width:336px;
	height:125px;
	background:url(../images/textarea.gif) no-repeat left top;
	border:none;
	padding:4px 8px;
}
.textarea:hover {
	background-position:left bottom;
}

/*Button*/
.buttonSubmit {
	width:100px;
	height:26px;
	color:#333;
	font-weight:bold;
	font-size: 11px;
	padding:2px 5px;
	padding-top: 0px;
	#padding-top: 2px;
	background: url(../images/button.gif) no-repeat left top;
	cursor:pointer;
	border:none;
}
.buttonSubmit:hover {
	background-position:left bottom;
	color: #000;
}

/* Off state for a ARC radio button */
.radioOff {
	display: inline;
	margin: 0px;
	padding: 2px;
	padding-left: 20px;
	color: #ccc;
	font: 1em/16px Verdana,Arial,Helvetica;
	background: transparent url(../images/off.gif) no-repeat 0em 0.4em;
}
/* On state for a ARC radio button */
.radioOn {
	display: inline;
	margin: 0px;
	padding: 2px; /* NS 6 problem */
	padding-left: 20px;
	color: #eee;
	font: 1em/16px Verdana,Arial,Helvetica;
	background: transparent url(../images/on.gif) no-repeat 0em 0.4em;
}
/* use CSS to full effect with hover states. Ohhh, perty! */
.radioOn:hover {
	background-image: url(../images/on_hover.gif);
	color: #fff;
}
.radioOff:hover {
	color: #fff !important;
	background-image: url(../images/off_hover.gif);
}

select {
      display: block;
      width: 300px;      
    }
    select.replaced {
      display: none;      
    }
    ul.selectReplacement {
      background: url(../images/top.gif) top left no-repeat;
      margin: 0;
      margin-top: 0.5em;
      padding: 0;
      height: 1.25em;
      #height: 1.4em;
      width: 301px;
      position: relative;      
    }
    ul.selectReplacement li {
      background: #f9af1f;
      color: #000;
      cursor: pointer;
      display: none;
      font-size: 15px;
      line-height: 18px;
      _line-height: 19px;
      list-style: none;
      margin: 0px;
      padding: 1px 12px;
      width: 252px;
    }  
    ul.selectOpen {
      height: 400px;
      overflow-y: auto; 
      overflow: -moz-scrollbars-vertical;
      #overflow: hidden;
    }    
    ul.selectOpen li {
      display: block;
      #margin-top: -1px;      
    }
    ul.selectReplacement li.selected {
      background: url(../images/bottom.gif) bottom left no-repeat;
      color: #000;
      display: block;
      width: 275px;
    }
    ul.selectOpen li.selected {
      background: #fac286;
      display: block;
      width: 252px;
    }
    ul.selectOpen li:hover,
    ul.selectOpen li.hover,
    ul.selectOpen li.selected:hover {
      background-color: #fac286;
      color: #000;
    }
    ul.selectOpen li.selectCaption{
      background: url(../images/top.gif) top left no-repeat;
      width: 272px;
    }

    ul.selectOpen li.selectCaption:hover
      {
	background-color: transparent;
      }

legend
  {
    color: #fc7019;
  }

#antispam
  {
    background-color: #fc7019;
    color: black;
    border: 2px solid white;    
    font-weight: bold;
    display: block;
    padding: 0.2em;
    margin-bottom: 1em;
  }

.titleMessage
  {
    position: absolute;
    left: 0.5em;
    top: 205px;
    top: 208px;
    color: #fc7019;
    font-size: 105%;
    #font-size: 115%;
    font-weight: bold;
  }

.titleMessage.inzenyr, .titleMessage.lekar, .titleMessage.dokumentarista, .titleMessage.geolog, .titleMessage.astronom {
    color: white;
}

.titleMessage.expert {
    color: #333;
}

.names
  {
    width: 130px;
    margin-top: 1em;
    margin-bottom: 0.5em;
  }

.names dl
  {
    color: white;
    margin: 0px;
    padding: 0px;
    text-indent: 0px;
  }

.names dl dd, .names dl dt
  {
    margin: 0px;
    padding: 0px;
    text-indent: 0px;
    margin-left: 0.3em;
  }

.names dl dd
  {
    padding-left: 0.5em;
    margin-left: 0.3em;
    margin-top: 0.2em;
    margin-right: 0.3em;
  }

.names .lichy
  {
    background-color: #1f1f1f;
  }

.names .unreg
  {
    color: gray;
  }

.names span
  {
    font-size: 75%;
    color: gray;    
  }

.news
  {
    color: #fc7019;
    font-weight: bold;
    margin-top: 0.5em;
  }

.news ul, li
  {
    margin: 0px;
    padding: 0px;
    text-indent: 0px;
    color: white;    
    font-weight: normal;
  }
  
.news ul
  {
    padding: 1em 0em;
    width: 130px;
  }

.news li
  {
    margin: 0em 0.5em 0em 0em;
    margin-top: 1em;
    padding-left: 0.5em;
    list-style-type: none;
    border-left: 1px solid #fc7019;    
  }

.center {
    text-align: center;
}

.left {
    text-align: left;
}

.right {
    text-align: right;
}

.justify {
    text-align: justify;
}

img.left, .left_img
  {
    float: left;
    margin: 0em 1em 1em 0em;
  }

img.right, .right_img
  {
    float: right;
    margin: 0em 0em 1em 1em;
  }

.flag_img
  {
    position: absolute;
    right: 0px;
    top: 0px;
    border: 0em none;
  }

p.center { text-align: center; }

.anketa_vysledky, .anketa_vysledky li
  {
    margin: 0em;
    padding: 0em;
    text-indent: 0em;
  }

.anketa_vysledky li
  {
    display: block;
    margin: 1em;
    font-size: larger;
  }

.graph
  {
    width: 150px;
    height: 26px;
    display: block;
    float: left;
    margin-right: 1em;
    text-align: right;
    font-size: small;
    #font-size: x-small;
    font-weight: bold;
    color: red;
    background: #fc7019 url("../images/percent_bar_light.gif") top left no-repeat;
    white-space: pre;
    position: relative;
  }

.graph .hlasu
  {
    display: block;
    height: 26px;
    #height: 24px;
    float: left;
    background: url("../images/percent_bar.gif") top left no-repeat;
    padding-left: 0px;
    text-align: left;
    font-size: larger;
    color: #444;   
    overflow: visible; 
    white-space: pre;
    #padding-top: 2px;
  }

.graph .procent
  {
    position: absolute;
    right: 5px;
  }

.anketa_zadani, .anketa_zadani ul
  {
    margin: 0em;
    padding: 0em;
    text-indent: 0em;
  }

.anketa_zadani ul, .anketa_zadani select
  {
    margin-bottom: 1em;
  }

.anketa_zadani select
  {
    background-color: #ffb933;
  }

#forumAddContainer {
    margin-top: 1em;
}

textarea.largeTextArea {
    width: 100%;
    height: 500px;
}

div.texyla {
    color: black;
}

div.texyla ul, div.texyla li{
    color: black;
}

input.wide {
    width: 400px;
}

div.ui-datepicker {
	font-size: 60%;
}
	
input.datepicker {
    background: white url('../images/calendar.png') no-repeat right center;
    border: 1px solid #CCCCCC;    
    padding: 0.2em;
    padding-right: 20px;
}

.forumPost {
    border-left: 2px solid #fc7019;
    margin: .5em 0em;    
}

.forumPost .post {
    padding: 0em .5em;
    padding-bottom: 0.1em;
}

.forumPost:hover {
    background-color: #222;
}

.forumPostHeader {
    background-color: #fc7019;
    padding-left: .5em;
}

.forumAuthor {
    font-weight: bold;
}

a.button {
    margin: .25em 0em;
    color: #333;
    background: transparent url('../images/button.gif') no-repeat top left;
    text-decoration: none;
    display: inline-block;
    width: 150px;
    height: 26px;
    text-align: center;
    font-weight: bold;
}

a.button:hover {
    background-position: bottom left;
    color: black;
}

.captcha {
    margin-top: 1em;
}
label.captcha {
    position:relative;
    top: 1em;
}

ul.error {
    padding-left: 0em;
}

ul.error li {
    color: white;
    background-color: red;
    list-style-type: none;
    margin-left: 0em;
    padding-left: 1em;
}

ul.flashes {
    padding-left: 0em;    
}

ul.flashes li {
    padding-left: 1em;
    margin: 0em;
    list-style-type: none;
}

li.info {
    background-color: #55f;
}

li.error {
    background-color: red;
}

#footer {
    clear: both;
}

#authenticated_menu li {    
    font-weight: bold;
    border-color: #fc7019;
}

#authenticated_menu li a {    
    text-decoration: none;
}

	.ac_results {
		border: 1px solid gray;
		background-color: white;
		padding: 0;
		margin: 0;
		list-style: none;
		position: absolute;
		z-index: 10000;
		display: none;
	}
	
	.ac_results li {
		padding: 2px 5px;
		white-space: nowrap;
		color: #101010;
		text-align: left;
	}
	
	.ac_over {
		cursor: pointer;
		background-color: blue;
        color: white !important;
	}
	
	.ac_match {
		text-decoration: underline;
		color: black;
	}

    .ac_over .ac_match {
        color: white !important;
    }

    .ac_tooltip {
        background-color: gray;
        color: white !important;
        font-size: 60%;
    }

#briefParticipants dt {font-weight: bold; font-size: 120%; margin-top: 1em; color: #fc7019;
    background-color: #222; padding-left: 1em; }
#briefParticipants dt a {font-size: 80%; font-weight: normal; color: white;}
#briefParticipants dd dt {font-weight: bold; font-size: 110%; margin-top: .25em; color: #222;
    background-color: #fc7019; padding-left: .5em;}
#briefParticipants dd dt a {font-size: 100%; font-weight: bold; color: #222;}
#briefParticipants dd dd {padding-left: 1em; text-indent: -1em;}
#briefParticipants dd dd dd {padding-left: 0em; text-indent: 0em; margin: 0em;}
#briefParticipants dd dd dt {font-weight: bold; font-size: 100%; margin-top: .25em; color: #fc7019;
    background-color: transparent; padding-left: 0em;}
#briefParticipants dd dl dd.unmarkedTest { background-color: red; color: white;}
#briefParticipants dd dl dd.unmarkedTest * { color: white;}

#partners {margin-top: 1em;}

#history_foreign h4 {
    margin: 0px;
    color: #fc7019;
}

#testEval {clear: both;}
#testEval tr.odd {background-color: #fc7019}
#testEval tr.odd label {color: white;}
#testEval td {padding: 0.2em; }

#languageBar {float: right;}
#languageBar img {width: 30px;}

.rightAnswer {color: #00ff00;}
.rightAnswer:after {content: " (správná odpověď)"; font-style: italic;}
.rightAnswer.myAnswer:after {content: " (tvá správná odpověď)";}

.wrongAnswer {color: #ff0000;}
.wrongAnswer:after {content: " (tvá špatná odpověď)"; font-style: italic;}

.myAnswer {font-weight: bold;}

.poll {_position: relative; _float: left;}
.poll .body {border: 1px solid #fc7019; clear: both; float: left;}
.poll h4 {margin-top: 0em; margin-bottom: 0em; background-color: #fc7019; padding: 0em 1em;}
.poll dl {padding: 0em 1em;}
.poll dt {margin-top: .5em; color: #fc7019;}
.poll dd {margin: 0em; position: relative; _height: 1px;}
.poll .progress {background-color: #fc7019; position: absolute; top: .25em; left: 0px; line-height: 1em; -moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px; z-index: 1;}
.poll .votesCount {z-index: 10; position: relative; padding: 0em .5em;}
.poll .overall {padding: 0em 1em; font-size: 90%;}
.poll .flashes {list-style-type: none; padding: 0em 1em; margin: 0em; background-color: #fc7019}
.poll .info {padding: 0em 1em; font-size: 90%; margin: 0em;}
.poll .alreadyVoted {color: white; font-size: 90%;}
.poll .flashes li {margin: .5em 0em; text-indent: 0em; padding: 0em;}

