/*
mboulou master styles for screen media
Manousos Bouloukakis	
mboulou@engineer.com
Updated: Aug 26 2004
*/

body {
	margin: 0;
	padding: 0;
	font-family: Verdana, sans-serif;
	text-align: center;
	line-height: 1.5em;
	color: #333;
	background: #666;
	font-size: x-small; /* IE5 Win */
  	voice-family: "\"}\""; 
  	voice-family: inherit;
  	font-size: small;
	}

html>body { /* be nice to Opera */
	font-size: small;
	}

/* ---( text )------------------------------- */

a:link {
	color: #49669C;
	}

a:visited {
	color: #8EA4C2;
	}

a:hover {
	color: #036;
	}

p {
	margin: 1em 0 1em;
	padding: 0;
	}

h1 {
	font-family: "Lucida Grande", "Lucida Sans Unicode", Verdana, sans-serif;
	font-size: 118%;
	font-weight: bold;
	color: #930;
	padding: 0;
	margin: 0;
	}

h2 {
	font-family: "Lucida Grande", "Lucida Sans Unicode", Verdana, sans-serif;
	font-size: 105%;
	color: #930;
	padding: 0;
	margin: 0 0 1em 0;
	}

h2 a:link, h2 a:visited {
	font-size: 118%;
	text-decoration: none;
	color: #930;
	}

h2 a:hover {
	color: #600;
	}
	
h2.sub {
	color: #999;
	font-size: 90%;
	font-weight: normal;
	padding-bottom: 2px;
	margin-bottom: 1.5em;
	border-bottom: 1px solid #ddd;
	}

h2.sub a {
	font-size: 100%;
	color: #999;
	text-decoration: underline;
	}

h3 {
	font-family: "Lucida Grande", "Lucida Sans Unicode", verdana, sans-serif;
	font-size: 105%;
	font-weight: bold;
	color: #222;
	padding: 0 0 2px 0;
	margin: 1.2em 0 -.2em 0;
	border-bottom: 1px solid #eee;
	}

h1 span, h2 span, h3 span {
	color: #999;
	}

blockquote {
	font-size: 88%;
	color: #777;
	padding-left: 23px;
	background: url(quotemarks.gif) no-repeat 0 3px;
	}

blockquote.praise {
	padding: 0 0 10px 23px;
	border-bottom: 1px solid #eee;
	}

code {
	color: #c63;
	font-size: 110%;
	line-height: 1.2em;
	text-align: left;
	}

code strong {
	color: #930;
	}

abbr, acronym, .popup {
	font-style: normal;
	border-bottom: 1px dotted;
	}

em {
	font-style: italic;
	}

strong {
	font-weight: bold;
	}

strike {
	text-decoration: line-through;
	}

/* ---( top )------------------------------- */

#wrap {
	position: relative;
	margin: 0 auto;
	padding: 0 16px;
	font-size: 95%;
	text-align: left;
	background: url(bg_dark.gif) repeat-y;
	width: 782px;
	voice-family: "\"}\""; 
  	voice-family: inherit;
  	width: 750px;
	}

html>body #wrap {
  	width: 750px;
	} 

#logo {
	background: #fc6 url(orange_top.gif) no-repeat top left;
	background-repeat: no-repeat;
	height: 63px;
	padding: 0;
	margin: 0;
	}

#logo a  {
	border-style: none;
	display: block;
	width: 118px;
	}

#logo img  {
	display: block;
	width: 0;
	}

#logo span {
	position: absolute;
	top: 18px;
	left: 34px;
	width: 118px;
	height: 29px;
	background: url(triplex_yellow.gif) no-repeat;
	}

html>body #logo span {
	top: 19px;
	}

/* navigation */

#nav {
	float: left;
	width: 750px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 80%;
	background: #fff url(nav_bg2.gif) repeat-x bottom left;
	}
	
#nav li {
	float: left;
	margin: 0;
	padding: 0;
	list-style: none;
	border-right: 1px solid #ddd;
	}

#nav a {
	float: left;
	padding: 6px 10px 6px 30px;
	text-decoration: none;
	color: #666;
	background: url(t-pub.gif) no-repeat 10px 55%;
	}

#t-home a {
	background-image: url(t-home.gif);
	}

#t-note a {
	background-image: url(t-note.gif);
	}

#t-serv a {
	background-image: url(t-serv.gif);
	}

#t-port a {
	background-image: url(t-port.gif);
	}

#t-about a {
	background-image: url(t-about.gif);
	}

#t-cont a {
	background-image: url(t-contact.gif);
	}

#nav a:hover, #nav a.active {
	color: #000;
	background-color: #fff;
	}
	
#nav a.active {
	font-weight: bold;
	}

/* ---( main column )----------------------------- */

/* Commented Backslash Hack
     hides rule from IE5-Mac \*/
#main-body {clear:left;}
/* End IE5-Mac hack */

#main-body {
	background: url(main_bg6.gif) no-repeat top left;
	}

#content {
	float: left;
	margin: 24px 0 0 0;
	padding: 0 20px;
	background: #fff;
	width: 502px; /* for IE5/Win */
	voice-family: "\"}\""; 
  	voice-family: inherit;
  	width: 462px;
	}

html>body #content { /* be nice to Opera */
	width: 462px;
	}

#content .entry {
	margin: 0;
	padding-top: 12px;
	border-top: 1px solid #ddd;
	}

#content .single {
	border-top: none;
	padding-top: 0;
	}

/* figures */

#content img.thumb {	
	float: right;
	margin-left: 12px;
	margin-bottom: 6px;
	margin-top: .5em;
	border-color: #ccc;
	border-width: 1px;
	border-style: solid;
	padding: 5px;
	}

#content a img.thumb:hover {
	border-color: #999;
	}

#content .figure {
	float: right;
	margin: .5em 0 6px 20px;
	font-size: 92%;
	color: #999;
	text-align: center;
	}

#content .figure dt img {
	margin: 0 0 1em 0;
	padding: 6px;
	border: 1px solid #ddd;
	}

#content .figure img.fig, #portcoll img {	
	border-color: #ddd;
	border-width: 1px;
	border-style: solid;
	padding: 5px;
	}

/* lists */

#content ul {
	list-style: none;
	margin: 1em 0 1em 0;
	padding-left: 24px;
	}

#content ul li {
	padding: 0 0 4px 21px;
	line-height: 1.3em;
	background: url(li_box.gif) no-repeat 0 1px;
	}

#content dl dd {
	margin: 0;
	padding: 0 0 1em 0;
	}

#content dl dt {
	font-weight: bold;
	}

#content dl dt span {
	font-weight: normal;
	}

/* alert note */

#content .note {
	font-size: 90%;
	color: #777;
	padding: 10px 0 0 0;
	border-top: 1px solid #eee;
	}

#content .note strong {
	color: #333;
	}
	
#content .alert {
	padding-left: 18px;
	background: url(note_icon.gif) no-repeat 0 50%;
	}

/* ---( entries )---------------------------------- */

p#menu {
	color: #999;
	font-size: 90%;
	margin-top: 0;
	}

p#menu.month {
	margin-top: 1em;
	}

p.posted {
	color: #999;
	font-size: 90%;
	margin: 0;
	padding: 0 0 12px 0;
	}

p.posted img {
	vertical-align: middle;
	}

a.plink {
	padding-left: 16px;
	color: #999;
	text-decoration: none;
	background: url(permalink.gif) no-repeat 0 1px;
	}

a:hover.plink {
	color: #333;
	}

.clink {
	padding: 0 0 0 17px;
	background: url(comment_on.gif) no-repeat 0 1px;
	}

.commoff {
	padding: 0 0 0 17px;
	color: #ccc;
	background: url(comment_off.gif) no-repeat 0 1px;
	}

#more {
	margin-top: 0;
	padding-top: 12px;
	border-top: 1px solid #ddd;
	}

.extended {
	font-size: 90%;
	font-weight: bold;
	}

/* ---( comments )--------------------------------- */

#comments {
	font-size: 90%;
	}

#comments textarea {
	width: 350px;
	}

#comments h3 {
	font-size: 105%;
	padding: 0 0 4px 19px;
	margin-bottom: 10px;
	color: #930;
	border-bottom: 2px solid #ddd;
	background: url(box.gif) no-repeat 0 2px;
	}

#comments h3#chead {
	margin-bottom: 0;
	border-bottom: none;
	}
	
#comments code {
	font-size: 118%;
	}

#comments span {
	color: #999;
	}

#comments dl {
	margin-top: 0;
	color: #666;
	}

#comments dl dt {
	font-weight: normal;
	color: #333;
	padding-top: 10px;
	border-top: 1px solid #ddd;
	}

#comments dl dt img {
	vertical-align: middle;
	}

#comments dl dd {
	color: #666;
	padding: 0 0 0 16px;
	margin: 0 0 10px 0;
	}

#comments dl dd p {
	margin-top: 0;
	}

#comments input {
	vertical-align: middle;
	}

#comments textarea {
	width: 325px;
	}

/* ---( right column )----------------------------- */

#sidebar {
	position: relative;
	font-size: 90%;
	line-height: 1.5em;
	margin: 0 0 0 509px;
	padding: 60px 15px 0 20px;
	color: #937966;
	}

#sidebar a:link {
	color: #6E5C4F;
	}

#sidebar a:visited {
	color: #9D9187;
	}

#sidebar a:hover {
	color: #333;
	}

#sidebar h3 {
	font-size: 100%;
	padding: 0 0 4px 19px;
	margin: 0 0 8px 0;
	color: #930;
	border: none;
	background: url(cube_birch.gif) no-repeat 0 2px;
	}

/* sub nav icons */

#sidebar #sub-serv, #sidebar #sub-port {
	padding: 7px 0 8px 36px;
	background-image: url(h3_serv.gif);
	}

#sidebar #sub-pub {
	padding: 7px 0 8px 36px;
	background-image: url(h3_pub.gif);
	}

#sidebar #sub-note {
	padding: 10px 0 10px 34px;
	background-image: url(h3_note.gif);
	}

#sidebar #sub-about {
	padding: 8px 0 8px 36px;
	background-image: url(h3_about.gif);
	}

#sidebar #sub-cont {
	padding: 4px 0 8px 36px;
	background-image: url(h3_cont.gif);
	}

#sidebar h4 {
	font-size: 92%;
	font-weight: normal;
	margin: 0;
	}
	
#sidebar p {
	margin-top: 4px;
	margin-bottom: 20px;
	}

#sidebar ul, #sidebar dl {
	margin: 4px 0 20px 0;
	padding: 0;
	list-style: none;
	}

#sidebar li {
	margin: 0 0 .5em 0;
	padding: 0 0 0 13px;
	line-height: 1.4em;
	background: url(bullet_rounded.gif) no-repeat 0 5px;
	}

#sidebar #quickbits li.last {
	background: none;
	}
	
#featured dd, #featured dt {
	margin: 0;
	}

#sidebar #featured dt {
	margin: 0;
	padding: 0 0 0 15px;
	background: url(bit_doc.gif) no-repeat 0 3px;
	}

#sidebar img {
	vertical-align: middle;
	}

#sidebar #photoBox {
	margin-bottom: 20px;
	padding: 7px;
	border-bottom: 1px #ddd0b9 solid;
	border-right: 1px #ddd0b9 solid;
	background: #fff;
	overflow: hidden;
	}

#sidebar #stock {
	margin-bottom: 0;
	}

/* custom ul styles */

#sidebar #slideshows li {
	margin-bottom: 0;
	padding: 0 0 7px 19px;
	background: url(slide_birch.gif) no-repeat 0 2px;
	}

#sidebar #work-list li {
	margin-bottom: 0;
	padding: 0 0 7px 16px;
	background: url(port_icon.gif) no-repeat 0 3px;
	}

#sidebar ul.none li {
	margin-bottom: 2px;
	padding-left: 0;
	background: none;
	}
	
/* switcher */

#theme {
	position: absolute;
	top: 68px;
	right: 20px;
	margin: 0;
	padding: 0;
	}

#theme a img {
	margin: 2px 5px 0 0;
	}

/* book tease */

#myBook dt img {
	float: left;
	margin: 2px 10px 0 0;
	padding: 2px;
	display: block;
	border: 1px solid #ddd;
	border-right-color: #ccc;
	border-bottom-color: #ccc;
	background: #fff;
	}

#myBook dt a:hover img {
	border-color: #c0c0c0;
	}

#myBook dt {
	margin-bottom: 8px;
	}

#myBook dd {
	margin: 0 0 3px 0;
	}

/* ---( footer )----------------------------------- */

#footer {
	position: relative;
	clear: both;
	margin: 0;
	padding: 0;
	font-size: 90%;
	color: #666;
	background: #333;
	border-top: 1px solid #000;
	}
	
#footer p {
	margin: 0;
	padding: 8px 20px;
	}

/* Fixes float escaping bug in IE/Win, hides from IE Mac \*/
* html #footer p { height: 1%; }
/* End hide from IE Mac */

#footer a {
	color: #888;
	}

#footer a:hover {
	color: #ccc;
	}

/* ---( contact form )------------------------------------ */

#contactform {
	padding: 15px;
	background: #fff;
	border: 1px solid #ddd;
	}

#contactform dl {
	margin: 0;
	padding: 0;
	}

#contactform dt {
	color: #333;
	}

#contactform dt em {
	color: #999;
	font-weight: normal;
	font-style: normal;
	}

#contactform #realname, #contactform #email, #contactform #url {
	width: 200px;
	border: 1px solid #ccc;
	padding: 2px;
	color: #444;
	}

#contactform textarea {
	width: 400px;
	height: 180px;
	}
	
/* ---( photos )------------------------------------------ */

#photoGrid {
	width: 450px;
	margin-top: 12px;
	text-align: left;
	}
	
#photoGrid .photo {
	float: left;
	margin: 0 10px 10px 0;
	border: 1px solid #ccc;
	padding: 5px;
	}	

#photoGrid a {
	color: #999;
	text-decoration: none;
	border-style: none;
	}

#photoGrid a:hover {
	color: #000;
	}

#photoNav {
	margin: 1em 0 0 0;
	}

#photoNav a {	
	float: left;
	margin: 0 1px .5em 1px;
	padding: 1px 4px 0 4px;
	color: #ccc;
	text-decoration: none;
	border: none;
	}

#photoNav a:hover, #photoNav a.active {
	color: #000;
	background: #ccc;
	}

#clearPhoto {
	clear: left;
	}

img#photo {
	padding: 10px;
	border: 1px solid #ccc;
	}

/* photo viewer overrides */

body.viewer #sidebar {
	display: none;
	}

body.viewer #content {
	width: 680px;
	margin-right: 20px;
	margin-bottom: 20px;
	}

body.viewer #wrap {
	background-image: url(bg_photo.gif);
	}

body.viewer #main-body {
	background-image: url(main_bg_viewer.gif);
	}

/* ---( publications )------------------------------------ */

dl.tiplist em {
	color: #999;
	font-style: normal;
	}

dl.solutions dt {
	float: left;
	background: none;
	padding-left: 0;
	margin-right: 10px;
	}

#content dl.solutions dd.sol-title {
	padding-bottom: 0;
	font-weight: bold;
	}

dl.solutions dt img {
	padding: 2px;
	border: 1px solid #ddd;
	}

#content dl.tiplist dd {
	margin-left: 0;
	}

/* ---( software )--------------------------------------- */

.softlist dt {
	padding: 0 0 2px 0;
	margin: 1.2em 0 1em 0;
	border-bottom: 1px solid #ddd;
	}

#content dl.softlist dd {
	padding-bottom: 0;
	}
	
.softlist p {
	margin-top: 0;
	}

/* ---( portfolio )-------------------------------------- */

#work {
	width: 150px;
	float: right;
	margin: 4px 0 6px 20px;
	font-size: 82%;
	line-height: 1.4em;
	color: #999;
	}

#work dt {
	margin: 14px 0 0 0;
	}

#content #work dd {
	margin: 0;
	padding: 0;
	}

#work dd strong {
	color: #666;
	}

#work a {
	font-weight: normal;
	}

#work a img {
	border: none;
	}

#work dt a {
	float: left;
	display: block;
	margin: 0 6px 0 0;
	padding: 2px;
	background: #fff;
	border: 1px solid #ccc;
	}

#work dt a:hover, #work dt a.active {
	border-color: #930;
	}
	
#portcoll {	
	text-align: center;
	}

#port {
	position: relative;
	}

#portText {
	padding-left: 220px;
	
	}

#port ul {
	padding-left: 0;
	}

/* portfolio image */

#portimg {
	position: absolute;
	top: 0;
	left; 0;
	width: 199px;
	padding: 0;
	margin: .5em 15px 10px 0;
	color: #666;
	font-size: 90%;
	text-align: left;
	}

#portimg dt {
	padding: 6px;
	border: 1px solid #ddd;
	}

#content dl#portimg dd {
	padding: 0;
	margin: 10px 0 0 0;
	}

#sidebar li.active a:link, #sidebar li.active a:visited {
	color: #333;
	font-weight: bold;
	text-decoration: none;
	}

/* ---( quiz )------------------------------------------- */

#content ol.quiz {
	padding: 0;
	margin: 0;
	list-style: none;
	}

#content ol.quiz li {
	background: none;
	padding: 10px 10px 10px 30px;
	margin-bottom: 1em;
	border: 1px solid #ddd;
	}

#content ol.quiz pre {
	margin: 0;
	padding: 0;
	}

#content ol.quiz li.a {
	background: url(quiz_a.gif) no-repeat top left;
	}

#content ol.quiz li.b {
	background: url(quiz_b.gif) no-repeat top left;
	}

#content ol.quiz li.c {
	background: url(quiz_c.gif) no-repeat top left;
	}

#content ol.quiz li.d {
	background: url(quiz_d.gif) no-repeat top left;
	}

/* ---( homepage boxes )-------------------------------- */

#content .hp {
	width: 140px;
	float: left;
	margin: 0 20px 12px 0;
	padding: 0;
	font-size: 85%;
	line-height: 1.5em;
	color: #666;
	}

#content #hp-last {
	margin-right: 0;
	}

#content .hp dt {
	margin: 0 0 6px 0;
	padding: 0;
	font-family: "Lucida Grande", Arial, Verdana, sans-serif;
	font-size: 105%;
	}

#content .hp dt a {
	padding-right: 7px;
	color: #963;
	text-decoration: none;
	background: url(home_arrow.gif) no-repeat 100% 4px;
	}

#content .hp dt a:hover {
	color: #630;
	}

#content .hp dd {
	margin: 0;
	padding: 0;
	}

#content .hp dd a {
	color: #856E5D;
	text-decoration: none;
	}

#content .hp img {
	float: left;
	margin: 2px 6px 0 0;
	}

#content .first {
	clear: left;
	padding-top: 12px;
	border-top: 1px solid #ddd;
	}

/* ---( misc. )------------------------------------------ */

#search {
	margin-top: .5em;
	}

hr {
	border-top: 1px dashed #ccc;
	color: #fff;
	background-color: #fff;
	height: 1px;
	}	

#logo a, #nav a, a.noline:link, a.noline:visited, .photoBox a:link, .photoBox a:visited {
	border-style: none;
	}

h3 img {
	vertical-align: middle;
	}

ul.noBullet li {
	list-style-type: none;
	}

ul.fiveent em {
	color: #999;
	font-style: normal;
	}

.more {
	padding-right: 7px;
	background: url(more_arrow.gif) no-repeat 100% 5px;
	}

.center {
	text-align: center;
	}

a img {
	border: none;
	}

.hide {
	display: none;
	}
