/* General styling */
body {
	font: 14px/19px "Gill Sans", GillSans, "Lucida Grande", "Lucida Sans Unicode", Arial, sans-serif;
	color: black;
	margin: 0;
	font-weight: normal;
	background-color: #222;
}

img {
	border: 0;
}

.curved {
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	behaviour:url(border-radius.htc);
}

.clear {
  clear: both;
}

.warning {
  border: 2px solid #f80;
  background-color: #ff8;
  text-align: center;
}

.comment {
  color: #444;
  font-size: 80%;
}

.float-right {
  float: right;
}

.float-left {
  float: left;
}

/* Styling of hyperlinks */
a, a:hover, a:link, a:visited {
  text-decoration: none !important;
}
a {
  color: #444;
}
a:hover {
  color: #444;
  border-bottom: 1px solid #bbb;
}

/* Images */
img.float-left {
  padding: 0px;
  border: 1px solid #000;
  margin: 0 5px 5px 0;
}
img.float-right {
  padding: 0px;
  border: 1px solid #000;
  margin: 0 0 5px 5px;
}

/* Compact definition lists */
dl.compact dt {
  width: 70px;
  float: left;
  clear: left;
  font-weight: bold;
}
dl.compact dd {
  display: block;
  border-left: 70px solid white;
  margin-left: 0 !important;
}

/* Unordered lists */
ul.nobullet {
  list-style-type: none;
  padding-left: 0;
  margin-left: 0;
}
ul.gallery {
  list-style-type: none;
  padding-left: 0;
  margin: auto;
}
ul.gallery li {
  display: table-cell;
  margin: 5px;
}
ul.gallery li a:hover {
  text-decoration: none !important;
  border-bottom: 0px !important;
}

/* Container */
.container {
	width: 1000px;
	margin: auto;
	position: relative;
}

/* Headers */
h1 {
  position: relative;    /* for shines */
	font-size: 150%;
	font-weight: lighter;
	margin: 0px;
	height: 2em;
	line-height: 2em;
	color: white;
	padding: 0 .5em;
	background: #000 url(../images/grad/header0.png) repeat-x center top;
	border-bottom: 1px solid #000;
	text-shadow: #000000 0px 0px 3px;
}
h1 a {
  color: white !important;
  border: 0px !important;
}
h2 {
  position: relative;    /* for shines */
	font-size: 120%;
}
h2 a {
  color: black !important;
  border: 0px !important;
}
h3 {
  font-size: 100%;
}

/* Footer */
#footer {
	background-color: #222;
	text-align: center;
	color: #444;
	border-top: 1px solid black;
	clear: both;
	background: #222 url(../images/grad/footer.png) repeat-x top;
	height: 60px; min-height: 60px;
}
#footer a {
	color: #666 !important;
}
#footer a:hover {
	border-bottom: 1px solid #666 !important;
}

/* Areas in main container */
.main-area {
	color: black;
	padding: 1em 0;
	text-align: justify;
	line-height: 1.5em;
	background: white;
}
.upper-shadow {
	background: white url(../images/grad/featured.png) repeat-x center top;
}
.main-with-sidebar {
	padding-right: 285px !important;
}

/* Featured area styling */
.featured-area {
	background: #f2f2f2 url(../images/grad/featured.png) repeat-x center top;
	/* height: 8em; */
	border-bottom: 1px solid #ccc;
	padding: 1em 10px;
}
.featured-area h2 {
  margin-top: 0;
}

/* Sidebar-related styling */
.sidebar {
  clear: right;
	float: right;
	width: 250px;
	margin: 0 0 0 25px;
}
.sidebar h2 {
	font-size: 100%;
	font-weight: bold;
	padding: 0;
	clear: both;
}
.sidebar p {
	margin: 0.5em 0;
}

/* Menu styling */
#menu {
	padding: 0;
	margin: 0;
	float: right;
	height: 3em;
	position: absolute;
	right: 0px;
	top: 0px;
	font-size: 66.6666%;
}
#menu a, #submenu a {
  border: 0px !important;
}

#menu li {
	list-style-type: none;
	float: left;
	line-height: 3em;
	color: #fff;
	padding: 0 0.75em;
	position: relative;
	/*border-left: 1px solid #666;
	border-right: 1px solid #222;*/
}

#menu li.hover-research {
	border-bottom: 2px solid #f00;
	background: #222 url(../images/grad/header1.png) repeat-x center top;
}
#menu li.hover-development {
	border-bottom: 2px solid #0c0;
	background: #222 url(../images/grad/header1.png) repeat-x center top;
}
#menu li.hover-personal {
	border-bottom: 2px solid #06c;
	background: #222 url(../images/grad/header1.png) repeat-x center top;
}
#menu li.hover-misc {
	border-bottom: 2px solid #f60;
	background: #222 url(../images/grad/header1.png) repeat-x center top;
}

#menu li a {
	display: block;
	padding-left: 20px;
}

#menu li a:link, #menu li a:visited, #menu li a:hover {
	color: #fff;
	text-decoration: none;
}

#menu li.research a {
	background: url(../images/menu/research.png) no-repeat 0% 50%;
}

#menu li.development a {
	background: url(../images/menu/development.png) no-repeat 0% 50%;
}

#menu li.personal a {
	background: url(../images/menu/personal.png) no-repeat 0% 50%;
}

#menu li.misc a {
	background: url(../images/menu/misc.png) no-repeat 0% 50%;
}

/* Submenu styling */

#submenu {
	background-color: black;
	border-top: 1px solid #444;
	/* border-top: 1px solid #444;
	border-bottom: 1px solid #444; */
}

#submenu ul {
	padding: 0; /* 0 0 32px; */
	margin: 0;
	height: 1.8em;
}

#submenu li {
	list-style-type: none;
	float: left;
	line-height: 1.8em;
	color: #fff;
	position: relative;
	/* border-right: 1px solid #444; */
}

#submenu li.current-main {
	/* font-weight: bold; */
	display: block;
	text-align: right;
	width: 30px;
	color: #444;
}

#submenu li a {
	display: block;
	padding: 0 10px;
}

#submenu li.current a {
	color: #fff !important; 
}

#submenu li a:link, #submenu li a:visited {
	color: #777;
	text-decoration: none;
}

#submenu li a:hover, #submenu li a:focus {
	color: #aaa;
	text-decoration: none;
	background: #000 url(../images/grad/submenu.png) repeat-x center bottom;
	border-bottom: 2px solid #f00;
}

/* Breadcrumb styling */
#crumbs {
	border: 1px solid #dedede;
	padding: 0;
	margin: 0;
	height: 1.5em;
	/* background: #444; */
}

#crumbs li {
	list-style-type: none;
	float: left;
	line-height: 1.5em;
	padding: 0 0 0 .75em;
	color: #777;
}

#crumbs li a {
	display: block;
	padding: 0 15px 0 0;
	background: url(../images/crumbs.gif) no-repeat right center;
}

#crumbs li a:link, #crumbs li a:visited {
	text-decoration: none;
	color: #777;
}

#crumbs li a:hover, #crumbs li a:focus {
	color: #dd2c0d;
}


/* Two column parts */
.two-column .first {
	float: left;
	width: 48%;
	margin-right: 2%;
}

.two-column .second {
	float: left;
	width: 48%;
	margin-left: 2%;
}

/* .shine {
  position: absolute; bottom: 0px; left: 0px;
  width: 100%; height: 100%;
  background: transparent url(http://sixdegrees.hu/scripts/grad.php?start_colour=ffffff40&end_colour=ffffff00&height=20) repeat-x bottom;
} */


/* Publication types */
.publist li, .sidebar ul.pubfilter li {
  padding-left: 3px;
  margin-bottom: 0.25em;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  /* IE sucks, no curved borders there */
}
.publist li .comment {
  text-transform: uppercase;
}
.pubtype-article {
  border-left: 2px solid #f60;
}
.pubtype-thesis {
  border-left: 2px solid #f00;
}
.pubtype-chapter {
  border-left: 2px solid #f0f;
}
.pubtype-proceedings {
  border-left: 2px solid #06c;
}
.pubtype-eprint {
  border-left: 2px solid #0c0;
}
.pubtype-other {
  border-left: 2px solid #888;
}
.sidebar .pubtype-article {
  border: 2px solid #f60;
  background-color: #fc6;
}
.sidebar .pubtype-thesis {
  border: 2px solid #f00;
  background-color: #f66;
}
.sidebar .pubtype-chapter {
  border: 2px solid #f0f;
  background-color: #f6f;
}
.sidebar .pubtype-proceedings {
  border: 2px solid #06c;
  background-color: #6cf;
}
.sidebar .pubtype-other {
  border: 2px solid #888;
  background-color: #ddd;
}


/* Coloured headers for different page classes */
/* 
body.research .main-area h2 {  color: #c00; }
body.research .main-area h3 {  color: #c00; }
*/

/* Coloured links for different page classes */
body.research .main-area a { color: #f00 }
body.research .main-area a:visited { color: #c00 }
body.research .main-area a:hover { border-bottom: 1px solid #f66 }
body.development .main-area a { color: #080 }
body.development .main-area a:visited { color: #060 }
body.development .main-area a:hover { border-bottom: 1px solid #383 }

/* Download boxes */
ul.download-boxes {
	padding: 0;
	margin: 0;
	display: table;
}
ul.download-boxes a {
  color: black !important;
  font-weight: bold;
}
ul.download-boxes a:hover {
  border-bottom: 0px !important;
}
ul.download-boxes li {
  display: table-cell;
	list-style-type: none;
  width: 150px;
  height: 32px;
	line-height: 16px;
	padding-left: 37px;
	background-position: top left;
	background-repeat: no-repeat;
}
ul.download-boxes li .comment {
  color: #888;
  text-transform: uppercase;
  padding-top: 2px;
}
ul.download-boxes li.windows {
  background-image: url(../images/logo/logo_windows_32x32.png);
}
ul.download-boxes li.linux {
  background-image: url(../images/logo/logo_linux_32x32.png);
}
ul.download-boxes li.osx {
  background-image: url(../images/logo/logo_apple_32x32.png);
}

/* Bubble popup */
.bubbleInfo {
  position: relative;
}
.bubbleInfo .popup {
  position: absolute;
  display: none;
  z-index: 2000;
  
  max-width: 170px;
  padding: 5px;
  
  line-height: 1em;
  
  background-color: #ffc;
  border: 1px solid #fc0;
  
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  
  -moz-box-shadow: 0px 2px 15px #888;
  -webkit-box-shadow: 0px 2px 15px #888;
  box-shadow: 0px 2px 15px #888;
  
  /* IE sucks, no curved borders and shadows there */
}
.popup .title { font-weight: bold; margin-bottom: 0.5em; }


