/* HTML5 Boilerplate  */

@import url(/js/widget/fancybox/jquery.fancybox-1.3.4.css);

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; }
[hidden] { display: none; }

html { font-size: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
html, button, input, select, textarea { font-family: sans-serif; color: #000; }
body { margin: 0; font-size: 1em; line-height: 1.4; }

::-moz-selection { background: #fe57a1; color: #fff; text-shadow: none; }
::selection { background: #fe57a1; color: #fff; text-shadow: none; }

a { color: #00e; }
a:visited { color: #fff; }
a:hover { color: #fff; }
a:focus { outline: thin dotted; }
a:hover, a:active { outline: 0; }
abbr[title] { border-bottom: 1px dotted; }
b, strong { font-weight: bold; }
blockquote { margin: 1em 40px; }
dfn { font-style: italic; }
hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }
ins { background: #ff9; color: #000; text-decoration: none; }
mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }
pre, code, kbd, samp { font-family: monospace, serif; _font-family: 'courier new', monospace; font-size: 1em; }
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }

q { quotes: none; }
q:before, q:after { content: ""; content: none; }
small { font-size: 85%; }
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }

ul, ol { margin: 1em 0; padding: 0 0 0 40px; }
dd { margin: 0 0 0 40px; }
nav ul, nav ol { list-style: none; list-style-image: none; margin: 0; padding: 0; }

img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }
svg:not(:root) { overflow: hidden; }
figure { margin: 0; }

form { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; }

label { cursor: pointer; }
legend { border: 0; *margin-left: -7px; padding: 0; white-space: normal; }
button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }
button, input { line-height: normal; }
button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; *overflow: visible; }
button[disabled], input[disabled] { cursor: default; }
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; padding: 0; *width: 13px; *height: 13px; }
input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
input[type="search"]::-webkit-search-decoration, input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }
textarea { overflow: auto; vertical-align: top; resize: vertical; }
input:valid, textarea:valid {  }
input:invalid, textarea:invalid { background-color: #f0dddd; }

table { border-collapse: collapse; border-spacing: 0; }
td { vertical-align: top; }

.chromeframe { margin: 0.2em 0; background: #ccc; color: black; padding: 0.2em 0; }

/* ==|== primary styles =====================================================
   Author: Ty Dennis
   ========================================================================== */
html { background: #7eb0cc; }
body { width: 960px; margin: 0 auto; text-align: center; font-family: "Myriad Pro", Helvetica, Arial, sans-serif; font-size: 13px; letter-spacing: 0.03em; }

/* ============================================================
	Default 
============================================================ */

h1,h2,h3,h4,h5,h6 { margin: 1em 0; font-family: "facitweb-1","facitweb-2",sans-serif; font-weight: bold; }
h2 { color: #000; font-size: 38px; letter-spacing: 0.05em; text-shadow: 0 1px 0 rgba(255,255,255,0.2); }
h3 { color: #fff; font-size: 20px; margin-bottom: -5px; text-shadow: 0 1px 0 rgba(0,0,0,0.2); }
h4 { font-size: 15px; letter-spacing: 0.05em; margin: 5px 0; padding: 5px; color: #b34a00; border-bottom: 1px solid #a4c5d8; }
h5, h6 { font-size: 13px; }

p, ul { margin: 10px 0 20px 0; line-height: 160%; font-weight: 300; }
small { font-size: 11px; }	

a { color: #fff; text-decoration: none; }
a:hover, a:active { text-decoration: underline; cursor: pointer; color: #fff; }
	
a.button { background: #b34a00; margin: 0; padding: 5px; display: block; font-size: 16px; letter-spacing: 0.03em; text-align: center; text-shadow: 0 1px 0 rgba(0,0,0,0.2); -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; box-shadow: 0 1px 0 rgba(255,255,255,0.3), inset 0 1px 0 rgba(0,0,0,0.2); }
a.button:hover, a.button:focus { background: #333333; text-decoration: none; -webkit-transition: all 0.3s ease; -moz-transition: all 0.3s ease; -o-transition: all 0.3s ease; transition: all 0.3s ease; color: #fff; }

/* === clearfix === */
.clear { clear: both; }
.clearfix:after { visibility: hidden; display: block; font-size: 0; content: " "; clear: both; height: 0; }
* html .clearfix             { zoom: 1; } /* IE6 */
*:first-child+html .clearfix { zoom: 1; } /* IE7 */

/* ============================================================
	Header
============================================================ */

header[role="banner"] h1 a { color: #000; font-size: 120px; margin: 0; text-decoration: none; text-shadow: 3px 3px 0 #7eb0cc, 5px 5px 0 #000, 6px 6px 0 rgba(255,255,255,0.2); }
header[role="banner"] h1 a:hover { text-decoration: none; }

header[role="banner"] h2 { font-family: "swister-1","swister-2",sans-serif; font-size: 28px; font-weight: 300; color: #fff; float: right; margin: -65px 200px 0 0px; text-transform: none; text-shadow: 0 1px 0 rgba(0,0,0,0.2); }
header[role="banner"] h3 { font-size: 40px; color: #fff; margin: 75px 0; text-shadow: 0 1px 0 rgba(10,10,10,0.3); }

/* ============================================================
	Main Content
============================================================ */

/* === recent work === */
.recent-work { background: #fff; background: rgba(255,255,255,0.2); border: 1px solid rgba(255,255,255,.7); padding: 7px; }
.recent-work ul { background: #fff url(/img/layout/work-bg.png);  border: 1px solid #fff; padding: 1px; margin: 0; overflow: hidden; -moz-box-shadow: 1px 1px 1px rgba(0,0,0,0.2), -1px -1px 1px rgba(0,0,0,0.2); -webkit-box-shadow: 1px 1px 1px rgba(0,0,0,0.2), -1px -1px 1px rgba(0,0,0,0.2); box-shadow: 1px 1px 1px rgba(0,0,0,0.2), -1px -1px 1px rgba(0,0,0,0.2); }
.recent-work li { display: inline; margin: 0; }
.recent-work li a { float: left; display: block; background: url(/img/content/thumbnail-bg.png) no-repeat; height: 172px; width: 172px; margin: 25px 8px; padding: 0; }

.recent-work img { margin: 5px 0 0 0; border: 3px solid #fff; -moz-box-shadow: 0 0 1px rgba(0,0,0,0.4);  -webkit-box-shadow: 0 0 1px rgba(0,0,0,0.4);  box-shadow: 0 0 1px rgba(0,0,0,0.4); }
.recent-work img:hover { cursor: pointer; border: 3px solid #000; -moz-box-shadow: 0 0 2px rgba(0,0,0,0.6); -webkit-box-shadow: 0 0 2px rgba(0,0,0,0.6); box-shadow: 0 0 2px rgba(0,0,0,0.6); }

.recent-work p { float: left; position: relative; left: 172px; top: -15px; text-decoration: none; background: #fff; padding: 4px; box-shadow: 1px 1px 1px rgba(0,0,0,0.1), -1px 1px 1px rgba(0,0,0,0.1); }

/* === about me === */	
.about-me { float: left;  width: 670px;  margin-bottom: 40px; text-align: left;  }
.click-me { margin: 0; padding: 0; }
.click-me li { display: inline; }
.click-me li a { float: left; width: 150px; margin-right: 50px; }

/* === skills === */
ul.skills {
	padding: 0;
	margin-left: 0;
	margin-right: 0;
	-webkit-column-count: 3;  
    -webkit-column-gap: 10px;  
    -moz-column-count: 3;  
    -moz-column-gap: 10px;  
    column-count: 3;  
    column-gap: 10px;
}

/* ============================================================
	 Complementary
============================================================ */
aside[role="complementary"] { width: 240px;  float: right; }
aside[role="complementary"] nav { background: #fff; background: rgba(255,255,255,0.4); color: #333; margin: 20px 0; padding: 5px; text-align: left; border: 1px solid #fff; border: 4px solid rgba(255,255,255,0.7); -moz-box-shadow: 0 0 4px rgba(0,0,0,0.2); -webkit-box-shadow: 0 0 4px rgba(0,0,0,0.2); box-shadow: 0 0 4px rgba(0,0,0,0.2); text-shadow: 0 1px 0 rgba(255,255,255,0.2); }
aside[role="complementary"] ul { margin-bottom: 5px; }
aside[role="complementary"] li { border-bottom: 1px dashed #a4c5d8; }
.interest li { padding: 5px 0 5px 25px; background: url(/img/content/icons/check.png) 5px 10px no-repeat; }
.books li { padding: 5px 0 5px 25px; background: url(/img/content/icons/book.png) 5px 5px no-repeat; }
.websites li { padding: 5px 0 5px 25px; background: url(/img/content/icons/blogs.png) 5px 5px no-repeat; }
.reading li a { color: #333;}
.reading ul li:first-child, .reading ul li.heading h5 { background: none; margin: 0; padding: 5px 0 5px 5px; font-size: 12px; }
.reading ul li:last-child { border-bottom: none; }

/* ============================================================ 
	Contact 
============================================================ */
.contact { margin: 20px 0; text-align: center; }

/* --- social networks --- */
.contact ul { width: 420px; margin: 0 auto; padding: 0; } 
.contact li { display: inline; }
.contact li a { display: block; float: left; height: 56px; background: url(/img/content/social.png) no-repeat; text-indent: -9999px; opacity: 0.1; -webkit-transition: all 0.2s ease; -moz-transition: all 0.2s ease; -o-transition: all 0.2s ease; transition: all 0.2s ease; }	
.contact li a:hover { opacity: 1; }

.contact li a.twitter { width: 70px; background-position: 0 0; margin-left: -5px; }
.contact a.forrst { width: 70px; background-position: -70px 0; }
.contact a.github { width: 70px; background-position: -141px 0; }
.contact a.tumblr { width: 70px; background-position: -215px 0; }
.contact a.linkedin { width: 70px; background-position: -287px 0; }
.contact a.email { width: 70px; background-position: -361px 0; }

.contact li a.twitter:hover { width: 70px; background-position: 0 -56px; }
.contact a.forrst:hover { width: 70px; background-position: -70px -56px; }
.contact a.github:hover { width: 70px; background-position: -141px -56px; }
.contact a.tumblr:hover { width: 70px; background-position: -215px -56px; }
.contact a.linkedin:hover { width: 70px; background-position: -287px -57px; }
.contact a.email:hover { width: 71px; background-position: -361px -57px; }

/* ============================================================
	Footer
============================================================ */
footer[role="contentinfo"]  { margin-top: 30px;  padding: 20px;	border-top: 1px solid rgba(255,255,255,0.2); box-shadow: 0 -1px 0 rgba(10,10,10,0.1); }


.ir { display: block; border: 0; text-indent: -999em; overflow: hidden; background-color: transparent; background-repeat: no-repeat; text-align: left; direction: ltr; *line-height: 0; }
.ir br { display: none; }
.hidden { display: none !important; visibility: hidden; }
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }
.invisible { visibility: hidden; }
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { *zoom: 1; }

@media print {
  * { background: transparent !important; color: black !important; box-shadow:none !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } 
  a, a:visited { text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; } 
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; } 
  tr, img { page-break-inside: avoid; }
  img { max-width: 100% !important; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3 { page-break-after: avoid; }
}
