/*Start Rest*/
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, font, img, ins, kbd, q, s, samp,small, strike, strong, sub, sup, tt, var,dl, dt, dd, ol, ul, li,fieldset, form, label, legend,table, caption, tbody, tfoot, thead, tr, th, td {margin: 0;padding: 0;border: 0;outline: 0;font-weight: inherit;font-style: inherit;font-size: 100%;font-family: inherit;vertical-align: baseline;}
ul {list-style: none;}
a{text-decoration:none;}
table {border-collapse: separate;border-spacing: 0;}
caption, th, td {text-align: left;font-weight: normal;}
blockquote:before, blockquote:after,
q:before, q:after {content: "";}
blockquote, q {quotes: "" "";}

strong, b{font-weight:bold;}
em, i{font-style:italic;}
/*End Reset*/
a{color:#00A7E9; font-weight:bold;}
a:hover{color:#005EAD;}
body{background:url(images/bg.png) repeat-x 0 0 #E6E6E6; padding-top:11px; font-family:Verdana, Geneva, sans-serif;}
h1{font-size:36px; line-height:1.4; margin-bottom:8px;}
h1 a{color:#000;}
p{font-size:12px; line-height:1.5; margin-bottom:22px;}


#top{width:970px; margin:auto}
#logo {float:left; height:348px; margin:5px 42px 0 -1px; width:267px;}
#logo a{background:url(images/dbb.png) no-repeat 15px 0;height:348px;width:267px; display:block; text-indent:-9999px; }
#nav{float:left; width:658px; padding-top:20px; margin-top:5px;}
#nav a{background:url(images/nav.png) no-repeat 0 0; display:block; text-indent:-9999px; height:186px; float:left;}
#home a{width:110px; background-position:0 -29px; margin-right:32px;}
#blog a{width:104px; background-position:-142px -29px; margin-right:31px;}
#portfolio a{width:188px; background-position: -277px -29px; margin-right:33px;}
#contact a{width: 160px; background-position: 100% -29px;}
#menu{margin-left:14px;position:absolute;top:420px;width:220px; font-size:12px;}
#menu h2{font-weight:bold; font-size:16px; margin-bottom:10px;}
.home #home a{background-position:0 -459px;}
.page-id-143 #blog a, .single-post #blog a{background-position:-142px -459px;}
.portfolio #portfolio a{background-position: -277px -459px;}
.page-id-22 #contact a, .page-id-23 #contact a{background-position: 100% -459px;}

#home a:hover, .home #home a:hover{background-position:0 -244px;}
#blog a:hover, .page-id-143 #blog a:hover, .single-post #blog a:hover{background-position:-142px -244px;}
#portfolio a:hover, .portfolio #portfolio a:hover{background-position: -277px -244px;}
#contact a:hover, .page-id #contact a:hover, .page-id-23 #contact a:hover{background-position: 100% -244px;}

#content, div.post {float:left; margin-top:20px; padding-left:11px; width:649px;}
#content p{font-size:14px; line-height:1.6;}
#content p.date{color:#666; font-weight:bold;font-size:12px; margin-bottom:0px;}
#content p.postmetadata{font-size:13px; color:#333;}
.single-portfolio #content p.company{margin-bottom:5px; color:#333; font-size:13px;}
.single-portfolio #content p.skills{color:#333; font-size:13px;}
#content ul{margin:20px 0 25px;}
#content ul li{font-size:12px; background:url(images/li.png) no-repeat 0 6px; padding-left:15px; margin-bottom:4px;}
#content label{font-size:14px; color:#666; display:block; margin-bottom:0px;}
#content input.text{width:278px; height:18px; border:1px solid #FFF;}
#content textarea{width:638px; height:172px; border:1px solid #FFF; margin:0;}
#content textarea.textarea {margin-top:2px;}

div.form_row{clear:both; margin-bottom:10px;}

div.imgSmall{background:url(images/imgSmallBg.png) no-repeat 0 0; width:328px; height:226px; float:right; margin:3px 0 20px 20px; padding:14px 0 0 19px;}
div.imgBig{background:url(images/imgBigBg.png) no-repeat 0 0; width:642px; height:311px; padding:9px 0 0 10px; display:block; margin:9px 0 14px;}
#footer{background:#000; height:200px; margin-top:50px;}
#fcontent{width:960px; margin: auto ; padding-top:20px;}
#fcontent p.about {color:#FFF; float:left; font-size:14px; line-height:1.4; margin-left:11px; width:515px;}
#fcontent input['type=text']{border:1px solid #FFF;}
#s {margin-left:11px;width:274px;}
#fcontent input.search {border:1px solid #000;padding:2px 6px;}
p.copyright{color:#FFF; font-size:11px; padding:11px; margin-bottom:0; clear:both;}
#searchform{float:left; margin-left:74px; width:352px;}

/* Home */
.home #top{background:url(images/homepageDan2.png) no-repeat 50% -11px;}
.home #logo{display:none;}
.home #nav{margin:5px 42px 49px 308px;}
#hp-content-bottom{ padding-top:20px;}
.home #hp-content {background:url(images/hpContentBottom.png) no-repeat -24px 100%;clear:both; margin:0 0 0 494px; padding:15px 81px 60px 56px; width:345px;}
.home #hp-content p {font-size:14px; line-height:1.3;}
#recentWork{width:640px; clear:both; margin:42px 0 0 320px}
#recentWork .rw{padding-bottom:20px; border-bottom:1px solid #FFF; margin-bottom:31px;}
#recentWork .rw.last{border:none;}
#recentWorkH2{background:url(images/recentWork.png) no-repeat 0 0; width:179px; height:34px; text-indent:-9999px;margin-bottom:24px;}
.portfolio-ex img{background:url(images/recentWorkImgBg.png) no-repeat 0 0; padding:9px 20px 20px 7px; float:left; margin-right:7px;}
#recentWork h3{font-size:14px; margin-bottom:7px;}
#recentWork p{line-height:1.4; margin-bottom:15px;}
#recentWork p.company{margin-bottom:4px;}
#recentWork p.skills{margin-bottom:9px;}
#recentWork a.more{font-size:12px;}
#recentWork p.ReadMore{display:none;}
div.rwContent{width:339px; float:left;} 
div.portfolio-ex {border-bottom:1px solid #FFF; clear:both; margin-bottom:25px; padding-bottom:5px;}
div.navigation {clear:right; float:left; margin-left:11px; padding-top:35px; width:649px;}

#top:after, .rw:after, div.portfolio-ex:after { content: ""; display: block; height: 0; clear: both;}