@charset "UTF-8";
/* Common classes. */
body {
	/* Was: background: #fff; */
    background:#ffc33e url(../img/main-box-bg.gif) top left repeat-x;
    
	color: #000;
	margin: 0;
	padding: 0;
	font-family: "Helvetica", sans-serif;
	font-size: 13px;
	
}
input, textarea, select {
	font-family: "Helvetica", sans-serif;
	font-size: 13px;
}
div {
	padding: 0;
	margin: 0;
}
p {
	margin-top: 0.3em;
	margin-bottom: 0.1em;
	line-height: 1.5em;
	text-align: justify;
}
a {
	cursor: pointer;
}
img {
	border: 0;
}
abbr {
	cursor: help;
}
a:link,
a:visited {
	color: #000; /* Was red too: #C80808; */
	font-weight: normal;
	text-decoration: none;
}

.tab_link {
    text-decoration: underline !important;
}

a:link:hover,
a:visited:hover, 
a:active {
	color: #000; /* Was: #941515; Now same as visited */
}

img.assoc_logo {
	margin-top: 1em;
	margin-left: 2em;
}
.monospace {
	font-family: "Consolas", monospace;
}
.eight {
	color: #941515;
	font-weight: bold;
}
.projects {
	color: #000;
	font-weight: bold;
}
.external {
	font-style: italic;
    text-decoration: underline !important;
}
.internal_link {
    text-decoration: underline !important;
}

/* Purple:
a:visited {
	color:#551a8b;
}
*/

ul.separator_after {
	border-bottom: 1px dashed #941515;
	margin-bottom: 1em;
	padding-bottom: 1em;
}
p.separator_after {
	border-bottom: 1px dashed #941515;
	padding-bottom: 0.5em;
	margin-bottom: 1em;
}

div.home_text {
	float: left;
	width: 520px; /* Was 320px */
	padding-right: 1em;
}
div.home_text p {
	margin: 0 0.5em 0.5em 0.0em; /* Was: 0 0.5em 1em 0.0em; */
	padding: 0;
}
div.home_side {
	height: 580px; /* Adjust for iphone screenshot. Was 400px; */
	margin-left: 535px;
	margin-bottom: 0.5em;
	border-left: 1px dashed #941515;
}
div.home_side p {
	margin: 0 0.5em 0.5em 0.5em;
}
	
div.home_text center.emphasis {
	font-size: large;
}	
	
/* CSS to have table without TABLE. Used for Experience and Contact pages. */
.form {
	margin: 0.25em 1em 0.1em 0em;
	padding: 0.5em;
	border: 0px solid #941515;
}
	.form img {
		float: none;
		vertical-align: text-bottom;
	}
	.form li {
		line-height: 1.5em;
		list-style: none;
		vertical-align: top;
		padding: 0;
		margin: 0;
	}
	.form li.group_end {
		margin-bottom: 0.75em;
	}
	.form li label {
		color: #941515;
		font-weight: bold;
		float: left;
		display: block;
		vertical-align: top;
		width: 9em;
		text-align: right;
		padding-right: 0.4em;
		border-right: 1px solid #941515;
		margin-right: 0.4em;
	}
	
/* Window blocker div. Used by Util.blockWindow(). */
div.window_blocker {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1000;
	cursor: wait;
	background-color: #fff;
	opacity: 0.75;
}

/* Dropshadow effect. Thanks to http://www.alistapart.com/articles/cssdropshadows.
 * Using the simple IMG CSS from the article, as I don't want to pollute the HTML,
 * Added a fix to that for IE (see site_ie7.css) so that the left part of an inner
 * DIV is not cropped. Really want the transparent shadow, so I'm not using the
 * way described in the follow-up article at http://www.alistapart.com/articles/cssdrop2/.
 */
div.drop_shadow {
	float: left;
	background: url(../img/shadowAlpha.png) no-repeat bottom right;
	margin: 10px 0 0 10px !important;
	margin: 10px 0 0 5px;
}
	.drop_shadow_div {
		display: block;
		position: relative;
		margin: -6px 6px 6px -6px;
	}

/* Popup styling. */
.popup_container {
	position: absolute;
	left: 100px;
	top: 100px;
	width: 400px;
	z-index: 1010; /* Make popups appear above the window_blocker at 1000. */
}
.popup_container_dragging {
	opacity: 0.75;
}
.popup_container_resizing {
	opacity: 0.75;
}
.popup_title {
	padding: 2px 4px 2px 4px;
	color: #fff;
	background-color: #941515;
	height: 1.2em;
}
.popup_title_empty {
	padding: 0;
	margin: 0;
	height: 0;
}
.popup_title_text {
	float: left;
	font-weight: bold;
}
.popup_title_buttons {
	float: right;
	vertical-align: top;
}
.popup_title_buttons a {
	font-family: sans-serif;
	font-size: 10pt;
	color: #fff;
	font-weight: bold;
	vertical-align: middle;
}
.popup_title_buttons a:hover {
	color: #fff;
}
.popup_resize_handle {
	cursor: s-resize;
	width: auto;
	height: 10px;
	background-color: #941515;
}
.popup_body {
	clear: both;
	padding: 4px 8px 4px 8px;
	overflow: auto;
	color: #000;
	background-color: #FFE57B; /* Was: #fff; */
	border-top: 1px solid #941515;
	border-right: 1px solid #941515;
	border-bottom: 1px solid #941515;
	border-left: 1px solid #941515;
	font-weight: normal;
}

/* Main page container. */
#container {
	margin: 40px 60px;
	/* Was: background-color: #fff; */
}

/* Page header. */
#header {
	padding-top: 20px; /* Was 40px; */
	padding-bottom: 0px;
	border-bottom: 1px solid #941515;
}
	#header .left {
		float: left;
		position: relative;
		bottom: 45px;
	}
	#header .right {
		float: right;
		position: relative;
		bottom: 40px;
	}
	#header h1 {
		display: none;
	}
	#header img.logo {
		display: inline;
	}
	#header a.skip {
		display: none;
	}
	#subtitle {
		font-weight: bold;
		font-size: 8pt;
		position: relative;
		top: 24px;
	}

/* Navigation bar (tab items). */
#navigation {
	clear: both;
	margin-bottom: 0.5em;
}
	#navigation a {
		font-weight: bold;
	}
	#navigation h2 {
		display: none;
	}
	#navigation ul {
		margin: 0;
		padding: 0 0 1px 0;
		border-bottom: 1px solid #941515;
	}
	#navigation ul li {
		display: inline;
		margin: 0 0 0 1em;
		padding: 3px 1em 1px 1em;
		font-weight: bold;
	}

/* Content container (tab divs). */
#content {
	min-height: 580px; /* Set to this height to make iphone screenshot fit. Was 300px; */
	
}
	#content .tab {
		margin: 4px 4px 4px 0px;
		min-height: 300px;
	}
	#content h2 {
		display: none;
	}
	#content h3 {
		display: none;
	}

/* Footer div. */
#footer {
	margin-top: 0px;
	border-top: 1px solid #941515;
	font-size: 8pt;
	font-weight: bold;
}
	#footer a:link, 
	#footer a:visited {
		color: #000;
		font-weight: bold;
	}
	#footer a:link:hover, 
	#footer a:visited:hover,
	#footer a:active {
		color: #941515;
	}
	#footer h2 {
		display: none;
	}
	#footer ul {
		display: inline;
		margin: 0;
		padding: 0;
	}
	#footer ul li {
		display: inline;
	}
	#footer span.copyright {
		float: left;
	}
	#footer ul.navigation {
		position: relative;
		float: left;
		left: 30%;
	}
	#footer ul.meta {
		float: right;
	}
	
/* Classes used by Util.TabManager. */
ul li.tab_item {
}
div.tab_div {
	padding-top: 10px;
}
ul li.tab_unselected {
	/* Was: background-color: #fff; */
	background-color: #ffe57b;
	
}
ul li.tab_unselected a:link,
ul li.tab_unselected a:visited,
ul li.tab_unselected a:link:hover,
ul li.tab_unselected a:visited:hover, 
ul li.tab_unselected a:active {
	color: #000;
}
ul li.tab_unselected a:link:hover,
ul li.tab_unselected a:visited:hover {
	color: #000;
}
ul li.tab_selected {
	background-color: #941515;
}
ul li.tab_selected a:link,
ul li.tab_selected a:visited,
ul li.tab_selected a:link:hover,
ul li.tab_selected a:visited:hover, 
ul li.tab_selected a:active {
	color: #fff;
}
	
/* Form customization for contact. */
.contact li label {
	width: 13em;
}
.contact li div {
}

/* Form customization for associations. */
.associations li label {
	width: 6.6em;
	padding-right: 0;
	border-right: 0 none;
}
.associations li div {
	margin: 0;
	padding: 0;
	padding-left: 0.4em;
	margin-left: 7em; /* Sum of label width, and pading-right, margin-right of form label. */
	border-left: 1px solid #941515;
}

/* Form customization for CV. */
.cv li label {
	width: 5em; /* Was: 12em */
	padding-right: 0;
	border-right: 0 none;
	white-space: nowrap;
}
.cv li div {
	margin: 0;
	padding: 0;
	padding-left: 0.4em;
	margin-left: 15.4em; /* Was: 12.4em, Sum of label width, and padding-right, margin-right of form label. */
	border-left: 1px solid #941515;
	min-height: 3em;
}
.cv li ul li {
	list-style-type: square;
}
.cv li ul li label {
	color: #000;
	font-weight: normal;
	font-style: italic;
	float: none;
	display: inline;
}
.cv li ul li label span {
	font-style: normal;
}
.cv li ul li div {
	margin-left: 0.5em;
}

img.homepage_screenshot {
    display: inline;
    padding-top: 50px;
    padding-left: 10px;
}

.widgetpage_screenshot {
    border: 1px solid #000;
}

#div_twitter {
    float: right;
}


/* Android tab */
#htcphone {
    background-image: url('../img/htc_phone.png');
    background-repeat: no-repeat;
    background-position: 17px top;
    width: 290px;
    height: 443px;
    padding-top: 65px;
    /* float: left;  */
}

#phonecontent {
    width: 190px;
    height: 280px;
    margin-left: 40px;
    overflow: hidden;
    background-color: #000;
}

.screenshot
{
    width: 190px;
    float: left;
}

#screenshots {
    width: 3000px;
    background-color: black;
}

