html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  outline: none;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
html { overflow-y: scroll; }
body { 
  background: #f0f0f0; 
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: #313131;
  font-size: 62.5%; 
  line-height: 1; 
}

::selection { background: #aaaaee; }
::-moz-selection { background: #aaaaee; }
::-webkit-selection { background: #aaaaee; }

::-webkit-input-placeholder { /* WebKit browsers */
  color: #ccc;
  font-style: italic;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
  color: #ccc;
  font-style: italic;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
  color: #ccc;
  font-style: italic;
}
:-ms-input-placeholder { /* Internet Explorer 10+ */
  color: #ccc !important;
  font-style: italic;  
}

br { display: block; line-height: 2.2em; }
hr { width: 75%; border: 1px solid #ccc; margin-bottom: 15px; }

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; }
ol, ul { list-style: none; }

input, textarea { 
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  outline: none; 
}

blockquote, q { quotes: none; }
blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none; }
b,strong { font-weight: bold; } 
i,em { font-style: italic; }

table { border-collapse: collapse; border-spacing: 0; }
img { border: 0; max-width: 100%; }

#topbar {
  background: #4f4a41;
  padding: 10px 0 10px 0;
  text-align: center;
  height: 36px;
  overflow: hidden;
}
#topbar a {
  color: #fff;
  font-size:1.3em;
  line-height: 1.25em;
  text-decoration: none;
  opacity: 0.5;
  font-weight: bold;
}
#topbar a:hover {
  opacity: 1;
}

/** typography **/
h1 {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 2.5em;
  line-height: 1.5em;
  letter-spacing: -0.05em;
  margin-bottom: 10px;
  padding: .1em 0;
  color: #444;
	position: relative;
	overflow: hidden;
	white-space: nowrap;
	text-align: center;
}
h1:before,
h1:after {
  content: "";
  position: relative;
  display: inline-block;
  width: 50%;
  height: 3px;
  vertical-align: middle;
  background: #f0f0f0;
}
h1:before {    
  left: -.5em;
  margin: 0 0 0 -50%;
}
h1:after {    
  left: .5em;
  margin: 0 -50% 0 0;
}
h1 > span {
  display: inline-block;
  vertical-align: middle;
  white-space: normal;
}


h2 {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 2.0em;
  line-height: 1.4em;
  letter-spacing: -0.02em;
  margin-bottom: 11px;
  padding: .1em 0;
  color: #444;
  font-weight: bold;
	overflow: hidden;
}

h3 {
  font-size: 1.5em;
  line-height: 1.3em;
  margin-bottom: 5px;
  letter-spacing: normal;
  font-weight: bold;
  text-decoration: underline;
  text-transform: uppercase;
  color: #555;

}

p {
  display: block;
  font-size: 1.35em;
  line-height: 1.5em;
  margin-bottom: 18px;
  color: #444;
}

div.expinfo ul li {
  font-size: 1.35em;
  line-height: 1.5em;
  color: #444;
  list-style: square;
  list-style-position: outside;
  margin-left: 30px;
  padding-bottom: 3px;
}

a { color: #4e4597; text-decoration: none; }
a:hover { text-decoration: underline; }

.center { display: block; text-align: center; }

/** page structure **/
#w {
  display: block;
  max-width: 700px;
  margin: 0 auto;
  padding: 30px 15px 45px 15px;
}

#content {
  display: block;
  width: 100%;
  background: #fff;
  padding: 12px 20px 25px 20px;
  padding-bottom: 35px;
  -webkit-box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 2px 0px;
  -moz-box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 2px 0px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 2px 0px;
}

.hideme {
  display: none;
}


/** navigation **/
#topnav {
  display: block;
  width: 100%;
  text-align: center;
  margin-bottom: 10px;
}

#topnav ul { list-style: none; }
#topnav ul li {
  display: block;
  float: left;
  margin-right: 6px;
}
#topnav ul li a {
  display: inline-block;
  border: 2px solid #bbbbd3;
  color: #8080a4;
  font-size: 1.2em;
  line-height: 2.0em;
  font-weight: bold;
  text-transform: uppercase;
  text-shadow: 1px 1px 0 rgba(255,255,255,0.85);
  vertical-align: middle;
  text-decoration: none;
  padding: 0px 10px;
  margin-right: 2px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  -webkit-transition: all 0.2s linear;
  -moz-transition: all 0.2s linear;
  -o-transition: all 0.2s linear;
  -ms-transition: all 0.2s linear;
  transition: all 0.2s linear;
}
#topnav ul li a:hover {
  border-color: #9090cc;
  color: #808099;
  background: #eeeeff;
}

#topnav ul li a.sel { 
  border-color: #8080AA;
  color: #606090;
  background: #eeeeff;
}

img#linkedin {
  margin-bottom: 16px;
}
/** vcard styles **/
#portrait {
  display: block;
  float: right;
  margin-left: 10px;
  margin-bottom: 5px;
}
#portrait img {
  -webkit-border-radius: 7px;
  -moz-border-radius: 7px;
  border-radius: 7px;
}

.expinfo {
  display: block;
  width: 100%;
  border-bottom: 2px solid #8888dd;
  margin-bottom: 10px;
  padding-bottom: 5px;
}
.expinfo h3 {
  text-decoration: none;
  color: #777;
}
.expinfo h4 {
  font-size: 1.4em;
  font-weight: bold;
  color: #959595;
  margin-bottom: 5px;
}
.expinfo p {
  margin-bottom: 7px;
  color: #696969;
}

.skillbar {
  position: relative;
  display: block;
  width: 100%;
  height: 25px;
  background: #eee;
  margin-bottom: 10px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}

.skillbar-title {
  position: absolute;
  top: 0;
  left: 0;
  font-weight: bold;
  font-size: 12px;
  color: #fff;
  -webkit-border-top-left-radius: 3px;
  -webkit-border-bottom-left-radius: 4px;
  -moz-border-radius-topleft: 3px;
  -moz-border-radius-bottomleft: 3px;
  border-top-left-radius: 3px;
  border-bottom-left-radius: 3px;
  background: #7793d2;
  width: 100%;
}
.skillbar-title span {
  display: block;
  height: 25px;
  line-height: 25px;
  padding-left: 15px;
  -webkit-border-top-left-radius: 3px;
  -webkit-border-bottom-left-radius: 3px;
  -moz-border-radius-topleft: 3px;
  -moz-border-radius-bottomleft: 3px;
  border-top-left-radius: 3px;
  border-bottom-left-radius: 3px;
}




/** contact form styles **/
#contactform {
  display: block;
  margin-bottom: 10px;
}

#contactform label {
  display: block;
  font-size: 1.2em;
  font-weight: bold;
  color: #676767;
  margin-bottom: 3px;
}

#contactform .basic {
  width: 50%;
  padding: 3px 4px;
  font-family: Arial, Tahoma, sans-serif;
  font-size: 1.4em;
  color: #777;
  margin-bottom: 17px;
}
#contactform #usrmsg {
  width: 70%;
  height: 140px;
  padding: 5px 6px;
  font-family: Arial, Tahoma, sans-serif;
  font-size: 1.35em;
  color: #777;
  margin-bottom: 15px;
}

#submitbtn {
  position: relative;
  display: block;
  cursor: pointer;
  margin-bottom: 5px;
  margin-top: 10px; 
  border: 0;
  padding: 8px 12px;
  font-size: 1.2em;
  font-weight: bold;
  color: #fff;
  background: #6666aa;
  -webkit-border-radius: 7px;
  -moz-border-radius: 7px;
  border-radius: 7px;
}
#submitbtn:hover { background: #7777bb; }
#submitbtn:active { top: 1px; }


/** clearfix **/
.clearfix:after { content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0; }
.clearfix { display: inline-block; }
 
html[xmlns] .clearfix { display: block; }
* html .clearfix { height: 1%; }


/** responsive styles **/
@media screen and (max-width: 550px) {
  #portfoliolist li, #portfoliolist li.alt { float: none; width: 100%; } 
}

@media screen and (max-width: 450px) {
  h1 { font-size: 2.0em; }
  h2 { font-size: 1.7em; }
  
  #topnav ul { display: block;  width: 100%; }
  #topnav ul li { display: block; float: none; margin-bottom: 6px; }
  #topnav ul li a { display: block; width: 100% !important; }
  
  #portrait { width: 100px; }
  

  
  #contactform .basic { width: 70%; }
  #contactform #usrmsg { width: 90%; }
}