/**
 * Reset
 */
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, code,
del, dfn, em, img, q, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
  margin: 0;
  padding: 0;
  border: 0;
  font-weight: inherit;
  font-style: inherit;
  font-size: 100%;
  font-family: inherit;
  vertical-align: baseline;
}

body { 
  line-height: 1.5; 
}

/* Tables still need 'cellspacing="0"' in the markup. */
table { border-collapse: separate; border-spacing: 0; }
caption, th, td { text-align: left; font-weight: normal; }
table, td, th { vertical-align: middle; }

/* Remove possible quote marks (") from <q>, <blockquote>. */
blockquote:before, blockquote:after, q:before, q:after { content: ""; }
blockquote, q { quotes: "" ""; }

a img { border: none; } 

/**
 * Styles
 */

body { 
  font-size: 75%; /* (0.75 * 16px = 12px) */
  color: #000; 
  font-family: Arial, Helvetica, sans-serif;
  text-align: center;
} 

h1,h2,h3,h4,h5,h6 {
 font-weight: normal;
 color: #000;
}

h1 { font-size: 2.4em; line-height: 1; margin-bottom: 0.5em; }
h2 { font-size: 2em; margin-bottom: 0.35em; color: #b5b5b5; }
h3 { font-size: 1.5em; line-height: 1; margin-bottom: 1em; }
h4 { font-size: 1.2em; line-height: 1.25; margin-bottom: 1.25em; height: 1.25em; }
h5 { font-size: 1em; font-weight: bold; margin-bottom: 1.5em; }
h6 { font-size: 1em; font-weight: bold; } 

li ul, 
li ol       { margin:0 1.5em; }
ul, ol      { margin: 0 1.5em 1.5em 1.5em; }

ul          { list-style-type: disc; }
ol          { list-style-type: decimal; }

dl          { margin: 0 0 1.5em 0; }
dl dt       { font-weight: bold; }
dd          { margin-left: 1.5em;} 

p {
  margin: 0 0 0.8em;
  color: #333;
}

a:focus, 
a:hover {
  color: #000;
  background-color: #F2F2F2;  
}
a {
  color: #009;
  text-decoration: underline;
}

/* common styles */
.small { font-size: .8em; }
.large { font-size: 1.2em; }
.hide  { display: none; }
.clear { clear:both; }
.left {float: left}
.right {float: right}

/* forms */
label {
  font-weight: bold;
}
fieldset {
  padding:1.4em;
  margin: 0 0 1.5em 0;
  border: 1px solid #ccc;
}
legend {
  font-weight: bold;
  font-size:1.2em;
} 

input.text, input.title,
textarea, select {
  margin:0.5em 0;
  border:1px solid #bbb;
}

input.text:focus, input.title:focus,
textarea:focus, select:focus {
  border:1px solid #666;
}

input.text, 
input.title  {
  width: 300px;
  padding:5px;
}
input.title {
  font-size:1.5em;
}
textarea {
  width: 390px;
  height: 250px;
  padding:5px;
} 

/* messages */
.error,
.notice, 
.success {
  padding: .8em;
  margin-bottom: 1em;
  border: 2px solid #ddd;
}

.error {
  background: #FBE3E4;
  color: #8a1f11;
  border-color: #FBC2C4;
}
.notice {
  background: #FFF6BF;
  color: #514721;
  border-color: #FFD324;
}
.success {
  background: #E6EFC2;
  color: #264409;
  border-color: #C6D880;
}


/* custom styles */
#wrapper {
  margin: 10px auto 10px auto;
  width: 720px;    
  text-align: left;  
}

#main {
  color: #000;
  background: #fff;
  padding: 20px;   
}

#content {
	margin-top: 1.5em;
}

#footer {
  text-align: center;
}

#logo {
  font-size: 3.1em;
  width: 260px;  
  margin-bottom: 1.1em;
  border-right: 1px solid #B5B5B5;
}
#logo a {    
  color: #000;
  display: block;
  font-size: 1.0em;
  overflow: hidden;
  text-decoration: none;
  width: 250px;
  height: 48px;
  position: relative;
}
#logo a span {
  background: transparent url(../images/logo.png) no-repeat scroll 0 0;
  height: 48px;
  width: 250px;
  position: absolute;
  top: 0;
  left: 0;
  cursor: pointer;
}

.slogan {
  color: #333;
}

.info {		
	margin-left: 270px;
	padding: 0.5em 0 0 0;	
}

.info h1 {
	font-size: 1.5em;
	color: #000;
}

/* menu */
ul.menu {
  list-style: none;
  margin: 0;
}

ul.menu li {
   float: left;
   margin-right: 20px;
}

ul.menu li.last {
   margin-right: 0; 
}

ul.menu li a {
  display: block;
  padding: 1px 10px 1px 10px;
  color: #333;
  text-decoration: none;
  font-size: 1.5em;
  background-color: #F2F2F2;
}

ul.menu li a:focus,
ul.menu li a:hover,
ul.menu li a.active {
  background-color: #D4D4D4;  
}

/* projects */
.projects {
	margin: 2em 0;
	overflow: auto;	
}

.projects h3 {
	color: #ff4100;
	/*color: #000;*/
	margin-bottom: 0.3em;	
}

/* about */
.about-image {
	border: 1px solid #D4D4D4;
	float: left;
	margin: 0 0.8em 0.5em 0;
	padding: 0.3em;
}

.projects .project {
	float: left;
	padding-right: 1em;
	width: 49%;
}
.projects .last {
	padding-right: 0;
}

.online-links {
	list-style: none;
	margin: 0;
	float: left;	
}

.online-links li {
	/*float:left;*/
	margin: 0 2em 0 0;
}

.online-links li a {	
	padding-left: 48px;	
	display: block;
	line-height: 3.6em;
}
.online-links li a:focus,
.online-links li a:hover {
	background-color: white;
}

.linkedin-link {
	background: url(../images/linkedin_48.png) no-repeat;
}
.twitter-link {
	background: url(../images/twitter_48.png) no-repeat;
}

/* resume */
.resume h3 {
	color: #B5B5B5;
}

.resume ul {
	margin-left: 3em;
}

.resume h4 {
	margin-bottom: 0.4em;
}

.resume .jobs li{
	margin-bottom: 0.9em;
}

.pdf-link {
	padding-left: 35px;	
	display: block;
	line-height: 3.0em;
	background: url(../images/pdf_32.png) no-repeat;	
}

/* learn */
.books {
	margin: 1em 0;
}

.books table {
	width: 100%;
}

.books table td {
	width: 33%;
	text-align: center;
	padding-bottom: 2em;
}





/* contacts */
.contact-entry {
	margin-bottom: 1em;
}

.contact-entry h3 {
	color: #B5B5B5;
	margin-bottom: 0.2em;
}

.contact-entry p {
	font-size: 1.5em;
	padding-left: 1em;
}

