/** ATG CSS (by jisl@labe.felk.cvut.cz
(c) 2005-2006 Agent Technology Group
*/

body {
  margin:0; padding:0;
  font: 0.675em Verdana, 'Geneva CE', lucida, sans-serif;
  color: black;
  background-color: white;
  text-align: center;
}

.cs { display: none; }

h1 { font-size: 170%; font-weight: bolder;}
h2 { font-size: 170%; font-weight: normal; }
h3 { color: #336799; background-color: inherit; font-size: 150%; font-weight: normal; }
h4 { font-size: 140%; font-weight: normal;}

a, a:link { color: maroon; background-color: inherit; }
a:visited { color: purple; background-color: inherit; }
a:hover { background-color: black; color: white;}

p { 
  text-indent: 1em;
  text-align: justify;
  margin-top: 0;
  padding-top: 0.8em;
}

p.abstract { margin: 0 5em; font-style: italic; }

tt {font-family:  "Lucida Console", "Monaco CE", fixed, monospace;}

p.black { color: black; background-color: inherit; }

dt { font-weight: bold; font-size: 85%}

blockquote { font-style: italic; }

div.box {
  float: right;
  border: 1px solid #cecccc;
  width: 30%;
  background-color: #edc599;
  color: black;
  margin: 0 0.2em 0.2em 0.2em;  
  padding: 0 0.5em;
}

div.box p {
  text-indent: 0;
  font-size: 75%;  
}

#content ul { padding: 0; margin: 0; }
#content li { list-style-position: inside; list-style-type: square;}

#content {
  width: 765px;
  margin: 0.5em auto;  
  padding: 0;
  border-top: 1px solid #cecccc;
  border-right: 1px solid #cecccc;
  border-bottom: 1px solid #cecccc;
  text-align:left;
  max-width: 1024px;
  background: url('img/graypix.jpg') left repeat-y;
}

#header {
  margin:0; padding:0;
  background: #ccffcc url('img/head1x.jpg') top left no-repeat;
  color: inherit;
}

#header-content {
  height: 113px;
  margin:0; padding:0;
  color: inherit;
}

#header-content a { padding: 0; margin: 0; border: none; }
#header-content a img { padding: 0; margin-top: 10px; margin-right: 150px; float:right; border: none;}

#h1header { 
  margin-left: 200px; 
  margin-top: 0; 
  padding-top: 1em; 
  letter-spacing: 0.05em;
  background:url("img/banner.png") top left no-repeat;  
}

#h1header-main {
  position:relative;
  overflow:hidden; 
  margin: 0 0 0 160px;
  padding: 0.8em 0 0 0;
  height:84px;
  letter-spacing: 0.05em;
}

#h1header-main span {
   display:block;
   position:absolute; left:0; top:0em; z-index:1;
   width:608px; height:84px;
   margin: 0;
   padding: 0;
   background:url("img/banner.png") top left no-repeat;     
}

#cleaner, .cleaner { width: 0; clear: both; display: none;}

#footer {
  margin-left:158px; padding:0;
  background: white url('img/footer1.jpg') repeat-x; color: inherit;
  border-left: 1px solid #cecccc;
}

#footer-content {
  margin:0; padding:1em;
  background: inherit url('img/footer2_x.jpg') top right no-repeat; color: inherit;
}

#footer-content img { 
  padding-top: 1.5em;  
  padding-right: 0.5em;  
  border: none;
}

body#publications {
 background-color: #ccffcc; color: inherit;
}

#main {
  margin:0 0px 0 158px; padding:0;
  background-color: #ccffcc; color: inherit;
  border-left: 1px solid #cecccc;
  text-align: left;
}

#main-pubs {
  background-color: #ccffcc; color: inherit;
  border-left: 1px solid #cecccc;
  border-right: 1px solid #cecccc;
}

#main-content {
  margin:0; padding: 0.5em 1em;
  text-align: left;
}

#main li { list-style-position: outside; }
#main ul { margin: 0 2em; list-style: outside; }

#left {
  float: left;
  width: 158px;
  margin:0; padding:0;
}

#left-content {
  margin:0; padding: 0 0.1em;
}

#right {
  float: right;
  width: 0;
  margin:0; padding:0;
}

#right-content {
  margin:0;  padding: 0;
  text-align: center;
  padding: 0 0.5em;
}
#right-content p { text-align: center; }
#right-content h3 { padding: 0; margin: 0; }

/** menu design */

#menu, #menu2, #menu3, #submenu, #teaching {
  padding: 0;
  margin-left: 0;
  margin-right: 0.1em;
}

#menu li, #menu2 li, #menu3 li, #teaching {
  list-style: none;
  margin: 0; padding: 0;
  border: 1px solid #ccffcc;  
  border-top: 1px solid #ccffcc;
  text-align: left;
  _display: inline;
  _height: 14px;  
}

.teaching{list-style: none; }

#teaching { border-top: 0px; }

#menu li a, #menu2 li a {
  display: block;
  _height: 14px;
  padding: 0.25em 0.5em 0.2em 20px;
  text-decoration: none;
}

#menu li a:link, #menu2 li a:link, #menu3 li a:link, #menu li a:visited, #menu2 li a:visited, #menu3 li a:visited { 
  color: #444443;
  background-color: inherit;
}

#menu li a:hover, #menu2 li a:hover, #menu3 li a:hover {
  color: black;
  background-color: #ccffcc;
}

#menu #selected, #submenu #selected {
  background-color: #ccffcc; 
  color: #444443;   
  border-top: 1px solid #ccffcc;
  padding: 0.25em 0.5em 0.2em 0;
  _width: 100%;
}

#menu2 li a {
  background: url('img/ball_black.gif');
  background-repeat: no-repeat;
  background-position: center left;  
}
#menu2 li a:hover {
  border-color: #ccffcc; background-image: url('img/ball_white.gif');
  background-repeat: no-repeat;
  background-position: center left;
}

#selected a:hover {
  color: black;
  background-color: #ccffcc;
}

#submenu {
  padding: 0;
}

#subsubmenu, #subsubmenu a {  
  font-weight: normal !important;
  margin-left: 0.5em !important;
}

#submenu li {
  border: 1px solid white;
  list-style: none;
  margin: 0; 
  padding: 0;
  border: none;  
  text-align: left;
}

#menu #selected #submenu li a, #menu3  { font-weight: normal; }
#menu #selected #submenu li a:hover { text-decoration: underline; }
  
#menu3 li, #menu2 li { border-top: none; }

#menu3 li a {
  display: block;
  font-weight: normal;
  border: none;
  padding: 0 0.5em 0 2px;
  vertical-align: top;
  text-decoration: none;
}


.membertext {
  min-height:140px;
  height:140px;
}
div[class] .membertext { height:auto;}

.member, .project { margin-bottom: 3em;}

.project { border-bottom: 1px solid #cecccc;}

.member img, .project img {
  border: 2px solid #cecccc;
  padding: 2px;
  margin: 5px;
}

.lr { float: left; }
.sr { float: right; }

#small {
  font-size: 0.8em;
  line-height: 70px;
  padding-left: 3em;  
}

#main h2 {
  padding-left: 30px;
  background-image: url('img/ball_black.gif');
  background-repeat: no-repeat;  
  background-position: center left;
}

span.jobs, span.fundings, span.projects, span.index, span.publications, span.teaching, span.members, span.internal {
  font-weight: bold;
  padding: 0.3em 0.5em 0.3em 20px;
}

.index { 
  background-image: url('img/ball_black.gif');
  background-repeat: no-repeat;  
  background-position: center left;  
}

.fundings, .projects, .project h3 { 
  background-image: url('img/ball_yellow.gif');  
  background-repeat: no-repeat;
  background-position: center left;
}
a.fundings:hover, a.projects:hover { background-image: url('img/ball_white.gif'); }

.project h3, .member h3 { padding-left: 30px; }

.jobs, .members, .member h3 { 
  background-image: url('img/ball_green.gif');  
  background-repeat: no-repeat;  
  background-position: center left;  
}
a.jobs:hover, a.members:hover { background-image: url('img/ball_white.gif');  }

.publications { 
  background-image: url('img/ball_orange.gif');    
  background-repeat: no-repeat;  
  background-position: center left;  
}
a.publications:hover {  background-image: url('img/ball_white.gif'); }

.teaching { 
  background-image: url('img/ball_blue.gif');  
  background-repeat: no-repeat;  
  background-position: center left;  
}
a.teaching:hover {  background-image: url('img/ball_white.gif');   }

.internal { 
  background-image: url('img/ball_red.gif');  
  background-repeat: no-repeat;
  background-position: center left;
}
a.internal:hover { background-image: url('img/ball_white.gif'); }


a#wmap img {
  width: 17px;
  height: 16px;
  background-image: url('img/map_gray.png');
  background-repeat: no-repeat;  
  background-position: center left;
}
a#wmap:hover img {
  background-image: url('img/map_blue.png');
  background-repeat: no-repeat;  
  background-position: center left;
}

a#wmaster img {
  width: 17px;
  height: 16px;
  background-image: url('img/mail_gray.png');
  background-repeat: no-repeat;  
  background-position: center left;
}
a#wmaster:hover img {
  background-image: url('img/mail_blue.png');
  background-repeat: no-repeat;  
  background-position: center left;
}


#photos, .logo, .logo-main { text-align: center; }
.logo-main a:hover, .logo a:hover { background-color: inherit; }
.logo-main img, .logo img {
  border: none;
}

.logo-main { margin-right: 3em; }

#left .logo { margin-top: 5em; }

#photos a img { border: 2px solid #336699; }
#photos a:hover img { border: 2px solid #ccffcc; }

.pub { margin-bottom: 1em; }

.info a:hover { color: black; background-color: inherit; }
.info img, a img { border: none; }

ul.horlist { margin: 0 0 140px;}
.horlist li {
   display: inline;
   list-style-type: none;
   padding-right: 20px;
}

#webmap li {
  list-style-position: outside; padding-left: 1em; margin-left: 1em;
  list-style-type: none;
}

.orange { font-weight: bold; /*color: #cc6600;  background-color: inherit;*/}

#googlesearch { border: 1px solid #f5fafd; padding: 5px; }
#googlesearch a { text-decoration: none; text-indent: 0; }
#googlesearch a:hover { background-color: white; color: black;}
#googlesearch input {
  font-size: 0.9em;
  border: 1px solid #808080;
  width: 100%;
}

#googlesearch input#text {  background-color: #f5fafd; }
#googlesearch input#sa { margin-top: 0.5em; border: 1px dotted #808080; background-color: inherit;}

#videobar { padding: 0; margin: 0; }

#videobar p {
  text-indent: none;
  padding: 0; margin: 0 0 1.2em 0;  
}

div.floatdiv { float: left; text-align: center; margin: 0 15px 15px 0;}
span.floatspan { text-align: center; margin: 0 15px 15px 0; }
.floatspan a { border: 0; padding: 0; }
.floatspan img {border: none;}
.floatspan a:hover { background-color: inherit; color: inherit;}

p.noafter { margin-bottom: 0px; margin-top: 0px;}

.biggerfont { font-size: 120%; }

/*************************************/
div#pagecentered {
  height: 569px;
  margin: 0 auto;
  text-align: center;
  padding: 0;
  border: 0;
}
div#pagecentered p {
  padding: 0; margin: 0; text-indent: 0;
}

div#pagecentered p a