/* 	HTML5 Boilerplate
html5doctor.com Reset Stylesheet (Eric Meyer's Reset Reloaded + HTML5 baseline)
v1.4 2009-07-27 | Authors: Eric Meyer & Richard Clark */

html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video 
{   
    margin:0;
    padding:0;
    border:0;
    outline:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}  
                
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section 
{ 
    display:block;
}

ul { list-style:none; }
blockquote, q { quotes:none; }
blockquote:before, blockquote:after,
q:before, q:after { content:''; content:none; }
a { margin:0; padding:0; font-size:100%; vertical-align:baseline; background:transparent; }
ins { background-color:#ff9; color:#000; text-decoration:none; }
mark { background-color:#ff9; color:#000; font-style:italic; font-weight:bold; }
del { text-decoration: line-through; }
abbr[title], dfn[title] { border-bottom:1px dotted; cursor:help; }
table { border-collapse:collapse; border-spacing:0; }
hr { display:block; height:1px; border:0; border-top:1px solid #ccc; margin:1em 0; padding:0; }
input, select { vertical-align:middle; }

/* End of Reset CSS 

fonts.css from the YUI Library: developer.yahoo.com/yui/ */

body { font:13px/1.231 arial, sans-serif; *font-size:small; } /* hack retained to preserve specificity */
select, input, textarea, button { font:99% sans-serif; }
pre, code, kbd, samp { font-family: monospace, sans-serif; }

/* HTML5 Boilerplate - minimal base styles */

body, select, input, textarea 
{ 
    color: #4d4d4d; 
}

h1,h2,h3,h4,h5,h6 { font-weight: bold; }
html { overflow-y: scroll; }
a:hover, a:active { outline: none; }
a, a:active, a:visited { color: #1e64c5; text-decoration: none; }
a:hover { color: #283374; }
ol { list-style-type: decimal; }
nav ul, nav li { margin: 0; } 
small { font-size: 85%; }
strong, th { font-weight: bold; }
td, td img { vertical-align: top; } 
sub { vertical-align: sub; font-size: smaller; }
sup { vertical-align: super; font-size: smaller; }
pre { 
  padding: 15px; 
  white-space: pre; /* CSS2 */
  white-space: pre-wrap; /* CSS 2.1 */
  white-space: pre-line; /* CSS 3 (and 2.1 as well, actually) */
  word-wrap: break-word; /* IE */
}
textarea { overflow: auto; } /* thnx ivannikolic! www.sitepoint.com/blogs/2010/08/20/ie-remove-textarea-scrollbars/ */
.ie6 legend, .ie7 legend { margin-left: -7px; } /* thnx ivannikolic! */
input[type="radio"] { vertical-align: text-bottom; }
input[type="checkbox"] { vertical-align: bottom; }
.ie7 input[type="checkbox"] { vertical-align: baseline; }
.ie6 input { vertical-align: text-bottom; }
label, input[type=button], input[type=submit], button { cursor: pointer; }
button, input, select, textarea { margin: 0; }
input:valid, textarea:valid   {  }
input:invalid, textarea:invalid { 
      border-radius: 1px;
    -moz-box-shadow: 0px 0px 5px red; 
 -webkit-box-shadow: 0px 0px 5px red; 
         box-shadow: 0px 0px 5px red;
}
.no-boxshadow input:invalid, 
.no-boxshadow textarea:invalid { background-color: #f0dddd; }

/* By default the selection color is pink */
::-moz-selection{ background: #8f8e8e; color:#fff; text-shadow: none; }
::selection { background:#8f8e8e; color:#fff; text-shadow: none; } 
a:link { -webkit-tap-highlight-color: #8f8e8e; } 
button {  width: auto; overflow: visible; }
.ie7 img { -ms-interpolation-mode: bicubic; }

/* Non-semantic helper classes */

/* for image replacement */
.ir { display: block; text-indent: -999em; overflow: hidden; background-repeat: no-repeat; text-align: left; direction: ltr; }

/* Hide for both screenreaders and browsers */
.hidden { display: none; visibility: hidden; } 

/* Hide only visually, but have it available for screenreaders */
.visuallyhidden  
{
  position: absolute !important;    
  clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
  clip: rect(1px, 1px, 1px, 1px); 
}

/* Hide visually and from screenreaders, but maintain layout */
.invisible { visibility: hidden; }

/* Clearfix */
.clearfix:before, .clearfix:after { content: "\0020"; display: block; height: 0; visibility: hidden;	} 
.clearfix:after { clear: both; }
.clearfix { zoom: 1; }
		
/*  CSS3 Media queries */

@media all and (orientation:portrait) {}
@media all and (orientation:landscape) {}
@media screen and (max-device-width: 480px) {}
@media print {
    * { background: transparent !important; color: #444 !important; text-shadow: none !important; }
    a, a:visited { color: #444 !important; text-decoration: underline; }
    a:after { content: " (" attr(href) ")"; } 
    abbr:after { content: " (" attr(title) ")"; }
    .ir a:after { content: ""; }  /* Don't show links for images */
    pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
    thead { display: table-header-group; } /* css-discuss.incutio.com/wiki/Printing_Tables */ 
    tr, img { page-break-inside: avoid; }
    @page { margin: 0.5cm; }
    p, h2, h3 { orphans: 3; widows: 3; }
    h2, h3{ page-break-after: avoid; }
}

/* @font-face */

/* Styles Begin Here */

body { background: url(../../images/bg.jpg) repeat-x; width: 932px; margin: 0 auto; font-family: Helvetica, Arial, sans-serif; }

h2 { text-shadow: 0px 1px 0px #fff; font-size: 18px; font-weight: bold; margin-bottom: 1em; color: #4d4d4d; }
p { text-shadow: 0px 1px 0px #fff; font-size: 14px; line-height: 1.4; margin-bottom: 1em; color: #4d4d4d; }

header { width: 922px; height: 60px; padding: 0px 5px; }
header a { width: 91px; height: 51px; background: url(../../images/logo.png) top left; display: block; text-decoration: none; }

img.tagline { margin: 27px 5px 0 3px; }

section#work { width: 932px; height:491px; margin: 19px 0 0 0; padding: 33px 0 0 0;}

section#work article { width: 299px; height: 216px; position: relative; float: left; margin-bottom: 25px;}
section#work article.middle { margin-left: 16px; margin-right: 16px; }
section#work article a { width: 299px; height: 215px; background: url(../../images/work_frame.png) 0px 0px no-repeat; display: block; text-decoration: none; position: absolute; top: 0px; left: 0px; }
section#work article a:hover { background-position: 0px -215px; }

section#copy { width: 932px; height: 325px; }
section#copy article { float: left; height: 264px; padding-top: 30px; padding-bottom: 30px;}
section#copy article#aboutme { width: 282px; border-right: 1px solid #d4d3d3; padding-right: 20px; padding-left: 5px; }
section#copy article#onlineservices { width: 273px; border-left: 1px solid #fff; border-right: 1px solid #d4d3d3; padding-left: 20px; padding-right: 20px; }
section#copy article#letsworktogether { width: 278px; border-left: 1px solid #fff; padding-left: 25px; padding-right: 5px; }

section#copy article#onlineservices h2 { padding: 0 3px; margin-bottom: 0.85em; }
section#copy article#onlineservices p { padding: 0 3px; }
section#copy article#onlineservices a.icon { display: block; border: 0; width: 88px; height: 86px; text-decoration: none; float: left; margin-bottom: 1.25em; }
section#copy article#onlineservices a.twitter { background: url(../../images/online_twitter.png) top left; }
section#copy article#onlineservices a.dribbble { background: url(../../images/online_dribbble.png) top left; margin: 0 3px 1em 3px; }
section#copy article#onlineservices a.inkstagram { background: url(../../images/online_inkstagram.png) top left; }
section#copy article#onlineservices a:hover { background-position: bottom left; }

section#copy article#letsworktogether h2, section#copy article#letsworktogether p { padding-left: 2px; }
section#copy article#letsworktogether a.calltoaction { display: block; width:276px; height:39px; font-weight: bold; padding-top: 14px; float: left; text-align: center; text-shadow: 0px -1px 1px #283374; background: url(../../images/calltoaction.png) top left no-repeat; color:#fff; font-size: 14px;}
section#copy article#letsworktogether a.calltoaction:hover { background-position: 0 -53px; color:#fff;}
section#copy article#letsworktogether a.calltoaction:active { background-position: 0 -106px; padding-top: 18px; height: 35px;}

footer { width: 927px; height: 40px; padding-top: 25px; text-shadow: 0px 1px 0px #fff; font-size: 13px; padding-left: 5px; font-weight: bold; }